/* The Daily Deep Dive — noahknowstech.com/daily
   Loaded AFTER /styles.css (the main site's header, footer, forms, colours and fonts), so the daily pages look like the
   rest of the site. Only daily-specific parts live here. Written by the daily-brief renderer on hermes
   (~/projects/daily-brief/daily.css); edit it there. Text colours are >= 4.5:1 on their backgrounds (WCAG 2.2 AA). */
:root {
  --warn-ink: #7a3e00;   /* 7.4:1 on --warn-bg */
  --warn-bg: #fff6e6;
  --warn-line: #f2c98f;
  --danger-ink: #a61b1b;
  --danger-bg: #ffecec;
  --ok-ink: #0b5e49;     /* 7.9:1 on --ok-bg */
  --ok-bg: #e9f7f1;
  --ok-line: #9fd9c3;
  --dd-col: 760px;       /* reading column */
  --dd-side: 232px;      /* contents column */
  --dd-gap: 40px;
}
.dd-wrap { width: 100%; max-width: calc(var(--dd-side) + var(--dd-gap) + var(--dd-col) + 32px); margin: 0 auto; padding: 0 16px; }
.dd-grid { display: grid; grid-template-columns: var(--dd-side) minmax(0, var(--dd-col)); gap: var(--dd-gap); }
.dd-grid > * { min-width: 0; }
.dd-grid > .dd-span { grid-column: 2; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); font-size: .86em; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Daily section tabs (under the site header) */
.dd-tabs { background: var(--surface); border-bottom: 1px solid var(--line); }
.dd-tabs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 0; }
.dd-tabs a { display: inline-block; padding: 7px 12px; border-radius: 9px; color: var(--ink-2); font-weight: 500; font-size: .92rem; text-decoration: none; }
.dd-tabs a:hover { background: var(--tint); color: var(--accent); }
.dd-tabs a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* Masthead */
.mast { padding: 36px 0 28px; border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 260px at 10% 0%, var(--tint-2) 0%, transparent 70%), var(--bg); }
.dd-eyebrow { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .76rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.dd-eyebrow .ey-name { color: var(--accent); }
.dd-eyebrow .ago { text-transform: none; letter-spacing: 0; }
.mast h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -.028em; font-weight: 800; }
.tldr { font: 400 1.16rem/1.6 var(--serif); color: var(--ink-2); margin-top: 14px; }
.ai-line { margin-top: 12px; font-size: .8rem; color: var(--ink-3); font-style: italic; }
.ai-line a { color: var(--ink-3); }

/* Body grid */
.dd-body { padding-top: 28px; padding-bottom: 40px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; display: grid; gap: 14px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 12px; }
.toc h2, .takeaways h2 { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); margin: 0 0 8px 6px; }
.toc ol { list-style: none; display: grid; gap: 1px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 24px 1fr; padding: 6px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .88rem; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 500 .72rem/1.9 var(--mono); color: var(--ink-3); grid-row: span 2; }
.toc a:hover { background: var(--tint); color: var(--accent); }
.toc-kind { display: block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
.side-pager { display: grid; gap: 2px; font-size: .86rem; font-weight: 600; padding: 0 6px; }
.toc-mobile { display: none; }
.content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }

/* Takeaways */
.takeaways { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius-md); padding: 20px 22px; }
.takeaways h2 { margin-left: 0; }
.takeaways ul { list-style: none; display: grid; gap: 10px; }
.takeaways li { padding-left: 22px; position: relative; }
.takeaways li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.tk-more { margin-top: 10px; }
.tk-more summary { cursor: pointer; font-weight: 600; color: var(--accent); font-size: .9rem; }
.tk-more ul { margin-top: 10px; }

/* Deep dives */
.dive { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(20px, 4vw, 36px); }
.dive.lead { border-top: 3px solid var(--accent); }
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.dive h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.18; letter-spacing: -.022em; margin: 10px 0; }
.dek { font: 400 1.12rem/1.55 var(--serif); color: var(--ink-2); margin-bottom: 6px; }
.dive h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.dive > p:not(.kicker):not(.dek) { font: 400 1.08rem/1.75 var(--serif); margin-bottom: 14px; color: #2a2440; }
.box-h { font-size: .72rem !important; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 8px !important; }
.todo { background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: var(--radius-md); padding: 14px 18px; margin: 22px 0 16px; }
.todo .box-h { color: var(--ok-ink); }
.todo ul { padding-left: 20px; display: grid; gap: 6px; color: #173d33; }
.sources { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }
.sources .box-h { color: var(--ink-3); }
.sources ol { padding-left: 22px; display: grid; gap: 4px; }
.host { color: var(--ink-3); font-size: .86em; }

/* Section blocks */
.block > h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 1.4rem; margin-bottom: 12px; }
.sec-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; }
.pill-warn { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; background: var(--danger-bg); color: var(--danger-ink); padding: 4px 10px; border-radius: 999px; }
.block-intro { color: var(--ink-2); margin: -4px 0 12px; font-size: .95rem; }

/* Breaches & outages */
.inc { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--danger-ink); border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 12px; }
.inc-outage { border-left-color: #1d4ed8; }
.inc-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font: 700 .72rem/1.4 var(--sans); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-3); }
.inc-kind { padding: 3px 8px; border-radius: 999px; background: var(--danger-bg); color: var(--danger-ink); }
.inc-outage .inc-kind { background: #e8f0ff; color: #1e40af; }
.inc-new { padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #fff; }
.inc-upd { padding: 3px 8px; border-radius: 999px; background: var(--tint); color: var(--accent); }
.inc-status { color: var(--ink-2); }
.inc-date { color: var(--ink-2); text-transform: none; letter-spacing: 0; font-weight: 600; }
.inc h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 10px; }
.inc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.inc-facts div { background: var(--tint); border-radius: 10px; padding: 8px 12px; }
.inc-facts dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; }
.inc-facts dd { font-size: .9rem; color: var(--ink); }
.inc > p:not(.inc-meta), .inc-src > p { font: 400 1.02rem/1.7 var(--serif); color: #2a2440; margin-bottom: 10px; }
.inc-todo { background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: 10px; padding: 10px 14px; margin: 4px 0 10px; font-size: .93rem; color: #173d33; }
.inc-todo ul { padding-left: 18px; margin-top: 4px; }
.inc-src summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--accent); padding: 4px 0; }
.inc-src[open] summary { margin-bottom: 6px; }
.inc-src ol { padding-left: 22px; font-size: .9rem; display: grid; gap: 4px; margin-top: 8px; }

/* Patch table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0; }
.table-scroll th, .table-scroll td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll thead th { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); background: var(--tint); }
.table-scroll tbody th { font-weight: 500; white-space: nowrap; }
.table-scroll tr:last-child > * { border-bottom: 0; }
.table-scroll td span { color: var(--ink-2); }
.table-scroll td.mono { white-space: nowrap; }

/* Story cards */
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.story { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.story h3 { font-size: 1rem; line-height: 1.38; }
.story h3 a { color: var(--ink); text-decoration: none; }
.story h3 a:hover { color: var(--accent); text-decoration: underline; }
.story .src { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.story p { font-size: .93rem; color: var(--ink-2); }
.story .why { margin-top: auto; padding: 9px 11px; background: var(--tint); border-radius: 10px; color: var(--ink); }

/* Bitcoin */
.btc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.stats div { background: var(--tint); border-radius: 10px; padding: 10px 12px; }
.stats dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.stats dd { font: 600 .98rem/1.4 var(--mono); margin-top: 2px; font-variant-numeric: tabular-nums; }
.btc p { color: var(--ink-2); }
.fine { font-size: .8rem; color: var(--ink-3) !important; margin-top: 6px; }

/* Quick hits */
.quick ul { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.quick li { padding: 11px 16px; border-bottom: 1px solid var(--line); }
.quick li:last-child { border-bottom: 0; }

/* Signup block (form styles come from styles.css) */
.signup-block { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-xl); padding: clamp(20px, 4vw, 30px); }
.signup-block h1, .signup-block h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-bottom: 6px; display: block; }
.signup-block > p { color: var(--ink-2); margin-bottom: 14px; }
.nl-sample { margin-top: 14px; font-size: .93rem; color: var(--ink-2); }

/* Pager, archive, incidents page, newsletter pages */
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 4px; font-weight: 600; }
.archive { list-style: none; display: grid; gap: 10px; }
.archive li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 18px; }
.archive a { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.archive time { font-size: .76rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.archive strong { font-size: 1.1rem; }
.archive a:hover strong { color: var(--accent); text-decoration: underline; }
.archive p { color: var(--ink-2); font-size: .93rem; margin-top: 4px; }
.day-h { font-size: 1.05rem; margin: 22px 0 10px; }
.day-h:first-child { margin-top: 0; }
.day-h a { color: var(--ink); }
.empty { color: var(--ink-2); padding: 20px 0; }
.nl-what { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 22px; }
.nl-what h2 { font-size: 1.1rem; margin-bottom: 10px; }
.nl-list { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; }
.nl-list li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: .95rem; }
.nl-list li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.nl-list strong { color: var(--ink); }
.nl-msg { padding-top: 40px; padding-bottom: 48px; max-width: 680px; }
.nl-msg p { color: var(--ink-2); margin-bottom: 10px; }
.dd-about { border-top: 1px solid var(--line); background: var(--surface); }
.dd-about p { max-width: 80ch; padding: 12px 0; color: var(--ink-3); font-size: .8rem; }
.dd-about a { color: var(--ink-3); }

/* Tablet and phone: one column, contents become a fold-out list */
@media (max-width: 1000px) {
  .dd-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dd-grid > .dd-span { grid-column: 1; }
  .dd-grid > .dd-spacer, .sidebar { display: none; }
  .toc-mobile { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
  .toc-mobile summary { cursor: pointer; padding: 13px 16px; font-weight: 700; font-size: .95rem; }
  .toc-mobile summary span { color: var(--ink-3); font-weight: 500; }
  .toc-mobile ol { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2px; padding: 0 8px 10px; }
  .toc-mobile a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .92rem; }
  .toc-mobile a:hover { background: var(--tint); }
  .toc-mobile .toc-kind { display: block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
}
@media (max-width: 640px) {
  .mast { padding: 22px 0 20px; }
  .tldr { font-size: 1.04rem; }
  .dd-eyebrow { font-size: .68rem; gap: 2px 12px; }
  .dd-tabs a { padding: 6px 9px; font-size: .88rem; }
  .dd-body { padding-top: 16px; }
  .content { gap: 18px; }
  .takeaways, .btc { padding: 16px; }
  .dive { padding: 20px 16px; border-radius: var(--radius-md); }
  .dive h2 { font-size: 1.42rem; }
  .dive > p:not(.kicker):not(.dek) { font-size: 1.03rem; }
  .stories { grid-template-columns: minmax(0, 1fr); }
  .story { padding: 14px; }
  .inc { padding: 16px 14px; }
  .inc-facts, .stats { grid-template-columns: minmax(0, 1fr); }
  .block > h2 { font-size: 1.22rem; }
  .table-scroll th, .table-scroll td { padding: 9px 10px; }
}
@media print {
  .site-header, .dd-tabs, .sidebar, .toc-mobile, .pager, .skip-link, .site-footer { display: none; }
  .dd-grid { display: block; }
  body { background: #fff; }
}

/* Breaches & outages page: at-a-glance list */
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 18px; }
.glance h2 { font-size: 1rem; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.glance h2 span { font-size: .8rem; font-weight: 500; color: var(--ink-3); }
.glance ol { list-style: none; display: grid; gap: 2px; }
.glance li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.glance li:last-child { border-bottom: 0; }
.glance a { display: inline-flex; gap: 8px; align-items: baseline; color: var(--ink); text-decoration: none; min-width: 0; }
.glance a:hover .g-org { color: var(--accent); text-decoration: underline; }
.g-kind { flex: none; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 999px; background: var(--danger-bg); color: var(--danger-ink); }
.g-outage { background: #e8f0ff; color: #1e40af; }
.g-org { font-weight: 600; }
.g-date { flex: none; color: var(--ink-3); font-size: .82rem; white-space: nowrap; }
@media (max-width: 640px) { .glance li { flex-direction: column; gap: 2px; } }

/* Breaches / outages / vulnerabilities page: three separate lists */
.jump ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.jump a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; }
.jump a strong { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.jump a:hover { border-color: var(--accent); color: var(--accent); }
.list-sec > h2 .count { font-size: .8rem; font-weight: 700; color: var(--ink-3); background: var(--tint); border-radius: 999px; padding: 2px 9px; }
.glance h3 { font-size: .95rem; margin-bottom: 6px; }
.g-title { color: var(--ink-2); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glance a { min-width: 0; flex: 1; }
.sub-h { font-size: 1.05rem; margin: 22px 0 10px; }
.zw { list-style: none; display: grid; gap: 10px; }
.zw li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 16px; }
.zw li a { font-weight: 600; }
.zw li p { color: var(--ink-2); font-size: .93rem; margin-top: 4px; }
.table-scroll .pill-warn { font-size: .62rem; padding: 2px 7px; vertical-align: middle; }
@media (max-width: 640px) {
  .jump ul { grid-template-columns: minmax(0, 1fr); }
  .jump a { display: flex; align-items: baseline; gap: 10px; }
  .jump a strong { display: inline; font-size: 1.2rem; }
  .g-title { display: none; }
}

/* compact incident rows that open in place */
.glance { padding: 4px 0; }
.glance ol { gap: 0; }
.glance li { display: block; padding: 0; border-bottom: 1px solid var(--line); }
.g-item > summary { list-style: none; display: grid; grid-template-columns: minmax(120px, 30%) minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 16px; cursor: pointer; font-size: .92rem; }
.g-item > summary::-webkit-details-marker { display: none; }
.g-item > summary:hover { background: var(--tint); }
.g-item > summary:hover .g-org { color: var(--accent); }
.g-item[open] > summary { background: var(--tint); }
.g-org { font-weight: 600; color: var(--ink); }
.g-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.g-item .inc { margin: 0; border-radius: 0; border-width: 0 0 0 4px; }
@media (max-width: 640px) {
  .g-item > summary { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 12px; }
  .g-title { display: block; grid-column: 1 / -1; grid-row: 2; white-space: normal; font-size: .86rem; }
  .g-date { grid-row: 1; grid-column: 2; font-size: .76rem; }
}
.kev-date { font-size: .84rem; white-space: nowrap; color: var(--ink-2); }
.kev-date .ago { display: block; color: var(--ink-3); }

/* ===== Breaches, outages & exploited vulnerabilities page (2026-11-27 redesign) ===== */
.dd-wide { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.mast-wide { padding: 34px 0 30px; }
.mast-wide h1 { max-width: 22ch; }
.mast-wide .tldr { max-width: 62ch; }
.stats-row { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.stat { display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius-md); padding: 16px 18px 18px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); height: 100%; }
.stat:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.stat-breaches { border-top-color: #b91c1c; }
.stat-outages { border-top-color: #1d4ed8; }
.stat-vulnerabilities { border-top-color: #b45309; }
.s-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.s-num { font-size: 2.4rem; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.s-sub { font-size: .88rem; color: var(--ink-2); }
.s-latest { font-size: .82rem; color: var(--ink-3); margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.sec-nav ul { list-style: none; display: flex; gap: 6px; padding: 8px 0; overflow-x: auto; }
.sec-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; background: var(--surface); }
.sec-nav a span { font-size: .78rem; color: var(--ink-3); font-weight: 700; }
.sec-nav a:hover { border-color: var(--accent); color: var(--accent); }
.wide-body { padding-top: 26px; padding-bottom: 44px; display: grid; gap: 36px; }
.list-sec { scroll-margin-top: calc(var(--header-h) + 60px); }
.ls-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 6px; }
.ls-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.55rem; }
.ls-head p { color: var(--ink-2); font-size: .93rem; max-width: 60ch; }
.grp { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 18px 0 8px; display: flex; gap: 10px; align-items: baseline; }
.grp-src { text-transform: none; letter-spacing: 0; font-weight: 500; }
.rows { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.rows > li + li { border-top: 1px solid var(--line); }
.row > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px 13px 16px; cursor: pointer; border-left: 4px solid transparent; }
.row > summary::-webkit-details-marker { display: none; }
.row-breach > summary { border-left-color: #b91c1c; }
.row-outage > summary { border-left-color: #1d4ed8; }
.row-vuln > summary { border-left-color: #b45309; }
.row > summary:hover, .row[open] > summary { background: var(--tint); }
.row > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.r-main { display: grid; gap: 2px; min-width: 0; }
.r-org { font-weight: 700; color: var(--ink); font-size: .98rem; }
.r-title { color: var(--ink-2); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-meta { display: flex; align-items: center; gap: 8px; flex: none; }
.r-date { font-size: .82rem; color: var(--ink-3); white-space: nowrap; }
.r-date .ago { display: block; text-align: right; font-size: .76rem; }
.stc { display: inline-block; line-height: 1.5; font-size: .72rem; font-weight: 600; color: var(--ink-2); background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.stc-red { background: var(--danger-bg); color: var(--danger-ink); border-color: #f3c2c2; }
.stc-amber { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }
.cve { font: 600 .8rem/1 var(--mono); color: #7a3e00; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 6px; padding: 2px 6px; margin-right: 6px; vertical-align: 1px; }
.r-body { padding: 0 18px 16px 20px; background: var(--tint); }
.r-body .inc { margin: 0; border: 0; border-radius: var(--radius-md); background: var(--surface); }
.r-body .inc > h4, .r-body .inc-meta { display: none; }
.vuln-card { background: var(--surface); border-radius: var(--radius-md); padding: 14px 16px; }
.vuln-card h4 { font-size: 1rem; margin-bottom: 6px; }
.vuln-card p { color: var(--ink-2); font-size: .93rem; margin-bottom: 8px; }
.vc-links { margin-bottom: 0 !important; font-weight: 600; }
.zw-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.zw-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; display: grid; gap: 6px; align-content: start; }
.zw-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.zw-grid h4 { font-size: 1rem; line-height: 1.3; }
.zw-grid h4 a { color: var(--ink); text-decoration: none; }
.zw-grid h4 a:hover { color: var(--accent); text-decoration: underline; }
.zw-grid li > p:last-child { color: var(--ink-2); font-size: .9rem; }
@media (max-width: 760px) {
  .stats-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stat { grid-template-columns: auto 1fr; grid-template-areas: "num label" "num sub"; column-gap: 14px; align-items: center; padding: 12px 14px; }
  .s-num { grid-area: num; font-size: 1.9rem; }
  .s-label { grid-area: label; }
  .s-sub { grid-area: sub; font-size: .82rem; }
  .s-latest { display: none; }
  .row > summary { flex-wrap: wrap; gap: 6px 10px; padding: 12px 14px 12px 12px; }
  .r-main { flex: 1 1 100%; }
  .r-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .r-meta { flex-wrap: wrap; }
  .r-date .ago { display: inline; }
  .r-body { padding: 0 10px 12px; }
  .zw-grid { grid-template-columns: minmax(0, 1fr); }
  .ls-head h2 { font-size: 1.3rem; }
}
.zw-grid li { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.zw-top { flex-wrap: wrap; }

/* KEV rows: direct CVE links, no expand */
.kev-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 13px 18px 13px 16px; border-left: 4px solid #b45309; }
.kev .r-title.kev-what { white-space: normal; }
.kev-action { font-size: .84rem; color: var(--ink-2); }
.kev-links { font-size: .82rem; font-weight: 600; color: var(--ink-3); }
a.cve { color: #7a3e00; text-decoration: underline; text-underline-offset: 2px; }
a.cve:hover { background: #ffe9c7; }
@media (max-width: 760px) {
  .kev-line { flex-wrap: wrap; gap: 6px 10px; padding: 12px 14px 12px 12px; }
  .kev-line .r-main { flex: 1 1 100%; }
}
.kev .r-title.kev-what { white-space: normal; overflow: visible; display: block; -webkit-line-clamp: unset; }
