/* =====================================================================
   Loftigo Kiosk (guest.loftigo.de)
   Tablet-first, big-touch interface — frontend visual language.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Ephesis&family=Ruthie&display=swap');



:root {
  --kiosk-yellow: #e49e00;
  --kiosk-yellow-soft: #e4a00021;
  --kiosk-ink: #1a1a1a;
  --kiosk-text: #2c2c2c;
  --kiosk-muted: #6b7280;
  --kiosk-card-bg: rgba(255, 255, 255, 0.96);
  --kiosk-card-border: rgba(0, 0, 0, 0.06);
  --kiosk-radius: 20px;
  --kiosk-radius-sm: 12px;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

.kiosk-body {
  font-family: "Outfit", sans-serif;
  color: var(--kiosk-text);
  background: #e8e0d6;          /* warm fallback if video fails to load */
  overflow: hidden;             /* full-screen kiosk; no scroll between screens */
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

/* =====================================================================
   Background (apartment hero photo) — shared across all screens
   ===================================================================== */
.kiosk-bg {
  position: fixed; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);       /* slight overscan for parallax-y feel */
  z-index: 0;
  transition: filter .5s ease;
}
.kiosk-bg__veil {
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 70%),
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.65) 100%);
  z-index: 1;
}

/* Slight blur when in menu/panel mode (welcome screen keeps it crisp) */
.kiosk-body.is-menu .kiosk-bg,
.kiosk-body.is-panel .kiosk-bg { filter: blur(8px) brightness(.85); }

/* =====================================================================
   Screens (CSS-only multi-screen flow)
   ===================================================================== */
.kiosk-screen {
  position: fixed; inset: 0;
  display: none;
  z-index: 2;
  padding: 0;               /* each screen manages its own padding */
  overflow: hidden;
}
.kiosk-screen.is-visible { display: flex; }

/* Welcome — centered hero, no scroll */
.kiosk-screen--welcome {
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}
/* Menu — flex column, full height (see .kiosk-menu__wrap) */
.kiosk-screen--menu { flex-direction: column; }
/* Panel — flex column, header + scrollable body */
.kiosk-screen--panel { flex-direction: column; }
.kiosk-screen--error { align-items: center; justify-content: center; text-align: center; color: #fff; padding: 40px; }

/* =====================================================================
   SCREEN: Service-mode landing (no active booking — for staff)
   ===================================================================== */
.kiosk-service {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 760px;
  width: 100%;
  padding: 0 24px;
}

.kiosk-service__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.kiosk-service__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .25em;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.kiosk-service__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kiosk-yellow, #e49e00);
  box-shadow: 0 0 12px rgba(228, 158, 0, 0.8);
  animation: kioskServicePulse 1.8s ease-in-out infinite;
}
@keyframes kioskServicePulse {
  0%, 100% { opacity: .55; transform: scale(.9); }
  50%      { opacity: 1;   transform: scale(1.1); }
}
.kiosk-service__title {
  margin: 6px 0 0;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
}
.kiosk-service__sub {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.kiosk-service__status {
  width: 100%;
  max-width: 460px;
}
.kiosk-service__chip {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.kiosk-service__chip--next {
  border-left: 4px solid var(--kiosk-yellow, #e49e00);
}
.kiosk-service__chip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.kiosk-service__chip strong {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.005em;
}
.kiosk-service__chip small {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

/* Big action buttons (Door / Heating) */
.kiosk-service__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 520px;
}
.kiosk-service-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 160px;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--kiosk-text, #2c2c2c);
  border: 0;
  border-radius: 20px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  transition: transform .12s, box-shadow .14s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.kiosk-service-btn:hover  { transform: translateY(-2px); box-shadow: 0 22px 60px rgba(0, 0, 0, .42); }
.kiosk-service-btn:active { transform: translateY(1px);  box-shadow: 0 12px 32px rgba(0, 0, 0, .3); }
.kiosk-service-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--kiosk-yellow-soft, #e4a00021);
  color: var(--kiosk-yellow, #e49e00);
  margin-bottom: 6px;
}
.kiosk-service-btn__label {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.005em;
}
.kiosk-service-btn__sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--kiosk-muted, #6b7280);
}

.kiosk-service__foot {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

/* =====================================================================
   SCREEN: Welcome
   ===================================================================== */

/* ── Global background video — visible on ALL screens ───────────────────── */
.kiosk-bg-video {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.04);
  pointer-events: none;
  transition: filter .4s ease;
}
/* Blur on menu */
.kiosk-body.is-menu .kiosk-bg-video {
  filter: blur(6px) brightness(.8);
}
/* Blur more on panels */
.kiosk-body.is-panel .kiosk-bg-video {
  filter: blur(14px) brightness(.9);
}

/* Global veil — dark on welcome/menu (white text readable), white fog on panels */
.kiosk-bg-veil {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: background .35s ease;
  /* welcome + menu: subtle dark gradient */
  background:
    radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.10) 0%, rgba(0,0,0,.50) 80%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.58) 100%);
}
/* Panels: bright white fog so content is readable */
.kiosk-body.is-panel .kiosk-bg-veil {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Light line-art overlay (chair/lamp) above the video, below the content */
.kiosk-welcome__overlay {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  /* Slight blend so darker bits of the video don't kill the line-art */
  mix-blend-mode: screen;
  filter: brightness(1.4);
}

/* Top center clock — 24h big + (12h) small in brackets */
.kiosk-welcome__clock {
  position: absolute;
  top: clamp(18px, 3vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: "Outfit", system-ui, sans-serif;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.kiosk-welcome__clock [data-clock-24] {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  letter-spacing: .03em;
}
.kiosk-welcome__clock [data-clock-12] {
  font-size: 11px;
  font-weight: 500;
  opacity: .55;
  letter-spacing: .04em;
}

/* Bottom corners: terminal branding (left) + date (right) */
.kiosk-welcome__brand,
.kiosk-welcome__date {
  position: absolute;
  bottom: clamp(14px, 2.4vh, 24px);
  z-index: 3;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  font-variant-numeric: tabular-nums;
}
.kiosk-welcome__brand { left:  clamp(18px, 2.5vw, 32px); }
.kiosk-welcome__date  { right: clamp(18px, 2.5vw, 32px); letter-spacing: .12em; }

.kiosk-welcome__veil {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 65%, rgba(0,0,0,.7) 100%),
    linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}

/* Make sure the content text sits ABOVE the video + veil */
.kiosk-welcome {
  position: relative; z-index: 2;
  color: #fff;
  padding: 0 20px;
}

/* The video is inside the welcome screen's stacking context (z-index: 2),
   so it naturally paints above the global .kiosk-bg (z-index: 0). When the
   guest switches to menu/panel, the welcome screen hides → video disappears
   → the apartment-photo bg becomes visible again with the blur effect. */
.kiosk-welcome__eyebrow {
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .82;
  margin-bottom: 22px;
}

/* Welcome content wrapper — default base, overridden by --center modifier */
.kiosk-welcome {
  position: relative;
  z-index: 2;
  display: flex;
  color: #fff;
  padding: 0 20px;
}

/* ── Centered clean layout (guest mode) ─────────────────────────────────── */
.kiosk-welcome--center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(24px, 4vh, 48px);
  padding: clamp(32px, 5vh, 72px) clamp(24px, 6vw, 80px);
  width: 100%;
}

.kiosk-welcome--center .kiosk-welcome__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(12px, 2vh, 20px);
}

/* "Good evening, Jan" — Outfit 800 white, large */
.kiosk-welcome__greeting {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 8.5vw, 158px);
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.02;
  text-wrap: balance;
}

/* Subtitle phrase */
.kiosk-welcome--center .kiosk-welcome__phrase {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 4.2vw, 78px);
  color: rgba(255, 255, 255, 1);
  letter-spacing: .01em;
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .30);
  text-align: center;
  padding: 0;
}

/* ── Pill button "Dive in" — exactly as shown in screenshot ──────────── */
.kiosk-divebtn--pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 1.9vh, 18px) clamp(40px, 6vw, 64px);
  border-radius: 100px;
  background: #e49e00;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .15s ease, box-shadow .15s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.kiosk-divebtn--pill:hover {
  transform: translateY(-2px);
}
.kiosk-divebtn--pill:active {
  transform: translateY(1px) scale(.97);
}

/* ── Legacy circle button (kept for backwards-compat) ────────────────── */
.kiosk-divebtn:not(.kiosk-divebtn--pill) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #e49e00;
  border: #e49e00 4px solid;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(228, 158, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  transition: transform .14s ease, box-shadow .14s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.kiosk-divebtn:not(.kiosk-divebtn--pill) svg {
  width: 45%; height: 45%;
  transition: transform .14s ease;
}
.kiosk-divebtn:not(.kiosk-divebtn--pill):hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(228, 158, 0, .65);
}
.kiosk-divebtn:not(.kiosk-divebtn--pill):hover svg { transform: translateX(3px); }
.kiosk-divebtn:not(.kiosk-divebtn--pill):active {
  transform: translateY(1px) scale(.97);
  box-shadow: 0 10px 26px rgba(228, 158, 0, .50);
}

/* =====================================================================
   SCREEN: Main menu
   ===================================================================== */
.kiosk-screen--menu {
  --clock-pad: 16px;
  --clock-w:   210px;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════════
   CLOCK CARD — persistent fixed element, top-left, visible on menu + panels
   Hidden on welcome screen. z-index: 50 = above all screens + overlays.
   ══════════════════════════════════════════════════════════════════════ */
.kiosk-menu__clock-card {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 1);
  border-bottom-right-radius: 20px;
  padding: 18px 20px;
  min-width:  var(--clock-w, 210px);
  min-height: var(--clock-w, 210px);
  display: none;            /* hidden by default */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}
/* Show on menu + all panel screens */
.kiosk-body.is-menu   .kiosk-menu__clock-card,
.kiosk-body.is-panel  .kiosk-menu__clock-card { display: flex; }
.kiosk-menu__clock-time {
    font-family: 'Outfit', sans-serif;
    font-size: 50px;
    letter-spacing: -.04em;
    color: #111827;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.kiosk-menu__clock-date {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
}
.kiosk-menu__clock-rule {
  border: none;
  border-top: 1.5px solid #e5e7eb;
  width: 100%;
  margin: 10px 0;
}
.kiosk-menu__clock-apt {
    font-size: 26px;
    font-weight: 400;
    margin-top: 8px;
    color: #111827;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════════
   SERVICE TILES — RIGHT of clock, 2×2 GRID, 240px per tile
   (4-in-a-row @ 1194px would overflow; 2×2 = 496px wide → fits cleanly)
   ══════════════════════════════════════════════════════════════════════ */
.kiosk-menu__service-tiles {
    position: absolute;
    top: 16px;
    left: calc(var(--clock-w) + 22px);
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 165px);  /* single row, 5 tiles */
    gap: 13px;
    padding: var(--clock-pad);
}
.kiosk-menu__service-tiles .kiosk-tile {
    width: 165px;
    min-width: 165px;
    max-width: 165px;
}

/* ══════════════════════════════════════════════════════════════════════
   NAV TILES (Entrance + Help) — column below clock, 240px wide
   Top: 400px clock + 16px gap = 416px. Left: aligned to clock left edge.
   Max bottom: 416 + 2×170 + 16 = 772px — fits in 834px tablet height.
   ══════════════════════════════════════════════════════════════════════ */
.kiosk-menu__nav-tiles {
    position: absolute;
    top: calc(var(--clock-w) + 16px);
    left: 16px;
    max-width: 175px;
    min-width: 175px;
    z-index: 2;
    display: flex;
    gap: 14px;
    flex-direction: column;             /* untereinander */
}
.kiosk-menu__nav-tiles .kiosk-tile {
    flex: 0 0 auto;
    width: 175px;
    min-width: 175px;
    max-width: 175px;
}

/* ── Tile card ── scaled for 12" tablet (1194×834px) */
.kiosk-tile {
    display: flex;
    flex-direction: column;
    padding: 20px 18px;        /* was 31px 23px */
    min-height: 155px;         /* was 300px */
    min-width: 155px;          /* was 300px */
    background: rgba(255, 255, 255, 0.96);
    border: 0;
    border-radius: 18px;       /* was 22px */
    color: #111827;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: transform .14s ease, box-shadow .14s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    align-items: flex-start;
    justify-content: center;
}
.kiosk-tile:hover  { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.24); }
.kiosk-tile:active { transform: scale(.97);       box-shadow: 0 2px 12px rgba(0,0,0,.16); }

.kiosk-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
    width: 52px;               /* was 100px */
    height: 52px;              /* was 100px */
  border-radius: 12px;         /* was 16px */
  background: #fff8e6;
  color: var(--kiosk-yellow, #e49e00);
  font-size: 30px;             /* was 57px */
  flex-shrink: 0;
}
.kiosk-tile__label {
  font-size: 22px;             /* was 45px */
  font-weight: 800;
  margin-top: 10px;            /* was 15px */
  letter-spacing: -.015em;
  line-height: 1.1;
  color: #111827;
}
.kiosk-tile__sub {
  font-size: 14px;             /* was 30px */
  font-weight: 500;
  color: #9ca3af;
  display: block;
}
.kiosk-tile.is-disabled {
  opacity: .38;
  cursor: not-allowed;
  filter: grayscale(.9);
}

/* =====================================================================
   SCREEN: Panel (full-screen overlay with back button)
   ===================================================================== */
.kiosk-screen--panel {
  padding: 0;
}
.kiosk-screen--panel.is-visible {
  flex-direction: column;
}

.kiosk-panel__head {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(20px, 2.5vh, 32px) clamp(28px, 4vw, 48px) 0;
  flex-shrink: 0;
  color: #111827;
}

/* ← Back button — pill with arrow */
.kiosk-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 35px;
  padding: 0 clamp(18px, 2vw, 26px);
  background: rgba(255,255,255,0.96);
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform .12s, box-shadow .12s;
}
.kiosk-back svg { flex-shrink: 0; }
.kiosk-back:hover { box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.kiosk-back:active { transform: scale(.96); }

.kiosk-panel__title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #111827;
  text-shadow: none;
  line-height: 1;
}
.kiosk-panel__spacer { flex: 1; }

.kiosk-panel__body {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: clamp(20px, 2.5vh, 32px) clamp(28px, 4vw, 48px) clamp(24px, 3vh, 40px);
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.kiosk-card {
  width: 100%;
  max-width: 820px;
  background: var(--kiosk-card-bg);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 24px;
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: 0 4px 16px rgba(0,0,0,.06), 0 20px 60px rgba(0,0,0,.12);
}
.kiosk-card--center { text-align: center; }
.kiosk-card h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #111827;
}
.kiosk-muted { color: var(--kiosk-muted); margin: 0 0 20px; font-size: clamp(15px, 1.5vw, 17px); }

/* ---- Help panel ----------------------------------------------------- */
.kiosk-contactgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 22px 0 22px;
}
.kiosk-contact {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 14px;
  background: #f9fafb;
  border-radius: var(--kiosk-radius-sm);
  text-decoration: none;
  color: var(--kiosk-text);
  transition: background .12s, transform .08s;
}
.kiosk-contact:hover  { background: #f3f4f6; }
.kiosk-contact:active { transform: scale(.97); }
.kiosk-contact svg    { color: var(--kiosk-yellow); }
.kiosk-contact strong { font-size: 15px; font-weight: 800; }
.kiosk-contact span   { font-size: 12px; color: var(--kiosk-muted); }

.kiosk-faq { text-align: left; display: flex; flex-direction: column; gap: 8px; }
.kiosk-faq details {
  padding: 14px 16px;
  background: #f9fafb;
  border-radius: var(--kiosk-radius-sm);
}
.kiosk-faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.kiosk-faq summary::-webkit-details-marker { display: none; }
.kiosk-faq summary::after {
  content: '+';
  float: right; font-size: 18px; font-weight: 700; color: var(--kiosk-muted);
}
.kiosk-faq details[open] summary::after { content: '−'; }
.kiosk-faq p { margin: 8px 0 0; color: var(--kiosk-muted); font-size: 14px; }

/* ---- Door panel ----------------------------------------------------- */
.kiosk-door { padding-top: 28px; padding-bottom: 28px; }
.kiosk-door__circle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: clamp(220px, 28vw, 280px);
  height: clamp(220px, 28vw, 280px);
  margin: 8px auto 20px;
  border-radius: 50%;
  background: var(--kiosk-yellow);
  color: #fff;
  font-size: 18px; font-weight: 800;
  letter-spacing: .03em;
  cursor: pointer;
  box-shadow: 0 28px 60px rgba(228,158,0,.45);
  transition: transform .14s ease, box-shadow .14s ease;
  position: relative;
}
.kiosk-door__circle:active { transform: scale(.96); }
.kiosk-door__circle.is-busy {
  background: #16a34a;
  box-shadow: 0 28px 60px rgba(22,163,74,.4);
  animation: kioskPulse 1.2s ease-in-out infinite;
}
@keyframes kioskPulse {
  0%, 100% { box-shadow: 0 28px 60px rgba(22,163,74,.4); }
  50%      { box-shadow: 0 28px 80px rgba(22,163,74,.7); }
}
.kiosk-door__hint   { color: var(--kiosk-muted); font-size: 14px; margin: 0 0 6px; }
.kiosk-door__status { color: var(--kiosk-text); font-weight: 700; margin: 0; }

/* ---- Heating panel -------------------------------------------------- */
.kiosk-rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.kiosk-rooms__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px;
  color: var(--kiosk-muted);
  font-weight: 600;
}
.kiosk-room {
  padding: 18px;
  background: #f9fafb;
  border-radius: var(--kiosk-radius-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.kiosk-room__name { font-size: 14px; font-weight: 700; }
.kiosk-room__temp {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.kiosk-room__big {
  font-size: 32px; font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  flex: 1; text-align: center;
}
.kiosk-room__step {
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: var(--kiosk-yellow);
  color: #fff;
  font-size: 22px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(228,158,0,.4);
  flex-shrink: 0;
}
.kiosk-room__step:active { transform: scale(.94); }

/* ---- Order form (Fresh / Comfort) ----------------------------------- */
.kiosk-orderform { display: flex; flex-direction: column; gap: 16px; }
.kiosk-field { display: flex; flex-direction: column; gap: 6px; }
.kiosk-field > span {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--kiosk-muted);
}
.kiosk-field input,
.kiosk-field textarea,
.kiosk-field select {
  height: 50px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  border: 1.5px solid #e6e8ec;
  border-radius: var(--kiosk-radius-sm);
  outline: none;
  color: var(--kiosk-text);
}
.kiosk-field textarea {
  height: auto; padding: 14px 16px; line-height: 1.5;
  resize: vertical; min-height: 80px;
}
.kiosk-field input:focus,
.kiosk-field textarea:focus,
.kiosk-field select:focus { border-color: var(--kiosk-yellow); }

.kiosk-qtygrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.kiosk-qty {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px;
  background: #f9fafb;
  border-radius: var(--kiosk-radius-sm);
}
.kiosk-qty strong { font-size: 15px; font-weight: 800; }
.kiosk-qty small  { font-size: 12px; color: var(--kiosk-muted); margin-bottom: 8px; }
.kiosk-stepper {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.kiosk-stepper button {
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: var(--kiosk-yellow);
  color: #fff;
  font-size: 22px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(228,158,0,.4);
}
.kiosk-stepper button:active { transform: scale(.94); }
.kiosk-stepper input {
  flex: 1;
  width: auto;
  height: 44px;
  text-align: center;
  font-size: 22px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: transparent;
  border: 0;
  color: var(--kiosk-text);
}

.kiosk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px;
  padding: 0 24px;
  font-family: inherit;
  font-size: 16px; font-weight: 800;
  letter-spacing: .01em;
  border: 0; border-radius: 999px;
  cursor: pointer;
  transition: transform .1s, box-shadow .12s;
}
.kiosk-btn--primary {
  background: var(--kiosk-yellow);
  color: #fff;
}

.kiosk-btn--primary:active { transform: translateY(1px); }

/* Status box (shows existing fresh access / scheduled order) */
.kiosk-statusbox {
  margin-top: 14px;
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #e6e8ec;
  border-left: 4px solid var(--kiosk-yellow);
  border-radius: var(--kiosk-radius-sm);
  font-size: 13px;
  line-height: 1.55;
  color: var(--kiosk-text);
}
.kiosk-statusbox--ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  border-left-color: #e49e00;
}
.kiosk-statusbox strong { font-weight: 700; }

/* Checkbox fields */
.kiosk-checkfield {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: var(--kiosk-radius-sm);
  font-size: 14px;
  cursor: pointer;
}
.kiosk-checkfield input[type="checkbox"] {
  width: 22px; height: 22px;
  margin: 0;
  accent-color: var(--kiosk-yellow);
  flex-shrink: 0;
  cursor: pointer;
}
.kiosk-checkfield span { line-height: 1.45; color: var(--kiosk-text); }

.kiosk-checkgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

/* Stripe package picker (radio cards) */
.kiosk-pkggrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 6px 0 8px;
}
.kiosk-pkg {
  position: relative;
  display: block;
  cursor: pointer;
}
.kiosk-pkg input[type="radio"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.kiosk-pkg__body {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px;
  background: #f9fafb;
  border: 2px solid #e6e8ec;
  border-radius: var(--kiosk-radius-sm);
  transition: border-color .14s, background .14s, transform .08s;
}
.kiosk-pkg__body strong {
  font-size: 15px; font-weight: 800; color: var(--kiosk-text);
}
.kiosk-pkg__body small {
  font-size: 12px; color: var(--kiosk-muted); line-height: 1.4;
}
.kiosk-pkg__body em {
  margin-top: 8px;
  font-style: normal;
  font-size: 22px; font-weight: 800; letter-spacing: -.01em;
  color: var(--kiosk-text);
}
.kiosk-pkg input[type="radio"]:checked + .kiosk-pkg__body {
  background: #fffbeb;
  border-color: var(--kiosk-yellow);
}
.kiosk-pkg:active .kiosk-pkg__body { transform: scale(.99); }

/* =====================================================================
   Climate control + Door control (ported from guest-heating.php .gc-*)
   These panels need a LIGHT background — the dark blurred video bg
   makes all the soft shadows / track outlines disappear.
   ===================================================================== */

/* Heating + Door panels share the dark video background of the kiosk —
   no extra surface colour. Texts are inverted to white. The center
   readout stays white-on-dark so the temperature stays the focal point. */

.kiosk-screen--panel[data-screen="panel-heating"] .kiosk-panel__title,
.kiosk-screen--panel[data-screen="panel-door"] .kiosk-panel__title,
.kiosk-screen--panel[data-screen="panel-comfort-fresh"] .kiosk-panel__title {
  display: none;   /* The panel renders its own headline */
}

/* Dark-theme variables override for the .gc-* dial when inside heating/door */
.kiosk-screen--panel[data-screen="panel-heating"] .gc-app,
.kiosk-screen--panel[data-screen="panel-door"]    .gc-app {
  --gc-text:   rgba(255, 255, 255, 0.95);
  --gc-muted:  rgba(255, 255, 255, 0.62);
  --gc-muted2: rgba(255, 255, 255, 0.42);
  --gc-card:   rgba(255, 255, 255, 0.10);
  --gc-ringShadow:
    0 0 0 10px rgba(255, 255, 255, 0.04),
    0 22px 60px rgba(0, 0, 0, 0.55);
}

/* Title typography — light, with subtle text-shadow for legibility on the
   blurred video background. */
.kiosk-screen--panel[data-screen="panel-heating"] .gc-title__main,
.kiosk-screen--panel[data-screen="panel-door"]    .gc-title__main {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.kiosk-screen--panel[data-screen="panel-heating"] .gc-title__sub,
.kiosk-screen--panel[data-screen="panel-door"]    .gc-title__sub {
  color: rgba(255, 255, 255, 0.70);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Room dropdown — frosted card on the dark bg */
.kiosk-screen--panel[data-screen="panel-heating"] .gc-roomselect {
  background: rgba(255, 255, 255, 0.95);
  color: #2c2c2c;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* The donut track: outer rim becomes a faint white ring so it's visible
   on dark. The inner disc stays white so the readout reads cleanly. */
.kiosk-screen--panel[data-screen="panel-heating"] .gc-ring__track,
.kiosk-screen--panel[data-screen="panel-door"]    .gc-ring__track {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.96) 0 52%,
    rgba(255, 255, 255, 0.10) 53% 100%
  );
}

/* Knob — still white but with a stronger drop-shadow */
.kiosk-screen--panel[data-screen="panel-heating"] .gc-knob {
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Center: keep the white pill (so the value stays high-contrast),
   but darken the text. */
.kiosk-screen--panel[data-screen="panel-heating"] .gc-center,
.kiosk-screen--panel[data-screen="panel-door"]    .gc-center {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.2);
}
.kiosk-screen--panel[data-screen="panel-heating"] .gc-center__label,
.kiosk-screen--panel[data-screen="panel-door"]    .gc-center__label {
  color: rgba(0, 0, 0, 0.55);
}
.kiosk-screen--panel[data-screen="panel-heating"] .gc-center__value {
  color: #1a1a1a;
}
.kiosk-screen--panel[data-screen="panel-heating"] .gc-center__sub {
  color: rgba(0, 0, 0, 0.55);
}
.kiosk-screen--panel[data-screen="panel-door"] .gc-center__state {
  color: #1a1a1a;
}

/* +/- and power buttons keep the yellow brand color — already correct on dark */

/* Toast on dark bg — already dark by default, good */

/* Door secondary "Lock" button — needs more contrast on dark background */
.kiosk-screen--panel[data-screen="panel-door"] .gc-doorbtn--secondary {
  background: rgba(255, 255, 255, 0.96);
  color: #1a1a1a;
}

/* Door hint paragraph */
.kiosk-screen--panel[data-screen="panel-door"] .gc-doorhint {
  color: rgba(255, 255, 255, 0.65);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gc-app {
  --gc-bg: transparent;
  --gc-card: #ffffff;
  --gc-text: rgba(0,0,0,.86);
  --gc-muted: rgba(0,0,0,.55);
  --gc-muted2: rgba(0,0,0,.40);
  --gc-yellow: #e49e00;
  --gc-radius: 10px;
  --gc-ringShadow: 0 0 0 10px rgba(0,0,0,.06), 0 18px 45px rgba(0,0,0,.14);

  max-width: 520px;
  margin: 0 auto;
  padding: 6px 14px 28px;
  color: var(--gc-text);
  width: 100%;
}

.gc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 2px 12px;
}
.gc-title       { text-align: center; flex: 1; }
.gc-title__main { font-weight: 900; letter-spacing: -.02em; font-size: 35px; }
.gc-title__sub  { font-size: 20px; color: var(--gc-muted); margin-top: 2px; }

.gc-roombar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.gc-roomselect {
  flex: 1;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: var(--gc-card);
  padding: 0 12px;
  font-weight: 800;
  font-family: inherit;
  color: var(--gc-text);
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}
.gc-power {
  width: 48px;
  height: 48px;
  border-radius: var(--gc-radius);
  border: 0;
  background: var(--gc-yellow);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.gc-power.is-off {
  background: rgba(0,0,0,.20);
  box-shadow: 0 10px 25px rgba(0,0,0,.10);
}

.gc-dialwrap { margin-top: 40px; }

.gc-dial {
  --pos: .5;
  --cold: #2b6cff;
  --hot:  #ff3b30;
  background: transparent;
}

.gc-ring {
  width: 320px;
  height: 320px;
  margin: 0 auto;
  border-radius: 999px;
  position: relative;
  display: grid;
  place-items: center;
  user-select: none;
  touch-action: none;
}
.gc-ring__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, #fff 0 52%, rgba(0,0,0,.06) 53% 100%);
  box-shadow: var(--gc-ringShadow);
}
.gc-ring__fill {
  position: absolute;
  inset: 14px;
  border-radius: 999px;
  background: conic-gradient(from 220deg, rgba(0,0,0,.14) 0deg, rgba(0,0,0,.14) 270deg, rgba(0,0,0,0) 270deg 360deg);
  mask: radial-gradient(circle, transparent 0 60%, #000 61% 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 60%, #000 61% 100%);
  opacity: .95;
}

.gc-knob {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.08);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}
.gc-knob::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 6px;
  border-radius: 6px;
  background: rgba(0,0,0,.35);
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
}

.gc-center {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 6px;
}
.gc-center__label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--gc-muted);
}
.gc-center__value {
  font-size: 68px;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}
.gc-center__sub {
  margin-top: -6px;
  font-weight: 900;
  color: var(--gc-muted);
}

.gc-plusminus {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}
.gc-pm {
  width: 72px;
  height: 52px;
  border-radius: var(--gc-radius);
  border: 0;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  background: var(--gc-yellow);
  cursor: pointer;
  font-family: inherit;
}

.gc-dial.is-off { filter: grayscale(.25); }
.gc-dial.is-off .gc-center__value { color: rgba(0,0,0,.35); }
.gc-dial.is-off .gc-center__label { color: rgba(0,0,0,.45); }
.gc-dial.is-off .gc-pm { background: rgba(0,0,0,.18); box-shadow: none; }
.gc-dial.is-disabled .gc-pm { background: rgba(0,0,0,.18); box-shadow: none; }
.gc-dial.is-disabled { opacity: .85; }
.gc-dial.is-disabled .gc-ring,
.gc-dial.is-off .gc-ring { pointer-events: none; }

.gc-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.84);
  color: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 13px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
  z-index: 20;
}

/* ----- Door variant ----- */
.gc-app--door .gc-ring__fill--door {
  /* Always-on yellow ring at ~75% to mirror the door-control mock */
  background: conic-gradient(
    from 220deg,
    var(--gc-yellow) 0deg 200deg,
    rgba(0,0,0,.10) 200deg 270deg,
    rgba(0,0,0,0) 270deg 360deg
  );
}
.gc-center--door {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
}
.gc-door-icon { line-height: 0; }
.gc-center__state {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--gc-text);
}
.gc-dial--door.is-busy .gc-ring__fill--door {
  animation: gcDoorPulse 1.4s ease-in-out infinite;
}
@keyframes gcDoorPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}

.gc-doorbtns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 40px auto 16px;
  max-width: 460px;
}
.gc-doorbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  border-radius: var(--gc-radius);
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .08s, opacity .12s, background .12s;
}
.gc-doorbtn:active { transform: scale(.98); }
.gc-doorbtn[disabled] { opacity: .55; cursor: not-allowed; }

.gc-doorbtn--primary {
  background: var(--gc-yellow);
  color: #fff;
  box-shadow: 0 10px 28px rgba(228,158,0,.42);
}
.gc-doorbtn--primary:hover { background: #c98d00; }

.gc-doorbtn--secondary {
  background: #fff;
  color: var(--gc-text);
  border-color: rgba(0,0,0,.10);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.gc-doorbtn--secondary:hover { background: #f7f7f8; }

.gc-doorhint {
  max-width: 460px;
  margin: 4px auto 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
  color: var(--gc-muted);
}

/* =====================================================================
   Flash modal — full-screen, demands attention.
   Used for Stripe cancel/error returns so the guest can't miss it.
   ===================================================================== */
.kiosk-flashmodal {
  position: fixed;
  inset: 0;
  z-index: 50;                            /* above every screen + toast */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 18, 22, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: kioskFlashFade .22s ease-out;
}
.kiosk-flashmodal.is-visible { display: flex; }

@keyframes kioskFlashFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.kiosk-flashmodal__card {
  max-width: 520px;
  width: 100%;
  padding: clamp(28px, 4vw, 44px);
  background: var(--kiosk-card-bg, #fff);
  border-radius: var(--kiosk-radius, 20px);
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  animation: kioskFlashPop .35s cubic-bezier(.2, 1.2, .4, 1);
}

@keyframes kioskFlashPop {
  from { transform: translateY(20px) scale(.96); opacity: 0; }
  to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

.kiosk-flashmodal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  background: #fef3c7;        /* warm yellow tint — not alarming, just attention */
  color: #b45309;
  border-radius: 50%;
}

.kiosk-flashmodal__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--kiosk-text, #2c2c2c);
}

.kiosk-flashmodal__msg {
  margin: 0 auto 26px;
  max-width: 420px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.5;
  color: var(--kiosk-muted, #6b7280);
}

.kiosk-flashmodal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.kiosk-flashmodal__actions .kiosk-btn {
  flex: 1 1 160px;
  min-width: 140px;
  max-width: 220px;
}

.kiosk-btn--ghost {
  background: #fff;
  color: var(--kiosk-text, #2c2c2c);
  border: 1.5px solid rgba(0, 0, 0, .10);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}
.kiosk-btn--ghost:active { transform: translateY(1px); }

/* =====================================================================
   Comfort Refresh panel — 2-col layout, NEVER scrolls, fits iPad view.
   Left: selections. Right: circular total + CTA.
   ===================================================================== */

/* Lock the panel viewport — no scroll, ever.
   NOTE: We must NOT set `display` here, otherwise the panel would
   override the base `.kiosk-screen { display: none }` and stay visible
   all the time. Only apply layout tweaks when `.is-visible` is set. */
.kiosk-screen--panel[data-screen="panel-comfort-fresh"] {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: pan-x pan-y;
}
.kiosk-screen--panel[data-screen="panel-comfort-fresh"].is-visible {
  flex-direction: column;
}
.kiosk-screen--panel[data-screen="panel-comfort-fresh"] .kiosk-panel__body {
  flex: 1 1 auto;
  min-height: 0;        /* lets flex children shrink instead of overflow */
  overflow: hidden;
}

.cfresh {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 16px 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cfresh__head {
  text-align: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.cfresh__head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.015em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.cfresh__head p { display: none; }   /* subtitle removed — saves vertical space */

.cfresh__existing {
  margin: 0 auto 12px;
  max-width: 540px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--kiosk-yellow, #e49e00);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  flex-shrink: 0;
}
.cfresh__existing strong { display: block; font-weight: 700; margin-bottom: 2px; font-size: 14px; }

.cfresh__empty {
  text-align: center;
  margin: auto;
  max-width: 420px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============ TWO-COLUMN LAYOUT ============ */
.cfresh__form {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
}

.cfresh__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
  justify-content: center;
}
.cfresh__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px;
}

/* ============ Image-circle package picker ============ */
.cfresh-picker {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 32px);
  padding: 4px 0;
  flex-wrap: wrap;
}
.cfresh-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
}
.cfresh-tile input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.cfresh-tile__circle {
  position: relative;
  width: clamp(120px, 17vmin, 170px);
  height: clamp(120px, 17vmin, 170px);
  border-radius: 50%;
  overflow: visible;
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid transparent;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  transition: transform .14s ease, border-color .12s ease, box-shadow .14s ease;
}
.cfresh-tile__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.cfresh-tile__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  font-size: 60px;
}

.cfresh-tile__check {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--kiosk-yellow, #e49e00);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(228, 158, 0, 0.6);
  transform: scale(0);
  transition: transform .22s cubic-bezier(.2, 1.4, .4, 1);
  pointer-events: none;
  border: 3px solid #fff;
}
.cfresh-tile input[type="radio"]:checked + .cfresh-tile__circle {
  border-color: var(--kiosk-yellow, #e49e00);
  box-shadow:
    0 0 0 4px rgba(228, 158, 0, 0.25),
    0 18px 50px rgba(228, 158, 0, 0.35);
  transform: translateY(-3px);
}
.cfresh-tile input[type="radio"]:checked + .cfresh-tile__circle .cfresh-tile__check {
  transform: scale(1);
}

.cfresh-tile__name {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cfresh-tile:active .cfresh-tile__circle { transform: scale(.97); }

/* ============ Rows: Quantity + Slot ============ */
.cfresh-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cfresh-row__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* ============ Stepper — span-based display so input never blocks taps ============ */
.cfresh-stepper {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.cfresh-stepper__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--kiosk-yellow, #e49e00);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(228, 158, 0, 0.45);
  transition: transform .08s, background .12s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  /* Make sure nothing on top eats the tap */
  position: relative;
  z-index: 2;
}
.cfresh-stepper__btn:hover  { background: #c98d00; }
.cfresh-stepper__btn:active { transform: scale(.92); }

.cfresh-stepper__val {
  min-width: 36px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  pointer-events: none;     /* never intercepts taps */
  user-select: none;
}

/* "When" select — clean dark dropdown */
.cfresh-row--slot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}
.cfresh-select {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #1a1a1a;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%231a1a1a' d='M7 9L0 0h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ============ Circular total ============ */
.cfresh-totalcircle {
  width: clamp(170px, 22vmin, 230px);
  height: clamp(170px, 22vmin, 230px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%,
              rgba(255, 255, 255, 0.16) 0%,
              rgba(255, 255, 255, 0.04) 60%,
              rgba(255, 255, 255, 0.10) 100%);
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 2px 14px rgba(255, 255, 255, 0.14),
    0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  flex-shrink: 0;
}
.cfresh-totalcircle::before {
  /* Outer brand-color ring */
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(228, 158, 0, 0.30);
  pointer-events: none;
}
.cfresh-totalcircle__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.cfresh-totalcircle__value {
  font-size: clamp(30px, 4.6vmin, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ============ CTA — vertical, large, on right ============ */
.cfresh-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 320px;
  min-height: 88px;
  padding: 16px 24px;
  background: var(--kiosk-yellow, #e49e00);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.15;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  box-shadow:
    0 16px 44px rgba(228, 158, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.10) inset;
  transition: transform .1s, box-shadow .14s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-align: center;
}
.cfresh-cta span { display: inline-block; }
.cfresh-cta:hover  { box-shadow: 0 20px 56px rgba(228, 158, 0, 0.62); }
.cfresh-cta:active { transform: translateY(2px); }

.cfresh__legal {
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ============ Portrait / narrow tablet — stack the columns ============ */
@media (max-width: 760px), (orientation: portrait) and (max-width: 900px) {
  .cfresh__form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cfresh__right {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  .cfresh-totalcircle {
    width: 130px;
    height: 130px;
  }
  .cfresh-totalcircle__value { font-size: 26px; }
  .cfresh-cta { max-width: none; min-height: 72px; }
  .cfresh__legal { display: none; }
}

/* =====================================================================
   QR Handoff modal — kiosk hands payment over to the guest's phone
   ===================================================================== */
.kiosk-qrmodal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 18, 22, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.kiosk-qrmodal.is-visible { display: flex; animation: kioskFlashFade .22s ease-out; }

.kiosk-qrmodal__card {
  max-width: 540px;
  width: 100%;
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
  border-radius: var(--kiosk-radius, 20px);
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  animation: kioskFlashPop .35s cubic-bezier(.2, 1.2, .4, 1);
}

/* State machine — only one section visible at a time */
.kiosk-qrmodal__open,
.kiosk-qrmodal__success,
.kiosk-qrmodal__expired { display: none; }
.kiosk-qrmodal__card[data-state="open"]    .kiosk-qrmodal__open    { display: block; }
.kiosk-qrmodal__card[data-state="success"] .kiosk-qrmodal__success { display: block; }
.kiosk-qrmodal__card[data-state="expired"] .kiosk-qrmodal__expired { display: block; }

.kiosk-qrmodal__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--kiosk-text, #2c2c2c);
}
.kiosk-qrmodal__sub {
  margin: 0 auto 18px;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--kiosk-muted, #6b7280);
}

/* QR area */
.kiosk-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 280px;
  margin: 6px auto 18px;
  padding: 16px;
  background: #fff;
  border: 2px solid #f3f4f6;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.kiosk-qr svg {
  width: 100%;
  height: 100%;
  display: block;
}
.kiosk-qr__loading {
  font-size: 13px;
  color: var(--kiosk-muted);
}

/* Service summary line */
.kiosk-qrmodal__service {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin: 0 auto 18px;
  font-size: 14px;
  color: var(--kiosk-muted);
}
.kiosk-qrmodal__service strong {
  font-size: 18px;
  color: var(--kiosk-text);
  font-weight: 800;
}

/* "Waiting for payment…" spinner row */
.kiosk-qrmodal__waiting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 18px;
  padding: 10px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #7c5500;
  max-width: 360px;
}
.kiosk-qrspinner {
  display: inline-flex;
  gap: 4px;
}
.kiosk-qrspinner__dot {
  width: 7px; height: 7px;
  background: var(--kiosk-yellow);
  border-radius: 50%;
  animation: kioskQrBlink 1.2s ease-in-out infinite;
}
.kiosk-qrspinner__dot:nth-child(2) { animation-delay: .15s; }
.kiosk-qrspinner__dot:nth-child(3) { animation-delay: .30s; }
@keyframes kioskQrBlink {
  0%, 100% { opacity: .25; transform: scale(.85); }
  40%      { opacity: 1;   transform: scale(1.05); }
}

/* Success: animated checkmark */
.kiosk-checkmark {
  width: 96px;
  height: 96px;
  margin: 10px auto 18px;
}
.kiosk-checkmark svg {
  width: 100%; height: 100%;
}
.kiosk-checkmark__circle {
  fill: #ecfdf5;
  stroke: #e49e00;
  stroke-width: 3;
  stroke-dasharray: 152;
  stroke-dashoffset: 152;
  animation: kioskCheckCircle .55s ease-out forwards;
}
.kiosk-checkmark__check {
  fill: none;
  stroke: #e49e00;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: kioskCheckMark .45s .45s cubic-bezier(.2, 1.2, .4, 1) forwards;
}
@keyframes kioskCheckCircle {
  to { stroke-dashoffset: 0; }
}
@keyframes kioskCheckMark {
  to { stroke-dashoffset: 0; }
}

/* Sad "checkout is soon" state */
.kiosk-sad {
  text-align: center;
  padding: 28px 16px 16px;
}
.kiosk-sad__face {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 18px;
  filter: grayscale(.15);
}
.kiosk-sad h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 10px;
}
.kiosk-sad p { max-width: 460px; margin: 0 auto; }

/* =====================================================================
   Toast
   ===================================================================== */
.kiosk-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 14px 22px;
  background: rgba(0,0,0,.92);
  color: #fff;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  z-index: 10;
  transition: transform .35s cubic-bezier(.4,1.4,.6,1), opacity .25s;
  opacity: 0;
}
.kiosk-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.kiosk-toast.is-error { background: #b91c1c; }

/* =====================================================================
   Error screen
   ===================================================================== */
.kiosk-error {
  max-width: 540px; padding: 40px;
  background: rgba(255,255,255,.06);
  border-radius: var(--kiosk-radius);
  backdrop-filter: blur(20px);
}
.kiosk-error h1 { font-size: 28px; margin: 0 0 12px; }
.kiosk-error p  { color: rgba(255,255,255,.7); margin: 8px 0; }
.kiosk-error__hint code {
  background: rgba(255,255,255,.1);
  padding: 4px 8px; border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

/* =====================================================================
   Help panel — fullscreen over video, matches home screen aesthetic
   ===================================================================== */

/* Hide generic header + transparent body (same pattern as heating) */
.kiosk-screen--panel[data-screen="panel-help"] .kiosk-panel__head { display: none; }
.kiosk-screen--panel[data-screen="panel-help"] .kiosk-panel__body {
  padding: 0;
  overflow: hidden;
  display: block;
  position: relative;
  flex: 1;
}

/* Root container fills the entire panel body */
.khelp {
  position: absolute;
  inset: 0;
  overflow: hidden;
  --kh-cw: 210px;   /* clock card width — keep in sync with --clock-w */
  --kh-pad: 16px;
}

/* ── Back button — kiosk-tile style, below clock card ─────────────── */
.khelp__back {
  position: absolute;
  top: calc(var(--kh-cw) + var(--kh-pad));
  left: var(--kh-pad);
  width: 175px;
  min-width: 175px;
  max-width: 175px;
  z-index: 10;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-align: left;
}

/* ── Content area — right of clock card ───────────────────────────── */
.khelp__content {
  position: absolute;
  top: var(--kh-pad);
  left: calc(var(--kh-cw) + var(--kh-pad) + 12px);
  right: var(--kh-pad);
  bottom: var(--kh-pad);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 14px;
  align-items: start;
  overflow: hidden;
}

.khelp__section-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* FAQ accordion — compact, frosted glass over video */
.kfaq {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.kfaq__item {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  overflow: hidden;
  transition: background .15s;
  box-shadow: 0 2px 16px rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.kfaq__item[open] { background: rgba(255,255,255,.97); }

.kfaq__q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 54px;
}
.kfaq__q::-webkit-details-marker { display: none; }
.kfaq__q i:first-child { font-size: 20px; color: #e49e00; flex-shrink: 0; }
.kfaq__q span, .kfaq__q > *:not(i) { flex: 1; }
.kfaq__chevron { font-size: 16px; color: rgba(0,0,0,.28); flex-shrink: 0; transition: transform .2s ease; }
.kfaq__item[open] .kfaq__chevron { transform: rotate(180deg); }

.kfaq__a {
  padding: 0 18px 14px 50px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
}
.kfaq__a strong { color: #111827; }

/* Contact card (right column) — frosted glass card */
.kcontact-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.kcontact-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.38);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.kcontact-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e49e00;
  box-shadow: 0 0 8px rgba(16,185,129,.7);
  flex-shrink: 0;
}

.kcontact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(249,250,251,.9);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  text-decoration: none;
  transition: background .14s;
  -webkit-tap-highlight-color: transparent;
  min-height: 60px;
}
.kcontact-row:hover { background: rgba(243,244,246,.95); }
.kcontact-row__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff8e6;
  color: #e49e00;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.kcontact-row__body { display: flex; flex-direction: column; gap: 2px; }
.kcontact-row__body strong { font-size: 15px; font-weight: 800; color: #111827; }
.kcontact-row__body small  { font-size: 12px; color: #6b7280; }

.kcontact-callback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 14px;
  border: none;
  background: #e49e00;
  color: #fff;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .02em;
  box-shadow: 0 8px 28px rgba(228,158,0,.45);
  transition: transform .14s, box-shadow .14s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 56px;
}
.kcontact-callback i { font-size: 20px; }
.kcontact-callback:hover  { transform: translateY(-2px);  }
.kcontact-callback:active { transform: translateY(1px) scale(.98); }

.kcontact-hours {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(0,0,0,.35);
  justify-content: center;
}
.kcontact-hours i { font-size: 13px; }

/* =====================================================================
   Callback modal
   ===================================================================== */
.kcb-modal {
  position: fixed; inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10,12,16,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.kcb-modal.is-visible { display: flex; animation: kioskFlashFade .22s ease-out; }

.kcb-modal__card {
  background: #ffffff;
  border-radius: 32px;
  padding: clamp(32px, 4vw, 56px);
  max-width: 560px;
  width: 100%;
  box-shadow: 0 32px 90px rgba(0,0,0,.26);
}

.kcb-modal__icon {
  width: 80px; height: 80px;
  border-radius: 24px;
  background: #fff8e6;
  color: #e49e00;
  font-size: 38px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.kcb-modal__icon--ok { background: #ecfdf5; color: #e49e00; }

.kcb-modal__title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  color: #111827;
  text-align: center;
  letter-spacing: -.025em;
}
.kcb-modal__sub {
  margin: 0 0 28px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: #6b7280;
  text-align: center;
  line-height: 1.65;
}
.kcb-modal__sub strong { color: #111827; }

.kcb-modal__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 12px;
}
.kcb-modal__input {
  display: block; width: 100%;
  padding: 18px 22px;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: .04em;
  outline: none;
  transition: border-color .15s, background .15s;
  -webkit-appearance: none;
}
.kcb-modal__input:focus {
  border-color: #e49e00;
  background: #fff;
}
.kcb-modal__input::placeholder { color: #d1d5db; }

.kcb-modal__field { margin-bottom: 24px; }

.kcb-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kcb-modal__submit {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  padding: clamp(18px, 2vw, 22px) 28px;
  border-radius: 16px;
  border: none;
  background: #e49e00;
  color: #fff;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(17px, 1.9vw, 20px); font-weight: 800;
  cursor: pointer;
  transition: transform .14s, box-shadow .14s;
  box-shadow: 0 12px 36px rgba(228,158,0,.44);
  -webkit-tap-highlight-color: transparent;
  min-height: 64px;
}
.kcb-modal__submit i { font-size: 24px; }
.kcb-modal__submit:hover  { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(228,158,0,.58); }
.kcb-modal__submit:active { transform: translateY(1px) scale(.98); }
.kcb-modal__submit:disabled { opacity: .55; cursor: default; transform: none; }

.kcb-modal__cancel {
  padding: clamp(14px, 1.6vw, 18px);
  border-radius: 14px;
  border: 1.5px solid #e5e7eb;
  background: transparent;
  color: #9ca3af;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(15px, 1.5vw, 17px); font-weight: 600;
  cursor: pointer;
  transition: background .14s;
  -webkit-tap-highlight-color: transparent;
  min-height: 56px;
}
.kcb-modal__cancel:hover { background: #f9fafb; }

.kcb-modal__err {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: clamp(14px, 1.4vw, 16px);
  text-align: center;
}

/* =====================================================================
   House Rules modal — EXACT screenshot design
   White card, centered on screen, 3 icons horizontal, text paragraphs below
   ===================================================================== */
.kiosk-rules {
  position: fixed; inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 48px);
  /* No dark backdrop — video + overlay already visible behind */
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.kiosk-rules.is-visible {
  display: flex;
  animation: kioskFlashFade .25s ease-out;
}

.kiosk-rules__card {
  background: rgba(255,255,255,0.97);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 52px);
  max-width: 740px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vh, 30px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
  text-align: center;
}

/* Title */
.kiosk-rules__title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  color: #111827;
  letter-spacing: -.025em;
  line-height: 1.05;
}

/* 3 icons in a horizontal row */
.kiosk-rules__icons {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  width: 100%;
}
.kiosk-rules__icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 160px;
}
.kiosk-rules__icon-box {
  width: clamp(72px, 8vw, 96px);
  height: clamp(72px, 8vw, 96px);
  border-radius: 20px;
  background: #fff8e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--kiosk-yellow, #e49e00);
  flex-shrink: 0;
}
.kiosk-rules__icon-label {
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 700;
  color: #111827;
  text-align: center;
  line-height: 1.3;
}

/* Text paragraphs — centered, stacked */
.kiosk-rules__texts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.kiosk-rules__texts p {
  margin: 0;
  font-size: clamp(12px, 1.3vw, 15px);
  color: #374151;
  line-height: 1.65;
  text-align: center;
}

/* Accept button */
.kiosk-rules__accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 1.8vh, 18px) clamp(48px, 8vw, 80px);
  border-radius: 100px;
  border: none;
  background: var(--kiosk-yellow, #e49e00);
  color: #fff;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .04em;
  box-shadow: 0 8px 28px rgba(228,158,0,.38);
  transition: transform .15s, box-shadow .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 200px;
}
.kiosk-rules__accept:hover  { background: #c98d00; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(228,158,0,.52); }
.kiosk-rules__accept:active { transform: translateY(1px) scale(.98); }
.kiosk-rules__accept:disabled { opacity: .55; cursor: default; transform: none; }

.kiosk-rules__spin { animation: kioskRulesSpin .7s linear infinite; display: inline-block; }
@keyframes kioskRulesSpin { to { transform: rotate(360deg); } }

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================================
   HEATING PANEL — new full-screen design (kheat-*)
   Panel body gets zero padding so kheat fills the whole viewport.
   ===================================================================== */

/* Override panel layout for heating only */
.kiosk-screen--panel[data-screen="panel-heating"] .kiosk-panel__head { display: none; }
.kiosk-screen--panel[data-screen="panel-heating"] .kiosk-panel__body {
  padding: 0;
  overflow: hidden;
  display: block;
  position: relative;   /* ← .kheat { inset:0 } needs a positioned parent */
  flex: 1;              /* keep filling the remaining panel height */
}

/* Root container — fills the entire panel body */
.kheat {
  position: absolute;
  inset: 0;
  overflow: hidden;
  --kh-clock-w: 255px;   /* matches --clock-w on menu screen */
  --kh-pad:      16px;   /* inner padding */
  --kh-dial-sz:  380px;  /* dial circle diameter */
  --kh-room-d:   120px;  /* room circle diameter */
}

/* ── Back button — positioned below clock card, uses kiosk-tile for styling ── */
/* z-index 20: always above summer/unavailable overlay (z-index 10) */
.kheat__back {
  position: absolute;
  top: calc(var(--kh-clock-w) + var(--kh-pad));   /* below 400px clock card */
  left: var(--kh-pad);                              /* = 20px */
  z-index: 20;
  /* Size override: back tile is shorter than the 230px service tiles */
  width:  240px;
  min-height: 140px;
  /* kiosk-tile handles all visual styling */
}

/* ═══════════════════════════════════════════════════════════════════════
   HEATING PANEL v3 — clean +/− control
   Content area: right of clock card, vertically centered
   ═══════════════════════════════════════════════════════════════════════ */

/* All heating content sits in .kheat (position:absolute;inset:0) */
/* Flex column, vertically centered, starts right of clock */
.kheat {
  position: absolute;
  top: 0;
  left: calc(var(--kh-clock-w) + var(--kh-pad));
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 20px 40px;
  z-index: 5;
}

/* ── Room selection pills ─────────────────────────────────────────────── */
.kheat__rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.kheat__room-pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(6px);
}
.kheat__room-pill:hover  { background: rgba(255,255,255,.25); }
.kheat__room-pill:active { transform: scale(.96); }
.kheat__room-pill.is-active {
  background: rgba(255,255,255,.96);
  border-color: #e49e00;
  color: #b87d00;
  box-shadow: 0 0 0 3px rgba(228,158,0,.25), 0 4px 16px rgba(0,0,0,.2);
}

/* ── Main control: − TEMP + ───────────────────────────────────────────── */
.kheat__ctrl {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Large − / + touch buttons */
.kheat__adj {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .12s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  backdrop-filter: blur(6px);
  font-family: inherit;
}
.kheat__adj:hover  { background: rgba(255,255,255,.25); transform: scale(1.06); }
.kheat__adj:active { transform: scale(.93); }
.kheat__adj:disabled { opacity: .3; cursor: not-allowed; transform: none; }
.kheat__adj--plus {
  background: rgba(228,158,0,.85);
  border-color: #e49e00;
  box-shadow: 0 8px 28px rgba(228,158,0,.5);
}
.kheat__adj--plus:hover { background: rgba(228,158,0,.95); }

/* Temperature display circle */
.kheat__display {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.1);
  flex-shrink: 0;
  transition: background .2s;
}
.kheat__val {
  font-size: 68px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: #111827;
  font-variant-numeric: tabular-nums;
  transition: color .2s;
}
.kheat__unit {
  font-size: 24px;
  font-weight: 700;
  color: #6b7280;
  margin-top: 2px;
}

/* OFF state */
.kheat.is-off .kheat__display { background: rgba(220,220,220,.85); }
.kheat.is-off .kheat__val     { color: #9ca3af; font-size: 56px; }
.kheat.is-off .kheat__unit    { opacity: 0; }

/* ── Track bar ────────────────────────────────────────────────────────── */
.kheat__track-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 460px;
  max-width: 90%;
}
.kheat__track-edge {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
  letter-spacing: .04em;
}
.kheat__track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  position: relative;
  cursor: pointer;
  touch-action: none;
}
.kheat__track-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 999px;
  background: #e49e00;
  pointer-events: none;
  transition: width .1s;
}
.kheat__track-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #e49e00;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  pointer-events: none;
  transition: left .1s;
}
.kheat.is-off .kheat__track-fill { background: #9ca3af; }
.kheat.is-off .kheat__track-thumb { border-color: #9ca3af; }

/* ── Power button ─────────────────────────────────────────────────────── */
.kheat__power {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
}
.kheat__power i { font-size: 22px; }
.kheat__power:hover { background: rgba(255,255,255,.25); }
.kheat__power:active { transform: scale(.96); }
.kheat__power.is-off {
  background: rgba(228,158,0,.8);
  border-color: #e49e00;
  color: #fff;
  box-shadow: 0 6px 24px rgba(228,158,0,.45);
}

/* Toast */
.kheat__toast {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 12px 22px;
  background: rgba(0,0,0,.84);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 30;
  transition: transform .3s cubic-bezier(.4,1.4,.6,1), opacity .22s;
  opacity: 0;
  pointer-events: none;
}
.kheat__toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.kheat__toast.is-error   { background: rgba(185,28,28,.9); }

/* ── Summer / Not-Available overlay ───────────────────────────────────── */
.kheat__overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(0,0,0,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px;
  text-align: center;
}
.kheat__overlay-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.5));
}
.kheat__overlay-title {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.kheat__overlay-sub {
  margin: 0;
  font-size: 18px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
/* =====================================================================
   Loftigo Fresh — Not Available overlay
   (same pattern as kheat__overlay for summer mode / unavailable)
   ===================================================================== */
.kfresh-overlay {
  position: absolute;
  inset: 0;
  z-index: 15;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 40px;
  pointer-events: all;   /* BLOCKS all interaction behind overlay */
  cursor: default;
}
.kfresh-overlay__img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}
.kfresh-overlay__title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.kfresh-overlay__sub {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

/* =====================================================================
   Extend Stay — empty panel placeholder
   ===================================================================== */
.kextend {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.kextend__soon {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Fresh panel body needs position:relative for the overlay */
.kiosk-screen--panel[data-screen="panel-loftigo-fresh"] .kiosk-panel__body {
  position: relative;
  overflow: hidden;
}

/* Extend Stay panel — full available width, no padding, no max-width */
.kiosk-screen--panel[data-screen="panel-extend-stay"] .kiosk-panel__head { display: none; }
.kiosk-screen--panel[data-screen="panel-extend-stay"] .kiosk-panel__body {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  flex: 1;
}
.kiosk-screen--panel[data-screen="panel-extend-stay"] .kiosk-panel__body .kextend {
  width: 100%;
  max-width: none;
  flex: 1;
}

/* =====================================================================
   UNIVERSAL PANEL BACK BUTTON
   Fixed below the clock card, visible on ALL panels except cleaning.
   ===================================================================== */
/* ── Compact back button pill ─────────────────────────────────────────── */
.kpanel-back {
  position: fixed;
  top: calc(210px + 16px);
  left: 16px;
  z-index: 55;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  height: 52px;
  background: rgba(255,255,255,.92);
  border: 0;
  border-radius: 999px;
  color: #111827;
  font-family: 'Outfit', inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.kpanel-back .kiosk-tile__icon {
  width: 32px; height: 32px; border-radius: 8px;
  font-size: 18px; background: #f3f4f6;
  flex-shrink: 0;
}
.kpanel-back .kiosk-tile__label { font-size: 15px; font-weight: 700; }
.kpanel-back:hover  { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(0,0,0,.26); }
.kpanel-back:active { transform: scale(.97); }

.kiosk-body.is-panel .kpanel-back { display: flex; }
.kiosk-body.is-panel[data-current-panel="panel-cleaning"] .kpanel-back { display: none; }

/* All panel bodies need position:relative for overlays */
.kiosk-screen--panel .kiosk-panel__body {
  position: relative;
}

/* Comfort Fresh panel body — same overlay support as Fresh */
.kiosk-screen--panel[data-screen="panel-comfort-fresh"] .kiosk-panel__body {
  overflow: hidden;
}

/* =====================================================================
   Help panel — ensure transparent/video background shows through
   ===================================================================== */
.kiosk-screen--panel[data-screen="panel-help"],
.kiosk-screen--panel[data-screen="panel-help"] .kiosk-panel__body {
  background: transparent !important;
}
/* Reduce FAQ card opacity slightly so video bleeds through more */
.khelp .kfaq__item {
  background: rgba(255,255,255,.82);
}
.khelp .kcontact-card {
  background: rgba(255,255,255,.82);
}

/* =====================================================================
   INTERIM CLEANING PANEL — kiosk-native design
   ===================================================================== */

/* Hide generic panel header, transparent body */
.kiosk-screen--panel[data-screen="panel-interim"] .kiosk-panel__head { display: none; }
.kiosk-screen--panel[data-screen="panel-interim"] .kiosk-panel__body {
  padding: 0;
  overflow: hidden;
  display: block;
  position: relative;
  flex: 1;
  background: transparent;
}

/* Root: fills the panel area */
.kinterim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Centered states (scheduled / no-slots / checkout imminent) ─────── */
.kinterim__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 40px;
  max-width: 560px;
}
.kinterim__icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  flex-shrink: 0;
}
.kinterim__icon--ok  { background: rgba(16,185,129,.18); color: #e49e00; }
.kinterim__icon--sad { background: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.kinterim__title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.kinterim__sub {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
}
.kinterim__booked-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(255,255,255,.92);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  font-family: 'Outfit', sans-serif;
  text-align: left;
}
.kinterim__booked-card i { font-size: 28px; color: #e49e00; flex-shrink: 0; }
.kinterim__booked-card strong { display: block; font-size: 17px; font-weight: 800; color: #111; }
.kinterim__booked-card span  { display: block; font-size: 14px; color: #6b7280; margin-top: 2px; }
.kinterim__hint { font-size: 13px; color: rgba(255,255,255,.5); margin: 0; }

/* ── Booking form ───────────────────────────────────────────────────── */
.kinterim__form {
  position: absolute;
  top: 0;
  left: calc(210px + 16px);   /* right of clock */
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 24px 40px;
}

.kinterim__form-head { display: flex; flex-direction: column; gap: 4px; }

.kinterim__remaining-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(228,158,0,.2);
  border: 1px solid rgba(228,158,0,.4);
  font-size: 12px;
  font-weight: 700;
  color: #e49e00;
  letter-spacing: .04em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 4px;
}
.kinterim__remaining-badge span {
  font-size: 18px;
  font-weight: 900;
}

/* Paid cleaning price badge */
.kinterim__price-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.35);
  font-size: 20px;
  font-weight: 900;
  color: #059669;
  letter-spacing: -.01em;
  width: fit-content;
  margin-bottom: 6px;
}

/* Slot cards */
.kinterim__slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}
.kinterim__slot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.88);
  border: 2px solid transparent;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  transition: all .15s;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(8px);
}
.kinterim__slot i { font-size: 18px; color: #9ca3af; flex-shrink: 0; }
.kinterim__slot span:nth-child(2) { flex: 1; }
.kinterim__slot-check { color: #e49e00; font-size: 20px; opacity: 0; transition: opacity .15s; }
.kinterim__slot:hover { background: rgba(255,255,255,.96); }
.kinterim__slot.is-selected {
  border-color: #e49e00;
  background: rgba(255,255,255,.97);
  box-shadow: 0 0 0 3px rgba(228,158,0,.2);
}
.kinterim__slot.is-selected i { color: #e49e00; }
.kinterim__slot.is-selected .kinterim__slot-check { opacity: 1; }

/* Room chips */
.kinterim__rooms { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kinterim__rooms-label {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0; flex-shrink: 0;
}
.kinterim__room-chips { display: flex; gap: 10px; }
.kinterim__chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.kinterim__chip i { font-size: 16px; }
.kinterim__chip.is-on {
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.8);
  color: #111827;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

/* Entry permission toggle */
.kinterim__entry-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.15);
  border-radius: 14px;
  cursor: pointer;
  transition: all .15s;
  font-family: 'Outfit', sans-serif;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}
.kinterim__entry-toggle__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: rgba(255,255,255,.6); flex-shrink: 0;
}
.kinterim__entry-toggle__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.kinterim__entry-toggle__text strong { font-size: 14px; font-weight: 800; color: rgba(255,255,255,.8); }
.kinterim__entry-toggle__text small  { font-size: 12px; color: rgba(255,255,255,.45); }
.kinterim__entry-toggle__pill {
  padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.5);
  flex-shrink: 0;
}
.kinterim__entry-toggle.is-on {
  background: rgba(16,185,129,.15);
  border-color: rgba(16,185,129,.4);
}
.kinterim__entry-toggle.is-on .kinterim__entry-toggle__icon { background: rgba(16,185,129,.2); color: #e49e00; }
.kinterim__entry-toggle.is-on .kinterim__entry-toggle__pill { background: #e49e00; color: #fff; }

/* CTA button */
.kinterim__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 16px;
  border: none;
  background: #e49e00;
  width: 400px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.kinterim__cta i { font-size: 22px; }
.kinterim__cta:hover  { transform: translateY(-2px);  }
.kinterim__cta:active { transform: scale(.97); }
.kinterim__cta:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* =====================================================================
   KIOSK INFO PANEL — WiFi + Weather + Upsell
   Positioned bottom-right of menu screen, below the service tile row
   ===================================================================== */
.kinfo {
  position: absolute;
  /* Start right of the nav-tiles column (clock:210 + gap:22) */
  left: calc(210px + 22px);
  /* Below the service tiles row (155px tile + 16px top + 16px pad) */
  top: calc(155px + 16px + 20px);
  right: 16px;
  bottom: 36px;   /* above the bottom date stamp */
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Base card ─────────────────────────────────────────────────────── */
.kinfo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0,0,0,.14);
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.kinfo-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #fff8e6;
  color: #e49e00;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.kinfo-card__label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.kinfo-card__body { flex: 1; min-width: 0; }

/* ── WiFi card ─────────────────────────────────────────────────────── */
.kinfo-card--wifi .kinfo-card__icon { background: #eff6ff; color: #3b82f6; }

.kinfo-wifi__row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.kinfo-wifi__key {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  min-width: 60px;
  flex-shrink: 0;
}
.kinfo-wifi__val {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kinfo-wifi__val--pass {
  font-family: 'Courier New', monospace;
  letter-spacing: .08em;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 14px;
}

/* ── Weather card ──────────────────────────────────────────────────── */
.kinfo-card--weather {
  flex: 1;  /* takes remaining space */
  align-items: flex-start;
}
.kinfo-card--weather .kinfo-card__icon {
  background: #fefce8;
  color: #f59e0b;
  width: 60px; height: 60px;
  font-size: 32px;
}

.kinfo-weather__temp {
  font-size: 42px;
  font-weight: 900;
  color: #111827;
  line-height: 1;
  letter-spacing: -.03em;
}
.kinfo-weather__desc {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
  line-height: 1.4;
}
.kinfo-weather__desc small {
  font-size: 12px;
  color: #9ca3af;
}

/* ── Upsell card ───────────────────────────────────────────────────── */
.kinfo-card--upsell {
  cursor: pointer;
  border: none;
  font-family: 'Outfit', sans-serif;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
  background: rgba(228,158,0,.12);
  border: 1px solid rgba(228,158,0,.3);
}
.kinfo-card--upsell:hover {
  background: rgba(228,158,0,.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(228,158,0,.2);
}
.kinfo-card--upsell:active { transform: scale(.98); }
.kinfo-card--upsell .kinfo-card__icon {
  background: rgba(228,158,0,.15);
  color: #e49e00;
}
.kinfo-upsell__head {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}
.kinfo-upsell__sub {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}
.kinfo-upsell__arrow {
  font-size: 18px;
  color: #e49e00;
  flex-shrink: 0;
}

/* =====================================================================
   TILE STATUS BADGES
   ===================================================================== */
.kiosk-tile { position: relative; }
.kiosk-tile__badge {
  position: absolute;
  top: 10px; right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.kiosk-tile__badge--ok   { background: #dcfce7; color: #15803d; }
.kiosk-tile__badge--info { background: #dbeafe; color: #1d4ed8; }
.kiosk-tile__badge--warn { background: #fef9c3; color: #a16207; }

/* =====================================================================
   TILE COLOR THEMES — icon box per tile key
   ===================================================================== */
.kiosk-tile--loftigo-fresh .kiosk-tile__icon {
  background: #dbeafe; color: #2563eb;   /* blue — water/laundry */
}
.kiosk-tile--comfort-fresh .kiosk-tile__icon {
  background: #d1fae5; color: #059669;   /* green — fresh towels */
}
.kiosk-tile--interim .kiosk-tile__icon {
  background: #fef3c7; color: #d97706;   /* amber — cleaning */
}
.kiosk-tile--heating .kiosk-tile__icon {
  background: #fee2e2; color: #dc2626;   /* red — heat */
}
.kiosk-tile--extend-stay .kiosk-tile__icon {
  background: #ede9fe; color: #7c3aed;   /* purple — calendar */
}
.kiosk-tile--door .kiosk-tile__icon {
  background: #fff8e6; color: #e49e00;   /* yellow — entrance (keep) */
}
.kiosk-tile--help .kiosk-tile__icon {
  background: #f1f5f9; color: #475569;   /* slate — help */
}

/* =====================================================================
   AMBIENT MODE OVERLAY
   ===================================================================== */
.kiosk-ambient {
  position: fixed;
  inset: 0;
  z-index: 90;               /* above everything */
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.kiosk-ambient.is-active {
  display: flex;
  animation: ambientFadeIn 2.5s ease forwards;
}
@keyframes ambientFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.kiosk-ambient__time {
  font-family: 'Outfit', sans-serif;
  font-size: 130px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.kiosk-ambient__date {
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,.5);
  letter-spacing: .02em;
}
.kiosk-ambient__hint {
  margin-top: 48px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
}

/* =====================================================================
   REDESIGN 2026-06-02k — Welcome screen, Language picker,
   Rules modal redesign, Sidebar nav layout
   ===================================================================== */

/* ── Welcome screen overrides ──────────────────────────────────────── */
.kiosk-screen--welcome {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  text-align: left;
  padding: 0;
}

/* Top bar */
.kwel__bar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px 0;
}
.kwel__bar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.kwel__bar-brand .hgi { font-size: 16px; }
.kwel__bar-clock {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.75);
}

/* Center greeting */
.kwel__center {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 56px;
}
.kwel__greeting-word {
  font-size: 24px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: .01em;
  opacity: 0;
  animation: kwelFadeUp .65s .15s cubic-bezier(.22,1,.36,1) forwards;
}
.kwel__name {
  font-size: clamp(64px, 10vw, 118px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.04em;
  line-height: .95;
  margin: 0 0 20px;
  text-shadow: 0 6px 48px rgba(0,0,0,.28);
  opacity: 0;
  animation: kwelFadeUp .65s .3s cubic-bezier(.22,1,.36,1) forwards;
}
.kwel__phrase {
  font-size: 18px;
  color: rgba(255,255,255,.5);
  font-weight: 400;
  margin: 0;
  opacity: 0;
  animation: kwelFadeUp .65s .45s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes kwelFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bottom CTA */
.kwel__bottom {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 0 56px 44px;
  opacity: 0;
  animation: kwelFadeUp .65s .6s cubic-bezier(.22,1,.36,1) forwards;
}
.kwel__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 32px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s, transform .15s, border-color .2s, box-shadow .2s;
  letter-spacing: .01em;
}
.kwel__cta:active {
  background: rgba(255,255,255,.22);
  transform: scale(.97);
}
.kwel__cta-globe { font-size: 20px; line-height: 1; }
.kwel__cta-text  { font-size: 17px; font-weight: 700; }
.kwel__cta-lang  {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
}

/* ── Language Picker Overlay ────────────────────────────────────────── */
.klang-picker {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.klang-picker.is-visible { display: flex; }

.klang-picker__card {
  width: 720px;
  max-width: calc(100vw - 40px);
  background: rgba(18,18,18,.88);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  padding: 38px 32px 36px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  animation: klangSlideIn .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes klangSlideIn {
  from { opacity: 0; transform: scale(.9) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.klang-picker__head {
  text-align: center;
  margin-bottom: 28px;
}
.klang-picker__globe {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
  color: rgba(255,255,255,.8);
}
.klang-picker__title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.klang-picker__multi {
  font-size: 11px;
  color: rgba(255,255,255,.38);
  margin: 0;
  line-height: 1.8;
  letter-spacing: .01em;
}
.klang-picker__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
}
.klang-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 18px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, border-color .15s, transform .15s;
  font-family: inherit;
}
.klang-opt:active {
  transform: scale(.96);
  background: rgba(255,255,255,.1);
}
.klang-opt.is-active {
  background: rgba(228,158,0,.18);
  border-color: rgba(228,158,0,.55);
}
.klang-opt.is-active .klang-opt__name { color: #e49e00; }
.klang-opt__flag  { font-size: 34px; line-height: 1; }
.klang-opt__name  { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.82); }

/* ── House Rules — full-screen card slider ───────────────────────────── */
.kiosk-rules {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  overflow: hidden;
}
.kiosk-rules.is-visible { display: block; }

/* ── Individual slide ── */
.krules__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;   /* content anchored to bottom */
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.4,0,.2,1);
  transform: translateX(40px);
}
.krules__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
/* Slide leaving: fade+shift left */
.krules__slide.is-leaving {
  opacity: 0;
  transform: translateX(-40px);
  pointer-events: none;
}
/* Slide entering (before animation frame) */
.krules__slide.is-entering {
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
}

/* ── Background photo ── */
.krules__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 6s ease-out;
}
.krules__slide.is-active .krules__bg { transform: scale(1); }

/* Per-slide background images — fallback gradient if no file */
.krules__slide--smoking .krules__bg {
  background-image: url('/assets/img/rules/smoking.jpg'),
    linear-gradient(160deg, #1a0505 0%, #3b0a0a 50%, #0f0505 100%);
}
.krules__slide--heating .krules__bg {
  background-image: url('/assets/img/rules/thermostats.jpg'),
    url('/assets/img/cards/heating.jpg'),
    linear-gradient(160deg, #05101a 0%, #0a2040 50%, #050f1a 100%);
}
.krules__slide--care .krules__bg {
  background-image: url('/assets/img/rules/care.jpg'),
    url('/assets/img/cards/cleaning.jpg'),
    linear-gradient(160deg, #050f05 0%, #0a2010 50%, #050f05 100%);
}

/* ── Dark gradient scrim — heavier at bottom ── */
.krules__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.18)  0%,
      rgba(0,0,0,.10)  30%,
      rgba(0,0,0,.55)  65%,
      rgba(0,0,0,.88) 100%
    );
}

/* ── Text content (bottom-left, generous padding) ── */
.krules__content {
  position: relative;
  z-index: 2;
  padding: 0 64px 200px;   /* bottom leaves room for the footer strip */
  max-width: 760px;
}

/* Icon pill */
.krules__icon-pill {
  width: 72px; height: 72px;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.krules__icon-pill .hgi { color: #fff !important; }
.krules__icon-pill--red   { background: rgb(255 255 255 / 20%);  }
.krules__icon-pill--blue  { background: rgb(255 255 255 / 20%); }
.krules__icon-pill--green { background: rgb(255 255 255 / 20%); }

/* Title */
.krules__title {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

/* Description */
.krules__desc {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  max-width: 580px;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}

/* ── Footer strip (fixed over all slides) ── */
.krules__footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  padding: 20px 64px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 100%);
}

/* Progress dots */
.krules__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.krules__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  transition: width .25s cubic-bezier(.4,0,.2,1), background .25s;
}
.krules__dot.is-active {
  width: 28px;
  background: #e49e00;
}

/* CTA button */
.krules__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 40px;
  border-radius: 16px;
  border: none;
  background: #e49e00;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  min-width: 220px;
  box-shadow: 0 4px 24px rgba(228,158,0,.5);
  transition: transform .12s, box-shadow .12s, background .12s;
  -webkit-tap-highlight-color: transparent;
}
.krules__btn .hgi { color: #1a1a1a !important; font-size: 20px; }
.krules__btn:active   { transform: scale(.97); box-shadow: 0 2px 10px rgba(228,158,0,.35); }
.krules__btn:disabled { opacity: .6; cursor: default; }

@keyframes kioskRulesSpin { to { transform: rotate(360deg); } }

/* ── Menu screen: sidebar layout ────────────────────────────────────── */
.kiosk-screen--menu {
  flex-direction: row !important; /* override old column */
}

/* Back button: moved up since no persistent clock card */
.kpanel-back {
  top: 28px !important;
  left: 24px !important;
}


/* Greeting */
.ksb-greeting {
  padding: 4px 6px 4px;
}
.ksb-greeting__time {
  font-size: 14px;
  color: rgba(0,0,0,.45);
  font-weight: 500;
  letter-spacing: .01em;
}
.ksb-greeting__name {
  font-size: 30px;
  font-weight: 900;
  color: #111;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin-top: 2px;
}
.ksb-greeting__stay {
  font-size: 11.5px;
  color: rgba(0,0,0,.38);
  margin-top: 6px;
}

/* Nav */
.ksb-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  scrollbar-width: none;
}
.ksb-nav::-webkit-scrollbar { display: none; }

/* Nav items */
.knav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
  width: 100%;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: background .15s, transform .12s, border-color .15s;
  /* Entrance animation */
  opacity: 0;
  transform: translateX(-16px);
  animation: knavSlideIn .4s cubic-bezier(.34,1.56,.64,1) forwards;
}
.knav-item:nth-child(1) { animation-delay: .04s; }
.knav-item:nth-child(2) { animation-delay: .09s; }
.knav-item:nth-child(3) { animation-delay: .14s; }
.knav-item:nth-child(4) { animation-delay: .19s; }
.knav-item:nth-child(5) { animation-delay: .24s; }
.knav-item:nth-child(6) { animation-delay: .29s; }
.knav-item:nth-child(7) { animation-delay: .34s; }
@keyframes knavSlideIn {
  to { opacity: 1; transform: translateX(0); }
}
.knav-item:active {
  background: rgba(0,0,0,.07);
  transform: scale(.98) !important;
  border-color: rgba(0,0,0,.1);
}

/* Nav item: icon box */
.knav-item__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform .25s;
}
.knav-item:active .knav-item__icon { transform: rotate(-8deg) scale(1.08); }

/* Nav item: text */
.knav-item__body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.knav-item__label {
  font-size: 14.5px; font-weight: 700; color: #111; line-height: 1.2;
}
.knav-item__sub {
  font-size: 11px; color: rgba(0,0,0,.42); line-height: 1.3;
}

/* Nav item: badge */
.knav-item__badge {
  font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 999px; flex-shrink: 0;
}
.knav-item__badge--ok   { background: #dcfce7; color: #15803d; }
.knav-item__badge--info { background: #dbeafe; color: #1d4ed8; }
.knav-item__badge--warn { background: #fef3c7; color: #92400e; }

/* Nav item: arrow */
.knav-item__arrow {
  color: rgba(0,0,0,.22);
  font-size: 16px; flex-shrink: 0;
  transition: transform .18s, color .18s;
}
.knav-item:active .knav-item__arrow {
  color: rgba(0,0,0,.55);
  transform: translateX(3px);
}

/* Nav item icon colors — saturated for white background */
.knav-item--door .knav-item__icon          { background: #fff8e6; color: #d97706; }
.knav-item--help .knav-item__icon          { background: #f1f5f9; color: #475569; }
.knav-item--loftigo-fresh .knav-item__icon { background: #dbeafe; color: #2563eb; }
.knav-item--comfort-fresh .knav-item__icon { background: #d1fae5; color: #059669; }
.knav-item--interim .knav-item__icon       { background: #fef3c7; color: #d97706; }
.knav-item--heating .knav-item__icon       { background: #fee2e2; color: #dc2626; }
.knav-item--extend-stay .knav-item__icon   { background: #ede9fe; color: #7c3aed; }

/* Sidebar clock */
.ksb-clock {
  border-top: 1px solid rgba(0,0,0,.07);
  padding-top: 16px;
}
.ksb-clock__time {
  font-size: 48px;
  font-weight: 900;
  color: #111;
  letter-spacing: -.04em;
  line-height: 1;
}
.ksb-clock__date {
  font-size: 11.5px;
  color: rgba(0,0,0,.42);
  margin-top: 5px;
  letter-spacing: .01em;
}
.ksb-clock__apt {
  font-size: 10px;
  color: rgba(0,0,0,.28);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 5px;
}

/* RIGHT CONTENT AREA */
.kiosk-main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px 28px 24px;
  /* Slightly darker frosted white */
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(22px) saturate(110%);
  -webkit-backdrop-filter: blur(22px) saturate(110%);
  border-left: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
  position: relative;
}
/* Info cards already styled (.kinfo-card) — layout inside main area */
.kiosk-main-area .kinfo-card {
  width: 100%;
  max-width: 460px;
}
.kma-brand {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.25);
}

/* =====================================================================
   LIGHT MODE — 2026-06-02o
   Welcome: cinematic (video visible, dark, centered)
   Home + Panels: white / light mode
   ===================================================================== */

/* ── Body background fallback ── */
.kiosk-body { background: #1a1a1a; }

/* All HugeIcons default to Loftigo yellow */
.hgi { color: #e49e00; }

/* ── Ambient mode clock: DM Serif Display ── */
.kiosk-ambient__time {
  font-family: 'DM Serif Display', serif !important;
  font-weight: 400 !important;
  letter-spacing: -.03em !important;
}

/* ── WiFi lock button ── */
.ksb-wifi__locked {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,.05);
  border: 1px dashed rgba(0,0,0,.18);
  font-size: 11px;
  font-weight: 700;
  color: rgba(0,0,0,.45);
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s;
  width: fit-content;
  margin-top: 2px;
}
.ksb-wifi__locked:active { background: rgba(0,0,0,.09); }
.ksb-wifi__locked .hgi { font-size: 12px; }

/* ── Weather label above forecast ── */
.ksb-forecast-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.32);
  padding: 0 2px;
  margin-bottom: -4px;
}
.ksb-forecast-label .hgi { font-size: 11px; }

/* ── Newsletter modal ── */
.knewsletter {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.knewsletter.is-visible { display: flex; }

.knewsletter__card {
  width: 540px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  animation: klangSlideIn .35s cubic-bezier(.34,1.56,.64,1);
}
.knewsletter__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: #fff8e6;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 4px;
}
.knewsletter__icon .hgi { color: #e49e00 !important; }
.knewsletter__title {
  font-size: 24px; font-weight: 800; color: #111;
  margin: 0; letter-spacing: -.02em;
}
.knewsletter__sub {
  font-size: 14px; color: rgba(0,0,0,.5);
  margin: 0; line-height: 1.6; max-width: 380px;
}
.knewsletter__input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 13px;
  border: 1.5px solid rgba(0,0,0,.12);
  font-size: 16px; font-family: inherit;
  outline: none;
  transition: border-color .15s;
  margin-top: 4px;
}
.knewsletter__input:focus { border-color: #e49e00; }
.knewsletter__err {
  font-size: 13px; color: #dc2626; font-weight: 600;
  align-self: flex-start;
}
.knewsletter__submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px; border-radius: 14px;
  background: #e49e00; color: #1a1a1a;
  font-size: 16px; font-weight: 800; font-family: inherit;
  border: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s, transform .1s;
}
.knewsletter__submit:active  { background: #c98d00; transform: scale(.99); }
.knewsletter__submit:disabled { opacity: .6; }
.knewsletter__submit .hgi { color: #1a1a1a !important; }
.knewsletter__dismiss {
  font-size: 13px; color: rgba(0,0,0,.38);
  background: none; border: none; cursor: pointer;
  font-family: inherit; padding: 4px;
  -webkit-tap-highlight-color: transparent;
}
.knewsletter__success-icon {
  font-size: 52px; color: #e49e00 !important;
  margin: 8px 0;
}
.knewsletter__success-icon .hgi { color: #e49e00 !important; }
.knewsletter__success-msg {
  font-size: 15px; color: rgba(0,0,0,.55);
  margin: 0; line-height: 1.6;
}

/* ── VIDEO ──
   Welcome: full cinematic (video visible)
   Menu / Panel: video very faint, white takes over
──────────────────────────────────────────────────── */
.kiosk-bg-video {
  filter: none !important;  /* welcome: full video */
}
.kiosk-body.is-menu  .kiosk-bg-video,
.kiosk-body.is-panel .kiosk-bg-video {
  filter: blur(0) brightness(1) saturate(.5) opacity(.12) !important;
}

/* ── VEIL ──
   Welcome: dark cinematic gradient (video shows through)
   Menu:    near-opaque white (light mode)
   Panel:   fully opaque white
──────────────────────────────────────────────────── */
.kiosk-bg-veil {
  /* Welcome: subtle dark veil — video is the hero */
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.kiosk-body.is-menu .kiosk-bg-veil {
  background: rgba(255,255,255,.94) !important;
}
.kiosk-body.is-panel .kiosk-bg-veil {
  background: rgba(255,255,255,.97) !important;
}

/* ══════════════════════════════════════════
   WELCOME SCREEN — cinematic, centered
   ══════════════════════════════════════════ */

/* Center all content */
.kiosk-screen--welcome {
  align-items: center !important;
  text-align: center !important;
}
.kwel__bar {
  position: absolute !important;
  top: 0; left: 0; right: 0;
  justify-content: space-between;
}
.kwel__bar-brand { color: rgba(255,255,255,.5) !important; }
.kwel__bar-clock { color: rgba(255,255,255,.7) !important; }

.kwel__center {
  align-items: center !important;
  text-align: center !important;
  padding: 0 60px !important;
}
.kwel__greeting-word {
  color: rgba(255,255,255,.7) !important;
  font-size: 20px !important;
}
.kwel__name {
  color: #fff !important;
  text-shadow: 0 4px 48px rgba(0,0,0,.4) !important;
  font-size: clamp(72px, 11vw, 130px) !important;
}
.kwel__phrase { color: rgba(255,255,255,.55) !important; }

/* CTA: frosted glass pill (like reference photo) */
.kwel__bottom { justify-content: center !important; }
.kwel__cta {
  background: rgba(255,255,255,.15) !important;
  border-color: rgba(255,255,255,.4) !important;
  color: #fff !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.25) !important;
  font-size: 18px !important;
  padding: 20px 40px !important;
  letter-spacing: .02em !important;
}
.kwel__cta:active {
  background: rgba(255,255,255,.25) !important;
  transform: scale(.97) !important;
}
.kwel__cta-lang {
  background: rgba(255,255,255,.2) !important;
  color: rgba(255,255,255,.9) !important;
}
.kiosk-welcome__brand,
.kiosk-welcome__date { color: rgba(255,255,255,.25) !important; }

/* ── Language picker: white modal ── */
.klang-picker {
  background: rgba(255,255,255,.85) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}
.klang-picker__card {
  background: #fff !important;
  border-color: rgba(0,0,0,.09) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.14);
}
.klang-picker__title { color: #111 !important; }
.klang-picker__multi { color: rgba(0,0,0,.38) !important; }
.klang-opt {
  background: #f7f7f7 !important;
  border-color: rgba(0,0,0,.08) !important;
}
.klang-opt:active  { background: #efefef !important; }
.klang-opt.is-active {
  background: #fff8e6 !important;
  border-color: #e49e00 !important;
}
.klang-opt__name { color: #222 !important; }
.klang-opt.is-active .klang-opt__name { color: #c98d00 !important; }

/* ── House Rules: white modal ── */
.kiosk-rules {
  background: rgba(255,255,255,.85) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}
.kiosk-rules__card {
  background: #fff !important;
  border-color: rgba(0,0,0,.08) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  color: #111 !important;
}
.kiosk-rules__h2     { color: #111 !important; }
.kiosk-rules__subtitle { color: rgba(0,0,0,.45) !important; }
.kiosk-rules__rule {
  background: #f8f8f8 !important;
  border-color: rgba(0,0,0,.07) !important;
}
.kiosk-rules__rule-h3 { color: #111 !important; }
.kiosk-rules__rule-p  { color: rgba(0,0,0,.5) !important; }

/* ── Panel screens: clean white ── */
.kiosk-screen--panel {
  background: #fff !important;
}
.kiosk-panel__head {
  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,.07) !important;
}
.kiosk-panel__title { color: #111 !important; }
.kiosk-panel__body  { background: #fff !important; }

/* Back button: clean white pill with shadow */
.kpanel-back {
  background: #fff !important;
  border-color: rgba(0,0,0,.1) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.1) !important;
  color: #111 !important;
}
.kpanel-back .kiosk-tile__icon { color: #111 !important; }
.kpanel-back .kiosk-tile__label { color: #111 !important; }

/* ── Right main area: white ── */
.kiosk-main-area {
  background: #f0f0f0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-left-color: rgba(0,0,0,.07) !important;
}

/* Info cards on white */
.kinfo-card {
  background: #fff !important;
  border-color: rgba(0,0,0,.07) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
}
.kinfo-card__label { color: rgba(0,0,0,.45) !important; }
.kinfo-wifi__key   { color: rgba(0,0,0,.45) !important; }
.kinfo-wifi__val   { color: #111 !important; }
.kinfo-weather__temp { color: #111 !important; }
.kinfo-weather__desc { color: rgba(0,0,0,.5) !important; }
.kinfo-upsell__head  { color: #111 !important; }
.kinfo-upsell__sub   { color: rgba(0,0,0,.5) !important; }
.kinfo-upsell__arrow { color: rgba(0,0,0,.3) !important; }
.kinfo-card--upsell:active { background: #f8f8f8 !important; }

/* kinfo icon color on white */
.kinfo-card__icon { color: #e49e00 !important; }

/* Toast */
.kiosk-toast {
  background: #1a1a1a !important;
  color: #fff !important;
}

/* =====================================================================
   NEW MENU LAYOUT — 2026-06-03
   Sidebar: apt label + big greeting + 3-day forecast + clock
   Main area: large nav card grid
   ===================================================================== */

/* Sidebar: slightly narrower so cards get more space */
.kiosk-sidebar { width: 230px !important; gap: 12px !important; }

/* ── Sidebar: persistent fixed layout ── */
.kiosk-sidebar {
  position: fixed !important;
  left: 0; top: 0; bottom: 0;
  width: 230px !important;
  z-index: 20;
  display: none;
  flex-direction: column;
  padding: 28px 18px 24px !important;
  gap: 12px !important;
  background: #fff !important;
  border-right: 1px solid rgba(0,0,0,.07) !important;
  box-shadow: 2px 0 24px rgba(0,0,0,.08) !important;
}
/* Show sidebar on menu + all panels (not welcome) */
.kiosk-body.is-menu  .kiosk-sidebar,
.kiosk-body.is-panel .kiosk-sidebar { display: flex; }

/* Logo — top center */
/* Top row: logo left, lang button right — always visible in sidebar */
.ksb-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px 4px;
  flex-shrink: 0;
}
.ksb-logo {
  display: flex;
  align-items: center;
  flex: 1;
}
.ksb-logo__img {
  max-width: 100px;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Language button in sidebar — always visible */
.ksb-lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.1);
  font-size: 11px;
  font-weight: 800;
  color: rgba(0,0,0,.55);
  letter-spacing: .06em;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s;
  flex-shrink: 0;
}
.ksb-lang-btn:active { background: rgba(0,0,0,.1); }
.ksb-lang-btn .hgi   { font-size: 14px; color: rgba(0,0,0,.4) !important; }

/* Greeting — horizontal, DM Serif italic, Loftigo yellow */
.ksb-greeting-horiz {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 21px;
    color: #e49e00;
    padding: 0 4px;
    letter-spacing: .01em;
    flex-shrink: 0;
    margin-bottom: -20px;
    padding-top: 70px;
}

/* Name — horizontal, no flex:1 so content stays together */
.ksb-name-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 0 4px;
}

/* Spacer: fills gap, pushes weather + clock to bottom */
.ksb-spacer { flex: 1; min-height: 8px; }

/* ── Help card inside sidebar — static, no animation */
.ksb-help-card {
  height: 72px;
  min-height: unset;
  max-height: 72px;
  flex-shrink: 0;
  border-radius: 14px;
  animation: none !important;
  opacity: 1 !important;
}
/* Keep label font smaller to fit the narrower card */
.ksb-help-card .knav-card__label { font-size: 14px; }
.ksb-help-card .knav-card__sub   { font-size: 11px; }
.ksb-help-card .knav-card__icon  { width: 36px; height: 36px; font-size: 16px; }
.ksb-name {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;        /* JS shrinks single words; multi-words wrap */
  font-weight: 400;
  color: #111;
  letter-spacing: -.03em;
  line-height: 1.05;
  word-break: normal;     /* only break at spaces (multi-word names) */
  overflow-wrap: normal;
  hyphens: none;
}

/* Stay label — removed (replaced by stay-card) */
.ksb-stay-bottom { display: none; }

/* ── Stay progress card ── */
.ksb-stay-card {
  padding: 12px 14px;
  background: #f8f8f8;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}
.ksb-stay-card__dates {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(0,0,0,.4);
  letter-spacing: .01em;
}
.ksb-stay-card__bar {
  height: 5px;
  background: rgba(0,0,0,.1);
  border-radius: 999px;
  overflow: hidden;
}
.ksb-stay-card__fill {
  height: 100%;
  background: #e49e00;
  border-radius: 999px;
  transition: width .6s ease;
}
.ksb-stay-card__meta {
  font-size: 11px;
  font-weight: 700;
  color: rgba(0,0,0,.45);
  text-align: right;
}

/* ── WiFi widget ── */
.ksb-wifi {
  padding: 12px 14px;
  background: #f8f8f8;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.ksb-wifi__head {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.35);
}
.ksb-wifi__head .hgi { font-size: 13px; }
.ksb-wifi__ssid {
  font-size: 12.5px;
  font-weight: 700;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ksb-wifi__pass {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(0,0,0,.5);
  font-family: 'Courier New', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .03em;
}

/* Apt name above clock */
.ksb-clock__apt-name {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.28);
  margin-bottom: 6px;
}

/* 3-day weather forecast */
.ksb-forecast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 12px 4px;
  border-top: 1px solid rgba(0,0,0,.07);
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.ksb-forecast__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  border-radius: 10px;
  background: rgba(0,0,0,.03);
}
.ksb-forecast__day-name {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(0,0,0,.4);
}
.ksb-forecast__icon {
  font-size: 18px;
  line-height: 1;
  color: #e49e00;
}
.ksb-forecast__temps {
  font-size: 10px;
  font-weight: 700;
  color: #333;
}

/* Clock: compact */
.ksb-clock { border-top: none !important; padding-top: 0 !important; }
.ksb-clock__time { font-size: 42px !important; }
.ksb-clock__date { font-size: 11px !important; }
.ksb-clock__apt  { display: none; }

/* Main area: just the grid + foot */
.kiosk-main-area {
  flex-direction: column !important;
  padding: 20px !important;
  gap: 0 !important;
}

/* ── Large navigation card grid ── */
.knav-grid {
  flex: none;           /* don't stretch — fixed row heights control size */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Fixed pixel rows so cards stay compact regardless of screen space */
  grid-template-rows: 192px auto 155px;
  grid-auto-rows: 140px;
  gap: 12px 14px;
  width: 100%;
}

/* Group label — spans full row regardless of column count */
.knav-group-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0px;
  padding: 0 2px;
  margin-top: 2px;
  margin-bottom: -2px;
  /* DM Serif Display — same family as greeting */
  font-family: 'DM Serif Display', serif;
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #e49e00;
}
.knav-group-label em {
  font-style: italic;
  color: var(--kiosk-yellow);
}
.knav-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(228,158,0,.2);
}

/* ═══════════════════════════════════════════════════════════════════
   NAV CARDS — full-bleed photo, text overlaid with gradient scrim
   ═══════════════════════════════════════════════════════════════════ */

.knav-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  /* Only transform + opacity — both GPU-composited, zero layout cost */
  transition: transform .15s ease-out, box-shadow .15s ease-out;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  animation: knavCardIn .38s ease-out forwards;
  will-change: transform, opacity;   /* tell browser to prepare GPU layer */
  transform: translateZ(0);          /* promote to own compositor layer */
  width: 100%;
  height: 100%;
}
.knav-card:nth-child(1) { animation-delay: .04s; }
.knav-card:nth-child(2) { animation-delay: .09s; }
.knav-card:nth-child(3) { animation-delay: .14s; }
.knav-card:nth-child(4) { animation-delay: .19s; }
.knav-card:nth-child(5) { animation-delay: .24s; }
.knav-card:nth-child(6) { animation-delay: .29s; }
.knav-card:nth-child(7) { animation-delay: .34s; }
@keyframes knavCardIn {
  /* No filter: blur — GPU blur on 6 elements simultaneously causes lag */
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}
.knav-card:active {
  transform: scale(.96) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.10) !important;
  /* No filter: brightness — use opacity instead, stays on compositor */
  opacity: .88 !important;
}

/* ── Full-bleed photo fills entire card ── */
.knav-card__photo {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transition: transform .4s ease;
}
.knav-card:active .knav-card__photo { transform: scale(1.03); }

/* Photo per card — new images sorted by name, gradient fallback where no image yet */
.knav-card--door .knav-card__photo          { background: url('/assets/img/cards/entrance.jpg'), linear-gradient(145deg,#fffbeb,#f59e0b); }
.knav-card--loftigo-fresh .knav-card__photo { background: url('/assets/img/cards/laundry.jpg'), linear-gradient(145deg,#eff6ff,#2563eb); }
.knav-card--comfort-fresh .knav-card__photo { background: url('/assets/img/cards/refresh.jpg'),  linear-gradient(145deg,#f0fdf4,#059669); }
.knav-card--interim .knav-card__photo       { background: url('/assets/img/cards/cleaning.jpg'), linear-gradient(145deg,#fffbeb,#d97706); }
.knav-card--heating .knav-card__photo       { background: url('/assets/img/cards/heating.jpg'),  linear-gradient(145deg,#fff1f2,#dc2626); }
.knav-card--extend-stay .knav-card__photo   { background: url('/assets/img/cards/extend.jpg'), linear-gradient(145deg,#faf5ff,#7c3aed); }
.knav-card--help .knav-card__photo             { background: url('/assets/img/cards/help.jpg'),                                          linear-gradient(145deg,#f8fafc,#475569); }
.knav-card--turnover .knav-card__photo         { background: url('/assets/img/cards/turnover.jpg'),         linear-gradient(145deg,#f0fdf4,#059669); background-size: cover; background-position: center; }
.knav-card--request-supplies .knav-card__photo { background: url('/assets/img/cards/request-supplies.jpg'), linear-gradient(145deg,#eff6ff,#2563eb); background-size: cover; background-position: center; }
.knav-card--lost-found .knav-card__photo { background: url('/assets/img/cards/lost-found.jpg'), linear-gradient(145deg,#eff6ff,#2563eb); background-size: cover; background-position: center; }
.knav-card--problem-found .knav-card__photo { background: url('/assets/img/cards/problem-found.jpg'), linear-gradient(145deg,#eff6ff,#2563eb); background-size: cover; background-position: center; }

/* ── Gradient scrim — text readable on any photo ── */
.knav-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 18px 18px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.45) 55%,
    transparent    100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

/* Text on photo */
.knav-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.knav-card__label {
  font-size: 25px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.knav-card__sub {
  font-size: 12px;
  color: rgba(255,255,255,.72);
  font-weight: 500;
}

/* Icon — frosted glass circle on photo */
.knav-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: rgb(255 255 255 / 27%) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    transition: transform .2s, background .15s;
}
/* Force icon inside card to stay white — global .hgi rule would otherwise override */
.knav-card__icon .hgi { color: #fff !important; }
.knav-card:active .knav-card__icon {
  background: rgba(255,255,255,.35) !important;
  transform: scale(1.08);
}

/* Disabled / unavailable card */
.knav-card--unavailable {
  cursor: default;
  pointer-events: none;
}
.knav-card--unavailable .knav-card__photo {
  filter: grayscale(55%) brightness(.85);
}
.knav-card--unavailable .knav-card__info { opacity: .4; }

/* Unavailable overlay */
.knav-card__overlay-unavail {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0,0,0,.50);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 20px;
  text-align: center;
}
.knav-card__overlay-unavail .hgi {
  font-size: 36px;
  color: rgba(255,255,255,.88) !important;
}
.knav-card__overlay-unavail span {
  font-size: 11px;
  font-weight: 100;
  color: rgba(255,255,255,.88);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.45;
  max-width: 130px;
}

/* Badge — frosted glass top-right */
.knav-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
}
.knav-card__badge--ok   { background: rgba(220,252,231,.88); color: #15803d; }

/* Active card — green border when badge type is "ok" (e.g. Laundry active) */
.knav-card--active {
  outline: 3px solid #15803d;
  outline-offset: -2px;
  box-shadow: 0 0 0 4px rgba(21,128,61,.12);
}

/* Service cards — yellow border to group them visually */
.knav-card--service {
  outline: 2px solid var(--kiosk-yellow);
  outline-offset: -1px;
}
.knav-card--service.knav-card--active {
  outline: 3px solid #15803d; /* active overrides service border */
}
.knav-card__badge--info { background: rgba(219,234,254,.88); color: #1d4ed8; }
.knav-card__badge--warn { background: rgba(254,243,199,.88); color: #92400e; }

/* Footer row: brand + language button */
.kma-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
}
.kma-brand {
  position: static !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.2);
}

/* =====================================================================
   PERSISTENT SIDEBAR — panel + menu offset, back button, notifications
   ===================================================================== */

/* All content screens offset right of the 230px sidebar */
.kiosk-body.is-menu  .kiosk-screen--menu.is-visible,
.kiosk-body.is-panel .kiosk-screen--panel.is-visible {
  left: 230px !important;
}
/* Ensure panels fill right area */
.kiosk-screen--panel {
  right: 0; top: 0; bottom: 0;
}


/* Hide old fixed pill (replaced by panel header) */
.kpanel-back { display: none !important; }

/* ── Panel header with back button ── */
.kiosk-panel__head {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.07);
  flex-shrink: 0;
  z-index: 5;
  position: relative;
}
.kiosk-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  background: #f3f4f6;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s, transform .1s;
  flex-shrink: 0;
}
.kiosk-back .hgi { font-size: 18px; }
.kiosk-back:active { background: #e5e7eb; transform: scale(.97); }

.kiosk-panel__title {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin: 0;
  letter-spacing: -.02em;
  flex: 1;
}
.kiosk-panel__spacer { display: none; }

/* Panel body: remaining height */
.kiosk-panel__body {
  flex: 1;
  overflow-y: auto;
  background: #fff;
}

/* ── Fix khelp left offset (was for old clock card) ── */
.khelp__content {
  left: 0 !important;
  right: 0 !important;
  inset-inline: 0 !important;
}

/* ── Notification pill — iPhone Dynamic Island style ── */
.knotif-wrap {
  padding: 0 0 10px;
  flex-shrink: 0;
}

.knotif {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px 12px 12px;
  /* Light mode */
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  overflow: hidden;
  --notif-color: #e49e00;
}

/* ── Animated border ring — traces around on enter ── */
.knotif__ring {
  position: absolute;
  inset: 0;
  border-radius: 19px;
  border: 1.5px solid var(--notif-color);
  opacity: 0;
  pointer-events: none;
}

/* Ring animates when .is-entering is applied */
.knotif.is-entering .knotif__ring {
  animation: knotifRing .65s ease-out both;
}
@keyframes knotifRing {
  0%   { opacity: 0;    transform: scale(.94); }
  30%  { opacity: .7;   transform: scale(1.01); }
  60%  { opacity: .35;  transform: scale(1); }
  100% { opacity: .15;  transform: scale(1); }
}

/* ── App icon — solid colored square, white icon ── */
.knotif__icon-wrap {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  /* background + shadow set by JS via inline style */
}
.knotif__icon-wrap .hgi { color: #fff !important; }

/* Icon bounce on enter */
.knotif.is-entering .knotif__icon-wrap {
  animation: knotifIconBounce .5s .08s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes knotifIconBounce {
  from { opacity: 0; transform: scale(.25) rotate(-20deg); }
  to   { opacity: 1; transform: scale(1)   rotate(0deg); }
}

/* ── Text block ── */
.knotif__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.knotif__app-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--notif-color);
  display: block;
  margin-bottom: 2px;
}
.knotif__title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.knotif__sub {
  font-size: 11.5px;
  color: rgba(0,0,0,.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Title slides in on enter */
.knotif.is-entering .knotif__title {
  animation: knotifTextIn .35s .18s ease-out both;
}
/* Sub fades in slightly later */
.knotif.is-entering .knotif__sub {
  animation: knotifTextIn .35s .26s ease-out both;
}
/* App label slides with title */
.knotif.is-entering .knotif__app-label {
  animation: knotifTextIn .3s .12s ease-out both;
}
@keyframes knotifTextIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Fade out on cycle */
.knotif.is-fading .knotif__title,
.knotif.is-fading .knotif__sub,
.knotif.is-fading .knotif__app-label,
.knotif.is-fading .knotif__icon-wrap {
  opacity: 0;
  transition: opacity .2s ease;
}

/* Action + dismiss removed — notification is info-only */

/* ── Language button — bottom-right of main area ── */
.kma-lang-btn {
  position: absolute;
  bottom: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, transform .12s, box-shadow .15s;
  z-index: 10;
}
.kma-lang-btn:active {
  background: #f3f3f3;
  transform: scale(.97);
}
.kma-lang-btn__globe { font-size: 17px; line-height: 1; }
.kma-lang-btn__code  {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #333;
}

/* =====================================================================
   EXTEND STAY — calendar picker panel
   ===================================================================== */
.kextend {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 24px 16px;
  gap: 14px;
  background: #fff;
}
.kextend__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  width:100%;
}
.kextend__title {
  font-size: 22px; font-weight: 900; color: #111;
  margin: 0 0 4px; letter-spacing: -.02em;
}
.kextend__sub {
  font-size: 13px; color: rgba(0,0,0,.5); margin: 0;
}
.kextend__total-wrap {
  text-align: right; flex-shrink: 0;
}
.kextend__total-label {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(0,0,0,.38);
}
.kextend__total-val {
  font-size: 32px; font-weight: 900; color: #111;
  letter-spacing: -.03em; line-height: 1.1;
  transition: color .2s;
}

/* Calendar scroll area */
.kextend__cal {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 100%;
  align-content: flex-start;
  scrollbar-width: none;
}
.kextend__cal::-webkit-scrollbar { display: none; }

/* Month block — full width */
.kextend__month {
  width: 100%;
}
.kextend__month-head {
  font-size: 16px; font-weight: 800; color: #111;
  letter-spacing: -.01em;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 10px;
}

/* 7-column grid */
.kextend__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.kextend__grid-dow {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: rgba(0,0,0,.35); text-align: center;
  padding: 4px 0 8px;
}

/* Day cells — tall enough to be finger-friendly */
.kextend__day {
  min-height: 76px;
  border-radius: 12px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  position: relative;
  transition: background .12s, transform .1s;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.kextend__day-num {
  font-size: 20px; font-weight: 800; color: #111; line-height: 1;
}
.kextend__day-price {
  font-size: 11px; font-weight: 600;
  color: rgba(0,0,0,.45); line-height: 1;
}
.kextend__day-tag {
  font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: #e49e00; line-height: 1;
}

/* Available: tappable */
.kextend__day--avail {
  background: #f8f8f8;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.kextend__day--avail:active {
  background: #fef3c7;
  transform: scale(.95);
}

/* Selected */
.kextend__day--selected {
  background: #fff8e6 !important;
  border-color: #e49e00 !important;
  box-shadow: 0 0 0 2px rgba(228,158,0,.2);
}
.kextend__day--selected .kextend__day-num { color: #e49e00; }
.kextend__day--selected .kextend__day-price { color: #e49e00; font-weight: 800; }

/* Current checkout */
.kextend__day--checkout {
  background: rgba(228,158,0,.1);
  border: 1.5px solid rgba(228,158,0,.35);
}
.kextend__day--checkout .kextend__day-num { color: #e49e00; }

/* Past / blocked / empty */
.kextend__day--past .kextend__day-num,
.kextend__day--blocked .kextend__day-num { color: rgba(0,0,0,.2); }
.kextend__day--blocked { background: rgba(0,0,0,.03); }
.kextend__day--empty  { background: transparent; }

/* Checkout time hint */
.kextend__checkout-hint {
  font-size: 11px; font-weight: 600;
  color: rgba(0,0,0,.45);
  margin-top: 4px;
  white-space: nowrap;
}

/* CTA */
.kextend__cta { flex-shrink: 0; }
.kextend__cta:disabled {
  background: #e5e7eb !important; color: rgba(0,0,0,.35) !important; cursor: default;
}
.kextend__cta:disabled svg { opacity: .35; }

/* =====================================================================
   INTERIM CLEANING v2 — Calendar-based
   ===================================================================== */
.kinterim--v2 { display:flex; flex-direction:column; height:100%; background:#fff; }

.kcal-clean {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 20px 24px 16px;
  gap: 14px;
}
/* Header */
.kcal-clean__hd {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px; flex-shrink:0;
}
.kcal-clean__title {
  font-size: 22px; font-weight: 900; color: #111;
  margin: 0 0 4px; letter-spacing: -.02em;
}
.kcal-clean__sub { font-size:13px; color:rgba(0,0,0,.45); margin:0; }

/* Badges */
.kcal-clean__badge {
  padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 800; white-space: nowrap;
}
.kcal-clean__badge--free {
  background: rgba(228,158,0,.15); border: 1px solid rgba(228,158,0,.35); color: #b07a00;
}
.kcal-clean__badge--free span { font-size:18px; font-weight:900; color:#e49e00; }
.kcal-clean__badge--paid {
  background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.35);
  color: #059669; font-size: 18px;
}

/* Calendar */
.kcal-clean__cal { flex:1; overflow-y:auto; scrollbar-width:none; }
.kcal-clean__cal::-webkit-scrollbar { display:none; }

/* Available day — shows slot count tag */
.kcal-clean__day-avail { cursor:pointer; }

/* Time picker */
.kcal-clean__time-picker {
  flex-shrink:0;
  background: #f8f8f8; border-radius:16px;
  padding: 14px 16px; display:flex; flex-direction:column; gap:10px;
}
.kcal-clean__time-label {
  display:flex; align-items:center; gap:6px;
  font-size:12px; font-weight:700; color:rgba(0,0,0,.45);
  letter-spacing:.06em; text-transform:uppercase;
}
.kcal-clean__time-label .hgi { color:#e49e00 !important; font-size:14px; }
.kcal-clean__time-chips { display:flex; flex-wrap:wrap; gap:8px; }
.kcal-clean__time-chip {
  display:flex; align-items:center; gap:6px;
  padding: 10px 16px; border-radius:12px;
  border: 1.5px solid rgba(0,0,0,.1); background:#fff;
  font-size:14px; font-weight:700; color:#333;
  cursor:pointer; font-family:inherit;
  transition: background .12s, border-color .12s, transform .1s;
  -webkit-tap-highlight-color:transparent;
}
.kcal-clean__time-chip:active { transform:scale(.97); }
.kcal-clean__time-chip.is-selected {
  background:#fff8e6; border-color:#e49e00; color:#b07a00;
}
.kcal-clean__time-chip .hgi { font-size:16px; }

/* Rooms */
.kcal-clean__rooms {
  flex-shrink:0; display:flex; flex-direction:column; gap:10px;
}
.kcal-clean__rooms-label {
  font-size:11px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:rgba(0,0,0,.38);
}
.kcal-clean__room-chips { display:flex; gap:8px; flex-wrap:wrap; }
.kcal-clean__chip {
  display:flex; align-items:center; gap:6px;
  padding:10px 18px; border-radius:12px;
  border:1.5px solid rgba(0,0,0,.1); background:#f8f8f8;
  font-size:14px; font-weight:700; color:rgba(0,0,0,.45);
  cursor:pointer; font-family:inherit;
  transition:all .12s; -webkit-tap-highlight-color:transparent;
}
.kcal-clean__chip.is-on {
  background:#fff8e6; border-color:#e49e00; color:#b07a00;
}
.kcal-clean__chip .hgi { font-size:16px; }

/* Entry toggle */
.kcal-clean__entry-toggle {
  display:flex; align-items:center; gap:10px;
  padding:12px 16px; border-radius:14px;
  background:#f8f8f8; border:1.5px solid transparent;
  font-family:inherit; font-size:13px; font-weight:600; color:rgba(0,0,0,.5);
  cursor:pointer; width:100%; text-align:left;
  transition: background .12s, border-color .12s;
  -webkit-tap-highlight-color:transparent;
}
.kcal-clean__entry-toggle.is-on {
  background:#f0fdf4; border-color:rgba(16,185,129,.35); color:#059669;
}
.kcal-clean__entry-toggle .hgi { font-size:18px; flex-shrink:0; }
.kcal-clean__entry-pill {
  margin-left:auto; font-size:11px; font-weight:800;
  letter-spacing:.08em; background:rgba(0,0,0,.08);
  padding:3px 8px; border-radius:6px;
}
.kcal-clean__entry-toggle.is-on .kcal-clean__entry-pill {
  background:rgba(16,185,129,.2); color:#059669;
}

/* CTA */
.kcal-clean__cta { flex-shrink:0; }

/* =====================================================================
   HELP v2 — Minimal FAQ + Callback
   ===================================================================== */
.khelp--v2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  overflow: hidden;
}
.khelp__faq-v2 {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 0;
  scrollbar-width: none;
}
.khelp__faq-v2::-webkit-scrollbar { display:none; }
.khelp__title {
  font-size: 26px; font-weight: 900; color: #111;
  letter-spacing: -.02em; margin: 0 0 20px;
}

/* FAQ v2 — cleaner, full-width cards */
.kfaq--v2 { display:flex; flex-direction:column; gap:8px; }
.kfaq--v2 .kfaq__item {
  border-radius:16px;
  border: 1.5px solid rgba(0,0,0,.08);
  background: #fff;
  overflow: hidden;
  transition: border-color .15s;
}
.kfaq--v2 .kfaq__item[open] {
  border-color: rgba(228,158,0,.4);
  background: #fffdf5;
}
.kfaq--v2 .kfaq__q {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  font-size: 15px; font-weight: 700; color: #111;
  cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.kfaq--v2 .kfaq__q::-webkit-details-marker { display:none; }
.kfaq--v2 .kfaq__q .hgi:first-child {
  font-size: 18px; color: #e49e00 !important; flex-shrink:0;
}
.kfaq--v2 .kfaq__chevron {
  margin-left:auto; font-size:14px;
  color:rgba(0,0,0,.3) !important; flex-shrink:0;
  transition: transform .2s;
}
.kfaq--v2 .kfaq__item[open] .kfaq__chevron { transform:rotate(180deg); }
.kfaq--v2 .kfaq__a {
  padding: 0 18px 16px 46px;
  font-size: 14px; line-height: 1.65; color: rgba(0,0,0,.55);
  margin: 0;
}

/* Callback CTA bottom strip */
.khelp__cta-wrap {
  flex-shrink: 0;
  padding: 16px 28px 20px;
  border-top: 1px solid rgba(0,0,0,.07);
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
}
.khelp__cta-hint {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: rgba(0,0,0,.4);
  flex: 1;
}
.khelp__cta-hint .hgi { font-size: 14px; }
.khelp__callback-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 14px;
  background: #e49e00; color: #1a1a1a;
  font-size: 16px; font-weight: 800; font-family: inherit;
  border: none; cursor: pointer; flex-shrink: 0;
  transition: background .12s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.khelp__callback-btn:active { background:#c98d00; transform:scale(.98); }
.khelp__callback-btn .hgi { color: #1a1a1a !important; font-size:18px; }

/* Callback modal — already styled via .kcb-modal */

/* =====================================================================
   DOOR / ENTRANCE PANEL v2
   ===================================================================== */
.kdoor {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  padding: 24px 28px 20px;
  gap: 20px;
}

.kdoor__header { flex-shrink: 0; }
.kdoor__title {
  font-size: 26px; font-weight: 900; color: #111;
  letter-spacing: -.02em; margin: 0 0 4px;
}
.kdoor__sub { font-size: 13px; color: rgba(0,0,0,.4); margin: 0; }

.kdoor__cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-content: flex-start;
}

/* Lock card */
.kdoor__card {
  border-radius: 22px;
  border: 2px solid rgba(0,0,0,.07);
  padding: 20px 22px;
  background: #fff;
  transition: border-color .15s;
}
.kdoor__card.is-busy { border-color: rgba(228,158,0,.4); }
.kdoor__card--apt    { border-color: rgba(228,158,0,.25); background: #fffdf8; }
.kdoor__card--building { border-color: rgba(0,0,0,.08); }

/* Card top row */
.kdoor__card-top {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.kdoor__card-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(228,158,0,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.kdoor__card--building .kdoor__card-icon {
  background: rgba(0,0,0,.05);
}
.kdoor__card-icon .hgi { color: #e49e00 !important; }
.kdoor__card--building .kdoor__card-icon .hgi { color: rgba(0,0,0,.5) !important; }

.kdoor__card-info { flex: 1; }
.kdoor__card-label {
  display: block;
  font-size: 17px; font-weight: 800; color: #111; line-height: 1.2;
}
.kdoor__card-sub {
  display: block;
  font-size: 12px; color: rgba(0,0,0,.4); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; margin-top: 2px;
}

/* Status indicator */
.kdoor__card-status {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.kdoor__status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0,0,0,.2);
  transition: background .2s;
}
.kdoor__status-dot--busy { background: #e49e00; box-shadow: 0 0 0 3px rgba(228,158,0,.2); animation: kdoorPulse .8s infinite; }
.kdoor__status-dot--ok   { background: #e49e00; }
.kdoor__status-dot--err  { background: #ef4444; }
@keyframes kdoorPulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(1.4); opacity:.7; }
}
.kdoor__status-txt {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(0,0,0,.38);
}

/* Buttons row */
.kdoor__card-btns {
  display: flex; gap: 10px;
}
.kdoor__btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px; font-weight: 800; font-family: inherit;
  border: none; cursor: pointer;
  transition: background .12s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.kdoor__btn:active { transform: scale(.97); }
.kdoor__btn:disabled { opacity: .4; cursor: default; transform: none; }
.kdoor__btn .hgi { font-size: 18px; }

.kdoor__btn--open {
  background: #e49e00; color: #1a1a1a;
}
.kdoor__btn--open .hgi { color: #1a1a1a !important; }
.kdoor__btn--open:active { background: #c98d00; }

.kdoor__btn--lock {
  background: rgba(0,0,0,.06); color: rgba(0,0,0,.6);
  flex: 0 0 auto; padding: 16px 22px;
}
.kdoor__btn--lock .hgi { color: rgba(0,0,0,.5) !important; }
.kdoor__btn--lock:active { background: rgba(0,0,0,.1); }

/* No lock message */
.kdoor__no-lock {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; height: 200px;
  color: rgba(0,0,0,.3); font-size: 15px; font-weight: 600;
}
.kdoor__no-lock .hgi { font-size: 44px; color: rgba(0,0,0,.2) !important; }

/* Toast */
.kdoor__toast {
  flex-shrink: 0;
  padding: 12px 18px; border-radius: 14px;
  font-size: 14px; font-weight: 700;
  background: rgba(0,0,0,.75); color: #fff;
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.kdoor__toast.is-visible { opacity: 1; }
.kdoor__toast.is-error   { background: rgba(220,38,38,.9); }

/* =====================================================================
   HEATING v4 — one card per room
   ===================================================================== */
.kheat--v2 {
  /* Reset absolute positioning inherited from .kheat (v3 legacy) */
  position: relative !important;
  top: auto !important; right: auto !important;
  bottom: auto !important; left: auto !important;
  inset: auto !important;
  /* Flex column layout */
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: #fff;
  padding: 16px 20px 14px;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: none;
  box-sizing: border-box;
}
.kheat--v2::-webkit-scrollbar { display: none; }

.kheat__v2-header { flex-shrink: 0; width: 100%;}
.kheat__v2-title {
  font-size: 22px; font-weight: 900; color: #111;
  letter-spacing: -.02em; margin: 0 0 2px;
}
.kheat__v2-sub { font-size: 12px; color: rgba(0,0,0,.4); margin: 0; }

/* Card grid — 2 columns fixed on landscape tablet */
.kheat__v2-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: start;
  width: 100%;
}

/* Room card */
.kheat__room-card {
  border-radius: 18px;
  border: 2px solid rgba(0,0,0,.07);
  background: #fff;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s, background .15s;
}
.kheat__room-card.is-off {
  background: #f9f9f9;
  border-color: rgba(0,0,0,.05);
}

.kheat__room-name {
  font-size: 13px; font-weight: 800; color: #111;
  letter-spacing: -.01em;
}

/* +/− display row */
.kheat__room-ctrl {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px;
}
.kheat__room-btn {
  width: 44px; height: 44px; border-radius: 12px;
  border: none; background: #f3f3f3; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  transition: background .12s, transform .08s;
  -webkit-tap-highlight-color: transparent;
}
.kheat__room-btn:active  { background: #e8e8e8; transform: scale(.93); }
.kheat__room-btn:disabled { opacity: .3; cursor: default; transform: none; }
.kheat__room-btn .hgi { color: #333 !important; font-size: 18px; }

.kheat__room-display {
  flex: 1; text-align: center;
}
.kheat__room-val {
  display: block;
  font-size: 34px; font-weight: 900; line-height: 1; color: #111;
  letter-spacing: -.04em;
  font-family: 'DM Serif Display', serif;
}
.kheat__room-card.is-off .kheat__room-val { color: rgba(0,0,0,.25); font-size: 28px; }
.kheat__room-unit {
  display: block;
  font-size: 12px; font-weight: 700; color: rgba(0,0,0,.35);
  margin-top: 2px;
}

/* Power toggle */
.kheat__room-power {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 8px;
  border-radius: 11px; border: 1.5px solid rgba(0,0,0,.1);
  background: #f3f3f3; color: rgba(0,0,0,.45);
  font-size: 13px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all .12s;
  -webkit-tap-highlight-color: transparent;
}
.kheat__room-power.is-on {
  background: rgba(228,158,0,.1); border-color: rgba(228,158,0,.35); color: #b07a00;
}
.kheat__room-power.is-on .hgi,
.kheat__room-power:not(.is-on) .hgi { color: currentColor !important; }

/* Card toast */
.kheat__room-toast {
  font-size: 12px; font-weight: 700; color: #059669;
  text-align: center; opacity: 0; transition: opacity .2s;
  min-height: 16px;
}
.kheat__room-toast.is-visible { opacity: 1; }
.kheat__room-toast.is-error   { color: #dc2626; }

/* Unavailable state */
.kheat__unavail {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; color: rgba(0,0,0,.35);
  font-size: 15px; font-weight: 600; text-align: center;
  padding: 40px;
}
.kheat__unavail .hgi { font-size: 52px; color: rgba(0,0,0,.2) !important; }

/* Panel body override for heating v4 */
.kiosk-screen--panel[data-screen="panel-heating"] .kiosk-panel__head { display: none; }
.kiosk-screen--panel[data-screen="panel-heating"] .kiosk-panel__body {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: 100% !important;
  flex: 1;
  overflow: hidden;
  position: relative !important;
}

/* Panel body override for door panel */
.kiosk-screen--panel[data-screen="panel-door"] .kiosk-panel__head { display: none; }
.kiosk-screen--panel[data-screen="panel-door"] .kiosk-panel__body {
  padding: 0;
  display: flex; flex-direction: column;
  align-items: stretch; justify-content: flex-start;
  width: 100%; flex: 1;
}

/* =====================================================================
   ANIMATIONS — Progress bar, Sidebar stagger, Help pulse,
   Weather fade, Panel slide, Notification slide
   ===================================================================== */

/* ① Progress bar — smooth width transition on load */
.ksb-stay-card__fill {
  transition: width 1.4s .4s cubic-bezier(.4, 0, .2, 1);
}

/* Sidebar is fully static — no animations */

/* ⑤ Weather day cells — fade in after data loads */
@keyframes ksbFcDayIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ksb-forecast__day { will-change: transform, opacity; }
.ksb-forecast__day.is-loaded {
  animation: ksbFcDayIn .3s both ease-out;
}

/* ⑥ Panel slide — translateX only (GPU), no blur */
@keyframes kPanelIn {
  from { transform: translateX(24px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes kPanelOut {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(24px); opacity: 0; }
}
.kiosk-screen--panel {
  will-change: transform, opacity;
  transform: translateZ(0);
}
.kiosk-screen--panel.is-visible {
  animation: kPanelIn .24s ease-out both;
}
.kiosk-screen--panel.is-leaving {
  display: flex !important;
  animation: kPanelOut .18s ease-in both;
  pointer-events: none;
}

/* ⑦ Notification bar — translateY only, no blur */
@keyframes knotifSlideDown {
  from { transform: translateY(-12px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.knotif-wrap {
  will-change: transform, opacity;
  animation: knotifSlideDown .32s .8s both ease-out;
}

/* ══════════════════════════════════════════════
   Kiosk Turnover Panel (Service Mode)
   ══════════════════════════════════════════════ */

.ktv-rooms{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;}

.ktv-room{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:10px;transition:background .15s;}
.ktv-room.is-done{background:rgba(16,185,129,.12);border-color:rgba(16,185,129,.3);}

.ktv-room__head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.ktv-room__name{font-size:15px;font-weight:800;display:flex;align-items:center;gap:8px;}
.ktv-room__name i{font-size:18px;color:rgba(255,255,255,.6);}
.ktv-room__badge{padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700;background:rgba(255,255,255,.1);color:rgba(255,255,255,.6);}
.ktv-room__badge--done{background:rgba(16,185,129,.2);color:#6ee7b7;}

.ktv-checks{display:flex;flex-direction:column;gap:6px;}
.ktv-check{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;cursor:pointer;background:rgba(255,255,255,.04);transition:background .12s;}
.ktv-check:active{background:rgba(255,255,255,.1);}
.ktv-check__box{width:22px;height:22px;border:2px solid rgba(255,255,255,.3);border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:border-color .15s,background .15s;}
.ktv-check.is-checked .ktv-check__box{border-color:#e49e00;background:#e49e00;}
.ktv-check.is-checked .ktv-check__box::after{content:'';width:6px;height:10px;border:2px solid #fff;border-top:none;border-left:none;transform:rotate(45deg) translateY(-1px);}
.ktv-check__label{font-size:13px;color:rgba(255,255,255,.85);}
.ktv-check.is-checked .ktv-check__label{text-decoration:line-through;color:rgba(255,255,255,.45);}

.ktv-room__done-btn{flex:1;padding:10px;border-radius:10px;border:none;background:rgba(16,185,129,.2);color:#6ee7b7;font-size:13px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .15s;}
.ktv-room__done-btn:active{background:rgba(16,185,129,.35);}
.ktv-room__qr-btn{padding:10px 14px;border-radius:10px;border:1px dashed rgba(255,255,255,.25);background:transparent;color:rgba(255,255,255,.65);font-size:12px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:background .15s;}
.ktv-room__qr-btn:active{background:rgba(255,255,255,.08);}

.ktv-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.ktv-action-btn{padding:12px 6px;border-radius:12px;border:1.5px solid rgba(255,255,255,.15);background:rgba(255,255,255,.06);color:rgba(255,255,255,.85);font-size:12px;font-weight:700;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;transition:background .15s;}
.ktv-action-btn:active{background:rgba(255,255,255,.14);}
.ktv-action-btn span{font-size:22px;}
.ktv-action-btn--damage{border-color:rgba(239,68,68,.4);}
.ktv-action-btn--inventory{border-color:rgba(251,191,36,.4);}
.ktv-action-btn--supplies{border-color:rgba(99,102,241,.4);}

.ktv-qr-modal{position:fixed;inset:0;background:rgba(0,0,0,.75);display:flex;align-items:center;justify-content:center;z-index:200;opacity:0;pointer-events:none;transition:opacity .2s;}
.ktv-qr-modal.is-visible{opacity:1;pointer-events:all;}
.ktv-qr-card{background:#1a1a2e;border:1px solid rgba(255,255,255,.15);border-radius:20px;padding:28px 24px;text-align:center;width:min(340px,90vw);display:flex;flex-direction:column;gap:16px;}
.ktv-qr-card__title{font-size:18px;font-weight:800;color:#fff;}
.ktv-qr-card__sub{font-size:13px;color:rgba(255,255,255,.55);}
.ktv-qr-card__img{width:200px;height:200px;margin:0 auto;background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;}
.ktv-qr-card__img img{width:100%;height:100%;border-radius:10px;}
.ktv-qr-card__url{font-size:10px;color:rgba(255,255,255,.3);word-break:break-all;}
.ktv-qr-close{padding:10px 24px;background:rgba(255,255,255,.1);border:none;border-radius:10px;color:#fff;font-size:14px;font-weight:700;cursor:pointer;}
.ktv-qr-loading{color:rgba(255,255,255,.5);font-size:14px;}


/* ══════════════════════════════════════════════════════════════════
   PANEL-CLEANING — dark background + layout
   ══════════════════════════════════════════════════════════════════ */
.kiosk-screen--panel[data-screen="panel-cleaning"] {
  background: #0f172a;
  color: #fff;
}
.kiosk-screen--panel[data-screen="panel-cleaning"] .kiosk-panel__head {
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.kiosk-screen--panel[data-screen="panel-cleaning"] .kiosk-panel__title {
  color: #fff;
}

/* Body: scrollable column */
.kiosk-cleaning-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Sub-panels (only .kc-sub--active is visible) ── */
.kc-sub {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 6px;
  animation: kcFadeIn .2s ease both;
}
.kc-sub--active { display: flex; }

@keyframes kcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

/* ── Typography ── */
.kc-big-icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 4px;
}
.kc-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 8px 0 2px;
  text-align: center;
}
.kc-hint {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  text-align: center;
  line-height: 1.5;
  max-width: 460px;
  margin-bottom: 4px;
}

/* ── Code display (kiosk_code shown to employee) ── */
.kc-display {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 12px;
  color: #e49e00;
  background: rgba(228,158,0,.1);
  border: 2px solid rgba(228,158,0,.3);
  border-radius: 16px;
  padding: 16px 32px;
  margin: 16px 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.kc-placeholder { color: rgba(255,255,255,.2); letter-spacing: 6px; }

/* ── Code digit inputs (close-code entry) ── */
.kc-code-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 8px 0;
}
.kc-code-digit {
  width: 52px;
  height: 64px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  outline: none;
  transition: border-color .15s;
  caret-color: #e49e00;
}
.kc-code-digit:focus { border-color: #e49e00; }
.kc-code-error { color: #f87171; font-size: 14px; margin-top: 8px; }

/* ── Action buttons ── */
.kc-btn {
  width: 100%;
  max-width: 340px;
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity .15s, transform .1s;
  margin-top: 8px;
}
.kc-btn:active { transform: scale(.97); }
.kc-btn--success {
  background: #e49e00;
  color: #fff;
}
.kc-btn--success:hover { background: #059669; }
.kc-btn--ghost {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.15);
}
.kc-btn--ghost:hover { background: rgba(255,255,255,.14); }

/* ── kcSubCleaning: non-centred layout — rooms fill available space ── */
#kcSubCleaning {
  align-items: stretch;
  justify-content: flex-start;
}

/* ── kcSubStart: centred card ── */
#kcSubStart {
  justify-content: center;
  min-height: 60%;
  padding: 32px 0;
}

/* ── Room list overrides for light readability on dark bg ── */
.ktv-room {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.ktv-room__name { color: #fff; font-size: 16px; }
.ktv-room__badge { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.ktv-room.is-done .ktv-room__name { color: #6ee7b7; }

/* ── Back button on dark panel ── */
.kiosk-screen--panel[data-screen="panel-cleaning"] .kiosk-tile {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}
.kiosk-screen--panel[data-screen="panel-cleaning"] .kiosk-tile__label,
.kiosk-screen--panel[data-screen="panel-cleaning"] .kiosk-tile__sub {
  color: rgba(255,255,255,.85);
}
.kiosk-screen--panel[data-screen="panel-cleaning"] .kiosk-tile__icon {
  color: #e49e00;
}

/* ══════════════════════════════════════════════════════════════════
   SERVICE MODE — no sidebar, dedicated top bar
   ══════════════════════════════════════════════════════════════════ */

/* ── FULL WIDTH: reset the sidebar-offset that shifts the screen right ── */
.kiosk-body.kiosk-mode--service .kiosk-screen--menu.is-visible {
  left: 0 !important;
}

/* Hide sidebar + guest-only elements */
.kiosk-body.kiosk-mode--service .kiosk-sidebar  { display: none !important; }
.kiosk-body.kiosk-mode--service .knotif-wrap     { display: none !important; }

/* Menu screen: full 100vw, used as positioning context */
.kiosk-body.kiosk-mode--service .kiosk-screen--menu {
  flex-direction: column !important;
  width: 100vw !important;
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;  /* center relative to FULL screen */
}

/* Topbar: overlaid at the very top, doesn't push content down */
.kiosk-body.kiosk-mode--service .ksvc-bar {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

/* Main area: centered in full screen, no flex growth needed */
.kiosk-body.kiosk-mode--service .kiosk-main-area {
  flex: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px 40px !important;
  border-left: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Footer: always at the very bottom edge of the screen */
.kiosk-body.kiosk-mode--service .kma-foot {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  text-align: center !important;
  padding-bottom: 12px !important;
}

/* Grid: auto columns, max width so it doesn't stretch full 1920px */
.kiosk-body.kiosk-mode--service .knav-grid {
  width: 100% !important;
  max-width: 1100px !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
  grid-template-rows: 180px auto 160px !important;
  grid-auto-rows: 160px !important;
}

/* ── Service top bar: transparent, no border, flush with bg ── */
.ksvc-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  background: transparent;   /* blends with page bg — no visible box */
  border-bottom: none;
  box-shadow: none;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}
.ksvc-bar__logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.ksvc-bar__identity {
  flex: 1;
}
.ksvc-bar__greeting {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 22px;
  color: #e49e00;
  line-height: 1;
  letter-spacing: .01em;
}
.ksvc-bar__name {
  font-family: 'DM Serif Display', serif;
  font-size: 44px;
  font-weight: 400;
  color: #111;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.ksvc-bar__clock-wrap {
  text-align: center;
  flex-shrink: 0;
}
.ksvc-bar__clock {
  font-size: 52px;
  font-weight: 900;
  color: #111;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ksvc-bar__date {
  font-size: 12px;
  color: rgba(0,0,0,.42);
  margin-top: 4px;
  font-weight: 500;
  text-align: center;
}

/* ── Card images for new service cards ── */
.knav-card--problem-found .knav-card__photo {
  background: url('/assets/img/cards/problem.jpg'),
              linear-gradient(145deg, #1e293b, #334155);
  background-size: cover;
  background-position: center;
}
.knav-card--lost-found .knav-card__photo {
  background: url('/assets/img/cards/lost-found.jpg'),
              linear-gradient(145deg, #1c1917, #44403c);
  background-size: cover;
  background-position: center;
}

/* ── Cleaning panel: full width in service mode (override left:230px sidebar offset) ── */
.kiosk-body.kiosk-mode--service .kiosk-screen--panel.is-visible {
  left: 0 !important;
  width: 100vw !important;
}

/* Cleaning panel: solid background so menu screen doesn't bleed through */
#panelCleaning {
  background: #f0efeb !important;
  color: #111 !important;
}
