:root {
  color-scheme: light dark;
  --bg: #f7f8fa;
  --surface: #fff;
  --ink: #17202a;
  --muted: #596575;
  --line: #d7dde5;
  --link: #0756a8;
  --accent: #8b1e2d;
  --code: #eef1f5;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #11151a; --surface: #191f26; --ink: #e8edf2; --muted: #aab5c1; --line: #35404c; --link: #8ec5ff; --accent: #ff9eaa; --code: #252d36; }
}
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); }
body { margin: 0; line-height: 1.55; }
a { color: var(--link); }
header, main, footer { max-width: 880px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
header { padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.wordmark { color: var(--ink); font-weight: 800; letter-spacing: .08em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: .94rem; }
main { padding-top: 36px; padding-bottom: 54px; }
footer { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 26px; color: var(--muted); font-size: .88rem; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-top: 0; }
h2 { margin-top: 2.2rem; border-bottom: 1px solid var(--line); padding-bottom: .35rem; }
h3 { margin-bottom: .35rem; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
code { background: var(--code); padding: .08em .3em; border-radius: 3px; }
pre { background: var(--code); padding: 14px; overflow-x: auto; border-radius: 5px; }
.lead { font-size: 1.08rem; color: var(--muted); }
.meta, .muted { color: var(--muted); }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 10px 14px; min-width: 145px; }
.stat strong { display: block; font-size: 1.35rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 8px; }
th { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.badge { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.severity-critical, .severity-high { color: #a31f2c; border-color: currentColor; }
.severity-moderate { color: #936400; border-color: currentColor; }
.severity-low { color: #28734b; border-color: currentColor; }
.status-published { color: #28734b; border-color: currentColor; }
.status-candidate { color: #936400; border-color: currentColor; }
.status-withdrawn { color: #a31f2c; border-color: currentColor; }
.filters { width: 100%; padding: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 4px; margin: 12px 0 16px; }
.advisory-head { margin-bottom: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.banner { border-left: 4px solid var(--accent); background: var(--surface); padding: 12px 14px; margin: 18px 0; }
dt { font-weight: 700; margin-top: 12px; }
dd { margin-left: 0; color: var(--muted); }
.matcher, .matcher ul { margin-top: 6px; }
.matcher-op { font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { border: 1px solid var(--link); border-radius: 4px; padding: 7px 12px; text-decoration: none; }
.jsonld { display: none; }
@media (max-width: 650px) { header { display: block; } nav { margin-top: 12px; } th:nth-child(5), td:nth-child(5) { display: none; } }
