:root { --ink:#16202a; --muted:#5b6774; --line:#dfe3e8; --accent:#1f5fbf; --bg:#ffffff; --soft:#f5f7fa; }
* { box-sizing: border-box; }
body { margin:0; font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color:var(--ink); background:var(--bg); }
header, main, footer { max-width: 920px; margin: 0 auto; padding: 1rem 1.25rem; }
header { display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line); }
header a.brand { font-weight:700; color:var(--ink); text-decoration:none; }
h1 { font-size:1.8rem; line-height:1.25; margin:1.5rem 0 .5rem; }
p.lead { color:var(--muted); font-size:1.1rem; }
a { color:var(--accent); }
.button, button { display:inline-block; background:var(--accent); color:#fff; border:0; border-radius:6px;
  padding:.55rem 1rem; font:inherit; cursor:pointer; text-decoration:none; }
button.secondary { background:var(--soft); color:var(--ink); border:1px solid var(--line); }
table { border-collapse:collapse; width:100%; }
th, td { text-align:left; padding:.5rem; border-bottom:1px solid var(--line); }
.muted { color:var(--muted); }
footer { color:var(--muted); font-size:.9rem; border-top:1px solid var(--line); margin-top:3rem; }
form.inline { display:inline; }
nav.site a { margin-left:1rem; }
.card { border:1px solid var(--line); border-radius:8px; padding:1rem 1.25rem; margin:1rem 0; background:#fff; }
.grid3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.grid3 .card { margin:0; }
.notice { background:var(--soft); border-left:4px solid var(--accent); padding:.75rem 1rem; }
.error { background:#fdecec; border-left:4px solid #b42318; padding:.75rem 1rem; }
.ok { background:#ecf8ef; border-left:4px solid #1a7f37; padding:.75rem 1rem; }
.ghost { background:transparent; color:var(--accent); border:1px solid var(--accent); }
.stack { display:flex; flex-direction:column; gap:.75rem; max-width:520px; }
.stack label { display:flex; flex-direction:column; gap:.25rem; font-weight:600; }
input, textarea, select { font:inherit; padding:.5rem; border:1px solid var(--line); border-radius:6px; }
.big { font-size:2rem; font-weight:700; }
.mono, code, pre { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
pre, .pre { background:var(--soft); padding:.75rem; overflow-x:auto; white-space:pre-wrap; }
table.dense th, table.dense td { padding:.3rem .5rem; font-size:.95rem; }
.inline-form { display:inline; }
.exposure-high { color:#b42318; font-weight:600; }
.exposure-medium { color:#9a6700; }
.exposure-low { color:#1a7f37; }
.report h2 { border-bottom:1px solid var(--line); margin-top:2rem; }
.report .r-kicker { color:var(--accent); font-weight:700; letter-spacing:.05em; }
.report .r-meta th { color:var(--muted); padding-right:1.5rem; border:0; }
.report .r-meta td { border:0; }
.report .r-note, .report .r-small { color:var(--muted); font-size:.9rem; }
.report .r-tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:.75rem; }
.report .r-tile { border:1px solid var(--line); border-radius:8px; padding:.75rem; }
.report .r-num { display:block; font-size:1.6rem; font-weight:700; }
.report .r-warn { color:#8a4b00; }
.report .r-findings td, .report .r-findings th { vertical-align:top; font-size:.92rem; }
.report .r-findings code { word-break:break-all; }
.report .sev-high td:first-child { border-left:3px solid #b42318; }
.report .sev-medium td:first-child { border-left:3px solid #c4730a; }
.report .sev-low td:first-child, .report .sev-info td:first-child { border-left:3px solid #98a2b3; }
.report .r-pre { white-space:pre-wrap; }
.check span { font-weight:400; } .check input { margin-right:.4rem; }
.guide h2 { margin-top:2rem; }
.guide pre { font-size:.9rem; }
.guide table td, .guide table th { vertical-align:top; }
