:root{color-scheme:dark;--bg:#090e1a;--surface:#111827;--surface-alt:#162033;--surface-deep:#0b1220;--ink:#f1f5f9;--ink-muted:#cbd5e1;--border:#263449;--border-strong:#384a66;--hero-bg:#070b14;--hero-ink:#f8fafc;--hero-muted:#cbd5e1;--accent:#38bdf8;--accent-bright:#7dd3fc;--accent-soft:#0c2638;--accent-border:#0284c7;--amber:#fcd34d;--amber-soft:#261b08;--amber-border:#b45309;--lethal:#fda4af;--lethal-soft:#2a0f1a;--lethal-border:#be123c;--ok:#86efac;--ok-soft:#0c2618;--ok-border:#15803d;--radius:12px;--shadow:0 8px 24px #00000059;--max-w:1080px}*,:before,:after{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--bg);font-size:16px}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.65}img{max-width:100%;height:auto;display:block}code{color:#7dd3fc;background:#1e293b;border:1px solid #334155;border-radius:5px;padding:.08rem .38rem;font-size:.9em}.wrap{width:100%;max-width:var(--max-w);margin-inline:auto;padding-inline:1rem}.site-header{background:var(--hero-bg);color:var(--hero-ink);border-bottom:2px solid #0891b2}.header-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1.25rem;padding-block:.85rem;display:flex}.brand{color:#f8fafc;letter-spacing:-.01em;align-items:center;gap:.6rem;font-size:1.05rem;font-weight:800;text-decoration:none;display:inline-flex}.brand img{border-radius:6px;width:30px;height:30px}.brand-badge{color:#090e1a;background:#f59e0b;border-radius:999px;padding:.14rem .5rem;font-size:.72rem;font-weight:800}.site-nav{flex-wrap:wrap;gap:.35rem .5rem;display:flex}.site-nav a{color:#e2e8f0;border:1px solid #0000;border-radius:8px;padding:.35rem .68rem;font-size:.92rem;font-weight:600;text-decoration:none}.site-nav a:hover,.site-nav a:focus-visible{color:#fff;background:#38bdf824;border-color:#38bdf859;text-decoration:underline}.site-nav a[aria-current=page]{color:#06131f;background:#06b6d4;font-weight:700}main{padding-block:1.5rem 3rem}main p{max-width:68ch;color:var(--ink);margin-block:0 1rem;font-size:1.04rem;line-height:1.68}main li{max-width:66ch;color:var(--ink);margin-bottom:.45rem;font-size:1.02rem;line-height:1.62}main a{color:var(--accent);text-underline-offset:2px;font-weight:600;text-decoration:underline}main a:hover,main a:focus-visible{color:var(--accent-bright)}h1{letter-spacing:-.02em;color:#fff;margin:0 0 .75rem;font-size:clamp(1.65rem,3.2vw,2.35rem);line-height:1.2}h2{border-bottom:1px solid var(--border-strong);color:#f8fafc;margin:2.1rem 0 .75rem;padding-bottom:.38rem;font-size:clamp(1.3rem,2.2vw,1.65rem);line-height:1.28}h3{color:#f8fafc;margin:1.35rem 0 .45rem;font-size:1.12rem;line-height:1.35}.breadcrumb{color:var(--ink-muted);flex-wrap:wrap;gap:.4rem;margin-bottom:.9rem;font-size:.88rem;display:flex}.breadcrumb a{color:var(--accent)}.lead-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:1.5rem;padding:1.3rem}.hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:1.25rem;display:grid}@media (width<=820px){.hero-grid{grid-template-columns:1fr}}.hero-media{background:var(--surface-deep);border:1px solid var(--border-strong);border-radius:10px;margin:0;overflow:hidden}.hero-media img{aspect-ratio:16/9;object-fit:cover;width:100%}.hero-media figcaption{color:var(--ink-muted);background:var(--surface-deep);padding:.55rem .75rem;font-size:.84rem;line-height:1.45}.hero-media figcaption a{color:var(--accent-bright)}.eyebrow{text-transform:uppercase;letter-spacing:.04em;color:#7dd3fc;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:999px;align-items:center;gap:.4rem;margin-bottom:.65rem;padding:.2rem .62rem;font-size:.78rem;font-weight:700;display:inline-flex}.meta-strip{color:var(--ink-muted);flex-wrap:wrap;gap:.5rem 1rem;margin-top:.75rem;font-size:.88rem;display:flex}.toc-box{background:var(--surface-alt);border:1px solid var(--border);border-radius:10px;margin:1rem 0 1.5rem;padding:.9rem 1rem}.toc-title{text-transform:uppercase;letter-spacing:.05em;color:var(--ink-muted);margin-bottom:.45rem;font-size:.82rem;font-weight:800}.toc-links{flex-wrap:wrap;gap:.45rem 1.05rem;margin:0;padding:0;list-style:none;display:flex}.toc-links li{margin:0;font-size:.94rem}.card-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-block:1rem 1.5rem;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:.55rem;padding:1.15rem;display:flex}.card-top{align-items:center;gap:.75rem;display:flex}.thumb-square{background:var(--surface-deep);border:1px solid var(--border-strong);object-fit:contain;border-radius:10px;flex-shrink:0;width:64px;height:64px;padding:4px}.card h3{margin:0;font-size:1.08rem}.card p{color:var(--ink-muted);margin:0;font-size:.96rem}.card-cta{margin-top:auto;padding-top:.4rem;font-size:.94rem}.tag{vertical-align:middle;border-radius:6px;padding:.14rem .5rem;font-size:.74rem;font-weight:700;display:inline-block}.tag-lethal{background:var(--lethal-soft);color:var(--lethal);border:1px solid var(--lethal-border)}.tag-amber{background:var(--amber-soft);color:var(--amber);border:1px solid var(--amber-border)}.tag-cyan{background:var(--accent-soft);color:#7dd3fc;border:1px solid var(--accent-border)}.tag-ok{background:var(--ok-soft);color:var(--ok);border:1px solid var(--ok-border)}.callout{border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;margin-block:1rem 1.25rem;padding:1rem 1.15rem}.callout-warn{background:var(--amber-soft);border-color:var(--amber-border)}.callout-lethal{background:var(--lethal-soft);border-color:var(--lethal-border)}.callout-info{background:var(--accent-soft);border-color:var(--accent-border)}.callout p:last-child{margin-bottom:0}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:10px;width:100%;margin-block:1rem 1.4rem;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.95rem}#cards-table{min-width:680px}th,td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;color:var(--ink);padding:.68rem .85rem}th{background:var(--surface-alt);color:#f8fafc;font-weight:700}tr:last-child td{border-bottom:none}.portrait-pair{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-block:1rem 1.4rem;display:grid}.portrait-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin:0;overflow:hidden}.portrait-stage{background:var(--surface-deep);border-bottom:1px solid var(--border);justify-content:center;align-items:center;min-height:185px;padding:1rem;display:flex}.portrait-stage img{object-fit:contain;width:auto;max-height:170px}.portrait-box figcaption{color:var(--ink-muted);padding:.7rem .85rem;font-size:.88rem}.evidence-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem;margin-block:1rem 1.4rem;display:grid}.evidence-figure{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;align-items:center;gap:.55rem;margin:0;padding:.8rem;display:flex}.evidence-figure img{max-width:min(100%, calc(var(--nat-w,395px) / var(--dpr,1)));border-radius:6px}.evidence-figure figcaption{color:var(--ink-muted);text-align:center;font-size:.85rem}.planner-box{background:var(--surface);border:1px solid var(--accent-border);border-radius:var(--radius);box-shadow:var(--shadow);margin-block:1.25rem 1.75rem;padding:1.25rem}.planner-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.9rem;margin-bottom:1rem;display:grid}.field label{color:#f8fafc;margin-bottom:.3rem;font-size:.9rem;font-weight:700;display:block}.field input,.field select{border:1px solid var(--border-strong);color:#f8fafc;background:var(--surface-deep);border-radius:8px;width:100%;padding:.55rem .72rem;font-size:1rem}.field input:focus,.field select:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}.planner-output{background:var(--surface-alt);border:1px solid var(--border);border-radius:10px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem;padding:.9rem;display:grid}.stat-tile{background:var(--surface-deep);border:1px solid var(--border-strong);border-radius:8px;padding:.72rem .85rem}.stat-label{color:var(--ink-muted);text-transform:uppercase;letter-spacing:.03em;font-size:.78rem;font-weight:700}.stat-val{color:#7dd3fc;margin-top:.15rem;font-size:1.35rem;font-weight:800}.planner-note{color:var(--ink-muted);margin-top:.75rem;margin-bottom:0;font-size:.92rem}.filter-bar{flex-wrap:wrap;gap:.45rem;margin-block:.75rem 1rem;display:flex}.filter-btn{border:1px solid var(--border-strong);background:var(--surface-deep);color:var(--ink);cursor:pointer;border-radius:999px;padding:.4rem .8rem;font-size:.86rem;font-weight:700}.filter-btn:hover,.filter-btn:focus-visible{border-color:var(--accent);color:#fff}.filter-btn[aria-pressed=true]{color:#06131f;background:#06b6d4;border-color:#22d3ee}.related-box{background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius);margin-top:2.25rem;padding:1.15rem}.related-box h2{border-bottom:none;margin-top:0;padding-bottom:0;font-size:1.15rem}.related-links{flex-wrap:wrap;gap:.55rem 1.05rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.site-footer{background:var(--hero-bg);color:var(--hero-muted);border-top:1px solid var(--border);padding-block:1.75rem;font-size:.9rem}.footer-inner{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.footer-links{flex-wrap:wrap;gap:.65rem 1.1rem;display:flex}.site-footer a{color:var(--accent-bright);text-decoration:underline}.site-footer p{max-width:65ch;color:var(--ink-muted);margin:.35rem 0 0;font-size:.86rem}
