/* Saga & Sax (fictional hair studio, Stockholm): showcase design system v2, Showcase Studio 09.11.2026.
   Spacing on an 8 px scale (4 px for fine detail). Type: Fraunces (display), Inter (text), self-hosted (fonts.css).
   Brand: pine + oat cream + clay rose. No orange. Contrast pairs checked to WCAG 2.2 AA (tools/contrast_check.py). */
@import url("/preview/booking/fonts.css");

:root {
  --bg: #F6F2EA;          /* oat */
  --surface: #FFFDF8;     /* paper */
  --surface-2: #EFE9DE;   /* sunk */
  --line: #DDD4C5;
  --line-strong: #8C8170;
  --ink: #17201D;
  --ink-2: #4D5752;       /* 7.2:1 on --bg */
  --pine: #1F4A40;        /* primary, 9.9:1 with --on-pine */
  --pine-2: #2B6152;
  --on-pine: #FFFDF8;
  --pine-tint: #DCE8E2;
  --rose: #8E4A55;        /* clay rose, text-safe 6.1:1 on --surface */
  --rose-tint: #F1DEDC;
  --slate: #3E5368;
  --slate-tint: #DDE4EC;
  --ok: #1E6B45;  --ok-tint: #DCEFE3;
  --warn: #7A5A00; --warn-tint: #F4EACB;
  --err: #A1262E;  --err-tint: #F7DEDE;
  --focus: #1F4A40;
  --shadow: 0 1px 2px rgba(23, 32, 29, .06), 0 8px 24px rgba(23, 32, 29, .07);
  --shadow-lg: 0 2px 4px rgba(23, 32, 29, .06), 0 24px 56px rgba(23, 32, 29, .14);
  --r-s: 8px; --r: 16px; --r-l: 24px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1513; --surface: #161E1B; --surface-2: #1D2724; --line: #2C3833; --line-strong: #6E7E77;
    --ink: #ECE8DF; --ink-2: #A9B3AD; --pine: #8CCBB4; --pine-2: #A8DCC8; --on-pine: #0F1513; --pine-tint: #1F332C;
    --rose: #E3A9B1; --rose-tint: #3A2629; --slate: #A9C0D6; --slate-tint: #23303C;
    --ok: #7FD3A4; --ok-tint: #17342A; --warn: #E7C66B; --warn-tint: #3A3218; --err: #F1A0A4; --err-tint: #3E2023; --focus: #A8DCC8;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35); --shadow-lg: 0 24px 56px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1513; --surface: #161E1B; --surface-2: #1D2724; --line: #2C3833; --line-strong: #6E7E77;
  --ink: #ECE8DF; --ink-2: #A9B3AD; --pine: #8CCBB4; --pine-2: #A8DCC8; --on-pine: #0F1513; --pine-tint: #1F332C;
  --rose: #E3A9B1; --rose-tint: #3A2629; --slate: #A9C0D6; --slate-tint: #23303C;
  --ok: #7FD3A4; --ok-tint: #17342A; --warn: #E7C66B; --warn-tint: #3A3218; --err: #F1A0A4; --err-tint: #3E2023; --focus: #A8DCC8;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35); --shadow-lg: 0 24px 56px rgba(0,0,0,.5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
a { color: var(--pine); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--pine); color: var(--on-pine); padding: 12px 16px; border-radius: var(--r-s); z-index: 50; }
.skip:focus { left: 16px; }
small { font-size: 14px; }

/* ---------- demo bar + header ---------- */
.demo-bar { margin: 0; padding: 8px 16px; background: var(--ink); color: var(--bg); font-size: 14px; line-height: 1.5; text-align: center; }
.demo-bar b { font-weight: 600; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--max); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; min-width: 44px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { white-space: nowrap; font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; }
.brand-sub { display: block; font: 500 14px/1.3 var(--text); color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.top-nav { display: flex; gap: 8px; margin-left: auto; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 999px; }
.top-nav a:hover { background: var(--surface-2); }
.tools { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; }
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--pine); color: var(--on-pine); border-color: var(--pine); }
.chip svg { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; text-align: center; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.btn.primary:hover { background: var(--pine-2); border-color: var(--pine-2); }
.btn.primary:disabled { background: var(--line); border-color: var(--line); color: var(--ink-2); cursor: not-allowed; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.wide { width: 100%; }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.linkbtn { background: none; border: 0; padding: 0 4px; min-height: 44px; color: var(--pine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow { font: 600 14px/1.4 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 34em; }
.hint { color: var(--ink-2); font-size: 16px; max-width: 70ch; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { margin: 16px 0 24px; max-width: 12em; }
.hero h1 em { font-style: italic; color: var(--pine); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .facts { min-height: 56px; } } /* two lines kept for the opening status, which arrives after the page */
.facts svg { width: 18px; height: 18px; color: var(--pine); flex: none; }
.open-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.open-dot.closed { background: var(--line-strong); }

.next-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.next-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--pine), var(--rose)); }
.next-card h2 { font-size: 24px; margin-bottom: 8px; }
.next-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; align-content: start; min-height: 256px; } /* room for the three times it will hold, so the page does not jump when they arrive */
.next-item { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 16px; min-height: 64px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r); cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.next-item:hover { border-color: var(--pine); background: var(--pine-tint); }
.next-when { font-weight: 600; }
.next-who { color: var(--ink-2); font-size: 14px; }
#next-p { min-height: 3.2em; }
.next-go { margin-left: auto; color: var(--pine); font-weight: 600; font-size: 14px; white-space: nowrap; }
.next-empty { color: var(--ink-2); padding: 16px 0 0; }
.next-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; color: var(--ink-2); font-size: 14px; }

/* ---------- avatars (monogram, no faces) ---------- */
.av { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; font: 600 15px/1 var(--text); flex: none; letter-spacing: .02em; }
.av.lg { width: 56px; height: 56px; font-size: 18px; }
.av.pine { background: var(--pine-tint); color: var(--pine); }
.av.slate { background: var(--slate-tint); color: var(--slate); }
.av.rose { background: var(--rose-tint); color: var(--rose); }
.av.any { background: var(--surface-2); color: var(--ink-2); }

/* ---------- booking ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; margin-top: 40px; }
.book-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.progress { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; counter-reset: s; }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.progress li[data-s]::before { counter-increment: s; content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; background: var(--surface); }
.progress li.sep { width: 24px; height: 1px; background: var(--line-strong); align-self: center; }
.skel { height: 64px; border-radius: var(--r); background: linear-gradient(90deg, var(--surface-2), var(--bg), var(--surface-2)); }
.progress li[aria-current="step"] { color: var(--ink); }
.progress li[aria-current="step"]::before { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.progress li.done::before { content: "✓"; background: var(--pine-tint); border-color: var(--pine-tint); color: var(--pine); }

.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; box-shadow: var(--shadow); }
.step-h { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.step-h h3 { font-size: 26px; }
.step-p { color: var(--ink-2); margin-bottom: 24px; max-width: 40em; }
.back { margin-left: -12px; }
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cats .chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.svc { width: 100%; display: grid; grid-template-columns: 1fr auto 48px; align-items: center; gap: 16px; padding: 16px 16px 16px 24px; min-height: 80px; text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r); cursor: pointer; transition: border-color .15s, background .15s; }
.svc:hover { border-color: var(--line-strong); }
.svc[aria-checked="true"] { border-color: var(--pine); background: var(--pine-tint); box-shadow: inset 0 0 0 1px var(--pine); }
.svc-name { font-weight: 600; font-size: 17px; display: block; }
.svc-desc { color: var(--ink-2); font-size: 14px; display: block; margin-top: 4px; }
.svc-meta { text-align: right; white-space: nowrap; }
.svc-price { font-weight: 600; display: block; }
.svc-min { color: var(--ink-2); font-size: 14px; }
.tick { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; justify-self: end; color: transparent; }
[aria-checked="true"] > .tick { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.tick svg { width: 16px; height: 16px; }

.pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pro { display: flex; align-items: center; gap: 16px; padding: 16px; min-height: 88px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r); cursor: pointer; text-align: left; }
.pro:hover { border-color: var(--line-strong); }
.pro[aria-checked="true"] { border-color: var(--pine); background: var(--pine-tint); box-shadow: inset 0 0 0 1px var(--pine); }
.pro-name { font-weight: 600; display: block; }
.pro-role { color: var(--ink-2); font-size: 14px; display: block; }
.pro[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.days-wrap { position: relative; margin: 0 -8px 24px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 8px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: 0 0 72px; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 12px 4px; min-height: 92px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r); cursor: pointer; }
.day:hover:not(:disabled) { border-color: var(--line-strong); }
.day[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.day-wd { font-size: 14px; font-weight: 500; text-transform: capitalize; }
.day-n { font: 500 24px/1.1 var(--display); }
.day-free { font-size: 14px; color: var(--ink-2); }
.day[aria-pressed="true"] .day-free { color: var(--on-pine); }
.day:disabled { cursor: not-allowed; background: transparent; border-style: dashed; color: var(--ink-2); }
.slot-group + .slot-group { margin-top: 24px; }
.slot-group h4 { margin: 0 0 12px; font: 600 14px/1.4 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { min-height: 48px; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--pine); }
.slot[aria-checked="true"] { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.empty { display: grid; justify-items: start; gap: 12px; padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--ink-2); }
.empty b { color: var(--ink); font-weight: 600; }

.fields { display: grid; gap: 20px; max-width: 520px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field .why { display: block; color: var(--ink-2); font-size: 14px; margin: -4px 0 8px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="time"], input[type="number"], input[type="password"], input:not([type]), select, textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
/* search fields get the same box as every other field, and every single-line field is 48 px high so neighbours share a centre line */
input[type="search"] { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); padding: 8px 16px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select { height: 48px; padding-top: 8px; padding-bottom: 8px; }
input[type="checkbox"], input[type="radio"] { margin: 0; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field.bad input { border-color: var(--err); }
.field-err { display: block; color: var(--err); font-weight: 600; font-size: 14px; margin-top: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--pine); flex: none; }
.check small { display: block; color: var(--ink-2); font-size: 14px; margin-top: 4px; }

.summary { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; box-shadow: var(--shadow); }
.summary h3 { font-size: 20px; margin-bottom: 16px; }
.sum-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sum-row { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.sum-row svg { width: 20px; height: 20px; color: var(--ink-2); margin-top: 2px; }
.sum-k { font-size: 14px; color: var(--ink-2); display: block; }
.sum-v { font-weight: 600; display: block; }
.sum-v.none { color: var(--ink-2); font-weight: 400; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.sum-total b { font: 500 24px/1 var(--display); }
.policy { margin-top: 16px; font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; }
.policy svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--pine); }
.msg { min-height: 0; margin-top: 12px; font-weight: 600; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }
.msg:empty { margin: 0; }

/* phone bottom bar */
.bar { display: none; }

/* ---------- confirmation ---------- */
.done { max-width: 720px; margin: 0 auto; text-align: center; }
.done-badge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; background: var(--pine); color: var(--on-pine); }
.done-badge svg { width: 36px; height: 36px; }
.done h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin-bottom: 12px; }
.ticket { margin: 40px 0 0; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-lg); overflow: hidden; }
.ticket-top { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 32px; align-items: center; }
.cal-tile { width: 88px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); text-align: center; background: var(--bg); }
.cal-tile .m { background: var(--rose); color: var(--surface); font: 600 14px/1 var(--text); padding: 8px 0; text-transform: uppercase; letter-spacing: .08em; }
.cal-tile .d { font: 500 36px/1 var(--display); padding: 12px 0 4px; }
.cal-tile .w { font-size: 14px; color: var(--ink-2); padding-bottom: 12px; text-transform: capitalize; }
.ticket-what { font: 500 24px/1.25 var(--display); }
.ticket-sub { color: var(--ink-2); margin-top: 8px; }
.ticket-mid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px dashed var(--line-strong); }
.ticket-mid > div { padding: 20px 32px; }
.ticket-mid > div + div { border-left: 1px solid var(--line); }
.ticket-k { font-size: 14px; color: var(--ink-2); display: block; }
.ticket-v { font-weight: 600; display: block; margin-top: 4px; }
.code { font: 600 18px/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .12em; }
.ticket-actions { display: flex; gap: 12px; flex-wrap: wrap; padding: 24px 32px; background: var(--surface-2); border-top: 1px solid var(--line); }
.track { list-style: none; margin: 40px 0 0; padding: 0; text-align: left; display: grid; gap: 0; }
.track li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; position: relative; padding-bottom: 24px; }
.track li:last-child { padding-bottom: 0; }
.track li::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.track li:last-child::after { display: none; }
.track .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.track .dot svg { width: 18px; height: 18px; }
.track li.now .dot { background: var(--pine); color: var(--on-pine); border-color: var(--pine); }
.track b { display: block; }
.track span { color: var(--ink-2); font-size: 14px; }

/* ---------- info band ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; }
.card h3 { margin-bottom: 16px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td + td { text-align: right; }
.hours tr.is-today td { font-weight: 700; color: var(--pine); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.ticks svg { width: 20px; height: 20px; color: var(--pine); margin-top: 2px; }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.team li { display: flex; gap: 16px; align-items: center; }

/* manage */
.manage > * { max-width: 560px; }
.manage form { display: flex; gap: 12px; align-items: end; margin-top: 24px; }
.manage .field { flex: 1; }
.found { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 64px; color: var(--ink-2); font-size: 16px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.foot a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }
.made { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-width: 0; max-width: 100%; }
.sig { font-style: italic; }

/* voice */
.voice-live { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; max-width: calc(100vw - 32px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .book-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-grid .card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .top-nav { display: none; }
  .tools { margin-left: auto; }
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { display: none; }
  .bar { display: flex; flex-wrap: wrap; position: fixed; inset: auto 0 0 0; z-index: 30; gap: 8px 16px; align-items: center; line-height: 1.25; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(23,32,29,.08); }
  .bar-sum { min-width: 0; flex: 1 1 12em; }
  .bar-sum b { display: block; font-size: 16px; }
  .bar-sum span { display: block; color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
  .bar .btn { flex: 0 1 auto; max-width: 100%; margin-inline-start: auto; padding-block: 4px; line-height: 1.2; overflow-wrap: anywhere; }
  :root { scroll-padding-bottom: var(--booking-bar-height, 0px); }
  body.has-bar { padding-bottom: max(88px, var(--booking-bar-height, 0px)); }
}
@media (max-width: 640px) {
  .wrap, .top-in { padding-left: 16px; padding-right: 16px; }
  .top-in { gap: 12px; }
  .brand-sub { display: none; }
  .hero { padding: 40px 0 8px; }
  .section { padding: 56px 0; }
  .step { padding: 24px 16px; border-radius: var(--r); }
  .step-h h3 { font-size: 22px; }
  .next-card { padding: 24px 16px; }
  .svc { grid-template-columns: 1fr auto; padding: 16px; }
  .svc .tick { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .card { padding: 24px 16px; }
  .progress .lbl { display: none; }
  .ticket-top { padding: 24px 16px; gap: 16px; }
  .ticket-mid { grid-template-columns: 1fr; }
  .ticket-mid > div { padding: 16px; }
  .ticket-mid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ticket-actions { padding: 16px; }
  .ticket-actions .btn { flex: 1 1 100%; }
  .manage form { flex-direction: column; align-items: stretch; }
  .hide-sm { display: none; }
  .chip { padding: 0 12px; }
}

/* ======================================================================
   OWNER APP (calendar.html, login.html)
   ====================================================================== */
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 37px); }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; gap: 32px; }
.side nav { display: grid; gap: 4px; }
.side-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; border: 0; background: none; cursor: pointer; width: 100%; text-align: left; }
.side-link svg { width: 20px; height: 20px; color: var(--ink-2); }
.side-link:hover { background: var(--surface-2); }
.side-link[aria-current="page"] { background: var(--pine-tint); color: var(--pine); font-weight: 600; }
.side-link[aria-current="page"] svg { color: var(--pine); }
.side-foot { margin-top: auto; display: grid; gap: 8px; }
.main { padding: 32px 40px 64px; min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.toolbar h1 { font-size: 32px; margin-right: auto; }
.seg { display: inline-flex; gap: 8px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px; background: var(--surface); }
.seg button { min-height: 44px; min-width: 64px; padding: 0 16px; border: 0; background: none; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.datenav { display: inline-flex; align-items: center; gap: 8px; }
.date-label { font-weight: 600; min-width: 13em; text-align: center; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; }
.kpi-k { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.kpi-v { font: 500 32px/1.15 var(--display); margin-top: 8px; font-variant-numeric: tabular-nums; }
.kpi-n { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

.sched { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.sched-head { display: grid; grid-template-columns: 64px repeat(var(--cols), minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 3; }
.sched-head > div { padding: 16px; display: flex; gap: 12px; align-items: center; min-width: 0; }
.sched-head > div + div { border-left: 1px solid var(--line); }
.sched-head .who { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched-head .load { font-size: 14px; color: var(--ink-2); display: block; }
.sched-body { padding: 16px 0; display: grid; grid-template-columns: 64px repeat(var(--cols), minmax(0, 1fr)); position: relative; }
.axis { position: relative; }
.axis span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.col { position: relative; border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px var(--hour)); }
.col.closed { background-color: var(--surface-2); }
.appt { position: absolute; left: 6px; right: 6px; border-radius: 10px; padding: 8px 12px; overflow: hidden; border: 0; border-left: 4px solid; text-align: left; cursor: pointer; font-size: 14px; line-height: 1.35; color: var(--ink); }
.appt:hover { filter: brightness(.97); box-shadow: var(--shadow); }
.appt b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt .t { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.appt.cat-cut { background: var(--pine-tint); border-color: var(--pine); }
.appt.cat-colour { background: var(--rose-tint); border-color: var(--rose); }
.appt.cat-care { background: var(--slate-tint); border-color: var(--slate); }
.appt.st-came { opacity: .72; }
.appt.st-no_show { background: var(--err-tint); border-color: var(--err); }
.appt.blk { background: repeating-linear-gradient(135deg, var(--surface-2) 0 8px, var(--surface) 8px 16px); border-color: var(--line-strong); color: var(--ink-2); }
.appt .badge { position: absolute; top: 8px; right: 8px; }
.nowline { position: absolute; margin-top: 16px; left: 64px; right: 0; height: 2px; background: var(--err); z-index: 2; pointer-events: none; }
.nowline::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--err); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); }
.badge.st-booked { background: var(--pine-tint); color: var(--pine); }
.badge.st-came { background: var(--ok-tint); color: var(--ok); }
.badge.st-no_show { background: var(--err-tint); color: var(--err); }
.badge.st-cancelled { background: var(--surface-2); color: var(--ink-2); }
.badge.web { background: var(--slate-tint); color: var(--slate); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.legend li { display: inline-flex; gap: 8px; align-items: center; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.wday { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 12px; min-height: 240px; min-width: 0; }
.wday.today { border-color: var(--pine); box-shadow: inset 0 0 0 1px var(--pine); }
.wday h3, .wday .wday-h { font: 600 14px/1.3 var(--text); margin: 0 0 4px; text-transform: capitalize; }
.wday .sub { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; display: block; }
.wday .w-item { display: block; width: 100%; text-align: left; border: 0; border-left: 3px solid; border-radius: 8px; padding: 8px; margin-top: 8px; font-size: 14px; line-height: 1.35; cursor: pointer; color: var(--ink); min-height: 44px; }
.wday .w-item b { display: block; font-size: 14px; }

.agenda { display: none; }
.ag-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 16px; border: 1px solid var(--line); border-left: 4px solid; border-radius: var(--r); background: var(--surface); text-align: left; cursor: pointer; color: var(--ink); }
.ag-item + .ag-item { margin-top: 8px; }
.ag-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.ag-time small { display: block; font-weight: 400; color: var(--ink-2); }
.ag-item.cat-cut { border-left-color: var(--pine); }
.ag-item.cat-colour { border-left-color: var(--rose); }
.ag-item.cat-care { border-left-color: var(--slate); }
.ag-item.blk { border-left-color: var(--line-strong); background: var(--surface-2); }
.ag-gap { padding: 8px 16px; font-size: 14px; color: var(--ink-2); }

/* drawer + dialogs */
dialog { border: 0; padding: 0; background: var(--surface); color: var(--ink); border-radius: var(--r-l); box-shadow: var(--shadow-lg); width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); }
dialog::backdrop { background: rgba(15, 21, 19, .45); }
.dlg { padding: 32px; }
.dlg-h { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dlg-h h2 { font-size: 26px; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; flex: none; }
.x svg { width: 18px; height: 18px; }
.dl { display: grid; grid-template-columns: 112px 1fr; gap: 12px 16px; margin: 0 0 24px; }
.dl dt { color: var(--ink-2); font-size: 14px; }
.dl dd { margin: 0; font-weight: 500; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dlg form { display: grid; gap: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.rep { width: 100%; border-collapse: collapse; font-size: 14px; }
.rep th, .rep td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rep th { font-size: 14px; color: var(--ink-2); font-weight: 600; background: var(--surface-2); }
.rep td.txt { max-width: 44ch; color: var(--ink-2); }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 24px 0 16px; }

.login-wrap { min-height: calc(100vh - 37px); display: grid; place-items: center; padding: 32px 16px; }
.login-card { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 40px 32px; box-shadow: var(--shadow-lg); }
.login-card h1 { font-size: 32px; margin: 24px 0 8px; }
.login-card form { display: grid; gap: 16px; margin-top: 24px; }

.mob-top, .tabbar { display: none; }
.legend i.lg-cut { background: var(--pine); } .legend i.lg-colour { background: var(--rose); } .legend i.lg-care { background: var(--slate); } .legend i.lg-block { background: var(--line-strong); }
.w-item.appt { position: static; }
.wday-h .linkbtn { padding: 0; min-height: 44px; }
.ag-item .badge { grid-column: 2; }
.ag-name { min-width: 0; }
.sched-head .who-wrap { min-width: 0; }
@media (max-width: 1180px) { .kpis { grid-template-columns: repeat(2, 1fr); } .main { padding: 24px; } }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .mob-top { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 20; }
  .mob-top .tools { margin-left: auto; }
  .main { padding: 16px 16px 112px; }
  .toolbar h1 { font-size: 26px; }
  .date-label { min-width: 0; flex: 1; }
  .datenav { width: 100%; }
  .kpis { gap: 8px; margin: 16px 0; }
  .kpi { padding: 16px; }
  .kpi-v { font-size: 26px; }
  .sched, .week, .legend, #view-seg { display: none !important; }
  .agenda { display: block; }
  .tabbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding: 4px 8px calc(4px + env(safe-area-inset-bottom)); }
  .tabbar button, .tabbar a { display: grid; justify-items: center; gap: 2px; min-height: 56px; align-content: center; border: 0; background: none; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar [aria-current="page"] { color: var(--pine); }
  .tabbar .tb-new span.plus { width: 40px; height: 40px; border-radius: 50%; background: var(--pine); color: var(--on-pine); display: grid; place-items: center; }
  .dl { grid-template-columns: 96px 1fr; }
  .dlg { padding: 24px 16px; }
  .two { grid-template-columns: 1fr; }
  .rep td.txt { min-width: 24ch; }
}

/* ======================================================================
   v2 additions (12.11.2026): utilities (no inline styles anywhere: strict CSP), language select,
   move review, privacy page, back office under /admin/
   ====================================================================== */
.mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt48 { margin-top: 48px; }
.center { margin-left: auto; margin-right: auto; text-align: center; justify-content: center; }
.lead.center { margin: 0 auto; }
.lang-sel { width: auto; min-width: 64px; height: 44px; min-height: 44px; padding: 0 28px 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer; }
.demo-note { margin: -8px 0 16px; color: var(--ink-2); font-size: 14px; }
.slot small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.slot[aria-disabled="true"] { border-style: dashed; cursor: not-allowed; background: var(--surface-2); }
.panel { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.panel h3 { margin-bottom: 8px; }
.rv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.rv-grid > div { padding: 16px; border-radius: var(--r-s); border: 1px solid var(--line); }
.rv-grid dt { font-size: 14px; color: var(--ink-2); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.rv-grid dd { margin: 4px 0 0; font-weight: 600; }
.rv-old dd { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--ink-2); }
.rv-grid .rv-new { background: var(--pine-tint); border-color: var(--pine); }
.unknown { margin-top: 16px; padding: 16px; border-radius: var(--r-s); background: var(--warn-tint); color: var(--ink); border: 1px solid var(--warn); }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin-bottom: 16px; }
.prose h2 { margin: 32px 0 8px; font-size: 1.4rem; }
.prose p { max-width: 60ch; }
.brand-text { display: inline-flex; flex-direction: column; }
@media (max-width: 420px) { .brand-text { display: none; } .tools { gap: 8px; } .lang-sel { min-width: 56px; padding-right: 20px; } .chip { padding: 0 8px; } }

/* ---------- back office ---------- */
.adm-top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.adm-top-in { max-width: 1280px; margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.adm-top .tools { margin-left: auto; align-items: center; }
.adm-nav { width: 100%; }
.adm-nav ul { list-style: none; margin: 0; padding: 0 0 4px; display: flex; flex-wrap: wrap; gap: 4px; }
.adm-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.adm-nav a:hover { background: var(--surface-2); }
.adm-nav a[aria-current="page"] { background: var(--pine-tint); color: var(--pine); font-weight: 600; }
.adm-nav .count { min-width: 22px; padding: 0 8px; border-radius: 999px; background: var(--rose); color: var(--surface); font-size: 14px; font-weight: 700; text-align: center; }
.form-actions.export-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 224px), 1fr)); max-width: 1000px; } /* equal buttons: when the row wraps they still share edges */
.adm-menu-btn { display: none; }
html.adm-loading .adm-main > :not(h1):not(.adm-lead) { visibility: hidden; } /* held in place until the data is drawn (admin-core.js) */
.adm-main { max-width: 1280px; margin: 0 auto; padding: 32px 24px 96px; }
.adm-main h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem); margin-bottom: 8px; }
.adm-main h2 { font-size: 1.35rem; margin: 32px 0 12px; }
.adm-main h3 { font-size: 1.1rem; margin: 16px 0 8px; }
.adm-lead { color: var(--ink-2); max-width: 70ch; }
.signout { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; min-width: 0; }
.stat h2 { font: 600 14px/1.4 var(--text); color: var(--ink-2); margin: 0; }
.stat .big { font: 500 40px/1.1 var(--display); margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat .sub { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.stat.err { border-color: var(--err); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; margin-top: 16px; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 12px 16px; align-items: end; }
.form-grid .wide { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; align-items: center; }
.field textarea { min-height: 88px; resize: vertical; }
.field .err-text { display: block; color: var(--err); font-weight: 600; font-size: 14px; margin-top: 8px; }
[aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 0 0 1px var(--err); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; border: 0; padding: 0; margin: 0; min-width: 0; }
.checks legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.checks input, .inline-check input { width: 22px; height: 22px; accent-color: var(--pine); }
.inline-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.item { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-top: 12px; background: var(--bg); min-width: 0; }
.item legend { font-weight: 700; padding: 0 4px; }
.item.off { opacity: .85; border-style: dashed; }
.list-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.list-table th, .list-table td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.list-table th { font-size: 14px; color: var(--ink-2); font-weight: 600; background: var(--surface-2); }
.list-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.list-table td { overflow-wrap: anywhere; }
.msg-card { display: grid; gap: 8px; }
.msg-card .msg-body { white-space: pre-wrap; background: var(--surface-2); border-radius: var(--r-s); padding: 12px; font-size: 15px; overflow-wrap: anywhere; }
.msg-card .to a { font-weight: 600; overflow-wrap: anywhere; }
.pill { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); }
.pill.warn { background: var(--warn-tint); color: var(--warn); }
.hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hist li { padding: 8px 12px; border-left: 3px solid var(--line-strong); background: var(--bg); border-radius: 0 var(--r-s) var(--r-s) 0; font-size: 14px; overflow-wrap: anywhere; }
.slot-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; margin-top: 8px; }
.detail-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
.empty-state { padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--ink-2); }
.auth-card .msg { margin: 0; }
.auth-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cal-toolbar { margin-top: 16px; }
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .adm-menu-btn { display: inline-flex; }
  .adm-nav { display: none; }
  .adm-nav.open { display: block; }
  .adm-nav ul { flex-direction: column; }
  .adm-main { padding: 16px 16px 96px; }
  .adm-top-in { padding: 8px 16px; }
  .rv-grid { grid-template-columns: 1fr; }
  .list-table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .list-table.stack tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .list-table.stack td { display: block; border: 0; padding: 4px 12px; }
  .list-table.stack td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-2); font-weight: 600; }
  .sched, .week, .legend, #view-seg { display: none !important; }
  .agenda { display: block; }
}

/* Mobile Booking: constrain grid tracks and wrap long times and labels. */
@media (max-width: 640px) {
  .hero-grid, .info-grid { grid-template-columns: minmax(0, 1fr); }
  .next-item { flex-wrap: wrap; }
  .next-item > * { min-width: 0; }
  .next-go { white-space: normal; overflow-wrap: anywhere; }
  .hours { table-layout: fixed; }
  .hours td { overflow-wrap: anywhere; }
  .svc-list, .fields { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: minmax(0, 1fr) auto; overflow-wrap: anywhere; }
  .hero h1, .pro, .fields, .team, .ticks { overflow-wrap: anywhere; }
}
