
:root {
  --paper: #f3f1ec;
  --paper-grid: rgba(28,27,26,.045);
  --ink: #1c1b1a;
  --ink-2: #57534e;
  --ink-3: #8a847c;
  --line: rgba(28,27,26,.10);
  --card: rgba(255,255,255,.86);
  --card-solid: #fffdf9;
  --frost: rgba(255,255,255,.80);
  --navy: #14313f;
  --solid: #1c1b1a;
  --unv-ink: #9a5410;
  --on-white: #1c1b1a;
  --navy-2: #1d4456;
  --tile: linear-gradient(160deg, #3a332e 0%, #1f1b18 100%);
  --coral: #eb5160;
  --teal: #5bc0be;
  --peri: #7989f3;
  --blush: #fbdcdf;
  --sev-critical: #d93a4a;
  --sev-high: #ee7a4f;
  --sev-medium: #e3b23c;
  --sev-low: #4fb3b1;
  --sev-info: #98a1ae;
  --ok: #3c9c74;
  --warn: #d9822b;
  --below: #e9735f;
  --above: #4fb3b1;
  --shadow: 0 1px 2px rgba(28,27,26,.06), 0 8px 28px -12px rgba(28,27,26,.18);
  --shadow-lg: 0 2px 4px rgba(28,27,26,.06), 0 24px 60px -24px rgba(20,49,63,.45);
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141312; --paper-grid: rgba(255,255,255,.04);
    --ink: #f2efe9; --ink-2: #bdb6ac; --ink-3: #8a847c; --line: rgba(255,255,255,.10);
    --card: rgba(34,32,30,.82); --card-solid: #1e1c1a; --frost: rgba(30,28,26,.78);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px -12px rgba(0,0,0,.6);
    --unv-ink: #f2a65a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141312; --paper-grid: rgba(255,255,255,.04);
  --ink: #f2efe9; --ink-2: #bdb6ac; --ink-3: #8a847c; --line: rgba(255,255,255,.10);
  --card: rgba(34,32,30,.82); --card-solid: #1e1c1a; --frost: rgba(30,28,26,.78);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px -12px rgba(0,0,0,.6);
  --unv-ink: #f2a65a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink);
  background-color: #123a4b;
  min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(110% 80% at 0% 0%, #0b2836 0%, rgba(11,40,54,0) 62%),
    radial-gradient(75% 70% at 100% 100%, #eb5160 0%, rgba(235,81,96,0) 64%),
    radial-gradient(65% 60% at 72% 88%, #e87444 0%, rgba(232,116,68,0) 62%),
    radial-gradient(60% 55% at 85% 20%, #3f7f8a 0%, rgba(63,127,138,0) 70%),
    linear-gradient(160deg, #0f3142 0%, #1f5866 38%, #4f6f72 62%, #b8604a 86%, #d9574f 100%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* Text that sits directly on the gradient, not inside a card. */
.on-bg, .intro, .sec-head, .note, .hero, .count-line, .topbar .brand, .topbar .brand-by { color: #fff; }
.intro p, .sec-head p, .sec-head .muted, .note, .count-line { color: rgba(255,255,255,.80); }
.intro .eyebrow, .sec-head .eyebrow { color: rgba(255,255,255,.70); }
.topbar .brand-by { color: rgba(255,255,255,.72); border-left-color: rgba(255,255,255,.25); }
.topbar .brand-by svg { color: #fff; }
.intro .h-display, .sec-head h1, .sec-head h2, .hero-hello { text-shadow: 0 1px 24px rgba(0,0,0,.18); }
.note { border-top-color: rgba(255,255,255,.22); }
.sec-head .progress .track { background: rgba(255,255,255,.22); }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
a.chip, a.dock-item, a.lane-btn, a.rail-btn, a.module, a.brand { text-decoration: none; }
code { font-family: var(--mono); font-size: .86em; background: rgba(28,27,26,.06); padding: .08em .35em; border-radius: 5px; overflow-wrap: anywhere; }
:root[data-theme="dark"] code { background: rgba(255,255,255,.08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) code { background: rgba(255,255,255,.08); } }
:focus-visible { outline: 2px solid var(--peri); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── shell ─────────────────────────────────────────── */
.app { display: grid; grid-template-columns: 88px minmax(0, 1fr); min-height: 100vh; }
.rail {
  position: sticky; top: 0; z-index: 20; height: 100vh; padding: 20px 0 20px 18px; display: flex; flex-direction: column; align-items: center;
}
.rail-pill {
  background: rgba(28,27,26,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 22px; padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-lg);
  margin-top: 64px;
}
.rail-sep { height: 1px; background: rgba(255,255,255,.12); margin: 4px 6px; }
.rail-btn {
  width: 44px; height: 44px; border-radius: 13px; border: 0; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #e9e4dc; position: relative;
  transition: background .15s, transform .15s;
}
.rail-btn:hover { background: rgba(255,255,255,.16); }
.rail-btn[aria-current="page"] { background: #fff; color: var(--on-white); }
.rail-btn svg { width: 20px; height: 20px; }
.rail-btn .tip {
  position: absolute; z-index: 5; left: 54px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.14); white-space: nowrap; background: var(--solid); color: #fff; font-size: 12px; font-weight: 500;
  padding: 4px 9px; border-radius: 8px; opacity: 0; pointer-events: none; transform: translateX(-4px); transition: .15s;
}
.rail-btn:hover .tip, .rail-btn:focus-visible .tip { opacity: 1; transform: none; }
.rail-btn .dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid #2a2622; }

main { padding: 20px 32px 80px 24px; max-width: 1360px; width: 100%; min-width: 0; }
.topbar { display: flex; align-items: center; gap: 14px; height: 52px; margin-bottom: 12px; position: relative; z-index: 25; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand-by { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.brand-by svg { height: 13px; width: auto; color: var(--ink-2); }
.topbar .grow { flex: 1; }
.repo-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow); }
.repo-pill b { color: var(--ink); font-weight: 600; }
.repo-pill .sha { font-family: var(--mono); font-size: 12px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); }
.icon-btn svg { width: 19px; height: 19px; }
.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: 50px; background: var(--card-solid); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 210px; z-index: 30; display: none; }
.menu-pop.open { display: block; }
.menu-pop button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 9px; font-size: 14px; }
.menu-pop button:hover { background: rgba(28,27,26,.06); }

/* ── type ─────────────────────────────────────────── */
.card .eyebrow { color: var(--ink-3); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.h-display { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h2.sec { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 44px 0 16px; flex-wrap: wrap; }
.sec-head p { margin: 4px 0 0; color: rgba(255,255,255,.82); font-size: 14px; max-width: 70ch; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }

/* ── hero ─────────────────────────────────────────── */
.intro { margin: 10px 0 22px; max-width: 900px; }
.intro .h-display { font-size: clamp(40px, 6vw, 74px); }
.intro p { margin: 14px 0 0; max-width: 62ch; }
.hero {
  position: relative; color: #fff; padding: 8px 0 6px;
}


.hero-date { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.1; opacity: .95; }
.hero-hello { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.03em; margin: 2px 0 22px; line-height: 1.1; }
.hero-hello em { font-family: var(--serif); font-weight: 400; font-style: italic; }
.ask {
  background: rgba(255,255,255,.22); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.28); border-radius: 26px; padding: 12px; max-width: 920px;
}
.ask-box { background: var(--frost); color: var(--ink); border-radius: 18px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; min-height: 64px; }
.ask-box svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.ask-box input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); outline: none; min-width: 0; }
.ask-box input::placeholder { color: var(--ink-3); }
.btn-dark { border: 0; background: var(--solid); color: #fff; border-radius: 13px; padding: 12px 18px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.btn-dark:hover { background: #000; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.55); background: var(--frost); color: var(--ink);
  border-radius: 999px; padding: 8px 14px 8px 9px; font-size: 14px; font-weight: 500;
}
.chip .ci { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--solid); color: #fff; font-size: 11px; font-weight: 700; }
.chip:hover { background: var(--card-solid); }
.dock { display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.dock-item { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; width: 98px; }
.tile {
  width: 76px; height: 76px; border-radius: 22px; background: var(--tile); display: grid; place-items: center; position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 24px -10px rgba(0,0,0,.6); transition: transform .15s;
}
.dock-item:hover .tile { transform: translateY(-3px); }
.tile svg { width: 38px; height: 38px; }
.tile .badge { position: absolute; top: -6px; right: -8px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; padding: 3px 7px; border-radius: 999px; background: #fff; color: var(--on-white); box-shadow: 0 2px 6px rgba(0,0,0,.25); text-transform: lowercase; }
.dock-item .lbl { font-size: 12.5px; font-weight: 600; background: rgba(0,0,0,.42); padding: 3px 9px; border-radius: 8px; }

/* ── cards ─────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid rgba(255,255,255,.55); border-radius: var(--r-lg); box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.grid-moves { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.move { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; position: relative; cursor: pointer; transition: transform .15s, box-shadow .15s; text-align: left; border: 1px solid var(--line); }
.move:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.move .rank { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: .8; color: var(--ink-3); }
.move h3 { margin: 0; font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.move .why { font-size: 13.5px; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.move .row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.move .foot { margin-top: auto; display: grid; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(28,27,26,.06); color: var(--ink-2); white-space: nowrap; }
.tag .sw { width: 8px; height: 8px; border-radius: 50%; }
.sev { color: #1c1b1a; text-transform: uppercase; letter-spacing: .04em; font-size: 10.5px; padding: 3px 8px; }
.sev-critical { background: var(--sev-critical); color: #fff; } .sev-high { background: var(--sev-high); }
.sev-medium { background: var(--sev-medium); } .sev-low { background: var(--sev-low); } .sev-info { background: var(--sev-info); }
.sev-unmet { background: #6b6259; color: #fff; } .sev-watch { background: #b38f5a; } .sev-met { background: var(--ok); color: #fff; }
.sev-unverified { background: #77726b; color: #fff; } .sev-inapplicable, .pip.sev-inapplicable { background: #d8d3cb; color: #3d3a36; }
.tag.cap { background: rgba(217,58,74,.12); color: var(--sev-critical); }
.tag.unv { background: rgba(217,130,43,.13); color: var(--unv-ink); }
.effort { font-family: var(--mono); font-size: 11.5px; font-weight: 500; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink-2); }
.lane-btn { border: 1px solid var(--line); background: var(--card-solid); color: var(--ink); border-radius: 999px; font-size: 12px; font-weight: 600; padding: 5px 11px; }
.lane-btn.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.repo-pill, .icon-btn, .fopt, .scale-step, .chip, .searchbar, .ask-box { color: var(--ink); }
.fopt[aria-pressed="true"] { color: #fff; }

/* modules */
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.module { padding: 20px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.module:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.module-head { display: flex; align-items: center; gap: 12px; }
.module-head .tile { width: 48px; height: 48px; border-radius: 15px; }
.module-head .tile svg { width: 26px; height: 26px; }
.module-head h3 { margin: 0; font-family: var(--display); font-size: 19px; letter-spacing: -.02em; }
.module-head .q { font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }
.verdict-word { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; letter-spacing: -.01em; }
.wl { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.wl.below { background: rgba(233,115,95,.14); color: #c4523d; } .wl.above { background: rgba(79,179,177,.16); color: #2d8583; }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; position: relative; }
.ladder .rung { height: 8px; border-radius: 4px; background: rgba(28,27,26,.08); }
.ladder .rung.below.on { background: var(--below); } .ladder .rung.above.on { background: var(--above); }
.ladder .wline { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ink); border-radius: 1px; }
.ladder-names { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: 11px; color: var(--ink-3); margin-top: 5px; }
.ladder-names span.on { color: var(--ink); font-weight: 600; }
.sevbar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(28,27,26,.06); }
.sevbar span { display: block; height: 100%; }
.stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.stats b { display: block; font-family: var(--display); font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.capline { display: flex; gap: 6px; flex-wrap: wrap; }
.ring { --p: 50; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--navy) calc(var(--p) * 1%), rgba(28,27,26,.09) 0); display: grid; place-items: center; flex: none; }
.ring::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--card-solid); grid-area: 1/1; }
.ring span { grid-area: 1/1; font-size: 11px; font-weight: 700; z-index: 1; }
.score-big { white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 44px; letter-spacing: -.04em; line-height: 1; }
.score-big small { font-size: 20px; color: var(--ink-3); font-weight: 500; }
.tiers { display: grid; gap: 8px; }
.tier { display: grid; grid-template-columns: 96px 1fr 52px; align-items: center; gap: 10px; font-size: 12.5px; }
.tier .bar { height: 8px; border-radius: 4px; background: rgba(28,27,26,.08); position: relative; overflow: visible; }
.tier .bar span { display: block; height: 100%; border-radius: 4px; background: var(--navy); }
.tier .bar .floor { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--sev-critical); }
.tier .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* heat */
.heat { overflow-x: auto; }
.heat table { border-collapse: separate; border-spacing: 4px; width: 100%; min-width: 560px; }
.heat th { font-size: 12px; font-weight: 600; color: var(--ink-3); text-align: left; padding: 4px 8px; }
.heat td.lab { font-size: 13px; font-weight: 500; padding: 0 8px; white-space: nowrap; }
.heat td.lab small { display: block; color: var(--ink-3); font-weight: 400; font-size: 11.5px; }
.heat button.cell { width: 100%; height: 40px; border: 0; border-radius: 10px; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.heat button.cell.zero { background: rgba(28,27,26,.04); color: var(--ink-3); font-weight: 400; cursor: default; }

/* ── explore ───────────────────────────────────────── */
.explore { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; }
.filters { padding: 16px; position: sticky; top: 16px; display: grid; gap: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.filters h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.fopts { display: flex; flex-wrap: wrap; gap: 6px; }
.fopt { border: 1px solid var(--line); background: var(--card-solid); border-radius: 999px; padding: 5px 10px; font-size: 12.5px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; max-width: 100%; text-align: left; overflow-wrap: anywhere; }
.fopt[aria-pressed="true"] { background: var(--solid); color: #fff; border-color: var(--solid); }
.fopt .n { font-size: 11px; opacity: .65; font-variant-numeric: tabular-nums; }
.searchbar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; margin-bottom: 12px; }
.searchbar svg { width: 18px; height: 18px; color: var(--ink-3); }
.searchbar input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 15px; outline: none; color: var(--ink); min-width: 0; }
.searchbar select { border: 1px solid var(--line); background: var(--card-solid); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px; color: var(--ink); }
.list { display: grid; gap: 8px; }
.item { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px 12px 0; cursor: pointer; text-align: left; border: 1px solid var(--line); width: 100%; transition: box-shadow .15s, transform .15s; }
.item:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.item .stripe { align-self: stretch; border-radius: 0 4px 4px 0; }
.item .t { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.item .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; align-items: center; font-size: 12px; color: var(--ink-3); }
.item .right { display: flex; flex-direction: column; align-items: end; gap: 6px; }
.empty { padding: 40px; text-align: center; color: var(--ink-2); }
.count-line { font-size: 13px; color: rgba(255,255,255,.82); margin: 0 0 10px 4px; }

/* ── plan ──────────────────────────────────────────── */
.board { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.lane { padding: 14px; min-height: 300px; display: flex; flex-direction: column; gap: 10px; }
.lane.drop { outline: 2px dashed var(--peri); outline-offset: -6px; }
.lane-head { display: flex; align-items: baseline; justify-content: space-between; }
.lane-head h3 { margin: 0; font-family: var(--display); font-size: 18px; letter-spacing: -.02em; }
.lane-head h3 .it { font-size: 21px; }
.lane-head .n { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.lane-note { font-size: 12px; color: var(--ink-3); margin: -4px 0 4px; }
.pcard { background: var(--card-solid); border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; display: grid; gap: 7px; cursor: grab; box-shadow: 0 1px 2px rgba(28,27,26,.05); }
.pcard:active { cursor: grabbing; }
.pcard .t { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.pcard .row { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.pcard .acts { display: flex; gap: 4px; justify-content: end; }
.pcard .acts button { border: 1px solid var(--line); background: none; border-radius: 8px; padding: 2px 8px; font-size: 12px; }
.lane.done .pcard .t { text-decoration: line-through; color: var(--ink-3); }
.progress { display: flex; align-items: center; gap: 12px; }
.progress .track { flex: 1; height: 8px; background: rgba(28,27,26,.08); border-radius: 4px; overflow: hidden; min-width: 120px; }
.progress .track span { display: block; height: 100%; background: var(--ok); }

/* ── suite page ───────────────────────────────────── */
.suite-hero { padding: 28px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
.suite-hero .verdict-word { font-size: 64px; }
.suite-hero p.sum { color: var(--ink-2); margin: 14px 0 0; }
.scale { display: grid; gap: 8px; align-content: center; }
.scale-step { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: var(--card-solid); text-align: left; width: 100%; }
.scale-step .nm { font-weight: 600; text-transform: capitalize; display: flex; justify-content: space-between; align-items: center; }
.scale-step .ds { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; display: none; }
.scale-step[aria-expanded="true"] .ds { display: block; }
.scale-step.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.scale-wl { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.scale-wl::before, .scale-wl::after { content: ""; flex: 1; height: 0; border-top: 2px dashed var(--ink-3); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.panel { padding: 18px 20px; }
.panel h3 { margin: 0 0 10px; font-family: var(--display); font-size: 17px; letter-spacing: -.015em; }
.panel ol, .panel ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.capcard { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card-solid); display: grid; gap: 6px; }
.capcard.fired { border-color: rgba(217,58,74,.45); background: linear-gradient(0deg, rgba(217,58,74,.05), rgba(217,58,74,.05)), var(--card-solid); }
.capcard .h { display: flex; justify-content: space-between; gap: 10px; align-items: start; font-weight: 600; font-size: 14px; }
.capcard .d { font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.capcard .d.open { -webkit-line-clamp: unset; }
.terr { border-top: 1px solid var(--line); }
.terr summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 4px; cursor: pointer; font-weight: 600; }
.terr summary::-webkit-details-marker { display: none; }
.terr summary .chev { transition: transform .15s; color: var(--ink-3); }
.terr[open] summary .chev { transform: rotate(90deg); }
.terr summary .mini { margin-left: auto; display: flex; gap: 4px; }
.terr .list { padding: 0 0 14px; }
.gap-row { padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; display: grid; gap: 3px; }
.gap-row:first-child { border-top: 0; }
.gap-row .k { color: var(--ink-3); font-size: 12px; }
.units { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.unit { padding: 14px; display: grid; gap: 8px; }
.unit h4 { margin: 0; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.pips { display: flex; gap: 4px; flex-wrap: wrap; }
.pip { width: 26px; height: 26px; border-radius: 8px; border: 0; font-size: 10.5px; font-weight: 700; color: #fff; font-family: var(--mono); }

/* ── drawer ───────────────────────────────────────── */
.scrim { position: fixed; inset: 0; background: rgba(20,19,18,.35); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(640px, calc(100vw - 20px)); background: var(--card-solid); border-radius: 24px; box-shadow: var(--shadow-lg); z-index: 50; transform: translateX(110%); transition: transform .25s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.drawer.open { transform: none; }
.drawer-top { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: start; }
.drawer-top .grow { flex: 1; }
.drawer-top h2 { margin: 6px 0 0; font-family: var(--display); font-size: 21px; letter-spacing: -.02em; line-height: 1.25; }
.drawer-body { padding: 18px 20px 28px; overflow: auto; display: grid; gap: 18px; align-content: start; }
.drawer-body h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.drawer-body p { margin: 0; }
.term { background: #171513; color: #ece6dc; border-radius: 14px; padding: 12px 14px; font-family: var(--mono); font-size: 12.5px; line-height: 1.55; position: relative; overflow-wrap: anywhere; }
.term .cmd { color: #9fe3e1; }
.term .cmd::before { content: "$ "; color: #8a847c; }
.term .out { color: #d8d0c4; margin-top: 6px; white-space: pre-wrap; }
.term .copy { position: absolute; top: 8px; right: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #ece6dc; border-radius: 8px; font-size: 11px; padding: 2px 8px; }
.callout { border-radius: 14px; padding: 12px 14px; font-size: 13.5px; }
.callout.cap { background: rgba(217,58,74,.08); border: 1px solid rgba(217,58,74,.3); }
.callout.unv { background: rgba(217,130,43,.08); border: 1px solid rgba(217,130,43,.3); }
.lanes-inline { display: flex; gap: 6px; flex-wrap: wrap; }

.note { font-size: 12.5px; color: rgba(255,255,255,.78); margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); }
.view[hidden] { display: none !important; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--solid); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 13.5px; opacity: 0; transition: .2s; z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ── responsive ───────────────────────────────────── */
@media (max-width: 980px) {
  .explore { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; max-height: none; }
  .suite-hero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  main { padding: 12px 16px 110px; }
  .rail { position: fixed; top: auto; bottom: 12px; left: 12px; right: 12px; height: auto; padding: 0; z-index: 35; }
  .rail-pill { margin: 0; flex-direction: row; justify-content: space-around; border-radius: 26px; width: 100%; padding: 8px; }
  .rail-sep { display: none; }
  .rail-btn .tip { display: none; }
  .brand-by, .repo-pill .hide-sm, .repo-pill .sha, #searchBtn { display: none; }
  .topbar { gap: 8px; }
  .icon-btn { width: 38px; height: 38px; }
  .repo-pill { padding: 6px 11px; min-width: 0; }
  .hero { padding: 24px 18px; }
  .hero-date { font-size: 24px; }
  .dock { gap: 10px; justify-content: space-between; }
  .dock-item { width: 72px; }
  .tile { width: 60px; height: 60px; border-radius: 18px; }
  .tile svg { width: 30px; height: 30px; }
  .board { grid-template-columns: repeat(4, 82vw); }
  .ask-box input { font-size: 15px; }
}
@media print {
  .rail, .topbar .icon-btn, .menu, .drawer, .scrim { display: none !important; }
  body { background: #fff; }
  body::before, body::after { display: none; }
  .intro, .sec-head, .note, .hero, .count-line { color: #000 !important; }
  .app { display: block; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ── loader ───────────────────────────────────────── */
.load-wrap { max-width: 980px; }
.drop {
  margin-top: 8px; border-radius: 22px; border: 2px dashed rgba(255,255,255,.55); background: rgba(255,255,255,.14);
  padding: 34px 24px; text-align: center; display: grid; gap: 12px; justify-items: center; transition: background .15s;
}
.drop.over, body.dragging .drop { background: rgba(255,255,255,.3); }
.drop p { margin: 0; opacity: .92; }
.drop .btn-dark { background: #fff; color: var(--on-white); }
.problems { margin-top: 14px; display: grid; gap: 8px; }
.problem { background: #fff; color: var(--on-white); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; border-left: 4px solid var(--sev-critical); }
.problem.warn { border-left-color: var(--warn); }
.problem b { display: block; margin-bottom: 2px; }
.files-line { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.banner { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #fff4e8; color: var(--on-white); border: 1px solid rgba(217,130,43,.35); font-size: 13.5px; margin-bottom: 14px; }
body.dragging::after { content: "Drop overwatch.report/1 files to load them"; position: fixed; inset: 10px; border: 3px dashed var(--peri); border-radius: 24px; background: rgba(121,137,243,.10); display: grid; place-items: center; font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); z-index: 70; pointer-events: none; }
