/* Inter, served from this site (no request to a font service). The latin-ext files are only
   fetched when a page shows a letter from their range. Code uses the system's monospace font. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/inter-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/inter-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* "Front page": warm paper, ink type, thin rules instead of boxes, and the verdict as the
   headline (docs/design-refresh.md). Written against the markup of src/views/*.js,
   public/index.html and worker/ssr.js. */

/* ---------- 1. tokens ---------- */
:root {
  --paper: #f5f2ea;      /* page */
  --field: #fbf9f4;      /* inputs, callouts */
  --ink: #16140f;        /* text, rules, primary button */
  --ink-2: #47433a;      /* secondary text */
  --muted: #696459;      /* hints, labels, dates */
  --rule: #d8d2c3;       /* hairlines between rows (decorative) */
  --rule-strong: #8c8676;/* borders of controls (3:1 on paper) */
  --accent: #2438c9;     /* focus, hover, citations, current step */
  --on-accent: #ffffff;
  --true: #0a6b3c;
  --false: #b3261e;
  --mis: #8a5200;
  --unv: #555d6b;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
  --measure: 720px;
  --gutter: 20px;
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 40px; } }
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121110; --field: #1a1917; --ink: #f1ede4; --ink-2: #cbc6ba; --muted: #9d978a;
    --rule: #33302a; --rule-strong: #7a7468; --accent: #a3b2ff; --on-accent: #10121f;
    --true: #4fd08a; --false: #ff7a70; --mis: #f0ad45; --unv: #aab2bf;
    color-scheme: dark;
  }
}

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration-color: var(--muted); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
h1:focus, h2:focus { outline: none; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .86em; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 3px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- 3. page frame: masthead, banner, main, footer ---------- */
.top { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter) 0; display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.top::after { content: ""; flex: 0 0 100%; height: 2px; background: var(--ink); margin-top: 8px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .mark { display: none; } /* a cached copy of the old page shell still carries the old mark's span */
/* the wordmark: a boxed, slightly tilted rubber stamp (section 17). The link keeps its 44px height; the box is the name's own span. */
.brand [data-product] { display: block; padding: 7px 8px 6px 10px; border: 2px solid currentColor; border-radius: 4px; font-size: 16px; line-height: 1; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; transform: rotate(-2deg); }
nav[data-main] { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
nav[data-main] a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; }
nav[data-main] a:hover { color: var(--ink); border-bottom-color: var(--rule-strong); }
nav[data-main] a.on { color: var(--ink); border-bottom-color: var(--ink); }

.banner { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 16px auto 0; padding: 12px 16px; background: var(--field); border-left: 3px solid var(--mis); font-size: 15px; color: var(--ink-2); }
.banner[hidden] { display: none; }

main { flex: 1 0 auto; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 72px; }
.noscript { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto 24px; padding: 12px 16px; border: 1px dashed var(--rule-strong); font-size: 15px; color: var(--ink-2); }

.foot { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 56px; color: var(--muted); font-size: 14px; line-height: 1.55; display: grid; gap: 4px 72px; }
.foot::before { content: ""; grid-column: 1 / -1; height: 2px; background: var(--ink); margin-bottom: 20px; }
.foot p { margin: 0; }
.foot a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.foot [data-foot-line] { max-width: 40em; }
/* the separator dots between the links are not drawn (font-size 0): spacing separates them, so no dot hangs at a line end */
.foot [data-foot-links] { display: block; font-size: 0; font-weight: 600; color: var(--muted); }
.foot [data-foot-links] a { font-size: 15px; text-decoration: none; margin-right: 22px; }
.foot [data-foot-links] a:last-child { margin-right: 0; }
.foot [data-foot-links] a:hover { color: var(--accent); text-decoration: underline; }
.foot [data-foot-contract] { font: 12.5px/1.6 var(--mono); overflow-wrap: anywhere; }
.foot .powered { margin-top: 12px; padding-top: 6px; border-top: 1px solid var(--rule); }
.foot .powered a { gap: 8px; align-items: baseline; padding-top: 10px; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.foot .powered a span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot .powered a:hover { color: var(--accent); }
@media (min-width: 760px) {
  .foot { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .foot [data-foot-line] { grid-column: 1; grid-row: 2 / span 3; }
  .foot [data-foot-links], .foot [data-foot-contract], .foot .powered { grid-column: 2; }
}

/* ---------- 4. shared type ---------- */
.kicker, .ssr-kicker { font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.hero { padding: 48px 0 0; }
.hero h1, .how h1, .stats h1, .page h1, .notice h1 { font-size: clamp(40px, 7.4vw, 76px); letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.lead { margin: 20px 0 0; font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.counter { margin-top: 14px; font: 600 13px/1.4 var(--mono); color: var(--muted); }
.counter[hidden] { display: none; }
h2.section { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; padding-top: 14px; border-top: 2px solid var(--ink); margin: 0 0 8px; }
.k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; margin: 0 0 10px; }
.k2 { font-size: 14px; font-weight: 700; letter-spacing: 0; margin: 18px 0 6px; }
.hint { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 8px 0 0; }
.hint.strong { color: var(--ink); font-weight: 600; }
.hint:empty { display: none; }
.err { color: var(--false); font-size: 14px; font-weight: 600; margin: 10px 0 0; padding-left: 10px; border-left: 3px solid var(--false); }
.err:empty { display: none; }
.note { margin: 0; font-size: 14px; }
.note:empty { display: none; }
.back { margin-top: 28px; font-size: 15px; font-weight: 600; }
.related a, .back a, .tx-link a, .notice p > a:not(.btn), .page p > a, .how p > a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- 5. buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 16px; letter-spacing: -.01em; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: default; }
.btn[aria-busy="true"] { cursor: progress; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.small, .share .actions .btn.ghost { min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 600; border-width: 1px; border-color: var(--rule-strong); }
.btn.small:not(.ghost) { border-color: var(--ink); }
/* the main call to action carries an arrow; drawn in CSS so the markup and its words do not change */
#go::after, #pf .btn[type=submit]::after { content: "\2192"; font-weight: 400; transition: transform .15s; }
#go:hover:not(:disabled)::after, #pf .btn[type=submit]:hover:not(:disabled)::after { transform: translateX(3px); }
.linkbtn { background: none; border: 0; padding: 0; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--accent); }
.row { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 14px; flex-wrap: wrap; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- 6. chips ---------- */
/* span.chip: a small fact (Provisional, Final, Confidence, countdown, Verified). button.chip: a choice. */
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; border: 1px solid var(--rule-strong); border-radius: 2px; background: none; font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.chip-provisional { border-style: dashed; }
.chip-final { color: var(--ink); border-color: var(--ink); }
button.chip { min-height: 44px; padding: 0 16px; border-radius: 3px; font: 600 14px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
button.chip:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ---------- 7. form fields: ruled, labels above ---------- */
.panel { background: none; border: 0; padding: 0; box-shadow: none; }
.ask textarea, .ask input, .form input, .form textarea, .report textarea, .verify input, .settle input {
  display: block; width: 100%; background: var(--field); border: 0; border-bottom: 2px solid var(--ink); border-radius: 3px 3px 0 0;
  padding: 14px 14px 12px; font-size: 17px; line-height: 1.45; resize: vertical; transition: background-color .15s;
}
.ask textarea::placeholder, .ask input::placeholder, .form input::placeholder, .form textarea::placeholder, .settle input::placeholder, .verify input::placeholder, .report textarea::placeholder { color: var(--muted); opacity: 1; }
.ask textarea:hover, .ask input:hover, .form input:hover, .form textarea:hover, .report textarea:hover, .verify input:hover, .settle input:hover { background: var(--paper); }
.ask textarea:focus-visible, .ask input:focus-visible, .form input:focus-visible, .form textarea:focus-visible, .report textarea:focus-visible, .verify input:focus-visible, .settle input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-bottom-color: var(--accent); }
.form input { min-height: 52px; }
.ask { margin: 36px 0 0; }
.ask textarea { font-size: clamp(19px, 2.4vw, 24px); font-weight: 500; letter-spacing: -.015em; padding: 18px 16px 16px; min-height: 124px; }
.sources { margin-top: 14px; display: grid; gap: 8px; }
.sources[hidden] { display: none; }
.form { display: block; max-width: 640px; margin: 28px 0 0; }
.form label { display: block; font-weight: 700; font-size: 15px; margin: 24px 0 6px; }
.form .hint { margin: 8px 0 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { display: block; min-width: 0; }
.templates { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.templates .hint { margin: 0 6px 0 0; }
.form [data-tpl-proof] { padding-left: 10px; border-left: 3px solid var(--accent); color: var(--ink-2); }
.form .grid2 ~ .hint { margin-top: 10px; }
.form .grid2 + .hint { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); }
.form .row { margin-top: 20px; }

/* ---------- 8. home ---------- */
.examples { margin: 40px 0 0; }
.examples::before { content: attr(aria-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.examples button.chip { display: flex; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; text-align: left; font-size: 16px; font-weight: 500; line-height: 1.35; }
.examples button.chip::after { content: "\2192"; color: var(--muted); transition: transform .15s; }
.examples button.chip:hover { background: none; color: var(--accent); border-bottom-color: var(--accent); }
.examples button.chip:hover::after { color: inherit; transform: translateX(3px); }
.mine, main > section[aria-labelledby="latest-h"], main > section[aria-labelledby="recent-h"], main > section[aria-labelledby="nf-latest-h"] { margin-top: 56px; }
.found { margin: 28px 0 0; padding: 20px; border: 1.5px solid var(--ink); background: var(--field); border-radius: 3px; }
.found h2 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 4px; }
.found .feed { margin-top: 8px; }

/* feed rows (checks and promises) */
.feed { display: block; }
.item { display: block; padding: 14px 0 15px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.item:hover { color: var(--ink); border-bottom-color: var(--ink); }
.item:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.item .txt { display: block; min-width: 0; }
.item .t { display: block; font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.item .m { display: block; margin-top: 3px; font: 12px/1.6 var(--mono); color: var(--muted); }
/* the verdict or status of a row: a small stamp (section 17) in the status colour */
.tag, .state { position: relative; display: inline-block; padding: 5px 6px 4px 7px; border: 1.5px solid currentColor; border-radius: 3px; background: none; font: 800 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--unv); transform: rotate(-2deg); }
.tag::after, .state::after { content: ""; position: absolute; inset: 1.5px; border: 1px solid currentColor; border-radius: 1px; opacity: .6; pointer-events: none; }
/* turned around its centre by a small angle, so even the longest label moves about 2px at each end */
.tag { margin: 0 0 10px 1px; transform-origin: 50% 50%; }
.item:nth-child(even) .tag { transform: rotate(1.5deg); }
.tag.TRUE, .tag.KEPT { color: var(--true); }
.tag.FALSE, .tag.BROKEN { color: var(--false); }
.tag.MISLEADING { color: var(--mis); }
.tag.UNVERIFIABLE, .tag.UNCLEAR { color: var(--unv); }
.tag.OPEN { color: var(--ink); }
.more-row { margin-top: 16px; }
.empty { margin: 0; padding: 28px 0; color: var(--muted); font-size: 15px; border-bottom: 1px solid var(--rule); text-align: left; }
main > .empty { margin-top: 48px; }
/* something went wrong while drawing a page (src/app.js) */
.empty[role="alert"] { color: var(--false); font-weight: 600; border-bottom-color: var(--false); }
.empty[role="status"] { position: relative; }
.empty[role="status"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--rule) 0, var(--ink) 50%, var(--rule) 100%); background-size: 200% 100%; animation: sheen 1.4s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.mine-list { list-style: none; padding: 0; margin: 0; }
.mine-list li { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.mine-list a { text-decoration: none; display: flex; flex: 1 1 auto; gap: 8px; min-width: 0; min-height: 48px; align-items: center; font-size: 15px; }
.mine-list .what { font-weight: 700; white-space: nowrap; }
.mine-list .pv { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.state { flex: none; transform: rotate(-2deg); }
.state-ready { color: var(--true); }
.state-failed { color: var(--false); }
.state-waiting, .state-running { color: var(--muted); }

/* two columns on a desktop, with no change to the markup: the feed moves to a side column */
@media (min-width: 960px) {
  @supports selector(:has(*)) {
    main:has(> form.ask), main:has(> #pf) { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 72px; grid-template-rows: repeat(6, auto) 1fr; }
    main:has(> form.ask) > *, main:has(> #pf) > * { grid-column: 1; }
    main:has(> form.ask) > section[aria-labelledby="latest-h"], main:has(> #pf) > section[aria-labelledby="recent-h"] { grid-column: 2; grid-row: 1 / -1; margin-top: 64px; align-self: start; }
  }
}

/* ---------- 9. result (a check or a promise) ---------- */
.result { padding-top: 40px; border: 0; background: none; border-radius: 0; box-shadow: none; overflow: visible;
  --v: var(--unv); }
.v-TRUE, .p-KEPT { --v: var(--true); }
.v-FALSE, .p-BROKEN { --v: var(--false); }
.v-MISLEADING { --v: var(--mis); }
.v-UNVERIFIABLE, .p-UNCLEAR { --v: var(--unv); }
.p-OPEN { --v: var(--ink); }
.result .band { padding: 0; background: none; color: var(--ink); }
.result .by { margin: 18px 0 0; font-size: 16px; font-weight: 700; display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: center; }
.result .claim { margin: 18px 0 0; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; max-width: 26em; text-wrap: balance; overflow-wrap: anywhere; }
.result .by + .claim { margin-top: 8px; }
.result .label { margin: 10px 0 0 -.035em; color: var(--v); font-weight: 800; font-size: clamp(84px, 23vw, 200px); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; padding-bottom: .18em; }
.v-MISLEADING .label, .p-OPEN .label { font-size: clamp(56px, 15vw, 160px); }
.v-UNVERIFIABLE .label { font-size: clamp(40px, 9.2vw, 96px); line-height: 1; letter-spacing: -.04em; padding-bottom: .18em; text-wrap: balance; }
/* the vote, drawn: one pip per validator. New element (see the spec): p.tally in the band. */
.tally { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 6px 0 0; padding: 14px 0 0; border-top: 2px solid var(--ink); font-size: 15px; font-weight: 600; }
.pips { display: inline-flex; gap: 6px; flex: none; }
.pips i { width: 14px; height: 14px; border-radius: 50%; }
.pips .pip-yes { background: var(--v, var(--true)); }
.pips .pip-no { border: 2px solid var(--ink); }
.pips .pip-idle { border: 2px dotted var(--muted); }
.result .chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.result .tally + .chips { margin-top: 0; border-top: 0; padding-top: 12px; }

.result .body { display: block; padding: 0; margin-top: 36px; }
.result .body > * + * { margin-top: 32px; }
.result .body > .hint + section, .result .body > section + .hint { margin-top: 16px; }
.result .body section > p, .result .body > p { margin-bottom: 0; max-width: 38em; overflow-wrap: anywhere; }
.result .summary { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; font-weight: 500; letter-spacing: -.01em; }
.result ol.src, .result ul.src { margin: 0; padding: 0; list-style: none; display: block; }
.result .src li { position: relative; padding: 0 0 0 34px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.result .src li:last-child { border-bottom: 1px solid var(--rule); }
.result ul.src li { padding-left: 0; }
.result .src li a { display: inline-block; padding: 11px 0; } /* a 44px tap target per source */
.sid { position: absolute; left: 0; top: 13px; min-width: 0; font: 600 12px/1.5 var(--mono); color: var(--muted); }
.outlet { display: block; margin: -8px 0 11px; color: var(--muted); font-size: 13px; }
.cite { font: 600 .72em/1 var(--mono); color: var(--accent); text-decoration: none; vertical-align: super; padding: 0 1px; }
.cite:hover { text-decoration: underline; }
.src li:target { background: var(--field); box-shadow: -8px 0 0 var(--field), inset 3px 0 0 var(--accent); }
.inline-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 8px 0 0 !important; }
.inline-actions a { min-height: 44px; display: inline-flex; align-items: center; }
.embed:empty { display: none; }
.flash { margin: 0; padding: 12px 14px; background: var(--field); border-left: 3px solid var(--accent); font-weight: 600; }
.related p { margin: 0 0 4px; }
.related [hidden] { display: none; }
.related:has(> [hidden]:only-child) { display: none; } /* nothing to say yet: no empty gap */
.result .meta { margin-top: 36px; padding: 14px 0 0; border-top: 1px solid var(--rule); font: 12.5px/1.7 var(--mono); color: var(--muted); display: grid; gap: 2px; }
.result .meta p { margin: 0; }

/* the panel block */
.jury .vote-line { font-weight: 700; margin: 0; }
.jury .timeline { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.seats { list-style: none; padding: 0; margin: 0; }
.seat { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.seat:last-child { border-bottom: 1px solid var(--rule); }
.seat .who { font-weight: 500; }
.seat .vote { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.seat .vote::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px dotted var(--muted); }
.seat.vote-agreed .vote::before { border: 0; background: var(--v, var(--true)); }
.seat.vote-disagreed .vote::before { border: 2px solid var(--ink); }
.seat.vote-timed_out .vote::before, .seat.vote-error .vote::before { border: 2px dashed var(--mis); }
.seat .extra { grid-column: 1 / -1; display: grid; gap: 2px; color: var(--muted); font-size: 14px; }
.seat .note small { font-size: 12px; }
.panel-links { font-size: 14px; margin: 8px 0 0 !important; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.panel-links a { min-height: 44px; display: inline-flex; align-items: center; }
.jury details.round summary, details.report summary, .settle details summary, .table-view summary { cursor: pointer; color: var(--ink-2); font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 3px; }
.jury details.round summary:hover, details.report summary:hover, .settle details summary:hover, .table-view summary:hover { color: var(--accent); }
.jury details.round .seats { margin-bottom: 8px; }

/* on a desktop the panel block sits in a side column next to the evidence */
@media (min-width: 960px) {
  @supports selector(:has(*)) {
    .result .body:has(> .jury) { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 72px; grid-template-rows: repeat(10, auto) 1fr; }
    .result .body:has(> .jury) > * { grid-column: 1; }
    .result .body:has(> .jury) > .jury { grid-column: 2; grid-row: 1 / -1; margin-top: 0; align-self: start; }
  }
}

/* share, second panel, report */
.share { margin-top: 48px; }
.share .actions { margin-top: 12px; }
.more { margin-top: 48px; }
.more > * + * { margin-top: 16px; }
/* one ruled row: verify, report, back. The opened report form and the verify result take a full row below. */
.more-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; padding-top: 6px; border-top: 1px solid var(--rule); font-size: 15px; font-weight: 600; }
.more-links:first-child { border-top: 2px solid var(--ink); }
.more-links > * { margin: 0; }
.more-links .back { margin-left: auto; }
.more-links .back a, .more-links .linkbtn, .more-links details.report summary { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--ink); }
.more-links .back a:hover, .more-links .linkbtn:hover, .more-links details.report summary:hover { color: var(--accent); }
.more-links .live:has([data-live]:not(:empty)) { flex: 0 0 100%; order: 8; }
.more-links details.report[open] { flex: 0 0 100%; order: 9; }
.more-links details.report summary { list-style: none; }
.more-links details.report summary::-webkit-details-marker { display: none; }
.more h2.section { font-size: 22px; letter-spacing: -.02em; text-transform: none; color: var(--ink); font-weight: 800; }
.second { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.second .hint { flex: 1 1 260px; max-width: 560px; margin: 0; }
.second .err { flex: 0 0 100%; }
.live { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.live .hint { margin: 0; }
.report-form { display: grid; gap: 8px; max-width: 520px; padding: 12px 0; }
.report-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 2px; }
.report-form legend { font-weight: 700; margin-bottom: 4px; padding: 0; }
.report-form > label { font-weight: 700; font-size: 15px; margin-top: 8px; }
.report-form .k2 { margin-top: 0; font-size: 17px; }
.report-form .row { margin-top: 4px; justify-content: flex-start; }
.radio { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: var(--ink); }

/* promise page extras */
.verify { padding: 20px; border: 1.5px solid var(--ink); background: var(--field); border-radius: 3px; }
.verify h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.02em; }
.verify p, .result .body .verify > p { margin: 0 0 12px; }
.verify label { font-weight: 700; font-size: 15px; display: block; margin: 8px 0 6px; }
.verify input, .settle input { background: var(--paper); }
.verify .code-line, .result .body .verify > .code-line { margin: 14px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.verify .code-line .k { margin: 0; }
.code-line code { font-size: 16px; padding: 4px 8px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 2px; user-select: all; }
.inline { display: flex; gap: 8px; flex-wrap: wrap; }
.inline input { flex: 1 1 240px; }
.settle form { display: grid; gap: 8px; }
.settle .row { margin-top: 4px; justify-content: flex-start; }
.settle details input { margin-top: 6px; }

/* ---------- 10. waiting and failure ---------- */
.progress, .failure { max-width: 640px; margin: 0; padding-top: 48px; }
.progress h1, .failure h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -.04em; line-height: 1; margin: 0; }
.progress > .hint:first-of-type, .failure > p:not([class]) { margin: 14px 0 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.progress .elapsed ~ .hint { margin-top: 14px; }
.failure .actions { margin-top: 24px; }
.failure .tx-link { margin-top: 16px; }
.live-line { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rotated { margin: 24px 0 0; padding: 2px 0 2px 12px; border-left: 3px solid var(--mis); font-size: 15px; color: var(--ink-2); }
.rotated[hidden] { display: none; }
.steps { list-style: none; padding: 26px 0 0; margin: 28px 0 0; border-top: 2px solid var(--ink); counter-reset: step; }
.rotated + .steps { margin-top: 16px; }
.steps li { counter-increment: step; position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 0 14px; padding-bottom: 24px; color: var(--muted); }
.steps li::before { content: ""; position: absolute; left: 15px; top: 30px; bottom: -2px; width: 1.5px; background: var(--rule); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::before { display: none; }
.steps li .dot { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--rule-strong); background: var(--paper); display: grid; place-items: center; font: 600 12px/1 var(--mono); }
.steps li .dot::before { content: counter(step); }
.steps .st { display: block; font-weight: 600; font-size: 17px; line-height: 1.35; padding-top: 4px; }
.steps li small { display: block; font-size: 14px; line-height: 1.45; margin-top: 2px; color: var(--muted); font-weight: 400; }
.steps li.done { color: var(--ink-2); }
.steps li.done::before { background: var(--ink); }
.steps li.done .dot { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.steps li.done .dot::before { content: "\2713"; font-family: var(--sans); font-size: 14px; }
.steps li.active { color: var(--ink); }
.steps li.active .st { font-weight: 800; }
.steps li.active .dot { border: 2px solid var(--accent); color: var(--accent); }
.steps li.active .dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
.elapsed { margin: 24px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font: 600 14px/1.6 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.slow { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--rule-strong); background: var(--field); border-radius: 3px; font-size: 15px; }
.slow[hidden] { display: none; }
.slow p { margin: 0 0 10px; }
.tx-link { font-size: 14px; margin: 6px 0 0; }
.failure h1 { color: var(--ink); }
.failure::before { content: ""; display: block; width: 56px; height: 6px; background: var(--false); margin-bottom: 20px; }

/* ---------- 11. how it works ---------- */
.how, .stats, .page, .notice { display: block; max-width: none; margin: 0; padding-top: 48px; }
.how .lead, .stats .lead, .page .lead { margin: 20px 0 0; }
.flow { margin: 44px 0 0; padding: 28px 0 0; border-top: 2px solid var(--ink); }
.flow svg { display: block; width: 100%; height: auto; }
.flow .tall { max-width: 440px; }
.flow .wide { display: none; }
@media (min-width: 1000px) { .flow .wide { display: block; } .flow .tall { display: none; } }
.flow .wide .d-desc, .flow .wide .d-looplabel { font-size: 15px; }
.flow .wide .d-num { font-size: 14px; }
.d-line { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.d-node { stroke: var(--ink); stroke-width: 1.5; fill: var(--paper); }
.d-glyph { stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.d-head { fill: var(--ink); }
.d-loop { stroke: var(--false); stroke-width: 1.5; fill: none; stroke-dasharray: 5 5; }
.d-head-loop { fill: var(--false); }
.d-yes { fill: var(--true); }
.d-no { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.d-skip { fill: var(--paper); stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 2 2; }
.d-check { stroke: var(--paper); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.d-num { font: 600 12px var(--mono); fill: var(--muted); letter-spacing: .08em; }
.d-title { font: 800 17px var(--sans); fill: var(--ink); letter-spacing: -.02em; }
.d-desc { font: 400 14px var(--sans); fill: var(--ink-2); }
.d-looplabel { font: 700 13.5px var(--sans); fill: var(--false); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 28px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .pips i { width: 12px; height: 12px; }
.how .example { margin-top: 48px; }
.ex-cols > div { max-width: var(--measure); }
.ex-cols > div > * + * { margin-top: 10px; }
.ex-cols > div > p:first-child { margin-top: 10px; color: var(--ink-2); }
@media (min-width: 960px) {
  .ex-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 72px; align-items: start; }
  .ex-cols .rounds-list { margin-top: 10px; }
  .ex-cols .rounds-list li { grid-template-columns: 1fr auto; }
  .ex-cols .rounds-list .round-votes { grid-column: 1 / -1; }
}
.how .example h2 { font-size: 22px; letter-spacing: -.02em; padding-top: 14px; border-top: 2px solid var(--ink); }
.rounds-list { list-style: none; margin: 16px 0 0; padding: 0; }
.rounds-list li { display: grid; grid-template-columns: 1fr; gap: 6px 20px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); }
.rounds-list li:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 560px) { .rounds-list li { grid-template-columns: 190px auto 1fr; } }
.rounds-list .round-name { font-weight: 700; }
.rounds-list .round-votes { color: var(--muted); font-size: 14px; }
.how .timeline, .how .vote-line { color: var(--ink) !important; font-weight: 600; }
.how .hash { color: var(--muted); }
.facts3 { display: grid; gap: 28px; margin-top: 48px; }
@media (min-width: 760px) { .facts3 { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.facts3 h2 { font-size: 19px; letter-spacing: -.02em; line-height: 1.2; padding-top: 14px; border-top: 2px solid var(--ink); }
.facts3 p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.how-links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 15px; font-weight: 600; }

/* ---------- 12. legal pages, notices, removals, stats ---------- */
.how.legal, .page, .notice { max-width: var(--measure); }
.stats > .lead, .stats > [data-stats] > :not(.tiles) { max-width: var(--measure); }
.how.legal h1, .page h1, .notice h1, .stats h1 { font-size: clamp(34px, 6vw, 56px); }
/* a page of titled sections (the legal pages): ruled, the first rule in ink */
.how .panel { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--rule); }
.how .panel:first-of-type { margin-top: 40px; border-top: 2px solid var(--ink); }
.how .panel h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.02em; }
.how .panel p { margin: 0 0 8px; color: var(--ink-2); max-width: 38em; }
.how .panel p:last-child { margin-bottom: 0; }
.how.legal > p:last-child { margin-top: 24px; font-size: 15px; font-weight: 600; }
.notice p { margin-top: 14px; color: var(--ink-2); }
.notice .btn { margin-top: 8px; }
.page [data-removed] { margin-top: 28px; }
.removed-list { list-style: none; margin: 0; padding: 0; }
.removed-list li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.removed-list li:last-child { border-bottom: 1px solid var(--rule); }
.removed-list b { color: var(--ink); font-family: var(--mono); font-size: 13px; margin-right: 8px; }
.stats > [data-stats] { margin-top: 40px; display: grid; gap: 40px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; } }
.tile { display: flex; flex-direction: column; background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 12px 0 0; }
.tile-label { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.tile-label { min-height: 2.8em; }
.tile-value { margin: auto 0 0; padding-top: 10px; font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
/* on a desktop the chart sits beside the two tables */
@media (min-width: 960px) {
  @supports selector(:has(*)) {
    .stats > [data-stats]:has(> .chart) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 72px; align-items: start; }
    .stats > [data-stats]:has(> .chart) > * { grid-column: 2; max-width: none; }
    .stats > [data-stats]:has(> .chart) > .tiles, .stats > [data-stats]:has(> .chart) > .hint { grid-column: 1 / -1; }
    .stats > [data-stats]:has(> .chart) > .chart { grid-column: 1; grid-row: 2 / span 2; }
  }
}
.stats-table { width: 100%; border-collapse: collapse; background: none; border: 0; font-size: 15px; }
.stats-table th, .stats-table td, .table-view th, .table-view td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.stats-table thead th, .table-view thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.stats-table th[scope="row"] { font-weight: 600; }
.stats-table .tag { margin: 2px 0; vertical-align: middle; transform: rotate(-2deg); }
.n { text-align: right !important; font-variant-numeric: tabular-nums; }
.table-view td.n, .table-view th.n { padding-left: 32px; }
.chart .cols-wrap { position: relative; background: none; border: 0; padding: 24px 0 0; }
.axis-max { position: absolute; top: 0; left: 0; margin: 0; font: 12px/1.4 var(--mono); color: var(--muted); }
.cols { list-style: none; margin: 0; padding: 0; height: 160px; display: flex; align-items: flex-end; gap: 3px; border-bottom: 1px solid var(--ink); }
.col { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.col .bar { display: block; width: 100%; max-width: 24px; min-height: 1px; background: var(--ink); border-radius: 0; }
.col:hover .bar, .col:focus-visible .bar { background: var(--accent); }
.col .tip { display: none; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); font: 12px/1.4 var(--mono); padding: 4px 8px; border-radius: 2px; white-space: nowrap; z-index: 2; }
.col:hover .tip, .col:focus-visible .tip { display: block; }
.axis-x { display: flex; justify-content: space-between; margin: 6px 0 0; font: 12px/1.4 var(--mono); color: var(--muted); }
.table-view { margin-top: 8px; font-size: 14px; }
.table-view table { border-collapse: collapse; }

/* ---------- 13. toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 3px; font-size: 15px; font-weight: 600; box-shadow: 0 6px 24px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); z-index: 30; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 14. the server-rendered article (worker/ssr.js), same look without scripts ---------- */
article.ssr { display: block; padding: 40px 0 0; background: none; border: 0; border-radius: 0; --v: var(--unv); }
article.ssr h1 { margin: 18px 0 0; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; max-width: 26em; text-wrap: balance; overflow-wrap: anywhere; }
article.ssr h2 { margin: 32px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
article.ssr p, article.ssr ul, article.ssr ol { margin: 0; max-width: 38em; }
article.ssr ul, article.ssr ol { padding-left: 0; list-style: none; }
.ssr-label { margin: 10px 0 0 -.035em !important; padding: 0 0 .24em; max-width: none !important; background: none; color: var(--v); font-weight: 800; font-size: clamp(84px, 23vw, 200px); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; border-bottom: 2px solid var(--ink); }
.ssr-true, .ssr-kept { --v: var(--true); background: none; }
.ssr-false, .ssr-broken { --v: var(--false); background: none; }
.ssr-misleading { --v: var(--mis); background: none; font-size: clamp(56px, 15vw, 160px); }
.ssr-open { --v: var(--ink); font-size: clamp(56px, 15vw, 160px); }
.ssr-unverifiable { font-size: clamp(40px, 9.2vw, 96px); line-height: 1; }
.ssr-summary { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; font-weight: 500; }
.ssr-reasoning { margin-top: 12px !important; }
.ssr-reasoning, .ssr-sources li { overflow-wrap: anywhere; }
.ssr-sources li { padding: 10px 0; border-top: 1px solid var(--rule); }
.ssr-src-id { font: 600 12px/1.5 var(--mono); color: var(--muted); }
.ssr-byline { margin-top: 14px !important; font-weight: 700; }
.ssr-proof { margin-top: 16px !important; }
.ssr-panel { margin-top: 32px !important; padding-top: 14px; border-top: 2px solid var(--ink); font-weight: 700; }
.ssr-meta, .ssr-explorer { margin-top: 8px !important; color: var(--muted); font: 12.5px/1.7 var(--mono); }
.ssr-chip { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; margin-left: 6px; border: 1px solid var(--rule-strong); border-radius: 2px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
article.ssr.ssr-notice h1 { font-size: clamp(36px, 6vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
article.ssr.ssr-notice p { margin-top: 14px; color: var(--ink-2); }

/* ---------- 15. phone and reduced motion ---------- */
@media (max-width: 600px) {
  .top { padding-top: 10px; }
  .brand [data-product] { font-size: 15px; }
  nav[data-main] { order: 3; width: 100%; gap: 18px; font-size: 14px; margin-top: -6px; }
  .top::after { margin-top: 2px; }
  .hero { padding-top: 32px; }
  .grid2 { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 calc(50% - 8px); }
  .share .actions .btn:first-child, .share .actions .btn:last-child:nth-child(even) { flex: 1 1 100%; }
  .failure .actions .btn, .notice .actions .btn { flex: 1 1 100%; }
  .more-links { gap: 0 24px; }
  .more-links .back { margin-left: 0; }
  .form input::placeholder { font-size: 15px; }
  .tile-value { font-size: 30px; }
  .ask .row .btn, .form .row .btn { flex: 1 1 100%; }
  .ask .row { flex-direction: column-reverse; align-items: stretch; }
  .ask .row .linkbtn { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .steps li.active .dot::after { opacity: .35; transform: none; }
}

/* ---------- 16. how it works: the diagram page (additions to section 11) ---------- */
/* The round name of the real example reads "Round 1: proposal rejected": give it room on one line. */
@media (min-width: 560px) { .rounds-list li { grid-template-columns: 230px auto 1fr; } }
/* The fee-network variant has two paragraphs in the last block; the removals link sits closer. */
.facts3 p + p { margin-top: 6px; }
/* The contract and Stats links wrap as whole links on a phone. */
.how-links a { white-space: nowrap; }
/* Forced colours (Windows high contrast): the drawing keeps its lines, marks and words. */
@media (forced-colors: active) {
  .d-line, .d-node, .d-glyph, .d-loop, .d-no, .d-skip { stroke: CanvasText; }
  .d-node, .d-no, .d-skip { fill: Canvas; }
  .d-head, .d-head-loop, .d-yes, .d-num, .d-title, .d-desc, .d-looplabel { fill: CanvasText; }
  .d-check { stroke: Canvas; }
}

/* ---------- 17. the stamp ---------- */
/* A rubber stamp drawn in CSS: spaced capitals in a double border, slightly tilted, in the colour
   of its verdict (--v, from .v-TRUE and friends). Used for the wordmark (.brand), the status of a
   feed row (.tag, .state) and the three decorative stamps beside the home headline. Sizes are in
   em, so one font-size scales the whole stamp. Nothing moves, so reduced motion needs no rule. */
.stamp { position: relative; display: inline-block; padding: .2em .38em .16em .46em; border: .08em solid currentColor; border-radius: .14em; color: var(--v, var(--ink)); font-weight: 800; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transform: rotate(-4deg); }
.stamp::after { content: ""; position: absolute; inset: .08em; border: 1px solid currentColor; border-radius: .07em; pointer-events: none; }
/* Home: three stamps beside the headline, decoration only (aria-hidden). Shown where there is
   room for them next to the text, so they never sit on words; not shown on a phone. */
.hero { position: relative; }
.hero-stamps { display: none; }
@media (min-width: 760px) {
  @supports selector(:has(*)) {
    .hero:has(> .hero-stamps) { padding-right: 236px; min-height: 276px; }
    .hero-stamps { display: block; position: absolute; right: 0; top: 60px; width: 210px; height: 200px; pointer-events: none; user-select: none; }
    .hero-stamps .stamp { position: absolute; font-size: 28px; }
    .hero-stamps .stamp:nth-child(1) { left: 34px; top: 4px; transform: rotate(-8deg); }
    .hero-stamps .stamp:nth-child(2) { left: 78px; top: 76px; transform: rotate(5deg); }
    .hero-stamps .stamp:nth-child(3) { left: 0; top: 150px; font-size: 22px; transform: rotate(-3deg); }
  }
}
/* the first two-column widths: the hero column is too narrow to give 236px away */
@media (min-width: 960px) and (max-width: 1179px) {
  .hero:has(> .hero-stamps) { padding-right: 0; min-height: 0; }
  .hero-stamps { display: none; }
}
/* Result and promise pages: one small stamp of the answer at the top right of the head,
   decoration only (aria-hidden); the giant word below stays the only verdict in text. */
.result .band { position: relative; }
.band-stamp { position: absolute; top: -3px; right: 2px; font-size: 13px; pointer-events: none; user-select: none; }
.v-UNVERIFIABLE .band-stamp { top: -1px; font-size: 11px; } /* the longest label: kept clear of the kicker on a small phone */
@media (max-width: 359px) { .v-UNVERIFIABLE .band-stamp { display: none; } }
@media (min-width: 760px) { .band-stamp, .v-UNVERIFIABLE .band-stamp { top: -5px; font-size: 15px; } }
@media print { .hero-stamps, .band-stamp { display: none; } }
