/* Booth Math: the site's own look, on top of the Schlosser Studio kit (/studio/studio.css, kit version 2, dark).
   Palette "after-hours bottle green, toner lilac, chrome": the deep green of a salon chair's vinyl with the lights off, clean-towel
   cream for text, steam on the mirror for hints, chrome for the spiral and the mirror frame, and the violet of purple toner as the
   one accent. Checked with the kit's check-accent tool (ventures/_studio/tools/check-accent.mjs): all PASS (see the venture README).
   Every colour below is a variable defined here once; the only hex values outside :root are in the print block at the end. */
:root {
  --ss-bg: #13201a;          /* chair vinyl after hours: the page */
  --ss-surface: #1b2c24;     /* station counter: cards, tools, buy box, footer, inputs */
  --ss-ink: #eef1ea;         /* clean towel: body text */
  --ss-muted: #b4c2b9;       /* steam on the mirror: hints */
  --ss-line: #2f4a3d;        /* appointment-book rules (decorative only) */
  --ss-accent: #c4a6ff;      /* toner lilac: buttons, header stripe, focus ring, booked hours */
  --ss-accent-ink: #13201a;  /* text on the accent */
  --ss-accent-text-dark: #d6c2ff; /* links and accent text */
  --bm-chrome: #c9d1d3;      /* chrome: mirror frames, the spiral (decorative only) */
  --bm-marker: #f4f0ff;      /* dry-erase marker writing in drawings */
  --bm-booked: #2d4a3b;      /* a booked hour in the appointment book (decorative only) */
  --bm-off: #17261f;         /* a day off in the book (decorative only) */
  --bm-hole: #0e1813;        /* the punched holes along the book's top edge (decorative only) */
  --bm-paper: #f6f0e2;       /* the cream appointment-book page on the dark ground (as on the pins): ink on it is 14.79:1 */
  --bm-cell: #fffcf4;        /* the white-ruled cells and inputs on that page */
  --bm-paper-muted: #4d5f55; /* hints on the cream page: 5.99:1 on the paper */
}

html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.ss { font-variant-numeric: tabular-nums; }
body.ss .ss-main { padding-top: 1.25rem; }
.nw { white-space: nowrap; }
.nojs { display: block; }
.js .nojs { display: none; }
.ss-skip:focus { z-index: 50; }

/* Tap height: the product name and the studio badge in the header are 44px tall to tap (the kit sets them 28px and 22px). */
.ss-product, .ss-by { display: inline-flex; align-items: center; min-height: 44px; }

/* header: on phones the studio badge shares the first line with the name. Nav links are 44px tall to tap; the current page
   and hover mark is an underline on the words, not a border at the foot of the tall box. */
.ss-nav { gap: 0 1.15rem; }
.ss-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; border-bottom: 0; text-decoration: underline 2px transparent; text-underline-offset: .3em; }
.ss-nav a:hover, .ss-nav a[aria-current="page"] { text-decoration-color: var(--ss-accent); }
@media (max-width: 47.99rem) {
  .ss-header__in { gap: .15rem .9rem; padding-block: .55rem .4rem; }
  .ss-product { order: 1; margin-right: 0; flex: 1 1 auto; }
  .ss-by { order: 2; }
  .ss-nav { order: 3; flex: 1 1 100%; gap: 0 .95rem; font-size: .9rem; }
}

/* The workbook pill: the first link of the nav on every page, in the site's own accent (the kit is untouched). It replaces the plain
   "Workbook" link, so the nav has the same five links. It is a 44px tap target at every width (the rule above), and the header keeps
   the rows it had: one label is shown at a time, "Get the workbook" where the nav has room and "Workbook" where it does not (phones
   under 30rem, where the five links just fit one row at 390px, and 48rem to 52rem, where the product name, the nav and the studio
   badge share one line). */
.ss-nav a.nav-buy { padding-inline: 1rem; border-radius: 999px; background: var(--ss-accent); color: var(--ss-accent-ink); font-weight: 700; line-height: 1.2; text-decoration: none; transition: filter .15s ease-out; }
.ss-nav a.nav-buy:hover { filter: brightness(1.08); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .ss-nav a.nav-buy { transition: none; } }
.nav-buy__s { display: none; }
@media (max-width: 29.99rem), (min-width: 48rem) and (max-width: 51.99rem) { .nav-buy__l { display: none; } .nav-buy__s { display: inline; } }
@media (max-width: 29.99rem) { .ss-nav { column-gap: .55rem; } .ss-nav a.nav-buy { padding-inline: .65rem; } }

/* ------------------------------------------------------------------ the binding band: lilac, with plain wire loops (the pins' band) */
.bm-bind { background: var(--ss-accent); border-bottom: 4px solid var(--ss-bg); line-height: 0; }
.bm-bind--rule { margin-top: 1.2rem; border-radius: var(--ss-radius-lg); border-bottom: 0; }
.tool.tool--bound { padding-top: 0; overflow: hidden; }
.tool--bound > .bm-bind { margin: 0 calc(-1 * var(--tool-px)) 1rem; }

/* ------------------------------------------------------------------ hero */
.hero-home { padding-block: 1rem .25rem; }
.hero-home h1 { font-size: clamp(2.9rem, 1.7rem + 4.4vw, 4.6rem); line-height: .94; letter-spacing: .005em; margin-bottom: .3em; }
.hero-home .ss-lede { margin-bottom: 0; max-width: 40rem; font-size: 1.25rem; text-wrap: pretty; }
.hero-tool { padding-block: 1rem .25rem; }
.hero-tool .ss-lede { max-width: 46rem; margin-bottom: 0; text-wrap: pretty; }
.crumb { font-size: .9rem; color: var(--ss-muted); margin: 0 0 .5rem; }
.crumb a { color: var(--ss-muted); }

/* ------------------------------------------------------------------ the tools: a keypad column of fields beside the result */
.tool { --tool-px: 1.1rem; background: var(--ss-surface); border: 1px solid var(--ss-line); border-radius: var(--ss-radius-lg); padding: 1.1rem var(--tool-px) .9rem; margin-block: 1.1rem; }
.tool h2 { font-size: 1.7rem; margin-bottom: .7rem; }
.tool__body { display: grid; gap: 1.1rem 2rem; }
@media (min-width: 52rem) { .tool__body { grid-template-columns: minmax(15rem, 19.5rem) minmax(0, 1fr); align-items: start; } .tool { --tool-px: 1.6rem; padding: 1.4rem var(--tool-px) 1.1rem; } }
.tool__fields { display: grid; gap: .8rem; align-content: start; background: var(--ss-bg); border: 1px solid var(--ss-line); border-radius: var(--ss-radius); padding: .9rem; }
.tool__fields input[type="number"], .tool__fields select { background: var(--ss-surface); }
.pf { margin: 0; padding: 0; border: 0; min-width: 0; }
.pf label, .pf legend { display: block; font-size: .85rem; font-weight: 600; color: var(--ss-muted); margin: 0 0 .25rem; padding: 0; line-height: 1.25; }
.pf input[type="number"], .pf select { width: 100%; box-sizing: border-box; }
.pf--pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; }
.pf--pair .pf { min-width: 0; }
.pf--amt .amt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; }
.pf--amt select { width: auto; }
.pf__hint { margin: .25rem 0 0; font-size: .8rem; line-height: 1.35; color: var(--ss-muted); }
.field-msg { margin: 0; font-size: .9rem; color: var(--ss-ink); background: var(--ss-surface); border-left: 4px solid var(--ss-accent); padding: .4rem .65rem; border-radius: 4px; }
.field-msg[hidden] { display: none; }
.tool__out { display: grid; gap: 1rem 1.6rem; align-items: start; min-width: 0; }
.res { min-width: 0; }
.big { font-family: var(--ss-display); font-weight: 700; line-height: .95; margin: 0 0 .5rem; color: var(--ss-link); }
.big__n { font-size: clamp(3.4rem, 2.6rem + 4vw, 5.2rem); letter-spacing: .005em; }
.big__n--word { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.2rem); }
.big__tax { display: block; margin-top: .35rem; font-family: var(--ss-font); font-size: .95rem; font-weight: 600; line-height: 1.2; color: var(--ss-muted); }
.big__u { font-size: 1.6rem; color: var(--ss-muted); font-weight: 600; }
.res__line { margin: 0 0 .6rem; font-size: 1.05rem; overflow-wrap: break-word; max-width: 38rem; }
.res__sub { margin: 0; font-size: .9rem; color: var(--ss-muted); max-width: 38rem; }
.res__sub:empty { display: none; }
/* The not-advice line: one small calm line right under its tool, not a box. */
.ss-note.tool__note { background: none; border: 0; border-radius: 0; padding: 0; margin: .9rem 0 .35rem; max-width: 46rem; font-size: .85rem; line-height: 1.45; color: var(--ss-muted); }
.offer-line { margin: .25rem 0 0; font-size: .95rem; color: var(--ss-muted); }
/* the one line under the home page's first lines: the name and price, what the file holds, one button (on a phone the button drops under the words) */
.bm-offer { margin: 1rem 0 0; max-width: 46rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: .95rem; line-height: 1.5; color: var(--ss-muted); }
.bm-offer__t { flex: 1 1 22rem; min-width: 0; }
.bm-offer__t strong { color: var(--ss-ink); font-weight: 700; }
.bm-offer__btn { flex: none; text-wrap: nowrap; }
/* the workbook band under a calculator's explanation: a pointer to the buy box on the same page, set apart from the tool by its place and its lilac edge */
.bm-bandwrap { padding-block: 0 .25rem; }
.bm-band { max-width: 46rem; box-sizing: border-box; padding: .9rem 1rem; display: grid; gap: .8rem 1.5rem; align-items: center; background: var(--ss-surface); border: 1px solid var(--ss-line); border-left: 4px solid var(--ss-accent); border-radius: var(--ss-radius); }
.bm-band p { margin: 0; }
.bm-band__lead { line-height: 1.5; }
.bm-band__price { margin-top: .55rem !important; font-size: .9rem; color: var(--ss-muted); }
.bm-band__price strong { font-family: var(--ss-display); font-size: 1.5rem; font-weight: 700; letter-spacing: .01em; color: var(--ss-ink); }
.bm-band__fine { margin-top: .65rem !important; font-size: .82rem; line-height: 1.45; color: var(--ss-muted); }
.bm-band .ss-actions { margin: 0; }
.bm-band .ss-btn { width: 100%; text-align: center; }
@media (min-width: 40rem) { .bm-band { grid-template-columns: minmax(0, 1fr) auto; } .bm-band .ss-btn { width: auto; white-space: nowrap; } }
.tool__intro { margin: .9rem 0 0; max-width: 46rem; color: var(--ss-muted); font-size: .95rem; }

/* the rent clock: fields in a strip above, the answer and the week below */
.tool--wide .tool__body { grid-template-columns: minmax(0, 1fr); }
.tool__fields--clock { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem .8rem; }
.tool__fields--clock .pf--amt, .tool__fields--clock .pf--days, .tool__fields--clock .field-msg { grid-column: 1 / -1; }
@media (min-width: 40rem) { .tool__fields--clock { grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .75rem .9rem; } .tool__fields--clock .pf--amt { grid-column: auto; } .tool__fields--clock .pf--days { grid-column: span 2; } }
.tool__fields--clock .field-msg { grid-column: 1 / -1; }
.tool__out--clock { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .tool__out--clock { grid-template-columns: minmax(0, 17.5rem) minmax(0, 1fr); grid-template-areas: "res clock" "share share"; } .tool__out--clock .res { grid-area: res; } .tool__out--clock .clock-slot { grid-area: clock; } .tool__out--clock .share-slot { grid-area: share; } }
.daychips { display: flex; flex-wrap: wrap; gap: .3rem; }
.daychip { position: relative; }
.daychip input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; min-height: 0; cursor: pointer; z-index: 1; }
.daychip label { margin: 0; min-width: 2.75rem; min-height: 44px; padding: 0 .4rem; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ss-line); border-radius: var(--ss-radius); background: var(--ss-surface); color: var(--ss-muted); font-size: .95rem; font-weight: 600; }
.daychip input:checked + label { background: var(--ss-accent); border-color: var(--ss-accent); color: var(--ss-accent-ink); }
.daychip input:focus-visible + label { outline: 3px solid var(--ss-focus); outline-offset: 2px; }
.clock-slot { min-width: 0; }
.bm-svg { display: block; width: 100%; height: auto; overflow: visible; }
.bm-svg text { font-family: var(--ss-font); }
.bm-book { max-width: 58rem; }
.bm-rows { display: none; max-width: 26rem; }
@media (max-width: 39.99rem) { .bm-book { display: none; } .bm-rows { display: block; } }
.bm-paper { fill: var(--ss-bg); stroke: var(--ss-line); stroke-width: 1.5; }
.bm-ring { fill: var(--bm-chrome); }
.bm-hole { fill: var(--bm-hole); }
.bm-rule { fill: none; stroke: var(--ss-line); stroke-width: 1; }
.bm-col { fill: none; stroke: var(--ss-line); stroke-width: 1; opacity: .45; }
.bm-hour { fill: var(--ss-muted); font-size: 11.5px; font-weight: 500; }
.bm-day { fill: var(--ss-ink); font-family: var(--ss-display) !important; font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.bm-day--off { fill: var(--ss-muted); opacity: .7; }
.bm-booked { fill: var(--bm-booked); }
.bm-off { fill: var(--bm-off); stroke: var(--ss-line); stroke-width: 1; stroke-dasharray: 3 4; opacity: .9; }
.bm-rent { fill: var(--ss-accent); transition: y .25s ease, height .25s ease, x .25s ease, width .25s ease; }
.bm-marker { fill: none; stroke: var(--bm-marker); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.bm-ring-m { fill: none; stroke: var(--bm-marker); stroke-width: 2.6; transition: transform .25s ease; }
.bm-line { transition: transform .25s ease, opacity .2s ease; }
.bm-note { fill: var(--bm-marker); font-family: var(--ss-display) !important; font-weight: 600; font-size: 24px; letter-spacing: .01em; paint-order: stroke; stroke: var(--ss-bg); stroke-width: 7px; stroke-linejoin: round; }
.bm-rows .bm-note { font-size: 19px; }
.bm-note--s { font-size: 17px; stroke-width: 5px; }
@media (prefers-reduced-motion: reduce) { .bm-rent, .bm-ring-m, .bm-line { transition: none; } }

/* the share of sales and the published figures sit under the week */
.share-slot:empty { display: none; }
.share-line { margin: 0 0 .8rem; font-size: 1.05rem; max-width: 46rem; }
.share-big { font-family: var(--ss-display); font-size: 2.6rem; line-height: 1; color: var(--ss-link); margin-right: .2rem; }
.share-tbl { max-width: 46rem; font-size: .95rem; }
.share-slot { display: grid; gap: 0 2rem; }
@media (min-width: 64rem) { .share-slot { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .share-slot .share-line { grid-column: 1 / -1; } }

/* the break-even: the ledger and the two bars under the answer */
.tool__out--break { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .tool__out--break { grid-template-areas: "res" "split" "table"; } .tool__out--break .res { grid-area: res; } .tool__out--break .ledger-slot { grid-area: table; } .tool__out--break .split-slot { grid-area: split; } }
.ledger { width: 100%; max-width: 26rem; font-size: .98rem; margin: 0; border-collapse: collapse; }
.ledger caption { text-align: left; font-size: .85rem; color: var(--ss-muted); padding: 0 0 .3rem; }
.ledger th, .ledger td { padding: .35rem 0; text-align: left; border-bottom: 1px dotted var(--ss-line); font-weight: 400; vertical-align: top; }
.ledger td { text-align: right; }
.ledger__net th, .ledger__net td { font-weight: 700; color: var(--ss-link); border-top: 2px solid var(--ss-accent); border-bottom: 0; padding-top: .5rem; }
.ledger-slot:empty, .split-slot:empty, .rate-slot:empty { display: none; }
.split-slot { min-width: 0; }
.bm-split { max-width: 36rem; }
.bm-cap { fill: var(--ss-muted); font-size: 13px; font-weight: 600; }
.bm-yours { fill: var(--ss-accent); }
.bm-salon { fill: url(#bm-hatch); stroke: var(--ss-muted); stroke-width: 1; }
.bm-hatch { stroke: var(--ss-muted); stroke-width: 1.6; opacity: .75; }
.bm-fixed { fill: var(--bm-chrome); }
.bm-fee { fill: var(--ss-muted); opacity: .55; }
.bm-key text { fill: var(--ss-muted); font-size: 11px; }

/* take-home: a table first, the visitor's own rate outlined */
.tool__out--take { grid-template-columns: minmax(0, 1fr); }
.rate-tbl { max-width: 34rem; font-size: .98rem; }
.rate-tbl caption { text-align: left; font-size: .85rem; color: var(--ss-muted); padding-bottom: .3rem; }
.rate-tbl thead th { font-size: .85rem; color: var(--ss-muted); font-weight: 600; border-bottom: 2px solid var(--ss-line); }
tr.is-yours { outline: 2px solid var(--ss-accent); outline-offset: -2px; }
tr.is-yours th, tr.is-yours td { font-weight: 700; }
.tool--short .tool__body { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .tool--short .tool__body { grid-template-columns: minmax(15rem, 19.5rem) minmax(0, 1fr); } }

/* the suite: two leases on a counter, facing each other, each followed by what that side leaves out */
.tool--leases .tool__body { grid-template-columns: minmax(0, 1fr); }
.tool__fields--suite { background: none; border: 0; padding: 0; gap: 1rem; }
.leases, .includes__cols { display: grid; gap: .9rem; align-items: start; }
@media (min-width: 44rem) { .leases, .includes__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; } }
.lease { margin: 0; min-width: 0; display: grid; gap: .8rem; align-content: start; background: var(--ss-bg); border: 1px solid var(--ss-line); border-radius: var(--ss-radius); padding: 1rem .9rem .9rem; }
.lease legend { font-family: var(--ss-display); font-weight: 700; font-size: 1.5rem; padding: 0 .4rem; color: var(--ss-ink); }
.lease--suite { border-color: var(--ss-muted); border-style: dashed; }
.includes { border-top: 1px dotted var(--ss-line); padding-top: .8rem; margin-top: 1rem; }
.includes h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.includes h4 { margin-bottom: .2rem; color: var(--ss-muted); font-weight: 600; }
.includes ul { list-style: none; margin: 0; padding: 0; }
.inc { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .6rem; min-height: 44px; border-bottom: 1px dotted var(--ss-line); }
.inc__t { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; font-size: .95rem; min-height: 44px; cursor: pointer; }
.inc__t input { width: 1.2rem; height: 1.2rem; min-height: 0; accent-color: var(--ss-accent); }
.inc__a[hidden] { display: none; }
.inc__a input { width: 7.5rem; min-height: 38px; padding: .25rem .5rem; }
.tool__out--suite { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .tool__out--suite { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }

/* ------------------------------------------------------------------ home: your week three ways, one cream appointment-book page on the dark ground */
.week { margin-block: 1.5rem 1.6rem; }
.week__bind { border-radius: var(--ss-radius-lg) var(--ss-radius-lg) 0 0; overflow: hidden; }
.bm-binding { display: block; }
.bm-binding__hole { fill: var(--ss-bg); }
.bm-binding__wire { fill: none; stroke: var(--ss-surface); stroke-width: 3.2; }
.week__page { background: var(--bm-paper); color: var(--ss-bg); border-radius: 0 0 var(--ss-radius-lg) var(--ss-radius-lg); padding: 1.1rem 1.1rem 1.2rem; }
.week__page a { color: var(--ss-bg); }
.week__head { max-width: 46rem; margin-bottom: .9rem; }
.week__head h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); line-height: 1; margin: 0 0 .4rem; color: var(--ss-bg); }
.week__head p { margin: 0; font-size: .98rem; color: var(--bm-paper-muted); text-wrap: pretty; }
.week__cols { display: grid; gap: 0; border: 2px solid var(--ss-bg); border-radius: var(--ss-radius); background: var(--bm-cell); overflow: hidden; }
@media (min-width: 52rem) { .week__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .week__page { padding: 1.4rem 1.6rem 1.4rem; } }
.wk { padding: 0 0 .8rem; min-width: 0; }
.wk + .wk { border-top: 2px solid var(--ss-bg); }
@media (min-width: 52rem) { .wk + .wk { border-top: 0; border-left: 2px solid var(--ss-bg); } }
.wk h3 { margin: 0; padding: .35rem .9rem .3rem; background: var(--ss-bg); color: var(--ss-ink); font-size: 1.6rem; line-height: 1.15; letter-spacing: .02em; }
.wk__n { margin: .5rem .9rem .35rem; line-height: .95; color: var(--ss-bg); }
.wk__n b { display: block; font-family: var(--ss-display); font-weight: 700; font-size: clamp(3.1rem, 2.3rem + 3.4vw, 4.6rem); letter-spacing: .005em; }
.wk__n small { display: block; margin-top: .25rem; font-size: .9rem; font-weight: 600; color: var(--bm-paper-muted); }
.wk__row { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; margin: 0 .9rem; padding: .38rem 0; border-top: 1px dotted var(--bm-paper-muted); font-size: .95rem; }
.wk__row span:first-child { color: var(--bm-paper-muted); }
.wk__row span:last-child { font-weight: 700; color: var(--ss-bg); }
.wk__be { margin: .15rem .9rem 0; padding-top: .4rem; border-top: 1px dotted var(--bm-paper-muted); font-size: .88rem; color: var(--bm-paper-muted); }
.wk__be b { color: var(--ss-bg); }
.week__gaps { margin: 1rem 0 0; display: grid; gap: .1rem 2rem; }
.week__gaps:empty { display: none; }
.week__gaps p { margin: 0; padding: .45rem 0; border-bottom: 1px dotted var(--bm-paper-muted); font-size: 1.02rem; color: var(--ss-bg); }
.week__gaps b { font-family: var(--ss-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; }
@media (min-width: 52rem) { .week__gaps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .week__gaps p { border-bottom: 0; border-top: 2px solid var(--ss-bg); padding-top: .55rem; } }
.week .field-msg { margin-top: .9rem; background: var(--bm-cell); border-left-color: var(--ss-bg); color: var(--ss-bg); }
.week__terms { display: grid; gap: .9rem 1.4rem; margin-top: 1.2rem; }
@media (min-width: 52rem) { .week__terms { grid-template-columns: repeat(3, minmax(0, 1fr)); } .terms--week { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.terms { margin: 0; padding: .7rem .8rem .8rem; min-width: 0; border: 1.5px dashed var(--bm-paper-muted); border-radius: var(--ss-radius); display: grid; gap: .65rem; align-content: start; }
.terms--week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.terms legend { font-family: var(--ss-display); font-weight: 700; font-size: 1.3rem; padding: 0 .35rem; color: var(--ss-bg); }
.week .pf label, .week .pf legend { color: var(--bm-paper-muted); }
.week .pf--pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
.week input[type="number"], .week select { background: var(--bm-cell); color: var(--ss-bg); border: 2px solid var(--ss-bg); border-radius: var(--ss-radius); }
.week input:focus-visible, .week select:focus-visible { outline: 3px solid var(--ss-bg); outline-offset: 2px; }
.week .ss-note.tool__note { color: var(--bm-paper-muted); margin: 1rem 0 0; }
.week .nojs { margin: .8rem 0 0; color: var(--bm-paper-muted); }

/* the rent clock on the home page: a link card, a small picture of the example week and one line */
.linkcard { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 1rem 1.2rem; align-items: center; margin-block: 1.2rem 0; padding: .9rem 1.1rem; background: var(--ss-surface); border: 1px solid var(--ss-line); border-radius: var(--ss-radius-lg); color: var(--ss-ink); text-decoration: none; }
.linkcard:hover { border-color: var(--ss-accent); }
.linkcard:focus-visible { outline: 3px solid var(--ss-focus); outline-offset: 3px; }
.linkcard__pic { display: block; min-width: 0; }
.linkcard .bm-svg.bm-book { display: block; width: 100%; }
.linkcard__text { display: grid; gap: .25rem; min-width: 0; }
.linkcard__h { font-family: var(--ss-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; }
.linkcard__line { color: var(--ss-muted); font-size: .98rem; max-width: 40rem; }
.linkcard__line::after { content: ""; }
@media (max-width: 30rem) { .linkcard { grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr); gap: .8rem; padding: .8rem; } }

/* ------------------------------------------------------------------ the three panels under the clock, each its own shape */
.panels { display: grid; gap: 1.1rem; }
@media (min-width: 52rem) { .panels { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .panel--strip { grid-column: 1 / -1; } }
.panel { background: var(--ss-surface); border: 1px solid var(--ss-line); border-radius: var(--ss-radius-lg); padding: 1.2rem 1.3rem 1.1rem; min-width: 0; }
.panel h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.panel p { color: var(--ss-muted); font-size: .95rem; max-width: 34rem; }
.panel__cta { display: inline-block; font-weight: 600; margin-top: .1rem; }
.ticket { list-style: none; margin: 0 0 .5rem; padding: 0; font-size: 1rem; }
.ticket li { display: flex; align-items: baseline; gap: .5rem; padding: .2rem 0; }
.leader { flex: 1; border-bottom: 2px dotted var(--ss-line); transform: translateY(-.2em); min-width: 1rem; }
.ticket__total { margin: 0 0 .6rem; padding-top: .5rem; border-top: 2px dashed var(--ss-line); color: var(--ss-link) !important; }
.ticket__n { font-family: var(--ss-display); font-weight: 700; font-size: 3.2rem; line-height: 1; }
.ticket__u { font-family: var(--ss-display); font-weight: 600; font-size: 1.4rem; color: var(--ss-muted); }
.suite-pair__u { display: block; font-family: var(--ss-font); font-size: .85rem; font-weight: 600; color: var(--ss-muted); white-space: nowrap; }
.panel--suite { background: var(--bm-off); }
.suite-pair { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 .6rem; }
.suite-pair p { margin: 0; padding: .1rem .9rem .1rem 0; display: grid; color: var(--ss-ink); }
.suite-pair p + p { padding: .1rem 0 .1rem .9rem; border-left: 2px dashed var(--ss-line); }
.suite-pair__k { font-size: .85rem; color: var(--ss-muted); font-weight: 600; }
.suite-pair__v { font-family: var(--ss-display); font-weight: 700; font-size: 2rem; line-height: 1.1; }
.panel--strip { display: grid; gap: 1rem 2rem; align-items: center; }
@media (min-width: 52rem) { .panel--strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.strip { font-size: .95rem; margin: 0; }
.strip caption { text-align: left; font-size: .8rem; color: var(--ss-muted); padding-bottom: .3rem; caption-side: bottom; padding-top: .4rem; }
.strip th, .strip td { text-align: center; padding: .4rem .2rem; }
.strip thead th { font-family: var(--ss-display); font-size: 1.3rem; border-bottom: 2px solid var(--ss-line); }
.strip td { font-weight: 700; border-bottom: 0; }
.strip td.strip__h { font-weight: 400; color: var(--ss-muted); font-size: .85rem; padding-top: 0; }
.strip .is-yours { color: var(--ss-link); }
@media (max-width: 30rem) { .panel { padding-inline: 1rem; } .strip th, .strip td { padding-inline: .05rem; font-size: .78rem; } .strip thead th { font-size: 1.1rem; } .strip td.strip__h { font-size: .78rem; } }

/* ------------------------------------------------------------------ the offer, the mirror, tables, sources */
.offer { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 52rem) { .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; } }
.bm-mirror { display: block; width: 100%; max-width: 30rem; height: auto; margin: 0 auto; }
.bm-mirror__frame { fill: var(--bm-off); stroke: var(--bm-chrome); stroke-width: 6; }
.bm-mirror__glass { fill: var(--ss-surface); stroke: var(--ss-line); stroke-width: 2; }
.bm-mirror__glint { fill: var(--ss-ink); opacity: .06; }
.bm-mk { fill: var(--bm-marker); font-family: var(--ss-display); font-weight: 600; font-size: 26px; letter-spacing: .01em; }
.bm-mirror__under { fill: none; stroke: var(--ss-accent); stroke-width: 4; stroke-linecap: round; }
.bm-mirror__bolt { fill: var(--bm-chrome); }
.band { background: var(--ss-surface); border-block: 1px solid var(--ss-line); margin-top: 2rem; }
.tbl-wrap { overflow-x: auto; margin: 0 0 1rem; }
.tbl { font-size: .95rem; }
.tbl th, .tbl td { vertical-align: top; }
.tbl thead th { font-size: .85rem; color: var(--ss-muted); font-weight: 600; border-bottom: 2px solid var(--ss-line); }
.tbl .res-col { color: var(--ss-link); font-weight: 700; }
.nums thead th:last-child { white-space: nowrap; }
/* The kit lets any word break anywhere; in a table a word stays whole (a heading wraps at its spaces, a number never wraps). */
.ex th, .ex td, .share-tbl th, .share-tbl td, .rate-tbl th, .rate-tbl td { overflow-wrap: normal; }
.ex thead th { vertical-align: bottom; line-height: 1.2; }
@media (max-width: 40rem) {
  .nums thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nums, .nums tbody, .nums tr, .nums th, .nums td { display: block; }
  .nums tr { padding: .8rem 0; border-bottom: 1px solid var(--ss-line); }
  .nums th, .nums td { padding: .1rem 0; border: 0; }
  .nums th[scope="row"] { font-size: 1rem; }
  .nums td.nw { white-space: normal; }
  .nums td::before { content: attr(data-label) ": "; color: var(--ss-muted); font-weight: 600; font-size: .8rem; }
}
@media (max-width: 30rem) { .tbl { font-size: .85rem; } .tbl th, .tbl td { padding: .35rem .3rem; } .ex th, .ex td { padding-inline: .22rem; } .ex thead th { font-size: .8rem; } .rate-tbl th, .rate-tbl td { padding-inline: .2rem; } }
@media (max-width: 22rem) { .ex { font-size: .78rem; } .ex th, .ex td { padding-inline: .15rem; } }
.src-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; font-size: .9rem; }
.src-list .says { display: block; color: var(--ss-muted); }
.trio { display: grid; gap: 0 2rem; }
@media (min-width: 64rem) { .trio { grid-template-columns: repeat(3, 1fr); } }
.bm-buy--compact .bm-buy__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.bm-buy--compact h3 { margin-bottom: .2rem; }
.bm-buy--compact .ss-buy__price { font-size: 2rem; margin: 0; }
.bm-buy h3 { margin-bottom: .3rem; }
.ss-btn[disabled], .ss-btn[aria-disabled="true"] { opacity: 1; cursor: not-allowed; background: var(--ss-line); border: 2px dashed var(--ss-muted); color: var(--ss-muted); }
.ss-btn[disabled]:hover { filter: none; box-shadow: none; }
.bm-buy .ss-buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .45rem; margin-bottom: .6rem; }
.bm-buy .ss-buy__price small { margin-left: 0; text-wrap: balance; }

/* ------------------------------------------------------------------ the questions download, the workbook page, 404, delivery */
.dl-actions { margin-top: 1rem; }
.nextlist { list-style: none; padding: 0; display: grid; gap: .5rem; }
.nextlist a { font-weight: 600; }
.binder-list, .steps-list { padding-left: 1.2rem; }
.hero-wb { display: grid; gap: 1.5rem; padding-block: 1rem .5rem; align-items: start; }
@media (min-width: 52rem) { .hero-wb { grid-template-columns: 1fr minmax(20rem, 24rem); } }
.hero-wb__mirror { margin-top: 1.4rem; }
.hero-wb__mirror .bm-mirror { margin: 0; max-width: 28rem; }
.tabs, .qa { margin: 0 0 1rem; }
.tabs dt, .qa dt { font-family: var(--ss-display); font-weight: 700; font-size: 1.25rem; margin-top: .9rem; color: var(--ss-link); }
.tabs dd, .qa dd { margin: .1rem 0 0; max-width: 46rem; }
.forgrid { display: grid; gap: 0 2rem; }
@media (min-width: 48rem) { .forgrid { grid-template-columns: 1fr 1fr; } }
.shots { display: grid; gap: 1rem; margin: 1rem 0; }
.shots figure { margin: 0; } .shots img { box-sizing: border-box; border: 1px solid var(--ss-line); border-radius: var(--ss-radius); }
.shots figcaption { font-size: .85rem; color: var(--ss-muted); margin-top: .3rem; }
.shots a { display: block; cursor: zoom-in; border-radius: var(--ss-radius); }
.shots-hint { margin: .5rem 0 0; font-size: .9rem; color: var(--ss-muted); }
@media (min-width: 48rem) { .shots-hint { display: none; } }
.shots--tabs figure { overflow-x: auto; }
.shots--tabs img { display: block; box-sizing: border-box; width: 100%; min-width: 44rem; height: auto; }
@media (min-width: 48rem) { .shots--pages { grid-template-columns: 1fr 1fr; } }
.dl { list-style: none; padding: 0; margin: 0; }
.nf { display: grid; gap: 1.5rem; align-items: center; padding-block: 2rem; }
@media (min-width: 40rem) { .nf { grid-template-columns: 9rem minmax(0, 1fr); } }
.bm-slot { display: block; width: 8rem; height: auto; }
.bm-slot__open { fill: none; stroke: var(--ss-accent); stroke-width: 2.5; stroke-dasharray: 6 5; }
.questions { border-top: 1px dotted var(--ss-line); }

/* ------------------------------------------------------------------ printing: always light, the tables print clean */
@media print {
  :root { --ss-bg: #fff; --ss-surface: #fff; --ss-ink: #000; --ss-muted: #333; --ss-line: #999; --ss-link: #000; --bm-chrome: #888; --bm-marker: #000; --bm-booked: #ddd; --bm-off: #fff; --bm-hole: #fff; }
  body.ss { background: #fff; color: #000; font-size: 11pt; }
  .ss-header, .ss-footer, .no-print, .ss-btn, .bm-bind, .week__terms, .tool__fields, .nojs, .ss-skip, .bm-mirror { display: none !important; }
  .ss-main { padding-block: 0; }
  .tool, .bm-buy, .ss-note, .band, .panel, .week__page, .wk, .week__cols, .linkcard { background: #fff; border-color: #999; box-shadow: none; }
  .wk h3 { background: #fff; color: #000; border-bottom: 2px solid #000; }
  .week__page, .week__head h2, .wk__n, .wk__row span, .week__gaps p { color: #000; }
  .tbl th, .tbl td { border-bottom: 1px solid #999; color: #000; }
  .tbl .res-col, .tabs dt, .qa dt, .big, a, .share-big, .ticket__total { color: #000 !important; }
  .src-list .says { color: #333; }
  .tbl-wrap { overflow: visible; }
  .bm-rent { fill: #999; }
  .bm-book { display: block; }
  .bm-rows { display: none; }
  a[href^="http"]::after { content: ""; }
}
