:root {
  --bg: #fafaf8; --fg: #1d1d1b; --muted: #6b6b66; --line: #e3e2dc; --card: #fff; --accent: #2b59c3;
  --tested: #1a7f4b; --official_docs: #2b59c3; --community_reported: #9a6a00; --inferred: #6b6b66; --unverified: #b3261e;
  --d1: #1a7f4b; --d2: #5b8a1f; --d3: #b07d00; --d4: #c4571a; --d5: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151514; --fg: #ecebe6; --muted: #9b9a93; --line: #34332f; --card: #1e1e1c; --accent: #8aa9f0;
    --tested: #4cc38a; --official_docs: #8aa9f0; --community_reported: #e0b04a; --inferred: #9b9a93; --unverified: #f08a82;
    --d1: #4cc38a; --d2: #9bc95b; --d3: #e0b04a; --d4: #f0935a; --d5: #f08a82; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px 48px; }
.top { border-bottom: 1px solid var(--line); padding: 14px 16px; }
.brand { font-weight: 700; color: var(--fg); text-decoration: none; }
.foot { color: var(--muted); font-size: 13px; padding-top: 24px; }
h1 { font-size: 30px; margin: 28px 0 8px; line-height: 1.2; }
h2 { font-size: 20px; margin: 36px 0 12px; }
a { color: var(--accent); }
code { font: 13px ui-monospace, Menlo, Consolas, monospace; background: var(--line); padding: 1px 5px; border-radius: 4px; word-break: break-all; }
.lede { color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.search { display: flex; gap: 8px; margin: 20px 0 8px; }
.search input { flex: 1; padding: 10px 12px; font: inherit; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--fg); }
.btn { display: inline-block; padding: 10px 16px; font: inherit; font-weight: 600; background: var(--accent); color: var(--bg); border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; }
.btn[disabled], input[disabled] { opacity: .5; cursor: not-allowed; }
.notice { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); }
.notice.warn { border-color: var(--d4); }
.progress ul { list-style: none; padding: 0; margin: 12px 0; font-size: 14px; }
.ev { padding: 4px 0; border-bottom: 1px dashed var(--line); } .ev b { display: inline-block; min-width: 84px; color: var(--muted); } .ev.warn { color: var(--d4); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--accent); } .card.rec { border-color: var(--accent); }
.row { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.diff, .badge, .chip, .actor { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.diff.d1 { color: var(--d1); } .diff.d2 { color: var(--d2); } .diff.d3 { color: var(--d3); } .diff.d4 { color: var(--d4); } .diff.d5 { color: var(--d5); }
.verdict { display: flex; gap: 20px; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--d3); border-radius: 10px; padding: 18px; }
.verdict.d1 { border-left-color: var(--d1); } .verdict.d2 { border-left-color: var(--d2); } .verdict.d4 { border-left-color: var(--d4); } .verdict.d5 { border-left-color: var(--d5); }
.score { text-align: center; min-width: 96px; } .score .n { font-size: 52px; font-weight: 700; line-height: 1; } .score .of { color: var(--muted); } .score div { font-size: 13px; color: var(--muted); }
.headline { font-size: 18px; margin: 0 0 12px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0; }
.facts dt { font-size: 12px; color: var(--muted); } .facts dd { margin: 0; font-weight: 600; }
.why { margin: 10px 0; } .why summary, .blocker summary { cursor: pointer; font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.steps { list-style: none; padding: 0; counter-reset: s; }
.step { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 12px 48px; margin-bottom: 10px; position: relative; }
.step::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--line); text-align: center; font-weight: 700; font-size: 13px; line-height: 24px; }
.step.human { border-left: 4px solid var(--d4); } .step.agent { border-left: 4px solid var(--tested); }
.actor.human { color: var(--d4); } .actor.agent { color: var(--tested); }
.copy { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .copy span { color: var(--muted); font-size: 13px; }
.blocker { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } @media (max-width: 640px) { .two { grid-template-columns: 1fr; } .verdict { flex-direction: column; } }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 12px; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cite { font-size: 11px; padding: 0 5px; border-radius: 4px; border: 1px solid currentColor; text-decoration: none; margin-left: 2px; vertical-align: super; }
.ev-tested { color: var(--tested); } .ev-official_docs { color: var(--official_docs); } .ev-community_reported { color: var(--community_reported); } .ev-inferred { color: var(--inferred); } .ev-unverified { color: var(--unverified); }
.claims { list-style: none; padding: 0; } .claims li { padding: 10px 0; border-bottom: 1px solid var(--line); } .claims q { color: var(--muted); }
.crumb { margin: 16px 0 0; }
