
:root{--bg:#0a0e1a;--surface:#111827;--surface2:#1a2332;--surface-hover:#1e293b;--text:#e2e8f0;--text-secondary:#b0c0d0;--text-muted:#8a9cb6;--text-dim:#64748b;--border:rgba(255,255,255,0.06);--border-light:rgba(255,255,255,0.1);--accent:#8b7ae6;--accent-glow:rgba(139,122,230,.08);--accent-bg:rgba(139,122,230,.1);--vuln:#f43f5e;--geo:#8b5cf6;--crime:#f59e0b;--iot:#10b981;--govt:#3b82f6;--green:#22c55e;--amber:#f59e0b;--red:#ef4444;--purple:#14b8a6;--nav-blur:rgba(10,14,26,.88);--kicker-color:#b3a2f7;--kicker-bg:rgba(139,122,230,.08);--kicker-border:rgba(139,122,230,.2)}
[data-theme="light"]{--bg:#ffffff;--surface:#fafafa;--surface2:#f3f4f5;--surface-hover:#ebebeb;--text:#171717;--text-secondary:#4d4d4d;--text-muted:#666666;--text-dim:#808080;--border:rgba(0,0,0,0.06);--border-light:rgba(0,0,0,0.1);--accent:#5b46c4;--accent-glow:rgba(91,70,196,.06);--accent-bg:#f1ecfb;--vuln:#f43f5e;--geo:#8b5cf6;--crime:#f59e0b;--iot:#10b981;--govt:#3b82f6;--green:#22c55e;--amber:#f59e0b;--red:#ef4444;--purple:#14b8a6;--nav-blur:rgba(255,255,255,.88);--kicker-color:#5b46c4;--kicker-bg:#f1ecfb;--kicker-border:rgba(91,70,196,.2)}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:Inter,-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.65;min-height:100vh;transition:background .25s,color .25s}
.skip-link{position:absolute;left:-9999px;top:0;z-index:2000;background:var(--accent);color:#fff;padding:8px 14px;border-radius:0 0 8px 0;font-size:13px;font-weight:600}
.skip-link:focus{left:0}
#progress{position:fixed;top:0;left:0;height:3px;background:linear-gradient(90deg,var(--accent),var(--purple));z-index:10000;width:0%;transition:width .15s}
/* Top nav */
.topnav{position:sticky;top:0;z-index:9999;background:var(--nav-blur);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform;transition:background .25s,border .25s}
.topnav .inner{max-width:1100px;margin:0 auto;padding:0 24px;display:flex;align-items:center;height:56px;gap:8px}
.brand{font-size:16px;font-weight:700;color:var(--text);display:flex;align-items:center;gap:8px;letter-spacing:-.3px}
.brand .dot{width:10px;height:10px;border-radius:50%;background:var(--accent);flex-shrink:0;transition:background .25s}
.brand small{font-size:10px;color:var(--text-dim);font-weight:400;letter-spacing:1px;text-transform:uppercase}
.navlinks{display:flex;gap:2px;margin-left:auto;align-items:center}
.navlinks a{color:var(--text-muted);font-size:13px;font-weight:500;padding:6px 12px;border-radius:6px;transition:all .12s}
.navlinks a:hover{color:var(--text);background:var(--surface2);text-decoration:none}
.navlinks a.active{color:var(--text);background:var(--surface-hover);font-weight:600}
.theme-toggle{display:flex;align-items:center;justify-content:center;margin-left:8px;width:34px;height:34px;border-radius:8px;background:var(--surface2);cursor:pointer;border:1px solid var(--border);transition:all .25s;user-select:none;flex-shrink:0;font-size:16px}
.theme-toggle:hover{background:var(--surface-hover);border-color:var(--border-light)}
/* Icon driven by the appearance mode (auto / light / dark) */
.theme-toggle .tt-auto,.theme-toggle .tt-light{display:none}
.theme-toggle .tt-dark{display:inline}
html[data-theme-mode="auto"] .theme-toggle .tt-dark{display:none}
html[data-theme-mode="auto"] .theme-toggle .tt-auto{display:inline}
html[data-theme-mode="light"] .theme-toggle .tt-dark{display:none}
html[data-theme-mode="light"] .theme-toggle .tt-light{display:inline}
.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* Layout */
.wrap{max-width:1100px;margin:auto;padding:0 28px 60px;display:flex;gap:32px;position:relative;z-index:1}
#toc{position:sticky;top:80px;width:210px;flex-shrink:0;height:fit-content;max-height:calc(100vh - 100px);overflow-y:auto;padding:18px 14px;background:var(--surface);border:1px solid var(--border);border-radius:10px;font-size:12px;transition:background .25s,border .25s}
#toc .toc-title{color:var(--accent);font-size:10px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:10px}
/* Rail collapse toggle — mobile only (hidden here, shown in the <=860px query
   where the rail goes position:static and would otherwise sit between the
   reader and the digest). */
#toc-toggle{display:none}
#toc a{display:flex;align-items:flex-start;gap:7px;color:var(--text-muted);text-decoration:none;padding:3px 8px;border-radius:6px;margin-bottom:2px;transition:all .2s;border-left:2px solid transparent;font-size:12px}
#toc a:hover{color:var(--text);background:var(--accent-bg)}
#toc a.active{color:var(--accent);border-left-color:var(--accent);background:var(--accent-bg)}
#toc a .sicon{display:inline-flex;width:15px;height:15px;flex-shrink:0;color:currentColor;margin-top:1px}
#toc a .sicon svg{width:100%;height:100%}
/* flex-start (not center) so the icon and count badge stay on the FIRST line of
   a wrapped label — e.g. "Retail & Entertainment & Sport" is 3 lines at the
   panel's 210px width, and centring left the badge beside the middle line. */
#toc a .tlabel{flex:1;min-width:0;line-height:1.35}
#toc a .tcount{flex-shrink:0;font-size:10px;line-height:1.6;font-variant-numeric:tabular-nums;color:var(--text-dim);background:var(--surface2);border:1px solid var(--border);border-radius:99px;padding:0 6px;transition:color .2s,border-color .2s}
#toc a:hover .tcount{color:var(--text)}
#toc a.active .tcount{color:var(--accent);border-color:var(--accent)}
/* Nested per-story links: the lead TOC_SUB_LIMIT stories of any sector with
   more than one story. data-story (not data-section) keeps the sector
   scrollspy off them — they are jump targets, not position markers. */
#toc a.tsub{padding:2px 8px 2px 28px;font-size:11px;color:var(--text-dim);gap:6px;margin-bottom:1px}
#toc a.tsub .tsub-n{flex-shrink:0;font-size:9.5px;font-variant-numeric:tabular-nums;color:var(--text-dim);opacity:.8;min-width:9px;text-align:right}
#toc a.tsub .tsub-label{flex:1;min-width:0;line-height:1.3;max-height:2.6em;overflow:hidden}
#toc a.tsub:hover .tsub-label{color:var(--text)}
.main{flex:1;min-width:0}
/* Header / Hero */
.hero{position:relative;overflow:hidden;padding:44px 36px 30px;text-align:center;border:1px solid var(--border);border-radius:16px;background:linear-gradient(160deg,var(--surface) 0%,var(--surface2) 55%,var(--surface) 100%);margin-bottom:28px}
.hero-grid{position:absolute;inset:0;background-image:linear-gradient(var(--border-light) 1px,transparent 1px),linear-gradient(90deg,var(--border-light) 1px,transparent 1px);background-size:44px 44px;opacity:.35;-webkit-mask-image:radial-gradient(ellipse at center top,#000 20%,transparent 72%);mask-image:radial-gradient(ellipse at center top,#000 20%,transparent 72%);pointer-events:none}
.hero>*:not(.hero-grid){position:relative;z-index:1}
.hero .kicker{font-family:'JetBrains Mono',monospace;font-size:11px;font-weight:500;letter-spacing:1px;color:var(--kicker-color);margin-bottom:14px;padding:5px 16px;border-radius:6px;display:inline-block;background:var(--kicker-bg);border:1px solid var(--kicker-border)}
.hero-date{font-family:'JetBrains Mono',monospace;font-size:clamp(1.7rem,4.5vw,2.5rem);font-weight:800;letter-spacing:-.02em;line-height:1.15;background:linear-gradient(120deg,var(--text) 55%,var(--accent));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;margin-bottom:6px}
.hero-date .sep{margin:0 12px;opacity:.45;font-weight:400}
.hero .hero-brand{font-size:.95rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--text-muted);margin-bottom:8px}
.hero .subtitle{color:var(--text-secondary);font-size:13.5px;margin-bottom:18px}
.hero-chips{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;padding:5px 13px;border-radius:999px;border:1px solid var(--border);background:var(--surface2);color:var(--text-secondary);font-family:'JetBrains Mono',monospace}
.chip-accent{border-color:rgba(139,122,230,.35);color:var(--accent);background:var(--accent-bg)}
[data-theme="light"] .chip-accent{border-color:rgba(91,70,196,.35)}
.chip-guard i{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 8px rgba(34,197,94,.6);display:inline-block}
.chip-au{border-color:rgba(59,130,246,.3)}
/* Sections */
.section{margin-bottom:28px;scroll-margin-top:80px}
.section h2{font-size:1.15rem;font-weight:600;color:var(--text);margin-bottom:14px;border-bottom:1px solid var(--border);padding-bottom:10px;display:flex;align-items:center;gap:10px}
.section h2 .icon{display:inline-flex;width:19px;height:19px;line-height:1;color:var(--accent)}
.section h2 .icon svg{width:100%;height:100%}
.section h2 .count{margin-left:auto;background:var(--surface2);color:var(--text-muted);padding:2px 10px;border-radius:100px;font-size:11px;font-weight:600;white-space:nowrap}
/* Exec summary */
.exec-summary{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:28px 30px;margin-bottom:28px;position:relative;overflow:hidden;transition:background .25s,border .25s}
.exec-summary::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--accent),var(--vuln),var(--purple))}
.exec-summary h2{font-size:11px;text-transform:uppercase;letter-spacing:.15em;color:var(--accent);font-weight:700;margin-bottom:14px;border:none;padding:0;display:flex;align-items:center;gap:8px}
.exec-summary h2 .icon svg{width:16px;height:16px}
.exec-summary p{color:var(--text-muted);font-size:14px;line-height:1.7;margin-bottom:14px}
.exec-summary p:last-child{margin-bottom:0}
.exec-summary p strong{color:var(--text);font-weight:600}
/* Executive Summary threads (monthly: card-ified 10 threads + mini-TOC + stats) */
.exec-stats{margin-bottom:18px}
.exec-stats .stat-card{min-width:110px}
.exec-mini-toc{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 20px;padding:12px 16px;background:var(--surface2);border:1px solid var(--border);border-radius:10px}
.exec-mini-label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);font-weight:700;margin:0 6px 0 0}
.exec-toc-link{font-size:12px;color:var(--accent);text-decoration:none;background:var(--surface);border:1px solid var(--border);padding:4px 11px;border-radius:100px;transition:background .2s,border-color .2s,color .2s;line-height:1.4}
.exec-toc-link:hover,.exec-toc-link:focus{background:var(--accent);color:#fff;border-color:var(--accent)}
.exec-toc-link.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.exec-thread{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px 22px;margin-bottom:14px;scroll-margin-top:90px}
.exec-thread.section-box{padding:20px 24px}
.exec-thread-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}
.exec-thread-head h3{font-size:1.04rem;font-weight:600;color:var(--text);margin:0;line-height:1.35}
.exec-toggle{flex-shrink:0;background:var(--surface2);border:1px solid var(--border);color:var(--text-muted);font-size:11.5px;font-weight:600;padding:4px 13px;border-radius:100px;cursor:pointer;transition:background .2s,color .2s,border-color .2s;font-family:inherit}
.exec-toggle:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.exec-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.exec-body{font-size:14px;color:var(--text-muted);line-height:1.7}
.exec-body p{margin-bottom:12px}
.exec-body p:last-child{margin-bottom:0}
.exec-preview{font-size:14px;color:var(--text-muted);line-height:1.7}
.exec-preview p{margin:0}
.exec-note{background:var(--surface2);border:1px dashed var(--border);border-radius:10px;padding:14px 18px;margin-top:4px}
.exec-note p{color:var(--text-muted);font-size:12.5px;line-height:1.6;margin:0}
.exec-sources{margin:16px 0 0;padding:10px 14px;background:var(--surface2);border:1px solid var(--border);border-radius:10px}
.exec-sources .exec-sources-label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);font-weight:700}
.exec-sources ul{margin:6px 0 0;padding-left:18px}
.exec-sources li{font-size:12.5px;line-height:1.5;color:var(--text);margin-bottom:4px}
.exec-sources li a{color:var(--accent);text-decoration:none;word-break:break-word}
.exec-sources li a:hover,.exec-sources li a:focus{text-decoration:underline}
@media print{.exec-sources{break-inside:avoid;color:#111!important;border-color:#ddd!important}}
/* AU context */
.au-context-box{background:linear-gradient(135deg,rgba(139,122,230,.06),rgba(59,130,246,.06));border:1px solid rgba(139,122,230,.15);border-radius:10px;padding:18px 22px;margin:14px 0;position:relative}
.au-context-box::before{content:'AU';position:absolute;top:-8px;right:14px;background:var(--accent);color:#fff;font-size:10px;font-weight:800;padding:1px 7px;border-radius:4px;letter-spacing:.05em}
.au-context-box p{color:var(--text-muted);font-size:13px;line-height:1.65}
/* Stats */
.stats-row{display:flex;gap:10px;margin-bottom:28px;flex-wrap:wrap;justify-content:center}
.stat-card{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px 20px;text-align:center;font-size:13px;color:var(--text-muted);min-width:130px;overflow:hidden;transition:border-color .2s,transform .2s,background .25s}
.stat-card::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--sc,var(--accent))}
.stat-card:hover{transform:translateY(-2px);border-color:var(--sc,var(--accent))}
.stat-card .stat-num{font-weight:800;color:var(--text);font-size:20px;font-feature-settings:'tnum';line-height:1.2}
.stat-card .stat-label{font-size:10.5px;color:var(--text-dim);text-transform:uppercase;letter-spacing:.06em;margin-top:2px}
.stat-geo{--sc:#8b7ae6}.stat-govt{--sc:#3b82f6}.stat-crime{--sc:#f59e0b}.stat-iot{--sc:#10b981}.stat-vuln{--sc:#f43f5e}
[data-theme="light"] .stat-geo{--sc:#5b46c4}
/* Monthly reader-first blocks (At a Glance + Month at a Glance) */
.glance-box{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:12px;padding:20px 24px;margin-bottom:28px}
.glance-box ul{margin:0;padding-left:20px;display:grid;gap:8px}
.glance-box li{font-size:14px;line-height:1.55;color:var(--text-muted)}
.glance-box li strong{color:var(--text);font-weight:600}
/* The executive summary's lead-in: the month's thesis line above its takeaway
   bullets, in the same callout card the old standalone 'At a Glance' section
   used. The exec summary is the page's only summary block (2026-09-24). */
.exec-lead>p{margin:0 0 12px;font-size:14.5px;line-height:1.6;color:var(--text)}
.section-box{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px 24px;margin-bottom:28px}
.month-glance{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px 24px;margin-bottom:28px}
.month-glance .stats-row{margin-bottom:0}
.mg-headline{color:var(--text-muted);font-size:14px;line-height:1.6;margin:14px 0 0}
.mg-headline strong{color:var(--text);font-weight:600}
/* Month at a Glance — computed cockpit panel (variant A, 2026-09-22).
   Every figure is DB-computed at build time (see scripts/glance_cockpit.py). */
.glance-cockpit .mgv-cover{display:flex;align-items:center;gap:9px;font-size:11.5px;color:var(--text-muted);background:var(--surface2);border:1px solid var(--border);border-radius:8px;padding:7px 12px;margin:0 0 16px}
.glance-cockpit .mgv-cover b{color:var(--text);font-weight:600}
.glance-cockpit .mgv-dot{width:7px;height:7px;border-radius:50%;background:var(--amber);box-shadow:0 0 0 3px rgba(245,158,11,.16);flex:none}
.glance-cockpit .mgv-dim{color:var(--text-dim)}
.glance-cockpit .mgv-hero{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.4fr);gap:22px;align-items:end;padding:0 0 18px;border-bottom:1px solid var(--border);margin-bottom:18px}
.glance-cockpit .mgv-hero-num{font-size:60px;font-weight:800;letter-spacing:-.035em;line-height:.95;color:var(--text);font-feature-settings:'tnum'}
.glance-cockpit .mgv-hero-lbl{font-size:13px;color:var(--text-muted);margin-top:6px;max-width:24ch}
.glance-cockpit .mgv-hero-sub{font-size:11.5px;color:var(--text-dim);margin-top:3px}
.glance-cockpit .mgv-hero-chips{margin-top:11px;display:flex;gap:7px;flex-wrap:wrap}
.glance-cockpit .mgv-chip{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px;background:rgba(148,163,184,.12);border:1px solid var(--border-light);color:var(--text-muted);white-space:nowrap;letter-spacing:.02em}
.glance-cockpit .mgv-chip.up{color:#ff8a95;border-color:rgba(244,63,94,.34);background:rgba(244,63,94,.12)}
.glance-cockpit .mgv-chip.down{color:#5ddc8a;border-color:rgba(34,197,94,.32);background:rgba(34,197,94,.12)}
.glance-cockpit .mgv-strip-lbl{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);font-weight:700;margin-bottom:7px}
.glance-cockpit .mgv-strip{display:flex;align-items:flex-end;gap:3px;height:76px}
.glance-cockpit .mgv-day{flex:1;background:linear-gradient(180deg,var(--accent),rgba(139,122,230,.25));border-radius:2px 2px 0 0;min-height:3px}
.glance-cockpit .mgv-day.hot{background:linear-gradient(180deg,var(--vuln),rgba(244,63,94,.28))}
.glance-cockpit .mgv-strip-scale{display:flex;justify-content:space-between;font-size:10px;color:var(--text-dim);margin-top:5px}
.glance-cockpit .mgv-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:12px}
.glance-cockpit .mgv-kpi{position:relative;overflow:hidden;background:var(--surface2);border:1px solid var(--border);border-radius:11px;padding:13px 14px;display:flex;flex-direction:column;gap:5px}
.glance-cockpit .mgv-kpi::after{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--c,var(--accent));opacity:.85}
.glance-cockpit .mgv-kpi-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.glance-cockpit .mgv-kpi-lbl{font-size:10.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);font-weight:700}
.glance-cockpit .mgv-kpi-num{font-size:31px;font-weight:800;letter-spacing:-.03em;line-height:1.05;color:var(--text);font-feature-settings:'tnum'}
.glance-cockpit .mgv-kpi-num.long{font-size:20px;letter-spacing:-.01em}
.glance-cockpit .mgv-kpi-num.text{font-size:14.5px;font-weight:600;letter-spacing:0;line-height:1.4}
.glance-cockpit .mgv-kpi-den{font-size:11.5px;color:var(--text-muted)}
.glance-cockpit .mgv-bar{position:relative;height:5px;background:rgba(148,163,184,.16);border-radius:99px;margin-top:2px}
.glance-cockpit .mgv-bar i{position:absolute;inset:0 auto 0 0;border-radius:99px;background:var(--c,var(--accent));opacity:.9}
.glance-cockpit .mgv-bar u{position:absolute;top:-3px;width:2px;height:11px;background:var(--text-muted);border-radius:1px}
.glance-cockpit .mgv-base{font-size:10.5px;color:var(--text-dim);line-height:1.45}
.glance-cockpit .mgv-wide{display:grid;grid-template-columns:repeat(auto-fit,minmax(256px,1fr));gap:12px;margin-top:12px}
.glance-cockpit .mgv-tile{background:var(--surface2);border:1px solid var(--border);border-radius:11px;padding:13px 14px}
.glance-cockpit .mgv-tile-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.glance-cockpit .mgv-tile-lbl{font-size:10.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);font-weight:700}
.glance-cockpit .mgv-tile-val{font-size:13.5px;font-weight:700;color:var(--text);display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}
.glance-cockpit .mgv-tile-val b{font-size:19px;letter-spacing:-.02em}
.glance-cockpit .mgv-ranks{margin-top:9px;display:grid;gap:5px}
.glance-cockpit .mgv-rank{display:grid;grid-template-columns:104px 1fr 72px;gap:8px;align-items:center;font-size:11px;color:var(--text-muted)}
.glance-cockpit .mgv-rank-t{height:6px;background:rgba(148,163,184,.16);border-radius:99px;overflow:hidden}
.glance-cockpit .mgv-rank-t i{display:block;height:100%;background:var(--accent);opacity:.75;border-radius:99px}
.glance-cockpit .mgv-rank:first-child .mgv-rank-t i{opacity:1}
.glance-cockpit .mgv-rank-n{text-align:right;color:var(--text-dim);font-size:10.5px;white-space:nowrap}
.glance-cockpit .mgv-note{margin-top:15px;padding-top:12px;border-top:1px dashed var(--border);font-size:11px;color:var(--text-dim)}
@media (max-width:720px){
  .glance-cockpit .mgv-hero{grid-template-columns:1fr;gap:16px}
  .glance-cockpit .mgv-hero-num{font-size:46px}
  .glance-cockpit .mgv-rank{grid-template-columns:88px 1fr 64px}
}
/* Severity scan heat-strip (monthly) */
.severity-scan{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px 24px;margin-bottom:28px;transition:background .25s,border .25s}
.severity-scan .ss-note{color:var(--text-dim);font-size:11.5px;margin:0 0 14px}
.ss-grid{display:grid;grid-template-columns:repeat(31,1fr);gap:3px}
.ss-cell{height:52px;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:4px;font-variant-numeric:tabular-nums;border:1px solid transparent;transition:transform .1s;position:relative}
.ss-cell b{font-size:11px;font-weight:800;color:var(--text-dim);line-height:1}
.ss-cell i{font-style:normal;font-size:8.5px;font-weight:600;opacity:.78;line-height:1.2;margin-top:2px}
.ss-cell:hover{outline:2px solid var(--accent);outline-offset:-1px;cursor:help;transform:scale(1.04)}
.ss-cell[data-tip]:hover::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#0f172a;color:#f1f5f9;border:1px solid #1e293b;border-radius:5px;padding:4px 8px;font-size:10.5px;font-weight:600;white-space:nowrap;line-height:1.3;z-index:30;box-shadow:0 4px 12px rgba(0,0,0,.35)}
/* Severity-scan keyboard/touch access: the tooltip must not be hover-only */
.ss-cell:focus{outline:none}
.ss-cell:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ss-cell[data-tip]:focus::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#0f172a;color:#f1f5f9;border:1px solid #1e293b;border-radius:5px;padding:4px 8px;font-size:10.5px;font-weight:600;white-space:nowrap;line-height:1.3;z-index:30;box-shadow:0 4px 12px rgba(0,0,0,.35)}
/* Section-level denominator/context note */
.section-note{font-size:12px;color:var(--text-muted);line-height:1.55;margin:0 0 16px;max-width:78ch}
.section-note b{color:var(--text-secondary)}
/* Collapsed fact-check verification log */
.fc-details>summary{cursor:pointer;font-size:12px;font-weight:700;color:var(--accent);list-style:none;display:inline-block;padding:2px 0}
.fc-details>summary::-webkit-details-marker{display:none}
.fc-details>summary::before{content:"▸ ";font-size:11px}
.fc-details[open]>summary::before{content:"▾ "}
.fc-detail-list{margin:8px 0 0;padding-left:18px}
.fc-detail-list li{margin-bottom:8px;font-size:12px;line-height:1.6;color:var(--text-secondary)}
.factcheck-notes{margin-top:14px}
@media(max-width:640px){.ss-cell[data-tip]:hover::after{left:auto;right:0;transform:none;white-space:normal;max-width:200px}}
.ss-cell.crit{background:linear-gradient(180deg,rgba(244,63,94,.35),rgba(244,63,94,.78));color:#fff}
.ss-cell.sev{background:linear-gradient(180deg,rgba(245,158,11,.3),rgba(245,158,11,.72));color:#fff}
.ss-cell.elev{background:linear-gradient(180deg,rgba(14,165,233,.3),rgba(14,165,233,.68));color:#fff}
.ss-cell.guard{background:linear-gradient(180deg,rgba(100,116,139,.24),rgba(100,116,139,.5));color:#e2e8f0}
/* Share-of-Critical shading — severity scan re-encode 2026-09-14. Replaces the
   worst-band colour, which saturated to all-red whenever every day held one
   Critical story. s0 = 0% Critical, s5 = 50%+. */
.ss-cell.s0{background:linear-gradient(180deg,rgba(100,116,139,.2),rgba(100,116,139,.42));color:#e2e8f0}
.ss-cell.s1{background:linear-gradient(180deg,rgba(244,63,94,.12),rgba(244,63,94,.22));color:#fecdd3}
.ss-cell.s2{background:linear-gradient(180deg,rgba(244,63,94,.23),rgba(244,63,94,.42));color:#fff}
.ss-cell.s3{background:linear-gradient(180deg,rgba(244,63,94,.34),rgba(244,63,94,.62));color:#fff}
.ss-cell.s4{background:linear-gradient(180deg,rgba(244,63,94,.44),rgba(244,63,94,.8));color:#fff}
.ss-cell.s5{background:linear-gradient(180deg,rgba(244,63,94,.52),rgba(244,63,94,.95));color:#fff}
.ss-cell u{text-decoration:none;font-style:normal;font-size:9px;font-weight:800;line-height:1.2;margin-top:1px;opacity:.95}
.ss-cell.s3 b,.ss-cell.s4 b,.ss-cell.s5 b{color:rgba(255,255,255,.85)}
/* Confidence ledger — appendix section (moved from the top block 2026-09-14).
   Was three long bullets in one box (a wall of text); now one status row each:
   a coloured spine + monospace chip in the left column, prose in the right. */
.conf-ledger .conf-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;
  align-items:start;padding:15px 17px;margin:10px 0;border-radius:12px;
  background:var(--surface);border:1px solid var(--border-light);
  border-left:3px solid var(--border-light)}
.conf-ledger .conf-row.ok{border-left-color:var(--green)}
.conf-ledger .conf-row.warn{border-left-color:var(--amber)}
.conf-ledger .conf-row.bad{border-left-color:var(--red)}
.conf-ledger .conf-row.loose{border-left-color:var(--text-dim)}
.conf-chip{display:flex;flex-direction:column;gap:5px}
.conf-icon{font-size:15px;line-height:1}
.conf-label{font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:800;
  letter-spacing:.07em;text-transform:uppercase;color:var(--text-dim)}
.conf-ledger .conf-row.ok .conf-label{color:var(--green)}
.conf-ledger .conf-row.warn .conf-label{color:var(--amber)}
.conf-ledger .conf-row.bad .conf-label{color:var(--red)}
.conf-note{font-size:11.5px;line-height:1.45;color:var(--text-dim)}
.conf-text p{margin:0}
.conf-text p+p{margin-top:.6em}
.conf-trailer{margin:16px 0 0;padding-top:12px;border-top:1px dashed var(--border-light);
  font-size:11.5px;line-height:1.55;font-style:italic;color:var(--text-muted)}
.conf-trailer p{margin:0}
/* One-line confidence note above the executive summary (skim-protection for the
   ledger, which now lives in the appendix). */
.conf-line{margin:14px 0 18px;padding:9px 14px;border-radius:10px;
  background:var(--surface2,var(--surface));border:1px solid var(--border-light);
  font-size:12.5px;line-height:1.5;color:var(--text-muted)}
.conf-line-tag{font-family:'JetBrains Mono',monospace;font-size:10.5px;font-weight:800;
  letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-right:9px}
.conf-line a{color:var(--accent);text-decoration:none}
.conf-line a:hover{text-decoration:underline}
@media(max-width:760px){.conf-ledger .conf-row{grid-template-columns:1fr;gap:8px}}
.ss-cell.gap{background:repeating-linear-gradient(45deg,rgba(120,140,180,.1) 0 4px,transparent 4px 8px);color:var(--text-dim);font-style:italic;border:1px dashed var(--border-light)}
.ss-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;font-size:10.5px;color:var(--text-dim)}
.ss-lg{display:flex;align-items:center;gap:5px}
.ss-lg i{width:10px;height:10px;border-radius:3px;display:inline-block}
.ss-defs{margin-top:8px;font-size:11px;line-height:1.6;color:var(--text-dim);max-width:64em}
.ss-defs b{font-weight:600}
@media(max-width:640px){.ss-grid{grid-template-columns:repeat(16,1fr)}.ss-cell{height:38px}}
/* Bar charts */
.bar-chart{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:18px;margin-bottom:18px;transition:background .25s,border .25s}
.bar-chart h3{font-size:13px;font-weight:600;color:var(--text);margin-bottom:12px}
.bar-row{display:flex;align-items:center;margin-bottom:6px;gap:8px}
.bar-row .bar-label{font-size:12px;color:var(--text-muted);width:130px;flex-shrink:0;text-align:right}
.bar-row .bar-track{flex:1;height:16px;background:var(--surface2);border-radius:99px;overflow:hidden}
.bar-row .bar-fill{height:100%;border-radius:99px;transition:width .6s ease;min-width:4px}
.bar-row .bar-val{font-size:11px;font-weight:600;color:var(--text);width:36px;flex-shrink:0;font-family:'JetBrains Mono',monospace}
.bar-cyan .bar-fill{background:linear-gradient(90deg,var(--accent),#7c66dd)}
.bar-purple .bar-fill{background:linear-gradient(90deg,var(--purple),#a78bfa)}
.bar-amber .bar-fill{background:linear-gradient(90deg,var(--amber),#fbbf24)}
.bar-red .bar-fill{background:linear-gradient(90deg,var(--vuln),#fb7185)}
.bar-green .bar-fill{background:linear-gradient(90deg,var(--green),#4ade80)}
.bar-blue .bar-fill{background:linear-gradient(90deg,var(--govt),#60a5fa)}
/* Pie */
.pie-container{display:flex;align-items:center;gap:28px;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:24px 28px;margin:18px 0;transition:background .25s,border .25s}
.pie{width:150px;height:150px;border-radius:50%;flex-shrink:0;position:relative;display:flex;align-items:center;justify-content:center}
.pie-total{position:absolute;width:94px;height:94px;border-radius:50%;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:24px;font-weight:800;color:var(--text);font-feature-settings:'tnum';line-height:1.1}
.pie-total small{font-size:9px;font-weight:600;color:var(--text-dim);text-transform:uppercase;letter-spacing:.08em}
.pie-legend{display:flex;flex-direction:column;gap:6px;flex:1}
.pie-legend .legend-item{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text-muted)}
.pie-legend .legend-item .dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}
.pie-legend .legend-item .val{margin-left:auto;font-weight:600;color:var(--text);font-family:'JetBrains Mono',monospace;font-size:12px}
/* Prose card: bordered surface box for section narrative (tables already use .data-table) */
.prose-box{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:20px 24px;margin:18px 0;transition:background .25s,border .25s}
.prose-box p{color:var(--text-muted);font-size:13.5px;line-height:1.7;margin-bottom:13px}
.prose-box p:last-child{margin-bottom:0}
.prose-box strong{color:var(--text)}
/* Table */
.data-table{width:100%;border-collapse:collapse;font-size:13px;background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden;margin:18px 0;transition:background .25s,border .25s}
.data-table th{background:var(--surface2);color:var(--text-muted);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.08em;padding:10px 14px;text-align:left;border-bottom:1px solid var(--border)}
.data-table td{padding:10px 14px;border-bottom:1px solid var(--border);color:var(--text-muted)}
.data-table .tactic-name{display:flex;align-items:center;gap:9px;white-space:nowrap}
.data-table .tactic-icon{flex:0 0 auto;opacity:.9;color:var(--accent);display:inline-flex}
.data-table .tactic-label{font-weight:600;color:var(--text)}
.data-table tr:last-child td{border-bottom:none}
.data-table .tier-badge{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:100px;font-size:11px;font-weight:600}
.data-table .tier-1{background:rgba(34,197,94,.1);color:var(--green)}
.data-table .tier-2{background:rgba(245,158,11,.1);color:var(--amber)}
.data-table .tier-3{background:rgba(148,163,184,.1);color:var(--text-muted)}
.data-table .tier-4{background:rgba(239,68,68,.1);color:var(--red)}
/* Story cards */
.story-grid{display:flex;flex-direction:column;gap:16px}
.story-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px 26px 18px 58px;transition:border-color .2s,box-shadow .2s,transform .2s;position:relative;overflow:hidden;scroll-margin-top:80px}
/* Land the jump below the sticky nav, and show which story you arrived at. */
.story-card:target{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),0 10px 30px -14px rgba(0,0,0,.6)}
.story-card:hover{border-color:var(--border-light);transform:translateY(-2px);box-shadow:0 8px 24px -12px rgba(0,0,0,.5),0 0 0 1px var(--accent-glow)}
[data-theme="light"] .story-card:hover{box-shadow:0 8px 24px -14px rgba(0,40,80,.25)}
.story-card .card-accent{position:absolute;top:0;left:0;bottom:0;width:4px;border-radius:0}
.story-card.num-1 .card-accent{background:linear-gradient(180deg,var(--vuln),rgba(244,63,94,.25))}.story-card.num-2 .card-accent{background:linear-gradient(180deg,var(--purple),rgba(139,92,246,.25))}.story-card.num-3 .card-accent{background:linear-gradient(180deg,var(--crime),rgba(245,158,11,.25))}.story-card.num-4 .card-accent{background:linear-gradient(180deg,var(--green),rgba(34,197,94,.25))}.story-card.num-5 .card-accent{background:linear-gradient(180deg,var(--govt),rgba(59,130,246,.25))}
.story-number{position:absolute;left:0;top:0;bottom:0;width:42px;display:flex;align-items:center;justify-content:center;font-family:'JetBrains Mono',monospace;font-size:17px;font-weight:700;color:var(--text-dim);border-right:1px solid var(--border);background:var(--surface2)}
.story-card.num-1 .story-number{color:#fb7185}.story-card.num-2 .story-number{color:#a78bfa}.story-card.num-3 .story-number{color:#fbbf24}
.story-card h3{font-size:1.02rem;font-weight:600;color:var(--text);margin-bottom:7px;line-height:1.4}
.story-card p.summary{color:var(--text-muted);font-size:13px;line-height:1.68;margin-bottom:12px}
.story-card .meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:12px}
.story-card .meta .source, .legend-group .source{color:var(--accent);text-decoration:none;font-weight:500;padding:2px 10px;border:1px solid var(--border);border-radius:999px;transition:all .15s}
span.source{padding:2px 10px;border:1px solid var(--border);border-radius:999px;display:inline-block}
.story-card .meta .source:hover, .legend-group .source:hover{border-color:var(--accent);background:var(--accent-bg)}
.story-card .meta .reliability, .legend-group .reliability{display:inline-flex;align-items:center;gap:4px;color:var(--text-dim)}
.story-card .meta .reliability .tier-1, .legend-group .reliability .tier-1{color:var(--green)}
.story-card .meta .reliability .tier-2, .legend-group .reliability .tier-2{color:var(--amber)}
.story-card .meta .reliability .tier-3, .legend-group .reliability .tier-3{color:var(--text-muted)}
.story-card .meta .reliability .tier-4, .legend-group .reliability .tier-4{color:var(--red)}
/* Verification badge — traffic-light, sits beside the reliability tier in the
   card's meta row (the sourcing line is metadata, not prose, so it no longer
   trails the summary paragraph). Green = corroborated, amber = single-source /
   claim in progress, red = unverified, grey = unrecognised label. */
.story-card .meta .verification, .legend-group .verification{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;padding:2px 9px;border-radius:999px;border:1px solid transparent;letter-spacing:.02em}
.story-card .meta .verification .dot, .legend-group .verification .dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:0 0 auto}
.story-card .meta .verification.v-verified, .legend-group .verification.v-verified{color:var(--green);background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.32)}
.story-card .meta .verification.v-reported, .legend-group .verification.v-reported{color:var(--amber);background:rgba(245,158,11,.1);border-color:rgba(245,158,11,.32)}
.story-card .meta .verification.v-unverified, .legend-group .verification.v-unverified{color:var(--red);background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.32)}
.story-card .meta .verification.v-other, .legend-group .verification.v-other{color:var(--text-dim);background:rgba(148,163,184,.12);border-color:rgba(148,163,184,.32)}
[data-theme="light"] .story-card .meta .verification.v-verified, [data-theme="light"] .legend-group .verification.v-verified{background:rgba(22,163,74,.12)}
[data-theme="light"] .story-card .meta .verification.v-reported, [data-theme="light"] .legend-group .verification.v-reported{background:rgba(217,119,6,.12)}
[data-theme="light"] .story-card .meta .verification.v-unverified, [data-theme="light"] .legend-group .verification.v-unverified{background:rgba(220,38,38,.12)}
[data-theme="light"] .story-card .meta .verification.v-other, [data-theme="light"] .legend-group .verification.v-other{background:rgba(100,116,139,.12)}
/* Breach-classification badge — same slot, only on breach/leak stories. Red =
   confirmed breach, amber = probable, grey = unverified claim / recycled dump. */
.story-card .meta .breach, .legend-group .breach{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;padding:2px 9px;border-radius:999px;border:1px solid transparent;letter-spacing:.02em}
.story-card .meta .breach .dot, .legend-group .breach .dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:0 0 auto}
.story-card .meta .breach.b-confirmed, .legend-group .breach.b-confirmed{color:var(--red);background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.32)}
.story-card .meta .breach.b-probable, .legend-group .breach.b-probable{color:var(--amber);background:rgba(245,158,11,.1);border-color:rgba(245,158,11,.32)}
.story-card .meta .breach.b-unverified,
.story-card .meta .breach.b-recycled,
.story-card .meta .breach.b-other, .legend-group .breach.b-other{color:var(--text-dim);background:rgba(148,163,184,.12);border-color:rgba(148,163,184,.32)}
[data-theme="light"] .story-card .meta .breach.b-confirmed, [data-theme="light"] .legend-group .breach.b-confirmed{background:rgba(220,38,38,.12)}
[data-theme="light"] .story-card .meta .breach.b-probable, [data-theme="light"] .legend-group .breach.b-probable{background:rgba(217,119,6,.12)}
[data-theme="light"] .story-card .meta .breach.b-unverified,
[data-theme="light"] .story-card .meta .breach.b-recycled,
[data-theme="light"] .story-card .meta .breach.b-other, [data-theme="light"] .legend-group .breach.b-other{background:rgba(100,116,139,.12)}
/* IoC corroboration badge — only where the story names a malware family the
   abuse.ch indicator archive holds indicators for. Carries a NAME and a COUNT,
   never an indicator value. Accent (not a severity colour) on purpose: the
   family being well-attested is not a severity claim about this story, and it
   must not read as a breach or verification verdict. Dashed border marks it as
   the softer, corroboration-only signal.

   No light-theme override is needed for the corroborated variant: `--accent-bg`
   is already theme-aware (dark rgba(139,122,230,.1) / light #f1ecfb), unlike the
   verification and breach badges, which hard-code an rgba per theme. Only the
   feedonly variant needs one. Do not add a redundant `[data-theme="light"]`
   rule here — it would be a no-op that reads as a fix. */
.story-card .meta .iocbadge, .legend-group .iocbadge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;padding:2px 9px;border-radius:999px;border:1px solid transparent;letter-spacing:.02em}
.story-card .meta .iocbadge .dot, .legend-group .iocbadge .dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:0 0 auto}
.story-card .meta .iocbadge.ioc-corroborated, .legend-group .iocbadge.ioc-corroborated{color:var(--accent);background:var(--accent-bg);border-color:currentColor;border-style:dashed}
.story-card .meta .iocbadge.ioc-feedonly, .legend-group .iocbadge.ioc-feedonly{color:var(--text-dim);background:rgba(148,163,184,.12);border-color:rgba(148,163,184,.32)}
/* Threat-actor pills — inline in prose, like the CVE pill, but a DELIBERATELY
   different visual family: not monospace, and the colour encodes how
   well-corroborated the NAMING is, not severity. A CVE pill in red means
   "critical CVE"; an actor in red would mean nothing, and the two appear in the
   same sentences. Government-stated attribution is the solid accent; contested
   and unattributed are DASHED and muted, so absence reads as absence rather
   than as a mild verdict (the cve-unrated convention). */
.actorpill{display:inline-block;font-size:.93em;font-weight:600;line-height:1.35;padding:1px 8px;margin:0 1px;border-radius:999px;white-space:nowrap;letter-spacing:.01em;vertical-align:baseline;border:1px solid transparent}
.actorpill.actor-gov{color:var(--accent);background:var(--accent-bg);border-color:rgba(139,122,230,.35)}
.actorpill.actor-claim{color:var(--amber);background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.35)}
.actorpill.actor-hack{color:var(--purple);background:rgba(139,92,246,.12);border-color:rgba(139,92,246,.35)}
.actorpill.actor-contest,.actorpill.actor-unknown{color:var(--text-dim);background:rgba(148,163,184,.10);border-color:currentColor;border-style:dashed}
a.actorpill,a.actorpill:visited,a.actorpill:hover,a.actorpill:active{text-decoration:none}
a.actorpill:hover{border-color:currentColor;box-shadow:0 0 0 3px rgba(148,163,184,.14)}
a.actorpill:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
[data-theme="light"] .actorpill.actor-gov{background:var(--accent-bg)}

/* Expandable defanged indicator list — ONE structure shared by the daily/monthly
   cards, the Story DB and the wiki, so one rule styles all three. Values are
   inert text in <code> (never an <a href>: nothing here may be clicked or
   fetched). Collapsed by default, so the block costs a reader nothing until
   they want it. */
.ioclist{margin-top:12px;border:1px dashed var(--border-light);border-radius:10px;padding:9px 13px}
.ioclist summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--accent);display:flex;align-items:center;gap:7px}
.ioclist summary::-webkit-details-marker{display:none}
.ioclist summary .dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:0 0 auto}
.ioclist ul{margin:9px 0 0;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.ioclist li{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px}
.ioclist code{font-family:'JetBrains Mono',monospace;font-size:11.5px;background:var(--surface2);padding:2px 7px;border-radius:4px;word-break:break-all}
.ioclist .iocmeta{color:var(--text-dim);font-size:11px}
.ioclist .iocwarn{margin:10px 0 0;font-size:11px;line-height:1.55;color:var(--text-dim)}

[data-theme="light"] .story-card .meta .iocbadge.ioc-feedonly, [data-theme="light"] .legend-group .iocbadge.ioc-feedonly{background:rgba(100,116,139,.12)}

/* Key to the page — the digest now carries enough visual signals (CVE pills,
   actor pills, reliability, verification, breach, IoC badges) that a reader
   cannot infer the vocabulary. Swatches reuse the REAL classes, so the legend
   cannot drift from the styles: rename a band and the key follows. */
.legend-section{margin-top:36px}
.legend-intro{font-size:13px;color:var(--text-secondary);line-height:1.65;max-width:76ch}
.legend-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:22px;margin-top:18px}
.legend-group h3{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);margin:0 0 10px;font-weight:600}
.legend-group h3 small{text-transform:none;letter-spacing:0;color:var(--text-dim);font-weight:400}
.legend-group ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.legend-group li{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px;font-size:12px;color:var(--text-dim);line-height:1.5}
.legend-group li>span:last-child{flex:1 1 140px}
.legend-note{font-size:11.5px;color:var(--text-dim);line-height:1.6;margin:13px 0 0;font-style:italic}
.legend-foot{font-size:12px;color:var(--text-dim);margin:22px 0 0}
.legend-foot a{color:var(--accent);font-weight:600}
.story-card .meta .date, .legend-group .date{color:var(--text-dim);margin-left:auto;font-family:'JetBrains Mono',monospace;font-size:11px}
/* Tag badge */
.tag{display:inline-block;font-size:11px;font-weight:500;padding:3px 10px;border-radius:999px;letter-spacing:.3px}
.tag.blue{background:var(--accent-bg);color:var(--accent)}
.tag.cyan{background:var(--accent-bg);color:var(--accent)}
.tag.purple{background:rgba(139,92,246,.1);color:#a78bfa}
.tag.green{background:rgba(34,197,94,.1);color:#4ade80}
.tag.amber{background:rgba(245,158,11,.1);color:#fbbf24}
.tag.red{background:rgba(239,68,68,.1);color:#f87171}
/* Also notable */
.bundle-box{background:var(--surface);border:1px dashed var(--border);border-radius:8px;padding:14px 18px;margin-top:6px}
.bundle-box .bundle-label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);font-weight:600;margin-bottom:6px}
.bundle-box ul{list-style:none;display:flex;flex-direction:column;gap:5px}
.bundle-box ul li{font-size:13px;color:var(--text-muted);padding-left:12px;position:relative;line-height:1.5}
.bundle-box ul li::before{content:'\25B8';position:absolute;left:0;color:var(--text-dim)}
/* Controls */
.controls{display:flex;gap:10px;margin-bottom:20px}
.btn{font-size:12px;font-weight:600;padding:6px 16px;border-radius:99px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);cursor:pointer;transition:all .2s;font-family:inherit}
.btn:hover{background:var(--surface2);color:var(--text)}
.btn.active{background:var(--accent-bg);border-color:var(--accent);color:var(--accent)}
#back-top{position:fixed;bottom:28px;right:28px;width:42px;height:42px;border-radius:50%;background:var(--surface);border:1px solid var(--border);color:var(--accent);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s;z-index:9000;font-family:inherit}
#back-top.visible{opacity:1}
#back-top:hover{background:var(--surface2)}
/* Footer */
.footer{text-align:center;padding:28px 0 10px;border-top:1px solid var(--border);margin-top:32px;transition:border .25s}
.footer .source-line{font-size:12px;color:var(--text-dim);font-family:'JetBrains Mono',monospace;margin-bottom:6px}
.footer .note{font-size:11px;color:var(--text-dim);font-style:italic}
.footer .links{display:flex;justify-content:center;gap:20px;margin-bottom:12px}
.footer .links a{color:var(--text-dim);font-size:12px;font-weight:500;transition:color .15s}
.footer .links a:hover{color:var(--text-secondary)}
/* Executive view */
body.exec-view .hide-exec,
body.exec-view .story-card .meta,
body.exec-view .story-card p.summary,
body.exec-view .bundle-box,
body.exec-view .bar-chart,
body.exec-view .pie-container,
body.exec-view .data-table,
body.exec-view #incident-map{display:none!important}
body.exec-view .story-card{padding:10px 18px;margin-bottom:4px;cursor:pointer}
body.exec-view .story-card h3{font-size:14px;margin-bottom:0}
body.exec-view .story-number{display:none}
body.exec-view .story-grid{gap:6px}
body.exec-view .story-card::after{content:'\25B6 Click to expand';display:block;font-size:10px;color:var(--text-dim);margin-top:4px;opacity:.5;transition:opacity .2s}
body.exec-view .story-card:hover::after{opacity:1}
body.exec-view .story-card.expanded::after{content:'\25BC Click to collapse'}
body.exec-view .story-card.expanded .meta,
body.exec-view .story-card.expanded p.summary{display:block!important}
body.exec-view .story-card.expanded{padding:14px 18px}
body.exec-view .story-card.expanded .story-number{display:block}
body.exec-view .story-card.expanded h3{margin-bottom:6px;font-size:1rem}
body.exec-view .story-card.expanded p.summary{margin-bottom:10px}
body.exec-view .story-card .card-accent{width:4px}
body.exec-view .story-card{padding-left:50px}
body.exec-view .story-card.expanded{padding-left:50px}
/* SVG icon helper */
.sicon{display:inline-flex;width:19px;height:19px;color:var(--accent)}
.sicon svg{width:100%;height:100%}
/* Analytics grid */
.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.incident-map{overflow:hidden}
.incident-map .map-fallback{padding-top:4px}
.incident-map .map-fallback .bar-label{width:150px}
.incident-map .map-fallback{border:1px solid var(--border);border-radius:12px;padding:12px 14px;background:var(--surface2)}
.incident-map .bar-row{cursor:pointer;transition:opacity .15s}
.incident-map .bar-row:hover{opacity:.85}
.incident-map .bar-crit .bar-fill{background:linear-gradient(90deg,#ff4d5a,#fb7185)}
.incident-map .bar-sev  .bar-fill{background:linear-gradient(90deg,#ffa62b,#fbbf24)}
.incident-map .bar-elev .bar-fill{background:linear-gradient(90deg,#7c66dd,#35c6e8)}
.incident-map .bar-guard .bar-fill{background:linear-gradient(90deg,#5aa9e6,#7cc4f0)}
.incident-map .bar-unknown .bar-fill{background:var(--surface2)}
.incident-map .im-legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px}
.incident-map .im-lg{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;color:var(--text-muted);padding:2px 9px;border:1px solid var(--border);border-radius:99px;background:var(--surface2)}
.incident-map .im-lg i{width:9px;height:9px;border-radius:2px;display:inline-block}
.incident-map .im-note{font-size:10.5px;color:var(--text-dim);margin-left:auto}
.incident-map .im-attr{font-size:10.5px;color:var(--text-dim);margin-top:8px;line-height:1.5}
.incident-map .pan-chip{display:inline-block;font-size:11px;padding:2px 10px;margin:0 6px 4px 0;border-radius:99px;border:1px dashed var(--border);color:var(--text-muted);background:repeating-linear-gradient(45deg,var(--surface2),var(--surface2)4px,rgba(127,127,127,.08)4px,rgba(127,127,127,.08)6px)}
.incident-map .im-story-panel{margin-top:12px;border:1px solid var(--border);border-radius:12px;padding:14px 16px;background:var(--surface2);display:none}
.incident-map .im-story-panel.open{display:block}
.incident-map .im-story-panel .im-shot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.incident-map .im-story-panel h4{margin:0;font-size:14px;color:var(--text)}
.incident-map .im-globe-btn{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;color:#0d1b3e;background:var(--accent);border-radius:99px;padding:6px 14px;text-decoration:none;white-space:nowrap}
.incident-map .im-globe-btn:hover{filter:brightness(1.08)}
.incident-map .im-story-panel ul{margin:0;padding:0;list-style:none}
.incident-map .im-story-panel li{padding:7px 0;border-bottom:1px solid var(--border);font-size:12.5px}
.incident-map .im-story-panel li:last-child{border-bottom:none}
.incident-map .im-story-panel a{color:var(--accent);text-decoration:none;font-weight:600}
.incident-map .im-story-panel a:hover{text-decoration:underline}
.incident-map .im-tag{font-size:9.5px;padding:1px 7px;border-radius:99px;margin-left:8px;font-weight:700;border:1px solid}
@media(max-width:860px){.wrap{flex-direction:column}#toc{position:static;width:100%;max-height:unset;margin-bottom:20px}/* The rail is inline here, so it sits between the reader and the digest: a
   267px block, or 469px with the nested story links. Collapse it to a bar and
   let the reader open it on demand (setToc() in the script block), instead of
   hiding parts of it. */
#toc-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;background:var(--surface2);border:1px solid var(--border);border-radius:8px;padding:9px 12px;color:var(--text);font-family:inherit;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;cursor:pointer}
#toc-toggle:hover{border-color:var(--accent)}
#toc-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#toc .toc-chev{font-size:10px;transition:transform .2s}
#toc.toc-collapsed .toc-chev{transform:rotate(-90deg)}
#toc.toc-collapsed #toc-list{display:none}
#toc.toc-collapsed{padding-bottom:12px}
#toc.toc-collapsed .toc-title{margin-bottom:8px}.pie-container{flex-direction:column;align-items:center;gap:16px}.stats-row{gap:8px}.analytics-grid{grid-template-columns:1fr}}
@media(max-width:620px){
/* The nav used to hide every label here and leave five 24px unlabelled links
   rendering as an empty grey pill: on a phone the whole site nav (Editions,
   About, Hub, Cyber, Intel) was invisible and had no accessible name, because
   display:none removes the text from the a11y tree too. Keep the labels and
   give the row its own line instead. */
.topnav .inner{flex-wrap:wrap;height:auto;padding:8px 16px;row-gap:0}
.navlinks{order:3;width:100%;margin-left:0;justify-content:flex-start;flex-wrap:wrap;gap:0;padding-bottom:2px}
.navlinks a{padding:5px 9px;font-size:12px}
.navlinks a span.t{display:inline}
.theme-toggle{margin-left:auto}
.hero{padding:32px 18px 24px}
/* the 58px number gutter costs a fifth of the measure on a phone; the story
   number is a navigational aid the contents bar above already carries */
.story-card{padding:16px 16px 18px}
.story-number{display:none}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001s!important;animation-iteration-count:1!important;transition-duration:.001s!important;scroll-behavior:auto!important}}
@media print{body{background:#fff!important;color:#111!important;font-size:11pt}body::before:before,.orb{display:none}#toc{display:none}.wrap{display:block;max-width:100%;padding:0}.main{width:100%}.exec-summary p,.story-card p.summary,.bar-chart,.au-context-box p,.bundle-box ul li{color:#333!important}.exec-summary,.story-card,.bar-chart,.pie-container{break-inside:avoid}.exec-toggle{display:none!important}.exec-preview{display:none!important}.exec-body{display:block!important}.exec-thread,.exec-note{break-inside:avoid;background:#fff!important;border-color:#ddd!important}[hidden]{display:none!important}@page{margin:2cm 2.5cm;@bottom-right{content:counter(page)" / "counter(pages);font-size:9pt;color:#999}}}
/* ===== CVE SEVERITY PILLS =====
   A CVE id in prose renders as a severity pill keyed to the CVSS band from the
   cve_severity table (scripts/cve_severity_build.py: wiki frontmatter, then NVD).
   An id with no resolved band gets .cve-unrated (dashed, muted) — never a
   guessed colour, so absence reads as absence. Tokens exist in both themes. */
.cvepill{display:inline-block;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82em;font-weight:600;line-height:1.35;padding:1px 7px;margin:0 1px;border-radius:999px;white-space:nowrap;letter-spacing:.01em;vertical-align:baseline;border:1px solid transparent}
.cvepill.cve-critical{color:var(--red);background:rgba(239,68,68,.13);border-color:rgba(239,68,68,.35)}
.cvepill.cve-high{color:var(--vuln);background:rgba(244,63,94,.13);border-color:rgba(244,63,94,.35)}
.cvepill.cve-medium{color:var(--amber);background:rgba(245,158,11,.14);border-color:rgba(245,158,11,.35)}
.cvepill.cve-low{color:var(--green);background:rgba(34,197,94,.13);border-color:rgba(34,197,94,.35)}
.cvepill.cve-unrated{color:var(--text-dim);background:rgba(148,163,184,.10);border-color:currentColor;border-style:dashed}
/* A pill that links (mapped CVEs deep-link the ATT&CK matrix tool; unmapped ones fall
   back to the wiki CVE page) must look identical to the non-linking span form — so pin
   the colour on every anchor state and kill the inherited underline/accent colour. */
a.cvepill,a.cvepill:visited,a.cvepill:hover,a.cvepill:active{text-decoration:none}
a.cvepill:hover{border-color:currentColor;box-shadow:0 0 0 3px rgba(148,163,184,.14)}
a.cvepill:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
a.cvepill.cve-critical,a.cvepill.cve-critical:visited{color:var(--red)}
a.cvepill.cve-high,a.cvepill.cve-high:visited{color:var(--vuln)}
a.cvepill.cve-medium,a.cvepill.cve-medium:visited{color:var(--amber)}
a.cvepill.cve-low,a.cvepill.cve-low:visited{color:var(--green)}
a.cvepill.cve-unrated,a.cvepill.cve-unrated:visited{color:var(--text-dim)}
a.cvepill{cursor:pointer}
/* Secondary citations in a story card's meta row: the vendor-primary research link
   that follows the aggregator's, plus any trailing provenance note. Muted and
   smaller than the primary source pill so the aggregator stays the dominant cite —
   the point is that the primary is visible at all, not that it competes. */
.source.src-alt{color:var(--text-muted);font-size:11px;padding:2px 8px}
.src-note{color:var(--text-dim);font-size:11px;margin-left:2px}

/* ─────────────────────────────────────────────────────────────────────────
   AI Digest additions. Everything above is copied chrome; only this block is
   the AI Daily's own. It must stay inside the brand family — an AI-only rule
   carrying the old cyan is exactly how the page and its landing page drift.
   ───────────────────────────────────────────────────────────────────────── */

/* ── theme identity, kept deliberately OUTSIDE the severity hues ──────────
   The cyber chrome cycles the card's left rule through five bright colours by
   story number. On an AI page colour means impact severity and nothing else, so
   that cycle is overridden: the rule now carries the THEME (identity), from a
   muted palette that shares no hue with the five impact bands. */
:root{--t-frontier:#9B85F5;--t-reg:#8FA3C0;--t-res:#6FB3AC;--t-sec:#B08AA3;
      --t-inf:#A3B380;--t-mkt:#C09A78}
[data-theme="light"]{--t-frontier:#6E56CF;--t-reg:#5B6B86;--t-res:#3F736E;--t-sec:#7A5A6E;
      --t-inf:#5F7042;--t-mkt:#8A6A50}
.story-card .card-accent{background:var(--border-light)}
.story-card.t-frontier .card-accent{background:linear-gradient(180deg,var(--t-frontier),rgba(110,86,207,.15))}
.story-card.t-reg .card-accent{background:linear-gradient(180deg,var(--t-reg),rgba(91,107,134,.15))}
.story-card.t-res .card-accent{background:linear-gradient(180deg,var(--t-res),rgba(63,115,110,.15))}
.story-card.t-sec .card-accent{background:linear-gradient(180deg,var(--t-sec),rgba(122,90,110,.15))}
.story-card.t-inf .card-accent{background:linear-gradient(180deg,var(--t-inf),rgba(95,112,66,.15))}
.story-card.t-mkt .card-accent{background:linear-gradient(180deg,var(--t-mkt),rgba(138,106,80,.15))}
.section h2 .icon{color:var(--accent)}
.section.t-frontier h2 .icon{color:var(--t-frontier)}
.section.t-reg h2 .icon{color:var(--t-reg)}
.section.t-res h2 .icon{color:var(--t-res)}
.section.t-sec h2 .icon{color:var(--t-sec)}
.section.t-inf h2 .icon{color:var(--t-inf)}
.section.t-mkt h2 .icon{color:var(--t-mkt)}

/* The cyber exec-summary's top rule runs accent -> red -> purple. On this page a
   red rule above a summary that carries no critical story is colour saying the
   wrong thing: reduce it to the brand hue. */
.exec-summary::before{background:linear-gradient(90deg,var(--accent),rgba(139,122,230,.22))}

/* The four axis pills, rendered in the cyber card's existing .meta strip so the
   rating travels with the card without a second visual language. Colour appears
   on Impact ONLY — that is the single semantic scale this product keeps. */
.axis{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:600;
  letter-spacing:.05em;text-transform:uppercase;padding:2px 7px;border-radius:5px;
  border:1px solid var(--border-light);color:var(--text-muted);background:var(--surface2);
  white-space:nowrap}
.axis .lb{font-weight:600;opacity:.72}
.axis .gl{font-size:10px;line-height:1;opacity:.85}
.meta .axis{font-size:10px}
.meta .verification{white-space:normal}
.i-low{color:var(--green);border-color:rgba(34,197,94,.34);background:rgba(34,197,94,.10)}
.i-guarded{color:#a3b64a;border-color:rgba(163,182,74,.36);background:rgba(163,182,74,.10)}
.i-elevated{color:var(--amber);border-color:rgba(245,158,11,.36);background:rgba(245,158,11,.10)}
.i-severe{color:#fb923c;border-color:rgba(251,146,60,.36);background:rgba(251,146,60,.10)}
.i-critical{color:var(--red);border-color:rgba(239,68,68,.38);background:rgba(239,68,68,.12)}
[data-theme="light"] .i-guarded{color:#5f7120;border-color:rgba(95,113,32,.34);background:rgba(95,113,32,.09)}

/* Source-diversity line and the provenance note in the footer */
.footer .source-line code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}

/* an empty theme is a finding — it renders as a line in the coverage table, never
   as a zero bar */
.empty-note{font-size:12.5px;color:var(--text-dim);margin:6px 0 0}

/* Coverage bars. The chrome ships bar-green / bar-red / bar-amber / bar-blue, and
   those hues already mean Low / Critical / Elevated / (govt) on this page — a red
   bar for "Market & geopolitics" reads as a critical story that is not there. Theme
   bars take the theme palette; the non-theme bars (evidence class, verification
   gate) stay in the brand hue. The builder emits `bar-row t-<key>` and
   `bar-row mono`, so these selectors are the only thing colouring the bars: without
   them the fill div has no background and every chart renders as empty tracks. */
.bar-row.t-frontier .bar-fill{background:linear-gradient(90deg,var(--t-frontier),rgba(110,86,207,.2))}
.bar-row.t-reg .bar-fill{background:linear-gradient(90deg,var(--t-reg),rgba(91,107,134,.2))}
.bar-row.t-res .bar-fill{background:linear-gradient(90deg,var(--t-res),rgba(63,115,110,.2))}
.bar-row.t-sec .bar-fill{background:linear-gradient(90deg,var(--t-sec),rgba(122,90,110,.2))}
.bar-row.t-inf .bar-fill{background:linear-gradient(90deg,var(--t-inf),rgba(95,112,66,.2))}
.bar-row.t-mkt .bar-fill{background:linear-gradient(90deg,var(--t-mkt),rgba(138,106,80,.2))}
.bar-row.mono .bar-fill{background:linear-gradient(90deg,var(--accent),rgba(139,122,230,.2))}
