:root { color-scheme:light dark; --bg:#f6f7f9; --card:#fff; --ink:#1b1f24; --mute:#5b6570; --line:#e3e7ec; --acc:#2456d6; --on-acc:#fff; --acc-soft:#e8eefc;
  --must:#b42318; --should:#b54708; --could:#3f6212; --wont:#667085; --ok:#067647; --bad:#b42318; --hl:#fff3b0; }
@media (prefers-color-scheme: dark) { :root { --bg:#0f1216; --card:#171b21; --ink:#e7eaee; --mute:#9aa4af; --line:#2a313a;
  --acc:#7aa2ff; --on-acc:#0f1216; --acc-soft:#1d2840; --hl:#5a4a00; --ok:#47cd89; --bad:#f97066; --must:#f97066; --should:#fdb022; --could:#a6ef67; --wont:#98a2b3; } }
* { box-sizing:border-box } body { margin:0; font:15px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif; background:var(--bg); color:var(--ink) }
.wrap { max-width:1180px; margin:0 auto; padding:0 16px }
.top { background:var(--card); border-bottom:1px solid var(--line); padding:18px 0 14px; margin-bottom:16px }
h1 { margin:0; font-size:22px; letter-spacing:-.01em } .tag { margin:4px 0 0; color:var(--mute) } .tag strong { color:var(--ink); font-weight:600 }
h2 { font-size:15px; margin:0 0 10px } .hint { color:var(--mute); font-size:13px; font-weight:400 }
.card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:14px; margin-bottom:14px }
label { display:block; font-weight:600; font-size:13px; margin:10px 0 4px }
select, input, textarea { width:100%; font:inherit; color:inherit; background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:8px 10px }
textarea { min-height:140px; font:13px/1.45 ui-monospace,Menlo,Consolas,monospace }
.row { display:flex; gap:8px } .row select { flex:1 }
button { font:inherit; cursor:pointer; border-radius:8px; border:1px solid var(--line); background:var(--card); color:var(--ink); padding:8px 12px }
button.primary { background:var(--acc); color:var(--on-acc); border-color:var(--acc); font-weight:600 } button.ghost { margin-top:8px }
button:disabled { opacity:.5; cursor:wait }
.mode { display:inline-flex; border:1px solid var(--line); border-radius:9px; overflow:hidden; margin-bottom:6px }
.seg { border:0; border-radius:0 } .seg.on { background:var(--acc-soft); color:var(--acc); font-weight:600 }
#progress { background:var(--bg); border-radius:8px; padding:10px; font-size:12px; white-space:pre-wrap; margin:10px 0 0 }
.stats { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px }
.stat { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:8px 12px; min-width:110px }
.stat b { display:block; font-size:20px; line-height:1.1 } .stat span { color:var(--mute); font-size:12px }
.stat.ok b { color:var(--ok) } .stat.bad b { color:var(--bad) }
.split { display:grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap:14px; align-items:start }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0,1fr) } .evidence { position:static !important; max-height:none !important } }
.evidence { position:sticky; top:10px; max-height:calc(100vh - 20px); overflow:auto }
.tabs { display:flex; gap:4px; overflow-x:auto; border-bottom:1px solid var(--line); margin:-4px -4px 12px; padding:0 4px }
.tab { border:0; background:none; padding:8px 10px; border-bottom:2px solid transparent; border-radius:0; color:var(--mute); white-space:nowrap }
.tab.on { color:var(--ink); border-bottom-color:var(--acc); font-weight:600 }
.req { border:1px solid var(--line); border-radius:9px; padding:10px 12px; margin-bottom:8px; cursor:pointer }
.req:hover, .req.sel { border-color:var(--acc); background:var(--acc-soft) }
.req .meta { display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:12px; color:var(--mute); margin-bottom:4px }
.req .id { font-weight:700; color:var(--ink); font-family:ui-monospace,Menlo,monospace }
.pill { border-radius:99px; padding:1px 8px; border:1px solid currentColor; font-weight:600 }
.p-must { color:var(--must) } .p-should { color:var(--should) } .p-could { color:var(--could) } .p-wont { color:var(--wont) }
.req ul { margin:6px 0 0; padding-left:18px; color:var(--mute); font-size:13px }
.quote { font-size:13px; color:var(--mute); margin-top:6px; border-left:3px solid var(--line); padding-left:8px }
.call h3 { font-size:13px; color:var(--mute); margin:10px 0 6px; text-transform:uppercase; letter-spacing:.04em }
.line { font:12.5px/1.5 ui-monospace,Menlo,Consolas,monospace; padding:2px 6px; border-radius:5px; white-space:pre-wrap }
.line.hit { background:var(--acc-soft) } mark { background:var(--hl); color:inherit; border-radius:3px; padding:0 1px }
.list { margin:0; padding-left:18px } .list li { margin-bottom:8px }
.ok { color:var(--ok) } .bad { color:var(--bad) }
.why ol { margin:0; padding-left:18px } .why li { margin-bottom:6px }
.foot { color:var(--mute); font-size:12px; padding-bottom:28px }
code { font-size:12px; background:var(--bg); padding:1px 4px; border-radius:4px }
.split > * { min-width:0 } html,body { overflow-x:hidden }
a { color:var(--acc) }
