/* Roomful guest site. The base look started from the HIMA design system tokens; other looks are in themes.css.
   Warm stone grounds, one cold accent (glacier) for the water and the act of
   booking, one warm accent (cedar) for the sauna, events and people. */

:root {
  --stone-50: #f8f6f3; --stone-100: #f2efec; --stone-200: #e7e1d9; --stone-300: #d3cbc0; --white: #ffffff;
  --ink: #151412; --ink-soft: #5f5a53;
  --glacier: #1d5a73; --glacier-soft: #d6e6ec; --cedar: #96471d; --cedar-soft: #f1dfd2;
  --moss: #2f6a4a; --moss-soft: #d9ebe0; --amber: #8f6410; --amber-soft: #f3e6c6; --signal: #b2392c;
  --display: "Fahkwang", "Helvetica Neue", Arial, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-s: 4px; --r-m: 10px; --r-l: 18px; --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(21,20,18,0.06), 0 14px 36px -18px rgba(21,20,18,0.28);
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stone-50); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--glacier); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--glacier); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

h1, h2, h3, .display { font-family: var(--display); font-weight: 600; letter-spacing: 0.01em; margin: 0; }
h1 { font-size: clamp(40px, 6.5vw, 72px); line-height: 0.98; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; }
h3 { font-size: 22px; line-height: 1.2; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; margin: 0; }
/* a heading at the right level for the outline that looks like a small title, in every look */
html body h2.h3 { font-size: 22px; line-height: 1.2; }
html body h2.h4, html body h3.h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.3; letter-spacing: 0; text-transform: none; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
p { margin: 0; max-width: 62ch; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }
.mark { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); }
.num { font-family: var(--display); font-weight: 600; font-size: 36px; line-height: 1; }
.hidden { display: none !important; }

/* ---- shell ------------------------------------------------------------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1200px; margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--stone-300); background: var(--stone-100); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 72px; }
.logo { display: flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--r-m); font-weight: 500; font-size: 15px; }
.nav a[aria-current="page"] { background: var(--stone-200); }
.nav a.cta { background: var(--ink); color: var(--white); font-weight: 600; }
.nav .who { font-size: 14px; color: var(--ink-soft); padding: 8px 4px; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--stone-300); border-radius: var(--r-m); padding: 8px 12px; }
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: var(--s4); }
  .nav.open { display: flex; }
  .site-header .wrap { flex-wrap: wrap; }
}
.site-footer { border-top: 1px solid var(--stone-300); background: var(--stone-100); margin-top: 0; }
html[data-theme="grove"] main > .band.stone:last-child { margin-bottom: var(--s7); }      /* the floating green band needs air before the footer */
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s6); padding-top: var(--s7); padding-bottom: var(--s7); font-size: 14px; }
.site-footer h4, html body .site-footer .h4 { margin-bottom: var(--s2); font-size: 16px; }
.site-footer p { color: var(--ink-soft); }
.site-footer a { color: var(--ink); }
.foot-note { grid-column: 1 / -1; color: var(--ink-soft); font-size: 13px; border-top: 1px solid var(--stone-300); padding-top: var(--s4); }
.foot-note .credit { float: right; margin-left: var(--s4); }      /* "Booking by Roomful": quiet, on the right of the small print */
.site-footer .foot-note .credit a { color: inherit; }
@media (max-width: 600px) { .foot-note .credit { float: none; display: block; margin: var(--s2) 0 0; } }

/* ---- buttons & fields -------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: var(--r-m); border: 0; font-weight: 600; font-size: 15px; background: var(--ink); color: var(--white); text-decoration: none; transition: background 120ms ease, transform 120ms ease; }
.btn:hover { background: #2a2825; }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--stone-300); color: var(--ink-soft); cursor: not-allowed; }
.btn.water { background: var(--glacier); }
.btn.water:hover { background: #174a5f; }
.btn.warm { background: var(--cedar); }
.btn.warm:hover { background: #7d3a17; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--stone-300); }
.btn.ghost:hover { background: var(--stone-200); }
.btn.block { width: 100%; }
.btn.sm { padding: 8px 12px; font-size: 14px; }
.mini { padding: 5px 10px; border-radius: var(--r-m); border: 1.5px solid var(--stone-300); background: var(--white); font-size: 13px; font-weight: 600; }
.mini:hover { background: var(--stone-200); }
.mini.danger { color: var(--signal); }
.field { display: grid; gap: 6px; margin-top: var(--s3); }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { padding: 11px 12px; border-radius: var(--r-s); border: 1.5px solid var(--stone-300); background: var(--white); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 46px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; border-radius: var(--r-s); }
.pw-eye:hover, .pw-eye:focus-visible { color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field textarea { min-height: 72px; resize: vertical; }
/* a field that needs fixing says so under itself, in the site's words */
.field-error { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: var(--signal); }
.check + .field-error { margin-top: 4px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--signal); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 460px) { .row2 { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .field { margin-top: 0; }
.form-grid .full { grid-column: 1 / -1; }
.notice { margin-top: var(--s3); padding: 12px 14px; border-radius: var(--r-s); font-size: 14px; background: var(--cedar-soft); color: #5e2c12; }
.notice.ok { background: var(--moss-soft); color: #1d4a33; }
.notice.info { background: var(--glacier-soft); color: #143d4f; }

/* ---- surfaces ---------------------------------------------------------- */
.card { background: var(--white); border-radius: var(--r-l); padding: var(--s5); }
.card.float { box-shadow: var(--shadow-card); }
.panel { background: var(--white); border-radius: var(--r-l); padding: var(--s5); margin-bottom: var(--s4); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.band { padding-top: var(--s8); padding-bottom: var(--s8); }
.band.stone { background: var(--stone-100); border-top: 1px solid var(--stone-300); border-bottom: 1px solid var(--stone-300); }
.band h2 { max-width: 22ch; }
.lead { font-size: 19px; max-width: 46ch; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
@media (max-width: 820px) { .two, .three { grid-template-columns: 1fr; } }
.photo { border-radius: var(--r-l); overflow: hidden; background: var(--stone-200); aspect-ratio: 4 / 5; }
.photo.square { aspect-ratio: 1; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- the six spots ----------------------------------------------------- */
.dots { display: inline-grid; grid-auto-flow: column; gap: var(--s1); }
.dots i { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--stone-300); display: block; }
.dots i.taken { background: var(--glacier); }
.dots i.mine { background: var(--ink); }
.dots.lg i { width: 12px; height: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px var(--s4); font-size: 13px; color: var(--ink-soft); margin: 0 0 var(--s3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: var(--r-pill); display: inline-block; background: var(--stone-300); }
.legend i.taken { background: var(--glacier); }
.legend i.mine { background: var(--ink); }
/* a free spot is an open ring, so it shows on a dark tile or a photo too */
.dots i:not(.taken):not(.mine), .legend i:not(.taken):not(.mine) { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink-soft) 60%, transparent); }
.legend.inline { display: block; margin-top: 10px; }      /* follows the text alignment of its block (centred in some looks) */
.legend.inline span { margin-right: var(--s4); }

/* ---- pills, chips, tables --------------------------------------------- */
.status { display: inline-block; padding: 2px 9px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: var(--stone-200); white-space: nowrap; }
.status.confirmed { background: var(--glacier-soft); color: #143d4f; }
.status.checked_in { background: var(--moss-soft); color: #1d4a33; }
.status.no_show { background: var(--amber-soft); color: #5d4109; }
.status.cancelled { background: var(--stone-200); color: var(--ink-soft); text-decoration: line-through; }
.status.replaced { background: var(--stone-200); color: var(--ink-soft); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--stone-200); font-size: 12px; }
.chip.warm { background: var(--cedar-soft); }
.chip.cold { background: var(--glacier-soft); }
.chip.checked_in { background: var(--moss-soft); }
.chip.no_show { background: var(--amber-soft); }
.chip.cancelled { background: var(--stone-200); text-decoration: line-through; color: var(--ink-soft); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--stone-200); vertical-align: middle; }
th { font-weight: 600; color: var(--ink-soft); font-size: 13px; }
tr:last-child td { border-bottom: 0; }
td .sub { display: block; color: var(--ink-soft); font-size: 13px; }
.table-wrap { overflow-x: auto; }
.actions-cell { display: flex; gap: 4px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--r-pill); font-size: 14px; box-shadow: var(--shadow-card); z-index: 20; }
dialog { border: 0; border-radius: var(--r-l); padding: var(--s5); width: min(600px, calc(100vw - 32px)); box-shadow: var(--shadow-card); background: var(--white); color: var(--ink); }
dialog::backdrop { background: rgba(21, 20, 18, 0.45); }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--s2); margin-top: var(--s4); }

/* ---- home -------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s7); align-items: end; padding-top: var(--s8); padding-bottom: var(--s8); }
.hero > *, .two > *, .account > * { min-width: 0; }
@media (max-width: 820px) { .two { grid-template-columns: minmax(0, 1fr); } .account { grid-template-columns: minmax(0, 1fr); } }
.hero .mark { display: block; margin-bottom: var(--s4); }
.hero .lead { margin-top: var(--s5); }
.hero .ctas { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s6); }
.hero .photo { aspect-ratio: 4 / 5; max-height: 560px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-top: var(--s6); } .hero .photo { aspect-ratio: 1; } }
.tonight { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 8px; background: var(--white); border-radius: var(--r-pill); font-size: 14px; border: 1px solid var(--stone-300); text-decoration: none; color: var(--ink); }
.pill.full { color: var(--ink-soft); }
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.menu a { display: grid; gap: var(--s2); padding: var(--s5); background: var(--white); border-radius: var(--r-l); text-decoration: none; color: var(--ink); border: 1.5px solid transparent; }
.menu a:hover { border-color: var(--stone-300); }
.menu .num { color: var(--glacier); }
.menu .num.warm { color: var(--cedar); }
.menu .price { font-weight: 600; }
.menu .go { font-weight: 600; font-size: 14px; color: var(--glacier); }
.menu .go::after { content: " \2192"; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); margin-top: var(--s6); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps .num { color: var(--cedar); margin-bottom: var(--s3); }
.steps p { color: var(--ink-soft); max-width: 36ch; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin-top: var(--s4); }
.hours dt { color: var(--ink-soft); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.event-list { display: grid; gap: var(--s3); margin-top: var(--s6); }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: var(--s4); align-items: center; background: var(--white); border-radius: var(--r-l); padding: var(--s4); text-decoration: none; color: var(--ink); }
.event .when { font-family: var(--display); font-weight: 600; line-height: 1.05; }
.event .when b { display: block; font-size: 28px; }
.event .when span { font-size: 13px; color: var(--ink-soft); font-family: var(--sans); font-weight: 500; }
.event .what h4, html body .event .what .h4 { margin-bottom: 2px; }
.event .what p { color: var(--ink-soft); font-size: 14px; }
.event .side { text-align: right; font-size: 14px; display: grid; justify-items: end; gap: 2px; }
.event .side b { display: block; font-size: 18px; }
.event .side .event-go { margin-top: 8px; white-space: nowrap; }      /* says the card can be booked; the whole card is the link */
.event:hover .event-go.water { filter: brightness(1.08); }
@media (max-width: 600px) { .event { grid-template-columns: 72px 1fr; } .event .side { grid-column: 2; text-align: left; justify-items: start; } }

/* ---- booking flow ------------------------------------------------------ */
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: var(--s7); padding-top: var(--s7); padding-bottom: var(--s8); align-items: start; }
.book > * { min-width: 0; }
html body h1.book-title { font-size: clamp(32px, 4.5vw, 52px); line-height: 1; }
@media (max-width: 900px) { .book { grid-template-columns: minmax(0, 1fr); } }
.book aside { position: sticky; top: 16px; }
@media (max-width: 900px) { .book aside { position: static; } }
.step { margin-top: var(--s6); }
.step-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--s3); gap: var(--s3); }
.step-title h4, html body .step-title .h4 { font-size: 18px; }
.step-title .hint { font-size: 14px; color: var(--ink-soft); }
.products { display: grid; gap: var(--s2); }
.product { display: grid; grid-template-columns: 80px 1fr auto; gap: var(--s3); align-items: center; width: 100%; text-align: left; padding: 12px 14px; border-radius: var(--r-m); background: var(--stone-200); border: 2px solid transparent; }
.product .min { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1; }
.product .min small { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--ink-soft); display: block; margin-top: 3px; }
.product .name { font-weight: 600; }
.product .blurb { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.product .price { font-weight: 600; white-space: nowrap; }
.product[aria-pressed="true"] { border-color: var(--ink); background: var(--white); }
.seg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.seg button { padding: 10px 0; border-radius: var(--r-m); background: var(--stone-200); border: 2px solid transparent; font-weight: 600; }
.seg button[aria-pressed="true"] { border-color: var(--ink); background: var(--white); }
.seg button:disabled { opacity: 0.4; cursor: not-allowed; }
.days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
/* a wide screen shows every bookable day at once, as a calendar of weeks (Monday first) */
@media (min-width: 701px) { .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; padding-bottom: 0; } .day { min-width: 0; } }
/* a phone keeps the strip; its cut edge fades so it reads as "there is more" */
@media (max-width: 700px) { .days.more-right { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); } }
.day { flex: 0 0 auto; min-width: 60px; padding: 8px 6px; border-radius: var(--r-m); background: var(--stone-200); border: 2px solid transparent; text-align: center; line-height: 1.15; }
.day .dow { font-size: 12px; color: var(--ink-soft); display: block; }
.day .n { font-weight: 700; font-size: 18px; display: block; }
.day .mon { font-size: 13px; color: var(--ink-soft); display: block; }
.day[aria-pressed="true"] { border-color: var(--ink); background: var(--white); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.times .gap { grid-column: 1 / -1; font-size: 13px; color: var(--ink-soft); padding: 6px 0 2px; }
.time { padding: 9px 8px 8px; border-radius: var(--r-m); background: var(--stone-200); border: 2px solid transparent; display: grid; gap: 6px; justify-items: center; }
.time .t { font-weight: 700; font-variant-numeric: tabular-nums; }
.time .left { font-size: 13px; color: var(--ink-soft); }
.time[aria-pressed="true"] { border-color: var(--ink); background: var(--white); }
/* a full time stays readable: flat and muted, not faded as a whole */
.times .time:disabled { cursor: not-allowed; background: transparent; border: 2px dashed var(--stone-300); color: var(--ink-soft); }
.time:disabled .dots { opacity: 0.55; }
.pay { display: grid; gap: 6px; }
.pay label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r-m); background: var(--stone-200); border: 2px solid transparent; cursor: pointer; font-size: 14px; }
.pay label:has(input:checked) { border-color: var(--ink); background: var(--white); }
.pay input { margin: 0; }
.summary { margin-top: var(--s4); padding: 14px; background: var(--stone-100); border-radius: var(--r-m); display: grid; gap: 4px; font-size: 15px; }
.summary .total { display: flex; justify-content: space-between; font-weight: 700; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--stone-300); }
.confirm { display: grid; gap: var(--s4); }
.confirm:focus { outline: none; }
html body .confirm .done-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.confirm .done-lead { font-size: 16px; }
.confirm .done-note { margin: 0; }
.confirm .map-link { font-weight: 500; white-space: nowrap; margin-left: 6px; }
.confirm .cancel-row { max-width: none; margin: 0; padding-top: var(--s3); border-top: 1px solid var(--stone-200); font-size: 14px; color: var(--ink-soft); }
.confirm .cancel-row .linkish { margin-left: 0; }
/* once booked, the picker steps aside and the confirmation is the page */
.book.is-done { grid-template-columns: minmax(0, 620px); justify-content: center; }
.book.is-done #flow, .book.is-done .book-rules { display: none; }
.book.is-done aside { position: static; }
.confirm .code { font-family: var(--display); font-weight: 600; font-size: 44px; letter-spacing: 0.12em; padding: 18px; background: var(--ink); color: var(--white); border-radius: var(--r-m); text-align: center; }
.confirm dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.confirm dt { color: var(--ink-soft); }
.confirm dd { margin: 0; font-weight: 600; }
.confirm .actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.confirm { animation: settle 360ms ease-out both; }
.rules { margin: var(--s4) 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 14px; }
.book-rules { grid-column: 1; }
.book-rules .rules { margin-top: var(--s2); }
.rules li { margin-bottom: 4px; }

/* ---- packages ---------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s3); margin-top: var(--s5); }
.plan { background: var(--white); border-radius: var(--r-l); padding: var(--s5); display: grid; gap: var(--s2); align-content: start; }
.plan .num { font-size: 32px; }
.plan .save { font-size: 13px; color: var(--moss); font-weight: 600; }
.plan p { color: var(--ink-soft); font-size: 14px; }
.plan .btn { margin-top: var(--s2); }
.plan.member { background: var(--ink); color: var(--white); }
.plan { color: var(--ink); }      /* a card sets its own colours, whatever band it sits in */
.plan .muted { color: var(--ink-soft); }
.plan.member { color: var(--white); }
.plan.member p, .plan.member .muted { color: color-mix(in srgb, var(--white) 78%, var(--ink)); }      /* --white is the dark one in a dark look */
.plan.member .btn:not(.water) { background: var(--white); color: var(--ink); }
.plan.member .btn.water { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--white) 55%, transparent); }      /* stays visible where the action colour is close to the card's own */
/* credit packs: one card per session type, a row per pack size */
.pack-group { gap: var(--s3); }
.pack-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; padding-top: var(--s3); border-top: 1px solid var(--stone-200); }
.pack-row .pack-what { display: grid; gap: 2px; font-size: 14px; }
.pack-row .num { font-size: 28px; }
.plan .pack-row .btn { margin-top: 0; flex: none; white-space: nowrap; }
.pack-row { flex-wrap: nowrap; }
.pack-row .pack-what { min-width: 0; }

/* ---- account ----------------------------------------------------------- */
.account { display: grid; grid-template-columns: 260px 1fr; gap: var(--s6); padding-top: var(--s7); padding-bottom: var(--s8); align-items: start; }
@media (max-width: 820px) { .account { grid-template-columns: 1fr; } }
.account-side { display: grid; gap: var(--s3); }
.wallet-item { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--stone-200); font-size: 14px; }
.wallet-item:last-child { border-bottom: 0; }
.wallet-item b { font-family: var(--display); font-size: 22px; }
.booking-row { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--s4); align-items: center; padding: 14px 0; border-bottom: 1px solid var(--stone-200); }
.booking-row:last-child { border-bottom: 0; }
.booking-row .when { font-family: var(--display); font-weight: 600; line-height: 1.05; }
.booking-row .when b { display: block; font-size: 26px; }
.booking-row .when span { font-size: 12px; color: var(--ink-soft); font-family: var(--sans); }
.booking-row .what { font-size: 15px; }
.booking-row .what .sub { display: block; color: var(--ink-soft); font-size: 13px; }
.booking-row .side { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 560px) { .booking-row { grid-template-columns: 60px 1fr; } .booking-row .side { grid-column: 1 / -1; justify-content: flex-start; } }
.auth { max-width: 440px; margin: var(--s8) auto; }
.auth .tabs { display: flex; gap: 6px; margin-bottom: var(--s4); }
.auth .tabs button { flex: 1; padding: 10px; border-radius: var(--r-m); border: 2px solid transparent; background: var(--stone-200); font-weight: 600; }
.auth .tabs button[aria-pressed="true"] { border-color: var(--ink); background: var(--white); }
.demo-box { margin-top: var(--s5); padding: var(--s4); border-radius: var(--r-m); background: var(--stone-100); font-size: 13px; color: var(--ink-soft); }
.demo-box code { background: var(--white); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

/* ---- back office ------------------------------------------------------- */
body.admin { display: grid; grid-template-columns: 224px 1fr; min-height: 100vh; }
@media (max-width: 900px) { body.admin { grid-template-columns: 1fr; } }
.sidenav { background: var(--ink); color: var(--white); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: 4px; }
.sidenav .brand { color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: 0.08em; margin-bottom: var(--s4); display: block; }
.sidenav .brand small { display: block; font-family: var(--sans); font-weight: 500; letter-spacing: 0; font-size: 13px; opacity: 0.7; margin-top: 2px; }
.sidenav button { text-align: left; background: transparent; border: 0; color: rgba(255,255,255,0.78); padding: 10px 12px; border-radius: var(--r-m); font-weight: 600; }
.sidenav button[aria-current="page"] { background: rgba(255,255,255,0.12); color: var(--white); }
.sidenav .spacer { flex: 1; }
.sidenav .foot { font-size: 13px; opacity: 0.8; display: grid; gap: 6px; }
.sidenav .foot a { color: inherit; }
.sidenav .foot .role { display: inline-block; padding: 1px 8px; border-radius: var(--r-pill); background: rgba(255,255,255,0.15); font-size: 11px; text-transform: lowercase; }
@media (max-width: 900px) { .sidenav { flex-direction: row; flex-wrap: wrap; align-items: center; padding: var(--s3) var(--s4); } .sidenav .brand { margin: 0 12px 0 0; } .sidenav .spacer, .sidenav .foot { display: none; } }
.main { padding: var(--s6) var(--gutter) var(--s8); min-width: 0; }
.pagehead { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s5); }
.pagehead .tools { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.pagehead input, .pagehead select { padding: 9px 12px; border-radius: var(--r-m); border: 1.5px solid var(--stone-300); background: var(--white); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-bottom: var(--s4); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--white); border-radius: var(--r-l); padding: 16px 18px; }
.stat .v { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1; }
.stat .l { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.timeline { display: grid; gap: 4px; }
.tl-row { display: grid; grid-template-columns: 56px 1fr; gap: var(--s3); align-items: center; }
.tl-row .t { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink-soft); }
.tl-row.now .t { color: var(--cedar); font-weight: 700; }
.tl-row.gap { color: var(--ink-soft); font-size: 12px; padding: 4px 0; grid-template-columns: 1fr; }
.tl-cells { display: grid; grid-template-columns: repeat(var(--cap, 6), 1fr); gap: 3px; height: 26px; }
.tl-cells i { background: var(--stone-100); border-radius: 3px; display: block; }
.tl-cells i.taken { background: var(--glacier); opacity: 0.85; }
.tl-cells i.event { background: var(--cedar); opacity: 0.85; }
.tl-row .who { grid-column: 2; font-size: 13px; color: var(--ink-soft); margin: -2px 0 4px; display: flex; gap: 6px; flex-wrap: wrap; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 160px; }
.bar { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 6px; text-align: center; font-size: 11px; color: var(--ink-soft); }
.bar b { align-self: end; display: block; background: var(--stone-300); border-radius: 4px 4px 0 0; position: relative; }
.bar.today b { background: var(--glacier); }
.bar b span { position: absolute; top: -18px; left: 0; right: 0; font-size: 11px; color: var(--ink); font-weight: 600; }
.hbar { display: grid; grid-template-columns: 170px 1fr 48px; gap: 10px; align-items: center; font-size: 14px; margin-top: 6px; }
.hbar i { display: block; height: 14px; border-radius: 3px; background: var(--ink); }
.roster { display: grid; grid-template-columns: 140px repeat(7, 1fr); gap: 4px; min-width: 900px; }
.roster .head { font-size: 12px; color: var(--ink-soft); padding: 6px 4px; text-align: center; }
.roster .head.today { color: var(--cedar); font-weight: 700; }
.roster .name { padding: 10px 6px; font-weight: 600; font-size: 14px; background: var(--stone-100); border-radius: var(--r-s); display: flex; align-items: center; }
.roster .cell { background: var(--stone-100); border-radius: var(--r-s); min-height: 52px; padding: 4px; display: grid; gap: 4px; align-content: start; }
.roster .shift { background: var(--white); border: 1.5px solid var(--stone-300); border-radius: var(--r-s); padding: 4px 6px; font-size: 12px; cursor: pointer; text-align: left; line-height: 1.3; }
.roster .shift b { display: block; font-variant-numeric: tabular-nums; }
.roster .shift:hover { border-color: var(--ink); }
.roster .add { background: transparent; border: 1.5px dashed var(--stone-300); border-radius: var(--r-s); color: var(--ink-soft); font-size: 12px; padding: 4px; }
.roster .add:hover { border-color: var(--ink); color: var(--ink); }
.people-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s3); align-items: center; padding: 12px 0; border-bottom: 1px solid var(--stone-200); }
.people-row:last-child { border-bottom: 0; }
.role-pill { display: inline-block; padding: 1px 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; background: var(--stone-200); }
.role-pill.employee { background: var(--cedar-soft); }
.role-pill.admin { background: var(--ink); color: var(--white); }
.inline-edit { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.inline-edit input, .inline-edit select { padding: 6px 8px; border-radius: var(--r-s); border: 1.5px solid var(--stone-300); font-size: 13px; }
.settings-table input { padding: 6px 8px; border: 1.5px solid var(--stone-300); border-radius: var(--r-s); width: 100%; }
.settings-table input[type="number"] { width: 90px; }

/* ---- white label ------------------------------------------------------- */
.wordmark { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: 0.06em; }
.photo.blank { min-height: 320px; border-radius: var(--r-l); background: linear-gradient(150deg, var(--glacier-soft), var(--cedar-soft)); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-top: var(--s3); cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.promo-row, .copy-row { display: flex; gap: 6px; margin-top: 6px; }
.promo-row input, .copy-row input { flex: 1; min-width: 0; padding: 8px 10px; border-radius: var(--r-m); border: 1.5px solid var(--stone-300); font-size: 14px; background: var(--white); }
.promo-row input { text-transform: uppercase; }
.field.promo #promo-msg:empty { display: none; }
.field.promo #promo-msg { margin-top: 6px; }

/* ---- back office: switches, tabs, rows --------------------------------- */
.switch { display: inline-flex; background: var(--stone-200); border-radius: var(--r-m); padding: 3px; }
.switch button { border: 0; background: transparent; padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.switch button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(21,20,18,0.12); }
.tools { display: inline-flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.tabbar { display: flex; gap: 4px; flex-wrap: wrap; margin: var(--s4) 0; border-bottom: 1.5px solid var(--stone-300); }
.tabbar button { border: 0; background: transparent; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--ink-soft); border-bottom: 3px solid transparent; margin-bottom: -1.5px; }
.tabbar button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.row-card { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; padding: var(--s4) 0; border-top: 1px solid var(--stone-200); }
.row-card:first-child { border-top: 0; padding-top: 0; }
tr.off td, .panel.auto.off h3 { color: var(--ink-soft); }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--stone-100); }
.stat .v small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.chip.classpass { background: #e6e0f5; color: #3b2a78; }
pre.mail, pre.code-box { white-space: pre-wrap; word-break: break-word; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--stone-100); border-radius: var(--r-m); padding: var(--s4); margin: var(--s3) 0 0; max-height: 50vh; overflow: auto; }
pre.code-box:empty { display: none; }
dialog.wide { width: min(760px, calc(100vw - 32px)); }
dl.facts { display: grid; grid-template-columns: 96px 1fr; gap: 6px 12px; margin: var(--s4) 0 0; font-size: 14px; }
dl.facts dt { color: var(--ink-soft); }
dl.facts dd { margin: 0; }
.dialog-actions { align-items: center; flex-wrap: wrap; }

/* ---- back office: week calendar ---------------------------------------- */
.cal-panel { padding: var(--s4); }
.cal-legend { display: flex; gap: var(--s4); flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); margin-bottom: var(--s3); align-items: center; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .b { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.cal-legend .b.confirmed { background: var(--glacier); } .cal-legend .b.checked_in { background: var(--moss); }
.cal-legend .b.classpass { background: #5b45b0; } .cal-legend .b.ev { background: var(--cedar); }
.cal-legend .b.shut { background: repeating-linear-gradient(135deg, var(--stone-200) 0 4px, var(--stone-100) 4px 8px); }
.cal { display: grid; grid-template-columns: 52px repeat(7, minmax(118px, 1fr)); column-gap: 6px; min-width: 900px; }
.cal-day { border: 0; background: transparent; text-align: left; padding: 6px 6px 10px; font-size: 13px; color: var(--ink-soft); border-radius: var(--r-s); position: sticky; top: 0; z-index: 3; background: var(--white); }
.cal-day b { color: var(--ink); font-size: 15px; }
.cal-day small { display: block; font-size: 12px; margin-top: 2px; }
.cal-day:hover { background: var(--stone-100); }
.cal-day.today b { color: var(--cedar); }
.cal-axis { position: relative; }
.cal-axis span { position: absolute; right: 6px; transform: translateY(-50%); font-size: 12px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.cal-axis span:first-child { transform: none; }
.cal-axis span:last-child { transform: translateY(-100%); }
.cal-col { position: relative; background: var(--stone-50); border-radius: var(--r-s); overflow: hidden; cursor: copy; }
.cal-col.today { background: color-mix(in srgb, var(--cedar) 9%, var(--stone-50)); }
.cal-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--stone-200); }
.cal-closed { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, var(--stone-200) 0 5px, var(--stone-100) 5px 10px); cursor: default; pointer-events: none; opacity: 0.8; }
.cal-full { position: absolute; left: 0; right: 0; background: var(--stone-200); pointer-events: none; }
.cal-b { position: absolute; border: 0; border-radius: 4px; background: var(--glacier); color: var(--white); font-size: 11px; line-height: 1.2; padding: 3px 4px; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: clip; cursor: pointer; z-index: 1; }
.cal-b b { font-weight: 700; }
.cal-b.checked_in { background: var(--moss); }
.cal-b.classpass { background: #5b45b0; }
.cal-b.classpass.checked_in { background: #3b2a78; }
.cal-b:hover, .cal-b:focus-visible { filter: brightness(1.15); z-index: 2; }
.cal-ev { position: absolute; left: 1px; right: 1px; background: var(--cedar); color: var(--white); border-radius: 4px; font-size: 12px; padding: 4px 6px; overflow: hidden; z-index: 1; pointer-events: none; }
.cal-ev.side { background: var(--cedar-soft); color: #5e2c12; left: auto; width: 46%; opacity: 0.95; }
.cal-now { position: absolute; left: 0; right: 0; border-top: 2px solid var(--signal); z-index: 2; pointer-events: none; }

/* ---- checkout: packages, terms, returning guests ------------------------ */
.pay label { align-items: flex-start; line-height: 1.35; }
.pay label input { margin-top: 3px; flex: none; }
/* the packs are an offer beside the visit, not the visit itself: quieter, under their own small heading */
.pay input[type="radio"] { width: 20px; height: 20px; margin-top: 0; accent-color: var(--glacier); }
.pay label { align-items: center; }
.pay .pay-sub { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.pay label.pack { background: transparent; border: 1.5px solid var(--stone-300); }
.pay label.pack:has(input:checked) { border: 2px solid var(--ink); background: var(--white); }
.pay .pack-text { flex: 1; }
.pay .save-tag { flex: none; font-size: 12px; font-weight: 700; color: var(--moss); background: var(--moss-soft); border-radius: var(--r-pill); padding: 2px 8px; white-space: nowrap; }
.pay label.voucher-opt { background: transparent; }
.commit-line { margin-top: 10px; color: var(--ink-soft); line-height: 1.45; }
.as-user { margin-top: var(--s4); padding: 10px 12px; background: var(--stone-100); border-radius: var(--r-m); }
.linkish { border: 0; background: none; padding: 0; margin-left: 4px; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
.terms p { margin-top: 12px; max-width: 68ch; color: var(--ink-soft); }
.terms h3 { margin-bottom: 8px; }
.row2 > * { min-width: 0; }
.row2 input { width: 100%; min-width: 0; }

/* ---- the app on a phone --------------------------------------------------- */
.soon-bar { position: sticky; top: 0; z-index: 60; background: var(--amber-soft); color: #5d4109; font-size: 14px; font-weight: 600; padding: 10px var(--gutter); text-align: center; }
html.opens-soon #flow .step, html.opens-soon #bookbar, html.opens-soon #details, html.opens-soon .site-header .cta { display: none; }   /* onboarding (#249): nothing to book yet */
.offline-bar { position: sticky; top: 0; z-index: 60; background: var(--amber-soft); color: #5d4109; font-size: 14px; font-weight: 600; padding: 10px var(--gutter); text-align: center; }
.more-btn { display: none; }
html.standalone .site-header { padding-top: env(safe-area-inset-top); }
@media (max-width: 900px) {
  body.admin { display: block; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .sidenav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 2px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.5); }
  .sidenav .brand, .sidenav .spacer { display: none; }
  .sidenav button { order: 2; flex: 1 1 0; min-width: 0; text-align: center; padding: 12px 4px; font-size: 14px; }
  .sidenav .more-btn { display: block; }
  .sidenav button:not([data-tab]), .sidenav .foot { display: none; }
  .sidenav.open { max-height: 80vh; overflow-y: auto; border-radius: 18px 18px 0 0; padding-top: 14px; }
  .sidenav.open button:not([data-tab]) { display: block; order: 1; flex: 1 0 100%; text-align: left; padding: 14px 12px; font-size: 16px; }
  .sidenav.open .foot { display: grid; order: 1; flex: 1 0 100%; gap: 14px; padding: 14px 12px 16px; margin-bottom: 6px; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; opacity: 1; }
  .main { padding-top: calc(var(--s5) + env(safe-area-inset-top)); }
  .pagehead h2 { font-size: 30px; }
  .stat { padding: 12px 14px; }
  .stat .v { font-size: 24px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .lookbar { bottom: 80px; }
}

/* ---- sign in with Google ---- */
.google-box { margin: var(--s4) 0; }
.btn.google { display: flex; align-items: center; justify-content: center; gap: 10px; text-transform: none; letter-spacing: 0; }
.google-box .or { display: flex; align-items: center; gap: 12px; margin: var(--s4) 0 0; color: var(--ink-soft); font-size: 13px; }
.google-box .or::before, .google-box .or::after { content: ""; flex: 1; height: 1px; background: var(--stone-300); }

/* ---- the spot is held while the guest checks out ---- */
.hold-line { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--moss); font-variant-numeric: tabular-nums; }
.hold-line::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 8px; }
.hold-line.soon { color: var(--signal); }

/* ---- two-step sign-in ---- */
.code-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.12em; font-size: 16px; }
.steps-list { margin: 12px 0 4px 20px; display: grid; gap: 10px; font-size: 14px; }
.steps-list li { padding-left: 4px; }
.qr { margin: 10px 0 8px; line-height: 0; }
.qr svg { width: 172px; height: 172px; border-radius: 8px; display: block; }

/* ---- the offer page and its sign-up form ---- */
.auth.offer { max-width: 980px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 440px); gap: var(--s7); align-items: center; }
@media (max-width: 860px) { .auth.offer { grid-template-columns: minmax(0, 1fr); gap: var(--s5); margin-top: var(--s6); } }
.offer-price { margin-top: 24px; font-size: 15px; color: var(--ink-soft); }
.offer-price b { font-family: var(--display); font-size: 40px; font-weight: 600; color: var(--ink); margin-right: 10px; }
.offer-price s { font-size: 20px; margin-right: 12px; }
.offer-price span { display: block; margin-top: 6px; }
.offer-book { margin-top: var(--s5); display: grid; gap: 10px; justify-items: start; max-width: 46ch; }
.consent-box { margin-top: var(--s3); padding: 10px 12px; border: 1px dashed var(--stone-300); border-radius: var(--r-m); }
.consent-box .check { margin-top: 0; }
.consent-box p { margin-top: 6px; }
.field.trap { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.bday { display: flex; gap: 6px; }
.bday select { flex: 1; min-width: 0; }
.auth.offer h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; }

/* ---- questions, the waiting list, moving a booking ---- */
dialog.ask { width: min(420px, calc(100vw - 32px)); }
dialog.ask p { margin-top: 6px; }
.btn.danger { background: var(--signal); color: #fff; border-color: var(--signal); }
.waitlist { margin-top: 14px; font-size: 14px; }
.waitlist form { margin-top: 10px; display: grid; gap: 10px; max-width: 420px; }
.waitlist .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.moving #pay-step, .moving #who, .moving #as-user, .moving .field, .moving #terms-row, .moving #login-hint, .moving #hold-line, .moving #commit-line { display: none !important; }
.time .left.mine { font-weight: 700; }

/* ---- language switch ---- */
.langs { display: inline-flex; gap: 2px; align-items: center; }
.langs button { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 4px 6px; border-radius: 6px; color: inherit; opacity: 0.55; cursor: pointer; }
.langs button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.langs button:hover { opacity: 1; }

/* ---- booking on a phone: fewer fields in the way, the button always in reach ---- */
.more-fields { margin-top: var(--s3); }
.more-fields summary { cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-soft); list-style: none; padding: 6px 0; }
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields[open] summary { display: none; }
.other-sessions { display: block; margin: 8px 0 0; font-size: 14px; }
@media (max-width: 700px) {
  /* one line per session; only the chosen one says more */
  .product { padding: 10px 12px; grid-template-columns: 64px 1fr auto; }
  .product .min { font-size: 20px; }
  .product:not([aria-pressed="true"]) .blurb, .product:not([aria-pressed="true"]) .name + br { display: none; }
}
@media (max-width: 900px) {
  /* until a time is picked there is nothing in the booking card to look at */
  .book.no-pick aside { display: none; }
}
.bookbar { display: none; }
@media (max-width: 900px) {
  .bookbar:not(.hidden) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 12px; align-items: center; justify-content: space-between;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--stone-300); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18); }
  .bookbar span { font-weight: 700; font-size: 17px; white-space: nowrap; }
  .bookbar .btn { flex: 1; min-width: 0; }
  body.has-bookbar { padding-bottom: 76px; }
}
/* ---- privacy page ---- */
.prose { max-width: 720px; }
.prose h2 { margin-top: var(--s6); font-size: 20px; }
/* the legal pages share one scale in every look: a modest title, small section headings */
html body .legal h1 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1; }
html body .legal h2 { font-size: 22px; line-height: 1.2; }
.prose p, .prose li { margin-top: 10px; color: var(--ink-soft); }
.prose ul { margin-left: 20px; }
.prose pre { white-space: pre-wrap; font: inherit; color: var(--ink-soft); margin-top: var(--s4); }

/* ---- the events page as a timetable ---- */
.event-list .day-head, #events .day-head { font-size: 15px; line-height: 1.3; margin: var(--s5) 0 var(--s2); color: var(--ink-soft); font-weight: 600; text-transform: none; letter-spacing: 0; }
#events .day-head:first-child { margin-top: 0; }
.status.pending { background: var(--amber-soft); color: #5d4109; }

/* the studio's Instagram: an icon beside the menu, the handle in the footer */
.nav a.insta { display: inline-flex; align-items: center; justify-content: center; padding: 8px; color: var(--ink-soft); }
.nav a.insta:hover { color: var(--ink); background: var(--stone-200); }
.nav a.insta span { display: none; }
.insta-foot { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 860px) {
  .nav a.insta { justify-content: flex-start; gap: 10px; padding: 8px 12px; color: var(--ink); }
  .nav a.insta span { display: inline; }
}

/* the member area: bookings first on a phone, the account cards beside them on a wide screen */
.account { grid-template-columns: 300px minmax(0, 1fr); column-gap: clamp(24px, 4vw, 48px); }
.account-side > * { min-width: 0; }
.copy-row { display: flex; gap: 6px; margin-top: 12px; }
.copy-row input { min-width: 0; flex: 1; }
@media (max-width: 820px) { .account { grid-template-columns: minmax(0, 1fr); row-gap: var(--s6); } .account-main { order: -1; } .account-head h2 { white-space: nowrap; } }
html body .account h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; margin: 0; }
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.account-main > .account-list + .account-head, .account-main > #events-block, .account-main > #events-block + .account-head { margin-top: 36px; }
.account-list { padding-top: 6px; padding-bottom: 6px; }
.booking-row .side a.mini, .account-head a.mini { text-decoration: none; color: inherit; display: inline-block; }
.booking-row.next { background: var(--glacier-soft); margin: 6px calc(-1 * var(--s3)) 6px; padding: 16px var(--s3); border-radius: var(--r-m); border-bottom: 0; }
.booking-row.next .when b { font-size: 34px; }
.booking-row.next .what { font-size: 16px; font-weight: 600; }
.booking-row.next .what .sub { font-weight: 400; }
.next-label { display: block; font-size: 12px; font-weight: 700; color: var(--glacier); margin-bottom: 2px; }
#past .booking-row.more { display: none; }
#past.open .booking-row.more { display: grid; }
fieldset.pay { border: 0; padding: 0; margin: var(--s3) 0 0; }
.wallet-item .soon, .account-strip .soon { display: inline-block; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--signal); }
.mini.quiet { background: transparent; border-color: transparent; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.mini.quiet:hover { color: var(--ink); background: transparent; }
.account-strip { display: none; }
@media (max-width: 820px) {
  /* the wallet in one line at the top; the next three visits, the rest on request; actions big enough for a thumb */
  .account-strip:not(.hidden) { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin: 0 0 var(--s5); padding: 12px 14px; border-radius: var(--r-m); background: var(--stone-100); border: 1px solid var(--stone-200); font-size: 14px; }
  .account-strip a { margin-left: auto; font-weight: 600; }
  #upcoming:not(.open) .booking-row.more { display: none; }
  .booking-row .side { gap: 12px; }
  .booking-row .side .mini { min-height: 44px; padding: 10px 16px; display: inline-flex; align-items: center; }
}
@media (min-width: 821px) { #upcoming-more { display: none !important; } }
html body .legal h1 { margin-bottom: var(--s4); }
html body .account h2.h4 { font-size: 17px; line-height: 1.3; }
html body .account h2.h3 { font-size: 22px; line-height: 1.2; }
fieldset.pay legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
