/* theshippinginvestor.com — warm OKLCH palette (owner 2026-08-23, unchanged)
   with a type system built on the subject rather than on defaults.

   Three roles, two families:
     --font-display  Archivo 600/700 — the issuer's voice: name, headings,
                     and every figure the page is actually selling. A real
                     grotesque with tabular lining figures, so a rate reads
                     as a measurement and columns align at any size.
     --font-body     Archivo 400/500 — replaces the raw system stack, which
                     was the one piece of type on the page making no choice
                     at all.
     --font-data     IBM Plex Mono — route codes, vessel classes, units and
                     dates ONLY. TD3C, TC1, VLCC and usd/day are fixed-format
                     identifiers, and shipping's own native artifact, the
                     broker fixture report, sets them fixed-width. Earned by
                     the content; never used for prose.

   PT Serif is gone deliberately. Cream + high-contrast serif + terracotta is
   the templated look; the palette is fixed by owner ruling, so the typeface
   is the only lever that moves the page off it. */
:root {
  --font-display: Archivo, "Helvetica Neue", Arial, sans-serif;
  /* F20: --muted was used 4 times and never defined — invalid at
     computed-value time, so a DECLINED DPS method inherited --fg and
     rendered as authoritative as an accepted one. It is the dim colour. */
  --muted: var(--dim);
  --font-body: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bg: oklch(97% 0.012 85);
  --fg: oklch(23% 0.02 260);
  --dim: oklch(50% 0.02 260);
  --panel: oklch(99% 0.006 85);
  --line: oklch(90% 0.012 85);
  --line-strong: oklch(81% 0.016 85);
  --accent: oklch(38% 0.09 25);
  --accent-dim: oklch(93% 0.035 25);
  --warn-bg: oklch(93% 0.05 85); --warn-fg: oklch(45% 0.1 75);
  --flag-bg: oklch(93% 0.045 25); --flag-fg: oklch(42% 0.14 22);
  --ok-bg: oklch(93% 0.04 150); --ok-fg: oklch(42% 0.1 150);
  /* the dashboard's three sources, never mixed: the company's own print,
     our model, the reader's scenario */
  --guided: oklch(42% 0.08 150); --guided-soft: oklch(94% 0.035 150);
  --model: var(--accent); --model-soft: oklch(94% 0.03 25);
  --you: oklch(42% 0.09 255); --you-soft: oklch(94% 0.03 255);
  /* chart series palette — s1 matches accent */
  --s1: oklch(38% 0.09 25); --s2: #c08437; --s3: #4a6f9c;
  --s4: #96607e; --s5: #7a72ad; --s6: #ad6242;
  --seg-spot: oklch(85% 0.02 85);
  --on-series: #fff;   /* label text drawn on a series-coloured bar */
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg); color: var(--fg);
  font: 15px/1.6 var(--font-body);
  /* Lining tabular figures everywhere: this page is a column of numbers that
     must be comparable down the page, not only within a row. */
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
}
/* Fixed-format identifiers, set the way the industry sets them. Route codes,
   vessel classes, units and dates only — never prose. */
.chip, code, .unit, .dvc-key-item, .glance-sub.is-fact {
  font-family: var(--font-data);
  font-size: 0.92em;
  letter-spacing: -0.01em;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px 80px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
/* F22: --accent vs --fg is 1.62:1, and colour is the only cue at rest on
   prose links (axe link-in-text-block, serious). Underline links in running
   text and table cells at rest. Links that already carry a non-colour cue
   stay bare: a.chip (border/background), .topnav-links a (border-bottom),
   .card (card border), .scenario-col-a / .badge-1a (block tiles). */
p a:not(.chip), li a:not(.chip), td a:not(.chip), th a:not(.chip),
dd a:not(.chip), figcaption a:not(.chip), .dim a:not(.chip),
h1 a:not(.chip), h2 a:not(.chip), h3 a:not(.chip) {
  text-decoration: underline;
  text-underline-offset: 2px;
}
h1 { font-family: var(--font-display); font-size: 40px; font-weight: 700;
     margin: 18px 0 10px; line-height: 1.12; }
h1 .dim { color: var(--dim); font-weight: 400; letter-spacing: -0.01em; }
/* The ticker is a symbol, not a word: tighten it and let it carry the line. */
h1 { letter-spacing: -0.028em; }
h2, .panel h3 { font-size: 13px; font-weight: 650; margin: 0 0 14px;
     text-transform: uppercase; letter-spacing: .07em; color: var(--dim); }
.dim { color: var(--dim); font-weight: 400; }

/* ---- Navigation ---- */
.topnav { border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 100; }
.topnav-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; height: 52px; }
.topnav-brand { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--fg); white-space: nowrap; text-decoration: none; }
.topnav-brand:hover { text-decoration: none; }
.topnav-links { display: flex; align-items: center; gap: 22px; }
.topnav-more { position: relative; }
.topnav-more summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 600;
  color: var(--dim); white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
.topnav-more summary::-webkit-details-marker { display: none; }
.topnav-more summary:hover, .topnav-more[open] summary { color: var(--accent); }
.topnav-more summary.active { color: var(--accent); border-bottom-color: var(--accent); }
.topnav-menu { position: absolute; top: calc(100% + 8px); left: -12px; z-index: 110;
  display: grid; min-width: 170px; padding: 6px; background: var(--panel);
  border: 1px solid var(--line-strong); border-radius: 6px;
  box-shadow: 0 6px 20px oklch(23% 0.02 260 / 0.12); }
.topnav-menu a { padding: 7px 10px; border-bottom: 0; border-radius: 4px; }
.topnav-menu a:hover { background: var(--accent-dim); }
.topnav-menu a.active { background: var(--accent-dim); border-bottom: 0; }
.topnav-links a { font-size: 13px; font-weight: 600; color: var(--dim); white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; text-decoration: none; }
.topnav-links a:hover { color: var(--accent); text-decoration: none; }
.topnav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }

.banner {
  margin: 16px 24px; padding: 10px 16px; border-radius: 6px;
  background: var(--warn-bg); color: var(--warn-fg); font-weight: 500; font-size: 14px;
}

/* ---- Home hero ---- */
.hero { margin: 44px 0 30px; max-width: 34em; }
.hero h1 { font-family: var(--font-display); font-size: 31px; line-height: 1.22; margin: 0 0 12px; }
.lede { color: var(--dim); font-size: 14px; margin: 2px 0; }
/* the company sub-head is navigation, not caption — it links out */
h1 + .lede { color: var(--accent); font-size: 14.5px; margin-bottom: 16px; }

/* ---- Cards (homepage) ---- */
.grid.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px; margin: 8px 0 32px;
}
.card {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; padding: 18px 18px 12px; color: inherit;
}
.card:hover { text-decoration: none; border-color: var(--line-strong); }
.card h2 { color: var(--fg); margin-bottom: 4px; }
.card p.dim { font-size: 13px; line-height: 1.5; margin: 0 0 8px; }
.gap-note { font-style: italic; }

/* ---- Panel ---- */
.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; padding: 16px 18px; margin: 14px 0;
}
/* 6.8 (D7): the dark page's known-evidence list. */
.dark-gap-knowns { margin: 4px 0 4px 18px; padding: 0; max-width: 46em; }
.dark-gap-knowns li { margin: 3px 0; }
.panel > p { max-width: 46em; }
.panel pre {
  background: var(--bg); color: var(--dim); overflow-x: auto;
  border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 14px; font-size: 12.5px; line-height: 1.6;
}

/* ---- Badge ---- */
.badge-1a { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: var(--dim); background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 4px; padding: 3px 9px; margin: 18px 0 0; }

/* ---- Hero A card (DPS forecast) ---- */
.hero-a { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 6px;
  padding: 30px 40px; margin: 22px 0 0; }
.hero-a-top { display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; }
.hero-a-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--dim); font-weight: 650; }
.hero-a-value { font-family: var(--font-display); font-size: 48px; font-weight: 700;
  font-variant-numeric: tabular-nums; margin: 8px 0 6px; line-height: 1; }
.hero-a-sub { font-size: 15px; color: var(--dim); }
.hero-a-sub strong { color: var(--fg); font-weight: 600; }
.hero-a-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
  font-weight: 700; letter-spacing: .04em; padding: 6px 14px; border-radius: 20px;
  background: var(--ok-bg); color: var(--ok-fg); }
.hero-a-pill.medium { background: var(--warn-bg); color: var(--warn-fg); }
.hero-a-pill.low { background: var(--flag-bg); color: var(--flag-fg); }
.hero-a-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero-a-meta { font-size: 12px; color: var(--dim); margin-top: 4px; text-align: right; }

/* ---- Scenario strip A (hero) ---- */
.scenario-strip-a { margin-top: 26px; border-top: 1px solid var(--line-strong); }
/* H1: the strip carried no unit label, so three bare figures read as one
   comparison whatever their scale. The label names the quantity once. */
.scenario-strip-label { font-size: 10px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); text-align: center;
  padding: 8px 8px 0; }
.scenario-strip-cols { display: flex; }
.scenario-col-a { flex: 1; text-align: center; padding: 14px 8px;
  border-right: 1px solid var(--line); }
.scenario-col-a:last-child { border-right: none; }
.scenario-col-a.is-base { border-top: 2px solid var(--accent); margin-top: -1px; }
.scenario-tag-a { font-size: 10px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--dim); font-weight: 650; }
.scenario-col-a.is-base .scenario-tag-a { color: var(--accent); font-weight: 700; }
.scenario-val-a { font-family: var(--font-display); font-size: 19px; font-weight: 700;
  font-variant-numeric: tabular-nums; margin-top: 4px; }
.scenario-sub-a { font-size: 11px; color: var(--dim); margin-top: 2px; }

/* ---- Hero A footer ---- */
.hero-a-footer { display: flex; justify-content: space-between; align-items: center;
  gap: 24px; background: var(--bg); margin: 20px -40px -30px;
  padding: 14px 40px; border-radius: 0 0 6px 6px; flex-wrap: wrap;
  border-top: 1px solid var(--line); }
.evidence-line { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--dim); }
.evidence-line strong { color: var(--fg); font-weight: 600; }
.sparkline-wrap { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--dim); }

/* ---- Scenario strip mini ---- */
.scenario-strip-mini { display: flex; margin-top: 16px; border: 1px solid var(--line-strong);
  border-radius: 4px; overflow: hidden; }
.scenario-strip-mini .col { flex: 1; text-align: center; padding: 12px 8px;
  border-right: 1px solid var(--line-strong); }
.scenario-strip-mini .col:last-child { border-right: none; }
.scenario-strip-mini .col.is-base { background: var(--accent-dim); }
.scenario-strip-mini .tag { font-size: 10px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--dim); font-weight: 650; }
.scenario-strip-mini .val { font-family: var(--font-display); font-size: 17px;
  font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }

/* ---- Bridge rows (earnings waterfall) ---- */
.bridge-row { display: flex; align-items: baseline; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.bridge-row.anchor { font-weight: 650; }
.bridge-row.total { font-weight: 650; border-bottom: none;
  border-top: 1px solid var(--line-strong); padding-top: 12px; margin-top: 2px; }
.bridge-label { color: var(--dim); font-size: 13px; }
.bridge-delta { font-variant-numeric: tabular-nums; font-weight: 650; }
.bridge-delta.pos { color: var(--ok-fg); }
.bridge-delta.neg { color: var(--flag-fg); }
.bridge-value { font-variant-numeric: tabular-nums; }

/* ---- Stat row ---- */
.stat-row { display: flex; flex-wrap: wrap; gap: 24px; padding: 4px 0; }
.stat { min-width: 120px; }
.stat-label { display: block; color: var(--dim); font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.stat-value { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---- Table ---- */
/* Formula and chain blocks scroll inside themselves — the page body never
   scrolls sideways (methodology diagrams run to ~82 chars). */
pre {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  max-width: 100%;
}
pre::-webkit-scrollbar { height: 8px; }
pre::-webkit-scrollbar-track { background: transparent; }
pre::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }

.table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
  /* F24: a scrolling region is a dead end for keyboard users without
     tabindex=0 (axe scrollable-region-focusable). Set at build; focusable
     only where the region actually overflows (below) so narrow tables
     don't pollute tab order. */
}
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-track { background: transparent; }
.table-wrap::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }
table.data { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.data th { text-align: left; color: var(--dim); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .05em; }
.data th, .data td { padding: 7px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data th:first-child, .data td:first-child { padding-left: 0; }
.data tbody tr:last-child th, .data tbody tr:last-child td { border-bottom: none; }
table.data tr.total td { font-weight: 650; border-top: 1px solid var(--line-strong); border-bottom: none; }
.flag-col { white-space: normal; }

/* ---- Chips / badges ---- */
.chip {
  display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 4px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--dim);
  vertical-align: middle; font-variant-numeric: tabular-nums;
}
.chip.flag { background: var(--flag-bg); border-color: transparent; color: var(--flag-fg); font-weight: 600; }
.chip.ok { background: var(--ok-bg); border-color: transparent; color: var(--ok-fg); }
.chip.confidence-high { background: var(--ok-bg); border-color: transparent; color: var(--ok-fg); font-weight: 600; }
.chip.confidence-medium { background: var(--warn-bg); border-color: transparent; color: var(--warn-fg); font-weight: 600; }
.chip.confidence-low { background: var(--flag-bg); border-color: transparent; color: var(--flag-fg); font-weight: 600; }

/* ---- Docs list ---- */
ul.docs { list-style: none; margin: 0; padding: 0; }
ul.docs li { padding: 7px 0; border-bottom: 1px solid var(--line); }
ul.docs li:last-child { border-bottom: none; }

/* ---- Mix bar (spot/TC exposure) ---- */
.mix-cell { min-width: 110px; }
.mix-bar { display: flex; width: 96px; height: 10px; border-radius: 3px;
  overflow: hidden; background: var(--accent-dim); }
.mix-bar .seg.tc { background: var(--s1); }
.mix-bar .seg.spot { background: var(--seg-spot); }

/* ---- Charts ---- */
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: var(--dim); font-size: 11px; font-family: inherit; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .grid-x { opacity: .6; }
.chart .series.s1 { stroke: var(--s1); stroke-width: 2; }
.chart .series.s2 { stroke: var(--s2); stroke-width: 1.6; }
.chart .series.s3 { stroke: var(--s3); stroke-width: 1.6; }
.chart .series.s4 { stroke: var(--s4); stroke-width: 1.6; }
.chart .series.s5 { stroke: var(--s5); stroke-width: 1.6; }
.chart .series.s6 { stroke: var(--s6); stroke-width: 1.6; }
.chart .end-label { font-size: 11px; font-weight: 700; }
.chart .end-label.s1 { fill: var(--s1); }
.chart .end-label.s2 { fill: var(--s2); } .chart .end-label.s3 { fill: var(--s3); }
.chart .end-label.s4 { fill: var(--s4); } .chart .end-label.s5 { fill: var(--s5); }
.chart .legend { font-weight: 600; }
.chart .legend.s1 { fill: var(--s1); } .chart .legend.s2 { fill: var(--s2); }
.chart .legend.s3 { fill: var(--s3); } .chart .legend.s4 { fill: var(--s4); }
.chart-empty { fill: var(--dim); font-style: italic; }

/* ---- Gantt ---- */
.gantt .row-label { fill: var(--fg); font-size: 11.5px; font-weight: 550; }
.gantt .bar-label { fill: var(--on-series); font-size: 10.5px; font-weight: 600; }
.gantt .bar-label.out { fill: var(--dim); }
.gantt rect.g-fixed { fill: var(--s1); }
.gantt rect.g-subs { fill: var(--s3); opacity: .85; }
.gantt rect.g-failed { fill: none; stroke: var(--line-strong); }
.gantt rect.op-s1 { fill: var(--s1); }
.gantt rect.op-s2 { fill: var(--s2); }
.gantt rect.op-s3 { fill: var(--s3); }
.gantt rect.op-s4 { fill: var(--s4); }
.gantt rect.op-s5 { fill: var(--s5); }
.gantt rect.op-s6 { fill: var(--s6); }
.gantt .today { stroke: var(--s2); stroke-dasharray: 3 3; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.site-footer .wrap { padding-top: 18px; padding-bottom: 32px; }

.bench-img { width: 100%; height: auto; display: block; }

/* ---- Collapsible ---- */
details.collapsible { margin: 18px 0; }
details.collapsible > summary { cursor: pointer; font-size: 13px; font-weight: 650;
  text-transform: uppercase; letter-spacing: .06em; color: var(--dim);
  padding: 10px 0; list-style: none; }
details.collapsible > summary::-webkit-details-marker { display: none; }
details.collapsible > summary::before { content: "▸ "; }
details.collapsible[open] > summary::before { content: "▾ "; }

tr.q-fleet td { color: var(--dim); font-size: .93em; }
tr.q-fleet td:first-child { padding-left: 1.5rem; }

/* forecast columns */
.data .fc { background: var(--accent-dim); font-variant-numeric: tabular-nums; }
tr.q-total th, tr.q-total td { border-top: 2px solid var(--line-strong); font-weight: 600; }

/* ---- Commentary box ---- */
.commentary {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); padding: 14px 18px; margin: 22px 0;
}
.commentary-label { font-style: italic; font-size: 12px; color: var(--dim); margin: 0 0 10px; }
.commentary h3 { font-size: 14px; margin: 12px 0 6px; }
.commentary ul { margin: 4px 0 4px 18px; padding: 0; }
.commentary li { margin: 3px 0; }

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .wrap { padding: 0 16px 40px; }
  h1 { font-size: 27px; margin: 20px 0 8px; }
  .hero h1 { font-size: 26px; }
  .hero-a { padding: 24px 20px; }
  .hero-a-value { font-size: 38px; }
  .hero-a-top { align-items: flex-start; }
  .hero-a-meta { text-align: left; }
  .hero-a-footer { margin: 20px -20px -24px; padding: 14px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .scenario-strip-a { flex-direction: column; }
  .scenario-col-a { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-row { gap: 16px; }
  .stat { min-width: 90px; }
  .stat-value { font-size: 17px; }
  .topnav-links { gap: 14px; font-size: 12px; }
  .table-wrap { margin: 0 -16px; padding: 0 16px; }
  .data th, .data td { padding: 5px 8px; font-size: 12px; }
  .grid.cards { grid-template-columns: 1fr; }
}

/* F23: at 400px the single-row nav hid 5 of 10 destinations with no
   affordance (295px of the strip clipped, overflow-x: auto, no signal).
   Under 520px the nav wraps: brand on row 1, all links on row 2 — every
   destination visible, nothing hidden, no fade/chevron needed. */
@media (max-width: 520px) {
  .topnav-inner { flex-wrap: wrap; height: auto; padding: 0 16px;
                  padding-top: 8px; gap: 4px 16px; }
  .topnav-brand { line-height: 32px; }
  .topnav-links { gap: 2px 16px; overflow-x: visible; flex-wrap: wrap;
                  padding-bottom: 8px; }
}

/* K1: the three DPS methods as one passage — headline first, declines
   beside it (project-definition.md §3's cross-check rule). */
.dps-methods { margin-top: 10px; padding-top: 8px;
  border-top: 1px solid var(--line); }
.dps-methods-label { font-size: 10px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.dps-method { display: flex; gap: 8px; align-items: baseline;
  font-size: 12px; line-height: 1.5; }
.dps-method-name { color: var(--fg); }
.dps-method-val { font-weight: 700; }
.dps-method.is-declined .dps-method-name { color: var(--muted); }
.dps-method-out { color: var(--muted); }
@media (max-width: 520px) { .dps-method { flex-direction: column; gap: 0; } }

/* K2a: the opening paragraph. Larger than .lede — it is the page's answer,
   not a caption on a panel. */
.page-lede { font-size: 17px; line-height: 1.6; color: var(--fg);
  margin: 4px 0 20px; max-width: 68ch; }
@media (max-width: 520px) { .page-lede { font-size: 15px; } }

/* ---- At-a-glance strip (the first screen's answer, in five cells) ---- */
.glance { display: grid; gap: 0; margin: 22px 0 0;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; }
.glance-cell { padding: 18px 22px; box-shadow: 1px 0 0 var(--line); }
.glance-label { font-size: 11px; letter-spacing: .06em; font-weight: 700;
  color: var(--dim); text-transform: uppercase; margin-bottom: 6px; }
.glance-value { font-family: var(--font-display); font-size: 28px;
  font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.glance-value.is-forecast { color: var(--accent); }
/* Row two of the at-a-glance mini table: the yield under each dollar
   figure. Same line-height across the three cells so they read as a row. */
.glance-yield { font-size: 15px; font-weight: 650; margin-top: 3px;
  font-variant-numeric: tabular-nums; line-height: 1.3; }
.glance-yield.is-forecast { color: var(--accent); }
.glance-yield .dim { font-size: 12px; font-weight: 400; }
.glance-sub { font-size: 12.5px; color: var(--dim); margin-top: 3px; line-height: 1.45; }
.glance-sub.is-fact { color: var(--fg); }
.glance-sub.is-accent { color: var(--accent); }

/* ---- "What drives it" — the model's inputs, detail behind the link ---- */
.drivers { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 14px; }
.driver-label { color: var(--dim); font-size: 12px; }
.driver-value { font-family: var(--font-display); font-size: 24px;
  font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.driver-sub { font-size: 12.5px; color: var(--dim); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 12px; }
.panel-head h2, .panel-head h3 { margin-bottom: 0; }
.panel-foot { display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 28px; font-size: 14px; border-top: 1px solid var(--line);
  margin-top: 18px; padding-top: 14px; }
.panel-foot .facts { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.panel-foot strong { font-variant-numeric: tabular-nums; }

/* ---- Dividend chart (build-time geometry; no client-side JS) ---- */
.dvc { --dvc-h: 220px; margin-top: 4px; }
.dvc-plot-wrap { position: relative; padding-left: 34px; }
.dvc-seam { position: absolute; top: 0; right: 0; bottom: 0;
  background: color-mix(in oklch, var(--accent) 9%, transparent);
  border-left: 1px dashed var(--dim); z-index: 0; }
.dvc-seam-label { position: absolute; top: 2px; right: 8px; z-index: 2;
  font-size: 10.5px; letter-spacing: .08em; font-weight: 700;
  color: var(--accent); text-transform: uppercase; }
.dvc-axis { position: absolute; left: 34px; right: 0; top: 0; height: var(--dvc-h); }
.dvc-tick { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.dvc-tick span { position: absolute; right: calc(100% + 6px); top: -0.65em;
  font-size: 10.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.dvc-bars { position: relative; height: var(--dvc-h); display: grid; gap: 8px; z-index: 1; }
.dvc-col { position: relative; display: flex; justify-content: center; }
/* Paired bars: the market's rate for a fleet shaped like this one, beside
   the rate this fleet actually earned. The gap between them IS the panel. */
.dvc-pair { position: absolute; inset: 0; display: flex; align-items: flex-end;
  justify-content: center; gap: 2px; }
.dvc-bar { position: relative; width: 40%; background: var(--accent);
  border-radius: 2px 2px 0 0; min-height: 1px; }
.dvc-bar.is-bench { background: color-mix(in oklch, var(--s3) 38%, transparent); }
.dvc-bar.is-real { background: var(--accent); }
.dvc-bar.is-real.is-model { background: color-mix(in oklch, var(--accent) 20%, transparent);
  border: 1.5px dashed var(--accent); border-bottom: none; }
.dvc-key { display: flex; flex-wrap: wrap; gap: 14px; padding-left: 34px;
  margin-bottom: 10px; font-size: 11.5px; color: var(--dim); }
.dvc-key-item { display: inline-flex; align-items: center; gap: 5px; }
.dvc-sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.dvc-sw.is-bench { background: color-mix(in oklch, var(--s3) 38%, transparent); }
.dvc-sw.is-real { background: var(--accent); }
.dvc-sw.is-model { background: color-mix(in oklch, var(--accent) 20%, transparent);
  border: 1.5px dashed var(--accent); }
.dvc-sw.is-dps { background: var(--s2); border-radius: 50%; }
.dvc-band { fill: color-mix(in oklch, var(--s2) 18%, transparent); }
/* DPS-bar fallback (issuers with no rate series): absolute-positioned bars,
   the original encoding. */
.dvc-bar.is-abs { position: absolute; bottom: 0; width: 56%; }
.dvc-bar.is-abs.is-model { background: color-mix(in oklch, var(--accent) 14%, transparent);
  border: 1.5px dashed var(--accent); border-bottom: none; }
.dvc-bar.is-abs.is-special { background: var(--s2); }
.dvc-band-box { position: absolute; width: 56%;
  background: color-mix(in oklch, var(--accent) 14%, transparent); }
.dvc-pt-labels { display: grid; gap: 8px; margin-top: 3px; font-size: 10.5px;
  color: var(--dim); text-align: center; font-variant-numeric: tabular-nums; }
.dvc-pt-labels .is-forecast { color: var(--s2); }
.dvc-xlabels { display: grid; gap: 8px; padding-left: 34px; margin-top: 7px;
  font-size: 11.5px; color: var(--dim); text-align: center; }
.dvc-xlabels .is-forecast { color: var(--accent); font-weight: 600; }
.dvc-strip { margin-top: 20px; padding-left: 34px; }
.dvc-strip-label { font-size: 11.5px; color: var(--dim); margin-bottom: 4px; }
.dvc-strip-plot { position: relative; height: 80px; }
.dvc-strip-plot svg { width: 100%; height: 100%; display: block; overflow: visible; }
/* One tick per scored observation inside the forecast band: the band's width
   is the span of 2-3 quarters, and a reader should be able to count them. */
.dvc-band-tick { stroke: var(--s2); stroke-width: 1; opacity: 0.55; }
.dvc-line { fill: none; stroke: var(--s2); stroke-width: 2;
  vector-effect: non-scaling-stroke; }
.dvc-line.is-model { stroke-dasharray: 5 4; }
.dvc-dot { fill: var(--s2); }
.dvc-dot.is-model { fill: var(--panel); stroke: var(--s2); stroke-width: 2; }

@media (max-width: 640px) {
  .dvc { --dvc-h: 150px; }
  .dvc-bars { gap: 4px; }
  .dvc-xlabels { gap: 4px; font-size: 10px; }
  .glance-cell { padding: 14px 16px; }
  .glance-value { font-size: 24px; }
  .drivers { gap: 12px 24px; }
  .driver-value { font-size: 20px; }
}

/* ---- Chart figures (client-side upgrade over a build-time fallback) ---- */
.chart-fig { margin: 0; }
.chart-canvas { position: relative; width: 100%; height: 300px; }
.chart-fig .dvc-dates { display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: 12px; color: var(--dim); margin-top: 12px;
  padding-top: 10px; border-top: 1px solid var(--line); }
.chart-fig .dvc-dates strong { color: var(--fg); font-weight: 600; }
@media (max-width: 640px) { .chart-canvas { height: 230px; } }

/* ---- Status strip (lifecycle state above the title) ---- */
.statusbar { display: flex; flex-wrap: wrap; gap: 8px 26px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
  padding: 10px 18px; margin: 18px 0 4px; font-size: 13px; color: var(--dim); }
.statusbar strong { color: var(--fg); font-weight: 600;
  font-variant-numeric: tabular-nums; }
.glance-sub.is-up { color: var(--ok-fg); }
.glance-sub.is-down { color: var(--flag-fg); }

/* ---- Section groups (Vontobel's "Product Information" grouping) ---- */
details.group { border-top: 1px solid var(--line-strong); margin: 26px 0 0; }
details.group > summary { cursor: pointer; list-style: none;
  padding: 18px 0 14px; display: flex; align-items: center; gap: 10px; }
details.group > summary h2 { font-family: var(--font-display);
  font-size: 19px; font-weight: 700; color: var(--fg); margin: 0;
  text-transform: none; letter-spacing: normal; }
details.group > summary::-webkit-details-marker { display: none; }
details.group > summary::before { content: "▸"; color: var(--dim);
  font-size: 14px; font-family: inherit; }
details.group[open] > summary::before { content: "▾"; }
details.group > summary:hover h2 { color: var(--accent); }
details.group > summary:hover::before { color: var(--accent); }
details.group > .panel:first-of-type { margin-top: 0; }
details.group > details.collapsible { margin-left: 0; }

/* ---- Focus: visible for keyboard users, invisible to the mouse ---- */
a:focus-visible, summary:focus-visible, button:focus-visible,
[tabindex]:focus-visible, canvas:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px;
}

/* The canvas swap is height-neutral: without this the 348px fallback
   collapsing to a 300px canvas shifts the page whenever Chart.js lands
   after first paint (slow connections). */
.chart-fig { min-height: 300px; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Reader's own scenario box ---- */
.scenario { border-color: var(--line-strong); }
.scenario-reset { font: inherit; font-size: 12px; color: var(--accent);
  background: none; border: 1px solid var(--line-strong); border-radius: 4px;
  padding: 5px 12px; cursor: pointer; }
.scenario-reset:hover { border-color: var(--accent); }
.scenario:not(.is-live) .scenario-reset,
.scenario:not(.is-live) .scenario-range,
.scenario:not(.is-live) .scenario-num { display: none; }
.scenario.is-live .scenario-static { display: none; }
.scenario-lede { max-width: 68ch; margin-bottom: 18px; }

.scenario-rows { display: flex; flex-direction: column; gap: 12px; }
.scenario-row { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr auto;
  gap: 14px; align-items: center; }
.scenario-label { font-size: 14px; font-weight: 600; }
.scenario-label .dim { display: block; font-size: 11.5px; font-weight: 400; }
.scenario-range { width: 100%; accent-color: var(--accent); height: 24px; }
.scenario-num { display: flex; align-items: baseline; gap: 3px;
  font-variant-numeric: tabular-nums; font-size: 14px; }
.scenario-num input { font: inherit; font-variant-numeric: tabular-nums;
  width: 11ch; padding: 6px 8px; text-align: right; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px;
  -moz-appearance: textfield; }
.scenario-num input::-webkit-outer-spin-button,
.scenario-num input::-webkit-inner-spin-button { margin-left: 4px; }

.scenario-out { display: flex; flex-wrap: wrap; gap: 16px 40px;
  border-top: 1px solid var(--line-strong); margin-top: 20px; padding-top: 16px; }
.scenario-metric-label { font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--dim); font-weight: 650; }
.scenario-metric-value { font-family: var(--font-display); font-size: 26px;
  font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2;
  margin-top: 2px; }
.scenario-metric-value.is-forecast { color: var(--accent); }
.scenario-metric-sub { font-size: 12px; color: var(--dim); }
.scenario-note { margin-top: 10px; color: var(--warn-fg); }

@media (max-width: 640px) {
  .scenario-row { grid-template-columns: 1fr auto; }
  .scenario-range { grid-column: 1 / -1; }
  .scenario-metric-value { font-size: 22px; }
}

/* ---- Cross-company rate scenario ---- */
.compare-plot { margin: 22px 0 6px; }
.compare-plot .chart-fig { min-height: 0; }
#compare-table td.is-extrapolated, .data td.is-extrapolated { color: var(--warn-fg); font-weight: 600; }
[data-compare] .scenario-rows { display: grid; gap: 10px 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }

/* ---- Rate sliders grouped by trading segment ---- */
.rate-group { margin-top: 20px; }
.rate-group:first-of-type { margin-top: 8px; }
.rate-group-head { font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.rate-group-head .dim { font-weight: 400; letter-spacing: 0;
  text-transform: none; font-size: 11.5px; }

/* ── Signature: the capture bar ───────────────────────────────────────────
   The one thing this site exists to show is the gap between what the market
   paid for a fleet like this one and what the fleet actually earned. It was
   a pale bar beside a dark bar that a reader had to be told to look at.

   Here it is the page's loudest element, and the only place any boldness is
   spent: a single rule, the realized portion filled, the benchmark drawn to
   its full width, and the percentage set large in the display face. Nothing
   decorative — the bar's length IS the ratio, and the overflow past 100%
   reads as overflow because the fill runs past the track's end.           */
.capture {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 18px;
  align-items: end; margin: 2px 0 14px;
}
.capture-track {
  grid-column: 1; position: relative; height: 10px; margin-top: 14px;
  background: var(--accent-dim); border-radius: 1px;
}
.capture-fill {
  position: absolute; inset: 0 auto 0 0; background: var(--accent);
  border-radius: 1px;
}
/* The benchmark is a POSITION on the track, not the track's end. A bar that
   simply fills to 100% cannot show 145% — it looks identical to 100%, which
   is the one reading that must not be ambiguous. The track scales to whichever
   is larger, and this tick marks where the market sat, so a fleet that beat it
   visibly runs past its own mark. */
.capture-mark {
  position: absolute; top: -3px; bottom: -3px; width: 1px;
  background: var(--fg); opacity: .55;
}
.capture-mark::after {
  content: "market"; position: absolute; left: 3px; top: -13px;
  font-family: var(--font-data); font-size: 9px; letter-spacing: .04em;
  color: var(--dim); text-transform: uppercase;
}
.capture-pct {
  grid-column: 2; grid-row: 1 / span 2;
  font-family: var(--font-display); font-weight: 700; font-size: 34px;
  line-height: 0.9; color: var(--accent); letter-spacing: -0.03em;
}
.capture-legend {
  grid-column: 1; display: flex; justify-content: space-between;
  font-family: var(--font-data); font-size: 11px; color: var(--dim);
}
.capture-legend b { font-weight: 500; color: var(--fg); }
@media (max-width: 520px) {
  .capture-pct { font-size: 27px; }
  .capture-legend { font-size: 10px; }
}

/* ---- Company dashboard (owner 2026-09-24; design/mockups/trmd-dashboard.html) ---- */
.dash-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; margin: 18px 0 14px; }
.dash-two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; margin-bottom: 14px; }
.dash-col { display: grid; gap: 14px; align-content: start; }
/* a grid item's min-width is its content's — a nowrap table or figure would
   push the column, and a 375px phone, sideways (SW-R1) */
.dash-two > *, .dash-col > *, .ans > *, .dash-kpis > * { min-width: 0; }
.dash-kpis .card, .dash-two .card, .card.scenario { padding: 16px 18px; margin: 0; }
.dash-two .card h2, .card.scenario h2 { font-size: 15px; margin: 0 0 12px; display: flex;
  justify-content: space-between; align-items: baseline; gap: 8px; }
.dash-two .card h2 .dim { font-weight: 400; font-size: 13px; }
.k { font-family: var(--font-data); font-size: 11px; text-transform: uppercase;
  letter-spacing: .07em; color: var(--dim); }
.dash-big { font-family: var(--font-display); font-size: 32px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.15; margin: 4px 0 2px; }
.dash-kpis .dim { font-size: 13px; }
.is-model { color: var(--model); }
.is-you { color: var(--you); }
.is-guided { color: var(--guided); font-weight: 600; }
.is-up { color: var(--ok-fg); }
.is-down { color: var(--flag-fg); }
.tag { display: inline-block; font: 10.5px/1 var(--font-data); text-transform: uppercase;
  letter-spacing: .07em; padding: 4px 6px; border-radius: 3px; }
.t-guided { background: var(--guided-soft); color: var(--guided); }
.t-model { background: var(--model-soft); color: var(--model); }
.t-you { background: var(--you-soft); color: var(--you); }
.t-low { background: var(--warn-bg); color: var(--warn-fg); }
.t-medium { background: var(--warn-bg); color: var(--warn-fg); }
.t-high { background: var(--ok-bg); color: var(--ok-fg); }
/* the answer card reads as a table: source · basis · fleet rate · dividend */
.ans { display: grid; grid-template-columns: 116px 1fr 124px 118px; gap: 4px 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line); }
.ans-head { padding: 0 0 6px; border-top: 0; font: 11px var(--font-data); text-transform: uppercase;
  letter-spacing: .06em; color: var(--dim); }
.ans-head span:nth-child(n+3) { text-align: right; }
.ans-head + .ans { border-top: 1px solid var(--line-strong); }
.ans-r { font-family: var(--font-display); font-size: 17px; font-weight: 700; text-align: right; white-space: nowrap; }
.ans:first-of-type { border-top: 0; padding-top: 2px; }
.ans .tag { justify-self: start; }
.ans-d { font-size: 14px; color: var(--dim); }
.ans-d b { color: var(--fg); font-weight: 600; }
.ans-v { font-family: var(--font-display); font-size: 26px; font-weight: 700; text-align: right; white-space: nowrap; }
.flag { background: var(--warn-bg); color: var(--warn-fg); border-radius: 6px; padding: 14px 16px; font-size: 14px; }
.flag b { display: block; margin-bottom: 4px; }
.dash-two .data { font-size: 14px; }

.card.scenario { margin-bottom: 14px; }
.scn-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.scn-head h2 { margin: 0 !important; }
.scn-note { font-size: 13.5px; margin: 8px 0 4px; }
.scn-cls { padding: 10px 0; border-bottom: 1px solid var(--line); }
.scn-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.scn-top .dim { font-size: 12.5px; }
.scn-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: center; margin-top: 4px; }
.scn-row input[type=range] { width: 100%; accent-color: var(--you); }
.scn-num { display: flex; align-items: center; gap: 3px; font-size: 13.5px; }
.scn-num input { width: 90px; font: 14px var(--font-body); font-variant-numeric: tabular-nums; padding: 4px 6px;
  text-align: right; border-radius: 4px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); }
.scn-split { height: 6px; display: flex; border-radius: 3px; overflow: hidden; background: var(--you-soft); margin-top: 6px; }
.scn-split i { background: var(--guided); opacity: .75; }
.scn-presets { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.scn-presets button { font: 12.5px var(--font-body); padding: 5px 9px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--fg); }
[data-dps-row].is-extrapolated .scn-big { color: var(--warn-fg); }
.scn-warn { font-size: 13px; color: var(--warn-fg); background: var(--warn-bg); padding: 8px 10px; border-radius: 4px; margin: 0; }
/* §30 statement: rates in → P&L → policy → DPS. Financial-statement type:
   tabular figures, right-aligned, parentheses for negatives (built in the
   template/JS), rules above subtotals. Colour from --guided/--model/--you. */
/* hidden until a keyboard user tabs to it (SW-A1) */
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 200; padding: 8px 12px;
  background: var(--panel); color: var(--fg); border: 1px solid var(--line-strong);
  border-radius: 4px; font-weight: 600; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scn-key { display: inline-flex; gap: 6px; }
.scn-h { font-size: 15px; margin: 22px 0 6px; }
.scn-h .dim { font-weight: 400; font-size: 13px; }
.scn-src { font-size: 12.5px; margin: 6px 0 0; }
.table-scroll { overflow-x: auto; }
.rates-tbl td small, .pnl td small { display: block; font-size: 11px; color: var(--dim); font-weight: 400; }
.rates-tbl .num, .pnl .num { text-align: right; }
.rates-tbl th[scope=row] { color: var(--fg); font-size: 13px; text-transform: none; letter-spacing: 0; }
.spark { vertical-align: middle; }
.spark polyline { stroke: var(--dim); stroke-width: 1.5; }
.trend-col small { display: inline; margin-left: 4px; }
.scn-sliders { max-width: 640px; }
table.pnl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums;
  font-size: 14px; margin-top: 4px; }
.pnl th, .pnl td { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pnl thead th { font: 11px var(--font-data); text-transform: uppercase; letter-spacing: .06em;
  color: var(--dim); border-bottom: 1px solid var(--line-strong); }
.pnl thead th.is-model { color: var(--model); }
.pnl thead th.is-you { color: var(--you); }
.pnl th[scope=row] { text-align: left; font-weight: 400; padding-left: 0; }
.pnl td { white-space: nowrap; width: 7.5em; }
.pnl .unit { color: var(--dim); font-size: 12px; }
.pnl tr.is-sub th, .pnl tr.is-sub td { font-weight: 650; border-top: 1px solid var(--fg); }
.pnl tr.is-total th, .pnl tr.is-total td { border-bottom: 3px double var(--fg); }
.pnl tr.is-memo th, .pnl tr.is-memo td { color: var(--dim); font-style: italic; font-weight: 400; border-top: 0; }
.pnl .is-you { color: var(--you); }
.pnl .is-model { color: var(--model); }
.pnl-why summary { cursor: pointer; list-style: none; }
.pnl-why summary::-webkit-details-marker { display: none; }
.pnl-why summary::after { content: " ⓘ"; color: var(--dim); font-size: 11px; }
.pnl-why p { font-size: 12.5px; color: var(--dim); font-style: normal; font-weight: 400; margin: 4px 0 2px; white-space: normal; }
.pnl .tag { font-size: 9.5px; padding: 2px 4px; vertical-align: 1px; font-style: normal; }
.t-rung.t-stated { background: var(--guided-soft); color: var(--guided); }
.t-rung.t-pattern, .t-rung.t-modelled { background: var(--model-soft); color: var(--model); }
.t-rung.t-assumed { background: var(--warn-bg); color: var(--warn-fg); }
.pnl-cls td { padding: 0 0 6px; }
.pnl-cls summary { font-size: 12.5px; color: var(--dim); cursor: pointer; }
table.pnl-sub { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pnl-sub th, .pnl-sub td { padding: 3px 8px; border-bottom: 1px solid var(--line); }
.pnl-sub th[scope=row] { padding-left: 12px; }
.pnl-policy blockquote { margin: 6px 0; padding: 8px 12px; border-left: 3px solid var(--guided);
  background: var(--guided-soft); font-size: 14px; }
.pnl-policy p { font-size: 14px; margin: 6px 0; }
.pnl-out { margin-top: 14px; }
.pnl-out tr.is-total td.num { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.pnl-out tr.is-extrapolated td.is-you { color: var(--warn-fg); }
.scenario:not(.is-live) .col-you { display: none; }
@media (max-width: 520px) {
  .pnl { font-size: 12.5px; }
  .pnl th, .pnl td { padding: 5px 4px; }
  .pnl td { width: auto; }
  .pnl-out tr.is-total td.num { font-size: 16px; }
  .rates-tbl .wide { display: none; }
  .rates-tbl .spark { width: 44px; }
  .rates-tbl .trend-col small { display: block; margin: 0; }
  .rates-tbl th, .rates-tbl td { padding: 5px 4px; white-space: normal; font-size: 12px; }
  .data td { white-space: normal; }
  .rates-tbl thead th { font-size: 10px; letter-spacing: .03em; }
  .scn-row { grid-template-columns: 1fr 104px; }
  .scn-num input { width: 76px; }
}
.scenario:not(.is-live) .scn-row, .scenario:not(.is-live) .scn-presets { display: none; }
.div-bars text { font: 11px var(--font-data); fill: var(--dim); }
.div-bars text.val { font: 600 12px var(--font-body); fill: var(--fg); }
.div-bars .axis { stroke: var(--line-strong); }
.div-bars .bar { fill: var(--s2); }
.div-bars .bar.is-model { fill: none; stroke: var(--model); stroke-dasharray: 4 3; stroke-width: 1.5; }
.div-bars circle.you { fill: var(--you); }
.div-bars text.you { fill: var(--you); }

@media (max-width: 860px) {
  .dash-two { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-big { font-size: 25px; }
  .ans { grid-template-columns: 1fr auto auto; }
  .ans .tag { grid-column: 1 / 4; }
  .ans-d { grid-column: 1 / 4; }
  .ans-r { grid-column: 2; }
  .ans-head { display: none; }
  .ans-v { font-size: 22px; }
}

/* ---- Listing pages in the dashboard style (home, sectors, A–Z) ---- */
.dash-table { margin: 0 0 14px; padding: 16px 18px; }
.dash-table:hover { border-color: var(--line); }
.dash-table h2 { display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.dash-table h2 a.dim { font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.dash-foot { font-size: 13px; margin: 12px 0 0; max-width: 80ch; }
.dash-section { margin: 26px 0 10px; }
.dash-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 14px; }
.dash-three .card { padding: 14px 16px; }
.dash-three .card:hover { border-color: var(--line); }
.dash-three p { font-size: 13.5px; color: var(--dim); margin: 8px 0 0; }
.dash-big.is-guided { font-weight: 700; }
.t-neutral { background: var(--line); color: var(--dim); }
.card-stats { display: flex; gap: 22px; margin: 6px 0 8px; }
.card-stats b { font-family: var(--font-display); font-size: 20px; }
@media (max-width: 760px) { .dash-three { grid-template-columns: 1fr; } }
/* /compare/ is the cross-company "your scenario": the reader's colour */
[data-compare] input[type=range] { accent-color: var(--you); }

/* company bar: four boxes on shared rows (DPS · yield · fleet rate · detail),
   aligned across boxes by subgrid so a row reads as one comparison */
/* span 7, not 5: the model card carries up to two optional rows (dividend
   currency, rung chip), and a child past a subgrid's span is clamped onto its
   last line — the rung chip sat on the EPS line (SW-F4). Rows no card fills
   are empty tracks, 0px once the bar's own row gap is 0; the cards' row-gap
   spaces the inner rows and a margin spaces wrapped cards. */
.kpi-rows { grid-auto-rows: auto; row-gap: 0; margin-bottom: -10px; }
.kpi-rows .card { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 3px;
  align-content: start; }
.dash-kpis.kpi-rows .card { margin-bottom: 14px; }
.kpi-row { font-size: 13.5px; color: var(--fg); min-height: 1.4em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-rows .dash-big { white-space: nowrap; }
.kpi-row.dim { white-space: normal; }
.kpi-row b { font-weight: 650; }
.kpi-row.dim { font-size: 12.5px; color: var(--dim); }
.kpi-unit { font-size: 16px; font-weight: 600; color: var(--dim); margin-left: 1px; }
.kpi-foot { font-size: 12.5px; margin: 6px 0 14px; }
.ans-sub { font: 11px var(--font-data); text-transform: uppercase; letter-spacing: .06em;
  color: var(--dim); font-weight: 400; text-align: right; white-space: normal; }
.ans-v .kpi-unit { font-size: 14px; }
.ans-est { font: 600 11px var(--font-data); text-transform: uppercase; letter-spacing: .05em; vertical-align: 4px; }
.dash-big.is-extrap { color: var(--dim); }
.dash-chart { margin: 0 0 14px; padding: 16px 18px; }
.dash-chart:hover { border-color: var(--line); }
.dash-chart h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.dash-chart .div-bars { max-height: 260px; }

/* /checklist/: a wide matrix — compact, centred marks, scrolls inside .table-wrap */
.checklist th, .checklist td { white-space: nowrap; text-align: center; padding: 4px 8px; }
.checklist tbody th, .checklist thead tr:last-child th:first-child { text-align: left; }
.checklist td .dim, .checklist th .dim { font-size: .8em; font-weight: 400; }
