@font-face{ font-family:"JetBrains Mono"; src:url("fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight:400; font-display:swap; }
:root{
  color-scheme:light;
  --page:#f6f5f1; --card:#fdfdfc; --line:#e6e4da; --grid:#ecebe4; --hover:#f3f2ec;
  --ink:#141413; --ink2:#4d4c48; --muted:#6b6a65; --faint:#8d8b84;
  --clay:#a94524; --link:#1f5aa8;
  /* categorical series (validated: dataviz reference slots 1–3) */
  --s1:#2a78d6; --s2:#eb6834; --s3:#1baf7a; --s4:#eda100; --atyp-o:#b9b7ae;
  /* meaning of colour: blue = proof only, clay = danger only. Attack types and vulnerability sources (validated, non-blue): */
  --a1:#b5482a; --a2:#d99a12; --a3:#8a5cc2; --a4:#cf4a86;
  /* evidence short of proof: one grey ramp, so only "proved" is blue */
  --e0:#e9e7e0; --e1:#d3d0c6; --e2:#b4b1a7; --e3:#6f6c65;
  /* fear bands: one-hue ordinal ramp in Shalyto clay (validated) */
  --f1:#e6a078; --f2:#db7e52; --f3:#ca5c34; --f4:#af4223; --f5:#8e311e;
  --f1t:#f6e0d2; --f2t:#f4d5c4; --f3t:#efc8b6; --f4t:#e8bba9; --f5t:#e1ae9f;
  /* sequential blue for magnitude (map) */
  --v1:#86b6ef; --v2:#3987e5; --v3:#1c5cab; --v4:#0d366b;
  --q1:#f6e0d2; --q2:#ebb08e; --q3:#db7e52; --q4:#b5482a; --q5:#7e2a19;   /* vulnerability volume: clay, light to dark */
  /* status (severity) — always shown with its label */
  --crit:#d03b3b; --high:#ec835a; --mod:#fab219; --low:#b9b7ae;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --r:12px;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ background:var(--page); color:var(--ink); font:15px/1.5 var(--sans); -webkit-font-smoothing:antialiased; }
body{ margin:0; }
a{ color:var(--link); text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:2px; }
:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; border-radius:3px; box-shadow:0 0 0 4px #fff; }
.skip{ position:absolute; left:-999px; } .skip:focus{ left:12px; top:8px; z-index:99; background:#fff; padding:6px 10px; }
.wrap{ max-width:1280px; margin:0 auto; padding:0 24px; }
.muted{ color:var(--muted); }
.mono{ font-family:var(--mono); font-size:.86em; letter-spacing:-.01em; }
.num{ font-variant-numeric:tabular-nums; }
h1,h2,h3{ font-weight:600; letter-spacing:-.01em; margin:0; }

/* ── header ── */
.top{ position:sticky; top:0; z-index:20; background:rgba(246,245,241,.92); backdrop-filter:blur(10px) saturate(140%); -webkit-backdrop-filter:blur(10px) saturate(140%); border-bottom:1px solid var(--line); }
.top-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:12px; padding-bottom:6px; }
.brand{ display:flex; align-items:center; gap:10px; color:var(--ink); }
.brand:hover{ text-decoration:none; }
.mark{ width:28px; height:28px; color:var(--ink); flex:none; }
.brand-text{ display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; font-size:16px; }
.wip{ font:11px/1 var(--mono); color:var(--muted); border:1px solid var(--line); border-radius:999px; padding:3px 7px; }
.status{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); white-space:nowrap; }
.dot{ width:8px; height:8px; border-radius:50%; background:#0ca30c; box-shadow:0 0 0 3px rgba(12,163,12,.15); }
.status.stale .dot{ background:#fab219; box-shadow:0 0 0 3px rgba(250,178,25,.2); }
.tabs{ display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; }
.tabs a{ color:var(--ink2); padding:8px 12px 10px; border-bottom:2px solid transparent; white-space:nowrap; font-size:14px; }
.tabs a:hover{ color:var(--ink); text-decoration:none; }
.tabs a[aria-current="page"]{ color:var(--ink); border-bottom-color:var(--ink); font-weight:600; }

main{ padding-top:22px; padding-bottom:40px; min-height:70vh; }
main:focus{ outline:none; }
.lede{ display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin:4px 0 18px; flex-wrap:wrap; }
.lede h1, .ck-head .big{ font:700 clamp(28px,3.2vw,38px)/1.12 var(--sans); letter-spacing:-.025em; max-width:900px; margin-top:10px; }
.lede p{ margin:6px 0 0; color:var(--ink2); max-width:760px; }

/* ── grid & cards ── */
.grid{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:16px; margin-bottom:16px; }
.c4{ grid-column:span 4; } .c5{ grid-column:span 5; } .c6{ grid-column:span 6; } .c7{ grid-column:span 7; } .c8{ grid-column:span 8; } .c12{ grid-column:span 12; }
@media (max-width:1000px){ .c4,.c5,.c6,.c7,.c8{ grid-column:span 12; } }
.card{ background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:18px 20px 16px; min-width:0; }
.card-h{ flex-wrap:wrap; display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:12px; }
.card-h h2{ font-size:15px; }
.card-h .sub{ font-size:13px; color:var(--muted); margin-top:2px; }
.card-tools{ display:flex; gap:6px; flex:none; }
.btn{ font:12px/1 var(--sans); color:var(--ink2); background:transparent; border:1px solid var(--line); border-radius:999px; padding:6px 10px; cursor:pointer; min-height:28px; }
.btn:hover{ background:var(--hover); color:var(--ink); }
.btn[aria-pressed="true"]{ background:var(--ink); color:#fff; border-color:var(--ink); }
.seg{ display:inline-flex; border:1px solid var(--line); border-radius:999px; padding:2px; background:var(--card); }
.seg button{ white-space:nowrap; font:12px/1 var(--sans); border:0; background:transparent; color:var(--ink2); padding:6px 11px; border-radius:999px; cursor:pointer; min-height:26px; }
.seg button[aria-pressed="true"]{ background:var(--ink); color:#fff; }

/* ── fear index ── */
.fear{ display:flex; flex-direction:column; }
.gauge-wrap{ position:relative; max-width:380px; margin:2px auto 0; width:100%; }
.gauge-wrap svg{ display:block; width:100%; height:auto; overflow:visible; }
.fear-num{ position:absolute; left:0; right:0; bottom:2px; text-align:center; }
.fear-num b{ display:block; font:600 56px/1 var(--sans); letter-spacing:-.02em; }
.fear-num span{ display:block; font-size:16px; font-weight:600; margin-top:4px; }
.fear-cmp{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:16px; }
.fear-cmp div{ border-top:1px solid var(--line); padding-top:8px; font-size:12px; color:var(--muted); }
.fear-cmp b{ display:block; font-size:16px; color:var(--ink); font-weight:600; margin-top:2px; }
.band-chip{ display:inline-flex; align-items:center; gap:6px; }
.band-chip i{ width:10px; height:10px; border-radius:3px; display:inline-block; }

/* stat tiles */
.tiles{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }
@media (max-width:620px){ .tiles{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.tile{ padding:14px 14px 14px 0; border-top:1px solid var(--line); min-width:0; }
.tile .lbl{ font-size:13px; color:var(--ink2); }
.tile .val{ font:600 30px/1.15 var(--sans); letter-spacing:-.02em; margin-top:4px; }
.tile .val small{ font-size:14px; font-weight:500; color:var(--muted); margin-left:4px; letter-spacing:0; }
.tile .delta{ font-size:12px; color:var(--muted); margin-top:2px; }
.delta .up{ color:#b42323; } .delta .down{ color:#16772a; }
.tile svg{ display:block; margin-top:6px; }

/* meters */
.meters{ display:flex; flex-direction:column; gap:14px; }
.meter-row .top{ position:static; background:none; border:0; backdrop-filter:none; display:flex; justify-content:space-between; gap:12px; font-size:13px; }
.meter-row .name{ font-weight:600; }
.meter-row .score{ font-variant-numeric:tabular-nums; font-weight:600; }
.meter-row .desc{ font-size:12px; color:var(--muted); margin-top:1px; }
.meter{ height:8px; border-radius:999px; margin-top:6px; position:relative; overflow:hidden; }
.meter > i{ position:absolute; left:0; top:0; bottom:0; border-radius:999px; }

/* charts */
.chart{ position:relative; width:100%; }
.chart svg{ display:block; width:100%; overflow:visible; }
.chart text{ font:11px var(--sans); fill:var(--muted); }
.legend{ display:flex; flex-wrap:wrap; gap:14px; font-size:12px; color:var(--ink2); margin:0 0 8px; }
.legend span{ display:inline-flex; align-items:center; gap:6px; }
.legend i{ width:10px; height:10px; border-radius:3px; display:inline-block; }
.tip{ position:fixed; z-index:50; pointer-events:none; background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:0 8px 24px rgba(20,20,19,.10); padding:8px 10px; font-size:12px; color:var(--ink); max-width:300px; }
.tip b{ font-weight:600; } .tip .r{ display:flex; justify-content:space-between; gap:16px; } .tip i{ width:8px; height:8px; border-radius:2px; display:inline-block; margin-right:6px; }
.tablev{ max-height:320px; overflow:auto; }

/* tables */
.tbl-wrap{ overflow-x:auto; margin:0 -4px; } .nw{ white-space:nowrap; }
table{ border-collapse:collapse; width:100%; font-size:13px; }
th{ text-align:left; font-weight:600; color:var(--ink2); font-size:12px; padding:8px 8px; border-bottom:1px solid var(--line); white-space:nowrap; position:sticky; top:0; background:var(--card); }
th.sortable{ cursor:pointer; user-select:none; } th.sortable:hover{ color:var(--ink); }
th[aria-sort="descending"]::after{ content:" ↓"; } th[aria-sort="ascending"]::after{ content:" ↑"; }
td{ padding:8px 8px; border-bottom:1px solid var(--grid); vertical-align:top; }
tr:last-child td{ border-bottom:0; }
#eco td:first-child{ white-space:nowrap; }
td.n, th.n{ text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
tbody tr:hover{ background:var(--hover); }
tr.click{ cursor:pointer; }
.bar-cell{ display:flex; align-items:center; gap:8px; justify-content:flex-end; }
.bar-cell i{ height:6px; border-radius:999px; background:var(--ink2); display:inline-block; }
.sev{ display:inline-flex; align-items:center; gap:5px; white-space:nowrap; font-size:12px; color:var(--ink2); }
.sev i{ width:8px; height:8px; border-radius:2px; display:inline-block; }
.tag{ display:inline-block; font-size:11px; line-height:1; padding:4px 6px; border-radius:999px; border:1px solid var(--line); color:var(--ink2); white-space:nowrap; background:#fff; }
.tag.ai{ border-color:#c9b8f0; color:#4b38a8; background:#f6f3fe; }
.tag.org{ border-color:#c6dcf6; color:#1f5aa8; background:#f3f8fe; }
.tag.tool{ border-color:#cfe7d9; color:#17663f; background:#f2faf5; }
.tag.kev{ border-color:#f0c4c4; color:#a12828; background:#fdf3f3; }
.tag.fix{ border-color:#cfe7d9; color:#17663f; background:#f2faf5; }
.tag.nofix{ border-color:#f3d9b5; color:#8a4b00; background:#fff8ee; }

/* feed */
.feed{ list-style:none; margin:0; padding:0; }
.feed li{ display:grid; grid-template-columns:118px 1fr; gap:4px 14px; padding:10px 0; border-top:1px solid var(--grid); }
.feed li:first-child{ border-top:0; }
.feed .when{ font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums; }
.feed .what{ min-width:0; }
.feed .t{ font-size:13.5px; line-height:1.4; }
.feed .meta{ display:flex; flex-wrap:wrap; gap:6px 10px; font-size:12px; color:var(--muted); margin-top:4px; align-items:center; }
@media (max-width:620px){ .feed li{ grid-template-columns:1fr; } }
.filters{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:12px; }
.search{ font:13px var(--sans); padding:7px 12px; border:1px solid var(--line); border-radius:999px; background:#fff; min-width:220px; min-height:32px; }

/* map */
.map-legend{ display:flex; flex-wrap:wrap; gap:18px; align-items:center; font-size:12px; color:var(--ink2); margin-bottom:14px; }
.scale{ display:inline-flex; align-items:center; gap:2px; }
.scale i{ width:28px; height:12px; display:inline-block; border-radius:2px; }
.scale em{ font-style:normal; margin:0 6px; color:var(--muted); }
.group{ margin:0 0 22px; }
.group h3{ font-size:13px; color:var(--ink2); font-weight:600; margin:0 0 8px; display:flex; flex-wrap:wrap; gap:2px 10px; align-items:baseline; }
.group h3 span{ font-weight:400; color:var(--muted); }
.tilegrid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(148px,1fr)); gap:6px; }
.ptile{ position:relative; display:flex; flex-direction:column; justify-content:space-between; min-height:76px; padding:9px 10px 8px; border-radius:8px; border:1px solid var(--line); background:#fff; color:var(--ink); text-align:left; font:inherit; cursor:pointer; }
.ptile:hover{ box-shadow:0 0 0 2px var(--ink) inset; }
.ptile .pn{ font-size:13px; font-weight:600; line-height:1.25; overflow-wrap:anywhere; }
.ptile .pm{ display:flex; gap:8px; align-items:center; font-size:11.5px; font-variant-numeric:tabular-nums; margin-top:6px; }
.ptile.dark{ color:#fff; border-color:transparent; }
.ptile .ic{ display:inline-flex; gap:3px; margin-left:auto; }
.ic b{ font:600 9.5px/1 var(--sans); padding:3px 4px; border-radius:4px; background:rgba(255,255,255,.88); color:var(--ink); border:1px solid rgba(20,20,19,.12); }
.ic b.k{ background:#fff; color:#a12828; border-color:#e8b4b4; }

/* drawer */
.drawer{ position:fixed; inset:0; z-index:40; background:rgba(20,20,19,.28); display:flex; justify-content:flex-end; }
.drawer[hidden]{ display:none; }
.drawer-panel:focus{ outline:none; }
.drawer-panel{ position:relative; width:min(560px,100%); height:100%; overflow:auto; background:var(--card); border-left:1px solid var(--line); padding:22px 24px 40px; box-shadow:-20px 0 60px rgba(20,20,19,.12); }
.drawer-close{ position:absolute; right:14px; top:12px; width:36px; height:36px; border-radius:50%; border:1px solid var(--line); background:#fff; font-size:20px; line-height:1; cursor:pointer; color:var(--ink2); }
.drawer h2{ font-size:22px; padding-right:44px; }
.kv{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 14px; margin:16px 0; }
.kv div{ border-top:1px solid var(--line); padding-top:8px; font-size:12px; color:var(--muted); }
.kv b{ display:block; font-size:20px; color:var(--ink); font-weight:600; margin-top:2px; }
.sect{ margin-top:22px; } .sect h3{ font-size:13px; margin-bottom:8px; }
.checks{ display:flex; flex-wrap:wrap; gap:6px; }
.who{ display:flex; flex-wrap:wrap; gap:6px 14px; font-size:13px; }
.who span{ white-space:nowrap; }

/* prose (method) */
.prose{ max-width:820px; }
.prose h2{ font-size:20px; margin:30px 0 8px; } .prose h3{ font-size:15px; margin:20px 0 6px; }
.prose p, .prose li{ color:var(--ink2); } .prose li{ margin:4px 0; }
.prose code{ font-family:var(--mono); font-size:.85em; background:#efede6; padding:1px 5px; border-radius:4px; }
.prose table{ margin:10px 0; }
.note{ font-size:12px; color:var(--muted); margin-top:10px; }
.empty{ color:var(--muted); font-size:13px; padding:14px 0; }
.foot{ border-top:1px solid var(--line); padding-top:18px; padding-bottom:40px; font-size:12.5px; color:var(--ink2); }
.foot p{ margin:4px 0; max-width:900px; }
@media (max-width:700px){ .wrap{ padding:0 14px; } .card{ padding:14px 14px 12px; } .lede h1{ font-size:21px; } .status #status-text{ font-size:12px; } .brand-text{ font-size:14px; } .wip{ display:none; } .kv{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion:no-preference){ .meter > i{ transition:width .6s ease; } }
.status-inline{ display:none; font-size:12px; margin:0 0 6px; }
@media (max-width:600px){ .status{ display:none; } .status-inline{ display:block; } .brand-text{ font-size:14px; } .brand-text b{ white-space:nowrap; } }
@media (max-width:380px){ .brand-text b{ font-size:13px; } }
table.compact th, table.compact td{ padding:7px 6px; }
table.compact td:first-child{ white-space:normal; min-width:96px; }
#eco td:first-child{ white-space:normal; }

/* ── v3: visual-first ── */
.i{ display:inline-grid; place-items:center; width:16px; height:16px; border-radius:50%; border:1px solid var(--line); background:#fff; color:var(--muted); font:600 10px/1 var(--sans); cursor:help; padding:0; vertical-align:2px; margin-left:4px; }
.i:hover{ color:var(--ink); border-color:var(--ink2); }
.card-h h2{ display:flex; align-items:center; gap:2px; }
.more{ font-size:13px; white-space:nowrap; }
.fear-cmp2{ display:flex; justify-content:space-between; gap:8px; margin-top:12px; padding-top:10px; border-top:1px solid var(--line); font-size:13px; }
.fear-cmp2 b{ font-weight:600; margin-left:2px; } .fear-cmp2 .fc{ white-space:nowrap; } .fear-cmp2{ flex-wrap:wrap; }
.ladder{ display:flex; flex-direction:column; gap:8px; }
.lrow{ display:grid; grid-template-columns:96px 1fr 58px; align-items:center; gap:10px; font-size:13px; }
.lrow .lb{ height:10px; background:#efede6; border-radius:999px; overflow:hidden; display:block; }
.lrow .lb i{ display:block; height:100%; border-radius:999px; }
.lrow .lv{ text-align:right; color:var(--muted); font-variant-numeric:tabular-nums; } .lrow .lv b{ color:var(--ink); font-weight:600; }
.waffle{ display:grid; grid-template-columns:repeat(auto-fill,minmax(18px,1fr)); gap:3px; margin-top:16px; }
.waffle a{ aspect-ratio:1; border-radius:3px; display:block; }
.waffle a:hover{ outline:2px solid var(--ink); outline-offset:1px; }
.waffle.big{ grid-template-columns:repeat(auto-fill,minmax(24px,1fr)); }
.tiles2{ display:grid; grid-template-columns:1fr 1fr; gap:14px 16px; }
.tile2 .lbl{ font-size:13px; color:var(--ink2); }
.tile2 .val{ font:600 30px/1.15 var(--sans); letter-spacing:-.02em; margin:2px 0 4px; display:flex; align-items:center; gap:8px; }
.chip{ font:500 11px/1 var(--sans); letter-spacing:0; padding:4px 6px; border-radius:999px; background:#efede6; color:var(--ink2); }
.chip.up{ background:#fbe9e9; color:#a12828; } .chip.down{ background:#e8f5ec; color:#17663f; }
.lanes{ display:flex; flex-direction:column; gap:18px; margin-top:4px; }
.lane-h{ display:flex; justify-content:space-between; align-items:baseline; font-size:13px; color:var(--ink2); } .lane-h b{ font:600 20px/1 var(--sans); color:var(--ink); margin-right:4px; } .lane-h .dd{ font-weight:600; color:var(--ink); }
.lane-track{ position:relative; height:34px; margin:6px 22px 0 4px; }
.seg-line{ position:absolute; left:0; top:7px; height:3px; background:var(--ink2); border-radius:2px; } .lane.danger .seg-line{ background:var(--f3); }
.ev{ position:absolute; top:0; transform:translateX(-50%); font-size:11px; color:var(--muted); display:flex; flex-direction:column; align-items:center; gap:4px; white-space:nowrap; }
.ev:first-child{ transform:none; align-items:flex-start; }
.ev i{ width:12px; height:12px; border-radius:50%; background:var(--ink); border:2px solid #fff; box-shadow:0 0 0 1px var(--ink); margin-top:2px; }
.ev.end i{ background:var(--ink2); box-shadow:0 0 0 1px var(--ink2); } .lane.danger .ev.end i{ background:var(--f3); box-shadow:0 0 0 1px var(--f3); }
.dur{ position:absolute; top:-14px; transform:translateX(-50%); font:600 12px/1 var(--sans); color:var(--ink); white-space:nowrap; }
.ttf-foot{ display:flex; gap:16px; flex-wrap:wrap; margin-top:16px; padding-top:10px; border-top:1px solid var(--line); font-size:13px; color:var(--ink2); }
.feed.compact li{ grid-template-columns:44px 1fr; gap:2px 10px; padding:8px 0; }
.feed.compact .t{ font-size:13px; }
.sdot{ display:inline-block; width:8px; height:8px; border-radius:2px; margin-right:7px; vertical-align:1px; }
.ai-line{ margin-top:14px; font-size:13px; color:var(--ink2); display:flex; align-items:center; gap:6px; } .ai-line b{ font-size:18px; color:var(--ink); }
.ic b.p{ background:var(--v4); color:#fff; border-color:#fff; box-shadow:0 0 0 1px var(--v4); }
.vgrid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:10px; }
.vcard{ display:flex; flex-direction:column; gap:6px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); }
.vcard:hover{ text-decoration:none; box-shadow:0 0 0 2px var(--v4) inset; }
.vh{ display:flex; justify-content:space-between; gap:8px; align-items:baseline; }
.vlvl{ font-size:11px; padding:3px 7px; border-radius:999px; white-space:nowrap; background:#f6e0d2; color:#7a2a17; }
.vlvl.full{ background:var(--v4); color:#fff; } .vlvl.protocol-model{ background:#efede6; color:var(--ink2); }
.vw{ font-size:13px; color:var(--ink2); line-height:1.4; }
.vf{ display:flex; flex-wrap:wrap; gap:5px; align-items:center; font-size:12px; }
.vb{ font-size:12px; }
.vlist{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; font-size:13px; }
.vlist li{ padding-left:12px; border-left:3px solid var(--v4); }
#flows svg{ display:block; width:100%; overflow:visible; }
.vgroup{ margin-top:16px; } .vgroup h3{ font-size:13px; color:var(--ink2); margin:0 0 8px; font-weight:600; }
.vcards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:10px; }
#vgrid .filters{ margin-bottom:4px; }
.vtiles{ display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:8px; }
.vtile{ display:grid; grid-template-rows:auto auto 1fr auto; align-content:start; gap:8px; min-height:92px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); }
.vtile:hover{ text-decoration:none; box-shadow:0 0 0 2px var(--v4) inset; }
.vt-top{ display:flex; gap:8px; align-items:flex-start; font-size:13.5px; line-height:1.25; }
.vt-tools{ display:flex; flex-wrap:wrap; gap:4px; }
.vt-foot{ display:flex; justify-content:space-between; font-size:12px; color:var(--ink2); }
.ships b{ color:var(--ink); }
i.lv{ flex:none; width:10px; height:10px; border-radius:50%; display:inline-block; margin-top:3px; border:2px solid var(--v4); }
i.lv.full{ background:var(--v4); } i.lv.part{ background:#fff; } i.lv.model{ border-color:#b9b7ae; background:#efede6; }
.legend i.lv{ margin-top:0; }
.flist{ list-style:none; margin:0; padding:0; } .flist li{ display:flex; flex-direction:column; gap:6px; padding:9px 0; border-top:1px solid var(--grid); font-size:13px; }
.flist li:first-child{ border-top:0; } .flist span{ display:flex; flex-wrap:wrap; gap:5px; }
.tag.pv{ border-color:#c6d8f3; background:#f1f5fb; color:#0d366b; }
.tag.pv.opt{ border-style:dashed; color:#4d6a91; }
@media (max-width:600px){ .vtiles{ grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); } .vtile{ padding:9px 10px; } }
.vtile{ min-width:0; } .vt-tools{ min-width:0; } .vt-tools .tag{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.flist .tag{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ── v4: the state of open-source trust ── */
.hero{ padding:18px 0 8px; }
.kick{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); margin:0 0 10px; letter-spacing:.01em; }
.kick .dot{ width:8px; height:8px; border-radius:50%; background:#0ca30c; box-shadow:0 0 0 3px rgba(12,163,12,.15); }
.mega{ font:700 clamp(36px,6.2vw,76px)/1.02 var(--sans); letter-spacing:-.035em; margin:0 0 22px; max-width:1240px; }
.mega .hl{ color:var(--hl); }
.hero-grid{ display:grid; grid-template-columns:minmax(260px,380px) 1fr; gap:28px; align-items:center; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } }
.hero-gauge{ color:var(--ink); display:block; }
.hero-gauge:hover{ text-decoration:none; }
.hero-gauge .fear-num span{ font-size:13px; font-weight:500; color:var(--muted); }
.hero-stats{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 28px; }
@media (max-width:520px){ .hero-stats{ grid-template-columns:1fr; } }
.hs{ border-top:2px solid var(--ink); padding-top:10px; display:flex; flex-direction:column; gap:4px; }
.hs b{ font:700 clamp(34px,4.6vw,56px)/1 var(--sans); letter-spacing:-.03em; }
.hs b small{ font-size:.5em; color:var(--muted); font-weight:600; }
.hs span{ font-size:15px; color:var(--ink2); }
.hs em{ font-style:normal; font-size:13px; color:var(--muted); }
.hs em.up{ color:#a12828; font-weight:600; }
.toc{ display:flex; flex-wrap:wrap; gap:8px; margin:30px 0 6px; }
.toc a{ display:inline-flex; gap:8px; align-items:baseline; padding:8px 14px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--ink); font-size:14px; }
.toc a:hover{ border-color:var(--ink); text-decoration:none; }
.toc i{ font:600 11px var(--mono); font-style:normal; color:var(--muted); }
.band{ margin:22px 0; padding:34px 32px 30px; border-radius:18px; background:var(--card); border:1px solid var(--line); scroll-margin-top:96px; }
.band.dark{ background:#141413; color:#f4f2ec; border-color:#141413; }
.band.dark .lead, .band.dark .sec-k{ color:#b9b6ad; } .band.dark .lead b{ color:#fff; }
.band.ink{ background:#1b1b19; color:#fff; border-color:#1b1b19; } .band.ink .sec-k, .band.ink .lead{ color:#c9c6bd; }
@media (max-width:700px){ .band{ padding:24px 16px 20px; border-radius:14px; } }
.sec-k{ font:600 12px var(--mono); letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin:0 0 10px; }
h2.big, h1.big{ font:700 clamp(26px,3.6vw,44px)/1.1 var(--sans); letter-spacing:-.025em; margin:0 0 10px; max-width:1000px; }
h2.big b{ color:inherit; }
#s-proven h2.big b{ color:var(--v4); } #s-unproven h2.big b{ color:var(--f1); } #s-malicious h2.big b{ color:var(--f4); }
.lead{ font-size:17px; color:var(--ink2); margin:0 0 22px; max-width:820px; line-height:1.5; }
.sub-h{ font-size:15px; margin:28px 0 12px; }
.more-row{ margin:14px 0 0; font-size:14px; }
.wall{ display:grid; grid-template-columns:repeat(auto-fill,minmax(112px,1fr)); gap:4px; }
.wt{ position:relative; min-height:54px; padding:7px 8px; border-radius:6px; color:#fff; font-size:12px; font-weight:600; line-height:1.2; display:flex; align-items:flex-end; overflow:hidden; }
.wt.l0, .wt.l1, .wt.l2{ color:var(--ink); } .wt:hover{ text-decoration:none; outline:2px solid var(--ink); outline-offset:1px; }
.wt i{ position:absolute; top:5px; right:7px; font-style:normal; font-size:14px; }
.wt span{ overflow-wrap:anywhere; }
.legend.light{ color:#d6d3ca; } .legend.light i{ border:0; }
.heatwall{ display:grid; grid-template-columns:repeat(auto-fill,minmax(128px,1fr)); gap:4px; margin-bottom:14px; }
.ht{ position:relative; min-height:78px; padding:8px 10px; border-radius:6px; color:var(--ink); display:flex; flex-direction:column; justify-content:space-between; }
.ht.dk{ color:#fff; } .ht:hover{ text-decoration:none; outline:2px solid #fff; outline-offset:1px; }
.ht .hn{ font-size:12.5px; font-weight:600; line-height:1.2; } .ht b{ font:700 24px/1 var(--sans); letter-spacing:-.02em; }
.ht .hb{ display:flex; align-items:flex-end; justify-content:space-between; gap:6px; }
.ht em{ font:600 9.5px/1 var(--sans); font-style:normal; text-transform:uppercase; letter-spacing:.04em; padding:3px 5px; border-radius:4px; background:#fff; color:#a12828; }
.proof-strip{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:8px; }
.pcard{ display:flex; flex-direction:column; gap:4px; padding:12px 14px; border-radius:10px; background:#f1f5fb; border:1px solid #d5e2f3; color:var(--ink); }
.pcard:hover{ text-decoration:none; border-color:var(--v4); } .pcard b{ font-size:15px; } .pcard .muted{ font-size:12px; } .pcard .into{ font-size:12.5px; color:var(--v4); }
.timeline{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:8px; }
.ev2{ display:flex; flex-direction:column; gap:3px; padding:12px 14px; border-radius:10px; border:1px solid #f0d2c6; background:#fdf6f2; color:var(--ink); }
.ev2:hover{ text-decoration:none; border-color:var(--f4); } .ev2 .d{ font:600 11px var(--mono); color:var(--f4); } .ev2 b{ font-size:14.5px; } .ev2 .muted{ font-size:12px; }
.lrow.wide{ grid-template-columns:minmax(120px,240px) 1fr 70px; }
.bigsearch{ display:flex; gap:8px; max-width:760px; margin:6px 0 14px; }
.bigsearch input{ flex:1; min-width:0; font:18px var(--sans); padding:14px 18px; border-radius:12px; border:1px solid var(--line); background:#fff; color:var(--ink); }
.bigsearch button{ font:600 16px var(--sans); padding:0 22px; border-radius:12px; border:0; background:var(--ink); color:#fff; cursor:pointer; }
.band.ink .bigsearch input{ border-color:#fff; } .band.ink .bigsearch button{ background:#fff; color:var(--ink); }
.cres{ margin-top:12px; } .cres .vcards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:10px; }
.verdict{ display:flex; flex-direction:column; gap:6px; padding:14px 16px; border-radius:12px; border:1px solid var(--line); background:#fff; color:var(--ink); }
.verdict:hover{ text-decoration:none; border-color:var(--ink); }
.verdict .vh b{ font-size:17px; }
.facts{ display:flex; flex-wrap:wrap; gap:5px; margin-top:4px; }
.facts span{ font-size:12px; padding:4px 7px; border-radius:6px; background:#f3f2ec; color:var(--ink2); }
.facts .ok{ background:#eaf4ee; color:#1d5e3c; } .facts .proof{ background:#eaf1fb; color:#0d366b; } .facts .no{ background:#f3f2ec; color:#6b6a65; } .facts .bad{ background:#fbece6; color:#8e311e; }
.grade{ font:800 18px/1 var(--sans); width:34px; height:34px; display:grid; place-items:center; border-radius:8px; color:#fff; flex:none; }
.gl{ font-size:13px; font-weight:600; }
.g-a{ --g:#1d5e3c; } .g-b{ --g:#2f7a50; } .g-c{ --g:#6b6a65; } .g-d{ --g:#b04a26; } .g-f{ --g:#7e2a19; }   /* trust green, caution grey, risk clay; white text ≥ 5:1 */
.grade.g-a, .grade.g-b, .grade.g-c, .grade.g-d, .grade.g-f{ background:var(--g); } .gl.g-a, .gl.g-b, .gl.g-c, .gl.g-d, .gl.g-f{ color:var(--g); }
.pkgs{ display:flex; flex-direction:column; gap:6px; }
.pkg{ display:grid; grid-template-columns:90px minmax(0,1fr); gap:2px 12px; padding:10px 14px; border-radius:10px; border:1px solid var(--line); background:#fff; color:var(--ink); }
.pkg:hover{ text-decoration:none; border-color:var(--ink); } .pkg.mal{ border-color:#e3a593; background:#fdf3ef; }
.pkg .pe{ font:600 11px var(--mono); color:var(--muted); grid-row:span 2; padding-top:3px; } .pkg .pf{ display:flex; flex-wrap:wrap; gap:4px 12px; font-size:12px; color:var(--ink2); }
.pkg .bad{ color:#8e311e; font-weight:600; }
.b-good{ color:var(--v4); } .b-bad{ color:var(--f4); }
.co-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; } @media (max-width:900px){ .co-grid{ grid-template-columns:1fr; } }
.co-list{ display:flex; flex-direction:column; gap:6px; }
.co{ padding:10px 14px; border-radius:10px; border:1px solid var(--line); background:#fff; border-left-width:4px; }
.co.cv{ border-left-color:var(--v4); } .co.cf{ border-left-color:var(--v2); } .co.ca{ border-left-color:var(--v1); } .co.cn{ border-left-color:var(--f4); background:#fffaf7; }
.co-h{ display:flex; justify-content:space-between; gap:10px; align-items:baseline; } .co-h b{ font-size:15px; }
.co-n{ font:600 12px var(--sans); color:var(--f5); white-space:nowrap; }
.co-m{ font-size:13px; color:var(--ink2); margin-top:2px; } .co-v{ display:flex; flex-wrap:wrap; gap:4px; margin-top:6px; }
.tag.pv2{ border-color:#c6d8f3; background:#f1f5fb; color:#0d366b; }
.gdist{ display:flex; gap:3px; height:38px; margin:4px 0 22px; border-radius:8px; overflow:hidden; }
.gdist span{ display:flex; align-items:center; justify-content:center; gap:4px; color:#fff; font-size:13px; background:var(--g); min-width:0; white-space:nowrap; overflow:hidden; }
.gdist .g-c{ color:#fff; }
.tlist{ display:flex; flex-direction:column; gap:6px; }
.tr{ display:flex; gap:12px; align-items:center; padding:8px 12px; border-radius:10px; border:1px solid var(--line); background:#fff; color:var(--ink); }
.tr:hover{ text-decoration:none; border-color:var(--ink); } .tr > span:last-child{ display:flex; flex-direction:column; min-width:0; } .tr .muted{ font-size:12.5px; }
.tr .grade{ width:30px; height:30px; font-size:16px; }
.kick > span:last-child{ display:inline; }
.g-u{ --g:#8d8b84; } .grade.g-u{ background:#e3e1d9; color:var(--ink); box-shadow:inset 0 0 0 1px #c9c6bb; }
.grade.sm{ width:24px; height:24px; font-size:13px; border-radius:6px; display:inline-grid; }
.grade.xs{ width:17px; height:17px; font-size:10.5px; border-radius:4px; display:inline-grid; margin-right:6px; vertical-align:1px; box-shadow:0 0 0 1.5px rgba(255,255,255,.85); }
.gbox{ display:flex; gap:14px; align-items:flex-start; margin:14px 0 4px; padding:14px; border-radius:12px; border:1px solid var(--line); background:#fff; }
.gbox .grade{ width:46px; height:46px; font-size:24px; border-radius:10px; }
.gr{ list-style:none; margin:8px 0 0; padding:0; font-size:13px; display:flex; flex-direction:column; gap:3px; }
.gr li::before{ display:inline-block; width:16px; font-weight:700; } .gr .minus::before{ content:"–"; color:var(--f4); } .gr .plus::before{ content:"+"; color:#1d5e3c; }
.incs{ display:flex; flex-direction:column; gap:8px; margin-bottom:14px; }
.inc{ display:flex; flex-direction:column; gap:3px; padding:14px 16px; border-radius:12px; background:#2a1410; color:#fbe9e2; border:1px solid #8e311e; }
.inc:hover{ text-decoration:none; border-color:#e6a078; } .inc b{ font-size:16px; color:#fff; } .inc span{ font-size:13px; } .inc .muted{ color:#d9b4a6; }
.co-grid > div{ min-width:0; } .co, .tr, .ev2, .pcard{ overflow-wrap:anywhere; min-width:0; }
.co-v .tag{ white-space:normal; max-width:100%; line-height:1.3; }
.cwall{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:6px; }
.ctile{ display:flex; flex-direction:column; gap:3px; min-height:62px; padding:9px 11px; border-radius:8px; color:#fff; min-width:0; }
.ctile:hover{ text-decoration:none; outline:2px solid var(--ink); outline-offset:1px; }
.ctile b{ font-size:13.5px; line-height:1.2; } .ctile span{ font-size:11.5px; opacity:.92; line-height:1.3; overflow:hidden; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; }
.ctile.cv{ background:var(--v4); } .ctile.cf{ background:var(--v3); } .ctile.ca{ background:var(--v1); color:var(--ink); }
.ctile.cn{ background:#fdf3ef; color:#5a1d12; border:1px solid #e3a593; }
.ucols{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:10px; align-items:end; margin:10px 0 18px; }
.ucol{ display:flex; flex-direction:column; align-items:center; gap:6px; min-width:0; }
.udots{ display:flex; flex-wrap:wrap-reverse; justify-content:center; gap:3px; max-width:84px; }
.udots a{ width:14px; height:14px; border-radius:50%; display:block; }
.udots a:hover{ outline:2px solid var(--ink); outline-offset:1px; }
.ucol b{ font:700 18px/1 var(--sans); min-height:18px; } .ucol span{ font:600 11px var(--mono); color:var(--muted); }
@media (max-width:600px){ .ucols{ gap:4px; } .udots{ max-width:44px; gap:2px; } .udots a{ width:9px; height:9px; } }
/* right now: the biggest recent flaws, one card per project; the name's link covers the card */
.bi-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
@media (max-width:1100px){ .bi-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .bi-grid{ grid-template-columns:minmax(0,1fr); } }
.bi{ position:relative; display:flex; flex-direction:column; gap:8px; padding:14px 16px; border-radius:12px; border:1px solid var(--line); background:#fff; min-width:0; overflow-wrap:anywhere; }
.bi:hover{ border-color:var(--ink); }
.bi-h{ display:flex; align-items:center; gap:10px; min-width:0; }
.bi-name{ font-weight:700; font-size:17px; color:var(--ink); min-width:0; }
.bi-name::after{ content:''; position:absolute; inset:0; border-radius:inherit; }
.bi-name:hover{ text-decoration:none; } .bi-name:focus-visible{ outline:none; } .bi:focus-within{ outline:2px solid var(--ink); outline-offset:2px; }
.bi-d{ margin-left:auto; font:600 11px var(--mono); color:var(--muted); white-space:nowrap; }
.bi-tags{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; }
.bi p{ margin:0; } .bi-t{ font-size:14px; line-height:1.4; color:var(--ink); }
.bi-ids{ font-size:12px; color:var(--ink2); } .bi-ids .mono{ font-size:11.5px; margin-right:6px; }
.bi-fix{ font-size:13px; color:var(--ink2); margin-top:auto !important; } .bi-fix b{ color:var(--ink); font-weight:600; }
.bi-w{ position:relative; z-index:1; align-self:flex-start; font-size:13px; font-weight:600; }

/* ── motion (2026-11): reveal, stagger, gauge sweep, malware ticker; off for prefers-reduced-motion ── */
@media (prefers-reduced-motion:no-preference){
  .rv > *{ opacity:0; transform:translateY(8px) scale(.97); transition:opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); transition-delay:calc(var(--i,0) * 14ms); }
  .rv.in > *{ opacity:1; transform:none; }
  .udots.rv > *{ transform:scale(.2); transition-delay:calc(var(--i,0) * 22ms); }
  .udots.rv.in > *{ transform:none; }
  .gdist > span{ transform-origin:left; transform:scaleX(0); transition:transform .9s cubic-bezier(.2,.8,.2,1); }
  .gdist.in > span{ transform:none; }
  .gdist.in > span:nth-child(2){ transition-delay:.08s } .gdist.in > span:nth-child(3){ transition-delay:.16s } .gdist.in > span:nth-child(4){ transition-delay:.24s } .gdist.in > span:nth-child(5){ transition-delay:.32s }
  .gauge-wrap .gseg{ opacity:.25; transition:opacity .5s ease; transition-delay:calc(var(--k) * 90ms); }
  .gauge-wrap.in .gseg, .gauge-wrap.settled .gseg{ opacity:1; }
  .gauge-wrap.settled .gring{ transform-box:fill-box; transform-origin:center; animation:gring 2.6s ease-out infinite; }
  .mega .hl{ background:linear-gradient(currentColor,currentColor) 0 92% / 0 .07em no-repeat; animation:hl 1.1s .5s cubic-bezier(.2,.8,.2,1) forwards; }
  .tk-run{ animation:tk 70s linear infinite; }
  .ticker:hover .tk-run, .ticker:focus-within .tk-run{ animation-play-state:paused; }
  .kick .dot, .tk-l .dot{ animation:pulse 2s ease-in-out infinite; }
}
@keyframes gring{ from{ transform:scale(1); opacity:.55; } to{ transform:scale(2.6); opacity:0; } }
@keyframes hl{ to{ background-size:100% .07em; } }
@keyframes tk{ to{ transform:translateX(-50%); } }
@keyframes pulse{ 50%{ box-shadow:0 0 0 6px rgba(12,163,12,0); } }
@media print{ .rv > *{ opacity:1 !important; transform:none !important; } }
.gring{ opacity:0; }
.ticker{ display:flex; align-items:center; gap:14px; margin:26px 0 0; padding:9px 0 9px 14px; border-radius:12px; background:#1d0f0b; color:#f4e4dc; overflow:hidden; font-size:13px; }
.tk-l{ flex:none; display:flex; align-items:center; gap:8px; font:600 11px var(--mono); text-transform:uppercase; letter-spacing:.06em; color:#e6a078; white-space:nowrap; }
.tk-l .dot{ width:7px; height:7px; border-radius:50%; background:#e6a078; box-shadow:0 0 0 3px rgba(230,160,120,.25); }
.tk-track{ flex:1; min-width:0; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 4%,#000 94%,transparent); }
.tk-run{ display:flex; width:max-content; padding-left:18px; }
.tk-run > span{ display:flex; }
.tk-i{ display:inline-flex; align-items:baseline; gap:7px; padding:0 22px 0 0; white-space:nowrap; }
.tk-i i{ font-style:normal; color:#e6a078; } .tk-i b{ color:#fff; font-weight:600; } .tk-i span{ color:#bfa79c; font-size:12px; }
@media (prefers-reduced-motion:reduce){ .tk-dup{ display:none !important; } .tk-track{ overflow-x:auto; } }

/* ── check ── */
.ck-head{ margin:22px 0 4px; } .ck-head .big{ margin:0 0 6px; } .ck-head .lead{ margin-bottom:16px; }
.seg{ display:inline-flex; gap:2px; padding:3px; border-radius:12px; background:#ebe9e2; margin:0 0 18px; max-width:100%; overflow-x:auto; }
.seg a{ padding:8px 14px; border-radius:9px; color:var(--ink2); font-size:14px; white-space:nowrap; }
.seg a:hover{ text-decoration:none; color:var(--ink); }
.seg a[aria-selected="true"]{ background:#fff; color:var(--ink); font-weight:600; box-shadow:0 1px 2px rgba(20,20,19,.08); }
.chips{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 16px; }
.chip{ font:13px/1 var(--sans); padding:7px 11px; border-radius:999px; border:1px solid var(--line); background:#fff; color:var(--ink2); cursor:pointer; min-height:32px; }
.btn{ min-height:32px; }
.chip:hover{ border-color:var(--ink2); color:var(--ink); }
.chip[aria-pressed="true"]{ background:var(--ink); color:#fff; border-color:var(--ink); }
.hints{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; font-size:14px; }
.hint{ padding:5px 10px; border-radius:999px; background:#fff; border:1px solid var(--line); color:var(--ink); font-size:13px; }
.hint:hover{ text-decoration:none; border-color:var(--ink); }
.pkg .pe{ grid-row:span 3; } .pkg .pn{ display:flex; align-items:center; gap:8px; min-width:0; } .pkg .pn b{ overflow-wrap:anywhere; }
.pkg .pd{ grid-column:2; font-size:12.5px; line-height:1.4; }
.pkg .pf{ grid-column:2; }
details.more{ margin:12px 0 0; } details.more > summary{ cursor:pointer; font-size:14px; color:var(--ink2); padding:6px 0; } details.more .pkgs{ margin-top:8px; }
.bad{ color:#8e311e; } .small{ font-size:12.5px; }
.empty-state{ padding:22px 24px; border-radius:14px; border:1px dashed #cfccc2; background:#fff; } .empty-state .lead{ margin-bottom:6px; }
.btn-solid{ display:inline-block; padding:10px 16px; border-radius:10px; background:var(--ink); color:#fff; font-weight:600; font-size:14px; }
.btn-solid:hover{ text-decoration:none; background:#000; }
.verdict.sub{ border-style:dashed; }
.crumb{ margin:0 0 10px; font-size:14px; }
.pk-head{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin:0 0 14px; } .pk-head h2{ font-size:24px; font-weight:600; overflow-wrap:anywhere; min-width:0; }
.pk-head .pe, .scan-t .pe{ font:600 11px var(--mono); color:var(--muted); }
.verform{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 14px; }
.verform label{ font-size:13px; color:var(--ink2); }
.verform input{ font-size:15px; padding:10px 12px; border-radius:10px; border:1px solid var(--line); background:#fff; min-width:0; flex:0 1 260px; }
.verform button{ font:600 14px var(--sans); padding:10px 16px; border-radius:10px; border:0; background:var(--ink); color:#fff; cursor:pointer; }
.pverdict{ display:flex; flex-direction:column; gap:4px; padding:16px 18px; border-radius:14px; margin:0 0 16px; border:1px solid; }
.pverdict b{ font-size:19px; letter-spacing:-.01em; } .pverdict span{ font-size:14px; }
.v-mal{ background:#2a1410; border-color:#8e311e; color:#fbe9e2; } .v-mal b{ color:#fff; } .v-mal .muted{ color:#d9b4a6; }
.v-bad{ background:#fdf3ef; border-color:#e3a593; color:#5a1d12; }
.v-warn{ background:#fff8ee; border-color:#f0d3a8; color:#5c3a07; }
.v-ok{ background:#f1f5fb; border-color:#c6d8f3; color:#0d2a52; }
.v-wait{ background:#fff; border-color:var(--line); color:var(--ink); }
.pd{ font-size:15px; color:var(--ink2); margin:0 0 12px; max-width:760px; }
.kv2{ display:grid; grid-template-columns:max-content minmax(0,1fr); gap:6px 18px; margin:0 0 8px; font-size:14px; }
.kv2 dt{ color:var(--muted); } .kv2 dd{ margin:0; min-width:0; overflow-wrap:anywhere; } .kv2 .ok{ color:#0d366b; } .kv2 .no{ color:#8e311e; }
@media (max-width:520px){ .kv2{ grid-template-columns:1fr; gap:0; } .kv2 dd{ margin-bottom:8px; } }
.advs{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.advs li{ display:grid; grid-template-columns:92px minmax(0,1fr) minmax(0,190px); gap:12px; padding:9px 0; border-bottom:1px solid var(--grid); font-size:13.5px; align-items:baseline; }
.advs li{ padding-left:8px; padding-right:8px; } .advs li.mal{ background:#fdf3ef; border-radius:6px; }
@media (max-width:640px){ .advs li{ grid-template-columns:1fr; gap:2px; } }
.drop{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; text-align:center; padding:34px 20px; border-radius:16px; border:2px dashed #cfccc2; background:#fff; cursor:pointer; transition:border-color .15s, background .15s; }
.drop b{ font-size:17px; } .drop .muted{ font-size:13px; max-width:640px; }
.drop:hover, .drop.over{ border-color:var(--ink); background:#faf9f5; }
.paste{ margin:12px 0; } .paste summary{ cursor:pointer; font-size:14px; color:var(--ink2); }
.paste textarea{ width:100%; margin:8px 0; padding:10px 12px; border-radius:10px; border:1px solid var(--line); font-size:13px; background:#fff; }
.scan-sum{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0 14px; }
.scan-sum > div{ border-top:2px solid var(--ink); padding-top:8px; } .scan-sum > div.bad{ border-top-color:#8e311e; }
.scan-sum b{ display:block; font:700 32px/1.1 var(--sans); letter-spacing:-.02em; } .scan-sum span{ font-size:13px; color:var(--ink2); }
.scan-tools{ margin:0 0 8px; } .tscroll{ overflow-x:auto; }
.scan-t td{ font-size:13px; } .scan-t tr.mal td{ background:#fdf3ef; } .scan-t td a.mono{ margin-right:6px; }
/* ── API ── */
.api-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0 0 16px; align-items:start; }
@media (max-width:980px){ .api-grid{ grid-template-columns:minmax(0,1fr); } }
.api-grid h2, .card > h2{ font-size:18px; margin:0 0 6px; }
pre.code{ margin:8px 0 12px; padding:12px 14px; border-radius:10px; background:#1b1b19; color:#f1efe8; font:12.5px/1.55 var(--mono); overflow-x:auto; white-space:pre; }
pre.code.out{ background:#f3f2ec; color:var(--ink); max-height:320px; overflow:auto; }
.tools{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.tools li{ display:flex; flex-direction:column; gap:2px; font-size:13.5px; color:var(--ink2); } .tools code{ color:var(--ink); font-weight:600; font-size:13px; }
.try{ border-top:1px solid var(--grid); padding-top:10px; margin-top:10px; } .try-h{ display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:14px; }
.endp td{ font-size:13px; overflow-wrap:anywhere; } .endp td:first-child{ color:var(--muted); width:52px; } .endp td.mono{ word-break:break-all; }
@media (max-width:600px){ .endp td{ padding:7px 4px; } .endp td:first-child{ width:40px; } }
.sec-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 26px; }
@media (max-width:900px){ .sec-grid{ grid-template-columns:1fr; } }
.sec-grid > div{ display:flex; flex-direction:column; gap:6px; border-top:2px solid var(--ink); padding-top:10px; }
.sec-grid b{ font-size:16px; } .sec-grid span{ font-size:14px; color:var(--ink2); line-height:1.5; }
.sec-grid code{ font:12.5px var(--mono); background:#f1efe8; padding:1px 4px; border-radius:4px; }
.band.ink a.on-ink{ color:#fff; text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(255,255,255,.5); }
.band.ink .lead b{ color:#fff; }

/* phones: long walls show their first rows, with a button for the rest */
.more-m{ display:none; }
@media (max-width:600px){
  .clamp12:not(.open) > :nth-child(n+13), .clamp24:not(.open) > :nth-child(n+25), .clamp3:not(.open) > :nth-child(n+4), .clamp4:not(.open) > :nth-child(n+5), .clamp6:not(.open) > :nth-child(n+7){ display:none; }
  .more-m{ display:block; width:100%; margin:8px 0 0; min-height:40px; font-size:13px; }
  .band.dark .more-m{ color:#f4f2ec; border-color:#4a4945; } .band.dark .more-m:hover{ background:#262624; }
  .wall{ grid-template-columns:repeat(auto-fill,minmax(84px,1fr)); gap:3px; } .wt{ min-height:44px; font-size:11px; padding:5px 6px; }
  .heatwall{ grid-template-columns:repeat(auto-fill,minmax(100px,1fr)); gap:3px; } .ht{ min-height:64px; padding:6px 8px; } .ht b{ font-size:20px; } .ht .hn{ font-size:11.5px; }
}
@media (max-width:600px){
  .seg{ display:flex; width:100%; } .seg a{ flex:1 1 0; text-align:center; white-space:normal; padding:8px 6px; font-size:13px; line-height:1.25; display:flex; align-items:center; justify-content:center; }
  .pkg{ grid-template-columns:minmax(0,1fr); padding:10px 12px; } .pkg .pe{ grid-row:auto; padding-top:0; } .pkg .pd, .pkg .pf{ grid-column:1; }
}
.pkg .pf > span{ min-width:0; overflow-wrap:anywhere; }

/* ── review round 2 (2026-11-18) ── */
@media (prefers-reduced-motion:no-preference){
  .gauge-wrap.settled .gring{ animation-iteration-count:3; }
  .kick .dot, .tk-l .dot{ animation-iteration-count:4; }
  .rv > *{ transition-delay:calc(min(var(--i,0), 24) * 9ms); }
}
.legend span:not(.muted){ white-space:nowrap; }
.ht .hb{ flex-wrap:wrap; }
.hs b.proof{ color:var(--v4); }
.hero-search{ display:flex; gap:8px; max-width:640px; margin:22px 0 0; }
.hero-search input{ flex:1; min-width:0; font:16px var(--sans); padding:12px 16px; border-radius:12px; border:1px solid #cfccc2; background:#fff; color:var(--ink); }
.hero-search button{ font:600 15px var(--sans); padding:0 18px; border-radius:12px; border:0; background:var(--ink); color:#fff; cursor:pointer; }
.caveat{ display:block; font-style:normal; font-size:12px; color:var(--muted); margin-top:2px; }
.gdist-legend{ display:none; }
@media (max-width:600px){
  .ht em{ font-size:8.5px; padding:2px 4px; letter-spacing:.02em; }
  .gdist span b + *{ display:none; } .gdist span{ font-size:0; } .gdist span b{ font-size:12px; }
  .gdist-legend{ display:flex; flex-wrap:wrap; gap:4px 12px; font-size:12px; color:var(--ink2); margin:-14px 0 18px; }
  .tk-l .t{ display:none; }
  .tabs{ -webkit-mask-image:linear-gradient(90deg,#000 82%,transparent); mask-image:linear-gradient(90deg,#000 82%,transparent); }
}
.ptable-wrap{ overflow-x:auto; }
.notice{ margin:10px 0 0; padding:10px 12px; border-radius:10px; background:#fff8ee; border:1px solid #f0d3a8; color:#5c3a07; font-size:13px; }
.maint{ margin-top:16px; padding:12px 14px; border-radius:12px; background:#f6f5f1; border:1px solid var(--line); font-size:13px; color:var(--ink2); }
.maint b{ color:var(--ink); } .maint ul{ margin:6px 0 0; padding-left:18px; } .maint a{ font-weight:600; }
.tag.neutral{ background:#f3f2ec; color:var(--ink2); }
.vt-what{ font-size:12px; color:var(--ink2); line-height:1.35; }
.who-runs{ padding:16px 18px; border-radius:14px; background:#fff; border:1px solid var(--line); margin:18px 0; }
.cite{ font:12.5px/1.5 var(--mono); background:#f3f2ec; padding:10px 12px; border-radius:8px; overflow-x:auto; white-space:pre-wrap; }
.corr li{ margin:0 0 6px; font-size:13.5px; } .corr .d{ font:600 11px var(--mono); color:var(--muted); margin-right:6px; }
.dym{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; padding:12px 14px; border-radius:12px; background:#fff8ee; border:1px solid #f0d3a8; margin:0 0 14px; font-size:14px; }
.livechips{ display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 0; }
.advs .x{ display:inline-flex; gap:6px; flex-wrap:wrap; margin-left:6px; }
.chip-kev{ font:600 10px/1 var(--sans); text-transform:uppercase; letter-spacing:.04em; padding:3px 5px; border-radius:4px; background:#a12828; color:#fff; }
.chip-epss{ font:600 10.5px/1 var(--mono); padding:3px 5px; border-radius:4px; background:#f3f2ec; color:var(--ink2); }

/* ── review round 3 ── */
.ht{ display:grid; grid-template-rows:auto 1fr auto; }
.ht .hb{ display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; gap:3px; }
.ht em.ph{ visibility:hidden; }
.map-legend .lg{ display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.gl .glr{ color:var(--ink2); font-weight:400; }
.vt-tools{ align-self:end; }
input[type="search"]::-webkit-search-cancel-button{ filter:grayscale(1) brightness(.45); cursor:pointer; }
.tk-l .t2{ display:none; }
@media (max-width:600px){ .tk-l .t2{ display:inline; } .hero-search{ margin:0 0 18px; } }
.hero-search{ margin:0 0 22px; }
.gdist .g-u{ background:#e3e1d9; color:var(--ink); }
.vt-top{ min-height:calc(2 * 1.25em + 2px); }
.vt-top b{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

.prose [id], #api-security{ scroll-margin-top:120px; }
.cite{ overflow-wrap:anywhere; }
@media (max-width:600px){ .scan-t td:last-child{ display:none; } .scan-t th:last-child{ display:none; } }

/* ── review round 4 ── */
.feed li[hidden]{ display:none; }
.gdist span.tight, .gdist span.tight b{ font-size:0; }
.gdist{ display:flex; }
.gdist-legend{ display:flex; flex-wrap:wrap; gap:4px 12px; font-size:12px; color:var(--ink2); margin:-14px 0 18px; }
.vt-top{ min-height:calc(3 * 1.25em + 2px); } .vt-top b{ -webkit-line-clamp:3; }
.kick{ align-items:flex-start; } .kick .dot{ margin-top:5px; flex:none; }
.map-legend .grade.xs{ margin-right:0; }
@media (max-width:600px){
  #ptable th:nth-child(n+6), #ptable td:nth-child(n+6){ display:none; }
  #ptable td:first-child .muted{ display:none; }
  .tbl-wrap{ -webkit-mask-image:none; mask-image:none; }
}

/* scan rows as cards on phones: the decision first */
@media (max-width:600px){
  .scan-t thead{ display:none; } .scan-t, .scan-t tbody{ display:block; }
  .scan-t tr{ display:grid; grid-template-columns:auto auto minmax(0,1fr); gap:4px 12px; padding:10px 0; border-bottom:1px solid var(--grid); }
  .scan-t td{ border:0; padding:0; } .scan-t td:first-child{ grid-column:1 / -1; overflow-wrap:anywhere; }
  .scan-t tr.mal{ background:#fdf3ef; padding-left:8px; padding-right:8px; border-radius:8px; }
}
/* ── review round 5: map chips never leave the tile; phone Projects fits its card ── */
.ptile .pm{ flex-wrap:wrap; min-width:0; }
.ptile .ic{ flex-wrap:wrap; justify-content:flex-end; min-width:0; max-width:100%; }
.ic b{ padding:3px 3px; letter-spacing:-.01em; }
@media (max-width:600px){
  #ptable th:nth-child(4), #ptable td:nth-child(4){ display:none; }
  #ptable td:first-child, #ptable th:first-child{ white-space:normal; max-width:150px; overflow-wrap:anywhere; }
  #ptable th, #ptable td{ padding-left:5px; padding-right:5px; }
}

.advs li span{ overflow-wrap:anywhere; min-width:0; }
@media (max-width:600px){ .scan-t td:nth-child(4):not(:empty)::before{ content:"upgrade to "; color:var(--muted); font-family:var(--sans); font-size:12px; } }

.hist{ width:auto; font-size:12.5px; } .hist td{ padding:3px 12px 3px 0; border-bottom:1px solid var(--grid); white-space:nowrap; }

/* repository icons: the owner's avatar through our API, a letter tile when there is none */
.av{ position:relative; flex:none; width:22px; height:22px; border-radius:6px; overflow:hidden; display:inline-grid; place-items:center; background:#e9e7e0; color:var(--ink2); font:700 11px/1 var(--sans); vertical-align:middle; }
.av.big{ width:40px; height:40px; border-radius:10px; font-size:18px; }
.av img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#fff; }
.verdict .vh{ display:flex; align-items:center; gap:10px; } .verdict .vh b{ flex:1; min-width:0; overflow-wrap:anywhere; }
.pk-head{ align-items:center; }
h2.with-av{ display:flex; align-items:center; gap:12px; }
.pkg .pn .av{ margin-right:2px; }
/* how this site checks itself: on phones each row is a card, so the third column is never off-screen */
@media (max-width:640px){
  .selfchk thead{ display:none; }
  .selfchk, .selfchk tbody, .selfchk tr, .selfchk td{ display:block; width:auto; }
  .selfchk tr{ padding:10px 0; border-bottom:1px solid var(--line); }
  .selfchk td{ padding:3px 0; border:0; }
  .selfchk td:first-child{ font-weight:700; color:var(--ink); }
  .selfchk td:last-child::before{ content:'Why not more: '; color:var(--muted); }
  .selfchk td.none{ display:none; }
}
/* state of trust as a dashboard: the same cards as Live, one question each */
.dash-search{ margin:0 0 14px; max-width:720px; }
.pf{ display:inline-flex; align-items:center; gap:7px; color:var(--ink); margin-right:4px; vertical-align:-5px; }
.pf:hover{ text-decoration:none; } .pf:hover b{ text-decoration:underline; } .pf b{ font-weight:700; }
.pfirst .meta .tag{ font-size:11px; }
.dash-note{ font-size:13px; line-height:1.45; margin:12px 0 8px; color:var(--ink2); } .dash-note b{ color:var(--ink); }
a.lrow{ color:var(--ink); } a.lrow:hover{ text-decoration:none; } a.lrow:hover .ln{ text-decoration:underline; }
.lrow .ln{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kevm{ color:#a12828; font-size:11px; font-weight:600; white-space:nowrap; }
.dash-links{ font-size:13px; margin:-6px 0 14px; }
#d-mal-w > .card{ height:100%; }
#view-next .ticker{ margin:0 0 16px; }
#orgs{ scroll-margin-top:96px; }

#hunters .lrow.wide{ grid-template-columns:minmax(0,1.4fr) minmax(70px,1fr) 56px; }
/* project icons next to names in lists, chips, tiles and tables */
.av.xs{ width:16px; height:16px; border-radius:4px; font-size:9px; margin-right:6px; vertical-align:-3px; }
.tag-av{ display:inline-flex; align-items:center; } .tag-av .av.xs{ margin-right:5px; vertical-align:0; }
.ptile .pn .av.xs{ margin-right:5px; box-shadow:0 0 0 1px rgba(255,255,255,.6); }
.lrow.pexp{ grid-template-columns:136px minmax(0,1fr) 64px; }
/* formal verification: a filled check = verified as a whole, a dashed check = verified parts */
.vmark{ flex:none; width:16px; height:16px; vertical-align:-3px; margin-left:5px; overflow:visible; }
.vmark path{ fill:none; stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; }
.vmark.whole circle{ fill:var(--v4); stroke:#fff; stroke-width:1; } .vmark.whole path{ stroke:#fff; }
.vmark.part circle{ fill:#fff; stroke:var(--v4); stroke-width:1.2; } .vmark.part path{ stroke:var(--v4); stroke-width:2.1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:3.6 1.6; stroke-dashoffset:1; }   /* path 16.8 long: dashes 0-2.6, 4.2-7.8 (holds the corner at 5.7), 9.4-13, 14.6-end */   /* butt ends: round caps would close the gaps */
.vmark.big{ width:22px; height:22px; margin-left:8px; vertical-align:-2px; }
.vmark.corner{ position:absolute; top:7px; right:7px; margin:0; width:18px; height:18px; }
.ptile.has-vm .pn{ padding-right:22px; }
.map-legend .vmark{ margin:0 2px 0 0; }
.ptile .ptags{ display:flex; flex-wrap:wrap; gap:3px; margin-top:6px; }
.tw{ font:500 10.5px/1 var(--sans); padding:3px 6px; border-radius:999px; background:rgba(255,255,255,.9); color:var(--ink); border:1px solid rgba(20,20,19,.12); }
.tw.k{ color:#a12828; border-color:#e8b4b4; background:#fff; }
/* where a project has no logo, a neutral package glyph instead of a letter (a letter read like a grade) */
.av svg{ width:64%; height:64%; fill:none; stroke:#8f8c82; stroke-width:1.3; stroke-linejoin:round; }

