/* My Mental Wellness — the safe-space look (Oct 2026). Loaded last on every page: app, admin, home page.
   Shock's rules: warm, soft and inviting, never sterile; no pills or tiles ever; BuzzHive's structure as the standard
   (chapter labels, one big headline, one big number with a line under it, hairline lists, square buttons).
   Evening palette: warm plum-brown ground, peach (the accent and the next step), sage (done, good days),
   lavender (calm, hard days are shown gently), honey (needs a look). Rounded serif (Fraunces SOFT) + Figtree. */
:root {
  --bg: #1b1517; --bg-2: #231b1d; --panel: #261d20;
  --card: transparent; --card-border: rgba(255,232,214,.10);
  --line: rgba(255,232,214,.10); --line-strong: rgba(255,232,214,.18);
  --text: #f6ece4; --text-2: #d6c6bb; --muted: #a2908a;
  --mint: #f2b29a; --peach: #f2b29a; --sky: #c7b3e0; --lilac: #c7b3e0; --lav: #c7b3e0; --sage: #a9c9a4; --honey: #ecc77f; --amber: #ecc77f;
  --ink: #3a1f17; --danger: #e88478;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 8px; --r-sm: 8px; --btn-radius: 6px;
  color-scheme: dark;
}
body { background: var(--bg); color: var(--text); font-family: var(--sans); }
h1, h2, h3, .serif { font-family: var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.012em; text-wrap: balance; }
h1 em, h2 em, h3 em, em.acc { font-style: italic; color: var(--peach); }
a { color: var(--peach); }
::selection { background: rgba(242,178,154,.35); color: var(--text); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }

/* ambient: an evening sky, not a lab. Peach high on the right, lavender low on the left, a little sage at the bottom. */
.glow { opacity: .16; filter: blur(110px); }
.glow-a { background: radial-gradient(circle, #f2a98a, transparent 62%); }
.glow-b { background: radial-gradient(circle, #b9a0d8, transparent 62%); }
body::after { content: ""; position: fixed; left: 20vw; right: 20vw; bottom: -30vh; height: 60vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(169,201,164,.10), transparent); pointer-events: none; z-index: 0; }
.grain { opacity: .05; animation: none; }

/* type */
.eyebrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font: 600 .74rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; flex: none; width: 32px; height: 1px; background: var(--peach); }
.card-head .eyebrow::before, .ad-tile .eyebrow::before, .eyebrow.plain::before { display: none; }
.eyebrow .t { color: var(--peach); }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.3rem); line-height: 1.06; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.32rem; line-height: 1.25; }
.lead { color: var(--text-2); font-size: 1.1rem; }
.fine, .hint { color: var(--muted); }
.success { color: var(--sage); }
.error { color: var(--danger); }

/* NO TILES. A card is a section of the page: space and one hairline, no box, no fill, no shadow. */
.card, .glass, .card-accent, .card-warn { background: transparent !important; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding: 26px 0 18px !important; margin: 0 !important; transform: none !important; }
.glass::before, .glass::after { display: none !important; }
.card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.card-accent > .eyebrow, .card-accent .card-head .eyebrow { color: var(--peach); }
.card-warn h3 { color: var(--danger); }
.grid { gap: 0 40px; }
.grid > .card { border-top: 1px solid var(--line) !important; }
.screen > section > .card:first-of-type, .screen > section > :is(.daily-checkin, .today-hero) + .card { border-top-color: var(--line); }

/* floating things stay panels: dialogs, sheets, the chat, the crisis screen's resources */
:is(.pe-dialog, .install-card, .note-dialog, .ad-modal, .auth-card, .crisis .res, .ad-drawer, .runner .step-card).card,
.pe-dialog, .install-card, .note-dialog, .auth-card { background: var(--panel) !important; border: 1px solid var(--line-strong) !important; border-radius: var(--r) !important; padding: 22px !important; box-shadow: 0 24px 60px rgba(0,0,0,.45) !important; }
.auth-card { padding: clamp(26px, 5vw, 44px) !important; background: rgba(38,29,32,.92) !important; }

/* numbers: big, soft serif, no boxes */
.grid-stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-stats .card { flex: 1 1 140px; border-top: 0 !important; padding: 16px 20px 14px 0 !important; }
.grid-stats .card + .card { border-left: 1px solid var(--line) !important; padding-left: 20px !important; }
.stat .n { font: 300 2.2rem/1 var(--serif); font-variation-settings: "SOFT" 100; }
.stat .l { color: var(--muted); }

/* lists: hairlines */
.list li { border-top: 1px solid var(--line); padding: 14px 0; }
.list .s { color: var(--muted); }

/* status as words, never shapes (Shock: no pills ever) */
.pill, .st, .tag, .navlink .badge, .ad-badge, .meta { display: inline; background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; font: 600 .74rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pill-mint { color: var(--sage) !important; }
.pill-sky { color: var(--lav) !important; }
.pill-hot, .tag.hot { color: var(--danger) !important; }
.ad-badge { color: var(--danger); margin-left: 6px; }
.navlink .badge { color: var(--peach); margin-left: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 4px 0; }
.tags .tag { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .92rem; color: var(--text-2); }
.tags .tag + .tag::before { content: "·"; margin: 0 10px; color: var(--muted); }
.meta { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .85rem; }

/* buttons: square, warm. One filled button is the main action; everything else is quieter. */
.btn { border-radius: var(--btn-radius); font-weight: 600; }
.btn-primary { background: var(--peach); color: var(--ink); box-shadow: 0 10px 30px rgba(242,178,154,.18); }
.btn-primary:hover { background: #f6c2ad; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--peach); color: var(--text); background: rgba(242,178,154,.06); }
.link { color: var(--peach); }

/* inputs */
input[type=email], input[type=password], input[type=text], input[type=tel], input[type=number], input[type=search], textarea, select { background: rgba(255,240,230,.04) !important; border: 1px solid var(--line-strong) !important; border-radius: var(--r) !important; color: var(--text); }
input:focus, textarea:focus, select:focus { border-color: var(--peach) !important; box-shadow: 0 0 0 3px rgba(242,178,154,.15) !important; outline: none; }

/* ANSWERS: a checklist. Full-width rows, a square check box, hairlines. Works for every answer list (note 17). */
.chips-tight:not(.chips-inline), .choices, .chips:not(.chips-row):not(.chips-tight) { display: flex !important; flex-direction: column; gap: 0 !important; border-top: 1px solid var(--line); margin: 6px 0 10px; }
:is(.chips-tight:not(.chips-inline) .chip-sm, .choices .chip, .chips:not(.chips-row):not(.chips-tight) > .chip) { position: relative; display: block; width: 100%; max-width: none; min-height: 0; margin: 0; padding: 14px 8px 14px 42px; text-align: left; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; color: var(--text); font: 400 1rem/1.4 var(--sans); cursor: pointer; transition: background .2s; }
:is(.chips-tight:not(.chips-inline) .chip-sm, .choices .chip, .chips:not(.chips-row):not(.chips-tight) > .chip)::before { content: ""; position: absolute; left: 8px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid var(--muted); border-radius: 4px; transition: background .15s, border-color .15s; }
:is(.chips-tight:not(.chips-inline) .chip-sm, .choices .chip, .chips:not(.chips-row):not(.chips-tight) > .chip):hover { background: linear-gradient(90deg, rgba(242,178,154,.07), transparent 70%) !important; }
:is(.chips-tight:not(.chips-inline) .chip-sm, .choices .chip, .chips:not(.chips-row):not(.chips-tight) > .chip)[aria-pressed="true"] { color: var(--text) !important; background: linear-gradient(90deg, rgba(242,178,154,.10), transparent 70%) !important; }
:is(.chips-tight:not(.chips-inline) .chip-sm, .choices .chip, .chips:not(.chips-row):not(.chips-tight) > .chip)[aria-pressed="true"]::before { background: var(--peach); border-color: var(--peach); }
:is(.chips-tight:not(.chips-inline) .chip-sm, .choices .chip, .chips:not(.chips-row):not(.chips-tight) > .chip)[aria-pressed="true"]::after { content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 5px; margin-top: -4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.chips > .chip strong, .choices .chip strong { font-weight: 500; font-size: 1rem; display: block; }
.chips > .chip small { display: block; color: var(--muted); margin-top: 2px; font-size: .88rem; }
.chips-tight .chip-other { color: var(--text-2); font-style: italic; }
.other-box { padding: 10px 0 6px 42px; }

/* settings toggles and filters: words with an underline for the one that is on */
.chips-inline, .chips-row, .segs { display: flex !important; flex-wrap: wrap; gap: 4px 24px !important; border: 0 !important; padding: 0 !important; background: none !important; }
:is(.chips-inline, .chips-row) .chip, :is(.chips-inline, .chips-row) .chip-sm, .seg, body.admin .chips-tight .chip-sm { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 8px 0 !important; min-height: 0 !important; width: auto !important; color: var(--text-2) !important; font: 500 .95rem var(--sans) !important; cursor: pointer; }
:is(.chips-inline, .chips-row) .chip::before, :is(.chips-inline, .chips-row) .chip::after, body.admin .chips-tight .chip-sm::before, body.admin .chips-tight .chip-sm::after { display: none !important; }
:is(.chips-inline, .chips-row) .chip[aria-pressed="true"], :is(.chips-inline, .chips-row) .chip-sm[aria-pressed="true"], .seg.on, body.admin .chips-tight .chip-sm[aria-pressed="true"] { color: var(--text) !important; box-shadow: inset 0 -2px 0 var(--peach) !important; }
body.admin .chips-tight { flex-direction: row !important; border-top: 0 !important; gap: 4px 24px !important; }

/* daily-minutes dial and pace picker: no boxes */
.dial { display: flex; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dial-opt { flex: 1; background: none !important; border: 0 !important; border-radius: 0 !important; padding: 14px 6px !important; }
.dial-opt + .dial-opt { border-left: 1px solid var(--line) !important; }
.dial-opt .n { font: 300 1.8rem/1 var(--serif); font-variation-settings: "SOFT" 100; }
.dial-opt[aria-checked="true"] { box-shadow: inset 0 -3px 0 var(--peach) !important; }
.dial-opt[aria-checked="true"] .n { color: var(--peach); }
.tiers { gap: 0 !important; border-top: 1px solid var(--line); }
.tier { background: none !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; padding: 16px 8px !important; }
.tier.on, .tier[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--peach) !important; background: linear-gradient(90deg, rgba(242,178,154,.08), transparent 70%) !important; }

/* sliders */
.slider-card { background: none !important; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; padding: 18px 0 8px !important; }
.anchor-now { font: 300 2.4rem/1 var(--serif); font-variation-settings: "SOFT" 100; color: var(--peach); }
.slider::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--lav), var(--peach) var(--p), rgba(255,232,214,.12) var(--p)); }
.slider::-moz-range-progress { background: var(--peach); }
.slider::-webkit-slider-thumb { background: var(--bg); border-color: var(--peach); box-shadow: 0 0 0 6px rgba(242,178,154,.15), 0 6px 20px rgba(0,0,0,.5); }
.slider::-moz-range-thumb { border-color: var(--peach); }

/* meters and progress lines */
.meter .bar, .progress, .timer-bar { height: 4px; background: var(--line); border-radius: 2px; }
.meter .bar i, .progress i, .timer-bar i { background: linear-gradient(90deg, var(--lav), var(--peach)); border-radius: 2px; }

/* navigation: the active item is a warm bar, nothing boxed */
.sidenav { background: linear-gradient(180deg, rgba(255,232,214,.025), transparent); border-right: 1px solid var(--line); }
.navlink { border-radius: 0 !important; color: var(--text-2); }
.navlink:hover { background: linear-gradient(90deg, rgba(242,178,154,.06), transparent) !important; color: var(--text); }
.navlink[aria-current="page"] { background: linear-gradient(90deg, rgba(242,178,154,.10), transparent) !important; box-shadow: inset 3px 0 0 var(--peach) !important; color: var(--text) !important; }
.navlink[aria-current="page"] .ico svg { stroke: var(--peach); filter: drop-shadow(0 0 8px rgba(242,178,154,.5)); }
.brand span, .topbar .brand span { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: 1.1rem; }
.sidenav-help { margin: 0 12px 10px; padding: 14px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; line-height: 1.5; }
.sidenav-help b { color: var(--text-2); font-weight: 600; display: block; }
.sidenav-help a { color: var(--peach); }
@media (max-width: 899px) {
  .sidenav { background: rgba(27,21,23,.94) !important; }
  .navlink[aria-current="page"] { background: transparent !important; box-shadow: inset 0 2px 0 var(--peach) !important; color: var(--peach) !important; }
  .sidenav-help { display: none; }
}
.topbar { background: rgba(27,21,23,.78); border-bottom-color: var(--line); }
@media (min-width: 900px) { .topbar { background: transparent; } }
.footer { border-top-color: var(--line); }
.banner-safety { background: rgba(199,179,224,.10); border-bottom: 1px solid rgba(199,179,224,.25); }

/* the budget ring becomes a horizon: one big number with a glowing line under it (BuzzHive standard) */
.today-hero { display: grid; gap: 16px; padding: 4px 0 30px; }
.today-hero h1 { max-width: 16ch; }
.today-hero .lead { margin: 0; }
.horizon { display: grid; gap: 8px; margin-top: 8px; max-width: 620px; }
.horizon .num { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.horizon .num b { font: 300 clamp(3.6rem, 10vw, 6rem)/.9 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.03em; color: var(--text); }
.horizon .num span { font: italic 400 1.5rem var(--serif); font-variation-settings: "SOFT" 100; color: var(--peach); }
.horizon .line { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.horizon .line i { display: block; height: 100%; background: linear-gradient(90deg, var(--lav), var(--peach)); box-shadow: 0 0 14px rgba(242,178,154,.7); border-radius: 2px; }
.horizon .cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 600 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.today-hero .actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.today-hero .on-now { color: var(--text-2); }
.today-hero .on-now b { color: var(--text); font-weight: 600; }
.today-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: .92rem; padding: 14px 0 0; }
.today-facts b { color: var(--text-2); font-weight: 600; }
.rough-day { border-top: 1px solid var(--line); padding: 22px 0 6px; color: var(--text-2); display: grid; gap: 4px; margin-top: 18px; }
.rough-day b { color: var(--text); font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: 1.25rem; }
.text-btn { background: none; border: 0; padding: 0; color: var(--text-2); font: 500 1rem var(--sans); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; cursor: pointer; }
.text-btn:hover { color: var(--text); text-decoration-color: var(--peach); }
.daily-checkin .card.practice { box-shadow: none !important; }
.ring::before { background: var(--bg-2); }

/* module list, timelines */
.modlist .num, .tl .dot { border-color: var(--line-strong); }
.modlist .completed .num, .tl .completed .dot { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.modlist :is(.in_progress, .available) .num, .tl :is(.in_progress, .available) .dot { border-color: var(--peach); color: var(--peach); }

/* help card (crisis numbers): calm lavender, always easy to find */
.help-card { border-top: 1px solid rgba(199,179,224,.35) !important; }
.help-card summary { color: var(--lav); }

/* Empathy chat and the Note for the build: panels, warm */
.empathy { background: var(--panel); border: 1px solid var(--line-strong); }
.msg.user { background: rgba(242,178,154,.16); color: var(--text); }
.msg.assistant { background: rgba(255,240,230,.05); }
.empathy-send { background: var(--peach); color: var(--ink); border-radius: var(--r); }
.empathy-fab { border-color: rgba(242,178,154,.45); background: linear-gradient(135deg, rgba(242,178,154,.28), rgba(199,179,224,.22)); }
.note-fab { border-radius: var(--btn-radius) !important; background: rgba(38,29,32,.92); border: 1px solid var(--line-strong); }
.note-fab .dot { background: var(--lav); box-shadow: 0 0 10px var(--lav); }

/* runner (exercises) and the crisis screen */
.runner { background: rgba(27,21,23,.97); }
.crisis { background: var(--bg); }
.crisis .res { background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: var(--r) !important; }
.breath .orb { background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.4), rgba(242,178,154,.9) 45%, rgba(199,179,224,.65) 100%); box-shadow: 0 0 40px rgba(242,178,154,.45); }
.breath .halo { border-color: rgba(242,178,154,.25); }

/* auth pages */
.auth-card h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.auth input[type=email], .auth input[type=password], .auth input[type=text], .auth input[type=tel] { background: rgba(255,240,230,.04) !important; }

/* page editor */
.pe-bar { background: rgba(38,29,32,.96) !important; border-color: rgba(242,178,154,.4) !important; }
.pe-target { outline: 2px dashed var(--peach) !important; }

/* ---------- admin ---------- */
body.admin .ad-top { background: rgba(27,21,23,.92); border-bottom-color: var(--line); }
body.admin .ad-top .brand b { color: var(--peach); font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: "SOFT" 100; }
.ad-tabs a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--peach) !important; }
.ad-tiles { display: flex !important; flex-wrap: wrap; gap: 0 !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad-tile.card { flex: 1 1 150px; border-top: 0 !important; padding: 16px 20px 14px 0 !important; }
.ad-tile.card + .ad-tile.card { border-left: 1px solid var(--line) !important; padding-left: 20px !important; }
.ad-table th { color: var(--muted); border-bottom-color: var(--line-strong); }
.ad-table td { border-bottom-color: var(--line); }
.ad-table tr:hover td { background: rgba(242,178,154,.04); }
.ad-drawer { background: var(--panel) !important; border-left: 1px solid var(--line-strong); }
/* admin Overview, new layout */
.ov-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-bottom: 8px; }
.ov-hero h1 { margin-top: 14px; }
.ov-hero p.lead { margin: 12px 0 0; }
.ov-big { display: grid; gap: 6px; }
.ov-big .row { display: flex; align-items: baseline; gap: 12px; }
.ov-big b { font: 300 clamp(3.8rem, 9vw, 6.2rem)/.9 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.03em; }
.ov-big .row span { font: italic 400 1.4rem var(--serif); color: var(--peach); font-variation-settings: "SOFT" 100; }
.ov-big .cap { font: 600 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ov-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; margin: 40px 0 8px; }
.ov-col h3 { font: 600 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); }
.ov-rows { list-style: none; margin: 0; padding: 0; }
.ov-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ov-rows .v { font-variant-numeric: tabular-nums; font-weight: 600; }
.ov-rows .zero { color: var(--muted); }
.ov-rows .zero .v { font-weight: 400; }
.ov-rows .attn, .ov-rows .attn a { color: var(--honey); }
.ov-rows .attn a { font-size: .9rem; margin-left: 10px; }
@media (max-width: 880px) { .ov-hero { grid-template-columns: 1fr; gap: 20px; } .ov-cols { grid-template-columns: 1fr; gap: 30px; } }

/* one filled button per screen: buttons inside sections are outlined; the page's main action stays filled */
.card .btn-primary, .read-step .btn-primary, .ex-card .btn-primary { background: transparent; color: var(--peach); border: 1px solid rgba(242,178,154,.55); box-shadow: none; }
.card .btn-primary:hover, .read-step .btn-primary:hover { background: rgba(242,178,154,.10); color: var(--text); }
.submit-day .btn-primary, .auth-card .btn-primary, .pe-dialog .btn-primary, .note-dialog .btn-primary, .install-card .btn-primary { background: var(--peach); color: var(--ink); border-color: transparent; }
/* the screen itself never shows a focus box (it takes focus after each page change for screen readers) */
main:focus, main:focus-visible, #main:focus-visible, .screen:focus-visible { outline: none; }
.ad-chart .bar path { fill: #e8a58c; }
.ad-chart .bar.on path { fill: #f6c9b6; }
.ad-chart .grid line { stroke: var(--line); }
/* keep the Note for the build button inside the side menu, above the help line */
@media (min-width: 900px) { .note-fab { left: 18px !important; bottom: 160px !important; } }

/* ---------- home page ---------- */
/* no pills: these were rounded chips; now plain words with a dot between them */
:is(.tag-list, .f-chips) { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; }
:is(.tag-list li, .f-chips li, .marquee-track span, .features-strip span, .ps-pill, .rec) { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; color: var(--text-2); }
:is(.tag-list li, .f-chips li) + li::before { content: "·"; margin: 0 10px; color: var(--muted); }
.marquee-track { gap: 0 !important; }
.marquee-track span { font: italic 400 1.15rem var(--serif) !important; font-variation-settings: "SOFT" 100; color: var(--lav) !important; padding: 0 22px !important; position: relative; }
.marquee-track span::after { content: "·"; position: absolute; right: -3px; color: var(--muted); font-style: normal; }
.features-strip { gap: 6px 0 !important; }
.features-strip span + span::before { content: "·"; margin: 0 12px; color: var(--muted); }
.rec { color: var(--peach) !important; font-weight: 600; }
.rec + .rec::before { content: "·"; margin: 0 8px; color: var(--muted); }
.ps-pill { color: var(--muted); }
/* no tiles: steps and features are open sections with a hairline, not boxes */
.step, .feature { background: transparent !important; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; padding: 24px 0 8px !important; }
.feature::before { display: none; }
.price-card, .price-main, .cta-card, .duo .faq { border-radius: var(--r) !important; }
.price-main { background: var(--panel) !important; }
.phone { border-radius: 36px; }
/* the old icons were drawn in mint; warm them to match */
.step-icon, .feat-icon { filter: hue-rotate(150deg) saturate(.8) brightness(1.05); }
/* the phone on the home page shows the new Today */
.phone-screen { display: flex; flex-direction: column; gap: 8px; }
.ps-top { display: flex; gap: 10px; flex-wrap: wrap; font: 600 .6rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ps-top .ps-day { color: var(--peach); }
.ps-h { font: 400 1.35rem/1.12 var(--serif); font-variation-settings: "SOFT" 100; color: var(--text); margin: 4px 0 2px; }
.ps-h em { color: var(--peach); }
.ps-hz { display: flex; align-items: baseline; gap: 8px; }
.ps-hz b { font: 300 2.8rem/.9 var(--serif); font-variation-settings: "SOFT" 100; color: var(--text); }
.ps-hz span { font: italic 1rem var(--serif); color: var(--peach); }
.ps-line { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ps-line i { display: block; width: 40%; height: 100%; background: linear-gradient(90deg, var(--lav), var(--peach)); box-shadow: 0 0 10px rgba(242,178,154,.7); }
.ps-cta { background: var(--peach); color: var(--ink); font-weight: 600; font-size: .82rem; padding: 10px 12px; border-radius: 6px; text-align: center; margin-top: 6px; }
.ps-fine { font-size: .7rem; color: var(--text-2); margin: 0; }
.ps-fine b { color: var(--text); }
.ps-check { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.ps-check .ps-label { margin: 0 0 2px; }
.ps-q { font: 400 .95rem var(--serif); color: var(--text); margin: 0 0 4px; }
.ps-ans { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid var(--line); font-size: .74rem; color: var(--text); }
.ps-ans::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 1.2px solid var(--muted); border-radius: 3px; }
.ps-ans.on::before { background: var(--peach); border-color: var(--peach); }
.ps-empathy { margin-top: auto; }
/* the aurora behind the hero was drawn in teal and blue; turn it into a dusk sky */
.hero picture img, .map-glow { filter: hue-rotate(205deg) saturate(.75) brightness(.95); }
/* home page banner: the dusk room, with words and a call to action over it */
.mmw-banner { position: relative; isolation: isolate; margin: 40px max(16px, calc((100% - 1040px) / 2)) 20px; min-height: 520px; display: flex; align-items: center; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); }
.mmw-banner-art { position: absolute; inset: 0; z-index: -2; }
.mmw-banner-art img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 55%; }
.mmw-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,21,23,.96) 0%, rgba(27,21,23,.86) 34%, rgba(27,21,23,.25) 62%, rgba(27,21,23,0) 80%), linear-gradient(0deg, rgba(27,21,23,.55), transparent 40%); }
.mmw-banner-copy { max-width: 520px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; }
.mmw-banner-copy h2 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08; }
.mmw-banner-copy > p:not(.eyebrow) { color: var(--text-2); font-size: 1.08rem; margin: 0; }
.mmw-banner-cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.mmw-banner-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; }
.mmw-banner-link:hover { text-decoration-color: var(--peach); }
@media (max-width: 760px) {
  .mmw-banner { min-height: 0; flex-direction: column; align-items: stretch; margin: 28px 16px 12px; }
  .mmw-banner-art { position: relative; inset: auto; height: 300px; }
  .mmw-banner::before { background: linear-gradient(0deg, rgba(27,21,23,1) 0%, rgba(27,21,23,.9) 48%, rgba(27,21,23,0) 70%); }
  .mmw-banner-copy { padding: 0 22px 28px; margin-top: -32px; }
}
.lesson li::marker { color: var(--peach); }

/* ---------- program banners (Oct 6): image, title, one call to action ---------- */
.prog-banner { position: relative; isolation: isolate; min-height: 420px; display: flex; align-items: flex-end; margin: 0 0 8px; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); }
.prog-banner-art, .kid-hero > .prog-banner-art { position: absolute; inset: 0; z-index: -2; }
.prog-banner-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.prog-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,21,23,.95) 0%, rgba(27,21,23,.82) 38%, rgba(27,21,23,.2) 70%, rgba(27,21,23,0) 88%), linear-gradient(0deg, rgba(27,21,23,.7), transparent 45%); }
.prog-banner-copy { position: relative; max-width: 560px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 12px; }
.prog-banner-copy h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
.prog-banner-copy .lead { margin: 0; }
.prog-banner-cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.prog-banner-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; }
.prog-banner-link:hover { text-decoration-color: var(--peach); }
.prog-banner.no-art { min-height: 0; border: 0; }
.prog-banner.no-art::before { display: none; }
.prog-banner.no-art .prog-banner-copy { padding: 0 0 20px; }
@media (max-width: 700px) {
  .prog-banner { min-height: 0; flex-direction: column; align-items: stretch; }
  .prog-banner-art { position: relative; inset: auto; height: 240px; }
  .prog-banner::before { background: linear-gradient(0deg, rgba(27,21,23,1) 0%, rgba(27,21,23,.92) 50%, rgba(27,21,23,0) 72%); }
  .prog-banner-copy { margin-top: -36px; padding: 0 20px 24px; }
}

/* ---------- kids: a sunrise version of the same family (Shock, Oct 6) ---------- */
body.kid-mode {
  --bg: #fbf1e7; --bg-2: #fff7f0; --panel: #fffaf5;
  --line: rgba(92,58,44,.12); --line-strong: rgba(92,58,44,.22); --card-border: rgba(92,58,44,.12);
  --text: #3b2a25; --text-2: #5d4840; --muted: #8c766d;
  --peach: #e2795c; --mint: #e2795c; --sage: #5f9a63; --lav: #7aa6cf; --sky: #7aa6cf; --lilac: #7aa6cf; --honey: #d59a1e; --ink: #ffffff;
  color-scheme: light; background: var(--bg); color: var(--text);
}
body.kid-mode .glow-a { background: radial-gradient(circle, #ffc69a, transparent 62%); opacity: .45; }
body.kid-mode .glow-b { background: radial-gradient(circle, #a9cdf0, transparent 62%); opacity: .4; }
body.kid-mode::after { background: radial-gradient(closest-side, rgba(255,214,120,.35), transparent); }
body.kid-mode .grain { opacity: .03; }
body.kid-mode .sidenav { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.2)); }
body.kid-mode .topbar { background: rgba(251,241,231,.85); }
@media (max-width: 899px) { body.kid-mode .sidenav { background: rgba(255,250,245,.96) !important; } }
body.kid-mode .navlink[aria-current="page"] { background: linear-gradient(90deg, rgba(226,121,92,.14), transparent) !important; }
body.kid-mode :is(input[type=text], input[type=email], textarea, select) { background: #fff !important; color: var(--text); }
body.kid-mode .btn-primary { background: var(--peach); color: #fff; box-shadow: 0 10px 26px rgba(226,121,92,.28); }
body.kid-mode .btn-primary:hover { background: #ea8a6f; }
body.kid-mode .card .btn-primary { background: transparent; color: var(--peach); border-color: rgba(226,121,92,.55); box-shadow: none; }
body.kid-mode .btn-ghost { color: var(--text); }
body.kid-mode .horizon .line i { background: linear-gradient(90deg, #ffcf6e, var(--peach)); box-shadow: 0 0 12px rgba(255,190,110,.8); }
body.kid-mode .slider::-webkit-slider-thumb { background: #fff; }
body.kid-mode .kid-bar { background: rgba(122,166,207,.15); border: 1px solid rgba(122,166,207,.35); color: var(--text); }
body.kid-mode .footer { color: var(--muted); }
body.kid-mode h1, body.kid-mode h2 { letter-spacing: -.005em; }
body.kid-mode :is(.chips-tight:not(.chips-inline) .chip-sm, .choices .chip, .chips:not(.chips-row):not(.chips-tight) > .chip)::before { border-radius: 6px; border-width: 2px; width: 22px; height: 22px; margin-top: -11px; }
body.kid-mode :is(.chips-tight:not(.chips-inline) .chip-sm, .choices .chip, .chips:not(.chips-row):not(.chips-tight) > .chip)[aria-pressed="true"]::after { border-color: #fff; left: 15px; }
body.kid-mode .crisis, body.kid-mode .runner { background: rgba(251,241,231,.98); }
/* kid Today: the banner sits behind the hero */
.kid-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r); padding: 0 !important; min-height: 460px; display: flex; align-items: flex-end; margin-bottom: 18px; }
.kid-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(251,241,231,.97) 0%, rgba(251,241,231,.88) 42%, rgba(251,241,231,.2) 72%, transparent 90%), linear-gradient(0deg, rgba(251,241,231,.8), transparent 40%); }
.kid-hero-copy { display: grid; gap: 14px; padding: clamp(22px, 4vw, 40px); max-width: 600px; }
.kid-hero.no-art { min-height: 0; }
.kid-hero.no-art::before { display: none; }
@media (max-width: 700px) {
  .kid-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .kid-hero > .prog-banner-art { position: relative; height: 220px; }
  .kid-hero::before { background: linear-gradient(0deg, rgba(251,241,231,1) 0%, rgba(251,241,231,.94) 52%, transparent 75%); }
  .kid-hero-copy { margin-top: -28px; padding: 0 18px 22px; }
}
body.kid-mode .prog-banner::before { background: linear-gradient(90deg, rgba(251,241,231,.97) 0%, rgba(251,241,231,.86) 40%, rgba(251,241,231,.15) 72%, transparent 90%), linear-gradient(0deg, rgba(251,241,231,.75), transparent 45%); }
@media (max-width: 700px) { body.kid-mode .prog-banner::before { background: linear-gradient(0deg, rgba(251,241,231,1) 0%, rgba(251,241,231,.94) 52%, transparent 75%); } }
/* stars that feel like a reward */
.star-sky { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 18px 0 8px; font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1; }
.sky-star { color: transparent; -webkit-text-stroke: 1.5px var(--muted); opacity: .55; }
.sky-star.got { color: #f6bf3c; -webkit-text-stroke: 0; opacity: 1; text-shadow: 0 0 18px rgba(246,191,60,.65), 0 0 4px rgba(255,230,160,.9); }
@media (prefers-reduced-motion: no-preference) { .sky-star.got { animation: starIn .7s cubic-bezier(.2,.9,.3,1.4) both; animation-delay: calc(var(--i) * 90ms); } @keyframes starIn { from { transform: scale(.2) rotate(-40deg); opacity: 0; } } }
.kid-stars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kid-stars li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.kid-stars li .t { flex: 1; }
.kid-stars li .s { font: 600 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kid-stars li.got { color: var(--text); }
.kid-stars li.got .s { color: var(--sage); }
.kid-stars .star { font-size: 1.5rem; width: 28px; text-align: center; color: var(--muted); }
.kid-stars li.got .star { color: #f6bf3c; text-shadow: 0 0 10px rgba(246,191,60,.6); }
.kid-cheer { font: italic 400 1.3rem var(--serif); font-variation-settings: "SOFT" 100; color: var(--peach); margin: 0 0 10px; }
body.kid-mode .celebrate-badge { box-shadow: 0 10px 30px rgba(227,196,106,.45), 0 0 0 10px rgba(255,214,120,.25); }
/* the menu icons are drawn light for the dark theme; darken them on the sunrise screens */
body.kid-mode .navlink .ico img { filter: invert(1) sepia(.5) saturate(1.4) hue-rotate(-20deg) brightness(.55); opacity: .75; }
body.kid-mode .navlink[aria-current="page"] .ico img { opacity: 1; }
