
/* Layout: phone first. Question on a navy band, short answer on white, then the evidence picture; reference sections below. Body text 20px, targets 48px. */
:root {
  --bg: #ffffff; --fg: #141919; --muted: #3a4240; --line: #c9cfcd; --soft: #eef1f0;
  --band: #12284a; --on-band: #ffffff; --on-band-2: #d7deea;
  --tint: #e3e5e9; --panel: #ffffff; --accent: #12284a;
  --help: #1f5fa8; --none: #868d95; --harm: #d9711c; --mixed: #9a5b12;
  --stake: #5b3a9e; --stake-2: #b8a6dc; --company: #8a5210;
  --ok: #1d6b45; --alert: #9c4400;
  --display: "Hanken Grotesk", "Arial Narrow", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1419; --fg: #e9edf0; --muted: #b6bfc6; --line: #34404a; --soft: #1a2229;
    --band: #1d3557; --on-band: #ffffff; --on-band-2: #d2dbe8;
    --tint: #18212b; --panel: #0f1419; --accent: #a9c2ea;
    --help: #6ea8ff; --none: #939da7; --harm: #f2a24d; --mixed: #e3b25f;
    --stake: #c3a8f5; --stake-2: #6c5a96; --company: #e6a35a;
    --ok: #6fd3a0; --alert: #f5ad5e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1419; --fg: #e9edf0; --muted: #b6bfc6; --line: #34404a; --soft: #1a2229;
  --band: #1d3557; --on-band: #ffffff; --on-band-2: #d2dbe8;
  --tint: #18212b; --panel: #0f1419; --accent: #a9c2ea;
  --help: #6ea8ff; --none: #939da7; --harm: #f2a24d; --mixed: #e3b25f;
  --stake: #c3a8f5; --stake-2: #6c5a96; --company: #e6a35a;
  --ok: #6fd3a0; --alert: #f5ad5e;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 20px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--help); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.measure { max-width: 68ch; }
.muted { color: var(--muted); }
.disp { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }

/* top */
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 28px; padding-block: 8px; border-bottom: 2px solid var(--fg); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; text-decoration: none; }
.wordmark::before { content: ""; width: 15px; height: 15px; background: var(--accent); }
.topbar nav { display: flex; flex-wrap: wrap; gap: 0 26px; font-size: 18px; font-weight: 700; }
.topbar nav a { display: inline-flex; align-items: center; min-height: 48px; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-block: 12px; font-size: 17px; color: var(--muted); }
.crumbs .sample { font-weight: 700; }

.qband { background: var(--band); color: var(--on-band); }
.qband .wrap { padding-block: clamp(26px, 5vw, 48px) clamp(24px, 4vw, 40px); }
h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.0; letter-spacing: -0.04em; max-width: 14ch; }
.qband .meta { margin-top: 18px; font-size: 18px; color: var(--on-band-2); }
.review { background: var(--tint); }
.review .wrap { padding-block: 12px; font-size: 18px; line-height: 1.5; }

/* short answer */
.answer-row { display: flex; flex-wrap: wrap; gap: 24px 72px; align-items: flex-end; padding-top: 36px; }
.answer-row > :first-child { flex: 1 1 520px; min-width: 0; }
.label { font-size: 18px; font-weight: 700; color: var(--muted); }
.answer { margin-top: 4px; font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.035em; }
.answer-sub { margin-top: 14px; font-size: 21px; max-width: 44ch; }
.confidence { flex: 0 1 300px; min-width: 240px; }
.conf-word { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; line-height: 1.2; }
.meter { display: flex; gap: 5px; margin-top: 10px; }
.meter span { flex: 1 1 0; height: 14px; background: var(--line); }
.meter span.on { background: var(--fg); }
.meter-scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 16px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; border: 2px solid var(--fg); background: transparent; color: var(--fg); font: inherit; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--soft); }
.btn[disabled] { color: var(--muted); border-color: var(--line); cursor: not-allowed; background: transparent; }
.confidence .btn { margin-top: 16px; }
.no-advice { margin-top: 20px; font-size: 18px; color: var(--muted); }

/* sections */
section.s { margin-top: clamp(52px, 7vw, 76px); scroll-margin-top: 16px; }
h2 { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--fg); font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -0.03em; }
h3 { margin: 0; font-size: 21px; line-height: 1.3; }
.lede { margin-bottom: 18px; max-width: 64ch; }
.note { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 70ch; }
.refs { margin-top: 8px; font-size: 18px; color: var(--muted); }
.refs a { color: var(--fg); }

/* picture: where the evidence stands */
.picture { margin-top: 44px; background: var(--tint); padding-block: 28px 24px; padding-inline: clamp(16px, 3vw, 36px); scroll-margin-top: 16px; }
.picture h2 { border: 0; padding: 0; margin-bottom: 6px; }
.dir-label { margin: 16px 0 6px; font-size: 16px; font-weight: 700; color: var(--muted); }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; background: var(--panel); padding: 12px 14px 13px; }
.step-text h3 { font-size: 19px; }
.step-text p { margin-top: 2px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.step-n { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; padding-top: 2px; }
.step-body { grid-column: 1 / -1; }
.step-empty { outline: 2px dashed var(--accent); outline-offset: -2px; }
.step-gap { font-size: 18px; font-weight: 700; color: var(--accent); }
.dots { display: flex; flex-wrap: wrap; gap: 0; margin-left: -4px; }
.dot { display: inline-grid; place-items: center; width: 28px; height: 28px; text-decoration: none; }
.dot::before { content: ""; width: 19px; height: 19px; border-radius: 50%; box-sizing: border-box; transition: transform .12s; }
a.dot:hover::before { transform: scale(1.2); }
.dot.help::before { background: var(--help); }
.dot.none::before { background: var(--none); }
.dot.harm::before { background: var(--harm); }
.dot.mixed::before { background: linear-gradient(90deg, var(--help) 50%, var(--harm) 50%); }
.dot.na::before { border: 2.5px solid var(--none); }
.step-sum { font-size: 16px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 17px; }
.legend li { display: inline-flex; align-items: center; gap: 4px; }
.legend .dot { width: 22px; height: 22px; }
.legend .dot::before { width: 15px; height: 15px; }
.picture .note { color: var(--fg); }
.picture .more { display: inline-flex; align-items: center; min-height: 48px; margin-top: 6px; font-size: 18px; font-weight: 700; }

/* found + findings */
.found { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 0 48px; }
.found li { display: flex; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.found li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 11px; background: var(--accent); }
.found a { font-size: 18px; white-space: nowrap; }
.findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 48px; }
.finding { padding-block: 18px 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.finding h3 { font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1.2; letter-spacing: -0.01em; }
.finding p { margin-top: 10px; }

/* charts */
.chart { margin: 0; }
.chart img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #ffffff; }
.chart figcaption { margin-top: 10px; font-size: 17px; color: var(--muted); max-width: 70ch; }
details.data { margin-top: 14px; border: 1px solid var(--line); padding: 4px 16px 10px; }
details.data summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.table-wrap { overflow-x: auto; }
.food-table, .conf-table, .history { width: 100%; border-collapse: collapse; font-size: 17px; }
.food-table th, .food-table td, .conf-table th, .conf-table td, .history th, .history td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.food-table th, .conf-table th, .history th { font-size: 16px; font-weight: 700; color: var(--muted); }
.food-table td.num { font-family: var(--display); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* submitted papers */
.claims { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px 48px; }
.claim { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 4px solid var(--accent); min-width: 0; }
.claim h3 { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.claim .src { font-size: 18px; color: var(--muted); }
.claim .sub { font-size: 18px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.claim ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 19px; }
.verdict { margin-top: auto; padding: 12px 14px; background: var(--tint); font-weight: 700; }
.badges { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* chips: plain labels, no pills */
.chips { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.chip.dir::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; box-sizing: border-box; }
.chip.dir.help::before { background: var(--help); }
.chip.dir.none::before { background: var(--none); }
.chip.dir.harm::before { background: var(--harm); }
.chip.dir.mixed::before { background: linear-gradient(90deg, var(--help) 50%, var(--harm) 50%); }
.chip.dir.na::before { border: 2.5px solid var(--none); }
.chip.stake::before { content: ""; width: 12px; height: 12px; flex: 0 0 auto; box-sizing: border-box; }
.chip.stake.tll, .chip.stake.linked { color: var(--stake); }
.chip.stake.tll::before { background: var(--stake); }
.chip.stake.linked::before { background: repeating-linear-gradient(135deg, var(--stake-2) 0 3px, var(--stake) 3px 5px); }
.chip.stake.company { color: var(--company); }
.chip.stake.company::before { background: var(--company); }
.chip.stake.unknown, .chip.stake.none { color: var(--muted); }
.chip.stake.unknown::before { border: 2px dashed var(--muted); }
.chip.stake.none::before { border: 2px solid var(--muted); }
.chip.neutral { color: var(--muted); font-weight: 400; }
.chip.submitted { color: var(--accent); }

/* funding */
.fund-bar { display: flex; gap: 4px; height: 30px; margin: 4px 0 12px; }
.seg { flex: 1; }
.seg.tll, .sw.tll { background: var(--stake); }
.seg.linked, .sw.linked { background: repeating-linear-gradient(135deg, var(--stake-2) 0 5px, var(--stake) 5px 8px); }
.seg.company, .sw.company { background: var(--company); }
.seg.unknown, .sw.unknown { background: repeating-linear-gradient(135deg, var(--soft) 0 5px, var(--line) 5px 8px); border: 1px solid var(--line); }
.seg.none, .sw.none { background: var(--bg); border: 2px solid var(--none); }
.fund-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; font-size: 17px; }
.fund-legend li { display: flex; align-items: center; gap: 8px; }
.fund-legend b { font-family: var(--display); font-weight: 800; }
.sw { width: 16px; height: 16px; display: inline-block; flex: 0 0 auto; }
.fund-list { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 0 32px; }
.fund-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; min-height: 52px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: 18px; }
.rule-box { margin-top: 18px; padding: 14px 16px; background: var(--tint); font-size: 18px; max-width: none; }
#funding > p + p { margin-top: 12px; }

/* watch */
.watch { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding: 20px; border: 2px solid var(--fg); }
.watch > div:first-child { flex: 1 1 480px; min-width: 0; }
.watch .tag { font-size: 17px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.watch small { display: block; margin-top: 8px; font-size: 16px; color: var(--muted); }

/* studies */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.filter { min-height: 48px; padding: 0 16px; border: 2px solid var(--fg); background: var(--bg); color: var(--fg); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.filter span { font-family: var(--display); font-weight: 800; margin-left: 4px; }
.filter[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.study-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.study { display: grid; gap: 6px; padding-block: 18px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.study:target { background: var(--tint); box-shadow: 0 0 0 8px var(--tint); }
.st-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.st-step { flex-basis: 100%; font-size: 17px; font-weight: 700; color: var(--accent); }
.st-cite { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.015em; }
.st-journal { font-size: 17px; color: var(--muted); font-style: italic; }
.st-who { font-size: 18px; color: var(--muted); }
.st-tested span { font-weight: 700; margin-right: 6px; }
.st-stake { font-size: 17px; color: var(--muted); }

/* method, label, queue, history, form */
.conf-table tr.current td { background: var(--tint); font-weight: 700; }
.conf-table td:first-child { white-space: nowrap; }
ul.plain { margin: 10px 0 0; padding-left: 24px; display: grid; gap: 6px; max-width: 68ch; }
.label-block { margin-top: 6px; border: 2px solid var(--fg); padding: 16px 18px; }
.label-block h3 { font-size: 18px; color: var(--muted); margin-bottom: 8px; }
.label-block dl { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); margin: 0; font-size: 18px; }
.label-block dt, .label-block dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.label-block dt { color: var(--muted); padding-right: 14px; }
.label-block dd { font-weight: 700; }
.label-block dd.no { color: var(--alert); }
.label-block dl > :nth-last-child(-n+2) { border-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 28px; margin-top: 18px; }
.stat { padding-block: 14px; border-bottom: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: 17px; color: var(--muted); }
#made > p { margin-top: 16px; max-width: 70ch; }
.queue { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.queue li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 19px; }
.status { font-size: 16px; font-weight: 700; padding: 2px 8px; border: 2px solid var(--fg); margin-top: 2px; }
.history td:first-child { white-space: nowrap; font-weight: 700; }
.flag-form { display: grid; gap: 16px; padding: 20px; border: 2px solid var(--fg); }
.flag-form label { display: grid; gap: 6px; font-size: 18px; font-weight: 700; }
.flag-form input, .flag-form select, .flag-form textarea { font: inherit; font-size: 19px; font-weight: 400; color: var(--fg); background: var(--bg); border: 2px solid var(--muted); padding: 10px 12px; min-height: 52px; width: 100%; }
.flag-form textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.form-status { font-size: 18px; font-weight: 700; color: var(--ok); }

footer { margin-top: 80px; background: #141919; color: #dfe4e3; }
footer .wrap { padding-block: 28px 36px; display: grid; gap: 8px; font-size: 17px; }
footer .fw { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: #ffffff; }
footer a { color: #ffffff; }

@media (min-width: 760px) {
  .step { grid-template-columns: minmax(0, 1.05fr) 3.2rem minmax(0, 1fr); align-items: center; padding: 12px 18px; }
  .step-body { grid-column: auto; }
  .step-n { text-align: right; }
}
@media (max-width: 560px) {
  .label-block dl { grid-template-columns: 1fr; }
  .label-block dt { border-bottom: 0; padding-bottom: 0; }
  .confidence { min-width: 0; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* generic topic pages */
.topbar nav a.home { color: var(--accent); }
.picture .note b { font-weight: 700; }
.tl { display: grid; grid-template-columns: 10.5rem repeat(var(--nb), minmax(0, 1fr)); border-top: 2px solid var(--fg); }
.tl-g { grid-column: 1; display: flex; align-items: center; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; line-height: 1.25; }
.tl-c { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; padding: 6px 0; border-bottom: 1px solid var(--line); border-left: 1px solid var(--soft); min-width: 0; }
.tl-c .dot, .tl-list .dot { width: 24px; height: 24px; }
.tl-c .dot::before, .tl-list .dot::before { width: 16px; height: 16px; }
.dot.ms::before { box-shadow: 0 0 0 2px var(--bg), 0 0 0 5px var(--fg); }
.tl-y { padding-top: 8px; text-align: center; font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-list { display: none; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.tl-list > li { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 4px 10px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.tl-list .yr { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.5; white-space: nowrap; }
.tl-list .grp { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; font-size: 16px; color: var(--muted); }
.tl-list .grp span { margin-right: 6px; }
.ms-list { margin: 18px 0 0; padding-left: 26px; display: grid; gap: 8px; max-width: 70ch; }
.ms-list li { padding-left: 4px; }
.ms-list .yr { font-weight: 700; }
@media (max-width: 699px) { .tl { display: none; } .tl-list { display: block; } }
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.row { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 2px 20px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--line); }
.row-h { padding: 18px 0 4px; font-size: 17px; font-weight: 700; color: var(--accent); }
.row-l { font-size: 17px; line-height: 1.4; }
.row-l b { font-size: 18px; }
.row-l a { font-weight: 700; }
.row-l span { color: var(--muted); }
.track { position: relative; height: 30px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--line); }
.mark { position: absolute; top: 5px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; box-sizing: border-box; }
.bar { position: absolute; left: 0; top: 5px; height: 20px; min-width: 4px; }
.mark.help, .bar.help { background: var(--help); }
.mark.none, .bar.none { background: var(--none); }
.mark.harm, .bar.harm { background: var(--harm); }
.mark.mixed, .bar.mixed { background: linear-gradient(90deg, var(--help) 50%, var(--harm) 50%); }
.mark.na, .bar.na { border: 2.5px solid var(--none); background: var(--bg); }
.axis-row { border-bottom: 0; padding-top: 2px; }
.axis { position: relative; height: 26px; font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.axis span:first-child { transform: none; }
.axis span:last-child { transform: translateX(-100%); }
.axis-title { font-size: 16px; color: var(--muted); }
@media (max-width: 699px) { .row { grid-template-columns: minmax(0, 1fr); } .axis-row > :first-child { display: none; } }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 0 48px; }
.reviews li { padding-block: 16px 18px; border-bottom: 1px solid var(--line); }
.reviews .rv-h { font-size: 17px; font-weight: 700; color: var(--accent); }
.reviews p + p { margin-top: 6px; }
dl.gloss { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); margin: 0; border-top: 2px solid var(--fg); max-width: 960px; }
dl.gloss dt, dl.gloss dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
dl.gloss dt { font-weight: 700; padding-right: 16px; }
@media (max-width: 560px) { dl.gloss { grid-template-columns: 1fr; } dl.gloss dt { border-bottom: 0; padding-bottom: 0; } }
details.aside { margin-top: 26px; border: 1px solid var(--line); padding: 4px 16px 12px; }
details.aside summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
details.aside ol { margin: 6px 0 0; padding-left: 24px; display: grid; gap: 8px; font-size: 18px; }
details.aside li span { color: var(--muted); }
/* index */
.hero h1 { max-width: 18ch; }
.hero .meta { max-width: 52ch; }
.finder { display: grid; gap: 6px; max-width: 560px; margin-top: 30px; font-size: 18px; font-weight: 700; }
.finder input { font: inherit; font-size: 20px; font-weight: 400; color: var(--fg); background: var(--bg); border: 2px solid var(--muted); padding: 10px 14px; min-height: 54px; width: 100%; }
.topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 36px; }
.card { display: block; height: 100%; padding-block: 18px 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.15; letter-spacing: -0.02em; }
.card:hover h3, .card:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; }
.card .ans { margin-top: 8px; font-weight: 700; }
.card .cmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 8px; font-size: 17px; color: var(--muted); }
.mini { display: inline-flex; gap: 3px; }
.mini span { width: 18px; height: 9px; background: var(--line); }
.mini span.on { background: var(--fg); }
.empty-msg { margin-top: 24px; font-weight: 700; }
.spread { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 28px; }
.st-more { margin-top: 2px; }
.st-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.st-journal a { font-style: normal; }
.hub-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; border-top: 2px solid var(--fg); }
.hub-links li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px; min-height: 56px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.hub-links a { font-weight: 700; }
.hub-links span { font-size: 17px; color: var(--muted); }
/* study pages: one hub file per topic; each study is a section shown when its #anchor is the target */
.sp { display: none; }
.sp:target { display: block; }
body:has(.sp:target) .hub { display: none; }
.kicker { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--on-band-2); }
.sp h1, .hub h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.04; max-width: 24ch; }
.orig { margin-top: 12px; font-size: 17px; color: var(--on-band-2); max-width: 75ch; }
.found-dir { margin-top: 6px; font-size: 20px; }
.lead-result { margin-top: 10px; font-size: 22px; line-height: 1.5; max-width: 62ch; }
dl.facts { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); margin: 0; border-top: 2px solid var(--fg); max-width: 1000px; }
dl.facts dt, dl.facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
dl.facts dt { font-weight: 700; color: var(--muted); padding-right: 16px; }
dl.facts dd .chip { margin-right: 10px; }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; } dl.facts dt { border-bottom: 0; padding-bottom: 0; } }
ul.weigh { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); max-width: 860px; }
ul.weigh li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 6px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.mk { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.25; }
.plus .mk { color: var(--ok); }
.minus .mk { color: var(--alert); }
.info .mk { color: var(--muted); }
.mk-key { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 12px; font-size: 17px; color: var(--muted); }
.step.here { outline: 3px solid var(--fg); outline-offset: -3px; }
.dot.me::before { width: 22px; height: 22px; box-shadow: 0 0 0 3px var(--panel), 0 0 0 6px var(--fg); }
.here-tag { display: block; margin-top: 4px; font-size: 17px; font-weight: 700; }
.fit-answer { padding: 18px 20px 20px; background: var(--tint); max-width: 860px; }
.answer-sm { margin-top: 4px; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.fit-answer .btn { margin-top: 14px; }
.fit-text { margin-top: 18px; max-width: 68ch; }
ul.rel { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
ul.rel li { padding-block: 14px; border-bottom: 1px solid var(--line); }
ul.rel li > a { font-weight: 700; font-size: 20px; line-height: 1.35; }
.rmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 6px; font-size: 17px; color: var(--muted); }
.rmeta .chip { font-size: 17px; }
.hub-group { margin: 30px 0 0; padding-bottom: 8px; border-bottom: 0; font-size: 21px; }
h2 + ul.weigh, h2 + dl.facts, h2 + ul.rel { border-top: 0; }
.back { display: inline-flex; align-items: center; min-height: 48px; margin-top: 18px; font-size: 18px; font-weight: 700; }

.info h1 { font-size: clamp(38px, 5.4vw, 66px); max-width: 20ch; }
.info .lead { margin-top: 16px; font-size: 21px; color: var(--on-band-2); max-width: 56ch; }
.info section.s p + p, .info section.s ul + p, .info section.s p + ul { margin-top: 12px; }
.info ol.steps { margin: 0; padding-left: 26px; display: grid; gap: 14px; max-width: 70ch; }
.flinks a { color: #ffffff; }
.flinks { line-height: 2; }
