/* book.css — the online booking page. Petite, rectangular, the site's own tokens;
   works under the strict CSP (no inline styles anywhere on this page). */
.bookpage { background: var(--background); }
.bookwrap { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 80px; }
.bookback { font-size: 13px; color: var(--secondary); }
.bookh1 { font-size: 30px; margin: 18px 0 6px; }
.booksub { color: var(--on-surface-variant); font-size: 14.5px; margin: 0 0 18px; max-width: 46em; }
.bookcall { background: var(--primary); color: var(--on-primary); border-radius: var(--radius);
  padding: 12px 16px; font-size: 14px; margin: 0 0 10px; }
.bookcall a { color: inherit; text-decoration: underline; }
.bookcall-label { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; opacity: .8; margin-right: 8px; }
/* Lives at the BOTTOM of the page since 2026-08-27 (his call: the safety line was crowding out
   the message that mattered) — quieter, but still on every state of the page. */
.bookurgent { border: 1px solid #c0392b33; background: #fdf3f2; color: #8a3a2b;
  border-radius: var(--radius); padding: 9px 14px; font-size: 13px; margin: 26px 0 0; }
/* The post-submit notice must be UNMISSABLE (2026-08-26): it was a quiet tinted line that sank
   into the page while carrying the only thing the visitor needed to know. Now a notice card —
   strong claret bar, its own kicker, a calm entrance — and announced to screen readers. */
.bookproblem { border: 1px solid #8a3a44; border-left: 4px solid #8a3a44; background: #fff;
  color: #6d2731; border-radius: var(--radius); padding: 14px 18px; font-size: 14.5px;
  margin: 0 0 18px; box-shadow: 0 1px 10px rgba(138, 58, 68, .10); animation: notice-in .45s ease-out; }
.bookproblem-kicker { display: block; text-transform: uppercase; letter-spacing: .14em;
  font-size: 11px; font-weight: 600; color: #8a3a44; margin: 0 0 6px; }
.bookproblem-text { margin: 0; }
.bookproblem .bookbtn { margin-top: 12px; }
.bookproblem--ok { border-color: #1f6b3a; border-left-color: #1f6b3a; color: #17502c;
  box-shadow: 0 1px 10px rgba(31, 107, 58, .10); }
.bookproblem--ok .bookproblem-kicker { color: #1f6b3a; }
/* The pay-now panel — when your own unpaid hold blocks a new booking, this is the WHOLE page
   (2026-08-27: the form staying visible below invited another doomed submit). */
.bookblocked { border-left: 4px solid #8a3a44; animation: notice-in .45s ease-out; }
.bookblocked-lede { margin: 8px 0 18px; font-size: 15px; line-height: 1.55; }
.bookblocked-act { margin: 0 0 10px; }
.bookblocked-act .bookbtn { width: 100%; }
.bookblocked-email { border-top: 1px solid var(--hairline); padding-top: 14px; margin-top: 14px; }
.bookblocked-emaillabel { display: block; font-size: 12.5px; color: var(--on-surface-variant); margin: 0 0 8px; }
.bookblocked-emaillabel input { display: block; width: 100%; box-sizing: border-box; margin-top: 5px;
  padding: 9px 11px; font-size: 16px; border: 1px solid var(--hairline); border-radius: var(--radius); }
.bookblocked-note { margin: 16px 0 0; font-size: 12.5px; color: var(--on-surface-variant); }
/* A tapped button must react INSTANTLY (2026-08-27: the redirect took seconds and the button
   looked dead, so he tapped again). notice.js sets .is-busy on submit. */
.bookbtn.is-busy { opacity: .65; pointer-events: none; }
@keyframes notice-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bookproblem, .bookblocked { animation: none; } }
.bookcard { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px 26px; }
.bookh2 { font-size: 19px; margin: 0 0 16px; }
.bookh2-note { display: block; font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  color: var(--on-surface-variant); margin-top: 4px; }
.bookopt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 13px 15px; margin: 0 0 10px; cursor: pointer; }
.bookopt:hover { border-color: var(--secondary); }
.bookopt input { margin-top: 4px; accent-color: var(--primary); }
.bookopt-name { display: block; font-weight: 600; font-size: 15px; }
.bookopt-meta { display: block; font-size: 12.5px; color: var(--on-surface-variant); margin-top: 2px; }
.bookday { font-family: var(--sans); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--secondary); margin: 18px 0 8px; }
/* A GRID, not wrapped flex (2026-08-27, his ask): flex sized each rectangle to its clinician's
   name, so the row read as a jumble. Equal columns, every rectangle the same size. */
.bookslots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.bookslot { cursor: pointer; }
.bookslot input { position: absolute; opacity: 0; }
.bookslot span { display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; box-sizing: border-box; min-width: 0;
  border: 1px solid var(--hairline); border-radius: var(--radius); padding: 8px 10px;
  font-size: 14px; font-weight: 600; color: var(--on-background); background: #fff; }
.bookslot small { font-weight: 400; font-size: 11px; color: var(--on-surface-variant); margin-top: 2px;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookslot:hover span { border-color: var(--secondary); }
.bookslot input:checked + span { border-color: var(--primary); background: var(--surface-stone); outline: 1px solid var(--primary); }
.bookslot input:focus-visible + span { outline: 2px solid var(--secondary); }
.bookempty { color: var(--on-surface-variant); font-size: 14px; }
.bookchosen { border-left: 3px solid var(--secondary); background: var(--surface-stone);
  border-radius: var(--radius); padding: 10px 14px; font-size: 14px; margin: 0 0 18px; }
.bookfields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.bookfields label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--on-surface-variant); }
.bookfields input { display: block; width: 100%; margin-top: 6px; font: 15px/1.4 var(--sans);
  padding: 10px 12px; border: 1px solid var(--hairline); border-radius: var(--radius); background: #fff; }
.bookfields input:focus { outline: none; border-color: var(--secondary); }
.bookfields label:first-child, .bookfields label:nth-child(3) { grid-column: 1 / -1; }
/* Honeypot: hidden with the clip pattern — never left:-9999px (it grows RTL scrollWidth; see app.css) */
.bookhp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bookconsent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px;
  color: var(--on-surface-variant); margin: 16px 0 4px; }
.bookconsent a { color: var(--secondary); text-decoration: underline; }
.bookpolicy { border: 1px solid var(--hairline); background: var(--surface-stone); border-radius: var(--radius);
  padding: 10px 14px; font-size: 13px; color: var(--on-surface-variant); margin: 14px 0 0; }
.bookbtn { margin-top: 16px; }
.booknote { font-size: 12.5px; color: var(--on-surface-variant); margin: 14px 0 0; }
/* One payment channel at a time (2026-08-27, his catch): the card page OR the text — never both
   live at once, which invited a double payment attempt. */
.bookpaychoice { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 10px 14px 12px; margin: 14px 0 0; }
.bookpaychoice legend { font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--on-surface-variant); padding: 0 6px; }
.bookpaychoice label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 5px 0; cursor: pointer; }
.bookpaychoice label strong { font-weight: 600; }
.bookpaychoice input { accent-color: var(--primary); margin-top: 3px; flex-shrink: 0; }
@media (max-width: 640px) {
  .bookfields { grid-template-columns: 1fr; }
  .bookwrap { padding-top: 24px; }
}

/* The quiet chat offer (2026-08-27) — always on the blocked panel; under an ordinary problem
   notice it stays hidden until the SECOND problem of the visit (notice.js reveals it). */
.bookchat-offer { margin: 10px 0 0; font-size: 13px; }
.bookchat-link { color: inherit; font-weight: 600; text-decoration: underline; }

/* Why two more fields are mandatory (2026-08-28) — asked once, explained once, never nagged. */
.bookwhy { font-size: 12.5px; color: var(--on-surface-variant); margin: 12px 0 0; }
