/* My Stock Dashboard - slate blue desk, signal-amber Darvas box, Barlow type */
:root {
  --ink: #142030;        /* page */
  --panel: #1b293b;      /* chart + panels */
  --raise: #22334a;      /* hover / selected row */
  --rule: #2e4059;
  --grid: #223248;
  --text: #e7edf4;
  --muted: #93a4b8;
  --box: #e9b44c;        /* the Darvas box - the one bold colour */
  --box-fill: rgba(233, 180, 76, 0.13);
  --gain: #4db6a2;
  --gain-soft: rgba(77, 182, 162, 0.45);
  --loss: #e1625f;
  --loss-soft: rgba(225, 98, 95, 0.45);
  --ma50: #7fa8d6;
  --ma200: #b38fd6;
  --radius-s: 4px;
  --radius-m: 8px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
a { color: var(--ma50); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--box);
  outline-offset: 2px;
}
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.05rem; color: var(--text); }
h3 { font-size: 0.95rem; color: var(--muted); margin-top: 1rem; }
code { background: var(--raise); padding: 0.1em 0.35em; border-radius: var(--radius-s); }
.pos { color: var(--gain); }
.neg { color: var(--loss); }
.muted { color: var(--muted); }
.k { color: var(--muted); font-size: 0.85rem; margin-right: 0.35rem; }

/* ---- top bar ---- */
.top {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.brand {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-weight: 700; font-size: 1.35rem; letter-spacing: 0.01em;
  color: var(--text); text-decoration: none;
}
.nav { display: flex; gap: 1.1rem; }
.nav a, .market-switch a { color: var(--muted); text-decoration: none; padding: 0.2rem 0; }
.nav a[aria-current] { color: var(--text); box-shadow: inset 0 -2px 0 var(--box); }
.ab-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 0.3rem 0.7rem;
  color: var(--muted); text-decoration: none; font-size: 0.9rem;
}
.ab-toggle .dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--rule); }
.ab-toggle.on { color: var(--box); border-color: var(--box); }
.ab-toggle.on .dot { background: var(--box); }
.count .of { color: var(--muted); font-weight: 400; }
.market-switch { margin-left: 0; display: flex; border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; }
.market-switch a { padding: 0.3rem 0.9rem; font-weight: 500; }
.market-switch a + a { border-left: 1px solid var(--rule); }
.market-switch a[aria-current] { background: var(--box); color: var(--ink); }
.logout button {
  background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0.2rem;
}

/* ---- market strip ---- */
.strip {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; align-items: baseline;
  padding: 0.6rem 1.25rem; border-bottom: 1px solid var(--rule); font-size: 0.95rem;
}
.regime { display: flex; gap: 0.5rem; align-items: baseline; padding-left: 0.6rem; border-left: 3px solid var(--muted); }
.regime-up { border-color: var(--gain); }
.regime-down { border-color: var(--loss); }
.regime-mixed { border-color: var(--box); }
.strip .session { margin-left: auto; }
.market-note { margin: 0; padding: 0.5rem 1.25rem; color: var(--box); font-size: 0.92rem; border-bottom: 1px solid var(--rule); }

.page { padding: 1rem 1.25rem 2rem; }

/* ---- setups: list + detail ---- */
.setups { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 1.25rem; align-items: start; }
.list { position: sticky; top: 0.5rem; max-height: calc(100vh - 1rem); overflow: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.tabs a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--text); text-decoration: none; padding: 0.4rem 0.7rem;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius-s);
  font-size: 0.92rem; font-weight: 500; line-height: 1;
}
.tabs a:hover { background: var(--raise); border-color: var(--muted); }
.tabs a[aria-current] {
  background: var(--raise); border-color: var(--box); color: var(--box);
  box-shadow: inset 0 -2px 0 var(--box);
}
.count {
  background: var(--ink); color: var(--muted); font-size: 0.78rem; font-weight: 600;
  padding: 0.08rem 0.38rem; border-radius: 999px; min-width: 1.35rem; text-align: center;
}
.tabs a[aria-current] .count { background: var(--box); color: var(--ink); }
.tab-note { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.6rem; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rows li { border-bottom: 1px solid var(--rule); }
.rows a {
  display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 0.7rem;
  padding: 0.55rem 0.4rem; color: var(--text); text-decoration: none;
}
.rows li.on a, .rows a:hover { background: var(--raise); }
.rows .grade { grid-row: span 3; align-self: center; }
.rows .who { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rows .nm { color: var(--muted); font-size: 0.9rem; }
.rows .meta { font-size: 0.88rem; color: var(--muted); display: flex; gap: 0.6rem; }
.rs.strong { color: var(--box); }
.hh { color: var(--gain); font-size: 0.85rem; }
.vol-strong { color: var(--box); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.2rem; }
.chip {
  font-size: 0.75rem; padding: 0.05rem 0.4rem; border-radius: var(--radius-s);
  border: 1px solid var(--rule); color: var(--muted);
}
.empty-list { color: var(--muted); padding: 1rem 0.2rem; }

/* grade letters: the plate-like mark on every setup */
.grade {
  display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem;
  font-family: "Barlow Condensed", Barlow, sans-serif; font-weight: 700; font-size: 1.35rem;
  border-radius: var(--radius-s); border: 2px solid var(--rule); color: var(--muted);
}
.grade-a { background: var(--box); border-color: var(--box); color: var(--ink); }
.grade-b { border-color: var(--box); color: var(--box); }
.grade-c { border-color: var(--muted); color: var(--text); }
.grade-d, .grade-none { color: var(--muted); }
.grade.potential { border-style: dashed; }
.grade-a.potential { background: transparent; color: var(--box); }

.detail { min-width: 0; }
.d-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.9rem; }
.d-head .grade { width: 3.4rem; height: 3.4rem; font-size: 2.2rem; }
.d-head h1 {
  font-family: "Barlow Condensed", Barlow, sans-serif; font-size: 2.1rem; margin: 0; line-height: 1;
}
.d-head .ex { color: var(--muted); font-size: 1.2rem; }
.d-head .nm { margin: 0.1rem 0 0; color: var(--muted); }
.d-head .sub { margin: 0.15rem 0 0; font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.tag { border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 0 0.4rem; color: var(--muted); font-size: 0.82rem; }
.d-head .d-info { margin-left: auto; display: grid; gap: 0.35rem; justify-items: end; }
.d-head .d-info + .px { margin-left: 1.6rem; padding-left: 1.6rem; border-left: 1px solid var(--rule); }
.stepper { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.stepper a {
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; font-size: 1.35rem; line-height: 1;
  border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--panel);
  color: inherit; text-decoration: none;
}
.stepper a:hover { background: var(--raise); border-color: var(--muted); color: #fff; }
.stepper span { min-width: 4.2rem; text-align: center; font-variant-numeric: tabular-nums; }
.facts { display: flex; gap: 1.1rem; margin: 0; font-size: 0.85rem; }
.facts div { display: grid; text-align: right; }
.facts dt { color: var(--muted); font-size: 0.78rem; }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .d-head { flex-wrap: wrap; }
  .d-head .d-info { order: 3; width: 100%; margin-left: 0; justify-items: start; }
  .facts div { text-align: left; }
}
.d-head .px { margin-left: auto; text-align: right; display: grid; }
.d-head .px strong { font-size: 1.5rem; font-weight: 600; }

.chart-head { display: flex; justify-content: flex-end; margin-bottom: 0.4rem; }
.zoom { display: flex; gap: 0.25rem; }
.zoom button {
  background: var(--panel); color: var(--muted); border: 1px solid var(--rule);
  border-radius: var(--radius-s); padding: 0.25rem 0.6rem; font: inherit; font-size: 0.85rem;
  cursor: pointer; line-height: 1;
}
.zoom button:hover { background: var(--raise); color: var(--text); }
.zoom button[aria-pressed="true"] { border-color: var(--box); color: var(--box); background: var(--raise); }
.chart { height: 420px; border-radius: var(--radius-m); overflow: hidden; margin-bottom: 1.1rem; }

.plan, .base-rate, .events, .snapshot, .cols > section { margin-bottom: 1.2rem; }
.snapshot p { margin: 0 0 0.5rem; }
.plan table { width: 100%; border-collapse: collapse; }
.plan th, .plan td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.plan th { width: 8.5rem; color: var(--muted); font-weight: 500; }
.plan td.note { color: var(--muted); font-size: 0.9rem; }
.plan td.usd { text-align: right; white-space: nowrap; width: 6.5rem; }
.plan tr.stop th { color: var(--loss); }
.actions { margin: 0.8rem 0 0; }
.base-rate p { margin: 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.reasons, .flags { margin: 0; padding-left: 1.1rem; }
.reasons li, .flags li { margin-bottom: 0.35rem; }
.flags li::marker { color: var(--box); }
.events ul { list-style: none; margin: 0; padding: 0; }
.events li { padding: 0.3rem 0; border-bottom: 1px solid var(--rule); }
.events time { color: var(--muted); display: inline-block; min-width: 3.6rem; }
.ps {
  display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; margin-right: 0.3rem;
  border-radius: 50%; background: var(--box); color: var(--ink); font-size: 0.75rem; font-weight: 600;
}
.more { font-size: 0.88rem; }

/* ---- buttons, forms, tables ---- */
.btn {
  display: inline-block; background: var(--box); color: var(--ink); border: 0;
  border-radius: var(--radius-s); padding: 0.5rem 1rem; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.btn.quiet { background: var(--raise); color: var(--text); }
label { display: block; font-size: 0.9rem; color: var(--muted); margin: 0.7rem 0 0.2rem; }
input, select, textarea {
  width: 100%; padding: 0.5rem 0.6rem; font: inherit; color: var(--text);
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius-s);
}
.grid-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 1rem; }
.grid-form .wide { grid-column: 1 / -1; }
.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data th, .data td { padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--rule); text-align: left; }
.data th { color: var(--muted); font-weight: 500; }
.data td.num, .data th.num { text-align: right; }
.data tr.alert td { background: rgba(225, 98, 95, 0.12); }
.data tr.moved td.stopcell { color: var(--gain); }
.panel { background: var(--panel); border-radius: var(--radius-m); padding: 1rem 1.1rem; margin-bottom: 1.25rem; }
.notice { color: var(--gain); }
.error, .warn { color: var(--loss); }
.table-wrap { overflow-x: auto; }
.summary { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-bottom: 1rem; }
.summary strong { font-size: 1.25rem; display: block; }

.readout { background: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius-m);
  padding: 0.9rem 1.1rem; margin: 0 0 1.2rem; }
.readout h2 { margin-bottom: 0.4rem; }
.readout ul { margin: 0; padding-left: 1.1rem; }
.readout li { margin-bottom: 0.35rem; }
.readout li::marker { color: var(--box); }
.readout .legend { margin: 0.7rem 0 0; font-size: 0.86rem; color: var(--muted); max-width: 90ch; }
.readout em { color: var(--text); font-style: normal; font-weight: 500; }

.empty { max-width: 40rem; }
.foot { padding: 1rem 1.25rem 2rem; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--rule); }
.foot p { margin: 0.2rem 0; max-width: 70ch; }

/* ---- auth pages ---- */
body.auth { display: grid; place-items: center; min-height: 100vh; }
.auth-box { width: min(24rem, 92vw); background: var(--panel); padding: 1.6rem; border-radius: var(--radius-m); }
.auth-box h1 { font-family: "Barlow Condensed", Barlow, sans-serif; font-size: 1.7rem; }
.auth-box .btn { margin-top: 1.1rem; width: 100%; }
.temp { color: var(--box); font-size: 1.15rem; }

/* ---- small screens ---- */
@media (max-width: 900px) {
  .top { flex-wrap: wrap; gap: 0.6rem 1rem; }
  .market-switch { margin-left: 0; }
  .setups { grid-template-columns: 1fr; }
  .list { position: static; max-height: none; }
  .cols { grid-template-columns: 1fr; }
  .chart { height: 320px; }
  .plan td.note { display: none; }
  .strip .session { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }

/* ---- history (stage 11) ---- */
.hist-head { margin-bottom: 0.9rem; }
.hist-head h1 { font-family: "Barlow Condensed", Barlow, sans-serif; font-size: 1.7rem; }
.hist-head h1 .muted { font-family: Barlow, sans-serif; font-size: 1rem; font-weight: 400; }
.hist-head .tabs { align-items: center; }
.gfilter { margin-left: auto; display: flex; border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; }
.gfilter a { padding: 0.3rem 0.75rem; color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.gfilter a + a { border-left: 1px solid var(--rule); }
.gfilter a[aria-current] { background: var(--raise); color: var(--box); }
.bank-chart { height: 280px; margin-top: 0.4rem; }
.small { font-size: 0.85rem; }
@media (max-width: 900px) { .gfilter { margin-left: 0; } }

/* ---- how it works (guide page) ---- */
.guide { max-width: 60rem; margin: 0 auto; }
.guide p, .guide li, .guide dd { max-width: 70ch; }
.guide-hero { padding: 0.5rem 0 1.2rem; border-bottom: 1px solid var(--rule); margin-bottom: 1rem; }
.guide-hero h1 { font-family: "Barlow Condensed", Barlow, sans-serif; font-size: 2.2rem; margin-bottom: 0.6rem; }
.lede { font-size: 1.12rem; color: var(--text); margin: 0 0 0.9rem; }
.aim { margin: 0; padding: 0.7rem 0.9rem; border-left: 3px solid var(--box); background: var(--panel);
  border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.4rem; }
.guide-toc a { color: var(--muted); text-decoration: none; font-size: 0.88rem; padding: 0.25rem 0.6rem;
  border: 1px solid var(--rule); border-radius: 999px; }
.guide-toc a:hover { color: var(--text); border-color: var(--muted); }
.guide-sec { padding: 1.2rem 0 1.4rem; border-bottom: 1px solid var(--rule); scroll-margin-top: 1rem; }
.guide-sec h2 { font-family: "Barlow Condensed", Barlow, sans-serif; font-size: 1.55rem; margin-bottom: 0.8rem; }
.guide-sec h3 { color: var(--text); font-size: 1rem; margin: 0 0 0.25rem; }
.guide-sec p { margin: 0 0 0.7rem; }
.guide em { font-style: normal; color: var(--box); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.steps li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; align-items: start; }
.steps .n { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 2px solid var(--box); color: var(--box); font-weight: 600; }
.steps p { margin: 0; color: var(--muted); }
.guide-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.diagram { margin: 0; background: var(--panel); border-radius: var(--radius-m); padding: 0.8rem; }
.diagram svg { width: 100%; height: auto; display: block; }
.d-box { fill: var(--box-fill); stroke: var(--box); stroke-width: 2; }
.d-price { fill: none; stroke: var(--text); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.d-top { stroke: var(--gain); stroke-width: 1.5; stroke-dasharray: 5 4; }
.d-stop { stroke: var(--loss); stroke-width: 1.5; stroke-dasharray: 5 4; }
.d-dot { fill: var(--gain); }
.d-lbl { fill: var(--muted); font-size: 13px; font-family: Barlow, sans-serif; }
.d-lbl.strong { fill: var(--gain); font-weight: 600; }
.d-lbl.muted { font-style: italic; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.8rem; margin-bottom: 0.8rem; }
.card { background: var(--panel); border-radius: var(--radius-m); padding: 0.85rem 1rem; border-top: 3px solid var(--rule); }
.card:first-child { border-top-color: var(--box); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card h3 a { color: var(--text); }
.checks { margin: 0 0 1rem; padding-left: 1.1rem; }
.checks li { margin-bottom: 0.4rem; }
.checks li::marker { color: var(--box); }
.grades-table { max-width: 44rem; margin-bottom: 0.8rem; }
.grades-table .grade { width: 1.9rem; height: 1.9rem; font-size: 1.15rem; }
.plan-list { margin: 0 0 1rem; display: grid; gap: 0; }
.plan-list > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--rule); }
.plan-list dt { color: var(--box); font-weight: 600; }
.plan-list dd { margin: 0; }
.callout { padding: 0.75rem 0.95rem; background: var(--raise); border-radius: var(--radius-s); margin-top: 0.6rem; }
.use-list { margin: 0; padding-left: 1.3rem; }
.use-list li { margin-bottom: 0.45rem; }
@media (max-width: 900px) {
  .guide-split { grid-template-columns: 1fr; }
  .plan-list > div { grid-template-columns: 1fr; gap: 0.1rem; }
}
@media (max-width: 900px) { .nav { flex-wrap: wrap; gap: 0.3rem 1rem; } }
.tabs-h { color: var(--muted) !important; font-size: 0.85rem !important; text-transform: uppercase;
  letter-spacing: 0.06em; margin: 1rem 0 0.2rem !important; }
.tab-list dt { color: var(--text); }

/* ---- users (multi-user) ---- */
.logout { display: flex; align-items: center; gap: 0.7rem; }
.who-am-i { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.who-am-i:hover { color: var(--text); }
.add-user { display: flex; gap: 0.8rem; align-items: end; flex-wrap: wrap; }
.add-user > div { min-width: 14rem; }
.add-user label { margin-top: 0; }
.data details form { margin-top: 0.5rem; }
label.check { display: flex; gap: 0.4rem; align-items: center; margin: 0.4rem 0; color: var(--text); }
label.check input { width: auto; }
.temp-box { border: 1px solid var(--box); }

/* ---- paper bank switch ---- */
.bank-switch { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.bank-switch a { display: inline-flex; gap: 0.5rem; align-items: center; padding: 0.5rem 0.9rem;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius-s);
  color: var(--text); text-decoration: none; font-weight: 500; }
.bank-switch a[aria-current] { border-color: var(--box); box-shadow: inset 0 -2px 0 var(--box); }
.bank-switch .tag { font-weight: 400; }
.box-note { color: var(--box); font-size: 0.85rem; }

/* ---- help (ask a question, answered by Claude from the system guide) ---- */
.help-head { display: flex; gap: 1rem 1.5rem; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.help-head > div { flex: 1 1 28rem; }
.help-head p { margin: 0; max-width: 80ch; }
.help-head .btn { white-space: nowrap; }
.chat { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; max-width: 60rem; }
.chat-q, .chat-a { display: grid; gap: 0.35rem; padding: 0.75rem 0.9rem; border: 1px solid var(--rule);
  border-radius: var(--radius-m); min-width: 0; }
.chat-q { background: var(--raise); margin-left: 12%; }
.chat-a { background: var(--panel); border-left: 4px solid var(--box); margin-right: 6%; }
.chat-a.bad { border-left-color: var(--loss); }
.chat-q p, .chat-a p { margin: 0; }
.chat-who { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.chat-text { line-height: 1.6; max-width: 75ch; overflow-wrap: anywhere; }
.chat-wait { color: var(--muted); }
.chat-shot { display: block; max-width: min(100%, 360px); max-height: 240px; border: 1px solid var(--rule);
  border-radius: var(--radius-s); }
.chat-suggest { display: grid; gap: 0.6rem; justify-items: start; margin-top: 0.4rem; padding: 0.75rem;
  border: 1px solid var(--box); border-radius: var(--radius-m); background: var(--box-fill); }
#ask { max-width: 60rem; }
#ask label:first-of-type { margin-top: 0; }
.help-row { padding: 0.8rem 0; border-top: 1px solid var(--rule); }
.help-row p { margin: 0 0 0.4rem; max-width: 90ch; overflow-wrap: anywhere; }
.help-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; }
a.tag { text-decoration: none; color: var(--ma50); }
@media (max-width: 900px) { .chat-q { margin-left: 0; } .chat-a { margin-right: 0; } }

/* "How the scanner works", folded away at the bottom of the Help page */
details.how { padding: 0; }
details.how > summary { cursor: pointer; padding: 0.9rem 1.1rem; font-weight: 600; font-size: 1.05rem;
  border-radius: var(--radius-m); border-left: 4px solid var(--box); }
details.how > summary:hover { background: var(--raise); }
details.how > summary .muted { font-weight: 400; font-size: 0.95rem; }
details.how[open] > summary { border-bottom: 1px solid var(--rule); border-radius: var(--radius-m) var(--radius-m) 0 0; }
details.how > .guide { padding: 1rem 1.1rem; }
details.how .card, details.how .diagram, details.how .aim { background: var(--ink); }
