/* Shearch — Complexity Software palette: navy #060b1a, blue #2b6ef5, cyan #25c8ff. */
[hidden] { display: none !important; }
:root, html[data-theme="light"] {
  color-scheme: light;
  --brand: #2b6ef5; --brand-600: #1d56d0; --brand-700: #163fa8; --brand-50: #eaf2ff; --brand-100: #d4e4ff;
  --brand-fg: #ffffff; --accent: #0aa5d6; --focus: rgba(43, 110, 245, .45);
  --ink: #0b142c; --muted: #4a5c80; --faint: #6b7c9c; --line: #dbe3f1; --line-strong: #c4d0e5;
  --bg: #f4f7fc; --card: #ffffff; --raise: #f7f9fd; --chip: #edf2fa;
  --good: #137a3d; --good-50: #e5f6ea; --warn: #8a5a00; --warn-50: #fff4dc; --bad: #c2410c; --bad-50: #fff1e8; --info: #0b6aa2; --info-50: #e6f2fa;
  --hero-a: #060b1a; --hero-b: #10204a; --hero-fg: #e9f0ff; --hero-muted: #a9b8d8;
  --topbar: rgba(255, 255, 255, .9); --nav: rgba(255, 255, 255, .96); --backdrop: rgba(6, 11, 26, .5);
  --shadow: 0 1px 2px rgba(11, 20, 44, .06), 0 8px 24px rgba(11, 20, 44, .07);
  --shadow-lg: 0 20px 60px rgba(11, 20, 44, .18);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --brand: #4d8bff; --brand-600: #6aa0ff; --brand-700: #9dc0ff; --brand-50: #12224a; --brand-100: #1a2f5c;
  --brand-fg: #ffffff; --accent: #25c8ff; --focus: rgba(37, 200, 255, .5);
  --ink: #e9f0ff; --muted: #a2b2d3; --faint: #8394b6; --line: rgba(140, 175, 255, .16); --line-strong: rgba(140, 175, 255, .28);
  --bg: #060b1a; --card: #0d1830; --raise: #0b142c; --chip: #13213f;
  --good: #7ee0a3; --good-50: #0f2a1c; --warn: #f5c56e; --warn-50: #3a2e14; --bad: #ff8a65; --bad-50: #3a1a12; --info: #7adcff; --info-50: #0d2a3d;
  --hero-a: #050814; --hero-b: #0e1d44; --hero-fg: #e9f0ff; --hero-muted: #93a4c8;
  --topbar: rgba(6, 11, 26, .85); --nav: rgba(11, 20, 44, .96); --backdrop: rgba(0, 4, 16, .7);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 8, 30, .35);
  --shadow-lg: 0 24px 80px rgba(0, 8, 30, .6);
}
:root { --r: 16px; --r-sm: 10px; --r-xs: 8px; --nav-h: 64px; --top-h: 60px; --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { min-height: 100dvh; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
h1 { font-size: 1.6rem; font-weight: 750; } h2 { font-size: 1.2rem; font-weight: 700; } h3 { font-size: 1.02rem; font-weight: 650; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: .86rem; } .tiny { font-size: .76rem; }
.row { display: flex; align-items: center; gap: 10px; } .row.wrap-row { flex-wrap: wrap; } .between { justify-content: space-between; } .grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; } .stack-sm > * + * { margin-top: 6px; } .stack-lg > * + * { margin-top: 22px; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--topbar); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.topbar .wrap { height: var(--top-h); display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #2b6ef5, #25c8ff); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(43, 110, 245, .35); }
.topnav { display: none; gap: 4px; margin-left: 18px; }
.topnav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 550; font-size: .93rem; }
.topnav a:hover { background: var(--chip); color: var(--ink); text-decoration: none; }
.topnav a[aria-current="page"] { color: var(--ink); background: var(--chip); }
@media (min-width: 900px) { .topnav { display: flex; } }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--ink); position: relative; }
.icon-btn:hover { background: var(--chip); }
.icon-btn .dot { position: absolute; top: 7px; right: 7px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: #e5484d; color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }

/* ---------- bottom nav (phones) ---------- */
.bottomnav { position: fixed; inset: auto 0 0 0; z-index: 45; height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--nav); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--faint); font-size: .72rem; font-weight: 600; }
.bottomnav a:hover { text-decoration: none; }
.bottomnav a[aria-current="page"] { color: var(--brand); }
@media (min-width: 900px) { .bottomnav { display: none; } }

/* ---------- buttons, inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font-weight: 650; cursor: pointer; white-space: nowrap; transition: transform .06s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { background: var(--raise); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-fg); box-shadow: 0 6px 18px rgba(43, 110, 245, .28); }
.btn.primary:hover { background: var(--brand-600); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--chip); }
.btn.danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.btn.sm { min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: .88rem; }
.btn.block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
label.field { display: block; }
label.field > span { display: block; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); outline: none; transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 90px; resize: vertical; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--focus); }
.input[aria-invalid="true"] { border-color: var(--bad); }
.hint { font-size: .8rem; color: var(--faint); margin-top: 5px; }
.err { font-size: .84rem; color: var(--bad); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); margin-top: 1px; flex: none; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line-strong); transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- chips, badges ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font-weight: 600; font-size: .88rem; cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: .74rem; font-weight: 700; background: var(--chip); color: var(--muted); white-space: nowrap; }
.badge.brand { background: var(--brand-50); color: var(--brand-600); }
html[data-theme="dark"] .badge.brand { color: var(--brand-700); }
.badge.good { background: var(--good-50); color: var(--good); }
.badge.warn { background: var(--warn-50); color: var(--warn); }
.badge.bad { background: var(--bad-50); color: var(--bad); }
.badge.info { background: var(--info-50); color: var(--info); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); display: inline-block; }
.status-dot.open { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card.pad { padding: 18px; }
.card.flat { box-shadow: none; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 0 12px; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty svg { margin: 0 auto 12px; color: var(--faint); }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(37, 200, 255, .22), transparent 60%), radial-gradient(900px 400px at 0% 0%, rgba(43, 110, 245, .35), transparent 60%), linear-gradient(180deg, var(--hero-a), var(--hero-b)); color: var(--hero-fg); padding: 34px 0 44px; }
.hero h1 { font-size: clamp(1.7rem, 5.5vw, 2.7rem); font-weight: 800; letter-spacing: -.035em; max-width: 720px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #6aa8ff, #25c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--hero-muted); margin-top: 10px; max-width: 620px; font-size: 1.02rem; }
.searchbox { margin-top: 22px; background: var(--card); color: var(--ink); border-radius: 18px; padding: 6px; display: grid; grid-template-columns: 1fr; gap: 6px; box-shadow: var(--shadow-lg); max-width: 820px; }
.searchbox .sb-field { display: flex; align-items: center; gap: 10px; padding: 0 12px; min-height: 50px; border-radius: 12px; }
.searchbox .sb-field + .sb-field { border-top: 1px solid var(--line); }
.searchbox input, .searchbox select { border: 0; outline: 0; background: transparent; width: 100%; min-height: 48px; font-size: 1rem; }
.searchbox .btn { min-height: 50px; border-radius: 13px; }
@media (min-width: 760px) {
  .searchbox { grid-template-columns: 1.5fr 1fr auto; align-items: center; }
  .searchbox .sb-field + .sb-field { border-top: 0; border-left: 1px solid var(--line); }
}
.hero-stats { display: flex; gap: 22px; margin-top: 20px; color: var(--hero-muted); font-size: .88rem; flex-wrap: wrap; }
.hero-stats b { color: var(--hero-fg); font-size: 1.05rem; margin-right: 4px; }

/* ---------- category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 760px) { .cats { grid-template-columns: repeat(8, 1fr); } }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: .8rem; font-weight: 650; text-align: center; cursor: pointer; }
.cat:hover { border-color: var(--brand); text-decoration: none; }
.cat .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
html[data-theme="dark"] .cat .ci { color: var(--accent); }

/* ---------- shop cards ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.shopcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); transition: box-shadow .15s, transform .15s, border-color .15s; position: relative; }
.shopcard:hover { box-shadow: var(--shadow); border-color: var(--line-strong); text-decoration: none; transform: translateY(-1px); }
.cover { position: relative; height: 112px; display: flex; align-items: flex-end; padding: 12px; color: #fff; overflow: hidden; }
.cover .mono { position: absolute; right: -6px; bottom: -22px; font-size: 92px; font-weight: 800; letter-spacing: -.06em; opacity: .16; line-height: 1; }
.cover-logo { position: absolute; left: 12px; bottom: 12px; width: 92px; height: 68px; background: #fff; border-radius: 12px; display: grid; place-items: center; padding: 8px; box-shadow: 0 6px 16px rgba(6,11,26,.18); }
.cover-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cover .kind-ic { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.cover .badges { display: flex; gap: 6px; flex-wrap: wrap; position: relative; }
.cover .badge { background: rgba(255,255,255,.92); color: #0b142c; }
.cover .badge.book { background: #fff; color: #163fa8; }
.shopcard .body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.shopcard h3 { font-size: 1rem; }
.shopcard .meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .84rem; }
.shopcard .price { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .86rem; }
.shopcard .price b { font-size: .95rem; }
.fav-btn { position: absolute; top: 10px; left: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(6, 11, 26, .35); border: 0; color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.fav-btn[aria-pressed="true"] { color: #ff6b81; background: rgba(255,255,255,.92); }

/* list rows (compact results) */
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 12px; }
.filters { position: sticky; top: var(--top-h); z-index: 30; background: var(--bg); padding: 12px 0 6px; border-bottom: 1px solid transparent; }
.filters.stuck { border-bottom-color: var(--line); }
.search-inline { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 14px; padding: 0 12px; min-height: 48px; }
.search-inline input { border: 0; outline: 0; background: transparent; flex: 1; min-height: 46px; font-size: 1rem; }
.search-inline:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--focus); }

/* ---------- shop page ---------- */
.shop-hero { position: relative; }
.shop-hero .cover { height: 168px; border-radius: 0; }
@media (min-width: 900px) { .shop-hero .cover { height: 220px; border-radius: 0 0 22px 22px; } }
.shop-head { margin-top: -38px; position: relative; z-index: 2; }
.shop-head .card { padding: 18px; }
.shop-title { display: flex; align-items: flex-start; gap: 14px; }
.shop-logo { width: 62px; height: 62px; border-radius: 16px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.4rem; letter-spacing: -.04em; box-shadow: var(--shadow); border: 3px solid var(--card); margin-top: -42px; overflow: hidden; }
.shop-logo.has-logo { background: #fff; padding: 6px; }
.shop-logo.has-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.action { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; border-radius: 12px; background: var(--raise); border: 1px solid var(--line); color: var(--ink); font-size: .78rem; font-weight: 650; cursor: pointer; }
.action:hover { border-color: var(--brand); text-decoration: none; }
.action[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.action[aria-pressed="true"] { color: #e5484d; }
.layout-2 { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 980px) { .layout-2 { grid-template-columns: 1fr 360px; align-items: start; } .layout-2 .side { position: sticky; top: calc(var(--top-h) + 16px); } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; position: sticky; top: var(--top-h); background: var(--bg); z-index: 20; }
.tabs button { flex: none; background: none; border: 0; padding: 12px 14px; font-weight: 650; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.svc-group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 18px 0 6px; }
.svc { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc .grow > b { display: block; font-weight: 650; }
.svc .desc { color: var(--muted); font-size: .84rem; margin-top: 2px; }
.svc .amt { text-align: right; font-weight: 700; white-space: nowrap; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { font-weight: 700; color: var(--brand); }
html[data-theme="dark"] .hours-table tr.today td { color: var(--accent); }
.kv { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--chip); display: grid; place-items: center; flex: none; color: var(--muted); }
.extra { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--warn-50); color: var(--ink); }
.extra .ic { color: var(--warn); }
.verify { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.verify > div { padding: 10px 12px; border-radius: 12px; background: var(--raise); border: 1px solid var(--line); font-size: .84rem; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 35; padding: 10px 16px; background: var(--nav); border-top: 1px solid var(--line); backdrop-filter: blur(12px); display: flex; align-items: center; gap: 12px; }
@media (min-width: 980px) { .sticky-cta { display: none; } }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--info-50); color: var(--ink); font-size: .9rem; }
.notice.warn { background: var(--warn-50); }
.notice.good { background: var(--good-50); }
.notice .ic { flex: none; color: var(--info); margin-top: 1px; }
.notice.warn .ic { color: var(--warn); } .notice.good .ic { color: var(--good); }

/* ---------- booking flow ---------- */
.steps { display: flex; gap: 6px; margin: 4px 0 18px; }
.steps span { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.steps span.on { background: var(--brand); }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink); }
.opt:hover { border-color: var(--line-strong); }
.opt[aria-checked="true"] { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--focus); }
.opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; }
.opt[aria-checked="true"] .radio { border-color: var(--brand); }
.opt[aria-checked="true"] .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.daystrip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; scroll-snap-type: x mandatory; }
.daystrip::-webkit-scrollbar { display: none; }
.day { flex: none; width: 64px; padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); text-align: center; cursor: pointer; scroll-snap-align: start; color: var(--ink); }
.day small { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--faint); }
.day b { display: block; font-size: 1.2rem; margin: 2px 0; }
.day i { display: block; font-style: normal; font-size: .68rem; color: var(--good); font-weight: 650; }
.day[disabled] { opacity: .45; cursor: not-allowed; } .day[disabled] i { color: var(--faint); }
.day[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] i { color: rgba(255,255,255,.85); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .slots { grid-template-columns: repeat(4, 1fr); } }
.slot { min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font-weight: 650; cursor: pointer; color: var(--ink); }
.slot:hover { border-color: var(--brand); }
.slot[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.slot-group { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 14px 0 8px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .93rem; }
.summary .line + .line { border-top: 1px dashed var(--line); }
.summary .total { font-weight: 800; font-size: 1.05rem; }
.success-mark { width: 74px; height: 74px; border-radius: 50%; background: var(--good-50); color: var(--good); display: grid; place-items: center; margin: 8px auto 14px; }
.success-mark.pending { background: var(--warn-50); color: var(--warn); }

/* ---------- booking list ---------- */
.bk { display: flex; gap: 14px; padding: 16px; }
.bk .date-box { width: 58px; flex: none; text-align: center; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); padding: 8px 0; }
html[data-theme="dark"] .bk .date-box { color: var(--brand-700); }
.bk .date-box small { display: block; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.bk .date-box b { display: block; font-size: 1.35rem; line-height: 1.1; }

/* ---------- sheet / modal ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 80; background: var(--backdrop); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease; }
.sheet { width: 100%; max-width: 560px; max-height: 92dvh; overflow: auto; background: var(--card); border-radius: 22px 22px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); animation: up .2s ease; }
@media (min-width: 700px) { .sheet-backdrop { align-items: center; } .sheet { border-radius: 22px; } }
.sheet .grab { width: 40px; height: 4px; border-radius: 99px; background: var(--line-strong); margin: -6px auto 12px; }
@keyframes fade { from { opacity: 0; } } @keyframes up { from { transform: translateY(24px); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; gap: 8px; width: min(440px, 100% - 24px); pointer-events: none; }
@media (min-width: 900px) { .toasts { bottom: 24px; } }
.toast { background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 550; font-size: .92rem; animation: up .2s ease; pointer-events: auto; }
.toast.bad { background: var(--bad); color: #fff; }

/* ---------- skeleton ---------- */
.sk { background: linear-gradient(90deg, var(--chip) 25%, var(--raise) 50%, var(--chip) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- owner ---------- */
.owner-shell { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 1020px) { .owner-shell { grid-template-columns: 230px 1fr; } }
.side-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 1020px) { .side-nav { flex-direction: column; position: sticky; top: calc(var(--top-h) + 16px); } }
.side-nav button { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); font-weight: 650; cursor: pointer; text-align: left; }
.side-nav button:hover { background: var(--chip); color: var(--ink); }
.side-nav button[aria-current="true"] { background: var(--brand-50); color: var(--brand-600); }
html[data-theme="dark"] .side-nav button[aria-current="true"] { color: var(--brand-700); }
.side-nav .count { margin-left: auto; background: #e5484d; color: #fff; border-radius: 99px; font-size: .7rem; padding: 1px 7px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 14px; } .kpi b { display: block; font-size: 1.5rem; letter-spacing: -.02em; } .kpi span { color: var(--muted); font-size: .82rem; }
.dayview { position: relative; overflow-x: auto; }
.dv-grid { display: grid; min-width: 100%; }
.dv-col-head { position: sticky; top: 0; background: var(--card); padding: 8px; font-weight: 700; font-size: .85rem; border-bottom: 1px solid var(--line); text-align: center; z-index: 1; }
.dv-time { font-size: .72rem; color: var(--faint); padding-right: 6px; text-align: right; transform: translateY(-7px); }
.dv-cell { border-top: 1px solid var(--line); border-left: 1px solid var(--line); position: relative; }
.dv-event { position: absolute; left: 3px; right: 3px; border-radius: 8px; padding: 4px 7px; font-size: .74rem; line-height: 1.25; overflow: hidden; cursor: pointer; border: 0; text-align: left; color: var(--ink); background: var(--brand-50); border-left: 3px solid var(--brand); }
.dv-event.pending { background: var(--warn-50); border-left-color: var(--warn); }
.dv-event.completed { background: var(--good-50); border-left-color: var(--good); }
.dv-event.no_show { background: var(--bad-50); border-left-color: var(--bad); }
.dv-event.walkin { border-left-style: dashed; }
.dv-closed { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(45deg, transparent 0 6px, var(--chip) 6px 12px); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 110px; }
.bars div { flex: 1; background: linear-gradient(180deg, var(--accent), var(--brand)); border-radius: 6px 6px 2px 2px; min-height: 2px; position: relative; }
.bars-labels { display: flex; gap: 4px; font-size: .68rem; color: var(--faint); } .bars-labels span { flex: 1; text-align: center; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl th { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 700; }
.hours-edit { display: grid; grid-template-columns: 92px 52px 1fr 1fr; gap: 8px; align-items: center; }
.hours-edit .input { min-height: 40px; padding: 6px 8px; }

/* ---------- footer ---------- */
.footer { margin-top: 48px; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer .cols { display: flex; gap: 22px; flex-wrap: wrap; justify-content: space-between; }
.footer a { color: var(--muted); }
.prose { max-width: 760px; } .prose h2 { margin: 26px 0 8px; } .prose p, .prose li { color: var(--muted); } .prose p + p { margin-top: 10px; } .prose ul { padding-left: 20px; }
.page-head { padding: 22px 0 6px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.desk-only { display: none; } @media (min-width: 900px) { .desk-only { display: inline-flex; } }
/* booking flow additions */
.book { max-width: 720px; padding-top: 14px; padding-bottom: 20px; }
.book-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.book-head h1:focus { outline: none; }
.progress { display: flex; gap: 6px; margin: 4px 0 16px; }
.progress span { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.progress span.on { background: var(--brand); }
.pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink); min-height: 56px; }
.pick:hover { border-color: var(--line-strong); }
.pick.on, .pick[aria-checked="true"] { border-color: var(--brand); background: var(--brand-50); }
.pick .amt { font-weight: 700; white-space: nowrap; }
.day.on { border-color: var(--brand); background: var(--brand); color: #fff; }
.day span { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.slot.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.book-summary { margin-top: 16px; }
.done-ic { width: 74px; height: 74px; border-radius: 50%; background: var(--good-50); color: var(--good); display: grid; place-items: center; margin: 4px auto 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.field .hint { font-weight: 400; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.seg button { border: 0; background: var(--card); padding: 8px 12px; font-weight: 650; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }

.chip-logo { padding-left: 8px; }
.chip-logo img { width: 22px; height: 22px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; flex: none; }
