/* StylerZone — local mimic of the web app, in the SOFT CATALOGUE design committed by Dmitry on
   feat/web-prototype (packages/tokens/tokens.json, apps/web/src/components/ui/styles.ts, 3 Nov 2026):
   rose accent, pastel tints, pill controls, 12–36 px corners, soft rose shadows, Outfit for headings,
   Figtree for everything else. Light only, as the tokens say. The owner portal (which his branch does
   not touch) is drawn in the same language: a rail on the left, a tab bar on phones. */
:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --inset: #f7f3f5;
  --soft: #fbf8f9;
  --ink: #23181f;
  --ink-body: #4a3e46;
  --ink-muted: #5e5059;
  --ink-faint: #6a5d66;
  --line: #f0e6ea;
  --line-card: #f3ebef;
  --line-strong: #eadfe4;
  --accent: #c93d5e;
  --accent-strong: #8c2440;
  --accent-hover: #b23453;
  --on-accent: #ffffff;
  --accent-soft: #fde8ec;
  --hl-bg: #fff4f1;
  --hl-ink: #8c2440;
  --focus: #c93d5e;
  --ok: #2f7a5e;
  --ok-strong: #1f5e47;
  --ok-soft: #edf7f3;
  --warn: #8a5a00;
  --warn-soft: #fbf1dc;
  --bad: #b42318;
  --bad-soft: #fde8e6;
  --ig: #5b45a8;
  --scrim: rgba(58, 42, 51, 0.45);
  --tint-peach: #fff4f1;
  --tint-lilac: #f5f1fb;
  --tint-mint: #edf7f3;
  --tint-clay: #f4ece7;
  --tint-sky: #eef1ff;
  --tint-sand: #f6eee6;
  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 24px;
  --r-xl: 28px;
  --pill: 999px;
  --sh-card: 0 8px 28px rgba(35, 24, 31, 0.07);
  --sh-soft: 0 6px 20px rgba(35, 24, 31, 0.05);
  --sh-lift: 0 14px 40px rgba(140, 36, 64, 0.12);
  --sh-float: 0 18px 40px rgba(35, 24, 31, 0.14);
  --wrap: 1200px;
  --rail: 236px;
}

* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0; min-height: 100%; display: flex; flex-direction: column;
  font-family: var(--font-sans); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.01em; line-height: 1.15; }
.h1 { font-size: 36px; letter-spacing: -0.8px; line-height: 1.1; }
.hero-title { font-size: 52px; letter-spacing: -1.6px; line-height: 1.05; }
.h2 { font-size: 24px; letter-spacing: -0.4px; }
.h3, h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.page-title { font-size: 30px; font-weight: 600; letter-spacing: -0.8px; margin: 4px 0 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eyebrow { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }
p { margin: 0; }
a { color: var(--accent-hover); text-decoration: none; }
a:hover { color: var(--accent-strong); text-decoration: underline; }
code, .mono { font-family: var(--font-mono); font-size: 12.5px; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.muted { color: var(--ink-muted); }
.faint { color: var(--ink-faint); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.lede { font-size: 18px; color: var(--ink-muted); max-width: 640px; line-height: 1.55; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
main.wrap { flex: 1; padding-top: 32px; padding-bottom: 64px; }
.section { margin-top: 56px; }
.section > .h2 { margin-bottom: 16px; }
.inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid4 { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ic { flex: none; vertical-align: -3px; }
@media (max-width: 960px) { .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } .hero-title { font-size: 34px; letter-spacing: -1px; } .h1 { font-size: 30px; } .page-title { font-size: 26px; } .wrap { padding: 0 16px; } }

/* ---- strip, header, footer ---- */
.strip { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-muted); }
.strip .wrap { display: flex; gap: 14px; align-items: center; justify-content: space-between; min-height: 34px; }
.dots { display: inline-flex; gap: 10px; align-items: center; }
.dot { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; }
.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.dot.ok::before { background: var(--ok); }
.dot.bad::before { background: var(--bad); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.4px; color: var(--ink); white-space: nowrap; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo .mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent); flex: none; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.hsearch { flex: 1; max-width: 600px; margin: 0; }
.site-header .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.site-header .who { color: var(--ink-muted); font-weight: 500; font-size: 14px; white-space: nowrap; }
.salon-pill { display: inline-flex; align-items: center; gap: 9px; padding: 4px 14px 4px 4px; border-radius: var(--pill); background: var(--soft); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px; max-width: 320px; }
.salon-pill:hover { text-decoration: none; border-color: var(--line-strong); color: var(--ink); }
.salon-pill .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.salon-pill .eyebrow { display: block; font-size: 10px; letter-spacing: 0.08em; line-height: 1; margin-bottom: 2px; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--ink-faint); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.site-footer a { color: inherit; }
.crumbs { font-size: 13px; color: var(--ink-faint); margin-bottom: 18px; }
.crumbs a { color: inherit; }

/* ---- the owner portal: a rail on the left (from 960 px), a tab bar under the thumb on phones ---- */
body.in-portal { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; }
body.in-portal > #strip, body.in-portal > #header, body.in-portal > #footer { grid-column: 1 / -1; }
body.in-portal > #portal-nav { grid-column: 1; }
body.in-portal > #main { grid-column: 2; max-width: none; margin: 0; padding: 24px 32px 64px; min-width: 0; }
body.in-portal > #footer { display: none; }
.portal-nav { position: sticky; top: 0; align-self: start; max-height: 100vh; overflow: auto; padding: 18px 14px 24px; background: var(--soft); border-right: 1px solid var(--line); scrollbar-width: thin; }
.rail-group { margin-top: 18px; }
.rail-group:first-child { margin-top: 0; }
.rail-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); padding: 0 12px 6px; }
.rail a, .rail button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 40px; padding: 0 12px; border-radius: 14px; color: var(--ink-body); font-weight: 500; font-size: 14.5px; border: 0; background: none; text-align: left; cursor: pointer; font-family: inherit; }
.rail a .ic, .rail button .ic { color: var(--ink-faint); }
.rail a:hover, .rail button:hover { background: var(--inset); color: var(--ink); text-decoration: none; }
.rail a.on { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
.rail a.on .ic { color: var(--accent); }
.rail .count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.rail-foot { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.rail-foot .who { display: block; padding: 4px 12px 8px; font-size: 12.5px; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabbar { display: none; }
.sheet-wrap { display: none; }
@media (max-width: 959px) {
  body.in-portal { display: flex; }
  body.in-portal > #main { padding: 20px 16px 100px; }
  .portal-nav { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 30; max-height: none; overflow: visible; padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-right: 0; border-top: 1px solid var(--line); }
  .portal-nav .rail, .portal-nav .rail-foot { display: none; }
  .tabbar { display: flex; justify-content: space-around; align-items: stretch; }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 56px; padding: 6px 4px 4px; border-radius: 14px; font-size: 11px; font-weight: 600; color: var(--ink-muted); border: 0; background: none; font-family: inherit; cursor: pointer; }
  .tabbar a:hover { text-decoration: none; }
  .tabbar .on { color: var(--accent-strong); }
  .tabbar .on .ic { color: var(--accent); }
  .sheet-wrap.open { display: block; }
  .sheet-backdrop { position: fixed; inset: 0; background: var(--scrim); z-index: 31; }
  .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 32; background: var(--surface); border-radius: 28px 28px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom, 0px)); box-shadow: var(--sh-float); animation: sz-sheet 220ms cubic-bezier(0.2, 0.8, 0.2, 1); max-height: 82vh; overflow: auto; }
  .sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto 12px; }
  .sheet .rail-label { padding-top: 6px; }
  .sheet a, .sheet button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 12px; border-radius: 14px; color: var(--ink); font-weight: 500; font-size: 15px; border: 0; background: none; text-align: left; font-family: inherit; cursor: pointer; }
  .sheet a .ic, .sheet button .ic { color: var(--ink-faint); }
  .sheet a.on { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
  .sheet a.on .ic { color: var(--accent); }
  .sheet a:hover { text-decoration: none; }
}
@keyframes sz-sheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- buttons, inputs, tags ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: var(--pill);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; text-decoration: none; transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}
.btn:hover { border-color: var(--ink-faint); color: var(--ink); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn.soft { background: var(--accent-soft); border-color: transparent; color: var(--accent-strong); font-weight: 700; }
.btn.soft:hover { background: #fbd9e0; color: var(--accent-strong); }
.btn.sm { min-height: 32px; padding: 0 12px; font-size: 13px; font-weight: 600; }
.btn.danger { color: var(--bad); }
.btn.link { border: 0; background: none; color: var(--accent-hover); padding: 0; min-height: 0; font-weight: 600; }
.btn.link:hover { color: var(--accent-strong); text-decoration: underline; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: default; }
.input, input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], input[type="search"], input[type="url"], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 9px 14px; width: 100%; min-width: 0;
}
input:focus, select:focus, textarea:focus, .input:focus { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--accent); }
textarea { min-height: 90px; border-radius: 16px; }
.searchbar { display: flex; align-items: center; gap: 4px; margin-top: 20px; padding: 6px 6px 6px 8px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--pill); box-shadow: var(--sh-soft); }
.searchbar .input { border: 0; background: transparent; min-height: 44px; padding: 8px 14px; font-size: 16px; border-radius: var(--pill); }
.searchbar .input:focus { outline: 0; background: var(--inset); }
.searchbar .where { flex: 0 0 240px; border-left: 1px solid var(--line); border-radius: 0; padding-left: 18px; }
.searchbar .btn { min-height: 44px; padding: 0 24px; }
.hsearch.searchbar { margin: 0; padding: 4px 4px 4px 6px; box-shadow: none; }
.hsearch .input { min-height: 36px; font-size: 14px; padding: 4px 12px; }
.hsearch .where { flex: 0 0 180px; }
.hsearch .btn { min-height: 36px; padding: 0 14px; }
.hsearch .btn.icon { width: 36px; padding: 0; }
@media (max-width: 640px) { .searchbar { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 8px; } .searchbar .where { flex: 1; border-left: 0; border-top: 1px solid var(--line); padding-left: 14px; border-radius: 0; } .searchbar .btn { margin-top: 4px; } }
.nl { margin-top: 24px; }
.nl .searchbar { margin-top: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-strong); font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.tag.plain { background: var(--inset); color: var(--ink-muted); text-transform: none; letter-spacing: 0; font-size: 11.5px; font-weight: 600; }
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 10px; border-radius: var(--pill); font-size: 12px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.badge.verified { background: var(--accent-soft); color: var(--accent-strong); }
.badge.unverified { background: var(--inset); color: var(--ink-muted); }
.badge.requested { background: var(--inset); color: var(--ink-muted); border-color: var(--line-strong); }
.badge.confirmed { background: var(--tint-sky); color: #2c3a7a; }
.badge.checked_in { background: var(--warn-soft); color: var(--warn); }
.badge.completed { background: var(--ok-soft); color: var(--ok-strong); }
.badge.cancelled, .badge.no_show { background: var(--bad-soft); color: var(--bad); }
.badge.neutral { background: var(--inset); color: var(--ink-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: border-color 120ms ease; }
.chip:hover { border-color: var(--ink-faint); color: var(--ink); text-decoration: none; }
.chip .muted { font-weight: 500; font-size: 12.5px; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--on-accent); }
.chip.on .muted { color: #f6edf1; }
.chip.soft { background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; }
.chip.sm { min-height: 30px; padding: 0 11px; font-size: 13px; }
.chip .ic { color: var(--accent); }
.chip.on .ic { color: var(--on-accent); }
.tiles li a, .tile-link { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line-card); border-radius: 16px; background: var(--surface); color: var(--ink); font-weight: 600; transition: box-shadow 120ms ease, border-color 120ms ease; }
.tile-link:hover { box-shadow: var(--sh-card); color: var(--accent-hover); text-decoration: none; }

/* ---- cards, notices ---- */
.card { background: var(--surface); border: 1px solid var(--line-card); border-radius: 22px; padding: 22px 24px; box-shadow: var(--sh-soft); }
.card.dashed { border-style: dashed; border-color: var(--line-strong); background: transparent; box-shadow: none; }
.card.inset { background: var(--soft); box-shadow: none; }
.card.flat { background: var(--soft); box-shadow: none; border-color: transparent; }
.card.book { box-shadow: var(--sh-lift); }
.card > .h3, .card > h3 { margin-bottom: 10px; }
.card h3 .tag { margin-left: 8px; vertical-align: middle; }
.owners { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--tint-lilac); border-color: transparent; box-shadow: none; padding: 28px; }
.owners h3 { font-family: var(--font-display); font-size: 21px; letter-spacing: -0.3px; margin-bottom: 6px; }
.notice { padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); font-size: 14px; }
.notice.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok-strong); }
.notice.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.notice.bad { background: var(--bad-soft); border-color: transparent; color: var(--bad); }
.notice.soft { background: var(--accent-soft); border-color: transparent; color: var(--accent-strong); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 14px; }
.kv dt { color: var(--ink-faint); }
.kv dd { margin: 0; }
.stat { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.6px; line-height: 1.1; }
.stat-label { font-size: 13px; color: var(--ink-muted); }
.cells { display: grid; gap: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 800px) { .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cell { border-radius: 16px; background: var(--tint-sand); padding: 14px 16px; }

/* ---- results ---- */
.results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr); gap: 24px; align-items: start; margin-top: 18px; }
@media (max-width: 900px) { .results { grid-template-columns: 1fr; } }
.result { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line-card); border-radius: 22px; background: var(--surface); cursor: pointer; transition: box-shadow 120ms ease, border-color 120ms ease; }
.result:hover { box-shadow: var(--sh-card); }
.result.hl { border-color: var(--accent); }
.result:hover h3 { color: var(--accent-hover); }
.result + .result { margin-top: 12px; }
.tile { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 18px; background: var(--tint-peach); color: #e3917a; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tile.t-peach { background: var(--tint-peach); color: #e3917a; }
.tile.t-lilac { background: var(--tint-lilac); color: #a08bd8; }
.tile.t-mint { background: var(--tint-mint); color: #7fb8a0; }
.tile.t-clay { background: var(--tint-clay); color: #c8a08a; }
.tile.t-sky { background: var(--tint-sky); color: #93a3e0; }
.tile.t-sand { background: var(--tint-sand); color: #c9b089; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.big { width: 100%; height: 240px; flex: none; border-radius: 24px; align-items: flex-end; justify-content: flex-end; font-size: 260px; line-height: 0.74; padding-right: 20px; }
.result-body { min-width: 0; }
.result-body h3 { font-size: 18px; font-weight: 600; }
.result-body .meta { color: var(--ink-muted); font-size: 14px; margin-top: 2px; }
.result-body .rating { margin-top: 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.rating-link { color: var(--ink); font-weight: 600; }
.map { width: 100%; min-height: 460px; height: 100%; border: 1px solid var(--line-card); border-radius: 24px; background: var(--inset); position: sticky; top: 16px; box-shadow: var(--sh-soft); overflow: hidden; }
.map.mini { min-height: 180px; height: 180px; position: static; border-radius: 18px; box-shadow: none; }
.map-note { font-size: 12px; color: var(--ink-faint); margin-top: 8px; }
.leaflet-container { font: inherit; border-radius: 24px; }
.pin { display: block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent); background: var(--surface); box-shadow: 0 2px 6px rgba(35, 24, 31, 0.2); }
.pin.claimed { background: var(--accent); }
.leaflet-tooltip { font-family: var(--font-sans); font-size: 12.5px; border-radius: 10px; border-color: var(--line-strong); }
.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.filters .spacer { flex: 1; }
.understood { margin-top: 16px; }
.understood .chips { margin-top: 10px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cat-pills a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--pill); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; box-shadow: var(--sh-soft); }
.cat-pills a .ic { color: var(--accent); }
.cat-pills a:hover { color: var(--accent-hover); text-decoration: none; }
.cat-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 150px; padding: 18px 20px; border-radius: 24px; color: var(--ink); background: var(--tint-peach); position: relative; overflow: hidden; transition: box-shadow 120ms ease; }
.cat-tile:hover { box-shadow: var(--sh-card); text-decoration: none; color: var(--ink); }
.cat-tile b { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.3px; }
.cat-tile .ic { position: absolute; top: 18px; right: 18px; color: var(--accent); }
.hero { background: var(--tint-peach); margin: -32px calc(50% - 50vw) 0; padding: 48px calc(50vw - 50%) 56px; }
.hero-inner { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hero-inner .lede { max-width: 620px; }
.hero-inner .searchbar { width: 100%; text-align: left; margin-top: 4px; }
.hero-inner .counter { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: var(--pill); background: var(--surface); color: var(--accent-strong); font-weight: 600; font-size: 13.5px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head .h2 { margin: 0; }
.section-head .sub { font-size: 15px; color: var(--ink-muted); display: block; margin-top: 4px; }
.see-all { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ---- profile ---- */
.profile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } }
.profile-head { border-radius: 28px; background: var(--soft); padding: 26px 28px; margin-bottom: 24px; }
.profile .h1 { margin: 4px 0 10px; }
.profile-meta { color: var(--ink-muted); font-size: 15px; }
.profile-badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.photo { height: 150px; border-radius: 18px; background: var(--tint-lilac); display: flex; align-items: flex-end; padding: 12px; color: var(--ig); font-size: 12.5px; font-weight: 600; }
.photo.dashed { border: 1px dashed var(--line-strong); background: var(--soft); color: var(--ink-faint); font-weight: 500; }
.services-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.services-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.services-table td.dur { color: var(--ink-muted); }
.services-table td.price { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.posts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.post { aspect-ratio: 1; border-radius: 14px; background: var(--tint-lilac); display: flex; align-items: center; justify-content: center; color: var(--ig); font-size: 12px; font-weight: 600; }
.aside { display: flex; flex-direction: column; gap: 14px; }
.aside .card { padding: 20px 22px; }
.aside .card h3 { font-size: 15px; margin-bottom: 8px; }
.aside .card.book h3 { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.3px; }
.phone-number { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 10px; }
.qr { width: 140px; height: 140px; border: 1px dashed var(--line-strong); border-radius: 14px; background: repeating-conic-gradient(var(--line) 0 25%, var(--surface) 0 50%) 0 0 / 16px 16px; margin-top: 10px; }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 14px; }
.hours dt { color: var(--ink-muted); }
.hours dd { margin: 0; }
.prov { font-size: 12px; color: var(--ink-faint); margin-top: 8px; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }

/* ---- booking flow (drawer) ---- */
.steps { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0 20px; }
.step { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: 13.5px; font-weight: 600; color: var(--ink-muted); background: var(--surface); }
.step.on { background: var(--ink); border-color: var(--ink); color: var(--on-accent); }
.step.done { color: var(--ink); }
.option { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line-card); border-radius: 16px; background: var(--surface); cursor: pointer; width: 100%; text-align: left; font-family: inherit; }
.option:hover { border-color: var(--ink-faint); }
.option.on { border-color: var(--accent); background: var(--accent-soft); }
.option + .option { margin-top: 8px; }
.dates { display: flex; gap: 6px; flex-wrap: wrap; }
.times { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.summary { border-radius: 16px; background: var(--soft); padding: 14px 16px; font-size: 14px; }

/* ---- forms (portal) ---- */
form.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 16px; align-items: end; }
form.form .full { grid-column: 1 / -1; }
label.field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--ink-muted); }
label.field > span { font-weight: 600; color: var(--ink-body); }
label.check { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink); padding: 6px 0; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 16px; height: 16px; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.hours-grid { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 6px 10px; align-items: center; }
.roster-grid { display: grid; grid-template-columns: 56px 60px 1fr 1fr 1fr 1fr; gap: 6px 8px; align-items: center; font-size: 13px; }
.roster-grid .head { color: var(--ink-faint); font-size: 11.5px; font-weight: 600; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }

/* ---- tables ---- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-faint); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--soft); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---- drawer, toasts ---- */
.drawer-backdrop { position: fixed; inset: 0; background: var(--scrim); z-index: 30; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(640px, 96vw); z-index: 31; overflow: auto; background: var(--surface); border-radius: 28px 0 0 28px; box-shadow: var(--sh-float); padding: 24px 28px 48px; }
.drawer.wide { width: min(900px, 96vw); }
.drawer-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.drawer-head h2 { flex: 1; font-size: 24px; letter-spacing: -0.4px; }
.drawer .section { margin-top: 0; }
.drawer .section + .section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
#toasts { position: fixed; left: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 8px; z-index: 40; max-width: 520px; }
.toast { padding: 11px 18px; border-radius: var(--pill); background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; box-shadow: var(--sh-float); }
.toast.error { background: var(--bad); color: #fff; }
.toast.ok { background: var(--ok); color: #fff; }

/* ---- calendar (portal) ---- */
.cal { display: grid; grid-template-columns: 56px repeat(var(--cols, 1), minmax(180px, 1fr)); background: var(--surface); min-width: 100%; }
.cal .head { position: sticky; top: 0; z-index: 4; padding: 9px 12px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); font-weight: 600; font-size: 13.5px; background: var(--surface); }
.cal .head.gutter { border-left: 0; left: 0; z-index: 6; }
.cal .head .sub { display: block; font-weight: 500; color: var(--ink-faint); font-size: 11.5px; }
.cal .gutter-body { position: sticky; left: 0; z-index: 3; background: var(--surface); }
.cal .col { position: relative; border-left: 1px solid var(--line); }
.cal .col.off { background: repeating-linear-gradient(135deg, var(--inset) 0 6px, var(--surface) 6px 12px); }
.cal .hour { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.cal .hour.half { border-top-style: dotted; opacity: 0.5; }
.cal .gutter-body .hour { border-top: 0; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); padding: 2px 8px 2px 0; text-align: right; }
.cal .shade { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, var(--inset) 0 5px, transparent 5px 10px); }
.cal .shade.block { background: repeating-linear-gradient(135deg, var(--line-strong) 0 4px, var(--inset) 4px 8px); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.cal .shade .lbl { position: absolute; left: 6px; top: 2px; font-size: 11px; color: var(--ink-muted); background: var(--surface); padding: 0 5px; border-radius: 6px; }
.cal .appt { position: absolute; left: 4px; right: 4px; border-radius: 10px; border: 1px solid transparent; border-left: 3px solid var(--hue-line, var(--accent)); background: var(--hue-bg, var(--accent-soft)); cursor: pointer; overflow: hidden; font-size: 12px; line-height: 1.3; transition: border-color 120ms ease, filter 120ms ease; }
.cal .appt:hover { border-color: var(--hue-line, var(--accent)); filter: brightness(0.985); }
.cal .appt .seg { position: absolute; left: 0; right: 0; }
.cal .appt .seg.gap { background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(201, 61, 94, 0.08) 4px 8px); }
.cal .appt .txt { position: relative; padding: 4px 7px 4px 6px; display: flex; flex-direction: column; gap: 1px; }
.cal .appt .txt b { display: block; font-weight: 600; font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal .appt.requested { border-left-style: dashed; background: var(--surface); }
.cal .appt.checked_in { --hue-line: var(--warn); --hue-bg: var(--warn-soft); }
.cal .appt.completed { --hue-line: var(--ok); --hue-bg: var(--ok-soft); }
.cal .appt.cancelled, .cal .appt.no_show { --hue-line: var(--bad); --hue-bg: var(--bad-soft); opacity: 0.6; }
.cal .appt.finish { border-left-style: dotted; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 3px 16px; font-size: 14px; max-width: 320px; }
.totals .big { font-weight: 700; font-size: 16px; }
.lines .line { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr auto; gap: 8px; align-items: end; padding: 12px; border: 1px solid var(--line-card); border-radius: 16px; margin-bottom: 8px; background: var(--soft); }
.lines .slots { grid-column: 1 / -1; }
pre.mail { white-space: pre-wrap; font-family: var(--font-mono); font-size: 12.5px; background: var(--soft); padding: 14px 16px; border-radius: 16px; }
.events li { padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.events li:last-child { border-bottom: 0; }
.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }

/* ---- calendar views: segmented switch, week, month, agenda ---- */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--pill); background: var(--inset); }
.seg-btn { border: 0; background: transparent; color: var(--ink-muted); padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: var(--pill); line-height: 1.3; font-family: inherit; }
.seg-btn:hover { color: var(--ink); }
.seg-btn.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-soft); }
.cal.week { grid-template-columns: 56px repeat(var(--cols, 7), minmax(130px, 1fr)); }
.cal .head.day-link { cursor: pointer; }
.cal .head.day-link:hover { color: var(--accent-strong); }
.cal .head.today { background: var(--accent-soft); color: var(--accent-strong); }
.month { border: 1px solid var(--line-card); border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--sh-soft); }
.mhead { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--soft); border-bottom: 1px solid var(--line); }
.mhead div { padding: 9px 10px; font-size: 11.5px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.mcell { background: var(--surface); min-height: 112px; padding: 8px; cursor: pointer; font-size: 12.5px; }
.mcell:hover { background: var(--soft); }
.mcell.other { background: var(--soft); color: var(--ink-faint); }
.mcell.closed { background: repeating-linear-gradient(135deg, var(--inset) 0 6px, var(--surface) 6px 12px); }
.mcell .d { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 4px; }
.mcell.today .d span:first-child { background: var(--accent); color: var(--on-accent); border-radius: var(--pill); padding: 0 7px; }
.mcell .n { font-size: 11px; color: var(--ink-muted); font-weight: 600; }
.mitem { padding: 2px 7px; border-radius: 6px; border-left: 3px solid var(--accent); background: var(--accent-soft); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; }
.mitem.requested { border-left-style: dashed; background: var(--surface); }
.mitem.checked_in { border-left-color: var(--warn); background: var(--warn-soft); }
.mitem.completed { border-left-color: var(--ok); background: var(--ok-soft); }
.mitem.cancelled, .mitem.no_show { border-left-color: var(--bad); background: var(--bad-soft); opacity: 0.7; }
.agenda-day { margin-bottom: 18px; }
.agenda-day.empty h3 { color: var(--ink-faint); font-weight: 500; }
.agenda-day h3 { margin-bottom: 6px; }
.agenda-day table td { padding: 8px 8px; }

/* ---- calendar: avatars, colour-by hues, status cues, icons, now line, ghost slot ---- */
.av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-size: 10px; font-weight: 700; flex: none; }
.cal .head.who { display: flex; gap: 8px; align-items: center; }
.cal .head .avs { display: inline-flex; margin-right: 6px; }
.cal .head .avs .av { margin-right: -6px; border: 2px solid var(--surface); }
.cal .appt.narrow .txt { padding: 2px 4px; font-size: 11px; }
.cal .appt .ics, .agenda .ics, .dcard .ics { font-family: var(--font-mono); font-weight: 500; color: var(--ink-muted); font-size: 11px; margin-left: 4px; }
.hue-0 { --hue-line: #c93d5e; --hue-bg: #fde8ec; }
.hue-1 { --hue-line: #2f7a5e; --hue-bg: #edf7f3; }
.hue-2 { --hue-line: #5b45a8; --hue-bg: #f5f1fb; }
.hue-3 { --hue-line: #b9643e; --hue-bg: #f4ece7; }
.hue-4 { --hue-line: #2c3a7a; --hue-bg: #eef1ff; }
.hue-5 { --hue-line: #8a6a2e; --hue-bg: #f6eee6; }
.hue-6 { --hue-line: #c2552b; --hue-bg: #fff4f1; }
.hue-7 { --hue-line: #7a2e5a; --hue-bg: #f9e6f0; }
.hue-none { --hue-line: var(--line-strong); --hue-bg: var(--surface); }
.cal .appt[class*="hue-"] { background: var(--hue-bg); }
.cal .appt.st-requested { border-left-style: dashed; }
.cal .appt.st-checked_in { border-left-width: 4px; border-left-color: var(--warn); }
.cal .appt.st-completed { opacity: 0.75; }
.cal .appt.st-cancelled, .cal .appt.st-no_show { opacity: 0.55; text-decoration: line-through; }
.cal .now { position: absolute; left: 0; right: 0; border-top: 2px solid var(--bad); z-index: 3; pointer-events: none; }
.cal .now::before { content: ""; position: absolute; left: -4px; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
.cal .now-tag { position: absolute; right: 4px; top: -16px; font-family: var(--font-mono); font-size: 10px; color: var(--bad); background: var(--surface); padding: 0 3px; }
.cal .col[data-action] { cursor: cell; }
.cal .ghost { position: absolute; left: 4px; right: 4px; border: 1px dashed var(--accent); border-radius: 10px; color: var(--accent-strong); font-size: 11px; padding: 1px 6px; background: rgba(253, 232, 236, 0.7); pointer-events: none; z-index: 2; }
.month .dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.month .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: block; }
.month .dots i.completed { background: var(--ok); }
.month .dots i.checked_in { background: var(--warn); }
.month .dots i.requested { background: var(--surface); border: 1px dashed var(--accent); }
.month .dots i.cancelled, .month .dots i.no_show { background: var(--bad); opacity: 0.6; }
/* the phone layout of the calendar */
.phone-cal { position: relative; padding-bottom: 70px; }
.dstrip { display: flex; gap: 4px; margin: 4px 0 8px; }
.dchip { flex: 1; border: 1px solid var(--line-card); border-radius: 16px; background: var(--surface); padding: 6px 0; font-size: 12px; line-height: 1.25; color: var(--ink-muted); cursor: pointer; font-family: inherit; font-weight: 500; }
.dchip.today { border-color: var(--accent); }
.dchip.on { background: var(--ink); border-color: var(--ink); color: var(--on-accent); font-weight: 600; }
.dcard { border: 1px solid var(--line-card); border-left: 4px solid var(--accent); border-radius: 16px; background: var(--surface); padding: 9px 12px; margin-top: 6px; cursor: pointer; }
.dcard b { font-size: 14px; }
.dcard.requested { border-left-style: dashed; }
.dcard.checked_in { border-left-color: var(--warn); }
.dcard.completed { border-left-color: var(--ok); }
.dcard.cancelled, .dcard.no_show { border-left-color: var(--bad); opacity: 0.65; }
.free { text-align: center; padding: 4px 0; }
.fab { position: fixed; right: 20px; bottom: 84px; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: 0; font-size: 28px; line-height: 1; cursor: pointer; z-index: 20; box-shadow: var(--sh-lift); display: grid; place-items: center; }
/* the customer's picker: month plus grouped slots */
.pgrid { display: grid; grid-template-columns: minmax(230px, 290px) 1fr; gap: 18px; margin-top: 8px; }
@media (max-width: 640px) { .pgrid { grid-template-columns: 1fr; } }
.pweek { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 11px; color: var(--ink-faint); text-align: center; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.pcells { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.pcell { display: block; width: 100%; text-align: center; padding: 6px 0; border-radius: var(--pill); font-size: 13px; border: 1px solid transparent; background: transparent; color: var(--ink-faint); font-family: inherit; }
.pcell.open { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; cursor: pointer; }
.pcell.open:hover { border-color: var(--accent); }
.pcell.sel { background: var(--accent); color: var(--on-accent); }
.pcell.closed { background: repeating-linear-gradient(135deg, var(--inset) 0 3px, var(--surface) 3px 6px); }
.pcell.past { color: var(--line-strong); }
.pslots .times { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- offline desk: the bar under the strip, pending and flagged bookings, the review list ---- */
.offline-bar { background: var(--warn-soft); color: var(--warn); border-bottom: 1px solid var(--line); font-size: 13px; }
.offline-bar.online { background: var(--ok-soft); color: var(--ok-strong); }
.offline-bar .wrap { display: flex; align-items: center; gap: 8px; padding: 6px 16px; flex-wrap: wrap; }
.offline-bar .bad { color: var(--bad); }
.cal .appt.pending { border-style: dashed; background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255, 255, 255, 0.55) 6px 12px); }
.cal .appt.attention { border-color: var(--bad); border-left-width: 4px; }
.ic.attention { color: var(--bad); }
.attention-list .row { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; margin-top: 6px; }
.dcard.pending { border-style: dashed; }

/* ---- calendar chrome (2 Nov 2026): one toolbar, popover menus, the date picker, the scrolling grid ---- */
.cal-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.cal-bar .spacer { flex: 1; }
.cal-nav { display: inline-flex; gap: 4px; align-items: center; margin-right: 2px; }
.ibtn { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: var(--pill); font-size: 18px; line-height: 1; cursor: pointer; padding: 0; font-family: inherit; transition: border-color 120ms ease; }
.ibtn:hover { border-color: var(--ink-faint); }
.ibtn.on { background: var(--inset); }
.cal-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.5px; border: 0; background: none; padding: 4px 10px; border-radius: 12px; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; }
.cal-title:hover { background: var(--inset); }
.caret { margin-left: 7px; color: var(--ink-faint); flex: none; }
.btn.sm .caret { margin-left: 2px; }
.btn.sm.on { background: var(--inset); }
.btn.primary.on { background: var(--accent-hover); }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: var(--pill); background: var(--inset); color: var(--ink-muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.who { gap: 6px; padding-left: 3px; }
.pill.who .av { width: 20px; height: 20px; font-size: 9px; }
.sel { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 34px 7px 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a5d66' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 12px center / 15px; color: var(--ink); width: auto; appearance: none; cursor: pointer; }
.sel:hover { border-color: var(--ink-faint); }
.menu-anchor { position: relative; }
.menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 25; min-width: 280px; background: var(--surface); border: 1px solid var(--line-card); border-radius: 20px; padding: 12px; box-shadow: var(--sh-float); animation: menu-in 140ms cubic-bezier(0.2, 0.8, 0.2, 1); text-align: left; transform-origin: top center; }
.menu.right { left: auto; right: 0; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(0.985); } to { opacity: 1; transform: none; } }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 2px; }
.mlabel { font-size: 12.5px; color: var(--ink-muted); font-weight: 600; }
.seg.sm .seg-btn { padding: 4px 10px; font-size: 12.5px; }
.mcheck { display: flex; gap: 8px; align-items: center; font-size: 13.5px; padding: 6px 2px; cursor: pointer; }
.mcheck input { width: auto; }
.mlegend { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--ink-muted); }
.sw::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; border-left: 3px solid var(--hue-line, var(--accent)); background: var(--hue-bg, var(--accent-soft)); }
.sw.requested::before { border-left-style: dashed; background: var(--surface); }
.sw.checked_in::before { --hue-line: var(--warn); --hue-bg: var(--warn-soft); }
.sw.completed::before { --hue-line: var(--ok); --hue-bg: var(--ok-soft); }
.sw.cancelled::before { --hue-line: var(--bad); --hue-bg: var(--bad-soft); }
.sw.block::before { border-left-color: var(--line-strong); background: repeating-linear-gradient(135deg, var(--line-strong) 0 3px, var(--inset) 3px 6px); }
.keys { font-size: 11.5px; color: var(--ink-faint); margin-top: 6px; line-height: 1.5; }
.menu-item { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 12px; cursor: pointer; color: var(--ink); font-family: inherit; }
.menu-item:hover { background: var(--soft); }
.menu-item b { font-size: 14px; }
.menu-item span { font-size: 12px; color: var(--ink-faint); }
.menu-item kbd { font-family: var(--font-mono); font-size: 10.5px; border: 1px solid var(--line-strong); border-radius: 5px; padding: 0 5px; }
.menu.picker { min-width: 300px; padding: 14px; }
.phead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.phead b { font-size: 14px; }
.pfoot { margin-top: 8px; text-align: right; }
.pcell { cursor: pointer; }
.pcell.other { visibility: hidden; }
.pcell:hover { border-color: var(--accent); }
.pcell.today { border-color: var(--accent); }
.pcell.on, .pcell.on:hover { background: var(--accent); color: var(--on-accent); font-weight: 600; border-color: var(--accent); }
.cal-progress { height: 2px; margin: -4px 0 8px; border-radius: 2px; overflow: hidden; position: relative; }
.cal-progress.on::after { content: ""; position: absolute; left: -40%; width: 40%; height: 100%; background: var(--accent); border-radius: 2px; animation: progress 900ms linear infinite; }
@keyframes progress { to { left: 100%; } }
.cal-scroll { position: relative; overflow: auto; max-height: calc(100vh - 196px); min-height: 360px; border: 1px solid var(--line-card); border-radius: 22px; background: var(--surface); scrollbar-width: thin; box-shadow: var(--sh-soft); }
.cal-anim { position: relative; }
.enter-left { animation: enter-left 180ms ease-out; }
.enter-right { animation: enter-right 180ms ease-out; }
.enter-fade { animation: enter-fade 160ms ease-out; }
@keyframes enter-left { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes enter-right { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes enter-fade { from { opacity: 0; } to { opacity: 1; } }
.notice.slim { padding: 8px 14px; font-size: 13px; margin-bottom: 10px; }
.av.lg { width: 28px; height: 28px; font-size: 11px; }
.cal .appt .t { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); line-height: 1.2; }
.cal .appt .s { font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal .appt.short .txt { flex-direction: row; align-items: baseline; gap: 6px; white-space: nowrap; padding-top: 2px; }
.cal .appt.short .s, .cal .appt.narrow .s { display: none; }
.cal .col + .col .now-tag { display: none; }
.cal .head.day-link .dow { display: block; font-size: 10.5px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.cal .head.day-link .dnum { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.1; }
.cal .head.today .dnum { color: var(--accent-strong); }
.mitem .t { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); }
.mono-t { font-family: var(--font-mono); font-size: 12.5px; }
.cal-bar.phone .cal-title { font-size: 17px; white-space: nowrap; }
.cal-bar.phone .ibtn { width: 32px; height: 32px; }
@media (max-width: 640px) { .cal-scroll { max-height: none; } .menu { min-width: 240px; } .menu.picker { min-width: 280px; } }
@media (prefers-reduced-motion: reduce) { .enter-left, .enter-right, .enter-fade, .menu, .sheet { animation: none; } }
@media (max-width: 640px) {
  .strip .wrap { flex-wrap: wrap; }
  .site-header .wrap { min-height: 56px; gap: 10px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .logo .word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hsearch { order: 3; flex-basis: 100%; max-width: none; }
  .site-header .right { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .salon-pill { max-width: 200px; }
  .cal-bar.phone .titlebox { flex: 1; min-width: 0; }
  .cal-bar.phone .cal-title { max-width: 100%; }
  .hero { margin-top: -32px; padding-top: 36px; padding-bottom: 40px; }
  .owners { flex-direction: column; align-items: flex-start; }
}

/* the small drop cap of the header's salon pill */
.tile.sm { flex: none; border-radius: 9px; }

/* the search pill's segments (3 Nov 2026) */
.seg-field { display: flex; align-items: center; flex: 1; min-width: 0; }
.seg-ic { display: inline-grid; place-items: center; color: var(--ink-faint); padding-left: 12px; flex: none; }
.searchbar .seg-field .input { padding-left: 8px; }
.searchbar .seg-field.where { flex: 0 0 260px; }
.hsearch .seg-field.where { flex: 0 0 180px; }
@media (max-width: 640px) { .searchbar .seg-field.where { flex: 1; } }
.search-panel { background: var(--tint-peach); border-radius: 28px; padding: 26px 36px 30px; margin-bottom: 8px; }
.search-panel .h1 { font-size: 34px; }
.search-panel .searchbar { margin-top: 18px; }
@media (max-width: 640px) { .search-panel { padding: 20px 16px 22px; border-radius: 22px; } }
.cta-row .btn.span2 { grid-column: 1 / -1; }
.salon-pill .eyebrow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the calendar bar's right-hand controls wrap as one group */
.cal-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
