/* ============================================================================
 * theme-bw.css: black and white with one accent, the 2026-10-29 brand. The
 * default look of /consult and the rebooking page since 2026-10-30: the inline
 * script in consult.html and index.html adds html.theme-bw unless the URL says
 * ?theme=classic, the old dark purple look, kept as a per-link escape hatch.
 * Teal is the only color: the picked time and the Book button.
 * ============================================================================ */
html.theme-bw {
  --bg: #ffffff;
  --bg-elev: #ffffff;
  --text: #0b0b0b;
  --text-muted: #5f5f5c;
  --text-dim: rgba(11, 11, 11, 0.35);
  --border: rgba(11, 11, 11, 0.14);
  --border-strong: #0b0b0b;
  --teal: #07edbe;
  --font-display: "CeraRound", "Cera Round", system-ui, sans-serif;
  color-scheme: light;
}
html.theme-bw, html.theme-bw body { background: #ffffff !important; color: #0b0b0b; }
html.theme-bw.embed { background: #ffffff !important; }

/* Card: white, 2px ink border, no glow. */
html.theme-bw .booking-card,
html.theme-bw body.embed .booking-card {
  background: #ffffff !important;
  border: 2px solid #0b0b0b !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}
html.theme-bw body.embed .page { padding: 0 !important; }
html.theme-bw .slots-view { background: #ffffff; border-top: 2px solid #0b0b0b; }

/* Week navigation and days. */
html.theme-bw .month-nav h2,
html.theme-bw .intake-panel .intake-header h2 { color: #0b0b0b; }
html.theme-bw .month-nav button { background: #ffffff; color: #0b0b0b; border: 2px solid #0b0b0b; }
html.theme-bw .month-nav button:hover:not([disabled]) { background: #0b0b0b; color: #ffffff; }
html.theme-bw .month-nav button[disabled] { border-color: rgba(11, 11, 11, 0.2); color: rgba(11, 11, 11, 0.3); }
html.theme-bw .day-cell { color: #0b0b0b; }
html.theme-bw .day-cell.unavailable { color: rgba(11, 11, 11, 0.22); }
html.theme-bw .day-cell.today:not(.selected),
html.theme-bw .day-cell.week-cell.today:not(.selected) .dom { color: #0b0b0b; text-decoration: underline; text-decoration-color: #07edbe; text-decoration-thickness: 3px; text-underline-offset: 4px; }
html.theme-bw .day-cell.selected { background: #0b0b0b !important; color: #ffffff !important; }

/* Times. */
html.theme-bw .slots-header h2,
html.theme-bw .slot-group-title { color: #5f5f5c; }
html.theme-bw .date-label { color: #0b0b0b; }
html.theme-bw .slot { background: #ffffff; color: #0b0b0b; border: 2px solid #0b0b0b; font-weight: 700; }
html.theme-bw .slot:not([data-selectable="0"]):hover { background: #0b0b0b; color: #ffffff; border-color: #0b0b0b; }
html.theme-bw .slot.selected { background: #07edbe; border-color: #0b0b0b; color: #0b0b0b; }
html.theme-bw .slot.unavailable { border-color: rgba(11, 11, 11, 0.15); color: rgba(11, 11, 11, 0.3); }

/* Intake form. */
html.theme-bw .intake-panel .back-btn { color: #5f5f5c; }
html.theme-bw .intake-panel .back-btn:hover { color: #0b0b0b; }
html.theme-bw .intake-panel .intake-when { color: #0b0b0b; }
html.theme-bw .field > span { color: #0b0b0b; }
html.theme-bw .field em { color: #0b0b0b; }
html.theme-bw .field input[type="text"],
html.theme-bw .field input[type="tel"],
html.theme-bw .field input[type="email"],
html.theme-bw .field textarea {
  background: #ffffff;
  border: 2px solid #0b0b0b;
  color: #0b0b0b;
  box-shadow: none;
}
html.theme-bw .field input:focus,
html.theme-bw .field textarea:focus { box-shadow: 0 0 0 3px #07edbe; }
html.theme-bw .field input::placeholder,
html.theme-bw .field textarea::placeholder { color: rgba(11, 11, 11, 0.4); }
html.theme-bw .intake-error { background: #ffffff; border: 2px solid #0b0b0b; color: #0b0b0b; }

/* The one loud thing: Book. Same button as the site's primary CTA. */
html.theme-bw .intake-form .btn-book,
html.theme-bw .intake-mini .btn-pill,
html.theme-bw .summary-actions .btn-mesh {
  background: #07edbe;
  color: #0b0b0b;
  border: 2px solid #0b0b0b;
  box-shadow: 4px 4px 0 #0b0b0b;
  animation: none;
  font-weight: 900;
}
html.theme-bw .intake-form .btn-book:hover { filter: none; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #0b0b0b; }

/* Confirmation. */
html.theme-bw .success-card { background: #ffffff; color: #0b0b0b; border: 2px solid #0b0b0b; }
html.theme-bw .success-card::before { display: none; }
html.theme-bw .success-card h2 { color: #0b0b0b; }

/* Standalone chrome (no ?embed): page, hero, chips, banner, modal. */
html.theme-bw body { background-image: none !important; }
html.theme-bw .hero h1 { color: #0b0b0b; }
html.theme-bw .gradient-text {
  background: none !important;
  -webkit-text-fill-color: #0b0b0b;
  color: #0b0b0b;
  animation: none;
  text-decoration: underline;
  text-decoration-color: #07edbe;
  text-decoration-thickness: 6px;
  text-underline-offset: 6px;
}
html.theme-bw .hero .hello,
html.theme-bw .hero p,
html.theme-bw .cadence-rec { color: #5f5f5c; }
html.theme-bw .progress {
  background: #ffffff !important;
  color: #0b0b0b;
  border: 2px solid #0b0b0b !important;
  box-shadow: none;
}
html.theme-bw .pay-next {
  background: #07edbe !important;
  color: #0b0b0b;
  border: 2px solid #0b0b0b;
  box-shadow: 4px 4px 0 #0b0b0b;
  animation: none;
}
html.theme-bw .pay-next::before, html.theme-bw .pay-next::after { display: none; }
html.theme-bw .pay-next span { background: none; color: #0b0b0b; }
html.theme-bw .beta-banner {
  background: #ffffff;
  border: 2px solid #0b0b0b;
  color: #0b0b0b;
}
html.theme-bw .beta-banner .beta-msg,
html.theme-bw .beta-banner .beta-arrow,
html.theme-bw .beta-banner a { color: #0b0b0b; }
html.theme-bw .beta-banner a { background-image: linear-gradient(#07edbe, #07edbe); }
html.theme-bw .address-modal { background: rgba(11, 11, 11, 0.55); }
html.theme-bw .address-modal-card { background: #ffffff; border: 2px solid #0b0b0b; color: #0b0b0b; }
html.theme-bw .address-modal-card h3 { color: #0b0b0b; }
html.theme-bw .address-modal-card input { border: 2px solid #0b0b0b; color: #0b0b0b; }
html.theme-bw .address-modal-card #address-save,
html.theme-bw .address-modal-card #address-save:hover { background: #07edbe; color: #0b0b0b; border: 2px solid #0b0b0b; }
html.theme-bw .month-view { background: #ffffff; }
/* Scrollbar thumb (calendar.js custom scrollbar): was the retired light purple. */
html.theme-bw .custom-scrollbar-thumb { background-image: none !important; background-color: rgba(11, 11, 11, 0.35) !important; }
html.theme-bw .month-weekdays span { color: #5f5f5c; }

/* ---- 2026-10-30 sweep: the states the first pass did not reach. ---- */

/* A picked time stays teal under a finger: the sticky :hover after a tap used to
   win and paint it black. */
html.theme-bw .slot.selected,
html.theme-bw .slot.selected:not([data-selectable="0"]):hover { background: #07edbe; border-color: #0b0b0b; color: #0b0b0b; }

/* Empty and load error states in the times column. */
html.theme-bw .slot-empty { color: #5f5f5c; }
html.theme-bw .slot-empty .empty-icon { background: #f3f3f1; color: #0b0b0b; }

/* Every legacy gradient pill (Book another session, Try again, Confirm). */
html.theme-bw .btn-mesh {
  background: #07edbe !important;
  color: #0b0b0b !important;
  border: 2px solid #0b0b0b !important;
  box-shadow: 4px 4px 0 #0b0b0b !important;
  animation: none !important;
}
html.theme-bw .btn-mesh::before,
html.theme-bw .btn-mesh::after { display: none !important; }
html.theme-bw .btn-mesh > * { background: none !important; color: #0b0b0b !important; -webkit-text-fill-color: #0b0b0b; }

/* Success and pending cards: teal is never text on white. The pending clock's
   inline lilac ring goes ink. */
html.theme-bw .success-card p { color: #5f5f5c; }
html.theme-bw .success-card strong { color: #0b0b0b; }
html.theme-bw .success-card .check { border-color: #0b0b0b !important; color: #0b0b0b !important; box-shadow: none !important; background: #ffffff; }

/* Old brand art: the Pawesome sticker. Kept in the repo; redrawing it is
   Andrew's call. (The confetti SVGs were recolored to ink and teal instead.) */
html.theme-bw .success-icon,
html.theme-bw .success-sticker { display: none !important; }

/* Touch screens keep :hover on whatever sits under the finger after the list
   re-renders, which painted a time black that nobody picked. */
@media (hover: none) {
  html.theme-bw .slot:not([data-selectable="0"]):not(.selected):hover { background: #ffffff; color: #0b0b0b; }
}

/* Try again on the load error state. */
html.theme-bw .slot-empty [data-retry] { background: #ffffff; color: #0b0b0b; border: 2px solid #0b0b0b; border-radius: 9999px; padding: 8px 18px; font-weight: 800; }

/* Desktop: the times column sits beside the month, so its rule moves to the left
   edge (calendar.css drew it lilac). */
@media (min-width: 800px) {
  html.theme-bw .slots-view { border-top: 0; border-left: 2px solid #0b0b0b; }
}
