/* Infosec Archive — design tokens */
:root {
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --border: #e3e8f0;
  --border-strong: #cfd7e3;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --accent: #0369a1;
  --accent-soft: #e0f2fe;

  --hero-bg: #0b1220;
  --hero-bg-2: #111a2e;
  --hero-text: #e8eef8;
  --hero-muted: #93a3bd;
  --hero-accent: #38bdf8;

  --crit: #b91c1c;  --crit-bg: #fef2f2;  --crit-bd: #fecaca;
  --high: #c2410c;  --high-bg: #fff7ed;  --high-bd: #fed7aa;
  --med:  #a16207;  --med-bg:  #fefce8;  --med-bd:  #fde68a;
  --low:  #15803d;  --low-bg:  #f0fdf4;  --low-bd:  #bbf7d0;
  --ok:   #15803d;  --ok-bg:   #f0fdf4;  --ok-bd:   #bbf7d0;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .05);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .08);
  --wrap: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f1a; --surface: #0f1726; --surface-2: #142034; --border: #1e2a3f; --border-strong: #2a3a55;
    --text: #e6edf7; --text-2: #c3cfe0; --muted: #8696b0; --accent: #38bdf8; --accent-soft: #0c2a40;
    --hero-bg: #070b14; --hero-bg-2: #0d1525;
    --crit: #f87171; --crit-bg: #2a1215; --crit-bd: #5b1d22;
    --high: #fb923c; --high-bg: #2a1a0f; --high-bd: #5a3214;
    --med: #facc15; --med-bg: #29230d; --med-bd: #574812;
    --low: #4ade80; --low-bg: #0f2418; --low-bd: #1b4a2d;
    --ok: #4ade80; --ok-bg: #0f2418; --ok-bd: #1b4a2d;
    --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 8px 28px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f1a; --surface: #0f1726; --surface-2: #142034; --border: #1e2a3f; --border-strong: #2a3a55;
  --text: #e6edf7; --text-2: #c3cfe0; --muted: #8696b0; --accent: #38bdf8; --accent-soft: #0c2a40;
  --hero-bg: #070b14; --hero-bg-2: #0d1525;
  --crit: #f87171; --crit-bg: #2a1215; --crit-bd: #5b1d22;
  --high: #fb923c; --high-bg: #2a1a0f; --high-bd: #5a3214;
  --med: #facc15; --med-bg: #29230d; --med-bd: #574812;
  --low: #4ade80; --low-bg: #0f2418; --low-bd: #1b4a2d;
  --ok: #4ade80; --ok-bg: #0f2418; --ok-bd: #1b4a2d;
  --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 8px 28px rgba(0,0,0,.4);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 var(--font); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.015em; margin: 0; color: var(--text); }
p { margin: 0 0 1em; }
code { font: .86em/1.4 var(--mono); background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: .12em .4em; word-break: break-word; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--hero-bg) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--hero-text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--hero-accent); flex: none; }
.brand strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
.brand small { display: block; font-size: 12px; color: var(--hero-muted); font-family: var(--mono); line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; color: var(--hero-muted); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--hero-text); background: rgba(148, 163, 184, .12); text-decoration: none; }
.theme-toggle { margin-left: 4px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 1px solid rgba(148,163,184,.2); background: transparent; color: var(--hero-muted); cursor: pointer; }
.theme-toggle:hover { color: var(--hero-text); background: rgba(148,163,184,.12); }
.theme-toggle svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero, .report-hero {
  background:
    radial-gradient(900px 340px at 85% -10%, rgba(56, 189, 248, .16), transparent 60%),
    radial-gradient(700px 300px at 0% 120%, rgba(99, 102, 241, .12), transparent 60%),
    linear-gradient(180deg, var(--hero-bg), var(--hero-bg-2));
  color: var(--hero-text);
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}
.hero { padding: 64px 0 56px; }
.hero.compact { padding: 48px 0 40px; }
.hero h1, .report-hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: -.03em; max-width: 22ch; }
.report-hero h1 { max-width: 30ch; font-size: clamp(28px, 3.6vw, 40px); }
.eyebrow { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--hero-accent); margin-bottom: 16px; }
.lede { font-size: 18px; color: var(--hero-muted); max-width: 68ch; margin: 16px 0 0; }
.lede a { color: var(--hero-accent); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 40px 0 0; max-width: 720px; background: rgba(148,163,184,.14); border: 1px solid rgba(148,163,184,.14); border-radius: var(--radius); overflow: hidden; }
.hero-stats div { background: rgba(11, 18, 32, .6); padding: 16px 20px; }
.hero-stats dt { font-size: 12px; color: var(--hero-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.hero-stats dd { margin: 4px 0 0; font-size: 26px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- sections ---------- */
.section-title { font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 48px 0 16px; }
.latest { margin-top: -28px; }
.latest .section-title { display: none; }

.latest-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px 32px;
  box-shadow: var(--shadow-lg); color: var(--text); position: relative;
  transition: border-color .15s, transform .15s;
}
.latest-card::before { content: "Latest"; position: absolute; top: -11px; left: 28px; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 6px 10px; border-radius: 999px; }
.latest-card:hover { text-decoration: none; border-color: var(--border-strong); transform: translateY(-1px); }
.latest-card h3 { font-size: 24px; margin: 8px 0 10px; }
.latest-card p { color: var(--text-2); }
.latest-meta { font-size: 13px; color: var(--muted); font-weight: 500; }
.latest-top { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); padding-left: 28px; display: grid; gap: 12px; }
.latest-top li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 550; color: var(--text-2); line-height: 1.45; }

/* ---------- archive ---------- */
.archive-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; margin-bottom: 8px; }
.archive-head .section-title { margin: 0; }
.filters { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.filters.solo { align-items: stretch; margin: 32px 0 16px; max-width: 420px; }
.filters input {
  width: 340px; max-width: 100%; height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 14px;
}
.filters input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.filters.solo input { width: 100%; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.fchip { font: 500 13px/1 var(--font); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); cursor: pointer; }
.fchip:hover { border-color: var(--accent); color: var(--accent); }
.fchip.is-on { background: var(--text); border-color: var(--text); color: var(--bg); }

.month-title { font-size: 15px; font-weight: 650; color: var(--text-2); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.report-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.report-card { padding: 22px 24px; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.report-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.report-card-date { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .02em; }
.report-card h3 { font-size: 18px; margin: 10px 0 8px; }
.report-card h3 a { color: var(--text); }
.report-card p { font-size: 14px; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--border); }
.mini-stats { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.mini b { font-variant-numeric: tabular-nums; color: var(--text); }
.mini.t-crit b { color: var(--crit); }
.mini.t-high b { color: var(--high); }
.empty { padding: 32px 0; text-align: center; }

/* ---------- chips & pills ---------- */
.chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font); padding: 6px 10px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .9; }
.chip.v-wordpress { color: #2271b1; }
.chip.v-tp-link { color: #0f9d8a; }
.chip.v-synology { color: #6d5bd0; }
.chip.v-php { color: #5a63a8; }
.chip.v-linux { color: #b8860b; }
.chip.v-apache { color: #c2185b; }
.chip.v-nginx { color: #2e8b57; }
.chip.v-mariadb { color: #a0522d; }
.chip.v-ubiquiti { color: #1f6feb; }
:root[data-theme="dark"] .chip.v-php, :root[data-theme="dark"] .chip.v-wordpress { filter: brightness(1.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip.v-php, :root:not([data-theme="light"]) .chip.v-wordpress { filter: brightness(1.6); } }
.report-hero .chip { background: rgba(148,163,184,.12); border-color: rgba(148,163,184,.2); color: var(--hero-text); }
.report-hero .chip::before { background: var(--hero-accent); }

.pill { font: 600 11.5px/1 var(--font); padding: 5px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pill.t-crit { color: var(--crit); background: var(--crit-bg); border-color: var(--crit-bd); }
.pill.t-high { color: var(--high); background: var(--high-bg); border-color: var(--high-bd); }
.pill.t-ok { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-bd); }
.pill.t-neutral { color: var(--text-2); background: var(--surface-2); border-color: var(--border); }

.sev { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; font: 700 12px/1 var(--mono); padding: 6px 8px; border-radius: 6px; white-space: nowrap; border: 1px solid; font-variant-numeric: tabular-nums; }
.sev.s-crit { color: var(--crit); background: var(--crit-bg); border-color: var(--crit-bd); }
.sev.s-high { color: var(--high); background: var(--high-bg); border-color: var(--high-bd); }
.sev.s-med { color: var(--med); background: var(--med-bg); border-color: var(--med-bd); }
.sev.s-low { color: var(--low); background: var(--low-bg); border-color: var(--low-bd); }

a.cve { font: 500 .88em/1 var(--mono); white-space: nowrap; color: var(--accent); }

/* ---------- report page ---------- */
.report-hero { padding: 40px 0 36px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--hero-muted); margin-bottom: 20px; }
.crumbs a { color: var(--hero-muted); }
.crumbs a:hover { color: #fff; }
.report-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 24px; font-size: 14px; color: var(--hero-muted); }
.report-meta b { color: var(--hero-text); font-weight: 600; margin-right: 6px; }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; }
.kpi { background: rgba(148,163,184,.08); border: 1px solid rgba(148,163,184,.16); border-radius: 10px; padding: 14px 16px; }
.kpi dt { font-size: 12px; color: var(--hero-muted); font-weight: 550; }
.kpi dd { margin: 4px 0 0; font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi.t-crit dd { color: #fca5a5; }
.kpi.t-high dd { color: #fdba74; }

.report-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 40px; padding-bottom: 72px; }
.toc { position: relative; }
.toc-inner { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; }
.toc-title { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0 0 20px; padding: 0; border-left: 1px solid var(--border); }
.toc li a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.4; }
.toc li.d3 a { padding-left: 26px; font-size: 13px; }
.toc li a:hover { color: var(--text); text-decoration: none; }
.toc li a.is-active { color: var(--accent); border-left-color: var(--accent); font-weight: 550; }
.btn-ghost { font: 500 13px/1 var(--font); padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); cursor: pointer; width: 100%; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.report-body { min-width: 0; max-width: 820px; }
.summary { margin-bottom: 48px; }
.summary h2 { font-size: 26px; margin-bottom: 6px; }
.actions { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.action {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 22px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--border-strong);
}
.action.s-crit { border-left-color: var(--crit); }
.action.s-high { border-left-color: var(--high); }
.action.s-med { border-left-color: var(--med); }
.action-rank { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--mono); background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.action-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.action-head h3 { font-size: 17px; line-height: 1.35; padding-top: 6px; }
.action-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.action-do { font-size: 14.5px; color: var(--text-2); margin: 0 0 8px; }
.action-do b { color: var(--text); }
.action-cves { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }

/* prose */
.prose { color: var(--text-2); font-size: 16.5px; }
.prose h2 { font-size: 28px; margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 36px 0 12px; color: var(--text); }
.prose h2, .prose h3 { position: relative; }
.prose .anchor { position: absolute; left: -1.1em; color: var(--border-strong); opacity: 0; font-weight: 400; text-decoration: none; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; }
.prose strong { color: var(--text); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

.callout {
  margin: 20px 0 24px; padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-left: 4px solid var(--accent); color: var(--text);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong:first-child { color: var(--accent); text-transform: uppercase; font-size: 12.5px; letter-spacing: .08em; margin-right: 4px; }

.table-wrap { overflow-x: auto; margin: 20px 0 24px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; background: var(--surface-2); }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
td a.cve { font-size: 13px; }

/* sources list */
.prose h2#sources + ul { list-style: none; padding: 0; display: grid; gap: 2px; font-size: 14.5px; }
.prose h2#sources + ul li { padding: 8px 12px; border-radius: 6px; margin: 0; }
.prose h2#sources + ul li:nth-child(odd) { background: var(--surface-2); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); }
.pager-link { display: block; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px; }
.pager-link:hover { border-color: var(--accent); text-decoration: none; }
.pager-link small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.pager-link.right { text-align: right; }

/* CVE index */
.cve-table td:first-child { white-space: nowrap; }
.cve-table .chips { gap: 4px; }

/* footer */
.footer { border-top: 1px solid var(--border); background: var(--surface); font-size: 13px; padding: 28px 0; margin-top: 48px; }
.page-report .footer { margin-top: 0; }
.footer p { margin: 0 0 4px; color: var(--text-2); }
.footer .muted { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .report-grid { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 48px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest-card { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .latest-top { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 18px; }
  .archive-head, .filters { align-items: stretch; }
  .filters input { width: 100%; }
  .filter-chips { justify-content: flex-start; }
  .report-list { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .action-rank { width: 28px; height: 28px; font-size: 13px; }
  .action-head { flex-direction: column; gap: 8px; }
  .action-head h3 { padding-top: 0; }
  .prose .anchor { display: none; }
  .nav a[href$="feed.xml"] { display: none; }
  .brand small { display: none; }
  .brand strong { font-size: 14px; }
  .nav a { padding: 8px 8px; font-size: 13.5px; }
  .nav { gap: 0; }
  .pager { grid-template-columns: 1fr; }
}

/* ---------- print ---------- */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #f5f5f5; --text: #000; --text-2: #222; --muted: #555; --border: #ddd; }
  body { font-size: 11pt; background: #fff; }
  .topbar, .toc, .footer, .pager, .skip, .theme-toggle { display: none !important; }
  .report-hero { background: #fff !important; color: #000; border-bottom: 2px solid #000; padding: 0 0 16px; }
  .report-hero h1, .kpi dd { color: #000 !important; }
  .lede, .report-meta, .crumbs, .kpi dt { color: #333 !important; }
  .report-meta b { color: #000; }
  .kpi { border-color: #ccc; background: #fff; }
  .report-hero .chip { color: #000; border-color: #ccc; }
  .report-grid { display: block; padding: 16px 0; }
  .action, .card, .table-wrap { box-shadow: none; break-inside: avoid; }
  .prose h2 { break-after: avoid; }
  a { color: #000; }
  .prose a[href^="http"]:not(.cve)::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #555; word-break: break-all; }
}
