/*
 * Bukam design system, version 2.1: "Lagoon glass".
 * Drawn from the looks that worked on earlier builds: airy and rounded with open space and soft shadows instead of
 * boxes (ACRC), glossy glass on a phone-app shell with a floating tab island and a console on desktop (Navig, MediCore),
 * one subject-specific motif (Thressford's passport -> Bukam's ticket), light and dark modes (Exusia).
 * Motif: lagoon ripple lines (Lagos lagoon, blue meets green). Signature: the punched ticket for every booking.
 * Bagel Fat One only for the wordmark, ticket titles and big numbers; Gabarito for everything else.
 */
@font-face { font-family: "Bagel Fat One"; src: url("../fonts/bagel-fat-one.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gabarito"; src: url("../fonts/gabarito.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --brand: #1652e0; --brand-2: #4f80ff; --brand-ink: #0b3aa8; --brand-soft: #e3ebff;
  --cta: #22d68f; --cta-hi: #5cf0b5; --cta-ink: #03281a; --cta-glow: 34 214 143;
  --mint: #12a868; --amber: #e08a00; --rose: #e5484d; --sky: #2f7bf6; --coral: #22d68f;
  --ink: #0a1a33; --ink-2: #3d5170; --muted: #6b7d98;
  --bg: #f2f6fb; --bg-2: #e9eff8; --surface: #ffffff; --surface-2: #f5f8fc; --field: #eef3f9; --soft: #d6e0ee;
  --night: #061d43; --night-2: #0a2c63; --on-night: #e7f0ff; --hi: #7cf3c4; --code: #061a3a;
  --glass: rgb(255 255 255 / .68); --glass-strong: rgb(255 255 255 / .86); --glass-line: rgb(255 255 255 / .9);
  --brand-rgb: 22 82 224; --coral-rgb: 34 214 143; --mint-rgb: 18 168 104; --night-rgb: 6 29 67; --bg-rgb: 242 246 251; --on-night-rgb: 231 240 255;
  --tint-rgb: 20 50 100; --shadow-rgb: 12 30 70;
  --line: rgb(var(--tint-rgb) / .08); --line-2: rgb(var(--tint-rgb) / .14);
  --card: var(--surface); --card-solid: var(--surface); --glass-border: transparent;
  --font: "Gabarito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bagel Fat One", "Gabarito", system-ui, sans-serif;
  --r-panel: 36px; --r-card: 28px; --r-tile: 20px; --r-field: 16px;
  --r-sm: 14px; --r: 20px; --r-lg: 28px; --r-xl: 36px;
  --shadow: 0 1px 2px rgb(var(--shadow-rgb) / .04), 0 12px 32px -14px rgb(var(--shadow-rgb) / .18);
  --shadow-lg: 0 2px 6px rgb(var(--shadow-rgb) / .05), 0 40px 80px -36px rgb(var(--shadow-rgb) / .42);
  --lift: var(--shadow); --lift-lg: var(--shadow-lg);
  --tab-h: 72px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --ripple: url("../img/ripples.svg");
}
:root[data-mode="dark"] {
  color-scheme: dark;
  --brand: #4f80ff; --brand-2: #7fa3ff; --brand-ink: #a9c1ff; --brand-soft: #14295a;
  --cta: #2ee59d; --cta-hi: #7af5c6; --cta-ink: #02261a;
  --mint: #34d399; --amber: #fbbf24; --rose: #fb7185; --sky: #60a5fa;
  --ink: #e9f1ff; --ink-2: #b4c3dd; --muted: #8597b6;
  --bg: #050e21; --bg-2: #081631; --surface: #0c1a35; --surface-2: #10224a; --field: #0f2044; --soft: #22365e;
  --night: #030b1c; --night-2: #071736; --on-night: #e7f0ff; --code: #020916;
  --glass: rgb(14 28 58 / .62); --glass-strong: rgb(14 28 58 / .86); --glass-line: rgb(255 255 255 / .08);
  --brand-rgb: 79 128 255; --night-rgb: 3 11 28; --bg-rgb: 5 14 33; --tint-rgb: 160 190 240; --shadow-rgb: 0 0 0;
  --line: rgb(var(--tint-rgb) / .09); --line-2: rgb(var(--tint-rgb) / .16);
  --shadow: 0 1px 0 rgb(255 255 255 / .03) inset, 0 16px 40px -18px rgb(0 0 0 / .7);
  --shadow-lg: 0 1px 0 rgb(255 255 255 / .04) inset, 0 40px 90px -40px rgb(0 0 0 / .9);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15.5px; line-height: 1.55; min-height: 100dvh; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex: none; }
details > summary { list-style: none; } details > summary::-webkit-details-marker { display: none; }
details[open] > summary > svg:last-child { transform: rotate(180deg); }
a { color: var(--brand); text-decoration: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, transparent); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.08; text-wrap: balance; }
h1 { font-weight: 850; font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -.035em; }
h2 { font-weight: 800; font-size: clamp(20px, 2.5vw, 25px); letter-spacing: -.025em; }
h3 { font-weight: 750; font-size: 17px; letter-spacing: -.015em; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); } .small { font-size: 13.5px; } .tiny { font-size: 12px; } .center { text-align: center; }
.b { font-weight: 750; } .nowrap { white-space: nowrap; } .ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ripple { position: relative; isolation: isolate; }
.ripple::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: currentColor; opacity: .09; -webkit-mask: var(--ripple) center / cover no-repeat; mask: var(--ripple) center / cover no-repeat; }

/* ---------- surfaces: no outlines, space and soft shadow do the separating ---------- */
.card, .glass { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); }
.glass { background: var(--glass); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); box-shadow: inset 0 1px 0 var(--glass-line), var(--shadow); }
.card { padding: 22px; }
.card.tight { padding: 16px; border-radius: 22px; }
.card + .card, .stack-cards > * + * { margin-top: 16px; }
.grid > .card + .card { margin-top: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-h h3 { margin: 0; }
.narrow { max-width: 460px; margin: 0 auto; }
.center-page { display: grid; place-items: center; min-height: 100dvh; padding: 20px; }

/* ---------- layout helpers ---------- */
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; } .row.end { justify-content: flex-end; } .row.top { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 10px; }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .g2, .g3 { grid-template-columns: 1fr; } .g4.keep { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g4:not(.keep) { grid-template-columns: 1fr 1fr; } }
.mt { margin-top: 14px; } .mt2 { margin-top: 26px; } .mb { margin-bottom: 14px; }

/* ---------- buttons: glossy pills ---------- */
.btn { --face: var(--surface); --c: var(--ink); appearance: none; border: 0; background: var(--face); color: var(--c); font: 700 15px var(--font); padding: 11px 20px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; text-decoration: none; white-space: nowrap; position: relative;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgb(var(--shadow-rgb) / .06); transition: transform .12s ease, box-shadow .2s, background .2s, filter .2s; }
.btn:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 20px -10px rgb(var(--shadow-rgb) / .3); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.primary { --c: var(--cta-ink); background: linear-gradient(180deg, var(--cta-hi), var(--cta) 55%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), inset 0 -2px 0 rgb(0 0 0 / .08), 0 10px 24px -10px rgb(var(--cta-glow) / .75); }
.btn.primary:hover { filter: brightness(1.04) saturate(1.05); box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 14px 30px -10px rgb(var(--cta-glow) / .85); }
.btn.mint { --c: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 78%, white), var(--brand)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 22px -10px rgb(var(--brand-rgb) / .7); }
.btn.danger { --c: var(--rose); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rose) 30%, transparent); }
.btn.ghost { --face: transparent; box-shadow: none; }
.btn.ghost:hover { background: rgb(var(--tint-rgb) / .07); box-shadow: none; }
.btn.sm { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
.btn.lg { min-height: 56px; padding: 15px 28px; font-size: 16.5px; }
.btn.block { width: 100%; }
.btn.icon { width: 46px; padding: 0; border-radius: 50%; } .btn.icon.sm { width: 36px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { background: none; border: 0; color: var(--brand); font: 700 14.5px var(--font); cursor: pointer; padding: 4px 0; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.mode-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: inherit; background: rgb(var(--tint-rgb) / .08); }
.mode-btn svg { width: 19px; height: 19px; }
.mode-btn .sun { display: none; } :root[data-mode="dark"] .mode-btn .sun { display: block; } :root[data-mode="dark"] .mode-btn .moon { display: none; }

/* ---------- fields ---------- */
label.f { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin: 14px 0 7px; }
.in, select.in, textarea.in { width: 100%; font: 500 15.5px var(--font); color: var(--ink); background: var(--field); border: 1.5px solid transparent; border-radius: var(--r-field); padding: 13px 16px; min-height: 50px; transition: border .15s, background .15s, box-shadow .15s; }
textarea.in { min-height: 92px; resize: vertical; }
.in::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.in:focus { outline: 0; background: var(--surface); border-color: var(--brand); box-shadow: 0 0 0 4px rgb(var(--brand-rgb) / .16); }
.help { font-size: 13px; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; margin: 10px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); }
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--soft); border-radius: 99px; transition: .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 2px 6px rgb(0 0 0 / .2); }
.switch input:checked + span { background: var(--cta); }
.switch input:checked + span::after { transform: translateX(20px); }
.seg { display: inline-flex; padding: 4px; background: rgb(var(--tint-rgb) / .07); border-radius: 999px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; font: 700 13.5px var(--font); color: var(--ink-2); padding: 8px 15px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px -2px rgb(var(--shadow-rgb) / .2); }
.err-box, .ok-box, .warn-box { border-radius: var(--r-tile); padding: 12px 16px; font-weight: 600; font-size: 14.5px; }
.err-box { background: color-mix(in srgb, var(--rose) 13%, var(--surface)); color: color-mix(in srgb, var(--rose) 85%, var(--ink)); }
.ok-box { background: color-mix(in srgb, var(--mint) 14%, var(--surface)); color: color-mix(in srgb, var(--mint) 80%, var(--ink)); }
.warn-box { background: color-mix(in srgb, var(--amber) 15%, var(--surface)); color: color-mix(in srgb, var(--amber) 75%, var(--ink)); }

/* ---------- pills, chips, avatars, icon tiles ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 750; padding: 4px 11px; border-radius: 999px; background: rgb(var(--tint-rgb) / .08); color: var(--ink-2); white-space: nowrap; }
.pill.ok, .pill.confirmed, .pill.completed, .pill.paid, .pill.success, .pill.active { background: color-mix(in srgb, var(--mint) 15%, transparent); color: color-mix(in srgb, var(--mint) 85%, var(--ink)); }
.pill.warn, .pill.pending, .pill.pending_payment, .pill.requested, .pill.partial { background: color-mix(in srgb, var(--amber) 16%, transparent); color: color-mix(in srgb, var(--amber) 80%, var(--ink)); }
.pill.bad, .pill.cancelled, .pill.expired, .pill.no_show, .pill.failed, .pill.suspended, .pill.disabled { background: color-mix(in srgb, var(--rose) 14%, transparent); color: color-mix(in srgb, var(--rose) 85%, var(--ink)); }
.pill.info, .pill.assigned, .pill.in_progress, .pill.brand { background: rgb(var(--brand-rgb) / .13); color: var(--brand-ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--surface); border-radius: 999px; padding: 9px 16px; font: 700 14.5px var(--font); color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .1s, background .15s; }
.chip:hover { background: var(--surface-2); }
.chip:active { transform: scale(.96); }
.chip.on { background: var(--ink); color: var(--bg); box-shadow: 0 6px 16px -8px rgb(var(--shadow-rgb) / .5); }
.chip[disabled] { opacity: .38; pointer-events: none; text-decoration: line-through; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.av { width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; font-size: 15px; overflow: hidden; background: var(--brand); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.lg { width: 72px; height: 72px; border-radius: 24px; font-size: 26px; font-family: var(--display); font-weight: 400; }
.ico { --t: var(--brand); width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; flex: none; color: var(--t); background: color-mix(in srgb, var(--t) 13%, transparent); }
.ico svg { width: 21px; height: 21px; stroke-width: 2.1; }
.ico.mint { --t: var(--mint); } .ico.amber { --t: var(--amber); } .ico.rose { --t: var(--rose); } .ico.sky { --t: var(--sky); }
.stars { color: #f5a400; letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: var(--soft); }

/* ---------- lists ---------- */
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); min-height: 62px; }
.li:last-child { border-bottom: 0; }
.li.click { cursor: pointer; border-radius: var(--r-tile); padding-left: 10px; padding-right: 10px; border-bottom-color: transparent; transition: background .15s; }
.li.click:hover { background: rgb(var(--tint-rgb) / .05); }
.li .t { font-weight: 700; } .li .s { font-size: 13.5px; color: var(--muted); }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; }
.kv:last-child { border-bottom: 0; } .kv span { color: var(--muted); } .kv b { text-align: right; font-weight: 750; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty .ico { margin: 0 auto 12px; width: 60px; height: 60px; border-radius: 22px; }

/* ---------- tables (become cards on phones) ---------- */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: rgb(var(--tint-rgb) / .04); }
.tbl-wrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
@media (max-width: 700px) {
  .tbl.cards thead { display: none; }
  .tbl.cards tr { display: block; background: var(--surface); border-radius: 22px; padding: 12px 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
  .tbl.cards td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 5px 0; text-align: right; }
  .tbl.cards td::before { content: attr(data-l); color: var(--muted); font-weight: 600; font-size: 13px; text-align: left; }
  .tbl.cards td.main { font-weight: 750; font-size: 15.5px; } .tbl.cards td.main::before { display: none; }
}

/* ---------- stats ---------- */
.stat { padding: 20px; }
.stat .k { font-size: 13.5px; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.stat .k .ico { width: 34px; height: 34px; border-radius: 12px; } .stat .k .ico svg { width: 17px; height: 17px; }
.stat .v { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); margin-top: 12px; line-height: 1; }
.stat .d { font-size: 13px; color: var(--muted); margin-top: 6px; }
.meter { height: 10px; background: rgb(var(--tint-rgb) / .09); border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--cta)); border-radius: 99px; }
.meter.warn i { background: var(--amber); } .meter.bad i { background: var(--rose); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bars div { flex: 1; background: linear-gradient(180deg, var(--brand-2), var(--brand)); border-radius: 9px 9px 4px 4px; min-height: 4px; position: relative; }
.bars div:hover { background: var(--cta); }
.bars-x { display: flex; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 6px; } .bars-x span { flex: 1; text-align: center; }

/* ---------- console shell: floating ocean panel on desktop ---------- */
.shell { display: grid; grid-template-columns: 278px minmax(0, 1fr); min-height: 100dvh; }
.side { position: sticky; top: 12px; height: calc(100dvh - 24px); margin: 12px 0 12px 12px; padding: 18px 14px; display: flex; flex-direction: column; gap: 3px; overflow-y: auto; color: var(--on-night);
  background: radial-gradient(120% 60% at 0% 0%, rgb(var(--brand-rgb) / .35), transparent 60%), var(--night); border-radius: var(--r-panel); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 30px 60px -30px rgb(var(--night-rgb) / .8); scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .15) transparent; isolation: isolate; }
.side::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--on-night); opacity: .05; -webkit-mask: var(--ripple) center / cover no-repeat; mask: var(--ripple) center / cover no-repeat; pointer-events: none; }
.side .brand { color: #fff; } .side .brand small { color: rgb(var(--on-night-rgb) / .6); }
.side .nav-h { color: rgb(var(--on-night-rgb) / .5); }
.side .nav a { color: rgb(var(--on-night-rgb) / .78); }
.side .nav a:hover { background: rgb(255 255 255 / .07); color: #fff; }
.side .nav a.on { background: linear-gradient(180deg, var(--cta-hi), var(--cta) 60%); color: var(--cta-ink); box-shadow: 0 10px 22px -12px rgb(var(--cta-glow) / .9); }
.side .nav a.on svg { color: var(--cta-ink); opacity: 1; }
.side .btn { --face: rgb(255 255 255 / .08); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.side .btn.ghost { --face: transparent; box-shadow: none; }
.side .muted { color: rgb(var(--on-night-rgb) / .58); }
.side .av { background: var(--cta); color: var(--cta-ink); }
.side .mode-btn { background: rgb(255 255 255 / .08); color: #fff; width: 36px; height: 36px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 18px; font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--ink); min-width: 0; }
.brand > span:last-child { min-width: 0; }
.brand small { display: block; font-family: var(--font); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.brand .logo { width: 40px; height: 40px; border-radius: 14px; flex: none; font-size: 15px; background: var(--brand); display: grid; place-items: center; color: #fff; overflow: hidden; }
.brand .logo img { width: 100%; height: 100%; object-fit: cover; }
.nav-h { font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 16px 12px 6px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 13px; border-radius: 16px; color: var(--ink-2); font-weight: 650; font-size: 15px; transition: background .15s, color .15s; }
.nav a svg { width: 20px; height: 20px; opacity: .85; }
.nav a:hover { background: rgb(var(--tint-rgb) / .06); }
.nav a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.nav a .badge { margin-left: auto; }
.badge { background: var(--rose); color: #fff; font-size: 11.5px; font-weight: 800; border-radius: 99px; padding: 1px 7px; min-width: 21px; text-align: center; }
.side-foot { margin-top: auto; padding-top: 12px; }
.main { min-width: 0; padding: 28px clamp(16px, 3vw, 40px) 44px; }
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; min-height: 50px; }
.topbar h1 { font-size: clamp(26px, 3.2vw, 38px); margin: 0; }
.topbar .sub { color: var(--muted); font-size: 15px; }
.page { animation: rise .32s cubic-bezier(.2, .8, .2, 1); max-width: 1240px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* phone: glass top bar + floating glass tab island */
.mtop { display: none; }
.tabbar { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: calc(10px + var(--safe-t)) 16px calc(var(--tab-h) + 40px + var(--safe-b)); }
  .mtop { display: flex; align-items: center; gap: 8px; margin: 0 -16px 14px; padding: calc(8px + var(--safe-t)) 16px 10px; position: sticky; top: 0; z-index: 40;
    background: var(--glass); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); }
  .mtop .brand { padding: 0; font-size: 19px; }
  .topbar { margin-bottom: 16px; } .topbar h1 { font-size: 30px; }
  .tabbar { display: flex; position: fixed; z-index: 50; left: 14px; right: 14px; bottom: calc(14px + var(--safe-b)); height: var(--tab-h);
    background: var(--glass); backdrop-filter: blur(26px) saturate(1.8); -webkit-backdrop-filter: blur(26px) saturate(1.8);
    border-radius: 32px; box-shadow: inset 0 1px 0 var(--glass-line), 0 20px 44px -14px rgb(var(--shadow-rgb) / .45); padding: 8px; gap: 2px; max-width: 560px; margin: 0 auto; }
  .tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font: 700 11px var(--font); border-radius: 24px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
  .tabbar svg { width: 23px; height: 23px; }
  .tabbar .on { color: var(--ink); background: rgb(var(--tint-rgb) / .09); }
  .tabbar [data-new] { color: var(--cta-ink); flex: 0 0 64px; height: 64px; margin-top: -28px; border-radius: 50%; background: linear-gradient(180deg, var(--cta-hi), var(--cta) 60%);
    box-shadow: 0 0 0 5px var(--bg), 0 14px 28px -8px rgb(var(--cta-glow) / .8), inset 0 1px 0 rgb(255 255 255 / .6); font-size: 10.5px; }
  .tabbar [data-new]:active { transform: scale(.94); }
  .tabbar [data-new] svg { width: 26px; height: 26px; }
  .topbar .btn > span { display: none; } .topbar .btn { width: 46px; padding: 0; border-radius: 50%; }
  .tabbar .badge { position: absolute; top: 4px; right: calc(50% - 22px); font-size: 10px; padding: 0 5px; }
}

/* ---------- sheets / modals ---------- */
.ov { position: fixed; inset: 0; z-index: 100; background: rgb(var(--night-rgb) / .45); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 18px; animation: fade .18s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 560px; max-height: min(88dvh, 900px); overflow-y: auto; background: var(--surface); border-radius: var(--r-panel); box-shadow: var(--shadow-lg); padding: 24px; animation: pop .26s cubic-bezier(.2, .9, .3, 1.12); overscroll-behavior: contain; }
.sheet.wide { max-width: 780px; }
.sheet-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; position: sticky; top: -24px; background: inherit; padding: 4px 0 8px; z-index: 2; }
.sheet-h h2 { margin: 0; font-size: 22px; flex: 1; }
.sheet-f { display: flex; gap: 10px; margin-top: 18px; position: sticky; bottom: -24px; background: inherit; padding: 14px 0 4px; }
.sheet-f .btn { flex: 1; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@media (max-width: 640px) {
  .ov { align-items: flex-end; padding: 0; }
  .sheet { border-radius: 32px 32px 0 0; max-height: 92dvh; padding: 18px 18px calc(16px + var(--safe-b)); animation: up .28s cubic-bezier(.2, .9, .3, 1); }
  .sheet::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 9px; background: var(--soft); margin: -6px auto 12px; }
  .sheet-h { top: -18px; } .sheet-f { bottom: calc(-16px - var(--safe-b)); padding-bottom: calc(8px + var(--safe-b)); }
}
@keyframes up { from { transform: translateY(100%); } }
.toasts { position: fixed; z-index: 200; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + 34px + var(--safe-b)); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 420px); }
@media (min-width: 901px) { .toasts { bottom: 28px; } }
.toast { background: var(--ink); color: var(--bg); border-radius: 999px; padding: 13px 20px; font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-lg); animation: pop .2s; pointer-events: auto; }
.toast.bad { background: #c42a3c; color: #fff; } .toast.ok { background: #0b7a4a; color: #fff; }

/* ---------- misc components ---------- */
.skel { background: linear-gradient(90deg, rgb(var(--tint-rgb) / .06), rgb(var(--tint-rgb) / .12), rgb(var(--tint-rgb) / .06)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; height: 16px; }
@keyframes sk { to { background-position: -200% 0; } }
.spin { width: 24px; height: 24px; border: 3px solid rgb(var(--tint-rgb) / .14); border-top-color: var(--brand); border-radius: 50%; animation: rot .7s linear infinite; display: inline-block; }
@keyframes rot { to { transform: rotate(360deg); } }
.loading { display: grid; place-items: center; padding: 60px 0; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; padding: 2px 2px 6px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; background: var(--surface); border-radius: 999px; padding: 8px 16px; font: 700 14px var(--font); color: var(--ink-2); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs button.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.search { position: relative; } .search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); } .search .in { padding-left: 44px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; background: var(--code); color: #dce8ff; border-radius: var(--r-tile); padding: 16px 18px; overflow-x: auto; white-space: pre; line-height: 1.65; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: rgb(var(--tint-rgb) / .08); padding: 2px 7px; border-radius: 8px; color: var(--brand-ink); }
.copy { display: flex; gap: 8px; align-items: center; background: var(--field); border-radius: var(--r-field); padding: 6px 6px 6px 16px; }
.copy span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; font-size: 14.5px; }
.hr { height: 1px; background: var(--line); margin: 18px 0; }
.timeline { border-left: 2px solid var(--line-2); margin-left: 6px; padding-left: 18px; }
.timeline div { position: relative; padding: 6px 0; font-size: 14px; }
.timeline div::before { content: ""; position: absolute; left: -25px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--surface); }
.qr { background: #fff; padding: 16px; border-radius: 24px; display: inline-block; box-shadow: var(--shadow); }
.qr svg, .qr img { width: 200px; height: 200px; }
.type-badge { font-size: 12px; font-weight: 750; padding: 3px 10px; border-radius: 999px; }
.t-slot { background: rgb(var(--brand-rgb) / .13); color: var(--brand-ink); } .t-range { background: color-mix(in srgb, var(--mint) 15%, transparent); color: color-mix(in srgb, var(--mint) 85%, var(--ink)); }
.t-capacity { background: color-mix(in srgb, var(--amber) 16%, transparent); color: color-mix(in srgb, var(--amber) 80%, var(--ink)); } .t-dispatch { background: color-mix(in srgb, var(--sky) 15%, transparent); color: color-mix(in srgb, var(--sky) 85%, var(--ink)); }
.cover-pick { height: 140px; border-radius: 22px; background: var(--field) center / cover no-repeat; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); font-weight: 600; font-size: 14px; }

/* calendar */
.cal { display: grid; gap: 0; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.cal-col { border-left: 1px solid var(--line); position: relative; min-width: 140px; }
.cal-head { position: sticky; top: 0; background: var(--surface); z-index: 2; padding: 10px; font-weight: 750; font-size: 14px; border-bottom: 1px solid var(--line); height: 46px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-times { position: relative; width: 58px; }
.cal-times div { position: absolute; right: 8px; font-size: 11.5px; color: var(--muted); transform: translateY(-50%); }
.cal-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.cal-ev { position: absolute; left: 5px; right: 5px; border-radius: 14px; padding: 6px 9px; font-size: 12.5px; font-weight: 650; overflow: hidden; cursor: pointer; border-left: 4px solid var(--brand); background: rgb(var(--brand-rgb) / .13); color: var(--ink); line-height: 1.3; }
.cal-ev.pending_payment, .cal-ev.pending { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 15%, var(--surface)); }
.cal-ev.completed { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 14%, var(--surface)); }
.cal-ev.no_show { border-color: var(--rose); background: color-mix(in srgb, var(--rose) 13%, var(--surface)); }
.cal-scroll { overflow: auto; max-height: calc(100dvh - 240px); border-radius: 24px; }
.cal-now { position: absolute; left: 0; right: 0; border-top: 2px solid var(--rose); z-index: 1; }

/* kanban (dispatch) */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.kcol { background: rgb(var(--tint-rgb) / .05); border-radius: 28px; padding: 12px; min-height: 200px; }
.kcol h4 { display: flex; justify-content: space-between; font-size: 14.5px; margin: 4px 6px 12px; }
.kcard { background: var(--surface); border-radius: 20px; padding: 13px; box-shadow: var(--shadow); margin-bottom: 10px; cursor: pointer; font-size: 14px; }
.route { display: grid; grid-template-columns: 14px 1fr; gap: 2px 8px; font-size: 13.5px; margin: 8px 0; }
.route i { width: 11px; height: 11px; border-radius: 50%; margin-top: 4px; border: 3px solid var(--mint); } .route i.d { border-color: var(--rose); }

/* onboarding picker */
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.pick button { text-align: left; border: 0; background: var(--surface); border-radius: 22px; padding: 14px; cursor: pointer; font: 700 14.5px var(--font); color: var(--ink); display: flex; gap: 10px; align-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .1s, box-shadow .15s; }
.pick button:active { transform: scale(.97); }
.pick button.on { box-shadow: inset 0 0 0 2px var(--brand), 0 10px 24px -14px rgb(var(--brand-rgb) / .8); }
.pick .ico { width: 38px; height: 38px; border-radius: 13px; }
.pick .ico svg { width: 18px; height: 18px; }

/* ---------- the ticket (signature shape) ---------- */
.ticket { --tk-bg: var(--bg); position: relative; background: var(--surface); color: var(--ink); border-radius: 30px; padding: 22px 22px 18px; box-shadow: var(--shadow-lg); text-align: left; }
.tk-top { display: flex; align-items: center; gap: 10px; }
.tk-top .av { width: 34px; height: 34px; border-radius: 12px; font-size: 13px; }
.tk-top .who { font-weight: 750; font-size: 14px; } .tk-top .who small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.tk-title { font-family: var(--display); font-size: 27px; line-height: 1.08; margin: 16px 0 4px; }
.tk-when { font-weight: 700; color: var(--ink-2); font-size: 15px; }
.tk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 16px; }
.tk-grid div { min-width: 0; } .tk-grid span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 650; } .tk-grid b { display: block; font-size: 14.5px; font-weight: 750; overflow-wrap: anywhere; }
.tk-tear { position: relative; height: 0; border-top: 2px dashed var(--soft); margin: 20px -22px 16px; }
.tk-tear::before, .tk-tear::after { content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--tk-bg); }
.tk-tear::before { left: -15px; } .tk-tear::after { right: -15px; }
.tk-stub { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.tk-stub span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 650; }
.tk-stub b { font-size: 17px; font-weight: 800; letter-spacing: .02em; }
.tk-stub .amt { text-align: right; } .tk-stub .amt b { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0; }
.tk-code { display: block; height: 34px; width: 118px; border-radius: 6px; margin-top: 8px; background: var(--bars, repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px)); opacity: .85; }
.tk-stamp { position: absolute; right: 18px; top: 18px; transform: rotate(8deg); border: 3px solid currentColor; color: var(--mint); border-radius: 14px; padding: 3px 10px; font-family: var(--display); font-size: 17px; line-height: 1.2; background: var(--surface); animation: stamp .45s cubic-bezier(.3, 1.6, .5, 1) both .15s; }
.tk-stamp.pending { color: var(--amber); } .tk-stamp.cancelled, .tk-stamp.expired { color: var(--rose); }
@keyframes stamp { from { opacity: 0; transform: rotate(8deg) scale(1.8); } }
@media (prefers-reduced-motion: reduce) { .tk-stamp { animation: none; } }

/* ---------- landing ---------- */
.nav-top { position: sticky; top: 12px; z-index: 40; margin: 12px auto 0; max-width: 1200px; width: calc(100% - 24px); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7); box-shadow: inset 0 1px 0 var(--glass-line), var(--shadow); }
.nav-top .brand { padding: 0; font-size: 24px; }
.nav-top .links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-top .links a.t { color: var(--ink-2); font-weight: 650; padding: 9px 14px; border-radius: 999px; font-size: 15px; }
.nav-top .links a.t:hover { background: rgb(var(--tint-rgb) / .07); color: var(--ink); }
@media (max-width: 860px) { .nav-top .links a.t { display: none; } }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 34em; line-height: 1.55; }
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-h { max-width: 680px; margin-bottom: 34px; }
.sec-h h2 { font-weight: 850; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.02; letter-spacing: -.04em; }
.foot { padding: 34px 0 54px; color: var(--muted); font-size: 14.5px; }
.foot .row a { color: var(--ink-2); font-weight: 650; }

.stage { position: relative; margin: -76px 12px 0; padding-top: 76px; border-radius: 0 0 48px 48px; background: var(--night); color: var(--on-night); overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--on-night); opacity: .07; -webkit-mask: var(--ripple) center / cover no-repeat; mask: var(--ripple) center / cover no-repeat; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(55% 70% at 85% 30%, rgb(var(--coral-rgb) / .28), transparent 65%),
  radial-gradient(60% 80% at 10% 100%, rgb(22 82 224 / .75), transparent 70%); }
@media (min-width: 901px) { .stage { margin: -76px 12px 0; border-radius: 0 0 56px 56px; } }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 64px) clamp(56px, 7vw, 96px); max-width: 1240px; margin: 0 auto; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.wordmark { white-space: nowrap; font-family: var(--display); font-size: clamp(84px, 13vw, 176px); line-height: .84; letter-spacing: -.01em; margin: 0 0 22px; color: #fff; }
.wordmark .dot { display: inline-block; width: .19em; height: .19em; border-radius: 50%; background: var(--cta); margin-left: .03em; box-shadow: 0 0 .35em rgb(var(--cta-glow) / .7); }
.hero .say { font-size: clamp(21px, 2.5vw, 28px); font-weight: 800; color: #fff; margin: 0 0 12px; letter-spacing: -.025em; max-width: 21em; line-height: 1.2; }
.hero .lead { color: rgb(var(--on-night-rgb) / .78); }
.stage .btn:not(.primary) { --face: rgb(255 255 255 / .1); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); backdrop-filter: blur(10px); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.facts span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: rgb(255 255 255 / .08); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1); font-weight: 650; font-size: 14px; color: var(--on-night); backdrop-filter: blur(10px); }
.facts span svg { width: 16px; height: 16px; color: var(--hi); }

/* hero device: a phone running a real booking page, with glass cards and the printed ticket */
.device { position: relative; width: min(330px, 86vw); margin: 0 auto; }
.phone-x { position: relative; border-radius: 52px; padding: 11px; background: linear-gradient(160deg, #2b3c63, #0b1530); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 50px 90px -30px rgb(0 0 0 / .7); }
.phone-x .scr { border-radius: 42px; overflow: hidden; background: #f2f6fb; color: #0a1a33; height: 600px; position: relative; font-size: 13px; }
.phone-x .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.ph-hero { position: relative; height: 172px; background: radial-gradient(90% 80% at 100% 0%, rgb(255 255 255 / .2), transparent 60%), #1652e0; color: #fff; padding: 46px 16px 0; isolation: isolate; }
.ph-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; opacity: .12; -webkit-mask: var(--ripple) center / cover no-repeat; mask: var(--ripple) center / cover no-repeat; }
.ph-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(6 29 67 / .1), rgb(6 29 67 / .75)); }
.ph-hero .nm { font-family: var(--display); font-size: 20px; line-height: 1.1; margin-top: 52px; }
.ph-hero .sub { font-size: 12px; opacity: .85; }
.ph-body { padding: 14px; }
.ph-svc { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 10px 12px; margin-bottom: 8px; box-shadow: 0 6px 16px -10px rgb(12 30 70 / .3); }
.ph-svc i { width: 34px; height: 34px; border-radius: 12px; background: #e3ebff; flex: none; display: grid; place-items: center; color: #1652e0; }
.ph-svc i svg { width: 17px; height: 17px; }
.ph-svc b { display: block; font-size: 13px; } .ph-svc small { color: #6b7d98; font-size: 11.5px; } .ph-svc em { margin-left: auto; font-style: normal; font-weight: 800; font-size: 12.5px; }
.ph-wa { display: flex; align-items: center; gap: 8px; border-radius: 16px; padding: 10px 12px; background: #d9fbe6; color: #06331f; font-weight: 700; font-size: 12.5px; margin-bottom: 12px; }
.ph-wa svg { width: 16px; height: 16px; }
.float { position: absolute; z-index: 4; border-radius: 22px; padding: 11px 14px; font-size: 13.5px; font-weight: 700; color: var(--ink); background: var(--glass-strong); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 1px 0 var(--glass-line), 0 20px 40px -18px rgb(0 0 0 / .5); display: flex; align-items: center; gap: 10px; }
.float small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 650; }
.float .ico { width: 34px; height: 34px; border-radius: 12px; }
.float .ico svg { width: 17px; height: 17px; }
.float.f1 { left: -78px; top: 262px; }
.float.f2 { right: -66px; top: 404px; }
.float.wa { right: -74px; top: -18px; background: #dcf8c6; color: #06331f; border-radius: 22px 22px 6px 22px; max-width: 220px; display: block; }
.float.wa small { color: #3c6b4c; }
@media (max-width: 900px) { .float.f1 { left: -10px; } .float.f2 { right: -10px; } .float.wa { right: -6px; } }
.printer { position: absolute; z-index: 5; left: -132px; right: auto; bottom: -58px; width: 290px; }
@media (max-width: 900px) { .printer { position: relative; left: auto; bottom: auto; margin: -120px auto 0; } }
.printer .slot { position: relative; z-index: 2; height: 22px; border-radius: 999px; background: #020a1a; box-shadow: inset 0 3px 6px rgb(0 0 0 / .7), 0 1px 0 rgb(255 255 255 / .12); margin: 0 -8px; }
.printer .feed { position: relative; z-index: 1; margin: -11px 12px 0; overflow: hidden; border-radius: 0 0 30px 30px; padding: 0 0 24px; }
.printer .ticket { --tk-bg: var(--night); padding: 18px 18px 14px; animation: print 1.7s cubic-bezier(.25, .9, .3, 1) .5s both; }
.printer .tk-title { font-size: 22px; margin-top: 12px; } .printer .tk-tear { margin: 14px -18px 12px; } .printer .tk-grid { margin-top: 12px; gap: 8px 12px; }
@keyframes print { from { transform: translateY(-104%); } 70% { transform: translateY(2%); } to { transform: none; } }
.printer .tk-stamp { animation-delay: 2.1s; }
@media (prefers-reduced-motion: reduce) { .printer .ticket { animation: none; } }

/* sections */
.marquee { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: -26px; position: relative; z-index: 2; padding: 0 16px; }
.marquee span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.marquee span svg { width: 17px; height: 17px; color: var(--brand); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border-radius: 32px; padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 18px; background: var(--brand); color: #fff; margin-bottom: 16px; }
.step h3 { font-size: 21px; letter-spacing: -.025em; } .step p { color: var(--muted); margin: 0; }
.step .vig { margin-top: 20px; border-radius: 22px; background: var(--bg-2); padding: 14px; font-size: 13.5px; }
.vig .copy { background: var(--surface); }
.vig .bubble { display: inline-block; max-width: 90%; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: var(--surface); font-weight: 600; margin-bottom: 6px; box-shadow: var(--shadow); }
.vig .bubble.me { margin-left: auto; display: block; width: fit-content; border-radius: 16px 16px 4px 16px; background: #d9fbe6; color: #06331f; }
.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .modes { grid-template-columns: 1fr; } }
.mode { background: var(--surface); border-radius: 32px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; min-height: 240px; transition: transform .2s; }
.mode:hover { transform: translateY(-3px); }
.mode .ico { width: 56px; height: 56px; border-radius: 20px; } .mode .ico svg { width: 26px; height: 26px; }
.mode h3 { font-size: 21px; margin: 8px 0 0; letter-spacing: -.025em; } .mode p { color: var(--muted); margin: 0; font-size: 14.5px; }
.mode .eg { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.mode .eg span { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgb(var(--tint-rgb) / .07); color: var(--ink-2); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento .w3 { grid-column: span 3; } .bento .w4 { grid-column: span 4; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .bento > *, .bento .w3, .bento .w4 { grid-column: span 2; } }
.tile { background: var(--surface); border-radius: 34px; padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; min-width: 0; }
.tile h3 { font-size: 23px; letter-spacing: -.03em; margin-bottom: 8px; } .tile p { color: var(--muted); margin: 0; }
.tile.ink { background: var(--night); color: var(--on-night); } .tile.ink p { color: rgb(var(--on-night-rgb) / .72); } .tile.ink h3 { color: #fff; }
.tile.cta { background: linear-gradient(160deg, var(--cta-hi), var(--cta)); color: var(--cta-ink); box-shadow: 0 30px 60px -30px rgb(var(--cta-glow) / .8); } .tile.cta p { color: color-mix(in srgb, var(--cta-ink) 72%, transparent); }
.tile .big { font-family: var(--display); font-size: clamp(48px, 6vw, 76px); line-height: 1; margin: 10px 0 10px; }
.tile .url { font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px); line-height: 1.15; margin-top: 22px; overflow-wrap: anywhere; color: #fff; }
.tile .url span { color: var(--hi); }
.minichat { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.minichat div { max-width: 85%; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: rgb(255 255 255 / .1); font-size: 13.5px; font-weight: 600; color: #fff; }
.minichat div.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: #d9fbe6; color: #06331f; }
.minichat .opts { display: flex; gap: 6px; flex-wrap: wrap; background: none; padding: 0; }
.minichat .opts span { padding: 6px 10px; border-radius: 999px; background: rgb(255 255 255 / .14); font-size: 12.5px; }
.console-peek { margin-top: 22px; border-radius: 22px; background: var(--bg-2); padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.console-peek div { background: var(--surface); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.console-peek span { display: block; font-size: 12px; color: var(--muted); font-weight: 650; }
.console-peek b { font-family: var(--display); font-weight: 400; font-size: 22px; }
.band-cta { margin: 0 12px; border-radius: 48px; padding: clamp(40px, 7vw, 80px) 24px; text-align: center; background: var(--night); color: var(--on-night); }
.band-cta h2 { font-weight: 850; font-size: clamp(32px, 5vw, 56px); letter-spacing: -.04em; color: #fff; }
.band-cta p { color: rgb(var(--on-night-rgb) / .75); max-width: 30em; margin: 0 auto 24px; }

/* pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.price-card { padding: 26px; display: flex; flex-direction: column; border-radius: 32px; }
.price-card.hot { background: var(--night); color: var(--on-night); box-shadow: var(--shadow-lg); }
.price-card.hot .muted, .price-card.hot li { color: rgb(var(--on-night-rgb) / .8); } .price-card.hot h3 { color: #fff; }
.price-card .amt { font-family: var(--display); font-size: 36px; line-height: 1.05; margin-top: 8px; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.price-card li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%; background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303281a' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.vert { display: flex; flex-wrap: wrap; gap: 8px; }
.vert span { background: var(--surface); border-radius: 999px; padding: 8px 15px; font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow); }

/* explore and docs headers */
.night { position: relative; color: var(--on-night); background: var(--night); overflow: hidden; margin: -76px 12px 0; padding: 76px 0 34px; border-radius: 0 0 48px 48px; isolation: isolate; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--on-night); opacity: .07; -webkit-mask: var(--ripple) center / cover no-repeat; mask: var(--ripple) center / cover no-repeat; }
.night .lead, .night .muted { color: rgb(var(--on-night-rgb) / .78); }
.night h1 { color: #fff; } .night .wrap { position: relative; z-index: 1; }
.night .chip:not(.on) { background: rgb(255 255 255 / .1); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.night .chip.on { background: #fff; color: var(--night); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 750; color: var(--brand); margin-bottom: 10px; }
.biz-card { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 18px; color: var(--ink); border-radius: 30px; transition: transform .2s; }
.biz-card:hover { transform: translateY(-3px); }
.biz-card .cover { height: 132px; border-radius: 22px; display: flex; align-items: flex-end; padding: 12px; background-size: cover; background-position: center; position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.biz-card .cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: .14; -webkit-mask: var(--ripple) center / cover no-repeat; mask: var(--ripple) center / cover no-repeat; }
.biz-card > div:not(.cover) { padding: 0 6px; }
.code-band { margin-top: 0; }

/* ---------- customer booking app (phone column on wide screens) ---------- */
body.bk { --brand: var(--biz, #1652e0); }
.bk-frame { max-width: 480px; margin: 0 auto; min-height: 100dvh; position: relative; display: flex; flex-direction: column; background: var(--bg); }
@media (min-width: 620px) {
  body.bk:not(.embed) { padding: 28px 0; background: radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%), var(--bg-2); }
  body.bk:not(.embed) .bk-frame { min-height: calc(100dvh - 56px); border-radius: 46px; box-shadow: 0 0 0 10px var(--surface), 0 50px 100px -40px rgb(var(--shadow-rgb) / .55); overflow: hidden; }
}
.bk-hero { padding: calc(22px + var(--safe-t)) 20px 24px; position: relative; color: #fff; isolation: isolate; border-radius: 0 0 36px 36px; overflow: hidden; }
.bk-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--brand) var(--cover, none) center / cover no-repeat; }
.bk-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / .18), transparent 55%), linear-gradient(180deg, rgb(0 0 0 / 0), rgb(0 0 0 / .18)); }
.bk-hero.has-cover { padding-top: calc(120px + var(--safe-t)); }
.bk-hero.has-cover::after { background: linear-gradient(180deg, rgb(0 0 0 / .05) 0%, rgb(0 0 0 / .2) 40%, color-mix(in srgb, var(--brand) 85%, black) 100%); }
.bk-hero .rp { position: absolute; inset: 0; z-index: -1; background: #fff; opacity: .1; -webkit-mask: var(--ripple) center / cover no-repeat; mask: var(--ripple) center / cover no-repeat; }
.bk-hero.has-cover .rp { display: none; }
.bk-hero .muted { color: rgb(255 255 255 / .85); }
.bk-hero .b { font-family: var(--display); font-weight: 400; }
.bk-hero .av.lg { background: #fff; color: var(--brand); box-shadow: 0 10px 24px -10px rgb(0 0 0 / .5); }
.bk-hero .av:not(.lg) { background: #fff; color: var(--brand); }
.bk-hero .stars { color: #ffd34d; }
.bk-hero .btn.icon { --face: rgb(255 255 255 / .18); color: #fff; box-shadow: none; backdrop-filter: blur(10px); }
.bk-body { flex: 1; padding: 18px 16px calc(116px + var(--safe-b)); }
.bk-body > h2 { font-weight: 850; font-size: 24px; letter-spacing: -.03em; margin-top: 6px; }
.bk-cta { position: sticky; bottom: 0; padding: 12px 16px calc(16px + var(--safe-b)); background: linear-gradient(to top, var(--bg) 62%, rgb(var(--bg-rgb) / 0)); z-index: 5; margin-top: auto; }
body.bk .bk-cta { position: fixed; left: 0; right: 0; max-width: 480px; margin: 0 auto; }
@media (min-width: 620px) { body.bk:not(.embed) .bk-cta { position: sticky; } }
.svc { display: flex; gap: 13px; align-items: center; padding: 14px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); cursor: pointer; transition: transform .12s, box-shadow .15s; }
.svc + .svc { margin-top: 10px; }
.svc:active { transform: scale(.985); }
.svc.on { box-shadow: inset 0 0 0 2px var(--brand), var(--shadow); }
.svc .grow { min-width: 0; }
.svc .ico { --t: var(--brand); }
.svc .price { font-weight: 800; white-space: nowrap; text-align: right; flex: none; line-height: 1.25; font-size: 15px; }
.svc .price .tiny { font-weight: 650; }
.daystrip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 12px; }
.daystrip::-webkit-scrollbar { display: none; }
.day { flex: none; width: 64px; border-radius: 22px; padding: 10px 0; text-align: center; background: var(--surface); cursor: pointer; font-weight: 750; box-shadow: var(--shadow); transition: transform .1s; }
.day:active { transform: scale(.95); }
.day small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 750; }
.day b { font-family: var(--display); font-weight: 400; font-size: 22px; display: block; line-height: 1.15; }
.day.on { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px rgb(var(--brand-rgb) / .9); } .day.on small { color: rgb(255 255 255 / .8); }
.day.off { opacity: .32; pointer-events: none; box-shadow: none; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.times .chip { justify-content: center; }
.times .chip.on, .bk .chips .chip.on { background: var(--brand); color: #fff; box-shadow: 0 10px 20px -10px rgb(var(--brand-rgb) / .9); }
.sess { padding: 16px; border-radius: 24px; background: var(--surface); cursor: pointer; box-shadow: var(--shadow); transition: box-shadow .15s; }
.sess + .sess { margin-top: 10px; }
.sess.on { box-shadow: inset 0 0 0 2px var(--brand), var(--shadow); }
.sess.full { opacity: .45; pointer-events: none; }
.flight { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.flight .c { font-family: var(--display); font-weight: 400; font-size: 23px; }
.flight .mid { text-align: center; color: var(--muted); font-size: 12.5px; }
.flight .mid hr { border: 0; border-top: 2px dashed var(--line-2); width: 60px; margin: 4px auto; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--brand); font: 800 19px var(--font); color: #fff; cursor: pointer; }
.stepper button:active { transform: scale(.92); }
.stepper b { min-width: 32px; text-align: center; font-family: var(--display); font-weight: 400; font-size: 19px; }
.star-pick { display: flex; gap: 6px; justify-content: center; }
.star-pick button { background: none; border: 0; font-size: 40px; color: var(--soft); cursor: pointer; padding: 0 2px; transition: transform .1s; line-height: 1; }
.star-pick button.on { color: #f5a400; } .star-pick button:active { transform: scale(1.25); }
.success-mark { display: none; }
.done-title { font-family: var(--display); font-weight: 400; font-size: 34px; margin: 8px 0 4px; }
.powered { text-align: center; font-size: 12.5px; color: var(--muted); padding: 12px 0 0; }
.install-tip { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 22px; background: var(--surface); font-size: 13.5px; margin-top: 12px; box-shadow: var(--shadow); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgb(255 255 255 / .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25); transition: background .15s, transform .1s; }
.soc:hover { background: rgb(255 255 255 / .3); } .soc:active { transform: scale(.94); } .soc svg { width: 19px; height: 19px; stroke-width: 2.1; }
.wa-card { display: flex; gap: 12px; align-items: center; padding: 15px 16px; border-radius: 26px; margin-bottom: 10px; color: #06331f; background: linear-gradient(160deg, #e3fdec, #c4f5d6); box-shadow: 0 16px 30px -18px rgb(18 140 80 / .6); transition: transform .1s; }
.wa-card:active { transform: scale(.985); }
.wa-card .ico { --t: #12924b; background: #fff; } .wa-card .small { color: #2d5b40; } .wa-card > svg { opacity: .7; }
:root[data-mode="dark"] .wa-card { background: linear-gradient(160deg, #0f3b26, #0b2c1d); color: #d9fbe6; } :root[data-mode="dark"] .wa-card .small { color: #a7dcbc; } :root[data-mode="dark"] .wa-card .ico { background: rgb(255 255 255 / .08); --t: #4ade80; }
.soc-in { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 10px; }
.soc-in .ico { width: 40px; height: 40px; border-radius: 14px; }

/* ---------- WhatsApp mock used in docs ---------- */
.phone { width: min(340px, 100%); margin: 0 auto; border-radius: 46px; padding: 12px; background: var(--night); color: #0a1a33; box-shadow: var(--shadow-lg); }
.phone .scr { border-radius: 36px; overflow: hidden; background: #ece5dd; min-height: 520px; display: flex; flex-direction: column; }
.wa-head { background: #0b5e54; color: #fff; padding: 14px 16px; display: flex; gap: 10px; align-items: center; font-weight: 700; }
.wa-body { padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; background: #ece5dd; }
.bub { max-width: 82%; padding: 8px 11px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 1px 1px rgb(0 0 0 / .08); }
.bub.in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.bub.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 4px; }
.bub .opt { margin-top: 7px; border-top: 1px solid #eee; padding-top: 7px; color: #027eb5; font-weight: 600; text-align: center; }

/* ---------- misc ---------- */
.feat { padding: 22px; }
.docgrid > * { min-width: 0; }
.hours [data-day] { flex-wrap: wrap; }
.hours [data-day] input[type=time] { flex: 1; min-width: 100px; max-width: 150px !important; }
@media (max-width: 480px) { .hours [data-day] > span:nth-child(2) { width: auto !important; flex: 1; } .hours [data-day] .muted { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body.ripple::before { position: fixed; opacity: .07; }
:root[data-mode="dark"] .side { background: radial-gradient(120% 60% at 0% 0%, rgb(var(--brand-rgb) / .28), transparent 60%), #0b1937; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .05), 0 30px 60px -30px rgb(0 0 0 / .8); }
:root[data-mode="dark"] .stage, :root[data-mode="dark"] .night, :root[data-mode="dark"] .band-cta, :root[data-mode="dark"] .tile.ink, :root[data-mode="dark"] .price-card.hot { background-color: #081634; }

/* ---------- photos ---------- */
.thumb { width: 58px; height: 58px; border-radius: 18px; overflow: hidden; flex: none; background: var(--field); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-photo { width: 100%; height: 200px; object-fit: cover; border-radius: 26px; margin-bottom: 16px; box-shadow: var(--shadow); }
.chip .pa { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; margin: -4px 2px -4px -8px; }
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; margin: 0 -16px 14px; padding: 2px 16px 6px; }
.gallery::-webkit-scrollbar { display: none; }
.gallery button { position: relative; flex: none; width: 74%; max-width: 320px; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; scroll-snap-align: start; border: 0; padding: 0; background: var(--field); cursor: zoom-in; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery span { font: inherit; font-size: 12.5px; position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 6px 10px; border-radius: 12px; background: rgb(0 0 0 / .45); backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; font-weight: 700; text-align: left; }
.lbx { position: fixed; inset: 0; z-index: 300; background: rgb(2 8 20 / .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px; }
.lbx img { max-width: 100%; max-height: 80dvh; border-radius: 20px; object-fit: contain; }
.lbx p { color: #fff; margin: 12px 0 0; font-weight: 600; text-align: center; }
.lbx .btn { position: absolute; --face: rgb(255 255 255 / .12); color: #fff; box-shadow: none; }
.lbx [data-x] { top: 16px; right: 16px; } .lbx .prev { left: 12px; top: 50%; } .lbx .next { right: 12px; top: 50%; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo-grid > div { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--field); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .btn { position: absolute; top: 6px; right: 6px; --face: rgb(0 0 0 / .5); color: #fff; box-shadow: none; }
.photo-grid label.add { display: grid; place-items: center; text-align: center; cursor: pointer; color: var(--muted); font-weight: 700; font-size: 13px; aspect-ratio: 1; border-radius: 18px; border: 2px dashed var(--soft); }
.pic-pick { display: flex; gap: 12px; align-items: center; }
.pic-pick .pv { width: 72px; height: 72px; border-radius: 22px; background: var(--field) center / cover no-repeat; flex: none; display: grid; place-items: center; color: var(--muted); }
.pic-pick .pv.round { border-radius: 50%; }
.photo-grid .cap { position: absolute; left: 6px; right: 6px; bottom: 6px; width: auto; padding: 6px 10px; font-size: 12.5px; border-radius: 12px; background: rgb(0 0 0 / .45); color: #fff; border: 0; backdrop-filter: blur(8px); }
.photo-grid .cap::placeholder { color: rgb(255 255 255 / .7); }
.side-foot a.row:hover b { text-decoration: underline; }
