/* Visual language follows the client's current website (modern-cuts-website.pages.dev). */
@font-face {
  font-family: 'Manrope Variable'; font-weight: 200 800; font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
}
:root {
  --ink: #101112; --cream: #f5f3ee; --bronze: #ba8a57; --bronze-dark: #80572f; --muted: #bbb8b1;
  --line: rgba(255, 255, 255, .19); --paper-line: #d8d4cb; --paper-muted: #595650; --paper-tint: #ece6da;
  --danger: #ec7468; --ok: #6fbf8b;
  --text: var(--cream); --max: 1280px; --gutter: clamp(24px, 3.3vw, 48px); --r: 8px;
  --space: clamp(64px, 8vw, 112px);
}
* { box-sizing: border-box; }
::selection { background: var(--bronze); color: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 16px/1.55 'Manrope Variable', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(3rem, 8.4vw, 4.96rem); font-weight: 750; line-height: .98; letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4.4vw, 2.88rem); font-weight: 750; line-height: 1.05; letter-spacing: -.045em; }
h3 { font-size: 1.5rem; font-weight: 750; letter-spacing: -.025em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.lede { margin-top: 18px; max-width: 34ch; font-size: 1.1rem; color: var(--muted); }
.eyebrow { margin-bottom: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--ink); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand img { height: 56px; width: auto; }
.desktop-nav { display: none; gap: 36px; }
.desktop-nav a { font-size: .95rem; text-decoration: none; opacity: .85; } .desktop-nav a:hover { opacity: 1; color: var(--bronze); }
@media (min-width: 820px) { .desktop-nav { display: flex; } }
@media (max-width: 520px) { .site-header .bar { min-height: 76px; } .brand img { height: 44px; } .site-header .btn { padding: 11px 16px; min-height: 44px; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero-img { position: absolute; inset: 0 0 0 38%; width: 62%; height: 100%; object-fit: cover; opacity: .6; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
@media (max-width: 820px) { .hero-img { inset: 0; width: 100%; opacity: .22; -webkit-mask-image: none; mask-image: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero.small { padding: 48px 0 8px; } .hero.small h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }

/* info strip */
.strip { background: var(--cream); color: var(--ink); }
.strip .wrap { display: grid; }
.strip .wrap > * { display: flex; align-items: center; gap: 10px; padding: 18px 0; text-decoration: none; font-size: .9rem; border-bottom: 1px solid var(--paper-line); }
.strip .wrap > :last-child { border-bottom: 0; }
.strip .wrap > span { display: block; }
.stars { color: var(--bronze); letter-spacing: .1em; }
@media (min-width: 760px) {
  .strip .wrap { grid-template-columns: repeat(3, 1fr); }
  .strip .wrap > * { border-bottom: 0; border-right: 1px solid var(--paper-line); padding: 20px 24px; }
  .strip .wrap > :first-child { padding-left: 0; } .strip .wrap > :last-child { border-right: 0; justify-content: flex-end; padding-right: 0; }
  .strip .wrap > :nth-child(2) { justify-content: center; }
  .strip .wrap > span { text-align: right; }
}

/* sections */
.section { padding: var(--space) 0; }
.section.cream { background: var(--cream); color: var(--ink); --text: var(--ink); --muted: var(--paper-muted); --line: var(--paper-line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { margin-top: 12px; color: var(--muted); }
.link-arrow { font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--bronze); }

/* paper panel = cream card (booking flow, manage, admin) */
.card {
  --text: var(--ink); --muted: var(--paper-muted); --line: var(--paper-line);
  background: var(--cream); color: var(--ink); border-radius: var(--r); padding: clamp(18px, 3vw, 32px); margin: 16px 0;
}
.card h2 { font-size: 1.15rem; letter-spacing: -.01em; color: var(--bronze-dark); margin-bottom: 18px; }
/* a button row after a form/fields needs air; <p> margins are zeroed globally */
.card > p:has(> .btn), .card form > p:has(> .btn) { margin-top: 26px; }
.card p:empty { min-height: 1.4em; }
.muted { color: var(--muted); } .err { color: #b3382c; min-height: 1.4em; } .ok { color: #2f7a4d; }
.card .muted { color: var(--paper-muted); }
.steps { display: flex; gap: 8px; margin: 0 0 22px; }
.steps span { flex: 1; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a867d; }
.steps span::before { content: ''; display: block; height: 3px; margin-bottom: 8px; border-radius: 2px; background: var(--paper-line); transition: background .3s; }
.steps span.on { color: var(--ink); } .steps span.on::before { background: var(--bronze); }
#flow > * { animation: rise .28s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.list { display: grid; gap: 0; margin-top: 8px; }
.row, button.row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left;
  padding: 16px 14px; background: transparent; color: inherit; font: inherit; min-height: 60px;
  border: 0; border-bottom: 1px solid var(--paper-line); border-radius: 0;
}
.list > :last-child { border-bottom: 0; }
.card > .row { border: 1px solid var(--paper-line); border-radius: var(--r); }
button.row { cursor: pointer; transition: background .15s, padding .15s; }
div.row.pick { cursor: pointer; transition: background .15s, padding .15s; }
div.row.pick:hover { background: var(--paper-tint); }
div.row.pick:focus-visible { outline: 2px solid var(--bronze); outline-offset: -2px; }
div.row.pick { flex-wrap: nowrap; } /* a phone rule wraps plain div rows; this one keeps the price on the right */
div.row.pick .svc { flex: 1 1 0; }
div.row.pick > strong:last-child { flex: none; font-variant-numeric: tabular-nums; font-weight: 750; }
button.row:hover { background: var(--paper-tint); }
button.row small, .row small { color: var(--paper-muted); }
button.row > strong:last-child { font-variant-numeric: tabular-nums; font-weight: 750; }
.cat { margin: 26px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .16em; color: var(--ink); }
.cat:first-of-type { margin-top: 10px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: thin; scrollbar-color: var(--paper-line) transparent; }
.chip, .slot {
  flex: none; padding: 10px 16px; background: transparent; color: var(--ink); font: 600 .95rem 'Manrope Variable', Arial, sans-serif; font-variant-numeric: tabular-nums;
  border: 1px solid var(--paper-line); border-radius: var(--r); cursor: pointer; min-height: 46px; transition: border-color .15s, background .15s;
}
.chip:hover, .slot:hover { border-color: var(--bronze); background: var(--paper-tint); }
.chip.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 8px; }
label { display: block; margin: 16px 0 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
input, select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--paper-line); border-radius: var(--r); min-height: 50px;
}
input:hover, select:hover { border-color: #b9b4a8; }
input:focus-visible, button:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px;
  font: 750 15px 'Manrope Variable', Arial, sans-serif; text-decoration: none; cursor: pointer;
  background: var(--bronze); color: var(--ink); border: 1px solid var(--bronze); border-radius: var(--r); transition: filter .15s, transform .15s, background .15s;
}
.btn:hover { filter: brightness(1.08); } .btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--bronze); filter: none; }
.card .btn.ghost { color: var(--ink); border-color: var(--paper-line); }
.btn.danger { background: transparent; color: #b3382c; border-color: #b3382c; }
.btn:disabled { opacity: .5; cursor: wait; }
.cartbar .btn:disabled { cursor: not-allowed; filter: grayscale(.4); } /* Continue before the step has an answer */
.back { background: none; border: 0; color: var(--paper-muted); font: 600 .9rem 'Manrope Variable', Arial, sans-serif; cursor: pointer; padding: 6px 0 14px; }
.back:hover { color: var(--ink); }

/* service rows + hover preview (positioned and animated by preview.js / GSAP) */
.row .svc { display: flex; align-items: center; gap: 14px; min-width: 0; }
/* the cursor-following hover card below is switched off (HOVER_PREVIEW in booking.ts); the services step has its own artwork panel */
.peek {
  position: fixed; left: 0; top: 0; z-index: 60; width: 236px; pointer-events: none; overflow: hidden;
  border-radius: 10px; background: var(--ink); will-change: transform, opacity;
  box-shadow: 0 0 0 1px rgba(186, 138, 87, .35), 0 28px 60px -18px rgba(0, 0, 0, .7);
}
.peek-img { position: relative; aspect-ratio: 4 / 5; background: #1b1c1d; }
.peek-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peek-cap { position: absolute; z-index: 5; inset: auto 0 0 0; padding: 56px 16px 14px; /* above the images, whose z-index GSAP swaps */ background: linear-gradient(transparent, rgba(16, 17, 18, .94) 68%); }
.peek-cap strong { display: block; font-size: 1rem; line-height: 1.25; letter-spacing: -.01em; color: var(--cream); }
.peek-cap span { font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--bronze); }

/* ---- booking flow ---- */
.actions { margin-top: 26px; }
.row-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.card h2 + .sub { margin: -10px 0 14px; }

/* services step: category tabs, artwork on the left, list on the right (stacked on phones) */
.svctabs { display: flex; margin-top: 4px; border-bottom: 1px solid var(--paper-line); }
.svctab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; margin-bottom: -1px; padding: 12px 8px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--paper-muted); font: 650 .9rem 'Manrope Variable', Arial, sans-serif; text-align: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.svctab:hover { color: var(--ink); }
.svctab.on { background: var(--paper-tint); border-bottom-color: var(--bronze); color: var(--ink); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bronze); color: var(--ink); font-size: .72rem; font-weight: 750; }
.count:empty { display: none; }
.svcpanel { display: grid; grid-template-columns: minmax(0, 350px) 1fr; gap: 28px; align-items: start; margin-top: 24px; }
.svcpanel:has(> .svcimg[hidden]) { grid-template-columns: 1fr; }
.svcimg { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--ink); }
.svcimg img { width: 100%; height: 100%; object-fit: cover; }
.svclists .list { margin-top: 0; }
/* time options on a service row, e.g. 10 min / 15 min */
.vopts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.vopt {
  display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 4px 13px 4px 9px; border: 1px solid var(--paper-line); border-radius: 999px;
  background: transparent; color: var(--paper-muted); font: 650 .82rem 'Manrope Variable', Arial, sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.vopt i { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--paper-line); transition: border-color .15s, background .15s; }
.vopt:hover { border-color: var(--bronze); }
.vopt.on { border-color: var(--bronze); background: rgba(186, 138, 87, .12); color: var(--ink); }
.vopt.on i { border-color: var(--bronze); background: radial-gradient(var(--bronze) 0 42%, transparent 46%); }
.vopt:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.svclists .list[hidden] { display: none; } /* .list is display:grid, which would beat the hidden attribute */
@media (max-width: 640px) { .svcpanel { grid-template-columns: 1fr; gap: 20px; } .svctab { padding: 10px 4px; font-size: .8rem; } }

/* selectable service rows */
.tick, .radio { flex: none; width: 24px; height: 24px; border: 2px solid var(--paper-line); background: #fff; transition: background .15s, border-color .15s; }
.tick { display: grid; place-items: center; border-radius: 7px; }
.tick::after { content: ''; width: 6px; height: 11px; margin-top: -2px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.row.sel .tick { background: var(--bronze); border-color: var(--bronze); }
.row.sel .tick::after { transform: rotate(45deg) scale(1); }
.radio { border-radius: 50%; }
.row.sel .radio { border-color: var(--bronze); background: radial-gradient(var(--bronze) 0 44%, #fff 48%); }
button.row.sel, div.row.pick.sel { background: var(--paper-tint); box-shadow: inset 3px 0 0 var(--bronze); }

/* sticky summary bar */
.cartbar { display: none; position: sticky; bottom: 14px; z-index: 6; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 12px 12px 12px 20px; border-radius: 12px; background: var(--ink); color: var(--cream); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55); }
.cartbar.show { display: flex; animation: rise .25s ease both; }
.cartinfo { display: grid; line-height: 1.3; }
.cartinfo span { font-size: .85rem; color: #bbb8b1; }
.cartinfo .cartnote { color: var(--bronze); }
.cartbar .btn { min-height: 46px; padding: 10px 20px; }
/* Continue button with the total on it: "Continue | £10". Fixed text on one line, so it cannot wrap on a narrow phone. */
.cartbar .btn.go { flex: none; white-space: nowrap; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 10px; }
.cartbar .btn.go .gopr { padding-left: 10px; border-left: 1px solid rgba(16, 17, 18, .3); font-size: .82rem; font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; opacity: .75; }
.cartinfo { min-width: 0; }
/* phones: summary on top, the button full width below, so neither is squeezed */
@media (max-width: 460px) {
  .cartbar { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .cartinfo { flex: 1 1 100%; }
  .cartbar .btn.go { flex: 1 1 100%; min-height: 50px; }
}

/* professional step */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 16px; padding: 4px; border: 1px solid var(--paper-line); border-radius: 999px; background: #fff; }
.seg button { padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 650 .88rem 'Manrope Variable', Arial, sans-serif; cursor: pointer; transition: background .15s, color .15s; }
.seg button.on { background: var(--ink); color: var(--cream); }
.seg button:disabled { opacity: .45; cursor: not-allowed; }
.avatar { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bronze); font-weight: 750; font-size: 1.05rem; }
.avatar.any { background: var(--paper-tint); color: var(--ink); }
.ico { display: inline-flex; }
.pro-group { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.pro-group legend { padding: 0; font-weight: 750; }
.pro-group legend small { font-weight: 500; color: var(--paper-muted); }
.pro-group legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pro-group .num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: .75rem; font-weight: 750; }
.pro-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 10px; }
.pcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--paper-line); border-radius: 12px; background: #fff; color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.pcard:hover { border-color: var(--bronze); }
.pcard:active { transform: scale(.98); }
.pcard .avatar { width: 40px; height: 40px; font-size: .88rem; }
.pcard .ptext { display: grid; line-height: 1.3; min-width: 0; }
.pcard small { color: var(--paper-muted); }
.pcard .radio { margin-left: auto; width: 20px; height: 20px; }
.pcard.sel { border-color: var(--ink); background: var(--paper-tint); box-shadow: 0 0 0 1px var(--ink); }
.pcard.sel .radio { border-color: var(--bronze); background: radial-gradient(var(--bronze) 0 44%, #fff 48%); }

/* day tiles + time groups */
.days { position: relative; gap: 10px; padding: 6px 2px 14px; scroll-snap-type: x proximity; } /* positioned, so tile.offsetLeft is measured from the strip, not the picker */
.day { flex: none; display: grid; justify-items: center; gap: 1px; width: 66px; padding: 11px 0; scroll-snap-align: start; border: 1px solid var(--paper-line); border-radius: 12px; background: #fff; color: var(--ink); font-family: inherit; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.day:hover { border-color: var(--bronze); }
.day:active { transform: scale(.96); }
.dow { font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-muted); }
.dnum { font-size: 1.4rem; font-weight: 750; line-height: 1.15; letter-spacing: -.03em; }
.mon { font-size: .72rem; color: var(--paper-muted); }
.day.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.day.on .dow, .day.on .mon { color: var(--bronze); }
.picker { position: relative; }
.dayhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.daymonth { font-weight: 750; letter-spacing: -.01em; }
.calbtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--paper-line); border-radius: 999px; background: #fff; color: var(--ink); font: 650 .86rem 'Manrope Variable', Arial, sans-serif; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.calbtn:hover { border-color: var(--bronze); }
.calbtn[aria-expanded='true'] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.daybar { display: flex; align-items: center; gap: 8px; }
.daybar .days { flex: 1; min-width: 0; }
.daynav, .calnav { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--paper-line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, opacity .15s, transform .15s; }
.daynav:hover:not(:disabled), .calnav:hover:not(:disabled) { border-color: var(--bronze); }
.daynav:active:not(:disabled), .calnav:active:not(:disabled) { transform: scale(.92); }
.daynav:disabled, .calnav:disabled { opacity: .3; cursor: default; }
@media (hover: none) { .daynav { display: none; } } /* touch: swipe the days instead */
.cal { display: none; position: absolute; z-index: 30; top: 46px; right: 0; width: min(330px, 100%); padding: 14px; border: 1px solid var(--paper-line); border-radius: 14px; background: #fff; box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .45); }
.cal.open { display: block; animation: rise .2s ease both; }
.calhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.calhead strong { letter-spacing: -.01em; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; }
.wd { padding: 4px 0; text-align: center; font-size: .7rem; font-weight: 750; letter-spacing: .04em; color: var(--paper-muted); }
.cd { aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 650 .9rem 'Manrope Variable', Arial, sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .12s; }
.cd:hover:not(:disabled) { background: var(--paper-tint); }
.cd.today { box-shadow: inset 0 0 0 1.5px var(--bronze); }
.cd.on { background: var(--ink); color: var(--cream); }
.cd:disabled { color: #c9c4b8; cursor: not-allowed; }
.times { min-height: 64px; margin-top: 4px; }
.tgroup { margin-top: 20px; }
.ttitle { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .9rem; font-weight: 750; letter-spacing: .01em; }
.ttitle .ico { color: var(--bronze-dark); }
.ttitle small { margin-left: auto; font-weight: 500; color: var(--paper-muted); }
.slots { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.slot { padding: 12px 8px; background: #fff; text-align: center; font-weight: 650; border-radius: 10px; }
.slot:hover, .slot.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.empty { padding: 18px 0; }

/* receipt */
.receipt { margin: 14px 0; padding: 4px 18px; border: 1px solid var(--paper-line); border-radius: var(--r); background: #fff; }
.rdate { padding: 14px 0 6px; font-weight: 750; }
.rline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--paper-line); }
.rline small { color: var(--paper-muted); }
.rline.total { font-size: 1.05rem; }
.rline.total strong { font-size: 1.3rem; letter-spacing: -.02em; }
.chip-ok { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--paper-tint); font-size: .78rem; font-weight: 750; }
.rline.ok .chip-ok { background: #dff0e6; color: #1f6b3f; }

/* payment */
.demo { padding: 4px 10px; border-radius: 999px; background: var(--bronze); color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.demo.sm { margin-left: 8px; padding: 2px 8px; font-size: .62rem; vertical-align: 2px; }
.cardform { margin-top: 16px; padding: 20px; border-radius: 14px; color: var(--cream); background: linear-gradient(135deg, #17181a 0%, #2b241d 100%); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); --muted: #bbb8b1; }
.cardform label { color: #bbb8b1; }
.cardform input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--cream); letter-spacing: .06em; cursor: default; }
.cardform input:hover { border-color: rgba(255, 255, 255, .16); }
.cardhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cardhead .brand { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: #bbb8b1; }
.fine { margin-top: 14px; font-size: .78rem; line-height: 1.5; }
.cardform .fine { color: #bbb8b1; }
.payshop { margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: var(--paper-tint); }
.gate { display: none; margin-top: 14px; font-size: .88rem; }
.gate.on { display: block; }
.gatebar { height: 6px; margin-top: 10px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .14); }
.gatebar i { display: block; height: 100%; background: var(--bronze); transform: scaleX(0); transform-origin: 0 50%; }
.btn.pay { min-width: 190px; }
.spin { width: 16px; height: 16px; border: 2px solid rgba(16, 17, 18, .3); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* done */
.done { text-align: center; }
.done .receipt, .done .rline { text-align: left; }
.tickwrap { display: grid; place-items: center; margin: 4px auto 14px; }
.tickwrap .tc { stroke: var(--bronze); }
.tickwrap .tp { stroke: var(--bronze-dark); }
.done h2 { font-size: 1.6rem; color: var(--ink); }
.done .row-btns { justify-content: center; }
fieldset.pro-group .list { margin-top: 8px; }

/* work gallery */
.work { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.work img { flex: none; width: min(78vw, 300px); height: auto; aspect-ratio: 9 / 14; object-fit: cover; border-radius: var(--r); scroll-snap-align: start; background: #1b1c1d; }

/* shop photos: the frame clips the top strip, where the source photos carry a third-party watermark */
.shop-grid { display: grid; gap: 16px; }
.shop-grid img { width: 100%; aspect-ratio: 915 / 440; object-fit: cover; object-position: 50% 100%; border-radius: var(--r); background: #1b1c1d; }
@media (min-width: 820px) { .shop-grid { grid-template-columns: 1fr 1fr; } .shop-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 915 / 340; object-position: 50% 70%; } }

/* reviews */
.reviews { display: grid; gap: 0; margin-top: 32px; }
.review { padding: 24px 0; border-top: 1px solid var(--paper-line); }
.review blockquote { margin: 14px 0 20px; font-size: 1.02rem; }
.review cite { font-style: normal; font-weight: 750; font-size: .9rem; }
.rating { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rating strong { font-size: 3.6rem; font-weight: 750; letter-spacing: -.05em; line-height: 1; }
@media (min-width: 820px) { .reviews { grid-template-columns: repeat(3, 1fr); } .review { padding: 24px 28px 8px; border-top: 0; border-left: 1px solid var(--paper-line); } .review:first-child { border-left: 0; padding-left: 0; } }

/* visit */
.visit { display: grid; gap: 40px; align-items: start; }
.visit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.facts { display: grid; gap: 22px; margin: 28px 0; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.facts dt { font-size: .72rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 4px; }
.facts dd { margin: 0; }
.note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
iframe { width: 100%; height: 280px; border: 0; border-radius: var(--r); margin-top: 28px; filter: grayscale(.5) invert(.92) contrast(.88); }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 28px; }
.site-footer img { height: 56px; width: auto; margin-bottom: 14px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--bronze); }
@media (min-width: 820px) { .site-footer .wrap { grid-template-columns: 1.2fr 1.2fr 1fr; } .site-footer nav { align-items: flex-end; } }

/* admin */
nav.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
nav.tabs button { padding: 11px 16px; background: transparent; color: var(--cream); border: 1px solid var(--line); border-radius: var(--r); font: 600 .9rem 'Manrope Variable', Arial, sans-serif; cursor: pointer; transition: border-color .15s; }
nav.tabs button:hover { border-color: var(--bronze); }
nav.tabs button.on { color: var(--ink); background: var(--bronze); border-color: var(--bronze); }
input:not([type=checkbox]), select { height: 50px; }
.grid2 { display: grid; gap: 12px 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }
.grid2 > * { min-width: 0; }
.grid2 + .grid2, .grid2 + label, .grid2 + .list { margin-top: 20px; }
.grid2.wide2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid2.one { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .grid2.svc { grid-template-columns: 2.6fr 1.5fr .8fr .8fr auto 130px; } } /* long service names need room */
.grid2 label.checks { align-self: end; align-items: center; min-height: 50px; }
.datebar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.datebar input[type=date] { width: auto; flex: 0 1 220px; }
.datebar .btn { min-height: 50px; padding: 0 18px; }
/* admin section heading only: a bare .sub also names the small subtitle paragraphs, which must stay body-sized */
h2.sub { margin: 40px 0 4px; font-size: 1.4rem; letter-spacing: -.02em; color: var(--cream); }
.hours .checks { flex-wrap: nowrap; gap: 6px; }
.hours { display: grid; grid-template-columns: 80px repeat(4, 1fr); gap: 6px; align-items: center; font-size: .85rem; margin-top: 8px; }
.hours input { padding: 8px; min-height: 40px; height: 40px; }
.hours input[type=checkbox] { width: 20px; min-height: 0; height: auto; }
.tcell { margin: 0; } .tcell span { display: none; }
.cancelled { opacity: .5; text-decoration: line-through; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
label.checks { margin: 0; color: var(--ink); }
.checks label { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ink); }
.checks input { width: 18px; min-height: 0; accent-color: var(--bronze-dark); }
@media (max-width: 560px) {
  .hours.muted { display: none; }
  .hours { grid-template-columns: 1fr 1fr; padding: 12px 0 4px; border-top: 1px solid var(--paper-line); }
  .hours > :first-child { grid-column: 1 / -1; font-weight: 700; }
  .tcell span { display: block; margin-bottom: 3px; font-size: .7rem; font-weight: 600; color: var(--paper-muted); }
  .datebar input[type=date] { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { *, ::before { animation: none !important; transition: none !important; } }

/* ---- phones and iPhone ---- */
html { -webkit-text-size-adjust: 100%; } /* stop iOS inflating text in landscape */
button, a, select, input, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; } /* no tap flash, no double-tap zoom delay */
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.site-footer { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
.cartbar { bottom: max(14px, env(safe-area-inset-bottom)); } /* keep clear of the iPhone home indicator */
.cardform .grid2 { grid-template-columns: 1fr 1fr; } /* expiry and CVC always sit side by side */
.steps span { display: none; } /* no progress bars: one "Step n of 5" label on every screen size */
.stepnow { flex: 0 0 100%; font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.checks input { width: 22px; height: 22px; }
label.checks, .checks label { min-height: 44px; }
.hours input[type=checkbox] { width: 22px; height: 22px; }

/* sticky header (96px, 76px on phones) must not cover the heading an anchor link or a step change scrolls to */
section[id], .steps { scroll-margin-top: 110px; }

/* by width as well as pointer: a narrow desktop window or a phone-sized frame reports a fine pointer */
@media (pointer: coarse), (max-width: 820px) {
  .svctab, .back, .calbtn, .seg button, nav.tabs button, .daynav, .calnav, .vopt { min-height: 44px; }
  .back { padding-right: 18px; }
  .site-footer a, .link-arrow, .facts a { display: inline-block; padding: 12px 0; }
  .lede a[data-tel] { padding: 12px 0; } /* stays inline so the sentence does not break; padding still enlarges the tap area */
  .link-arrow { border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; }
  .cd { min-height: 40px; }
}

@media (max-width: 820px) {
  .hours input { font-size: 16px; } /* iOS zooms into any input under 16px */
}

@media (max-width: 560px) {
  /* the professional toggle: two equal buttons, wrapping text allowed */
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 14px; }
  .seg button { min-height: 48px; padding: 10px 8px; border-radius: 10px; line-height: 1.2; text-align: center; }

  /* times: three per row */
  .slots { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .slot { padding: 13px 2px; font-size: .92rem; }

  /* main actions span the width and are easy to hit */
  .actions > .btn, .card > p > .btn:only-child, .btn.pay { width: 100%; }
  .row-btns { flex-direction: column; }
  .row-btns .btn { width: 100%; }

  /* admin: tabs in one swipeable row that stays put under the header */
  nav.tabs { position: sticky; top: 76px; z-index: 8; flex-wrap: nowrap; overflow-x: auto; margin: 12px calc(var(--gutter) * -1); padding: 8px var(--gutter); background: var(--ink); scrollbar-width: none; }
  nav.tabs::-webkit-scrollbar { display: none; }
  nav.tabs button { flex: none; white-space: nowrap; }

  /* admin: a service is four short rows instead of one tall column */
  .card.svc { grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 16px; }
  .card.svc > :nth-child(1), .card.svc > :nth-child(2) { grid-column: 1 / -1; }
  .card.svc label { margin: 0 0 6px; }
  .card.svc label.checks { margin: 0; }

  /* admin: booking rows stack text above the button */
  div.row { flex-wrap: wrap; }
  div.row > .btn { width: 100%; }
}

/* setup questionnaire (/setup): one step per card */
textarea {
  display: block; width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; resize: vertical;
  border: 1px solid var(--paper-line); border-radius: var(--r); min-height: 70px;
}
textarea:hover { border-color: #b9b4a8; }
textarea:focus-visible, input[type=radio]:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.setup-steps { margin: 8px 0 0; }
.setup-step { animation: rise .28s ease both; }
.setup-step .eyebrow { margin-bottom: 6px; }
.setup-step h2 { font-size: 1.5rem; margin-bottom: 8px; }
.setup-step > .muted:first-of-type { margin-bottom: 4px; font-size: 1rem; }
.setup-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.setup-nav .btn { min-width: 130px; }
.save-note { margin-top: 12px; font-size: .85rem; text-align: right; }
.linkbtn { background: none; border: 0; padding: 8px 0; color: var(--bronze-dark); font: 700 .95rem 'Manrope Variable', Arial, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }
.linkbtn.small { font-size: .8rem; font-weight: 600; padding: 4px 0; }
.linkbtn.danger { color: #b3382c; }
.tickline { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; font-size: 1rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.tickline input { width: 22px; height: 22px; min-height: 0; accent-color: var(--bronze-dark); }
.indent { margin: 6px 0 10px 32px; }
.hours.h3 { grid-template-columns: 130px 1fr 1fr; }
.svc-list { display: grid; margin-top: 12px; }
.svc-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 96px 96px 52px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--paper-line); }
.svc-row.off .svc-name, .svc-row.off .svc-num { opacity: .45; }
.svc-row.off .svc-name { text-decoration: line-through; }
.svc-on input { width: 22px; height: 22px; min-height: 0; accent-color: var(--bronze-dark); }
.svc-row input:not([type=checkbox]) { height: 44px; min-height: 44px; padding: 8px 10px; }
.svc-num { display: flex; align-items: center; gap: 4px; margin: 0; font-size: .85rem; color: var(--paper-muted); }
.svc-num input { text-align: right; font-variant-numeric: tabular-nums; }
.svc-note { grid-column: 2 / -1; }
.svc-note label { margin-top: 0; }
.sbarber { padding: 6px 0 22px; border-bottom: 1px solid var(--paper-line); }
.sbarber + .sbarber { padding-top: 18px; }
.sbarber-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.sbarber-head h3 { font-size: 1.1rem; }
fieldset.choice { border: 0; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
fieldset.choice legend { padding: 0; margin-bottom: 10px; font-size: .9rem; font-weight: 700; color: var(--ink); }
fieldset.choice label { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; font-size: 1rem; font-weight: 500; color: var(--ink);
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--r); cursor: pointer; }
fieldset.choice label:has(input:checked) { border-color: var(--bronze-dark); box-shadow: inset 0 0 0 1px var(--bronze-dark); }
fieldset.choice input { width: 20px; height: 20px; min-height: 0; accent-color: var(--bronze-dark); }
.sreview { padding: 14px 0; border-bottom: 1px solid var(--paper-line); }
.sreview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sreview-head h3 { font-size: 1rem; }
.sreview .answers { margin-top: 6px; }
.answers {
  white-space: pre-wrap; overflow-x: auto; margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--paper-tint);
  font: .86rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink);
}
@media (max-width: 560px) {
  .hours.h3 { grid-template-columns: 1fr 1fr; }
  .setup-steps span { font-size: 0; letter-spacing: 0; } /* bars only on phones; the card says "Step n of 7" */
  .svc-row { grid-template-columns: 30px 1fr 1fr; }
  .svc-name { grid-column: 2 / -1; }
  .svc-price { grid-column: 2; } .svc-mins { grid-column: 3; }
  .svc-row .linkbtn.small { grid-column: 2 / -1; justify-self: start; }
  .indent { margin-left: 0; }
  .setup-nav .btn { min-width: 0; flex: 1; }
}

/* black and gold cards like the shop's website (setup form, booking flow, manage page, home page booking section): put class "dark" on the body or a wrapping section. Re-points the paper tokens the cards use at dark equivalents. */
.dark .card {
  --ink: var(--cream); --paper-line: rgba(255, 255, 255, .16); --paper-muted: #bbb8b1; --paper-tint: rgba(255, 255, 255, .05);
  --bronze-dark: var(--bronze); --muted: #bbb8b1; --line: rgba(255, 255, 255, .16);
  background: #17181a; color: var(--cream); border: 1px solid rgba(255, 255, 255, .1); color-scheme: dark;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
}
.dark .card h2 { color: var(--cream); }
.dark .card .eyebrow { color: var(--bronze); }
.dark input, .dark select, .dark textarea { background: rgba(255, 255, 255, .06); color: var(--cream); border-color: rgba(255, 255, 255, .18); }
.dark input:hover, .dark select:hover, .dark textarea:hover { border-color: rgba(186, 138, 87, .6); }
.dark input::placeholder, .dark textarea::placeholder { color: #8d8a84; }
.dark option { background: #17181a; color: var(--cream); }
.dark input:focus-visible, .dark select:focus-visible, .dark textarea:focus-visible,
.dark button:focus-visible, .dark a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.dark .btn { color: #101112; }
.dark .card .btn.ghost { background: transparent; color: var(--cream); border-color: rgba(255, 255, 255, .25); }
.dark .card .btn.ghost:hover { border-color: var(--bronze); }
.dark .linkbtn { color: var(--bronze); }
.dark .linkbtn:hover { color: #d9b07f; }
.dark .linkbtn.danger { color: var(--danger); }
.dark .err { color: var(--danger); } .dark .ok { color: var(--ok); }
.dark .steps span { color: #8d8a84; }
.dark .steps span.on { color: var(--bronze); }
.dark .steps span::before { background: rgba(255, 255, 255, .14); }
.dark .steps span.on::before { background: var(--bronze); }
.dark fieldset.choice label { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .16); }
.dark fieldset.choice label:has(input:checked) { border-color: var(--bronze); box-shadow: inset 0 0 0 1px var(--bronze); background: rgba(186, 138, 87, .1); }
.dark .answers { background: rgba(255, 255, 255, .05); color: var(--cream); }
.dark input[type=time]::-webkit-calendar-picker-indicator { filter: invert(.8); }

/* booking flow and manage page: states that used a dark fill on cream become gold fills on black */
.dark .tick, .dark .radio { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }
.dark .tick::after { border-color: #101112; }
.dark .row.sel .radio, .dark .pcard.sel .radio { border-color: var(--bronze); background: radial-gradient(var(--bronze) 0 44%, #17181a 48%); }
.dark .row.sel .tick { background: var(--bronze); border-color: var(--bronze); }
.dark button.row.sel, .dark div.row.pick.sel { background: rgba(186, 138, 87, .1); }
.dark .seg { background: rgba(255, 255, 255, .05); }
.dark .seg button { color: var(--cream); }
.dark .seg button.on { background: var(--bronze); color: #101112; }
.dark .avatar { background: #101112; color: var(--bronze); border: 1px solid rgba(255, 255, 255, .14); }
.dark .avatar.any { background: rgba(255, 255, 255, .08); color: var(--cream); }
.dark .pro-group .num { background: var(--bronze); color: #101112; }
.dark .pcard { background: rgba(255, 255, 255, .04); color: var(--cream); }
.dark .pcard:hover { border-color: rgba(186, 138, 87, .6); }
.dark .pcard.sel { border-color: var(--bronze); background: rgba(186, 138, 87, .1); box-shadow: 0 0 0 1px var(--bronze); }
.dark .day, .dark .calbtn, .dark .daynav, .dark .calnav, .dark .slot { background: rgba(255, 255, 255, .05); color: var(--cream); }
.dark .day.on, .dark .calbtn[aria-expanded='true'], .dark .cd.on, .dark .chip.on { background: var(--bronze); border-color: var(--bronze); color: #101112; }
.dark .day.on .dow, .dark .day.on .mon { color: #101112; }
.dark .slot:hover, .dark .slot.on { background: var(--bronze); border-color: var(--bronze); color: #101112; }
.dark .cal { background: #1d1e20; border-color: rgba(255, 255, 255, .16); }
.dark .cd { color: var(--cream); }
.dark .cd:disabled { color: #5c5a55; }
.dark .cd:hover:not(:disabled) { background: rgba(255, 255, 255, .08); }
.dark .count, .dark .demo { color: #101112; }
.dark .cartbar { background: #101112; border: 1px solid rgba(255, 255, 255, .14); }
.dark .svcimg, .dark .peek { background: #101112; }
.dark .receipt { background: rgba(255, 255, 255, .04); }
.dark .rline.ok .chip-ok { background: rgba(111, 191, 139, .16); color: #8fd6a9; }
.dark .spin { border-color: rgba(16, 17, 18, .3); border-top-color: #101112; }
.dark .svctab:hover { color: var(--cream); }
.dark .btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.dark .cat { border-bottom-color: rgba(255, 255, 255, .22); }

/* admin bookings calendar */
.cal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cal-head .cal-title { flex: 1; text-align: center; font-size: 1.1rem; }
.cal-head .btn { min-height: 44px; padding: 0 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { padding: 4px 0; text-align: center; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-muted); }
.cal-day { position: relative; display: flex; align-items: flex-start; justify-content: space-between; aspect-ratio: 1 / .8; min-height: 56px; padding: 8px 9px; border: 1px solid var(--paper-line); border-radius: var(--r); background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.cal-day:hover { border-color: var(--bronze); }
.cal-day.other { background: transparent; color: var(--paper-muted); opacity: .6; }
.cal-day.today .cal-n { text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.cal-day.sel { background: var(--ink); border-color: var(--ink); color: var(--cream); opacity: 1; }
.cal-n { font-weight: 750; }
.cal-count { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--bronze); color: var(--ink); font-size: .78rem; font-weight: 800; text-align: center; }
.daypanel { margin-top: 18px; padding: 18px; border: 1px solid var(--paper-line); border-radius: 12px; background: var(--paper-tint); animation: panel-in .22s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } }
.daypanel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.daypanel-head h3 { font-size: 1.15rem; }
.bk-visit { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px; margin-top: 10px; border: 1px solid var(--paper-line); border-radius: var(--r); background: #fff; }
.bk-visit-time { font-weight: 800; line-height: 1.2; } .bk-visit-time small { display: block; font-weight: 500; color: var(--paper-muted); }
.bk-visit-main { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.bk-visit-svc { color: var(--paper-muted); font-size: .92rem; }
.bk-visit-side { display: grid; gap: 8px; justify-items: end; }
@media (max-width: 640px) {
  .cal-grid { gap: 4px; } .cal-day { aspect-ratio: 1; padding: 6px; } .cal-count { min-width: 20px; padding: 1px 5px; font-size: .7rem; }
  .bk-visit { grid-template-columns: 1fr; gap: 8px; } .bk-visit-side { justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
}
