/* Radius Desk — a quiet console. Colour is reserved for status; the connection path is the one loud element. */
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light dark;
  --ground: #EBEFF3; --paper: #FFFFFF; --sunk: #F3F6F8;
  --ink: #0F2233; --ink-2: #3B4D5E; --muted: #657687;
  --rule: #D5DCE3; --rule-2: #E6EBEF;
  --rail: #0F2233; --rail-ink: #C3D0DB; --rail-on: #FFFFFF; --rail-accent: #5CC9D2;
  --accent: #0A6C74; --accent-ink: #FFFFFF; --accent-wash: #E0F0F1;
  --ok: #17754A;   --ok-wash: #E0F2E9;
  --warn: #8F5400; --warn-wash: #FBEED6;
  --bad: #B0301D;  --bad-wash: #FBE4DF;
  --info: #2459A0; --info-wash: #E2ECF8;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0B131B; --paper: #111D28; --sunk: #0E1822;
    --ink: #E5ECF2; --ink-2: #B3C1CD; --muted: #8296A6;
    --rule: #25374A; --rule-2: #1A2A3A;
    --rail: #080F16; --rail-ink: #98ABBA; --rail-on: #FFFFFF;
    --accent: #45BCC6; --accent-ink: #06222A; --accent-wash: #123840;
    --ok: #52C48C;   --ok-wash: #11332A;
    --warn: #E5A34A; --warn-wash: #392A10;
    --bad: #F27A66;  --bad-wash: #3C1B16;
    --info: #7FB0EE; --info-wash: #152B47;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 14.5px/1.5 var(--sans); font-feature-settings: "tnum" 1; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
code, .id { font-family: var(--mono); font-size: 0.92em; }
.muted { color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; }
.rail { background: var(--rail); color: var(--rail-ink); padding: 18px 12px 24px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; color: var(--rail-on); font-weight: 650; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand svg { width: 22px; height: 22px; stroke: var(--rail-accent); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.rail h2 { font-size: 12px; font-weight: 500; color: #7D90A0; margin: 18px 10px 6px; letter-spacing: 0; }
.rail a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border-radius: var(--radius); color: var(--rail-ink); border-left: 3px solid transparent; }
.rail a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: var(--rail-on); }
.rail a[aria-current="page"] { background: rgba(255,255,255,.09); color: var(--rail-on); border-left-color: var(--rail-accent); font-weight: 600; }
.badge { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 650; text-align: center; font-variant-numeric: tabular-nums; }
.main { min-width: 0; }
.topbar { display: flex; gap: 16px; align-items: center; padding: 12px 28px; background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 10; }
.topbar form.search { flex: 1; max-width: 520px; }
.topbar input[type=search] { width: 100%; padding: 8px 12px; }
.who { margin-left: auto; display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: 13.5px; }
.page { padding: 26px 28px 64px; max-width: 1320px; }
.page-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.page-head h1 { font-size: 1.6rem; font-weight: 640; }
.page-head p { margin: 4px 0 0; color: var(--muted); max-width: 70ch; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.section { margin-top: 30px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.02rem; font-weight: 620; }
.section-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cols-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack > * + * { margin-top: 14px; }
.cols > *, .cols-even > * { min-width: 0; }

/* ---------- surfaces ---------- */
.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; }
.tbl-wrap { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 560; color: var(--muted); font-size: 12.5px; padding: 9px 12px; border-bottom: 1px solid var(--rule); white-space: nowrap; background: var(--sunk); }
th.num { text-align: right; }
td { padding: 9px 12px; border-bottom: 1px solid var(--rule-2); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--sunk); }
td.wrap { white-space: normal; max-width: 38ch; }
.tbl-foot { padding: 10px 12px; border-top: 1px solid var(--rule); background: var(--sunk); color: var(--muted); font-size: 13px; }
.empty { margin: 0; padding: 22px 16px; color: var(--muted); text-align: center; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px 0; gap: 12px; flex-wrap: wrap; }
.pager-links { display: flex; gap: 10px; align-items: center; }

.pill { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 580; white-space: nowrap; }
.pill-ok { background: var(--ok-wash); color: var(--ok); }
.pill-bad { background: var(--bad-wash); color: var(--bad); }
.pill-warn { background: var(--warn-wash); color: var(--warn); }
.pill-info { background: var(--info-wash); color: var(--info); }
.pill-skip { background: var(--sunk); color: var(--muted); border: 1px solid var(--rule); }

.flash { display: block; padding: 11px 14px; margin: 0 0 12px; border-radius: var(--radius); border-left: 4px solid; background: var(--paper); border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.flash-ok { border-left-color: var(--ok); } .flash-bad { border-left-color: var(--bad); } .flash-warn { border-left-color: var(--warn); } .flash-info { border-left-color: var(--info); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: var(--radius); font: 560 14px/1.4 var(--sans); cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--sunk); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.08); }
.btn-danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, var(--rule)); }
.btn-quiet { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn-sm { padding: 3px 9px; font-size: 13px; }
.btn.is-off { opacity: .45; pointer-events: none; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 7px 10px; min-width: 0; }
input[type=search], input[type=text], input[type=password], input[type=number], input[type=date], input[type=datetime-local], select, textarea { width: 100%; }
textarea { min-height: 84px; resize: vertical; }
label, .label { display: block; font-size: 13px; font-weight: 560; color: var(--ink-2); margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.err { color: var(--bad); font-size: 13px; margin: 4px 0 0; }
.field { min-width: 150px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 0 0 14px; }
.filters .field { flex: 0 1 180px; }
.filters .field.grow { flex: 1 1 240px; }
.inline { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.inline .field { flex: 1 1 140px; }
.choice { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0; }
.choice label { display: inline-flex; gap: 6px; align-items: center; font-weight: 450; margin: 0; }
.choice input { width: auto; }
form.plain { display: inline; margin: 0; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; flex-wrap: wrap; }
.tabs a { padding: 9px 14px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 520; }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 640; }

/* ---------- overview ---------- */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.strip > div { padding: 14px 16px; border-left: 1px solid var(--rule); }
.strip > div:first-child { border-left: 0; }
.strip dt { color: var(--muted); font-size: 13px; }
.strip dd { margin: 2px 0 0; font-size: 1.55rem; font-weight: 620; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.strip dd small { display: block; font-size: 12.5px; font-weight: 450; color: var(--muted); letter-spacing: 0; }
.queue { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.queue li + li { border-top: 1px solid var(--rule-2); }
.queue a { display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; color: var(--ink); }
.queue a:hover { background: var(--sunk); text-decoration: none; }
.queue strong { display: block; font-weight: 600; }
.queue span.why { color: var(--muted); font-size: 13.5px; }
.queue .n { font-size: 1.35rem; font-weight: 620; font-variant-numeric: tabular-nums; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot-ok { background: var(--ok); } .dot-bad { background: var(--bad); } .dot-warn { background: var(--warn); } .dot-skip { background: var(--rule); }
.allclear { padding: 16px 18px; background: var(--ok-wash); color: var(--ok); border-radius: var(--radius); font-weight: 580; }
.routers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 18px; }
.routers li { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--rule-2); }
.routers a { color: var(--ink); font-weight: 520; }
.routers .ms { margin-left: auto; color: var(--muted); font-size: 13px; }

/* ---------- charts ---------- */
.chart-fig { margin: 0; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--rule-2); stroke-width: 1; }
.chart .tick { fill: var(--muted); font: 10.5px var(--sans); }
.chart .s0, .sw.s0 { fill: var(--accent); background: var(--accent); }
.chart .s1, .sw.s1 { fill: var(--bad); background: var(--bad); }
.chart .s2, .sw.s2 { fill: var(--muted); background: var(--muted); }
.chart rect:hover { opacity: .8; }
.legend { display: flex; gap: 16px; list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; color: var(--ink-2); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.spark { width: 140px; height: 28px; vertical-align: middle; }
.spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark .down { stroke: var(--bad); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .75; }
.spark .pt { fill: var(--accent); }
.spark-lg { width: 100%; height: 90px; }
.meter { width: 96px; height: 6px; vertical-align: middle; }
.meter .track { fill: var(--rule-2); } .meter .fill { fill: var(--accent); }

/* ---------- customer: connection path ---------- */
.cust-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.cust-head h1 { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; word-break: break-all; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; margin: 16px 0 0; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; font-weight: 520; }
.path { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 24px 20px; margin-top: 22px; }
.verdict { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.verdict h2 { font-size: 1.25rem; font-weight: 640; }
.trace { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.hop { position: relative; padding-right: 14px; }
.hop::before { content: ""; position: absolute; top: 12px; left: 28px; right: 2px; height: 0; border-top: 2px solid var(--rule); }
.hop:last-child::before { display: none; }
.hop.is-ok::before { border-top-color: var(--ok); }
.hop.is-bad::before, .hop.is-warn::before { border-top-style: dashed; border-top-color: var(--rule); }
.node { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--rule); font-weight: 700; font-size: 13px; line-height: 1; color: var(--muted); }
.is-ok .node { border-color: var(--ok); background: var(--ok); color: #fff; }
.is-bad .node { border-color: var(--bad); background: var(--bad); color: #fff; }
.is-warn .node { border-color: var(--warn); background: var(--warn); color: #fff; }
.hop-label { display: block; margin-top: 8px; font-weight: 640; font-size: 14px; }
.hop-text { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.4; margin-top: 2px; overflow-wrap: anywhere; }
.is-skip .hop-text { color: var(--muted); }
.is-bad .hop-text { color: var(--bad); font-weight: 520; }
.is-warn .hop-text { color: var(--warn); font-weight: 520; }
.findings { list-style: none; margin: 0; padding: 0; }
.findings li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 14px 16px; background: var(--paper); border: 1px solid var(--rule); border-left-width: 4px; border-radius: var(--radius); }
.findings li + li { margin-top: 10px; }
.findings .lv-bad { border-left-color: var(--bad); } .findings .lv-warn { border-left-color: var(--warn); } .findings .lv-info { border-left-color: var(--info); } .findings .lv-ok { border-left-color: var(--ok); }
.findings strong { display: block; font-weight: 620; }
.findings p { margin: 2px 0 0; color: var(--ink-2); max-width: 75ch; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; overflow-wrap: anywhere; }
.action-block { padding: 14px 0; border-top: 1px solid var(--rule); }
.action-block:first-child { border-top: 0; padding-top: 0; }
.action-block h3 { font-size: 0.95rem; font-weight: 620; margin-bottom: 8px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- login ---------- */
.bare-body { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.signin { width: 100%; max-width: 380px; }
.signin .brand { color: var(--ink); padding-left: 0; }
.signin .brand svg { stroke: var(--accent); }
.signin form { margin-top: 18px; display: grid; gap: 14px; }
.notice { text-align: center; max-width: 440px; }
.notice h1 { font-size: 1.6rem; margin: 10px 0 6px; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; height: auto; display: flex; gap: 2px; overflow-x: auto; padding: 8px 10px; align-items: center; }
  .rail h2, .brand { display: none; }
  .rail a { border-left: 0; border-bottom: 3px solid transparent; border-radius: 4px 4px 0 0; white-space: nowrap; }
  .rail a[aria-current="page"] { border-bottom-color: var(--rail-accent); }
  .topbar { padding: 10px 16px; position: static; }
  .page { padding: 18px 16px 48px; }
  .cols, .cols-even { grid-template-columns: minmax(0, 1fr); }
  .findings li { grid-template-columns: 1fr; }
  .strip > div { border-left: 0; border-top: 1px solid var(--rule); }
  .strip > div:first-child { border-top: 0; }
  .trace { grid-auto-flow: row; }
  .hop { display: grid; grid-template-columns: 26px minmax(0, 1fr); grid-template-areas: "n l" "n t"; column-gap: 14px; padding: 0 0 18px; }
  .node { grid-area: n; } .hop-label { grid-area: l; margin-top: 2px; } .hop-text { grid-area: t; }
  .hop::before { top: 28px; bottom: 2px; left: 12px; right: auto; height: auto; border-top: 0; border-left: 2px solid var(--rule); }
  .hop.is-ok::before { border-left-color: var(--ok); }
  .hop.is-bad::before, .hop.is-warn::before { border-left-style: dashed; border-left-color: var(--rule); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .rail, .topbar, .actions, .filters, .btn, .pager { display: none !important; } .shell { display: block; } body { background: #fff; } }
.signin h1 { font-size: 1.25rem; }
.signin .flash { margin-top: 12px; }
.section-head.spaced { margin-top: 18px; }
form.panel.stack { max-width: 560px; }
details > summary { cursor: pointer; padding: 4px 0; }
details[open] > summary { margin-bottom: 10px; }

/* ---------- staff and roles ---------- */
.who-link { color: var(--ink-2); font-weight: 520; }
.who-link:hover { color: var(--ink); }
.flash code { font-family: var(--mono); font-size: .92em; }
.matrix th, .matrix td { text-align: center; padding: 8px 10px; }
.matrix th:first-child, .matrix td:first-child { text-align: left; position: sticky; left: 0; background: var(--paper); z-index: 1; min-width: 260px; }
.matrix thead th:first-child { background: var(--sunk); }
.matrix .grp td { background: var(--sunk); color: var(--muted); font-weight: 600; font-size: 12.5px; text-align: left; }
.matrix .lvl { display: block; font-weight: 450; color: var(--muted); font-size: 12px; }
.matrix input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--accent); }
.matrix input:disabled { opacity: .35; }
.matrix .locked { color: var(--ok); font-weight: 650; }
.inline-select { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.inline-select select { width: auto; min-width: 130px; padding: 4px 8px; }
.role-lvl { color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.setup { background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--warn); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; }
.setup h2 { font-size: 1.05rem; margin-bottom: 6px; }
.setup p { margin: 4px 0 12px; color: var(--ink-2); max-width: 70ch; }
.spaced-top { margin-top: 14px; }

/* ---------- insights ---------- */
.chart .hm { stroke: none; }
.chart .hm0 { fill: var(--rule-2); }
.chart .hm1, .sw.hmk1 { fill: color-mix(in srgb, var(--accent) 20%, var(--paper)); background: color-mix(in srgb, var(--accent) 20%, var(--paper)); }
.chart .hm2, .sw.hmk2 { fill: color-mix(in srgb, var(--accent) 40%, var(--paper)); background: color-mix(in srgb, var(--accent) 40%, var(--paper)); }
.chart .hm3, .sw.hmk3 { fill: color-mix(in srgb, var(--accent) 60%, var(--paper)); background: color-mix(in srgb, var(--accent) 60%, var(--paper)); }
.chart .hm4, .sw.hmk4 { fill: color-mix(in srgb, var(--accent) 80%, var(--paper)); background: color-mix(in srgb, var(--accent) 80%, var(--paper)); }
.chart .hm5, .sw.hmk5 { fill: var(--accent); background: var(--accent); }
.legend li { display: flex; align-items: center; }
.delta { display: block; font-size: 12.5px; font-weight: 560; letter-spacing: 0; }
.delta.good { color: var(--ok); } .delta.bad { color: var(--bad); } .delta.flat { color: var(--muted); font-weight: 450; }
.insights { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.insights li { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px 12px 0; border-top: 1px solid var(--rule-2); }
.insights li:first-child { border-top: 0; }
.insights li::before { content: ""; align-self: stretch; background: var(--rule); }
.insights li.lv-good::before { background: var(--ok); } .insights li.lv-warn::before { background: var(--warn); } .insights li.lv-info::before { background: var(--info); }
.insights p { margin: 0; }
.cohort td, .cohort th { text-align: center; padding: 7px 8px; font-variant-numeric: tabular-nums; }
.cohort td:first-child, .cohort th:first-child { text-align: left; white-space: nowrap; }
.cohort .c0 { background: transparent; color: var(--muted); }
.cohort .c1 { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); } .cohort .c2 { background: color-mix(in srgb, var(--accent) 30%, var(--paper)); }
.cohort .c3 { background: color-mix(in srgb, var(--accent) 48%, var(--paper)); } .cohort .c4 { background: color-mix(in srgb, var(--accent) 66%, var(--paper)); color: var(--accent-ink); }
.cohort .c5 { background: var(--accent); color: var(--accent-ink); }
.cohort .na { color: var(--rule); }
.kpi-group { margin-top: 18px; }
.kpi-group > h3 { font-size: .92rem; font-weight: 620; color: var(--ink-2); margin-bottom: 8px; }
.note { color: var(--muted); font-size: 13px; margin: 8px 0 0; max-width: 80ch; }
.bar-row td:nth-child(2) { width: 38%; }
@media print { .insights li a { display: none; } .kpi-group, .section { break-inside: avoid; } }
