/* Trapdex tracker. Self-hosted Inter, no external assets.
   Brand: Navy #111A2E, Sky #38BDF8 (Deep sky #0369A1 on light), neutrals from the navy hue (GOLA-182).
   Status colors never use the brand blue, and always come with an icon and a word. */
/* Trapdex tracker. Self-hosted fonts, no external assets.
   v2.1 (GOLA-182 brand, GOLA-183 layout): three type roles, one owned navy-hued ramp,
   two radii, hairlines instead of boxes. Navy #111A2E and accent #38BDF8 are brand-locked.
   Status: only Active carries color; every status keeps a word and a non-color cue. */
@font-face {
  font-family: "Inter";
  src: url("/a/fonts/inter-var.acd21af77a.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TDX Serif";
  src: url("/a/fonts/tdx-serif-600.2b0061faf6.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TDX Mono";
  src: url("/a/fonts/tdx-mono-400.88a01021e7.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Fonts: GOLA-182 Latin subsets, renamed as the OFL requires (licenses in /assets/fonts/). Fallback metrics so the serif H1 (the LCP element) doesn't shift when the font arrives. */
@font-face { font-family: "Serif Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 92%; descent-override: 26%; }

:root {
  /* Marketing tokens (GOLA-182 section 3) */
  --navy: #111A2E;
  --bg: #111A2E;
  --surface-1: #182237;
  --surface-2: #212C43;
  --hairline: #303A4F;
  --outline: #6B7894;
  --text-1: #EEF1F6;
  --text-2: #C2C8D6;
  --text-3: #969EB0;
  --accent: #38BDF8;
  --accent-hover: #8FD5F8;
  --on-accent: #111A2E;
  --active: #E68491;
  /* Type (GOLA-182 section 2): 8 sizes, 1.25 ratio */
  --serif: "TDX Serif", "Serif Fallback", Georgia, serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: "TDX Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --fs-12: 0.75rem; --fs-14: 0.875rem; --fs-16: 1rem; --fs-20: 1.25rem; --fs-25: 1.5625rem; --fs-31: 1.9375rem; --fs-39: 2.4375rem; --fs-49: 3.0625rem;
  /* Radius: 4 (chips, inputs, labels), 8 (the raised tool surface), 999 only for toggle pills */
  --r-sm: 4px; --r-md: 8px; --r: 8px; --r-lg: 8px;
  /* v2 names, mapped onto the v2.1 ramp so older rules keep working */
  --bg-sunk: var(--surface-1);
  --surface: var(--surface-1);
  --surface-hover: var(--surface-2);
  --line: var(--hairline);
  --line-strong: var(--outline);
  --fg: var(--text-1);
  --fg-2: var(--text-2);
  --muted: var(--text-3);
  --accent-ink: var(--on-accent);
  --accent-soft: rgba(56, 189, 248, 0.12);
  --active-soft: transparent;
  --down: var(--text-3);
  --down-soft: transparent;
  --unknown: var(--text-2);
  --unknown-soft: transparent;
  --meter-on: var(--text-1);
  --meter-off: var(--hairline);
  --heat-0: var(--hairline);
  --heat-1: var(--outline);
  --heat-2: var(--text-3);
  --heat-3: var(--text-1);
  --shadow: none;
  --shadow-hover: none;
  --focus: var(--accent);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t: 0.15s;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    /* Light ramp: same navy hue (221 degrees). Proposed by the Product Designer; Marketing to confirm. */
    --bg: #F7F8FA; --surface-1: #EEF1F5; --surface-2: #E3E7EE; --hairline: #D5DAE3; --outline: #737D93;
    --text-1: #111A2E; --text-2: #2E3850; --text-3: #566079;
    --accent: #0369A1; --accent-hover: #075985; --on-accent: #FFFFFF; --accent-soft: rgba(3, 105, 161, 0.08);
    --active: #B42343;
    color-scheme: light;
  }
  .masthead { background: #111A2E; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font: 400 16px/1.55 var(--font); color: var(--fg-2); background: var(--bg);
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-wrap: break-word;
}
h1, h2, h3 { color: var(--fg); font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance; }
h1 { font-size: var(--fs-49); letter-spacing: -0.025em; margin: 0 0 0.5rem; }
h2 { font-size: var(--fs-20); margin: 2.5rem 0 0.75rem; }
h3 { font-size: var(--fs-16); }
p { text-wrap: pretty; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
code { font: 0.875em/1.5 var(--mono); overflow-wrap: anywhere; color: var(--fg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-sm); }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.25em; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 max(1.25rem, env(safe-area-inset-left)) 0 max(1.25rem, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; z-index: 10; }
.skip:focus { left: 1rem; top: 0.75rem; background: var(--surface); color: var(--fg); padding: 0.6rem 0.9rem; border-radius: var(--r-sm); }
.meta, .small { color: var(--muted); font-size: var(--fs-14); }
main { padding-top: 1.5rem; padding-bottom: 3rem; min-height: 60vh; }

/* Masthead: navy in both schemes, the brand moment */
.masthead { position: sticky; top: 0; z-index: 5; background: rgba(17, 26, 46, 0.88); border-bottom: 1px solid #303A4F;
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); }
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: 60px; }
.lockup { display: inline-flex; align-items: center; padding: 10px 0; border-radius: var(--r-sm); }
.lockup img { display: block; height: 24px; width: auto; }
@media (min-width: 768px) { .lockup img { height: 28px; } }
.nav { display: flex; gap: 0.25rem; margin-right: auto; }
.nav a { color: var(--text-2); text-decoration: none; font-size: var(--fs-16); font-weight: 500; padding: 0.5rem 0.75rem; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: #FFFFFF; background: #212C43; }
.nav a[aria-current="page"] { color: #FFFFFF; background: #212C43; }
.masthead :focus-visible { outline-color: #38BDF8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 44px; padding: 0 1.1rem; border-radius: var(--r-sm);
  font: 600 var(--fs-16)/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease); }

.btn-accent { background: #38BDF8; color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-quiet { background: var(--surface); color: var(--fg); border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--surface-2); }
.btn-sm { min-height: 40px; padding: 0 0.9rem; font-size: var(--fs-14); }
.btn-lg { min-height: 52px; padding: 0 1.5rem; font-size: var(--fs-16); }
.btn .i { width: 1.1em; height: 1.1em; }
.link-btn { background: none; border: 0; padding: 0.5rem 0.25rem; min-height: 44px; color: var(--accent); font: 500 var(--fs-16) var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; }
.cta { flex: none; color: var(--navy); font-size: var(--fs-14); }
@media (min-width: 768px) { .cta { font-size: var(--fs-16); } }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); color: #C2C8D6; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .i { width: 22px; height: 22px; }
.menu[open] summary { background: #212C43; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 6; min-width: 13rem; padding: 0.4rem; border-radius: var(--r-md); display: grid;
  background: var(--surface-2); box-shadow: 0 0 0 1px #6B7894; }
.menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 0.85rem; border-radius: var(--r-sm); color: var(--text-1); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: #212C43; }

/* Status pill: color + icon + word */
.pill { display: inline-flex; align-items: center; gap: 0.35rem; height: 26px; padding: 0 0.6rem 0 0.45rem; border-radius: 999px;
  font-size: var(--fs-14); font-weight: 600; letter-spacing: 0.005em; white-space: nowrap; }
.pill .i { width: 16px; height: 16px; stroke-width: 2; }
.pill-active { color: var(--active); background: var(--active-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--active) 35%, transparent); }
.pill-taken-down { color: var(--down); background: var(--down-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--down) 30%, transparent); }
.pill-unknown { color: var(--unknown); background: var(--unknown-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--unknown) 30%, transparent); }
.pill-unknown { box-shadow: none; border: 1px dashed var(--unknown); } /* Marketing tokens: Status unknown = amber, dashed outline */

/* Confidence: three segments and a word, no hue */
.conf { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--fs-14); font-weight: 600; color: var(--fg-2); white-space: nowrap; }
.meter { display: inline-flex; gap: 2px; align-items: flex-end; }
.meter i { display: block; width: 5px; border-radius: var(--r-sm); background: var(--meter-off); }
.meter i:nth-child(1) { height: 7px; } .meter i:nth-child(2) { height: 10px; } .meter i:nth-child(3) { height: 13px; }
.m1 i:nth-child(-n+1), .m2 i:nth-child(-n+2), .m3 i { background: var(--meter-on); }

/* Mini chain glyph */
.glyph { width: 64px; height: 12px; flex: none; overflow: visible; }
.glyph-line { stroke: var(--line-strong); stroke-width: 1.5; }
.glyph-node { fill: var(--surface); stroke: var(--muted); stroke-width: 1.5; }
.glyph-node.on { fill: var(--fg); stroke: var(--fg); }

/* Category label */
.cat { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-14); font-weight: 600; color: var(--muted); letter-spacing: 0.01em; }
.cat .i { color: var(--fg-2); }

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 0.6rem; border-radius: var(--r-sm); font-size: var(--fs-14); font-weight: 500;
  color: var(--fg-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.chip-os { color: var(--muted); background: transparent; }
.chips-lg .chip { height: 30px; font-size: var(--fs-14); }
.chip.is-hit { color: var(--accent-ink); background: var(--accent); box-shadow: none; }

/* Stack picker */
.stack { display: flex; flex-direction: column; margin-top: 1rem; padding: 1.25rem 1.4rem; border-radius: var(--r-md); background: var(--bg-sunk); box-shadow: inset 0 0 0 1px var(--line); }
.stack-head { display: flex; align-items: baseline; gap: 0.5rem 1.25rem; flex-wrap: wrap; }
.stack-head h2 { margin: 0; display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-16); }
.stack-head .i { color: var(--accent); }
.stack-note { margin: 0; font-size: var(--fs-14); color: var(--muted); }
.stack-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0.25rem; }
.toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.95rem; border-radius: 999px; cursor: pointer;
  font: 500 var(--fs-16) var(--font); color: var(--fg-2); background: var(--surface); border: 1px solid var(--line-strong);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease); }
.toggle:hover { border-color: var(--muted); }
.toggle[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.toggle[aria-pressed="true"]::before { content: ""; width: 0.5rem; height: 0.85rem; margin: -0.2rem 0.1rem 0 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.toggle-n { font-size: var(--fs-12); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.toggle[aria-pressed="true"] .toggle-n { color: inherit; opacity: 0.75; }
.stack-result { margin: 0.5rem 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 0 0.75rem; min-height: 44px; font-size: var(--fs-16); color: var(--fg-2); }
.stack-result strong { color: var(--fg); }
.try-btn { min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px dashed var(--accent); background: var(--accent-soft); color: var(--fg); font: 600 var(--fs-16) var(--font); cursor: pointer; }
.try-btn:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.stack-bars { margin: 0.75rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.stack-bars h3 { margin: 0 0 0.6rem; font-size: var(--fs-14); font-weight: 600; color: var(--muted); letter-spacing: 0.01em; }
.stack-bars ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.stack-bars li { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 2rem; align-items: center; gap: 0.6rem; font-size: var(--fs-14); color: var(--fg-2); }
.stack-bars svg { display: block; width: 100%; height: 8px; }
.stack-bars rect { fill: var(--heat-2); }
.stack-bars .n { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.stack-hits { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
.stack-hits a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.45rem 0.65rem; border-radius: var(--r-sm);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); text-decoration: none; font-size: var(--fs-14); font-weight: 500; }
.stack-hits a:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.stack-hits a > .i { color: var(--accent); }
.sh-title { line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stack-link { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; min-height: 44px; }

/* Sections */
.section { margin-top: 3.5rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h2 { margin: 0; font-size: var(--fs-25); display: inline-flex; align-items: center; gap: 0.6rem; }
.section-note { margin: 0; color: var(--muted); font-size: var(--fs-14); max-width: 36rem; }

/* Timeline */
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: var(--fs-14); color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 0.35rem; }
.lg { width: 16px; height: 16px; }
.lg-active { fill: var(--active); }
.lg-down { fill: var(--down); }
.lg-check { fill: none; stroke: var(--bg); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lg-unknown { fill: var(--unknown-soft); stroke: var(--unknown); stroke-width: 1.6; stroke-dasharray: 2.6 2; }
.tl-frame { padding: 1.25rem 1.25rem 0.75rem; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.tl { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.tl-narrow { display: none; }
.tl-lane { stroke: var(--line-strong); stroke-width: 1; }
.tl-tick { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.tl-today { stroke: var(--accent); stroke-width: 1.5; }
.tl-month { fill: var(--muted); font-size: 12px; font-weight: 500; }
.tl-today-label { fill: var(--accent); font-weight: 600; }
.tl-label { fill: var(--fg-2); font-size: var(--fs-14); font-weight: 600; }
.tl-none { fill: var(--muted); font-size: 12px; font-style: italic; }
.tl-group { fill: var(--text-3); font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.tl-lane-empty { stroke-dasharray: 3 5; }
.tl-span { stroke-width: 2; stroke-linecap: round; opacity: 0.22; }
.tl-hit { fill: transparent; }
.tl-dot { stroke-width: 2; transition: transform 0.2s var(--ease); transform-box: fill-box; transform-origin: center; }
.tl-glyph { fill: none; stroke: var(--surface); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.s-active .tl-dot { fill: var(--active); stroke: var(--active); }
.s-active .tl-span { stroke: var(--active); }
.s-taken-down .tl-dot { fill: var(--down); stroke: var(--down); }
.s-taken-down .tl-span { stroke: var(--down); }
.s-unknown .tl-dot { fill: var(--unknown-soft); stroke: var(--unknown); stroke-dasharray: 3 2.5; }
.s-unknown .tl-span { stroke: var(--unknown); }
.tl-mark { cursor: pointer; outline: none; }
.tl-mark:hover .tl-dot, .tl-mark:focus-visible .tl-dot { transform: scale(1.35); }
.tl-mark:focus-visible .tl-hit { stroke: var(--focus); stroke-width: 2; }
.tl-mark.is-hit .tl-hit { stroke: var(--accent); stroke-width: 2; fill: var(--accent-soft); }
.is-filtering .tl-mark:not(.is-hit) { opacity: 0.3; }
.tl-list { margin-top: 0.75rem; font-size: var(--fs-14); }
.tl-list summary { cursor: pointer; color: var(--accent); font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.tl-list ol { padding-left: 1.25rem; }
.tl-list li { margin: 0.35rem 0; }

/* Subscribe band */
.subscribe { margin-top: 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 2.25rem;
  border-radius: var(--r-md); background: #111A2E; box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35); }
.subscribe h2 { margin: 0 0 0.35rem; font-size: var(--fs-25); color: #FFFFFF; }
.subscribe p { margin: 0; color: var(--text-2); }

/* Live events (kept visibly separate) */
.live-section { padding: 1.5rem; border-radius: var(--r-md); border: 1px dashed var(--line-strong); }
.live-section .section-head h2 { font-size: var(--fs-20); }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 0.5rem; border-radius: var(--r-sm); font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--unknown); background: var(--unknown-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--unknown) 30%, transparent); }
.events { list-style: none; padding: 0; margin: 0; }
.event { border-bottom: 1px solid var(--line); padding: 0.75rem 0; }
.event p { margin: 0.2rem 0; }
.event-title { font-weight: 600; color: var(--fg); }
/* Full events page: context, facts, action and source link per event */
.event-what { color: var(--text-2); }
.event-facts { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0.5rem 0; padding: 0.5rem 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); font-size: var(--fs-14); }
.event-facts div { display: flex; gap: 0.4rem; align-items: baseline; min-width: 0; }
.event-facts dt { color: var(--text-3); }
.event-facts dd { margin: 0; color: var(--text-1); overflow-wrap: anywhere; }
.event-todo { font-size: var(--fs-14); color: var(--text-2); }
.event-todo strong { color: var(--text-1); font-weight: 600; }
.event-link { font-size: var(--fs-14); }
.event-link a::after { content: " ↗"; }
.stats-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0; }
.stat { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.1rem 0.5rem; font-size: var(--fs-14); }

/* Campaigns list */
.page-head { padding: 0.5rem 0 1.25rem; }
.filters { display: grid; gap: 1rem; margin: 0 0 1.5rem; padding: 1.25rem; border-radius: var(--r-md); background: var(--bg-sunk); box-shadow: inset 0 0 0 1px var(--line); }
.filters[hidden] { display: none; }
.filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters legend { padding: 0; margin-bottom: 0.5rem; font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.frow-split { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.fchips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fchip { position: relative; display: inline-flex; }
.fchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fchip > span { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 0.9rem; border-radius: 999px; cursor: pointer; user-select: none;
  font-size: var(--fs-16); font-weight: 500; color: var(--fg-2); background: var(--surface); border: 1px solid var(--line-strong);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease); }
.fchip > span:hover { border-color: var(--muted); }
.fchip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.fchip input:checked + span .toggle-n { color: inherit; opacity: 0.75; }
.fchip input:checked + span .meter i { background: color-mix(in srgb, var(--accent-ink) 30%, transparent); }
.fchip input:checked + span .m1 i:nth-child(-n+1), .fchip input:checked + span .m2 i:nth-child(-n+2), .fchip input:checked + span .m3 i { background: var(--accent-ink); }
.fchip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.fchip-active .i { color: var(--active); } .fchip-taken-down .i { color: var(--down); } .fchip-unknown .i { color: var(--unknown); }
.fchip input:checked + span .i { color: inherit; }
.fchip-sm > span { font-size: var(--fs-14); padding: 0 0.8rem; }
/* Option B: Developer / Workforce groups in the Attack vector filter. */
.fchips-group { align-items: center; }
.fchips-group + .fchips-group { margin-top: 0.6rem; }
.fgroup-k { min-width: 6.5rem; font-size: var(--fs-14); font-weight: 600; color: var(--muted); }
@media (max-width: 40rem) {
  .fgroup-k { flex-basis: 100%; min-width: 0; margin-top: 0.15rem; font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); }
  .fchips-group + .fchips-group { margin-top: 0.85rem; }
}
.fchip-zero > span { color: var(--muted); }
.fplat summary { list-style: none; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--fg); }
.fplat summary::-webkit-details-marker { display: none; }
.chev { transition: transform 0.2s var(--ease); color: var(--muted); }
.fplat[open] .chev { transform: rotate(90deg); }
.fplat-count { color: var(--accent); font-weight: 600; }
.fgroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem 2rem; padding: 0.75rem 0 0.25rem; }
.fdrawer-btn { display: none; }
.fdrawer-body { display: grid; gap: 1rem; }
.fbar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.fbar output { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
.fbar-scope { color: var(--muted); font-size: var(--fs-14); }
.sort { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-14); color: var(--muted); }
.sort select { font: 500 var(--fs-16) var(--font); color: var(--fg); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); min-height: 44px; padding: 0 0.75rem; }
.empty { padding: 2rem; text-align: center; color: var(--muted); border-radius: var(--r-md); border: 1px dashed var(--line-strong); }

/* Campaign detail */
.crumbs { display: flex; align-items: center; gap: 0.35rem; margin: 0 0 1rem; font-size: var(--fs-14); flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px; }
.crumbs a:hover { color: var(--accent); }
.crumbs > .i { width: 14px; height: 14px; color: var(--muted); }
.c-head h1 { font-size: var(--fs-49); max-width: 54rem; margin-bottom: 1rem; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; font-size: var(--fs-14); color: var(--fg-2); }
.fact { display: inline-flex; align-items: center; gap: 0.4rem; }
.fact > .i { color: var(--muted); width: 18px; height: 18px; }
.fact-k { color: var(--muted); margin-right: 0.15rem; }
.fact-sub { color: var(--muted); font-size: var(--fs-14); }
/* "Status unknown" explainer under the pill (GOLA-178). Stays visible on mobile, unlike .fact-sub. */
.fact-status { flex-wrap: wrap; flex-basis: 100%; }
.status-note { flex-basis: 100%; color: var(--muted); font-size: var(--fs-14); }
.fhelp { margin: 0.4rem 0 0; color: var(--muted); font-size: var(--fs-14); }
/* Pills with a tooltip sit above the card's stretched link so hovering shows the explainer. */
.fact-link { font-weight: 600; text-decoration-color: var(--line-strong); }
.answer { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }

.panel { padding: 1.25rem 1.4rem; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); min-width: 0; }
.panel-do { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface)); box-shadow: var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.panel-title { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.85rem; font-size: var(--fs-20); }
.panel-title .i { width: 22px; height: 22px; padding: 3px; border-radius: var(--r-sm); color: var(--accent); background: var(--accent-soft); stroke-width: 2.25; }
.panel-lede { margin: 0 0 0.6rem; color: var(--muted); font-size: var(--fs-16); }
.panel-more { margin: 0.75rem 0 0; font-size: var(--fs-14); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
.checks > li > span { min-width: 0; overflow-wrap: anywhere; }
.checks > li { display: grid; gap: 0.35rem; padding: 0.6rem 0.75rem 0.6rem 2.1rem; position: relative; border-radius: var(--r-sm); background: var(--bg-sunk); font-size: var(--fs-16); line-height: 1.45; color: var(--fg); }
.checks > li::before { content: ""; position: absolute; left: 0.75rem; top: 0.82rem; width: 0.8rem; height: 0.8rem; border-radius: 4px; border: 1.5px solid var(--muted); }
.checks-ioc > li { gap: 0.15rem; padding-top: 0.5rem; padding-bottom: 0.4rem; }
.checks-ioc .ioc-type { justify-self: start; }
.cmd { display: flex; align-items: center; gap: 0.25rem; min-width: 0; }
.ro { flex: none; align-self: center; font-size: var(--fs-12); font-weight: 600; color: var(--down); padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--down-soft); white-space: nowrap; }
.cmd code { flex: 1; min-width: 0; padding: 0.15rem 0; font-size: var(--fs-14); }
.ioc-type { display: inline-block; font: 600 var(--fs-12)/1.6 var(--mono); padding: 0 0.4rem; border-radius: var(--r-sm); color: var(--muted); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.copy { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); border: 0; background: transparent; color: var(--muted); cursor: pointer; position: relative; }
.copy::before { content: ""; position: absolute; inset: -4px; }
.copy:hover { background: var(--surface-2); color: var(--fg); }
.copy.is-done { color: var(--down); }
.copy .i { width: 18px; height: 18px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 0.5rem; }
.steps > li { counter-increment: step; position: relative; padding: 0.55rem 0.75rem 0.55rem 2.6rem; border-radius: var(--r-sm); background: color-mix(in srgb, var(--bg-sunk) 70%, transparent); color: var(--fg); font-size: var(--fs-16); line-height: 1.45; font-weight: 500; }
.steps > li::before { content: counter(step); position: absolute; left: 0.65rem; top: 0.55rem; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-size: var(--fs-12); font-weight: 700; font-variant-numeric: tabular-nums; }
.steps-all > li { font-weight: 400; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.block { margin-top: 3rem; }
.block > h2, .block-head h2 { margin: 0 0 1rem; font-size: var(--fs-25); }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.block-head h2 { margin-bottom: 0.5rem; }
.dl { display: flex; gap: 0.5rem; margin: 0; }
.lede { font-size: var(--fs-20); line-height: 1.55; color: var(--fg); max-width: 48rem; margin: 0 0 0.75rem; }
.risk { margin: 0 0 1rem; max-width: 48rem; }
.risk-k { font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-right: 0.4rem; }

/* Attack chain flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem; counter-reset: node; }
.node { position: relative; padding: 1.15rem 1.15rem 1rem; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); font-size: var(--fs-16); }
.node:not(:last-child)::after { content: ""; position: absolute; top: 2.05rem; right: -2.25rem; width: 2.25rem; height: 2px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 40%, transparent)); }
.node:not(:last-child)::before { content: ""; position: absolute; top: calc(2.05rem - 4px); right: -0.6rem; width: 8px; height: 8px; border: solid var(--accent); border-width: 2px 2px 0 0; transform: rotate(45deg); z-index: 1; }
.node-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); margin-bottom: 0.75rem; }
.node-icon .i { width: 24px; height: 24px; }
.node h3 { margin: 0 0 0.35rem; font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.node p, .node ul { margin: 0; line-height: 1.5; color: var(--fg); }
.node ul { padding-left: 1.1rem; }
.node li + li { margin-top: 0.35rem; }
.node-empty { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.node-empty .node-icon { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.node-empty p { color: var(--muted); }
.node-date { margin-top: 0.75rem !important; padding-top: 0.6rem; border-top: 1px solid var(--line); font-size: var(--fs-14); color: var(--muted) !important; font-variant-numeric: tabular-nums; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.events-tl { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 2px solid var(--line); display: grid; gap: 0.85rem; }
.ev { position: relative; display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem; font-size: var(--fs-16); }
.ev::before { content: ""; position: absolute; left: calc(-1.1rem - 6px); top: 0.4rem; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.ev-first::before { border-color: var(--accent); background: var(--accent); }
.ev-last::before { border-color: var(--fg); background: var(--fg); }
.ev-checked::before { border-style: dashed; }
.ev time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: var(--fs-14); }
.ev span { color: var(--fg-2); }
.related { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.related a { display: grid; gap: 0.4rem; padding: 0.85rem 1rem; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--fg); transition: box-shadow 0.2s var(--ease); }
.related a:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); }
.related a:hover .rel-title { color: var(--accent); }
.rel-top { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-14); color: var(--muted); }
.rel-top > .i { color: var(--accent); }
.rel-why { margin-right: auto; font-weight: 600; }
.rel-title { font-size: var(--fs-16); font-weight: 600; line-height: 1.35; }

.table-scroll { overflow-x: auto; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-16); }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 0.55rem 0.9rem; vertical-align: middle; }
th { font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.iocs td:first-child { width: 1%; white-space: nowrap; }
.copy-cell { width: 1%; padding: 0.25rem 0.5rem; }
.conf-explain { display: flex; align-items: flex-start; gap: 1rem; max-width: 52rem; }
.conf-explain .conf { padding-top: 0.2rem; }
.conf-explain p { margin: 0; }
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.sources li { display: grid; gap: 0.1rem; }
.notes li + li { margin-top: 0.4rem; }
.corrections time { font-weight: 600; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share-k { font-weight: 600; color: var(--muted); margin-right: 0.5rem; }

/* Other pages keep working with the base styles */
.hero { padding: 1rem 0; }
.scale dt { margin-top: 1rem; }
.scale dd { margin-left: 0; }
.results { list-style: none; padding: 0; }
.results li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.filters label { color: var(--muted); font-size: var(--fs-14); }
.filters input[type="search"], .filters input[type="date"], .filters select:not(.sort select) { font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); min-height: 44px; padding: 0 0.75rem; }
#search-form, #live-filters { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: end; }
#search-form label, #live-filters label { display: flex; flex-direction: column; gap: 0.25rem; }
.filters input[type="search"] { min-width: min(24rem, 100%); }
.conf-high, .conf-moderate, .conf-low { font-weight: 600; }

/* Footer */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-14); padding-top: 1.5rem; padding-bottom: 2.5rem; }
.foot a { color: var(--fg-2); }

/* Responsive */
@media (max-width: 68rem) {
}
/* Header: six nav links plus the CTA need about 1010px, so the compact menu takes over at 64rem (was 56rem, which overflowed at 896 to 935px). */
@media (max-width: 64rem) {
  .nav { display: none; }
  .menu { display: block; }
  .bar { gap: 0.5rem; }
  .lockup { margin-right: auto; }
}
@media (max-width: 56rem) {
  .answer { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .masthead { position: static; }
}
@media (max-width: 40rem) {
  body { font-size: var(--fs-16); }
  main { padding-top: 1rem; }
  .bar { min-height: 56px; }
  .stack { padding: 1rem; border-radius: var(--r-md); }
  .stack-chips { gap: 0.4rem; }
  .stack-bars { display: none; }
  .toggle { padding: 0 0.8rem; font-size: var(--fs-14); }
  .section { margin-top: 2.5rem; }
  .section-head h2 { font-size: var(--fs-20); }
  .tl-wide { display: none; }
  .tl-narrow { display: block; }
  .tl-frame { padding: 0.75rem 0.5rem 0.5rem; border-radius: var(--r-md); }
  .subscribe { padding: 1.5rem; }
  .subscribe .btn { width: 100%; }
  .filters { padding: 0.5rem 1rem 0.75rem; gap: 0.5rem; }
  .fdrawer-btn { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 var(--fs-16) var(--font); color: var(--fg); }
  .filters.is-open .fdrawer-btn .chev { transform: rotate(90deg); }
  .fdrawer-body { display: none; padding: 0.25rem 0 0.75rem; }
  .filters.is-open .fdrawer-body { display: grid; }
  .fbar { padding-top: 0.5rem; }
  .page-head { padding-bottom: 0.75rem; }
  .page-head .board-sub { display: none; }
  .fchips { gap: 0.4rem; }
  .sort { margin-left: 0; }
  .c-head h1 { font-size: var(--fs-25); margin-bottom: 0.75rem; line-height: 1.25; }
  .crumbs { margin-bottom: 0.5rem; }
  .facts { gap: 0.5rem 0.9rem; font-size: var(--fs-14); }
  .fact-sub { display: none; }
  .fact-seen { display: none; }
  .fact-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .c-head h1 { font-size: var(--fs-20); }
  /* Commands stay whole: they scroll sideways instead of being cut, so what you see is what you copy. */
  .panel-check .cmd code { white-space: pre; overflow-x: auto; overflow-wrap: normal; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
  .answer { margin-top: 1rem; gap: 0.75rem; }
  .panel { padding: 1rem; border-radius: var(--r-md); }
  .panel-title { font-size: var(--fs-16); margin-bottom: 0.6rem; }
  .checks > li, .steps > li { font-size: var(--fs-14); }
  .checks { gap: 0.35rem; }
  .checks > li { padding-top: 0.45rem; padding-bottom: 0.45rem; gap: 0.15rem; }
  .checks > li::before { top: 0.68rem; }
  .cmd .copy { width: 32px; height: 32px; }
  .facts { gap: 0.4rem 0.9rem; }
  .ev { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .pill, .chip, .toggle, .fchip > span, .panel, .node { border: 1px solid CanvasText; }
  .meter i { background: GrayText; } .m1 i:nth-child(-n+1), .m2 i:nth-child(-n+2), .m3 i { background: CanvasText; }
}

/* "Am I affected?" fold: only on phones (Claude review 1). */
.fold-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fold-row { display: none; }
@media (max-width: 430px) {
  .answer { display: flex; flex-direction: column; }
  .answer .panel-do { order: -1; }
  .panel-check .panel-title { margin-bottom: 0.5rem; }
  .fold-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 44px; padding: 0 0.75rem; border-radius: var(--r-sm);
    background: var(--bg-sunk); color: var(--fg); font-weight: 600; font-size: var(--fs-16); cursor: pointer; }
  .fold-row .chev { transition: transform 0.2s var(--ease); color: var(--muted); }
  .fold-toggle:focus-visible + .fold-row { outline: 2px solid var(--focus); outline-offset: 2px; }
  .fold-toggle:not(:checked) ~ .checks, .fold-toggle:not(:checked) ~ .fold-body { display: none; }
  .fold-toggle:checked + .fold-row { margin-bottom: 0.5rem; }
  .fold-toggle:checked + .fold-row .chev { transform: rotate(90deg); }
}

/* Review 2: campaigns without the Editor's fields lead with "Do this now";
   the second column summarizes the indicators. */
.answer-single { grid-template-columns: minmax(0, 1fr); }
.answer-do-first .panel-do { order: -1; }
.ioc-sum { list-style: none; margin: 0 0 0.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ioc-sum li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.5rem 0.25rem 0.3rem; border-radius: 8px; background: var(--bg-sunk); }
.ioc-n { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--fg); }
.ioc-dl { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 0; }
.ioc-all { margin-left: auto; font-size: var(--fs-14); min-height: 44px; display: inline-flex; align-items: center; }



/* ==========================================================================
   v2.1 layout (GOLA-183): an intelligence briefing, not a dashboard kit.
   Two container styles only: open sections (hairline top rule) and one raised
   surface for interactive tools (Check your stack, Am I affected, filters).
   No drop shadows, no lift on hover, motion is state change only (<= 150 ms).
   ========================================================================== */

/* Type roles */
body { font: 400 var(--fs-16)/1.6 var(--font); color: var(--text-2); font-feature-settings: "cv11"; }
h1, h2, .card-title, .ledger b, .lead-story a { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
h1 { font-size: var(--fs-49); line-height: 1.1; color: var(--text-1); }
h2 { font-size: var(--fs-31); line-height: 1.2; color: var(--text-1); }
h3 { font-family: var(--font); font-size: var(--fs-16); font-weight: 600; letter-spacing: 0; }
time, code, .ioc-type, .seen, .node-date, .ev time, .kicker time, .lead-story time, .num, .spark-end, .toggle-n, .fbar output { font-family: var(--mono); font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.meta, .small { font-size: var(--fs-14); color: var(--text-3); }
a { color: var(--accent); text-underline-offset: 3px; transition: color var(--t) ease; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-sm); }

/* Masthead: short CTA on phones */
.nav a { border-radius: var(--r-sm); color: #C2C8D6; font-size: var(--fs-16); }
.nav a:hover { background: transparent; color: #EEF1F6; text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current="page"] { background: transparent; color: #EEF1F6; box-shadow: inset 0 -2px 0 #EEF1F6; border-radius: 0; }
.btn { border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-16); transition: background-color var(--t) ease, border-color var(--t) ease; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-quiet { background: transparent; color: var(--text-1); border-color: var(--outline); }
.btn-quiet:hover { background: var(--surface-2); }
.btn-sm { font-size: var(--fs-14); }
.cta { color: var(--on-accent); font-size: var(--fs-16); }
.menu-panel { border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--outline); }

/* Status: Active is the only colored state (GOLA-182 section 4). Word + non-color cue on all three. */
.pill { height: 24px; gap: 0.4rem; padding: 0 0.5rem; border-radius: var(--r-sm); font: 500 var(--fs-14)/1 var(--font); letter-spacing: 0; background: transparent; }
.pill .i { width: 14px; height: 14px; stroke-width: 2; }
.pill-active { color: var(--active); box-shadow: inset 0 0 0 1px var(--active); }
.pill-taken-down { color: var(--text-3); box-shadow: inset 0 0 0 1px var(--outline); }
.pill-unknown { color: var(--text-2); box-shadow: none; border: 1px dashed var(--outline); }
.conf { font-weight: 500; font-size: var(--fs-14); }

/* Chain glyph (GOLA-182 section 5): currentColor, never accent, never dashed */
.glyph { width: 64px; height: 16px; flex: none; color: var(--text-1); overflow: visible; }
.glyph-line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.glyph-node { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.glyph-node.on { fill: currentColor; stroke: currentColor; }

/* Chips become plain platform tokens: text, not boxes */
.chips { gap: 0 0.75rem; }
.chip { height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; font-size: var(--fs-14); font-weight: 400; color: var(--text-3); }
.chip-os { color: var(--text-3); }
.chips-lg .chip { height: auto; font-size: var(--fs-16); color: var(--text-2); }
.chip.is-hit { background: none; color: var(--text-1); box-shadow: inset 0 -2px 0 var(--accent); }

/* Sections: open, hairline top rule, serif heading. No boxes. */
.section { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); }
.section-head { margin-bottom: 1.5rem; }
.section-head h2 { font-size: var(--fs-31); gap: 0; }
.section-note { font-size: var(--fs-14); color: var(--text-3); max-width: 40rem; }
.more { margin: 1.5rem 0 0; }

/* Home: the brief (hero = the news) */
main.wrap { padding-top: 3rem; }
.board { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "brief stack" "ledger ledger"; gap: 2.5rem 4rem; align-items: start; }
.board > .brief { grid-area: brief; }
.board > .ledger { grid-area: ledger; }
.board > .stack { grid-area: stack; }
.kicker { margin: 0 0 1rem; font: 500 var(--fs-14)/1.4 var(--font); color: var(--text-3); }
.brief-tag { margin: 0 0 0.5rem; font: 500 var(--fs-14)/1.4 var(--font); color: var(--text-3); }
.brief h1 { margin: 0 0 1rem; max-width: 20ch; }
.dek { margin: 0; font-size: var(--fs-20); line-height: 1.5; color: var(--text-2); max-width: 36rem; }
.lead-story { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--hairline); display: grid; gap: 0.35rem; max-width: 40rem; }
.lead-k { font: 500 var(--fs-14)/1.4 var(--font); color: var(--text-3); }
.lead-story a { font-size: var(--fs-25); line-height: 1.25; color: var(--text-1); text-decoration: none; }
.lead-story a:hover { color: var(--text-1); text-decoration: underline; text-decoration-color: var(--accent); }
.lead-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.25rem; }
.lead-facts time { font-size: var(--fs-14); color: var(--text-3); }
.defenses { margin-top: 2rem; max-width: 40rem; }
.defenses-h { margin: 0 0 0.5rem; font: 600 var(--fs-16)/1.4 var(--font); color: var(--text-1); letter-spacing: 0; }
.defenses ol { margin: 0; padding-left: 1.5rem; display: grid; gap: 0.35rem; }
.defenses li::marker { font-family: var(--mono); color: var(--text-3); }
.defenses-more { margin: 1rem 0 0; }

/* Ledger line (replaces the KPI tiles) */
.ledger { padding: 1.25rem 0 0; border-top: 1px solid var(--hairline); }
.ledger ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0; }
.ledger li { display: flex; align-items: baseline; }
.ledger li + li::before { content: "·"; margin: 0 1rem; color: var(--text-3); }
.ledger a { display: inline-flex; align-items: baseline; gap: 0.5rem; min-height: 44px; color: var(--text-2); text-decoration: none; font-size: var(--fs-16); }
.ledger a:hover { color: var(--text-1); text-decoration: underline; text-decoration-color: var(--accent); }
.ledger b { font-size: var(--fs-39); line-height: 1; color: var(--text-1); font-variant-numeric: lining-nums tabular-nums; }
.ledger-active b { color: var(--active); }
.ledger-note { margin: 0.75rem 0 0; font-size: var(--fs-14); color: var(--text-3); max-width: 48rem; }

/* Check your stack: the one raised surface on the page */
.stack { margin-top: 0; padding: 1.5rem; border-radius: var(--r-md); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--hairline); }
.stack-head h2 { font-size: var(--fs-25); gap: 0; }
.stack-note { font-size: var(--fs-14); color: var(--text-3); margin-top: 0.35rem; }
.toggle { font-size: var(--fs-14); background: transparent; border-color: var(--outline); color: var(--text-2); transition: background-color var(--t) ease, color var(--t) ease, border-color var(--t) ease; }
.toggle:hover { border-color: var(--text-2); }
.toggle[aria-pressed="true"] { background: var(--text-1); border-color: var(--text-1); color: var(--bg); }
.toggle-n { font-size: var(--fs-12); color: var(--text-3); }
.try-btn { border-radius: 999px; border: 1px dashed var(--outline); background: transparent; color: var(--text-1); font-size: var(--fs-14); font-weight: 500; }
.try-btn:hover { background: var(--surface-2); }
.stack-bars { border-top-color: var(--hairline); }
.stack-bars h3 { font-size: var(--fs-14); font-weight: 500; color: var(--text-3); }
.stack-bars li { font-size: var(--fs-14); }
.stack-bars rect { fill: var(--text-3); }
.stack-hits a { border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--hairline); padding: 0.6rem 0; font-size: var(--fs-14); }
.stack-hits a:hover { box-shadow: none; }
.stack-hits a > .i { color: var(--text-3); }

/* Attack surface: one compact table */
.surface-wrap { border-radius: 0; box-shadow: none; background: none; }
.vectors { min-width: 44rem; }
.vectors th[scope="row"] { font: 500 var(--fs-16)/1.4 var(--font); text-transform: none; letter-spacing: 0; background: none; }
.vectors th[scope="row"] a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; color: var(--text-1); font-weight: 500; text-decoration: none; }
.vectors th[scope="row"] a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.vectors th[scope="row"] .i { color: var(--text-3); width: 18px; height: 18px; }
.vectors .num { text-align: right; width: 1%; white-space: nowrap; color: var(--text-1); }
.vectors td.is-active { color: var(--active); }
.vectors .vgroup-row th { padding-top: 1rem; font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); background: none; }
/* Campaign page: legitimate tool, command and approval notices, follow-on payloads, confidence cap. */
/* 8o: the notice is a key safety line, so it sits in its own box at full text color (AA in both schemes). */
.node .artifact-notice { margin-top: 0.75rem; padding: 0.7rem 0.85rem 0.75rem; border-radius: var(--r-md); background: var(--bg); box-shadow: inset 0 0 0 1px var(--outline); }
.node .artifact-notice + .artifact-notice { margin-top: 0.5rem; }
.node .artifact-tag { display: inline-flex; align-items: center; margin: 0 0 0.45rem; padding: 0.1rem 0.5rem; border-radius: var(--r-sm); background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-1); line-height: 1.6; }
.node .artifact-note { margin: 0; font-size: var(--fs-14); line-height: 1.55; color: var(--text-1); }
/* 8n: follow-on payloads. Kind as a quiet label; one hash per line with its own copy button. */
.follow-on { list-style: none; padding: 0; margin: 0; }
.follow-on > li { padding: 0.75rem 0; border-bottom: 1px solid var(--hairline); }
.follow-on .fo-head { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; color: var(--text-1); }
.follow-on .fo-kind { font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.02em; color: var(--text-2); padding: 0 0.45rem; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--outline); }
.fo-hashes { list-style: none; margin: 0.45rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.fo-hashes .cmd { align-items: flex-start; gap: 0.6rem; padding: 0.3rem 0.25rem 0.3rem 0.6rem; border-radius: var(--r-sm); background: var(--surface); }
.fo-hash-k { flex: none; padding-top: 0.3rem; font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.04em; color: var(--text-3); }
.fo-hashes code { flex: 1; min-width: 0; padding: 0.2rem 0; word-break: break-all; font-size: var(--fs-14); }
.follow-on .meta { margin: 0.4rem 0 0; }
.conf-cap { font-weight: 600; }
.spark { width: 10rem; white-space: nowrap; }
.spark svg { width: 7.5rem; height: 24px; vertical-align: middle; overflow: visible; }
.spark polyline { fill: none; stroke: var(--text-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark circle { fill: var(--text-1); }
.spark-end { margin-left: 0.5rem; font-size: var(--fs-14); color: var(--text-1); }
.newest { font-size: var(--fs-14); min-width: 16rem; }
.vectors thead .num { text-align: right; font-family: var(--font); }
.vectors tbody tr:last-child > * { border-bottom: 1px solid var(--hairline); }
/* The whole cell (title and date) is one link, at least 44px tall. */
.newest a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; color: var(--text-2); text-decoration: none; line-height: 1.4; }
.newest a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-sm); }
.newest a:hover { color: var(--text-1); }
.newest a:hover .newest-t { text-decoration: underline; text-decoration-color: var(--accent); }
.newest time { font-size: var(--fs-12); color: var(--text-3); }

/* Tables: hairlines, sentence-case headers */
.table-scroll { border-radius: 0; box-shadow: none; background: none; }
table { font-size: var(--fs-16); }
th, td { border-bottom: 1px solid var(--hairline); padding: 0.6rem 1rem 0.6rem 0; }
thead th { font: 500 var(--fs-14)/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-3); background: none; }
tbody tr:hover td, tbody tr:hover th { background: none; }

/* Timeline: open frame, status by shape + the one color */
.tl-frame { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.tl-month { font-family: var(--mono); font-weight: 400; fill: var(--text-3); }
.tl-label { fill: var(--text-2); font-weight: 500; font-size: 14px; }
.tl-none { font-style: normal; fill: var(--text-3); }
.tl-tick { stroke: var(--hairline); }
.tl-lane { stroke: var(--hairline); }
.tl-dot { transition: none; }
.tl-mark:hover .tl-dot, .tl-mark:focus-visible .tl-dot { transform: none; stroke-width: 3; }
.s-taken-down .tl-dot { fill: var(--text-3); stroke: var(--text-3); }
.s-taken-down .tl-span { stroke: var(--text-3); }
.s-unknown .tl-dot { fill: var(--bg); stroke: var(--text-2); stroke-dasharray: 3 2.5; }
.s-unknown .tl-span { stroke: var(--text-2); }
.tl-glyph { stroke: var(--bg); }
.lg-down { fill: var(--text-3); }
.lg-unknown { fill: none; stroke: var(--text-2); }
.legend { font-size: var(--fs-14); color: var(--text-3); }
.tl-mark.is-hit .tl-hit { stroke: var(--accent); fill: none; }

/* Campaign cards (v2 markup, v2.1 treatment): hairline above each card, no ring, no shadow */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; }
.card { position: relative; display: flex; border-top: 1px solid var(--hairline); transition: opacity var(--t) ease; }
.card[hidden] { display: none; }
.card-body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem 0 2rem; width: 100%; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.card-top .pill[title] { position: relative; z-index: 1; }
.card-title { margin: 0; font: 600 var(--fs-20)/1.3 var(--serif); letter-spacing: -0.01em; }
.card-title a, .stretch { color: var(--text-1); text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: var(--r-sm); }
.card:hover .card-title a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lines { margin: 0; display: grid; gap: 0.6rem; }
.line { display: grid; gap: 0.1rem; }
.line dt { font: 500 var(--fs-14)/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-3); }
.line dd { margin: 0; font-size: var(--fs-16); line-height: 1.5; color: var(--text-2); }
.line-do dt { color: var(--text-3); }
.line-do dd { color: var(--text-1); font-weight: 500; }
.card-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.75rem; }
.seen { margin-left: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-size: var(--fs-14); color: var(--text-3); }
.seen .i { display: none; }
.match { position: relative; z-index: 1; margin: 0; display: inline-flex; align-self: flex-start; padding-left: 0.6rem; box-shadow: inset 2px 0 0 var(--accent); color: var(--text-1); font: 500 var(--fs-14)/1.4 var(--font); }
.match[hidden] { display: none; }
.is-hit.card { border-top-color: var(--accent); box-shadow: inset 0 1px 0 var(--accent); }
.is-dim { opacity: 0.5; }
.is-dim:hover, .is-dim:focus-within { opacity: 1; }

/* Campaigns list: filters are a tool, so they get the raised surface */
.page-head h1 { font-size: var(--fs-49); }
.board-sub { font-size: var(--fs-20); color: var(--text-2); }
.filters { border-radius: var(--r-md); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--hairline); }
.filters legend { font: 500 var(--fs-14)/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-3); }
.fchip > span { font-size: var(--fs-14); background: transparent; border-color: var(--outline); transition: background-color var(--t) ease, color var(--t) ease, border-color var(--t) ease; }
.fchip input:checked + span { background: var(--text-1); border-color: var(--text-1); color: var(--bg); }
.fchip-active .i { color: var(--active); } .fchip-taken-down .i, .fchip-unknown .i { color: var(--text-3); }
.fplat-count { color: var(--text-1); }
.sort select { border-radius: var(--r-sm); background: transparent; border-color: var(--outline); }
.empty { border-radius: var(--r-md); border-color: var(--outline); }

/* Subscribe: open band, the promise line lives here now */
.subscribe { margin-top: 4rem; padding: 2rem 0 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--hairline); }
.sub-k { margin: 0 0 0.5rem !important; font: 500 var(--fs-14)/1.4 var(--font); color: var(--text-3) !important; }
.subscribe h2 { font-size: var(--fs-31); color: var(--text-1); }
.subscribe p { color: var(--text-2); max-width: 40rem; }

/* Live events: separate and unverified, but not loud */
.live-section { padding: 1.5rem 0 0; border: 0; border-top: 1px dashed var(--outline); border-radius: 0; }
.live-section .section-head h2 { font-size: var(--fs-25); gap: 0.75rem; }
.badge { height: 24px; border-radius: var(--r-sm); font: 500 var(--fs-14)/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-2); background: none; box-shadow: none; border: 1px dashed var(--outline); font-family: var(--font); }
.stat { border-radius: var(--r-sm); }

/* Campaign detail */
.crumbs a { color: var(--text-3); }
.c-head h1 { font-size: var(--fs-49); max-width: 40rem; margin-bottom: 1.25rem; }
.facts { font-size: var(--fs-14); gap: 0.5rem 1.5rem; }
.fact > .i { display: none; }
.fact-k { color: var(--text-3); }
.status-note { font-size: var(--fs-14); color: var(--text-3); }
.fact-link { font-weight: 500; }
.answer { margin-top: 2rem; gap: 1.5rem; }
.panel { padding: 1.5rem; border-radius: var(--r-md); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--hairline); }
.panel-do { background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--outline); }
.panel-title { font: 600 var(--fs-25)/1.25 var(--serif); letter-spacing: -0.01em; margin-bottom: 1rem; }
.panel-lede { font-size: var(--fs-14); color: var(--text-3); }
.panel-more { font-size: var(--fs-14); }
.checks > li { border-radius: 0; background: none; padding: 0.6rem 0 0.6rem 1.75rem; border-top: 1px solid var(--hairline); font-size: var(--fs-16); color: var(--text-1); }
.checks > li::before { left: 0; border-radius: 2px; border-color: var(--outline); }
.ro { border-radius: var(--r-sm); background: none; box-shadow: inset 0 0 0 1px var(--outline); color: var(--text-3); font-weight: 500; }
.ioc-type { border-radius: var(--r-sm); font-weight: 400; background: none; box-shadow: inset 0 0 0 1px var(--hairline); color: var(--text-3); font-size: var(--fs-12); }
.copy { border-radius: var(--r-sm); width: 44px; height: 44px; }
.steps { gap: 0; }
.steps > li { border-radius: 0; background: none; padding: 0.65rem 0 0.65rem 2rem; border-top: 1px solid var(--hairline); font-size: var(--fs-16); font-weight: 500; color: var(--text-1); }
.steps > li::before { left: 0; top: 0.7rem; width: auto; height: auto; display: block; background: none; color: var(--text-3); border-radius: 0; font: 400 var(--fs-14)/1.6 var(--mono); }
.steps-all > li { font-weight: 400; background: none; box-shadow: none; }
.block { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); }
.block > h2, .block-head h2 { font-size: var(--fs-31); margin-bottom: 1.25rem; }
.lede { font-size: var(--fs-20); line-height: 1.5; color: var(--text-1); }
.risk-k { font: 600 var(--fs-16)/1.6 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-1); }

/* Attack chain: the chain glyph is the connector. One rule, four nodes; filled = known. */
.flow { gap: 2rem; position: relative; padding-top: 1.75rem; }
.flow::before { content: ""; position: absolute; top: 7px; left: 7px; right: calc(25% - 7px); height: 0; border-top: 1.5px solid var(--text-1); }
.node { padding: 0; border-radius: 0; background: none; box-shadow: none; font-size: var(--fs-16); }
.node::before, .node:not(:last-child)::before { content: ""; position: absolute; top: -1.75rem; left: 0; right: auto; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--text-1); background: var(--text-1); transform: none; z-index: 1; }
.node::after, .node:not(:last-child)::after { display: none; content: none; }
.node-empty::before, .node-empty:not(:last-child)::before { background: var(--bg); }
.node h3 { margin: 0 0 0.5rem; font: 600 var(--fs-16)/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-1); }
.node p, .node ul { color: var(--text-2); }
.node-empty { background: none; box-shadow: none; }
.node-empty p { color: var(--text-3); }
.node-date { border-top-color: var(--hairline); font-size: var(--fs-14); color: var(--text-3) !important; }

/* Timeline and related */
.events-tl { border-left-color: var(--hairline); }
.ev { grid-template-columns: 8.5rem 1fr; font-size: var(--fs-16); }
.ev time { font-size: var(--fs-14); color: var(--text-3); }
.ev::before { border-color: var(--text-3); }
.ev-first::before { border-color: var(--text-1); background: var(--text-1); }
.related { gap: 0; }
.related a { border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--hairline); padding: 0.85rem 0; }
.related a:hover { box-shadow: none; }
.related a:hover .rel-title { color: var(--text-1); text-decoration: underline; text-decoration-color: var(--accent); }
.rel-top > .i { color: var(--text-3); }
.rel-why { font-weight: 500; }
.rel-title { font: 600 var(--fs-20)/1.3 var(--serif); }
.share { border-top-color: var(--hairline); }
.foot { border-top-color: var(--hairline); color: var(--text-3); font-size: var(--fs-14); }

/* Tablet */
@media (max-width: 68rem) {
  .board { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brief" "ledger" "stack"; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}
/* Phone (390 wide): same order as desktop, stacked */
@media (max-width: 40rem) {
  body { font-size: var(--fs-16); }
  main.wrap { padding-top: 1.5rem; }
  h1, .brief h1, .c-head h1, .page-head h1 { font-size: var(--fs-31); line-height: 1.15; }
  h2, .section-head h2, .block > h2, .block-head h2, .subscribe h2 { font-size: var(--fs-25); }
  .board { display: flex; flex-direction: column; gap: 0; }
  .board > .brief { display: contents; }
  .brief > * { order: 0; }
  .board > .ledger { order: 1; margin-top: 2rem; }
  .brief > .defenses, .brief > .defenses-more { order: 2; }
  .board > .stack { order: 3; margin-top: 2rem; }
  .dek { font-size: var(--fs-16); }
  .ledger ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .ledger li + li::before { content: none; }
  .ledger a { flex-direction: column; gap: 0.15rem; padding: 0.5rem 0; font-size: var(--fs-14); }
  .ledger b { font-size: var(--fs-31); }
  .stack { padding: 1.25rem; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 0; padding-left: 2rem; }
  .flow::before { top: 7px; bottom: 7px; left: 7px; right: auto; height: auto; border-top: 0; border-left: 1.5px solid var(--text-1); }
  .node::before, .node:not(:last-child)::before { top: 0.15rem; left: -2rem; }
  .ev { grid-template-columns: 1fr; }
  .panel { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media (forced-colors: active) {
  .pill, .panel, .stack, .filters { border: 1px solid CanvasText; }
  .glyph-node.on, .node::before { background: CanvasText; fill: CanvasText; }
}
@media (max-width: 40rem) {
  .vectors { min-width: 0; }
  .vectors th:nth-child(n+4), .vectors td:nth-child(n+4) { display: none; }
}
/* ---- v2.2 (GOLA-188, GOLA-191). The 15 px merge ships in v2-1-qa-fixes, not here. ---- */
/* T7 superseded 16 Nov (owner): the header button says "Subscribe" at every width. */

/* T4: dossier rows. The li keeps .card.campaign-item for the JS and tests; .rows resets the card. */
.rows { list-style: none; margin: 0; padding: 0; }
.rows-head, .row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 9.5rem 4.5rem 2.75rem; grid-template-areas: "date main status chain more" ". brief brief brief brief"; column-gap: 1.5rem; align-items: start; }
.rows-head { padding: 0 0 0.5rem; white-space: nowrap; font: 500 var(--fs-14)/1.4 var(--font); color: var(--text-3); border-bottom: 1px solid var(--hairline); }
.rows-head :nth-child(1) { grid-area: date; } .rows-head :nth-child(2) { grid-area: main; } .rows-head :nth-child(3) { grid-area: status; } .rows-head :nth-child(4) { grid-area: chain; }
.rows > .campaign-item { position: relative; display: block; border-top: 0; border-bottom: 1px solid var(--hairline); box-shadow: none; }
.rows > .campaign-item[hidden] { display: none; }
.rows > .is-hit.campaign-item { box-shadow: none; }
.rows > .is-hit.campaign-item::before { content: ""; position: absolute; left: -0.75rem; top: 1.25rem; bottom: 1.25rem; width: 2px; background: var(--accent); }
.row { position: relative; padding: 1.25rem 0; }
.row > p { margin: 0; }
.row-date { grid-area: date; padding-top: 0.3rem; font-size: var(--fs-14); color: var(--text-3); }
.row-main { grid-area: main; min-width: 0; }
.row-title { margin: 0; font: 600 var(--fs-25)/1.25 var(--serif); letter-spacing: -0.01em; }
.row-title a { color: var(--text-1); text-decoration: none; }
.row-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.row-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin-top: 0.4rem; font-size: var(--fs-14); }
.row-cat { color: var(--text-2); }
.row-cat::after { content: "·"; margin-left: 0.75rem; color: var(--text-3); }
.row .match { margin: 0.5rem 0 0; }
.row-status { grid-area: status; padding-top: 0.25rem; }
.row-chain { grid-area: chain; padding-top: 0.5rem; }
.row-more { grid-area: brief; }
.row-more summary { position: absolute; top: 0.85rem; right: 0; list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); cursor: pointer; color: var(--text-3); transition: color var(--t) ease, background-color var(--t) ease; }
.row-more summary::-webkit-details-marker { display: none; }
.row-more summary:hover { color: var(--text-1); background: var(--surface-1); }
.row-more .chev { width: 18px; height: 18px; transition: transform var(--t) ease; }
.row-more[open] .chev { transform: rotate(90deg); }
.row-more .lines { max-width: 44rem; padding-top: 1rem; }
.row-open { margin: 0.75rem 0 0; font-weight: 500; }
@media (max-width: 40rem) {
  .rows-head { display: none; }
  /* Phone: date and chain, title, meta, then status with the toggle on one line, brief below. */
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "date chain" "main main" "foot foot"; row-gap: 0.5rem; align-items: center; }
  .row-date, .row-chain { padding-top: 0; }
  .row-title { font-size: var(--fs-20); }
  .row-meta { display: block; }
  .row-cat { display: block; margin-bottom: 0.15rem; }
  .row-cat::after { content: none; }
  .row-status { grid-area: foot; align-self: start; padding-top: 10px; position: relative; z-index: 1; }
  .row-more { grid-area: foot; }
  .row-more summary { position: static; margin: 0 -0.6rem 0 auto; }
  .row-more .lines { padding-top: 0.25rem; }
}
/* Type scale clean-up: nothing between 12 and 14 */
.fhelp, .cat, .rel-top, .rel-why { font-size: var(--fs-14); }
code, .cmd code { font-size: var(--fs-14); }
/* The masthead is navy in both schemes, so its button keeps the dark-scheme accent. */
.masthead .btn-accent { background: #38BDF8; color: #111A2E; }
.masthead .btn-accent:hover { background: #8FD5F8; }
.fold-row { font-size: var(--fs-16); border-radius: var(--r-sm); background: var(--surface-2); }
/* QA 13 Nov (staging e5f1f90): at 390x844 "Am I affected?" must be on screen without scrolling (CEO fixed requirement). */
@media (max-width: 40rem) {
  .detail main.wrap { padding-top: 1rem; }
  .crumbs { margin-bottom: 0.5rem; }
  .c-head h1 { font-size: var(--fs-25); line-height: 1.2; margin-bottom: 0.75rem; }
  .facts { gap: 0.35rem 1rem; }
  .answer { margin-top: 1rem; gap: 0.75rem; }
  .panel { padding: 1rem; }
  .panel-title { font-size: var(--fs-20); margin-bottom: 0.5rem; }
  .steps > li { padding: 0.5rem 0 0.5rem 1.75rem; }
  .steps > li::before { top: 0.55rem; }
}
/* QA 13 Nov: in-page links (#answer, #actions, #stack, #indicators) land below the sticky masthead. */
[id] { scroll-margin-top: 5rem; }
@media (max-width: 56rem) { [id] { scroll-margin-top: 1rem; } }
