/* ═══════════════════════════════════════════════
   STAYHOST · SHOWROOM CSS
   Two layers:
   1. .shell / .rail / .canvas — the agency showroom
   2. .app / .screen / .tile — the hotel guest app (data-driven)
   ═══════════════════════════════════════════════ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #root {
  height: 100%;
}
body {
  font-family: "DM Sans", "Inter", system-ui, sans-serif;
  background: #f7f2e8;
  color: #1d211b;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.mono { font-family: "JetBrains Mono", monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.display { font-family: "Playfair Display", serif; }

/* ──────────────────────────────────────
   SHELL — main showroom layout
   ────────────────────────────────────── */

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(47,93,70,0.10), transparent 34%),
    #f7f2e8;
  color: #1d211b;
  --show-accent: #2f5d46;
  --show-accent-soft: rgba(47,93,70,0.10);
  --show-warm: #c9863f;
}

.shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(47,93,70,0.12);
  background: rgba(255,253,248,0.82);
  backdrop-filter: blur(18px);
  flex-shrink: 0;
}
.brand { display: flex; gap: 14px; align-items: center; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1d211b;
  line-height: 1.05;
}
.brand-name-thin { font-weight: 400; font-style: italic; color: rgba(29,33,27,0.48); }
.brand-sub {
  font-size: 12px;
  color: rgba(29,33,27,0.58);
  margin-top: 4px;
  font-family: "DM Sans", sans-serif;
}
.brand-sub strong { color: var(--show-accent); font-weight: 700; }
.hdr-actions { display: flex; gap: 8px; }
.hdr-pill {
  font-size: 10px;
  font-weight: 500;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  background: #fffdf8;
  color: rgba(29,33,27,0.58);
  border: 1px solid rgba(47,93,70,0.12);
}
.hdr-pill.on {
  background: var(--show-accent);
  color: #fffdf8;
  border-color: transparent;
  font-weight: 600;
}

.stage {
  flex: 1;
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 0;
}

.shell-foot {
  padding: 12px 28px;
  border-top: 1px solid rgba(47,93,70,0.12);
  font-size: 12px;
  color: rgba(29,33,27,0.56);
  text-align: center;
}

/* ──────────────────────────────────────
   RAIL — the side controls
   ────────────────────────────────────── */

.rail {
  background: rgba(255,253,248,0.94);
  border-right: 1px solid rgba(47,93,70,0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rail-tabs {
  display: flex;
  border-bottom: 1px solid rgba(47,93,70,0.10);
  padding: 12px 12px 0;
  gap: 4px;
}
.rail-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(29,33,27,0.56);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: all 0.18s;
}
.rail-tab:hover { color: rgba(29,33,27,0.85); }
.rail-tab.on {
  color: #1d211b;
  background: #f0eadf;
}
.rail-tab.on::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 12px; right: 12px;
  height: 2px;
  background: var(--show-accent);
}
.rail-tab { font-family: "DM Sans", sans-serif; }

.rail-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0 24px;
}
.rail-body::-webkit-scrollbar { width: 6px; }
.rail-body::-webkit-scrollbar-thumb { background: rgba(47,93,70,0.16); border-radius: 3px; }

.rail-section {
  padding: 20px 20px 4px;
  border-bottom: 1px solid rgba(47,93,70,0.08);
}
.rail-section:last-child { border-bottom: none; }
.rs-head { margin-bottom: 12px; }
.rs-title {
  font-size: 11px;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(29,33,27,0.82);
}
.rs-sub {
  font-size: 12px;
  color: rgba(29,33,27,0.52);
  margin-top: 4px;
  line-height: 1.4;
}
.rs-body { padding-bottom: 16px; }

/* ── PALETTE GRID ── */
.pal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pal-card {
  position: relative;
  background: #fffdf8;
  border: 1px solid rgba(47,93,70,0.12);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s;
  text-align: left;
}
.pal-card:hover { border-color: rgba(47,93,70,0.28); transform: translateY(-1px); }
.pal-card.on { border-color: var(--show-accent); background: color-mix(in oklab, var(--show-accent) 7%, #fffdf8); }
.pal-swatches {
  display: flex;
  gap: 3px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
}
.pal-sw { flex: 1; }
.pal-sw-lg { flex: 2; }
.pal-sw-bg { flex: 1; border: 1px solid rgba(29,33,27,0.08); }
.pal-meta { line-height: 1.2; }
.pal-name {
  font-size: 13px;
  font-weight: 600;
  color: #1d211b;
}
.pal-label {
  font-size: 11px;
  color: rgba(29,33,27,0.52);
  margin-top: 1px;
}
.pal-check {
  position: absolute;
  top: 8px; right: 8px;
  width: 18px; height: 18px;
  background: var(--show-accent);
  color: #fffdf8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ── FONT GRID ── */
.font-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 6px;
}
.font-card {
  background: #fffdf8;
  border: 1px solid rgba(47,93,70,0.12);
  border-radius: 10px;
  padding: 14px 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  cursor: pointer;
  transition: all 0.18s;
}
.font-card:hover { border-color: rgba(47,93,70,0.28); }
.font-card.on { border-color: var(--show-accent); background: color-mix(in oklab, var(--show-accent) 7%, #fffdf8); }
.font-name {
  font-size: 28px;
  font-weight: 600;
  color: #1d211b;
  letter-spacing: -0.04em;
  line-height: 1;
}
.font-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(29,33,27,0.62);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── VARIANT CARDS ── */
.var-list { display: flex; flex-direction: column; gap: 6px; }
.var-card {
  position: relative;
  background: #fffdf8;
  border: 1px solid rgba(47,93,70,0.12);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: all 0.18s;
  text-align: left;
}
.var-card:hover { border-color: rgba(47,93,70,0.28); }
.var-card.on { border-color: var(--show-accent); background: color-mix(in oklab, var(--show-accent) 7%, #fffdf8); }
.var-icon {
  width: 48px; height: 48px;
  background: #f0eadf;
  border-radius: 6px;
  flex-shrink: 0;
  padding: 6px;
}
.vi-edit { display: flex; flex-direction: column; gap: 3px; height: 100%; }
.vi-edit-hero { flex: 2; background: rgba(47,93,70,0.18); border-radius: 2px; }
.vi-edit-row { flex: 1; background: rgba(47,93,70,0.10); border-radius: 2px; }
.vi-comp { display: flex; flex-direction: column; gap: 3px; height: 100%; }
.vi-comp-bar { height: 6px; background: rgba(47,93,70,0.18); border-radius: 2px; }
.vi-comp-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.vi-comp-grid > div { background: rgba(47,93,70,0.10); border-radius: 2px; }

.var-name {
  font-size: 14px;
  font-weight: 600;
  color: #1d211b;
}
.var-desc {
  font-size: 11px;
  color: rgba(29,33,27,0.52);
  margin-top: 2px;
}
.var-check {
  position: absolute;
  top: 12px; right: 12px;
  width: 18px; height: 18px;
  background: var(--show-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ── FIELDS ── */
.field {
  display: block;
  margin-bottom: 10px;
}
.field-sm { display: inline-block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(29,33,27,0.58);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.field-input {
  width: 100%;
  background: #fffdf8;
  border: 1px solid rgba(47,93,70,0.14);
  color: #1d211b;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s;
}
.field-input:focus { border-color: var(--show-accent); }

.ghost-btn {
  background: #fffdf8;
  border: 1px solid rgba(47,93,70,0.14);
  color: rgba(29,33,27,0.74);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  width: 100%;
  margin-top: 4px;
  transition: all 0.15s;
}
.ghost-btn:hover { background: rgba(47,93,70,0.08); color: #1d211b; }

/* ── SECTION TOGGLES ── */
.sec-toggles { display: flex; flex-direction: column; gap: 6px; }
.sec-toggle {
  background: #fffdf8;
  border: 1px solid rgba(47,93,70,0.12);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}
.sec-toggle:hover { border-color: rgba(47,93,70,0.26); }
.sec-toggle.on { background: rgba(47,93,70,0.08); border-color: var(--show-accent); }
.st-label {
  font-size: 13px;
  font-weight: 600;
  color: #1d211b;
}
.st-desc {
  font-size: 11px;
  color: rgba(29,33,27,0.52);
  margin-top: 2px;
}
.st-switch {
  width: 36px; height: 20px;
  background: rgba(29,33,27,0.14);
  border-radius: 100px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
}
.st-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.sec-toggle.on .st-switch { background: var(--show-accent); }
.sec-toggle.on .st-knob { transform: translateX(16px); }

/* ──────────────────────────────────────
   CANVAS — phone preview area
   ────────────────────────────────────── */

.canvas {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 12%, rgba(47,93,70,0.12), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #f0eadf 100%);
  overflow: hidden;
}
.canvas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(47,93,70,0.10);
}
.canvas-title { display: flex; align-items: center; gap: 12px; }
.canvas-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(47,93,70,0.10);
  transition: background 0.25s;
}
.canvas-title-name {
  font-size: 14px;
  font-weight: 700;
  color: #1d211b;
}
.canvas-title-meta {
  font-size: 11px;
  color: rgba(29,33,27,0.52);
  margin-top: 2px;
}
.canvas-action {
  background: #fffdf8;
  border: 1px solid rgba(47,93,70,0.14);
  color: rgba(29,33,27,0.74);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 7px;
  transition: all 0.15s;
}
.canvas-action:hover { background: rgba(47,93,70,0.08); color: #1d211b; }

.phone-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

/* ── PHONE FRAME ── */
.phone {
  width: 390px;
  height: 760px;
  background: #2b2d2a;
  border-radius: 48px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 1.5px rgba(29,33,27,0.10),
    0 28px 60px rgba(47,93,70,0.18),
    0 50px 100px rgba(29,33,27,0.14);
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 32px;
  background: #000;
  border-radius: 100px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}
.phone-camera {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #222;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.3);
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.phone-bar {
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 100px;
  z-index: 25;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   HOTEL APP — data-driven
   ═══════════════════════════════════════════════ */

.app {
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen.scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 88px;
  -webkit-overflow-scrolling: touch;
}
.screen.scroll::-webkit-scrollbar { width: 0; }

/* ── TOPBAR ── */
.topbar {
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
}
.topbar-left { min-width: 0; flex: 1; }
.topbar-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-room {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.topbar-room strong { color: var(--ink); font-weight: 700; }
.topbar-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--ink);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.0) 30%,
    rgba(0,0,0,0.55) 80%,
    rgba(0,0,0,0.85) 100%);
}
.hero-content {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.hero-copy {
  min-width: 0;
  max-width: 62%;
}
.hero-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.38);
}
.hero-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  font-weight: 500;
}
.hero-wifi {
  flex: 0 0 auto;
  max-width: 138px;
  text-align: right;
  text-shadow: 0 1px 12px rgba(0,0,0,0.42);
}
.hero-wifi-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
}
.hero-wifi-main {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.hero-wifi-pass {
  font-size: 10px;
  color: rgba(255,255,255,0.76);
  margin-top: 1px;
  overflow-wrap: anywhere;
}

/* editorial variant: bigger hero */
.app-editorial .hero { height: 260px; }
.app-editorial .hero-title { font-size: 34px; }

/* ── QUICK STRIP ── */
.qstrip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.qcell {
  padding: 14px 12px;
  border-right: 1px solid var(--line);
}
.qcell:last-child { border-right: none; }
.qlbl {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.qval {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* compact variant: pills row */
.pills {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  overflow-x: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.pill span { font-size: 13px; color: var(--accent); }

/* ── PROMO ── */
.promo {
  margin: 0 14px 14px;
  background: linear-gradient(135deg, var(--warm), color-mix(in oklab, var(--warm) 70%, black));
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  width: calc(100% - 28px);
  cursor: pointer;
}
.promo-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}
.promo-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.promo-sub {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}
.promo-btn {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ── SEC TITLE ── */
.sec-title {
  padding: 16px 16px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── TILES (cards) ── */
.tiles {
  padding: 0 14px 16px;
}
.tiles-comp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tiles-edit {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  transition: all 0.18s;
  position: relative;
  overflow: hidden;
}
.tile:active { transform: scale(0.985); }
.tile:hover {
  border-color: color-mix(in oklab, var(--accent) 40%, var(--line));
  box-shadow: 0 6px 20px color-mix(in oklab, var(--ink) 8%, transparent);
}

/* compact variant tiles */
.tiles-comp .tile {
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 14px 16px;
  min-height: 110px;
  justify-content: space-between;
}
.tiles-comp .tile-arrow { display: none; }
.tiles-comp .tile-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 4px;
}

/* editorial variant tiles — photo-led */
.tiles-edit .tile { padding: 0; flex-direction: column; align-items: stretch; }
.tile-media {
  height: 130px;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg));
  position: relative;
  overflow: hidden;
}
.tile-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.tiles-edit .tile-body {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.tile-body { flex: 1; }
.tile-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.tile-sub {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}
.tile-arrow {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
}

/* tiles WITHOUT photos in editorial: still card with icon area */
.tiles-edit .tile:not(.tile-photo) .tile-media {
  display: none;
}
.tiles-edit .tile:not(.tile-photo) {
  flex-direction: row;
  padding: 14px 16px;
  align-items: center;
}
.tiles-edit .tile:not(.tile-photo) .tile-body {
  padding: 0;
  flex-direction: column;
  align-items: flex-start;
}

/* ── BACK NAV ── */
.back-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.back-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}
.back-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ── SEC HERO ── */
.sec-hero {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 60%, black));
}
.sec-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.sec-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.7));
}
.sec-hero-content {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  color: #fff;
}
.sec-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 5px;
}
.sec-title-big {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ── LIST ── */
.list-section {
  background: var(--surface);
  margin: 12px 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.list-row {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child { border-bottom: none; }
.list-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.list-row-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.list-row-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.list-row-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── MENU GRID ── */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 12px;
}
.menu-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.menu-img {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-glyph {
  font-size: 28px;
  color: var(--accent);
  opacity: 0.6;
}
.menu-info { padding: 10px 12px 12px; }
.menu-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  background: color-mix(in oklab, var(--warm) 12%, transparent);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.menu-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.menu-price {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin-top: 2px;
}
.menu-desc {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* ── CTA ROW ── */
.cta-row { padding: 8px 14px 16px; }
.cta-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.cta-btn:hover { background: color-mix(in oklab, var(--accent) 80%, black); }

/* ── FOOTER BRAND ── */
.footer-brand {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 20px 0 8px;
  opacity: 0.7;
}
.footer-brand strong { color: var(--ink); font-weight: 700; }

/* ── BOTTOM NAV ── */
.bnav {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  z-index: 80;
  padding-bottom: 8px;
}
.bnav-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 4px;
  color: var(--muted);
}
.bnav-item.on { color: var(--accent); }
.bnav-icon { font-size: 18px; }
.bnav-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ──────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────── */
@media (max-width: 1100px) {
  .stage { grid-template-columns: 320px 1fr; }
  .phone { transform: scale(0.85); transform-origin: center top; }
}
@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .rail { max-height: 360px; border-right: none; border-bottom: 1px solid rgba(47,93,70,0.12); }
  .phone-wrap { padding: 16px; }
  .phone { transform: scale(0.75); transform-origin: center top; }
}

/* ═══════════════════════════════════════════════
   UNIFIED GUEST APP — added 2026-05 (admin-driven)
   ═══════════════════════════════════════════════ */
.app-compact .hero { height: 220px; }

/* photo-led section tiles */
.gtiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:2px 14px 10px;}
.gtile{position:relative;height:124px;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:linear-gradient(140deg,var(--accent),color-mix(in oklab,var(--accent) 52%,black));display:block;text-align:left;padding:0;}
.gtile:active{transform:scale(.985);}
.gtile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.gtile-ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.12) 60%,rgba(0,0,0,.04));}
.gtile-tx{position:absolute;left:12px;right:12px;bottom:11px;color:#fff;}
.gtile-t{font-family:var(--font-display);font-size:15px;font-weight:700;letter-spacing:-.01em;line-height:1.1;}
.gtile-s{font-size:10.5px;color:rgba(255,255,255,.82);margin-top:3px;line-height:1.35;}

/* group subtitle inside a detail screen */
.grp-title{padding:18px 16px 6px;font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);}
.minibar-grp{font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--muted);}

/* universal service cards */
.svc-list{padding:4px 14px 6px;display:flex;flex-direction:column;gap:10px;}
.svc{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;width:100%;text-align:left;padding:0;display:block;}
.svc.tap{transition:box-shadow .15s,border-color .15s;}
.svc.tap:hover{border-color:color-mix(in oklab,var(--accent) 36%,var(--line));box-shadow:0 6px 18px color-mix(in oklab,var(--ink) 9%,transparent);}
.svc.tap:active{transform:scale(.992);}
.svc-photo{height:118px;position:relative;background:linear-gradient(135deg,var(--accent-soft),var(--bg));}
.svc-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.svc-glyph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:30px;color:var(--accent);opacity:.45;}
.svc-body{padding:12px 14px 13px;}
.svc-badge{display:inline-block;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--warm);background:color-mix(in oklab,var(--warm) 13%,transparent);padding:3px 7px;border-radius:5px;margin-bottom:6px;}
.svc-top{display:flex;justify-content:space-between;gap:10px;align-items:baseline;}
.svc-name{font-family:var(--font-display);font-size:15px;font-weight:700;letter-spacing:-.01em;color:var(--ink);}
.svc-price{font-size:13px;font-weight:700;color:var(--accent);white-space:nowrap;flex-shrink:0;}
.svc-desc{font-size:12px;color:var(--muted);line-height:1.5;margin-top:3px;}
.svc-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px;}
.svc-chip{font-size:10px;font-weight:600;color:var(--muted);background:var(--bg);border:1px solid var(--line);border-radius:100px;padding:3px 9px;}
.svc-cta{margin-top:10px;font-size:11px;font-weight:700;color:var(--accent);}

.empty-note{margin:14px;padding:26px 16px;text-align:center;font-size:12px;color:var(--muted);background:var(--surface);border:1px dashed var(--line);border-radius:14px;}

/* floating Send-a-request button */
.fab{position:absolute;left:14px;right:14px;bottom:14px;z-index:70;background:var(--accent);color:#fff;border:none;border-radius:14px;padding:15px 18px;font-size:14px;font-weight:700;font-family:var(--font);display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 10px 26px color-mix(in oklab,var(--accent) 42%,transparent);}
.fab:hover{background:color-mix(in oklab,var(--accent) 85%,black);}
.fab:active{transform:translateY(1px);}
.fab-ico{font-size:15px;}

/* request sheet (modal) */
.scrim{position:absolute;inset:0;z-index:90;background:rgba(15,16,14,.52);display:flex;align-items:flex-end;}
.sheet{background:var(--surface);width:100%;border-radius:20px 20px 0 0;max-height:92%;overflow-y:auto;animation:sheetUp .22s ease;}
@keyframes sheetUp{from{transform:translateY(100%);}to{transform:translateY(0);}}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 4px;position:sticky;top:0;background:var(--surface);z-index:2;}
.sheet-title{font-family:var(--font-display);font-size:18px;font-weight:700;color:var(--ink);}
.sheet-x{width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:var(--bg);color:var(--ink);font-size:14px;}
.sheet-body{padding:8px 16px 22px;}
.fld{margin-bottom:13px;}
.fld-l{display:block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:5px;}
.fld-i,.fld-t,.fld-s{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;font-size:14px;font-family:var(--font);color:var(--ink);background:var(--bg);outline:none;}
.fld-i:focus,.fld-t:focus,.fld-s:focus{border-color:var(--accent);}
.fld-t{resize:vertical;min-height:82px;}
.send-btn{width:100%;background:var(--accent);color:#fff;border:none;border-radius:12px;padding:14px;font-size:14px;font-weight:700;font-family:var(--font);}
.send-btn:hover{background:color-mix(in oklab,var(--accent) 85%,black);}
.send-note{font-size:11px;color:var(--muted);text-align:center;margin-top:11px;line-height:1.55;}
.ok-wrap{padding:34px 22px 30px;text-align:center;}
.ok-ico{width:56px;height:56px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:26px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;}
.ok-title{font-family:var(--font-display);font-size:19px;font-weight:700;color:var(--ink);margin-bottom:7px;}
.ok-sub{font-size:13px;color:var(--muted);line-height:1.55;}
