/* Black and white editorial theme. Greys only. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #111111;
  --ink-2: #444444;
  --ink-3: #6b6b6b;
  --rule: #d6d6d6;
  --rule-2: #ebebeb;
  --fill-1: #111111;   /* US / primary series */
  --fill-2: #9a9a9a;   /* Europe / secondary series */
  --fill-3: #d0d0d0;
  --tip-bg: #111111;
  --tip-ink: #ffffff;
  /* illustration */
  --ill-paper: #ffffff;
  --ill-paper2: #ececec;
  --ill-ink: #111111;
  --ill-line: #8a8a8a;
  --ill-grey: #b5b5b5;
  --ill-img: #e4e4e4;
  --ill-shadow: rgba(0, 0, 0, 0.22);
  --ill-grain: #ededed;
  --ill-glass: rgba(255, 255, 255, 0.06);
  --ill-hi: rgba(255, 255, 255, 0.85);
  --ill-handle: #1c1c1c;
  --ill-metal: #cfcfcf;

  --serif: "Newsreader", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --measure: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0a0a;
    --ink: #f2f2f2;
    --ink-2: #c2c2c2;
    --ink-3: #8f8f8f;
    --rule: #3a3a3a;
    --rule-2: #222222;
    --fill-1: #f2f2f2;
    --fill-2: #7a7a7a;
    --fill-3: #3d3d3d;
    --tip-bg: #f2f2f2;
    --tip-ink: #0a0a0a;
    --ill-paper: #1b1b1b;
    --ill-paper2: #121212;
    --ill-ink: #f0f0f0;
    --ill-line: #8c8c8c;
    --ill-grey: #5c5c5c;
    --ill-img: #2a2a2a;
    --ill-shadow: rgba(0, 0, 0, 0.9);
    --ill-grain: #1a1a1a;
    --ill-glass: rgba(255, 255, 255, 0.03);
    --ill-hi: rgba(255, 255, 255, 0.55);
    --ill-handle: #e8e8e8;
    --ill-metal: #6a6a6a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0a; --ink: #f2f2f2; --ink-2: #c2c2c2; --ink-3: #8f8f8f; --rule: #3a3a3a; --rule-2: #222222;
  --fill-1: #f2f2f2; --fill-2: #7a7a7a; --fill-3: #3d3d3d; --tip-bg: #f2f2f2; --tip-ink: #0a0a0a;
  --ill-paper: #1b1b1b; --ill-paper2: #121212; --ill-ink: #f0f0f0; --ill-line: #8c8c8c; --ill-grey: #5c5c5c;
  --ill-img: #2a2a2a; --ill-shadow: rgba(0, 0, 0, 0.9); --ill-grain: #1a1a1a; --ill-glass: rgba(255, 255, 255, 0.03);
  --ill-hi: rgba(255, 255, 255, 0.55); --ill-handle: #e8e8e8; --ill-metal: #6a6a6a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }

/* masthead strip */
.strip {
  position: sticky; top: 0; z-index: 40; background: var(--bg);
  border-bottom: 1px solid var(--ink); padding-top: env(safe-area-inset-top);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.strip .strip-in { display: flex; align-items: center; gap: 16px; min-height: 50px; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

/* hero */
.hero { padding: 26px 0 30px; border-bottom: 3px double var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.7vw, 50px);
  line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 8px; text-wrap: balance; max-width: 24em;
}
.subtitle { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.4; color: var(--ink-2); margin: 0; max-width: 40em; }
.totals { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.totals li { flex: 1 1 0; padding: 12px 16px 0 0; min-width: 0; }
.totals li + li { padding-left: 16px; border-left: 1px solid var(--rule); }
.totals .n { display: block; font-family: var(--mono); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; }
.totals .l { display: block; font-size: 13px; color: var(--ink-3); }
.hero-ill { display: block; width: 100%; height: auto; }

/* sections */
section.block { padding: 56px 0 8px; }
.sec-head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 28px; }
.sec-no { font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding-top: 8px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
.sec-dek { grid-column: 2; margin: 8px 0 0; color: var(--ink-2); max-width: 40em; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
.note { color: var(--ink-2); font-family: var(--serif); font-size: 17px; max-width: 44em; }

/* findings */
.findings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; }
.findings li { padding: 4px 24px 28px 0; }
.findings li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--rule); }
.findings li:nth-child(n+4) { border-top: 1px solid var(--rule); padding-top: 20px; }
.findings .f-no { font-family: var(--mono); font-size: 12px; color: var(--ink-3); display: block; margin-bottom: 6px; }
.findings h3 { font-size: 22px; }
.findings p { margin: 0; color: var(--ink-2); }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 110px 20px minmax(0, 1fr); gap: 0 12px; padding: 0 0 26px; position: relative; }
.timeline .t-date { font-family: var(--mono); font-size: 13px; color: var(--ink-2); padding-top: 3px; text-align: right; }
.timeline .t-dot { position: relative; }
.timeline .t-dot::before { content: ""; position: absolute; left: 9px; top: 0; bottom: -26px; width: 1px; background: var(--rule); }
.timeline li:last-child .t-dot::before { bottom: 0; }
.timeline .t-dot::after { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.timeline .t-event { font-family: var(--serif); font-size: 19px; line-height: 1.35; margin: 0 0 4px; }
.timeline .t-first { font-size: 14px; color: var(--ink-3); margin: 0; }
.timeline .t-first a { color: var(--ink-2); }

/* charts */
.chart-box { position: relative; }
.chart-box svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-title { font-size: 14px; font-weight: 600; margin: 0 0 2px; }
.chart-sub { font-size: 13px; color: var(--ink-3); margin: 0 0 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); margin: 0 0 8px; padding: 0; list-style: none; }
.legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-right: 6px; }
.legend .sw.line { height: 2px; vertical-align: 3px; border-radius: 1px; }
.legend .sw.dash { height: 0; border-top: 1px dashed var(--ink-2); background: none !important; vertical-align: 3px; border-radius: 0; }
.ax text { font-family: var(--mono); font-size: 11px; fill: var(--ink-3); }
.ax line, .ax path { stroke: var(--rule); }
.grid line { stroke: var(--rule-2); }
.mark-line { stroke: var(--ink-2); stroke-dasharray: 3 3; stroke-width: 1; }
.mark-label { font-family: var(--sans); font-size: 11px; fill: var(--ink-2); }
.bar-us { fill: var(--fill-1); }
.bar-eu { fill: var(--fill-2); }
.hit { fill: transparent; cursor: crosshair; }
.hit:hover { fill: var(--ink); fill-opacity: 0.05; }
.score-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.score-dot { fill: var(--ink); stroke: var(--bg); stroke-width: 2; }
.zero-line { stroke: var(--ink-3); stroke-width: 1; }
.crosshair { stroke: var(--ink-3); stroke-width: 1; pointer-events: none; }
.charts-2 { display: grid; gap: 40px; }
.tooltip {
  position: fixed; z-index: 50; pointer-events: none; background: var(--tip-bg); color: var(--tip-ink);
  font-size: 13px; line-height: 1.4; padding: 8px 10px; border-radius: 4px; max-width: 260px;
  opacity: 0; transition: opacity 80ms; box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.tooltip.on { opacity: 1; }
.tooltip b { display: block; font-weight: 600; margin-bottom: 2px; }
.tooltip .row { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12px; }
.sr-table { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
details.data-table { margin-top: 10px; font-size: 13px; }
details.data-table summary { cursor: pointer; color: var(--ink-3); }

/* controls */
.controls { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: end; margin: 0 0 16px; }
.controls label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; min-width: 0; }
.controls input, .controls select, .seg button, .pager button {
  font: inherit; font-size: 14px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--rule); border-radius: 3px; padding: 7px 10px; min-height: 36px; max-width: 100%;
}
.controls input[type="search"] { min-width: 240px; }
.controls input:focus, .controls select:focus { border-color: var(--ink); outline: none; }
.seg { display: inline-flex; }
.seg button { border-radius: 0; cursor: pointer; margin-left: -1px; }
.seg button:first-child { border-radius: 3px 0 0 3px; margin-left: 0; }
.seg button:last-child { border-radius: 0 3px 3px 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); position: relative; }

/* tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data th { font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
table.data th.r, table.data td.r { text-align: right; }
table.data td.r { font-family: var(--mono); font-variant-numeric: tabular-nums; }
table.data th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table.data th button::after { content: ""; display: inline-block; width: 0.9em; text-align: center; color: var(--ink-3); }
table.data th[aria-sort="ascending"] button::after { content: "\2191"; }
table.data th[aria-sort="descending"] button::after { content: "\2193"; }
.outlet-name { font-family: var(--serif); font-size: 16px; }
.outlet-sub { font-size: 12px; color: var(--ink-3); }
.phone-only { display: none !important; }
table.data td.c-first { min-width: 200px; }
.comp { display: inline-flex; gap: 2px; vertical-align: middle; margin-right: 6px; }
.comp i { width: 6px; height: 10px; border: 1px solid var(--ink-2); }
.comp i.on { background: var(--ink-2); }

/* horizontal bars */
.hbars { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hbar { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 56px; gap: 12px; align-items: center; font-size: 14px; }
.hbar .lab { overflow-wrap: anywhere; }
.hbar .track { height: 14px; position: relative; }
.hbar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--fill-1); border-radius: 0 3px 3px 0; min-width: 2px; }
.hbar .val { font-family: var(--mono); text-align: right; font-size: 13px; white-space: nowrap; }
.hbars.wide-val .hbar { grid-template-columns: minmax(0, 160px) minmax(0, 1fr) 84px; }
.hbar .sub { display: block; font-size: 12px; color: var(--ink-3); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.examples { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }
.examples li { padding: 6px 0; border-top: 1px solid var(--rule-2); }
.examples .o { font-size: 12px; color: var(--ink-3); display: block; }
.frame-block + .frame-block { margin-top: 40px; }

/* comparisons */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--ink); }
.vs > div { padding: 14px 16px 14px 0; }
.vs > div + div { border-left: 1px solid var(--rule); padding-left: 16px; }
.vs .side { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.vs dl { margin: 8px 0 0; display: grid; gap: 8px; }
.vs dt { font-size: 12px; color: var(--ink-3); }
.vs dd { margin: 0; font-family: var(--mono); font-size: 24px; line-height: 1.1; }

/* story list */
.stories { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.story { display: grid; grid-template-columns: 96px minmax(0, 1fr) 72px; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.story .s-date { font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding-top: 3px; }
.story .s-meta { font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; margin: 0 0 3px; }
.story .s-head { font-family: var(--serif); font-size: 19px; line-height: 1.3; margin: 0 0 4px; overflow-wrap: anywhere; }
.story .s-head a { text-decoration: none; }
.story .s-head a:hover { text-decoration: underline; }
.story .s-dek { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.story .s-why { margin: 0; font-size: 13px; color: var(--ink-3); }
.story .s-why b { font-weight: 600; color: var(--ink-2); }
.story .s-score { text-align: right; }
.score-pill { display: inline-block; font-family: var(--mono); font-size: 15px; min-width: 44px; text-align: center; padding: 3px 6px; border: 1px solid var(--ink); border-radius: 3px; }
.score-pill.neg2 { background: var(--ink); color: var(--bg); }
.score-pill.neg1 { background: var(--fill-3); color: var(--ink); border-color: var(--fill-3); }
.score-raters { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.tag { display: inline-block; font-size: 11px; border: 1px solid var(--rule); border-radius: 2px; padding: 0 5px; margin: 0 4px 0 0; color: var(--ink-2); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-size: 14px; color: var(--ink-3); flex-wrap: wrap; }
.pager button { cursor: pointer; }
.pager button:disabled { opacity: 0.35; cursor: default; }
.empty { padding: 24px 0; color: var(--ink-3); }
.scale-key { font-size: 13px; color: var(--ink-3); margin: 0 0 12px; }

/* method */
.method { font-family: var(--serif); font-size: 18px; line-height: 1.6; max-width: 40em; }
.method p { margin: 0 0 1em; }
.method ul { margin: 0 0 1em; padding-left: 1.2em; }
.limits { max-width: 40em; padding-left: 1.2em; color: var(--ink-2); }
.limits li { margin-bottom: 6px; }

footer.site { margin-top: 72px; border-top: 3px double var(--ink); padding: 24px 0 48px; font-size: 14px; color: var(--ink-2); }
footer.site p { margin: 0 0 6px; max-width: 46em; }
.err { padding: 40px 0; font-family: var(--serif); font-size: 20px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-ill-wrap { order: -1; max-width: 560px; }
  .findings { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .findings li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .findings li:nth-child(n+4) { border-top: 0; padding-top: 4px; }
  .findings li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); }
  .findings li:nth-child(n+3) { border-top: 1px solid var(--rule); padding-top: 20px; }
  .two-col, .compare { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 24px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-no { padding-top: 0; }
  .sec-dek { grid-column: 1; }
  .findings { grid-template-columns: minmax(0, 1fr); }
  .findings li, .findings li:nth-child(even), .findings li:nth-child(n+3) { padding: 16px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .findings li:first-child { border-top: 0; padding-top: 0; }
  .timeline li { grid-template-columns: 20px minmax(0, 1fr); }
  .timeline .t-date { grid-column: 2; grid-row: 1; text-align: left; padding: 0; }
  .timeline .t-dot { grid-column: 1; grid-row: 1 / span 3; }
  .timeline .t-body { grid-column: 2; }
  .totals li { padding-right: 8px; }
  .totals li + li { padding-left: 10px; }
  .hbar, .hbars.wide-val .hbar { grid-template-columns: minmax(0, 1fr) 84px; gap: 4px 10px; }
  .hbar .lab { grid-column: 1 / -1; }
  .story { grid-template-columns: minmax(0, 1fr) auto; }
  .story .s-date { grid-column: 1; grid-row: 1; padding: 0; }
  .story .s-score { grid-column: 2; grid-row: 1; }
  .story .s-score .score-raters { display: inline; margin: 0 0 0 6px; }
  .story .s-main { grid-column: 1 / -1; }
  .controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .controls label.wide { grid-column: 1 / -1; }
  .controls input[type="search"] { min-width: 0; width: 100%; }
  .controls select { width: 100%; }
  .vs dd { font-size: 20px; }
  table.data { font-size: 13px; }
  .phone-only { display: flex !important; }
  .table-scroll.cards { overflow: visible; }
  table.cards, table.cards tbody { display: block; }
  table.cards thead { display: none; }
  table.cards tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  table.cards td { border: 0; padding: 0; text-align: left !important; min-width: 0 !important; }
  table.cards td.c-name, table.cards td.c-first { grid-column: 1 / -1; }
  table.cards td.c-comp { white-space: normal !important; }
  table.cards tr { gap: 8px 12px; }
  table.cards td[data-label]::before { content: attr(data-label); display: block; font-family: var(--sans); font-size: 11px; color: var(--ink-3); margin-bottom: 2px; }
}

/* illustration */
.i-p { fill: var(--ill-paper); }
.i-p2 { fill: var(--ill-paper2); }
.i-edge { stroke: var(--ill-grey); stroke-width: 0.8; }
.i-ink { fill: var(--ill-ink); }
.i-g { fill: var(--ill-grey); }
.i-l { fill: var(--ill-line); }
.i-img { fill: var(--ill-img); }
.i-mast { fill: var(--ill-ink); font-family: "Newsreader", Georgia, serif; font-weight: 700; font-size: 27px; letter-spacing: 3px; }
.i-head { fill: var(--ill-ink); font-family: "Newsreader", Georgia, serif; font-weight: 700; font-size: 18px; }
.i-sub { fill: var(--ill-line); font-family: "Newsreader", Georgia, serif; font-style: italic; font-size: 9px; }
.i-sh { fill: var(--ill-shadow); }
.i-sh2 { fill: var(--ill-shadow); stroke: var(--ill-shadow); opacity: 0.7; }
.i-grain { fill: none; stroke: var(--ill-grain); stroke-width: 1.2; }
.i-glass { fill: var(--ill-glass); }
.i-hi { fill: none; stroke: var(--ill-hi); stroke-width: 5; stroke-linecap: round; }
.i-hi2 { fill: none; stroke: var(--ill-hi); stroke-width: 2; stroke-linecap: round; opacity: 0.6; }
.i-hi3 { fill: var(--ill-hi); opacity: 0.25; }
.i-rim { fill: none; stroke: var(--ill-ink); stroke-width: 9; }
.i-rim2 { fill: none; stroke: var(--ill-ink); stroke-width: 1; opacity: 0.5; }
.i-rim3 { fill: none; stroke: var(--ill-grey); stroke-width: 1.5; }
.i-handle { fill: var(--ill-handle); }
.i-metal { fill: var(--ill-metal); stroke: var(--ill-ink); stroke-width: 1.2; }

/* site nav + explore links */
.strip a { color: inherit; text-decoration: none; }
.strip a:hover, .strip a:focus-visible { text-decoration: underline; }
.strip a[aria-current="page"] { color: var(--ink); }
.strip-sep { margin: 0 8px; color: var(--ink-3); }
.hero-links { margin: 18px 0 0; }
.cta { display: inline-block; font-size: 14px; font-weight: 500; border: 1px solid var(--ink); border-radius: 3px; padding: 8px 14px; text-decoration: none; }
.cta:hover, .cta:focus-visible { background: var(--ink); color: var(--bg); }
.findings li.f-explore .f-link { margin-top: 10px; }
.findings li.f-explore .f-link a { font-weight: 500; }

/* ---------- explore page ---------- */
.hero-slim { padding: 40px 0 28px; }
.hero-slim .subtitle { max-width: 40em; }
.hero-slim .totals { max-width: 720px; }
.explore-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.graph-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 6px 0; min-width: 0; }
.graph-scroll svg { display: block; }
.graph-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.panel { border-top: 3px double var(--ink); padding: 12px 0 0; position: sticky; top: 64px; max-height: calc(100vh - 80px); overflow-y: auto; font-size: 14px; }
.panel h4 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin: 18px 0 6px; }
.panel .p-kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.panel .p-head { font-family: var(--serif); font-size: 20px; line-height: 1.25; margin: 0 0 6px; overflow-wrap: anywhere; }
.panel .p-head a { text-decoration-thickness: 1px; }
.panel .p-meta, .panel .p-desc { color: var(--ink-2); margin: 0 0 8px; }
.panel .p-stats { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; }
.panel .p-tags { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.panel .p-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 8px 0 0; }
.panel .p-dl dt { color: var(--ink-3); font-size: 13px; }
.panel .p-dl dd { margin: 0; font-family: var(--mono); font-size: 13px; }
.p0-note { border: 1px dashed var(--ink-2); padding: 8px 10px; margin: 6px 0 10px; font-size: 13px; color: var(--ink-2); }
.small { font-size: 13px; }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); }
.plist li { border-bottom: 1px solid var(--rule-2); }
button.item { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 7px 0; font: inherit; color: var(--ink); cursor: pointer; }
button.item:hover .i-main, button.item:focus-visible .i-main { text-decoration: underline; }
button.item .i-main { display: block; font-family: var(--serif); font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
button.item .i-sub { display: block; font-size: 12px; color: var(--ink-3); }
button.back { font: inherit; font-size: 13px; background: none; border: 1px solid var(--rule); border-radius: 3px; padding: 4px 10px; cursor: pointer; color: var(--ink-2); margin-bottom: 10px; }
button.inline-btn { font: inherit; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
button.inline-btn.left { text-align: left; font-family: var(--serif); font-size: 15px; }
button.tag-btn { font: inherit; font-size: 11px; cursor: pointer; background: var(--bg); }
button.tag-btn.on { border-color: var(--ink-2); color: var(--ink); }
button.tag-btn:hover { border-color: var(--ink); }
.claim-sum .sum-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 0 0 16px; border-top: 1px solid var(--ink); padding-top: 12px; }
.claim-sum dt { font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; }
.claim-sum dd { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.claim-sum dd a { color: var(--ink); font-family: var(--serif); font-size: 15px; }
.controls select#claim-select { min-width: 320px; }
.legend .dot-full { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.legend .dot-body { width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ink-3); }
.legend .dot-seed { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; vertical-align: -3px; }
.legend .dot-p0 { width: 13px; height: 13px; border-radius: 50%; border: 1.5px dashed var(--ink); background: none; vertical-align: -2px; }
.legend .sw-hollow { background: var(--bg); border: 1.5px solid var(--ink-2); border-radius: 50%; }
.legend .sw-doc { background: var(--fill-3); border: 1px solid var(--ink-2); }
.legend .sw.line { background: var(--ink-3); }
/* claim chart */
.row-band { fill: var(--rule-2); opacity: 0.45; }
.row-lab text { font-family: var(--sans); font-size: 12px; fill: var(--ink-2); }
.row-lab .lab-p0 { font-style: italic; fill: var(--ink); }
.grid-day { stroke: var(--rule); stroke-width: 1; }
.grid-faint { stroke: var(--rule-2); stroke-width: 1; }
.c-edge { fill: none; stroke: var(--ink-3); stroke-width: 0.9; opacity: 0.45; }
.c-edge.inf { stroke-dasharray: 3 3; }
.c-edge.hi { stroke: var(--ink); opacity: 1; stroke-width: 1.6; }
.c-edge.dim { opacity: 0.12; }
.c-edge.p0-edge { stroke: var(--ink); stroke-dasharray: 2 3; opacity: 0.9; }
.c-dot { fill: var(--ink); stroke: var(--bg); stroke-width: 1; cursor: pointer; }
.c-dot.body { fill: var(--bg); stroke: var(--ink-3); stroke-width: 1.3; }
.c-dot:hover, .c-dot:focus-visible { stroke: var(--ink); stroke-width: 2.5; outline: none; }
.c-dot.sel { stroke: var(--ink); stroke-width: 3; }
.c-seed-ring { fill: none; stroke: var(--ink); stroke-width: 1.5; pointer-events: none; }
.c-p0 { fill: var(--bg); stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 3 2.5; cursor: pointer; }
.c-p0:hover, .c-p0:focus-visible { stroke-width: 2.6; outline: none; }
/* network */
.n-edge { stroke: var(--ink-3); opacity: 0.38; }
.n-edge.hi { stroke: var(--ink); opacity: 0.95; }
.n-edge.dim { opacity: 0.07; }
.n-edge.p0-edge { stroke-dasharray: 3 3; opacity: 0.8; }
.arrow-head { fill: var(--ink-3); }
.arrow-head.hi { fill: var(--ink); }
.n-node { cursor: pointer; }
.n-node:focus { outline: none; }
.n-node:focus-visible circle, .n-node:focus-visible rect, .n-node.sel circle, .n-node.sel rect { stroke: var(--ink); stroke-width: 3; }
.n-node.dim { opacity: 0.3; }
.n-us { fill: var(--fill-1); stroke: var(--bg); stroke-width: 1; }
.n-eu { fill: var(--fill-2); stroke: var(--bg); stroke-width: 1; }
.n-ext { fill: var(--bg); stroke: var(--ink-2); stroke-width: 1.5; }
.n-doc { fill: var(--fill-3); stroke: var(--ink-2); stroke-width: 1; }
.n-p0 { fill: var(--bg); stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 3 2.5; }
.n-lab { font-family: var(--sans); font-size: 11px; fill: var(--ink-2); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
#rank-outlets td .outlet-sub, #rank-stories td .outlet-sub { display: block; }
@media (max-width: 900px) {
  .explore-grid { grid-template-columns: minmax(0, 1fr); }
  .panel { position: static; max-height: none; }
}
@media (max-width: 600px) {
  .claim-sum .sum-dl { grid-template-columns: minmax(0, 1fr); }
  .controls select#claim-select { min-width: 0; }
  .hero-slim { padding-top: 24px; }
}
.n-lab.strong { fill: var(--ink); }
.ax text.ax-month { font-family: var(--sans); font-size: 11px; font-weight: 600; fill: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 600px) {
  .controls .seg { grid-column: 1 / -1; display: flex; }
  .controls .seg button { flex: 1 1 0; white-space: nowrap; padding-left: 6px; padding-right: 6px; font-size: 13px; }
  .hero-slim .totals .n { font-size: 24px; }
}
table.data td.r { white-space: nowrap; }

/* =================== ui2: hero graph, claim browser, spread tree, timeline, search =================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 70; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 3px; font-size: 14px; }
.skip:focus { top: calc(8px + env(safe-area-inset-top)); }
[id] { scroll-margin-top: 64px; }
#main:focus { outline: none; }
.wrap.wide { max-width: 1440px; }

/* strip */
.strip-nav { flex: none; white-space: nowrap; }
.strip-window { flex: none; white-space: nowrap; color: var(--ink-3); }
.search { position: relative; flex: 1 1 auto; max-width: 480px; margin-left: auto; text-transform: none; letter-spacing: normal; }
.search-box { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 6px 0 10px; border: 1px solid var(--rule); border-radius: 3px; background: var(--bg); }
.search-box:focus-within { border-color: var(--ink); }
.search-ico, .search-open svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; }
.search-box input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 14px/1.2 var(--sans); padding: 0; height: 100%; }
.search-box input:focus { outline: none; }
.search-box input::placeholder { color: var(--ink-3); }
.search-kbd { font-family: var(--mono); font-size: 11px; color: var(--ink-3); border: 1px solid var(--rule); border-radius: 2px; padding: 0 5px; line-height: 16px; }
.search-close, .search-open { display: none; }
.search-close { font: 13px var(--sans); background: none; border: 0; color: var(--ink); padding: 6px 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.search-open { align-items: center; justify-content: center; width: 40px; height: 36px; background: var(--bg); border: 1px solid var(--rule); border-radius: 3px; cursor: pointer; color: var(--ink); }
.search-pop { position: absolute; top: calc(100% + 6px); right: 0; width: min(520px, calc(100vw - 32px)); max-height: min(72vh, 600px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border: 1px solid var(--ink); border-radius: 3px; box-shadow: 0 12px 32px rgba(0,0,0,0.18); z-index: 45; color: var(--ink); }
.sr-group + .sr-group { border-top: 1px solid var(--rule); }
.sr-h { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; gap: 12px; background: var(--bg); padding: 9px 12px 5px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sr-n { font-family: var(--mono); font-weight: 400; letter-spacing: 0; text-transform: none; }
.sr-opt { padding: 7px 12px 8px 14px; cursor: pointer; position: relative; }
.sr-opt.on { background: var(--rule-2); box-shadow: inset 3px 0 0 var(--ink); }
.sr-main { display: block; font-family: var(--serif); font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-claim .sr-main, .sr-source .sr-main, .sr-person0 .sr-main { font-family: var(--sans); font-size: 14px; font-weight: 500; }
.sr-main mark { background: var(--fill-3); color: var(--ink); border-radius: 2px; padding: 0 1px; }
.sr-sub { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.sr-p0 { float: left; width: 12px; height: 12px; border: 1.5px dashed var(--ink); border-radius: 50%; margin: 3px 8px 0 0; }
.search-status { margin: 0; padding: 8px 12px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--rule-2); }

/* hero */
.hero-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.hero-mark { width: 52px; height: 52px; flex: none; margin-top: 4px; }
.hm-paper { fill: var(--bg); stroke: var(--ink-2); stroke-width: 1.4; }
.hm-line { stroke: var(--ink-3); stroke-width: 1.6; }
.hm-lens { fill: var(--bg); fill-opacity: 0.55; stroke: var(--ink); stroke-width: 3; }
.hm-handle { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.hero-totals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; margin-top: 26px; }
.hero-totals .totals .n { font-size: clamp(22px, 2.3vw, 30px); }

/* layout */
.claim-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 24px; align-items: start; }
.stage { min-width: 0; }
.stage-head { border-top: 1px solid var(--ink); padding-top: 10px; }
.claim-title { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2vw, 27px); line-height: 1.15; margin: 0 0 4px; }
.claim-line { font-size: 14px; color: var(--ink-2); margin: 0 0 6px; overflow-wrap: anywhere; }
.claim-line a { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.claim-chips { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--ink-3); }
.claim-chips b { font-family: var(--mono); font-weight: 500; color: var(--ink); font-size: 14px; }
.stage-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 12px 0 8px; }
.stage-bar .seg button, .tl-tools .seg button { font-size: 13px; min-height: 34px; padding: 5px 12px; }
.tree-tools { display: flex; gap: 6px; }
button.tool { font: 13px var(--sans); color: var(--ink-2); background: var(--bg); border: 1px solid var(--rule); border-radius: 3px; padding: 5px 10px; min-height: 32px; cursor: pointer; }
button.tool:hover { border-color: var(--ink); color: var(--ink); }
.stage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 20px; align-items: start; }
.stage-main { min-width: 0; }
.graph-box { position: relative; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); min-width: 0; }
.stage .legend { margin-top: 8px; font-size: 12px; }
.stage details.data-table { margin-top: 12px; }
.claim-sum .sum-dl { margin-top: 10px; }

/* skeleton (page is complete at rest even before data arrives) */
.graph-box.skel { min-height: 560px; }
.skel-cols { display: flex; gap: 44px; padding: 44px 0 0; }
.skel-cols i { display: block; width: 210px; height: 440px; border-radius: 3px; background: var(--rule-2); flex: none; }
.skel-cols i:first-child { width: 170px; height: 70px; }
.skel-row { height: 52px; margin: 8px 0; border-radius: 3px; background: var(--rule-2); }
.skel-panel { height: 340px; border-radius: 3px; background: var(--rule-2); }
.skel-cols i, .skel-row, .skel-panel { animation: skel 1.4s ease-in-out infinite alternate; }
@keyframes skel { from { opacity: 1; } to { opacity: 0.45; } }
.graph-scroll.skel { min-height: 560px; }

/* claim browser */
.cb { min-width: 0; border-top: 1px solid var(--ink); }
.cb-h { margin: 10px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.cb-cols { display: grid; grid-template-columns: 42px minmax(0, 1fr) 40px 34px 57px; gap: 6px; margin: 0; padding: 0 8px 4px 13px; font-size: 9.5px; color: var(--ink-3); letter-spacing: 0; text-transform: uppercase; }
.cb-cols span:nth-child(3), .cb-cols span:nth-child(4) { text-align: right; }
.cb-list { max-height: 690px; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--rule); }
.cb-list:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cb-phase { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; background: var(--bg); padding: 10px 8px 4px 13px; border-bottom: 1px solid var(--rule-2); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.cb-n { font-family: var(--mono); font-weight: 400; color: var(--ink-3); }
.cb-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 57px; gap: 3px 6px; align-items: end; padding: 7px 8px 8px 13px; border-bottom: 1px solid var(--rule-2); cursor: pointer; }
.cb-item:hover { background: var(--rule-2); }
.cb-item:focus { outline: none; }
.cb-item:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.cb-item[aria-selected="true"] { background: var(--rule-2); }
.cb-item[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ink); }
.cb-label { grid-column: 1 / -1; font-family: var(--serif); font-size: 15px; line-height: 1.25; color: var(--ink); }
.cb-item[aria-selected="true"] .cb-label { font-weight: 600; }
.cb-meta { display: grid; grid-template-columns: 42px minmax(0, 1fr) 40px 34px; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 0; }
.cb-seed { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--sans); }
.cb-count, .cb-credit { text-align: right; }
.cb-count { color: var(--ink-2); }
.spark { display: block; }
.spark rect { fill: var(--ink-3); }
.spark-base { stroke: var(--rule); stroke-width: 1; }
.cb-item[aria-selected="true"] .spark rect { fill: var(--ink); }

/* spread tree */
.tree { position: relative; overflow: auto; max-height: min(690px, 78vh); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.tree:focus { outline: none; }
.tree-lines { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 0; overflow: visible; }
.tree-cols { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 40px; list-style: none; margin: 0; padding: 0 14px 18px 0; width: max-content; }
.tcol { width: 232px; flex: none; }
.tcol.root { width: 176px; }
.tcol-h { position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 8px 0 6px; margin-bottom: 8px; border-bottom: 1px solid var(--rule); }
.tcol-t { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.tcol-s { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.35; }
.troot { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--ink); border-radius: 3px; padding: 10px; cursor: pointer; }
.troot.p0 { border-style: dashed; }
.troot:hover, .troot.sel { box-shadow: inset 0 0 0 1.5px var(--ink); }
.troot.sel { background: var(--rule-2); }
.glyph-p0 { flex: none; width: 20px; height: 20px; border: 1.8px dashed var(--ink); border-radius: 50%; background: var(--bg); margin-top: 1px; }
.glyph-doc { flex: none; width: 16px; height: 16px; background: var(--fill-3); border: 1px solid var(--ink-2); margin-top: 2px; }
.troot-n { display: block; font-weight: 600; font-size: 14px; }
.troot-s { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }
.tg { margin: 0 0 6px; border: 1px solid var(--rule); border-radius: 3px; background: var(--bg); }
.tg.origin { border-color: var(--ink); }
.tg-h { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; align-items: center; gap: 6px; width: 100%; min-height: 32px; padding: 5px 8px; font: 13px var(--sans); color: var(--ink); text-align: left; background: none; border: 0; cursor: pointer; border-radius: 3px; }
.tg-h:hover { background: var(--rule-2); }
.tg-h.path { box-shadow: inset 3px 0 0 var(--ink); }
.tg-chev::before { content: "\25B8"; font-size: 10px; color: var(--ink-3); }
.tg-h[aria-expanded="true"] .tg-chev::before { content: "\25BE"; }
.tg-o { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-d { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.tg-n { font-family: var(--mono); font-size: 11.5px; min-width: 22px; text-align: center; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--bg); line-height: 18px; }
.tg-b { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); }
.tg-b li + li { border-top: 1px solid var(--rule-2); }
.ts { display: block; width: 100%; text-align: left; font: inherit; color: var(--ink); background: none; border: 0; padding: 6px 8px 7px 10px; cursor: pointer; }
.ts:hover { background: var(--rule-2); }
.ts.path { box-shadow: inset 3px 0 0 var(--ink-3); }
.ts.sel { background: var(--ink); color: var(--bg); box-shadow: none; }
.ts.sel .ts-d, .ts.sel .ts-k, .ts.sel .ts-c { color: var(--bg); opacity: 0.8; }
.ts-d { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.ts-h { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--serif); font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.ts-k, .ts-c { display: inline; font-size: 11px; color: var(--ink-3); margin-right: 8px; }
.t-edge { fill: none; stroke: var(--ink-3); opacity: 0.6; }
.t-edge.inf { stroke-dasharray: 4 3; }
.t-edge.hi { stroke: var(--ink); opacity: 1; }
.t-edge.hov { stroke: var(--ink); opacity: 0.95; }
.tree.hovering .t-edge:not(.hov):not(.hi) { opacity: 0.18; }
.tree-foot { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }

/* timeline */
.tl-ctrl { padding: 10px 0 4px; }
.tl-range-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; }
.tl-lab { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.tl-out { font-family: var(--mono); font-size: 12px; color: var(--ink); }
.tl-track { position: relative; height: 40px; margin: 6px 0 2px; max-width: 720px; }
.tl-hist { position: absolute; left: 7px; right: 7px; top: 5px; width: calc(100% - 14px); height: 30px; overflow: visible; }
.tl-hist rect { fill: var(--rule); }
.tl-hist rect.on { fill: var(--ink-3); }
.tl-track input[type="range"] { position: absolute; left: 0; top: 0; width: 100%; height: 40px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; pointer-events: none; }
.tl-track input[type="range"]::-webkit-slider-runnable-track { height: 40px; background: transparent; }
.tl-track input[type="range"]::-moz-range-track { height: 40px; background: transparent; }
.tl-track input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 14px; height: 38px; margin-top: 1px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--bg); cursor: ew-resize; }
.tl-track input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 11px; height: 34px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--bg); cursor: ew-resize; }
.tl-track input[type="range"]:focus { outline: none; }
.tl-track input[type="range"]:focus-visible::-webkit-slider-thumb { background: var(--ink); }
.tl-track input[type="range"]:focus-visible::-moz-range-thumb { background: var(--ink); }
.tl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--rule); }
.tl-scroll svg { display: block; }
.tl-tools { margin: 8px 0 0; }
.tl-empty { padding: 12px 0; }
.row-band { fill: transparent; }
.row-band.alt { fill: var(--rule-2); opacity: 0.45; }
.row-band.on { fill: var(--fill-3); opacity: 0.55; }
.c-dot { cursor: pointer; }
.c-dot:focus { outline: none; }
.c-dot-c { fill: var(--ink); stroke: var(--bg); stroke-width: 1; }
.c-dot.body .c-dot-c { fill: var(--bg); stroke: var(--ink-3); stroke-width: 1.3; }
.c-dot.multi.body .c-dot-c { stroke: var(--ink-2); }
.c-n { font-family: var(--mono); font-size: 9px; fill: var(--bg); pointer-events: none; }
.c-dot.body .c-n { fill: var(--ink); }
.c-dot:hover .c-dot-c, .c-dot:focus-visible .c-dot-c { stroke: var(--ink); stroke-width: 2.2; }
.c-sel-ring { fill: none; stroke: var(--ink); stroke-width: 2; pointer-events: none; }
.c-seed-ring { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: none; pointer-events: none; }
svg.focusing .c-dot:not(.on):not(.sel) { opacity: 0.2; }
.c-edge.faint { opacity: 0.22; }
.c-edge.hi { stroke: var(--ink); opacity: 0.95; stroke-width: 1.5; }
.c-edge.hi.down { stroke: var(--ink-2); stroke-width: 1.2; }
.c-p0 { cursor: pointer; }
.c-p0 circle { fill: var(--bg); stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 3 2.5; }
.c-p0:focus { outline: none; }
.c-p0:focus-visible circle, .c-p0.sel circle { stroke-width: 2.8; }

/* panel extras */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0 0 6px; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: "\2190"; color: var(--ink-3); font-size: 12px; }
.crumb { font: 12.5px var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--rule); border-radius: 2px; padding: 2px 6px; cursor: pointer; }
button.crumb:hover { border-color: var(--ink); }
.crumb.here { background: var(--ink); color: var(--bg); border-color: var(--ink); cursor: default; }
.p-note { font-size: 13px; color: var(--ink-2); border-left: 2px solid var(--ink-3); padding-left: 8px; margin: 8px 0; }
.p-go { margin: 10px 0 0; font-size: 13px; }

/* legend extras */
.legend .sw.box { width: 18px; height: 11px; border: 1px solid var(--ink-2); border-radius: 2px; vertical-align: 0; }
.legend .sw.dot-n { width: 13px; height: 13px; border-radius: 50%; background: var(--ink); vertical-align: -2px; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px var(--bg); }

/* network */
.net-controls { gap: 10px 22px; }
.ctl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ctl-l { font-size: 12px; color: var(--ink-3); }
.n-hit { fill: transparent; stroke: none; }
.n-lab { transition: opacity 120ms; }
.n-lab.minor { opacity: 0; }
.n-lab.minor.show { opacity: 1; }
.n-lab.off { opacity: 0 !important; }
.n-node.off { opacity: 0.12; }
.n-edge.off { opacity: 0.03; }
svg.focusing .n-node:not(.on) { opacity: 0.14; }
svg.focusing .n-edge:not(.hi) { opacity: 0.04; }
svg.focusing .n-lab:not(.show) { opacity: 0; }
svg.focusing .n-lab.show { fill: var(--ink); }
.n-node.sel circle, .n-node.sel rect { stroke: var(--ink); stroke-width: 3; }

@media (prefers-reduced-motion: reduce) {
  .skel-cols i, .skel-row, .skel-panel { animation: none; }
  .n-lab, .tooltip { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1179px) {
  .claim-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cb-cols { display: none; }
  .cb-h { margin-bottom: 8px; }
  .cb-list { display: flex; gap: 8px; max-height: none; overflow-x: auto; overflow-y: hidden; border-top: 0; padding: 0 0 10px; scroll-snap-type: x proximity; }
  .cb-group { display: grid; grid-auto-flow: column; grid-template-rows: auto 1fr; grid-auto-columns: 228px; gap: 6px 8px; flex: none; }
  .cb-group + .cb-group { padding-left: 10px; border-left: 1px solid var(--rule); }
  .cb-phase { grid-row: 1; grid-column: 1 / span var(--n, 1); position: static; display: block; padding: 0; border: 0; font-size: 10.5px; background: none; }
  .cb-phase span { position: static; }
  .cb-phase .cb-n { margin-left: 6px; }
  .cb-item { grid-row: 2; width: 228px; border: 1px solid var(--rule); border-radius: 3px; scroll-snap-align: start; align-content: space-between; }
  .cb-item[aria-selected="true"] { border-color: var(--ink); }
  .cb-item[aria-selected="true"]::before { top: auto; right: 0; width: auto; height: 3px; }
  .cb-label { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
  .cb-meta { grid-template-columns: 42px minmax(0, 1fr) 30px 32px; gap: 5px; }
  .skel-row { flex: none; width: 214px; height: 76px; margin: 0; }
}
@media (max-width: 899px) {
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
  .stage-grid .panel { position: static; max-height: none; }
  .hero-totals { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .strip-hide { display: none; }
}
@media (max-width: 640px) {
  .strip .strip-in { gap: 10px; min-height: 48px; }
  .strip-window { display: none; }
  .search { flex: 0 0 auto; margin-left: auto; }
  .search-open { display: inline-flex; }
  .search-box { display: none; }
  .search-kbd { display: none; }
  body.search-open .search::before { content: ""; position: fixed; inset: 0; background: var(--bg); z-index: 59; }
  body.search-open .search-box { display: flex; position: fixed; z-index: 61; top: env(safe-area-inset-top); left: 0; right: 0; height: 56px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
    padding: 0 max(12px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  body.search-open .search-box input { font-size: 16px; }
  body.search-open .search-close { display: inline-block; }
  body.search-open .search-pop { position: fixed; z-index: 60; top: calc(56px + env(safe-area-inset-top)); left: 0; right: 0; bottom: 0; width: auto; max-height: none; border: 0; border-radius: 0; box-shadow: none;
    padding-bottom: env(safe-area-inset-bottom); }
  .sr-opt { padding-top: 9px; padding-bottom: 10px; }
  body.search-open { overflow: hidden; }
  .hero { padding-top: 18px; }
  .hero-head { gap: 12px; margin-bottom: 16px; }
  .hero-mark { width: 38px; height: 38px; }
  .tree { max-height: 72vh; }
  .tcol { width: 214px; }
  .tcol.root { width: 170px; }
  .tree-cols { gap: 34px; }
  .graph-box.skel { min-height: 460px; }
  .stage-bar { flex-wrap: nowrap; margin: 10px 0 6px; }
  .stage-bar .seg button { padding: 5px 10px; }
  .tree-tools button.tool { padding: 5px 8px; }
  .claim-title { font-size: 20px; }
  .claim-line { font-size: 13px; }
  .claim-line a { font-size: 14px; }
  .claim-line .same-day { display: none; }
  .claim-chips { gap: 2px 12px; font-size: 12px; }
  .hero-totals .totals { flex-wrap: wrap; }
  .hero-totals .totals li { flex: 1 1 40%; padding-bottom: 8px; }
  .hero-totals .totals li:nth-child(3) { border-left: 0; padding-left: 0; }
  .net-controls { display: flex; flex-direction: column; align-items: stretch; }
  .net-controls .seg { display: flex; flex-wrap: wrap; }
  .net-controls .seg button { flex: 1 1 auto; }
}
[hidden] { display: none !important; }
.lab-bg { fill: var(--bg); opacity: 0.92; }
.t-edge.hi { stroke-width: 2.2px; }

.strip-x { flex: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 5px 10px; border: 1px solid var(--ink); border-radius: 999px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.strip a.strip-x:hover, .strip a.strip-x:focus-visible { background: var(--ink); color: var(--bg); text-decoration: none; }
@media (max-width: 700px) { .strip-x span { display: none; } .strip-x { padding: 6px; } }

/* market value */
.mcap-stats { margin: 6px 0 18px; }
.chart-title { font: 600 13px var(--sans, Inter, system-ui, sans-serif); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 6px; }
.mk-nvda { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.mk-smh { fill: none; stroke: var(--fill-2); stroke-width: 2; stroke-linejoin: round; }
.mk-qqq { fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-dasharray: 5 4; }
.mk-end { fill: var(--ink); }
.mk-ev { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 4; }
.mk-ev-dot { fill: var(--bg); stroke: var(--ink); stroke-width: 1.2; }
.mk-ev-n { font: 700 10px var(--mono, ui-monospace, monospace); fill: var(--ink); }
.mk-legend .sw { display: inline-block; width: 18px; height: 0; vertical-align: middle; margin-right: 6px; }
.mk-sw-nvda { border-top: 3px solid var(--ink); }
.mk-sw-smh { border-top: 2px solid var(--fill-2); }
.mk-sw-qqq { border-top: 2px dashed var(--ink-3); }
.mk-events { list-style: none; padding: 0; margin: 10px 0 6px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--ink-2); }

/* ---- merge 2: Fact or allegation, Compared with other CEO exits ---- */
.fa-totals { margin-bottom: 36px; }
.fa-totals .n { font-size: clamp(22px, 2.8vw, 32px); }
.fa-top { margin-bottom: 40px; }
.fa-h { margin-top: 36px; }
.fa-loaded { margin-top: 40px; }
.fa-valid { margin-top: 28px; max-width: 60em; font-size: 13px; }
.legend .sw.st-a, .seg-st-a { background: var(--fill-1); }
.legend .sw.st-h, .seg-st-h { background: var(--fill-2); }
.legend .sw.st-n, .seg-st-n { background: var(--fill-3); }
.legend .sw.st-l, .seg-st-l { background: repeating-linear-gradient(135deg, var(--ink-3) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1px var(--ink-3); }
.stacks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.stack-row { display: grid; gap: 6px; }
.stack-lab { font-size: 14px; }
.stack-lab .sub { display: block; font-size: 12px; color: var(--ink-3); }
.stack { display: flex; height: 16px; gap: 2px; }
.stack > span { display: block; height: 100%; min-width: 2px; }
.stack > span:first-child { border-radius: 2px 0 0 2px; }
.stack > span:last-child { border-radius: 0 2px 2px 0; }
.stack-vals { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.stack-text { font-size: 12px; color: var(--ink-3); }
table.data td .n-sub { display: block; font-size: 11px; color: var(--ink-3); }
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.case { padding: 14px 16px 14px 0; min-width: 0; }
.case + .case { border-left: 1px solid var(--rule); padding-left: 16px; }
.case .side { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.case-j .side { color: var(--ink); font-weight: 600; }
.case-when { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); font-family: var(--mono); }
.case dl { margin: 10px 0 0; display: grid; gap: 8px; }
.case dt { font-size: 12px; color: var(--ink-3); }
.case dd { margin: 0; font-family: var(--mono); font-size: 22px; line-height: 1.1; }
.multiples { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 40px; }
.mult { min-width: 0; border-top: 1px solid var(--rule); padding-top: 10px; }
.mult h4 { margin: 0 0 10px; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.mult-bars .hbar { grid-template-columns: minmax(0, 92px) minmax(0, 1fr) 44px; gap: 8px; font-size: 13px; }
.hbar .fill.fill-j { background: var(--fill-1); }
.mult-bars .hbar .fill:not(.fill-j) { background: var(--fill-2); }
@media (max-width: 900px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case:nth-child(3) { border-left: 0; padding-left: 0; }
  .case:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 600px) {
  .case dd { font-size: 19px; }
  .case { padding-right: 8px; }
  .case + .case { padding-left: 10px; }
  .case:nth-child(3) { padding-left: 0; }
  .mult-bars .hbar { grid-template-columns: minmax(0, 92px) minmax(0, 1fr) 44px; }
  .mult-bars .hbar .lab { grid-column: auto; }
}
@media (max-width: 600px) {
  .totals.mcap-stats, .totals.fa-totals { flex-wrap: wrap; }
  .totals.mcap-stats li, .totals.fa-totals li { flex: 1 1 calc(50% - 1px); padding-bottom: 12px; }
  .totals.mcap-stats li:nth-child(3), .totals.fa-totals li:nth-child(3) { border-left: 0; padding-left: 0; }
  .totals.mcap-stats li:nth-child(n+3), .totals.fa-totals li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .totals.mcap-stats .n, .totals.fa-totals .n { font-size: 24px; }
}
#fa-outlets th { white-space: normal; vertical-align: bottom; }
#fa-outlets td.fa-o { min-width: 128px; }
#fa-outlets th.r { min-width: 64px; }
