/* ============================================================================
   rooms-help.css — "Need Help?" pill + guided tutorial modal for the Rooms tab
   Glass / dark-cosmic aesthetic, violet/cyan accents. Baseline 1440px.
   ========================================================================== */

/* ── Trigger pill (lives in the Rooms table toolbar) ──────────────────────── */
.rooms-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.rooms-help-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #d8d3ff;
  background: linear-gradient(135deg, rgba(124,58,237,0.26), rgba(56,189,248,0.18));
  border: 1px solid rgba(167,139,250,0.5);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.rooms-help-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(167,139,250,0.85);
  box-shadow: 0 4px 18px rgba(124,58,237,0.32);
  color: #fff;
}
.rooms-help-pill svg { color: #c4b5fd; }

/* Add Back pill — cyan accent to match the Send Add Back modal + set it apart. */
.rooms-addback-pill { color: #bae6fd; background: linear-gradient(135deg, rgba(56,189,248,0.26), rgba(45,212,191,0.16)); border-color: rgba(56,189,248,0.5); }
.rooms-addback-pill:hover { border-color: rgba(56,189,248,0.9); box-shadow: 0 4px 18px rgba(56,189,248,0.32); }
.rooms-addback-pill svg { color: #7dd3fc; }

/* ── Overlay + modal ──────────────────────────────────────────────────────── */
.rh-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 6, 16, 0.74);
  backdrop-filter: blur(10px) saturate(1.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}
.rh-overlay.active { opacity: 1; pointer-events: all; }

.rh-modal {
  width: min(940px, calc(100vw - 40px));
  max-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(167,139,250,0.22);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(124,58,237,0.12), transparent 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(56,189,248,0.10), transparent 55%),
    rgba(10, 14, 28, 0.97);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.rh-overlay.active .rh-modal { transform: translateY(0) scale(1); }

/* ── Header ───────────────────────────────────────────────────────────────── */
.rh-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.rh-header-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  color: #c4b5fd;
  background: rgba(167,139,250,0.14);
  border: 1px solid rgba(167,139,250,0.4);
}
.rh-header-txt { flex: 1 1 auto; min-width: 0; }
.rh-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(167,139,250,0.85);
}
.rh-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 20px; font-weight: 600; color: #f1f5fb; margin: 2px 0 0;
}
.rh-close {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  color: rgba(203,213,225,0.8);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.15s ease;
}
.rh-close:hover { background: rgba(248,113,113,0.16); border-color: rgba(248,113,113,0.5); color: #fca5a5; }

/* ── Body: nav | content ──────────────────────────────────────────────────── */
.rh-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 0;
  flex: 1 1 auto;
}
.rh-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 10px;
  border-right: 1px solid rgba(255,255,255,0.06);
  overflow-y: auto;
}
.rh-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: rgba(203,213,225,0.78);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.rh-nav-btn:hover { background: rgba(255,255,255,0.05); color: #e9e3ff; }
.rh-nav-btn.is-active {
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(56,189,248,0.14));
  border-color: rgba(167,139,250,0.5);
  color: #fff;
}
.rh-nav-ic { flex-shrink: 0; opacity: 0.85; }

.rh-content {
  padding: 22px 26px 28px;
  overflow-y: auto;
  min-height: 0;
}

/* ── Content typography ───────────────────────────────────────────────────── */
.rh-h {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px; font-weight: 600; color: #f1f5fb; margin: 0 0 12px;
}
.rh-p { font-size: 13.5px; line-height: 1.6; color: rgba(203,213,225,0.86); margin: 0 0 14px; }
.rh-p b { color: #f1f5fb; font-weight: 600; }
.rh-muted { color: rgba(148,163,184,0.72); font-size: 12.5px; }

.rh-fn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 4px;
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; font-style: italic;
  color: #c4b5fd; background: rgba(167,139,250,0.16); border: 1px solid rgba(167,139,250,0.45);
  vertical-align: -3px;
}

/* Callout box */
.rh-callout {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 15px; margin: 4px 0 16px;
  border-radius: 12px;
  background: rgba(56,189,248,0.07);
  border: 1px solid rgba(56,189,248,0.22);
  font-size: 13px; line-height: 1.55; color: rgba(203,213,225,0.9);
}
.rh-callout-ic { color: #7dd3fc; flex-shrink: 0; margin-top: 1px; }
.rh-callout b { color: #f1f5fb; }
.rh-flash-chip {
  background: rgba(56,189,248,0.2); border-radius: 5px; padding: 1px 6px;
  color: #bae6fd; font-weight: 600; animation: rh-flash 1.6s ease-in-out infinite;
}
@keyframes rh-flash { 0%,100% { background: rgba(56,189,248,0.1); } 50% { background: rgba(56,189,248,0.32); } }

/* Anatomy list (overview) */
.rh-anat { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.rh-anat-row {
  display: flex; align-items: center; gap: 11px;
  font-size: 13px; color: rgba(203,213,225,0.85);
  padding: 9px 13px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
}
.rh-anat-row b { color: #f1f5fb; }
.rh-anat-tag {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #c4b5fd;
  background: rgba(167,139,250,0.16); border: 1px solid rgba(167,139,250,0.4);
}

/* The 3 views */
.rh-views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.rh-view-card {
  border-radius: 12px; padding: 13px 14px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--vc, rgba(148,163,184,0.5));
}
.rh-view-raw     { --vc: #94a3b8; }
.rh-view-initial { --vc: #38bdf8; }
.rh-view-final   { --vc: #34d399; }
.rh-view-hd { font-size: 13.5px; font-weight: 700; color: #f1f5fb; margin-bottom: 6px; }
.rh-view-bd { font-size: 12px; line-height: 1.5; color: rgba(203,213,225,0.78); }

/* System demo */
.rh-sysdemo { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 16px; }
.rh-sys {
  font-size: 12px; font-weight: 500; padding: 6px 13px; border-radius: 999px;
  color: rgba(203,213,225,0.82); background: rgba(30,41,59,0.55);
  border: 1px solid rgba(148,163,184,0.22);
}
.rh-sys.is-on {
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(56,189,248,0.24));
  border-color: rgba(167,139,250,0.7); color: #fff;
}
.rh-sys-off { opacity: 0.5; display: inline-flex; align-items: center; gap: 6px; }
.rh-sys-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(148,163,184,0.7); }
.rh-mini { padding: 3px 9px; font-size: 11px; vertical-align: middle; }
.rh-legend-line {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 13px; color: rgba(203,213,225,0.85); margin-bottom: 9px;
}
.rh-legend-line b { color: #f1f5fb; }

/* Colors & badges legend grid */
.rh-legend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rh-legend-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
}
.rh-legend-vis {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; border-radius: 9px;
  background: rgba(8,12,26,0.6); border: 1px solid rgba(255,255,255,0.05);
}
.rh-legend-txt { font-size: 12.5px; line-height: 1.5; color: rgba(203,213,225,0.82); }
.rh-legend-txt b { color: #f1f5fb; }
.rh-th-demo {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #c4b5fd;
  padding: 6px 12px; border-radius: 6px;
  box-shadow: inset 0 -2px 0 rgba(167,139,250,0.55);
  background: rgba(167,139,250,0.06);
}
.rh-cell-demo {
  font-family: 'Space Grotesk', monospace; font-size: 16px; font-weight: 600;
  padding: 6px 16px; border-radius: 6px;
}
.rh-cell-demo.rh-oor { color: #fb7185; background: rgba(251,113,133,0.1); }
.rh-cell-demo.rh-blank { color: rgba(148,163,184,0.55); background: rgba(148,163,184,0.06); }
.rh-window-demo {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: #7dd3fc;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.32);
}
/* Mini table-row mock for the "incomplete day" legend card. */
.rh-rowflag-demo {
  display: flex; align-items: center; gap: 14px; width: 86%;
  padding: 8px 12px; border-radius: 6px;
  border-left: 3px solid #fb7185;
  background: rgba(244,63,94,0.16);
  font-family: 'Space Grotesk', monospace; font-size: 13px; color: rgba(254,205,211,0.92);
}
.rh-rowflag-demo span { opacity: 0.9; }
.rh-rowflag-demo .rh-rowflag-blank { color: rgba(254,205,211,0.45); }
/* Inline "?" flag badge mock, matching the one on flagged table rows. */
.rh-flag-q-demo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; vertical-align: middle;
  border: 1px solid rgba(244,63,94,0.55); border-radius: 50%;
  background: rgba(244,63,94,0.16); color: #fda4af;
  font-size: 9px; font-weight: 700; line-height: 1;
}

/* Input flow */
.rh-flow { display: flex; align-items: stretch; gap: 12px; margin-bottom: 12px; }
.rh-flow-sec { margin-top: 4px; }
.rh-flow-step {
  flex: 1 1 0; min-width: 0;
  padding: 13px 14px; border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid color-mix(in srgb, var(--fc) 38%, transparent);
  border-top: 3px solid var(--fc);
}
.rh-flow-num {
  width: 24px; height: 24px; border-radius: 7px; margin-bottom: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #0b1020;
  background: var(--fc);
}
.rh-flow-title { font-size: 13.5px; font-weight: 700; color: #f1f5fb; margin-bottom: 4px; }
.rh-flow-body { font-size: 12px; line-height: 1.5; color: rgba(203,213,225,0.78); }
.rh-flow-arrow { display: flex; align-items: center; color: rgba(148,163,184,0.6); flex-shrink: 0; }

/* pH analytics definitions */
.rh-defs { display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.rh-def {
  display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 14px; align-items: start;
  padding: 11px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
}
.rh-def-term {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  color: #c4b5fd;
}
.rh-def-body { font-size: 12.5px; line-height: 1.5; color: rgba(203,213,225,0.82); }
.rh-def-body b { color: #f1f5fb; }

/* ── "The math" section ───────────────────────────────────────────────────── */
.rh-h-sub { font-size: 15px; margin: 22px 0 10px; }
.rh-mathblock {
  padding: 14px; margin-bottom: 12px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
}
.rh-math-name {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 13px; font-weight: 700; color: #c4b5fd; margin-bottom: 11px;
}
.rh-math-from { font-weight: 500; color: rgba(148,163,184,0.7); font-size: 12px; }
.rh-formula {
  display: flex; align-items: stretch; gap: 9px; flex-wrap: wrap; margin-bottom: 10px;
}
.rh-op {
  display: flex; flex-direction: column; gap: 3px;
  padding: 8px 13px; border-radius: 9px; min-width: 78px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
  color: rgba(203,213,225,0.78);
  background: rgba(8,12,26,0.55); border: 1px solid rgba(255,255,255,0.08);
}
.rh-op i {
  font-style: normal; font-family: 'Space Grotesk', monospace;
  font-size: 18px; font-weight: 700; color: #f1f5fb;
}
.rh-op-a { border-left: 2px solid #38bdf8; }
.rh-op-b { border-left: 2px solid #94a3b8; }
.rh-opx {
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; color: rgba(148,163,184,0.85); min-width: 18px;
}
.rh-eq {
  display: flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 9px; min-width: 64px;
  font-family: 'Space Grotesk', monospace; font-size: 20px; font-weight: 700;
}
.rh-eq-pos { color: #fca5a5; background: rgba(251,113,133,0.12); border: 1px solid rgba(251,113,133,0.35); }
.rh-eq-neg { color: #fca5a5; background: rgba(251,113,133,0.12); border: 1px solid rgba(251,113,133,0.35); }
.rh-math-plain { font-size: 12.5px; line-height: 1.5; color: rgba(203,213,225,0.78); }

/* Trend three-cell */
.rh-trend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.rh-trend-cell {
  display: flex; flex-direction: column; gap: 3px; align-items: center;
  padding: 10px 8px; border-radius: 10px; text-align: center;
  background: rgba(8,12,26,0.5); border: 1px solid rgba(255,255,255,0.07);
}
.rh-trend-cell b { font-size: 13px; color: #f1f5fb; }
.rh-trend-cell span { font-size: 11px; color: rgba(148,163,184,0.78); font-variant-numeric: tabular-nums; }
.rh-trend-rise { border-top: 2px solid #34d399; }
.rh-trend-flat { border-top: 2px solid #94a3b8; }
.rh-trend-fall { border-top: 2px solid #fb7185; }

/* Crash test cards */
.rh-tests { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.rh-test {
  padding: 12px 14px; border-radius: 11px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
}
.rh-test-hd { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: #f1f5fb; margin-bottom: 7px; }
.rh-test-letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
  font-size: 11px; font-weight: 700; color: #fca5a5;
  background: rgba(251,113,133,0.14); border: 1px solid rgba(251,113,133,0.4);
}
.rh-test-rule {
  font-family: 'Space Grotesk', monospace; font-size: 12.5px; font-weight: 600; color: #fcd34d;
  background: rgba(251,191,36,0.08); border-radius: 6px; padding: 5px 9px; margin-bottom: 7px;
}
.rh-test-plain { font-size: 11.5px; line-height: 1.5; color: rgba(203,213,225,0.74); }

/* Severity chips */
.rh-sev { display: flex; flex-direction: column; gap: 8px; }
.rh-sev-chip {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 14px; border-radius: 10px; font-size: 12.5px;
}
.rh-sev-chip b { font-size: 13.5px; flex-shrink: 0; min-width: 64px; }
.rh-sev-chip span { color: rgba(203,213,225,0.82); }
.rh-sev-minor    { background: rgba(56,189,248,0.08);  border: 1px solid rgba(56,189,248,0.3); }
.rh-sev-minor b    { color: #7dd3fc; }
.rh-sev-major    { background: rgba(251,191,36,0.09);  border: 1px solid rgba(251,191,36,0.36); }
.rh-sev-major b    { color: #fcd34d; }
.rh-sev-critical { background: rgba(251,113,133,0.1);  border: 1px solid rgba(251,113,133,0.4); }
.rh-sev-critical b { color: #fca5a5; }

.rh-cell-demo.rh-inline { font-size: 12px; padding: 1px 8px; vertical-align: middle; }

/* ── "?" button on each crash card + per-check deep-dive modal ────────────── */
.rh-test-name { flex: 1 1 auto; }
.rh-q-btn {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 13px; font-weight: 700; line-height: 1;
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.5);
  cursor: pointer;
  transition: all 0.15s ease;
}
.rh-q-btn:hover {
  background: rgba(167, 139, 250, 0.32); color: #fff;
  transform: scale(1.12); box-shadow: 0 0 12px rgba(167, 139, 250, 0.45);
}

.rh-cm-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  background: rgba(4, 6, 16, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.rh-cm-overlay.active { opacity: 1; pointer-events: auto; }
.rh-cm {
  width: min(820px, 100%);
  max-height: 100%;
  display: flex; flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(124, 58, 237, 0.14), transparent 55%),
    rgba(12, 16, 30, 0.99);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.rh-cm-overlay.active .rh-cm { transform: translateY(0) scale(1); }
.rh-cm-head {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.rh-cm-letter {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 15px; font-weight: 700; color: #fca5a5;
  background: rgba(251, 113, 133, 0.14); border: 1px solid rgba(251, 113, 133, 0.45);
}
.rh-cm-title {
  flex: 1 1 auto; margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 17px; font-weight: 600; color: #f1f5fb;
}
.rh-cm-close {
  flex-shrink: 0; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; cursor: pointer; color: rgba(203, 213, 225, 0.8);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.15s ease;
}
.rh-cm-close:hover { background: rgba(248, 113, 113, 0.16); border-color: rgba(248, 113, 113, 0.5); color: #fca5a5; }
.rh-cm-body { padding: 14px 18px 18px; overflow-y: auto; }
.rh-cm-tagrow { margin-bottom: 13px; }
.rh-cm-tag {
  display: inline-block;
  font-family: 'Space Grotesk', ui-monospace, monospace;
  font-size: 13px; font-weight: 600; color: #fcd34d;
  background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: 8px; padding: 6px 12px;
}
/* Two-column layout so the deep-dive fits without endless scrolling. */
.rh-cm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 26px; }
.rh-cm-col { min-width: 0; }
@media (max-width: 640px) { .rh-cm-grid { grid-template-columns: 1fr; } }
.rh-cm-sec { margin-bottom: 13px; }
.rh-cm-h {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(167, 139, 250, 0.85); margin-bottom: 6px;
}
.rh-cm-t { font-size: 13px; line-height: 1.6; color: rgba(203, 213, 225, 0.88); }
.rh-cm-t b { color: #f1f5fb; font-weight: 600; }
.rh-cm-t code, .rh-cm-formula code {
  font-family: 'Space Grotesk', ui-monospace, monospace;
  font-size: 12px; color: #fcd34d;
  background: rgba(251, 191, 36, 0.08); border-radius: 5px; padding: 1px 6px;
}
.rh-cm-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.rh-cm-steps li { font-size: 13px; line-height: 1.55; color: rgba(203, 213, 225, 0.88); }
.rh-cm-steps li b { color: #f1f5fb; }
.rh-cm-formula {
  font-size: 13px; color: #e2e8f0;
  background: rgba(8, 12, 26, 0.6); border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px; padding: 10px 13px;
}
.rh-cm-ex {
  display: block; font-size: 12.5px; line-height: 1.5; color: rgba(203, 213, 225, 0.85);
  border-radius: 8px; padding: 9px 12px; margin-bottom: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.03);
}
.rh-cm-ex b { color: #f1f5fb; }
.rh-cm-ex-tag {
  display: inline-block; margin-right: 8px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 5px;
}
.rh-cm-ex.is-yes { border-color: rgba(74, 222, 128, 0.3); }
.rh-cm-ex.is-yes .rh-cm-ex-tag { color: #86efac; background: rgba(74, 222, 128, 0.16); }
.rh-cm-ex.is-no .rh-cm-ex-tag { color: rgba(148, 163, 184, 0.9); background: rgba(148, 163, 184, 0.12); }
.rh-cm-foot {
  margin-top: 6px; padding: 13px 14px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.55; color: rgba(203, 213, 225, 0.85);
  background: rgba(56, 189, 248, 0.07); border: 1px solid rgba(56, 189, 248, 0.22);
}
.rh-cm-foot b { color: #f1f5fb; }

/* ── "Detailed explanation" expander (crash deep-dives) ───────────────────── */
.rh-detail {
  margin: 4px 0 18px;
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.05);
  overflow: hidden;
}
.rh-detail[open] { background: rgba(167, 139, 250, 0.07); }
.rh-detail-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #d8d3ff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(56, 189, 248, 0.08));
}
.rh-detail-btn::-webkit-details-marker { display: none; }
.rh-detail-btn > span { flex: 1 1 auto; }
.rh-detail-btn:hover { color: #fff; }
.rh-detail-btn svg { color: #c4b5fd; flex-shrink: 0; }
.rh-detail-chev { transition: transform 0.2s ease; }
.rh-detail[open] .rh-detail-chev { transform: rotate(180deg); }
.rh-detail-body { padding: 6px 15px 16px; }

.rh-dd {
  padding: 13px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.rh-dd:first-child { border-top: none; }
.rh-dd-hd {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5fb;
  margin-bottom: 9px;
}
.rh-dd-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 4px 0;
}
.rh-dd-k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.85);
  padding-top: 2px;
}
.rh-dd-v { font-size: 12.5px; line-height: 1.55; color: rgba(203, 213, 225, 0.85); }
.rh-dd-v b { color: #f1f5fb; font-weight: 600; }
.rh-dd-v code {
  font-family: 'Space Grotesk', ui-monospace, monospace;
  font-size: 12px;
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.08);
  border-radius: 5px;
  padding: 1px 6px;
}
.rh-detail-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.22);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.9);
}
.rh-detail-note b { color: #f1f5fb; }

@media (max-width: 720px) {
  .rh-dd-row { grid-template-columns: 1fr; gap: 2px; }
}

/* ── FAQ accordion ────────────────────────────────────────────────────────── */
.rh-faq { display: flex; flex-direction: column; gap: 9px; }
.rh-faq-item {
  border-radius: 11px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.rh-faq-item[open] { border-color: rgba(167,139,250,0.4); background: rgba(167,139,250,0.05); }
.rh-faq-q {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  font-size: 13.5px; font-weight: 600; color: #e9eef7;
  cursor: pointer; list-style: none; user-select: none;
}
.rh-faq-q::-webkit-details-marker { display: none; }
.rh-faq-q > span { flex: 1 1 auto; }
.rh-faq-q:hover { color: #fff; }
.rh-faq-chev { flex-shrink: 0; color: rgba(167,139,250,0.9); transition: transform 0.2s ease; }
.rh-faq-item[open] .rh-faq-chev { transform: rotate(180deg); }
.rh-faq-a {
  padding: 0 15px 14px;
  font-size: 13px; line-height: 1.6; color: rgba(203,213,225,0.85);
}
.rh-faq-a p { margin: 0 0 9px; }
.rh-faq-a p:last-child { margin-bottom: 0; }
.rh-faq-a b { color: #f1f5fb; font-weight: 600; }
.rh-faq-checks { margin: 0 0 6px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.rh-faq-checks li {
  position: relative; padding-left: 24px; font-size: 12.5px; line-height: 1.5;
}
.rh-faq-checks li::before {
  content: ''; position: absolute; left: 4px; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5 5-5.5' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat,
    rgba(52,211,153,0.14);
  border: 1px solid rgba(52,211,153,0.4);
}

/* Mini Initial→Final flow */
.rh-mini-flow { display: inline-flex; align-items: center; gap: 9px; margin-top: 4px; }
.rh-mini-step {
  font-size: 12px; font-weight: 700; color: #f1f5fb;
  padding: 6px 12px; border-radius: 8px;
  background: rgba(8,12,26,0.5); border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--fc);
}
.rh-mini-arrow { color: rgba(148,163,184,0.7); font-size: 16px; }

/* Clock chip */
.rh-clock-chip {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-size: 12px; font-weight: 600; color: #c4b5fd;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.35);
}

/* ── Reflows ──────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .rh-body { grid-template-columns: 1fr; }
  .rh-nav {
    flex-direction: row; flex-wrap: wrap;
    border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .rh-nav-btn { width: auto; }
  .rh-views, .rh-legend-grid, .rh-tests { grid-template-columns: 1fr; }
  .rh-flow { flex-direction: column; }
  .rh-flow-arrow { transform: rotate(90deg); align-self: center; }
  .rh-def { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .rh-flash-chip { animation: none; }
  .rh-modal { transition: none; }
}

/* ══════════════════════════════════════════
   LIGHT MODE — Rooms Help modal overrides
   Dark-first file; these make it correct on the light lavender bg
   WITHOUT touching dark mode. Every selector is scoped to
   html[data-theme="light"]. Backdrop scrims + @keyframes untouched.
══════════════════════════════════════════ */

/* ── Trigger pills ────────────────────────────────────────────────────────── */
html[data-theme="light"] .rooms-help-pill {
  color: #4c1d95;
  background: linear-gradient(135deg, rgba(124,58,237,0.16), rgba(2,132,199,0.10));
  border-color: rgba(124,58,237,0.42);
}
html[data-theme="light"] .rooms-help-pill:hover {
  border-color: rgba(124,58,237,0.7);
  box-shadow: 0 4px 18px rgba(124,58,237,0.22);
  color: #3b0f82;
}
html[data-theme="light"] .rooms-help-pill svg { color: #6d28d9; }

html[data-theme="light"] .rooms-addback-pill {
  color: #075985;
  background: linear-gradient(135deg, rgba(2,132,199,0.16), rgba(13,148,136,0.10));
  border-color: rgba(2,132,199,0.42);
}
html[data-theme="light"] .rooms-addback-pill:hover {
  border-color: rgba(2,132,199,0.7);
  box-shadow: 0 4px 18px rgba(2,132,199,0.22);
}
html[data-theme="light"] .rooms-addback-pill svg { color: #0284c7; }

/* ── Modal shell ──────────────────────────────────────────────────────────── */
html[data-theme="light"] .rh-modal {
  border-color: rgba(124,58,237,0.22);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(124,58,237,0.10), transparent 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(2,132,199,0.08), transparent 55%),
    rgba(252,252,255,0.98);
  box-shadow: 0 40px 100px rgba(80,90,160,0.22), 0 0 0 1px rgba(19,16,58,0.04) inset;
}

/* ── Header ───────────────────────────────────────────────────────────────── */
html[data-theme="light"] .rh-header { border-bottom-color: rgba(19,16,58,0.10); }
html[data-theme="light"] .rh-header-ic {
  color: #6d28d9;
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.4);
}
html[data-theme="light"] .rh-eyebrow { color: #6d28d9; }
html[data-theme="light"] .rh-title { color: var(--text-primary); }
html[data-theme="light"] .rh-close {
  color: var(--text-muted);
  background: rgba(19,16,58,0.05);
  border-color: rgba(19,16,58,0.12);
}
html[data-theme="light"] .rh-close:hover {
  background: rgba(225,29,72,0.12); border-color: rgba(225,29,72,0.5); color: #e11d48;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
html[data-theme="light"] .rh-nav { border-right-color: rgba(19,16,58,0.10); }
html[data-theme="light"] .rh-nav-btn { color: var(--text-secondary); }
html[data-theme="light"] .rh-nav-btn:hover {
  background: rgba(19,16,58,0.05); color: var(--text-primary);
}
html[data-theme="light"] .rh-nav-btn.is-active {
  background: linear-gradient(135deg, rgba(124,58,237,0.85), rgba(2,132,199,0.5));
  border-color: rgba(124,58,237,0.5);
  color: #fff;
}

/* ── Content typography ───────────────────────────────────────────────────── */
html[data-theme="light"] .rh-h { color: var(--text-primary); }
html[data-theme="light"] .rh-p { color: var(--text-secondary); }
html[data-theme="light"] .rh-p b { color: var(--text-primary); }
html[data-theme="light"] .rh-muted { color: var(--text-muted); }

html[data-theme="light"] .rh-fn {
  color: #6d28d9; background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.4);
}

/* Callout box */
html[data-theme="light"] .rh-callout {
  background: rgba(2,132,199,0.08);
  border-color: rgba(2,132,199,0.25);
  color: var(--text-secondary);
}
html[data-theme="light"] .rh-callout-ic { color: #0284c7; }
html[data-theme="light"] .rh-callout b { color: var(--text-primary); }
html[data-theme="light"] .rh-flash-chip {
  background: rgba(2,132,199,0.2); color: #075985;
}

/* Anatomy list */
html[data-theme="light"] .rh-anat-row {
  color: var(--text-secondary);
  background: rgba(19,16,58,0.03); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-anat-row b { color: var(--text-primary); }
html[data-theme="light"] .rh-anat-tag {
  color: #6d28d9; background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.4);
}

/* The 3 views */
html[data-theme="light"] .rh-view-card {
  background: rgba(19,16,58,0.03); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-view-hd { color: var(--text-primary); }
html[data-theme="light"] .rh-view-bd { color: var(--text-secondary); }

/* System demo */
html[data-theme="light"] .rh-sys {
  color: var(--text-secondary);
  background: rgba(19,16,58,0.05);
  border-color: rgba(19,16,58,0.16);
}
html[data-theme="light"] .rh-sys.is-on {
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(2,132,199,0.24));
  border-color: rgba(124,58,237,0.7); color: #fff;
}
html[data-theme="light"] .rh-sys-dot { background: rgba(19,16,58,0.5); }
html[data-theme="light"] .rh-legend-line { color: var(--text-secondary); }
html[data-theme="light"] .rh-legend-line b { color: var(--text-primary); }

/* Colors & badges legend grid */
html[data-theme="light"] .rh-legend-card {
  background: rgba(19,16,58,0.03); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-legend-vis {
  background: rgba(19,16,58,0.04); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-legend-txt { color: var(--text-secondary); }
html[data-theme="light"] .rh-legend-txt b { color: var(--text-primary); }
html[data-theme="light"] .rh-th-demo {
  color: #6d28d9;
  box-shadow: inset 0 -2px 0 rgba(124,58,237,0.55);
  background: rgba(124,58,237,0.08);
}
html[data-theme="light"] .rh-cell-demo.rh-oor { color: #be123c; background: rgba(225,29,72,0.10); }
html[data-theme="light"] .rh-cell-demo.rh-blank { color: var(--text-muted); background: rgba(19,16,58,0.05); }
html[data-theme="light"] .rh-window-demo {
  color: #0284c7;
  background: rgba(2,132,199,0.12); border-color: rgba(2,132,199,0.32);
}
html[data-theme="light"] .rh-rowflag-demo {
  border-left-color: #e11d48;
  background: rgba(225,29,72,0.10);
  color: #9f1239;
}
html[data-theme="light"] .rh-rowflag-demo .rh-rowflag-blank { color: rgba(159,18,57,0.5); }
html[data-theme="light"] .rh-flag-q-demo {
  border-color: rgba(225,29,72,0.55);
  background: rgba(225,29,72,0.12); color: #be123c;
}

/* Input flow */
html[data-theme="light"] .rh-flow-step {
  background: rgba(19,16,58,0.03);
}
html[data-theme="light"] .rh-flow-title { color: var(--text-primary); }
html[data-theme="light"] .rh-flow-body { color: var(--text-secondary); }
html[data-theme="light"] .rh-flow-arrow { color: var(--text-muted); }

/* pH analytics definitions */
html[data-theme="light"] .rh-def {
  background: rgba(19,16,58,0.03); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-def-term { color: #6d28d9; }
html[data-theme="light"] .rh-def-body { color: var(--text-secondary); }
html[data-theme="light"] .rh-def-body b { color: var(--text-primary); }

/* "The math" section */
html[data-theme="light"] .rh-mathblock {
  background: rgba(19,16,58,0.03); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-math-name { color: #6d28d9; }
html[data-theme="light"] .rh-math-from { color: var(--text-muted); }
html[data-theme="light"] .rh-op {
  color: var(--text-secondary);
  background: rgba(19,16,58,0.04); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-op i { color: var(--text-primary); }
html[data-theme="light"] .rh-op-a { border-left-color: #0284c7; }
html[data-theme="light"] .rh-op-b { border-left-color: #64748b; }
html[data-theme="light"] .rh-opx { color: var(--text-muted); }
html[data-theme="light"] .rh-eq-pos { color: #be123c; background: rgba(225,29,72,0.10); border-color: rgba(225,29,72,0.35); }
html[data-theme="light"] .rh-eq-neg { color: #be123c; background: rgba(225,29,72,0.10); border-color: rgba(225,29,72,0.35); }
html[data-theme="light"] .rh-math-plain { color: var(--text-secondary); }

/* Trend three-cell */
html[data-theme="light"] .rh-trend-cell {
  background: rgba(19,16,58,0.04); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-trend-cell b { color: var(--text-primary); }
html[data-theme="light"] .rh-trend-cell span { color: var(--text-muted); }
html[data-theme="light"] .rh-trend-rise { border-top-color: #059669; }
html[data-theme="light"] .rh-trend-flat { border-top-color: #64748b; }
html[data-theme="light"] .rh-trend-fall { border-top-color: #e11d48; }

/* Crash test cards */
html[data-theme="light"] .rh-test {
  background: rgba(19,16,58,0.03); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-test-hd { color: var(--text-primary); }
html[data-theme="light"] .rh-test-letter {
  color: #be123c;
  background: rgba(225,29,72,0.12); border-color: rgba(225,29,72,0.4);
}
html[data-theme="light"] .rh-test-rule {
  color: #92400e;
  background: rgba(217,119,6,0.12);
}
html[data-theme="light"] .rh-test-plain { color: var(--text-secondary); }

/* Severity chips */
html[data-theme="light"] .rh-sev-chip span { color: var(--text-secondary); }
html[data-theme="light"] .rh-sev-minor    { background: rgba(2,132,199,0.08);  border-color: rgba(2,132,199,0.3); }
html[data-theme="light"] .rh-sev-minor b    { color: #0284c7; }
html[data-theme="light"] .rh-sev-major    { background: rgba(217,119,6,0.10);  border-color: rgba(217,119,6,0.36); }
html[data-theme="light"] .rh-sev-major b    { color: #92400e; }
html[data-theme="light"] .rh-sev-critical { background: rgba(225,29,72,0.10);  border-color: rgba(225,29,72,0.4); }
html[data-theme="light"] .rh-sev-critical b { color: #be123c; }

/* "?" button + per-check deep-dive modal */
html[data-theme="light"] .rh-q-btn {
  color: #6d28d9;
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.5);
}
html[data-theme="light"] .rh-q-btn:hover {
  background: rgba(124,58,237,0.28); color: #fff;
  box-shadow: 0 0 12px rgba(124,58,237,0.35);
}

html[data-theme="light"] .rh-cm {
  border-color: rgba(124,58,237,0.3);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(124,58,237,0.10), transparent 55%),
    rgba(252,252,255,0.99);
  box-shadow: 0 30px 80px rgba(80,90,160,0.24);
}
html[data-theme="light"] .rh-cm-head { border-bottom-color: rgba(19,16,58,0.10); }
html[data-theme="light"] .rh-cm-letter {
  color: #be123c;
  background: rgba(225,29,72,0.12); border-color: rgba(225,29,72,0.45);
}
html[data-theme="light"] .rh-cm-title { color: var(--text-primary); }
html[data-theme="light"] .rh-cm-close {
  color: var(--text-muted);
  background: rgba(19,16,58,0.05); border-color: rgba(19,16,58,0.12);
}
html[data-theme="light"] .rh-cm-close:hover {
  background: rgba(225,29,72,0.12); border-color: rgba(225,29,72,0.5); color: #e11d48;
}
html[data-theme="light"] .rh-cm-tag {
  color: #92400e;
  background: rgba(217,119,6,0.12); border-color: rgba(217,119,6,0.32);
}
html[data-theme="light"] .rh-cm-h { color: #6d28d9; }
html[data-theme="light"] .rh-cm-t { color: var(--text-secondary); }
html[data-theme="light"] .rh-cm-t b { color: var(--text-primary); }
html[data-theme="light"] .rh-cm-t code,
html[data-theme="light"] .rh-cm-formula code {
  color: #92400e; background: rgba(217,119,6,0.12);
}
html[data-theme="light"] .rh-cm-steps li { color: var(--text-secondary); }
html[data-theme="light"] .rh-cm-steps li b { color: var(--text-primary); }
html[data-theme="light"] .rh-cm-formula {
  color: var(--text-primary);
  background: rgba(19,16,58,0.04); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-cm-ex {
  color: var(--text-secondary);
  border-color: rgba(19,16,58,0.10); background: rgba(19,16,58,0.03);
}
html[data-theme="light"] .rh-cm-ex b { color: var(--text-primary); }
html[data-theme="light"] .rh-cm-ex.is-yes { border-color: rgba(5,150,105,0.35); }
html[data-theme="light"] .rh-cm-ex.is-yes .rh-cm-ex-tag { color: #047857; background: rgba(16,185,129,0.14); }
html[data-theme="light"] .rh-cm-ex.is-no .rh-cm-ex-tag { color: var(--text-muted); background: rgba(19,16,58,0.08); }
html[data-theme="light"] .rh-cm-foot {
  color: var(--text-secondary);
  background: rgba(2,132,199,0.08); border-color: rgba(2,132,199,0.25);
}
html[data-theme="light"] .rh-cm-foot b { color: var(--text-primary); }

/* "Detailed explanation" expander */
html[data-theme="light"] .rh-detail {
  border-color: rgba(124,58,237,0.28);
  background: rgba(124,58,237,0.05);
}
html[data-theme="light"] .rh-detail[open] { background: rgba(124,58,237,0.08); }
html[data-theme="light"] .rh-detail-btn {
  color: #4c1d95;
  background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(2,132,199,0.08));
}
html[data-theme="light"] .rh-detail-btn:hover { color: #3b0f82; }
html[data-theme="light"] .rh-detail-btn svg { color: #6d28d9; }
html[data-theme="light"] .rh-dd { border-top-color: rgba(19,16,58,0.10); }
html[data-theme="light"] .rh-dd-hd { color: var(--text-primary); }
html[data-theme="light"] .rh-dd-k { color: #6d28d9; }
html[data-theme="light"] .rh-dd-v { color: var(--text-secondary); }
html[data-theme="light"] .rh-dd-v b { color: var(--text-primary); }
html[data-theme="light"] .rh-dd-v code {
  color: #92400e; background: rgba(217,119,6,0.12);
}
html[data-theme="light"] .rh-detail-note {
  background: rgba(2,132,199,0.08); border-color: rgba(2,132,199,0.25);
  color: var(--text-secondary);
}
html[data-theme="light"] .rh-detail-note b { color: var(--text-primary); }

/* FAQ accordion */
html[data-theme="light"] .rh-faq-item {
  background: rgba(19,16,58,0.03); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-faq-item[open] { border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.05); }
html[data-theme="light"] .rh-faq-q { color: var(--text-primary); }
html[data-theme="light"] .rh-faq-q:hover { color: #3b0f82; }
html[data-theme="light"] .rh-faq-chev { color: #7c3aed; }
html[data-theme="light"] .rh-faq-a { color: var(--text-secondary); }
html[data-theme="light"] .rh-faq-a b { color: var(--text-primary); }
html[data-theme="light"] .rh-faq-checks li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5 5-5.5' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat,
    rgba(5,150,105,0.16);
  border-color: rgba(5,150,105,0.45);
}

/* Mini Initial→Final flow */
html[data-theme="light"] .rh-mini-step {
  color: var(--text-primary);
  background: rgba(19,16,58,0.04); border-color: rgba(19,16,58,0.10);
}
html[data-theme="light"] .rh-mini-arrow { color: var(--text-muted); }

/* Clock chip */
html[data-theme="light"] .rh-clock-chip {
  color: #6d28d9;
  background: rgba(124,58,237,0.10); border-color: rgba(124,58,237,0.35);
}

/* Reflow: mobile nav divider */
@media (max-width: 720px) {
  html[data-theme="light"] .rh-nav { border-bottom-color: rgba(19,16,58,0.10); }
}
