/* aero-safe-rl website. Dark by default; [data-theme="light"] on <html>
   switches every token. Charts and the 3D view read these tokens too
   (common.js token()), so one change here restyles everything. */

:root {
  color-scheme: dark;
  --page: #080d19;
  --page-2: #0c1426;
  --surface: #101a2f;
  --surface-2: #16223b;
  --surface-3: #1c2a47;
  --border: rgba(148, 170, 214, 0.14);
  --border-strong: rgba(148, 170, 214, 0.28);
  --ink: #eef2f9;
  --ink-2: #b4bfd4;
  --muted: #7f8aa3;
  --grid: #1d2940;
  --axis: #33415f;
  --accent: #2dd4bf;
  --accent-ink: #062a26;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --glow: rgba(45, 212, 191, 0.18);
  /* outcomes are states: fixed status colours, always shown with a label */
  --good: #0ca30c;
  --warning: #fab219;
  --critical: #e5484d;
  --neutral: #898781;
  --weak-rotor: #ff5a5f;
  --ground: #0d1629;
  --ground-line: #22304d;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-sm: 9px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1160px;
  --plot-background: var(--surface-2);
}

:root[data-theme="light"] {
  color-scheme: light;
  --page: #f6f7f9;
  --page-2: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --surface-3: #eef1f6;
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.20);
  --ink: #0b1220;
  --ink-2: #435069;
  --muted: #6a7489;
  --grid: #e5e8ee;
  --axis: #c3c9d5;
  --accent: #0d9488;
  --accent-ink: #ffffff;
  --accent-soft: rgba(13, 148, 136, 0.10);
  --glow: rgba(13, 148, 136, 0.12);
  --critical: #d03b3b;
  --weak-rotor: #e0353b;
  --ground: #e9edf3;
  --ground-line: #cfd6e2;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: 0.9em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.muted { color: var(--muted); }
.ink-2 { color: var(--ink-2); }
.small { font-size: 0.875rem; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------ header */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--page) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; color: var(--accent); }
.nav { display: flex; gap: 18px; margin-left: auto; font-size: 0.92rem; }
.nav a { color: var(--ink-2); white-space: nowrap; }
@media (max-width: 520px) { .nav { gap: 12px; font-size: 0.85rem; } .topbar .wrap { gap: 12px; } }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
@media (max-width: 860px) { .nav .optional { display: none; } }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); cursor: pointer;
}
.icon-btn:hover { color: var(--ink); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ buttons, chips */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px;
  font: 600 0.95rem/1 var(--sans); border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--ink); cursor: pointer; transition: transform 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.small { padding: 7px 11px; font-size: 0.85rem; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface-2); font-size: 0.82rem; color: var(--ink-2);
  white-space: nowrap;
}
button.chip { cursor: pointer; font-family: var(--sans); }
button.chip[aria-pressed="false"] { opacity: 0.5; }
button.chip[aria-pressed="false"] .dot { background: transparent !important; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; border: 2px solid currentColor; }
.dot.solid { border: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 700 0.75rem/1 var(--mono);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.outcome { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; white-space: nowrap; }
.outcome::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.o-mission_success { --c: var(--good); }
.o-safe_landing { --c: var(--warning); }
.o-crash { --c: var(--critical); }
.o-incomplete { --c: var(--neutral); }
.warn-chip { color: var(--warning); border-color: color-mix(in srgb, var(--warning) 40%, transparent); }

/* ------------------------------------------------------------ sections */
section { padding: 88px 0; border-top: 1px solid var(--border); }
section.alt { background: var(--page-2); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.figure { margin: 0; }
.figure figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--muted); }
.note { font-size: 0.86rem; color: var(--muted); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; padding: 64px 0 56px; border-top: none; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 78% 12%, var(--glow), transparent 60%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 44px 44px;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.hero h1 .accent { color: var(--accent); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.stat .value { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat .label { color: var(--ink-2); font-size: 0.92rem; margin-top: 6px; }
.stat .sub { color: var(--muted); font-size: 0.8rem; margin-top: 4px; }

/* ------------------------------------------------------------ 3D viewer */
.viewer {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ground);
  border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 16 / 10; min-width: 0;
}
@media (max-width: 640px) { .viewer { aspect-ratio: 4 / 3; } }
.viewer canvas { display: block; width: 100%; height: 100%; }
.viewer .label3d {
  font: 600 11px/1 var(--sans); color: var(--ink); background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid var(--border-strong); border-left: 3px solid var(--c); border-radius: 6px; padding: 4px 7px;
  white-space: nowrap; pointer-events: none; display: inline-block;
}
.viewer .label3d.weak { border-left-color: var(--weak-rotor); color: var(--weak-rotor); }
.viewer-hud {
  position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none;
}
.viewer-hud .chip { background: color-mix(in srgb, var(--surface) 88%, transparent); }
.viewer-clock {
  position: absolute; right: 12px; top: 12px; font: 600 0.85rem/1 var(--mono); color: var(--ink);
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--border);
  padding: 7px 10px; border-radius: 8px; pointer-events: none;
}
.viewer-clock .event { color: var(--weak-rotor); }
.viewer-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); padding: 20px; text-align: center; }
.viewer-tools { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }

/* ------------------------------------------------------------ player controls and timelines */
.player { display: flex; align-items: center; gap: 12px; margin: 12px 0 4px; flex-wrap: wrap; }
.player input[type=range] { flex: 1; min-width: 160px; accent-color: var(--accent); }
.player .time { font: 600 0.85rem/1 var(--mono); color: var(--ink-2); min-width: 118px; text-align: right; }
.player select { font: 0.85rem var(--sans); background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); border-radius: 8px; padding: 6px 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.timelines { position: relative; margin-top: 8px; user-select: none; }
.timelines .track { position: relative; margin-bottom: 4px; }
.timelines .track-title { font-size: 0.78rem; color: var(--muted); margin: 6px 0 0 2px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.timelines .key { display: inline-flex; align-items: center; gap: 5px; }
.timelines .key i { width: 14px; height: 3px; border-radius: 2px; background: var(--c); display: inline-block; }
.timelines svg { display: block; overflow: visible; }
.timelines .cursor { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); pointer-events: none; opacity: 0.85; }
.timelines .scrub { position: absolute; inset: 0; cursor: ew-resize; }

/* ------------------------------------------------------------ charts */
.chart { color: var(--muted); font: 12px var(--sans); }
.chart figure { margin: 0; }
.chart svg { overflow: visible; max-width: 100%; height: auto; }
.chart h3 { color: var(--ink); }
.chart-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 16px; box-shadow: var(--shadow); }
.chart-card + .chart-card { margin-top: 24px; }
.chart-card .takeaway { color: var(--ink-2); font-size: 0.97rem; max-width: 820px; }
.chart-card .source { font-size: 0.78rem; color: var(--muted); margin-top: 8px; }
.facets { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
details.table-view { margin-top: 10px; font-size: 0.85rem; }
details.table-view summary { cursor: pointer; color: var(--muted); }
table.data { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
table.data th, table.data td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.data th { font-size: 0.78rem; color: var(--muted); font-weight: 600; position: sticky; top: 0; background: var(--surface); }
.scroll-x { overflow-x: auto; }

/* ------------------------------------------------------------ severity explainer */
.severity-lab { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
@media (max-width: 900px) { .severity-lab { grid-template-columns: 1fr; } }
.severity-lab input[type=range] { width: 100%; accent-color: var(--weak-rotor); }
.zone { display: flex; gap: 0; margin-top: 12px; border-radius: 8px; overflow: hidden; font-size: 0.75rem; }
.zone div { padding: 6px 8px; flex: 1; text-align: center; color: var(--ink); }
.zone .z1 { background: color-mix(in srgb, var(--good) 22%, var(--surface)); flex-basis: 35%; }
.zone .z2 { background: color-mix(in srgb, var(--warning) 26%, var(--surface)); flex-basis: 10%; }
.zone .z3 { background: color-mix(in srgb, var(--critical) 22%, var(--surface)); flex-basis: 55%; }
.big-number { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }

/* ------------------------------------------------------------ pipeline diagram */
.diagram svg { width: 100%; height: auto; display: block; }
.diagram .node rect { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.2; }
.diagram .node.hot rect { stroke: var(--accent); }
.diagram .node.fault rect { stroke: var(--weak-rotor); }
.diagram .t1 { fill: var(--ink); font: 700 15px var(--sans); }
.diagram .t2 { fill: var(--ink-2); font: 12.5px var(--sans); }
.diagram .t3 { fill: var(--muted); font: 600 11px var(--mono); letter-spacing: 0.06em; }
.diagram .edge { fill: none; stroke: var(--axis); stroke-width: 2; }
.diagram .flow { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-dasharray: 6 10; animation: flow 1.1s linear infinite; }
.diagram .flow.cmd { stroke: var(--warning); }
.diagram .flow.fault { stroke: var(--weak-rotor); }
.diagram .arrow { fill: var(--axis); }
@keyframes flow { to { stroke-dashoffset: -32; } }
@media (prefers-reduced-motion: reduce) { .diagram .flow { animation: none; } }

/* ------------------------------------------------------------ media */
.media-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-card video, .media-card img { display: block; width: 100%; height: auto; background: #000; }
.media-card .caption { padding: 12px 16px; font-size: 0.86rem; color: var(--ink-2); }
.tag { display: inline-block; font: 700 0.68rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; margin-right: 6px; }
.tag.train { background: color-mix(in srgb, #76b900 22%, transparent); color: #8fd400; }
.tag.eval { background: var(--accent-soft); color: var(--accent); }
:root[data-theme="light"] .tag.train { color: #4d7a00; }
.placeholder { display: grid; place-items: center; aspect-ratio: 16 / 9; color: var(--muted); font-size: 0.9rem; padding: 20px; text-align: center; background: var(--surface-2); }

/* ------------------------------------------------------------ featured tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { font: 600 0.88rem var(--sans); padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--ink); background: var(--accent-soft); }

/* ------------------------------------------------------------ limits */
.limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.limit { border-left: 3px solid var(--warning); }
.limit .num { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }

/* ------------------------------------------------------------ explorer */
.explorer-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 1100px) { .explorer-layout { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.25rem; margin-bottom: 4px; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 12px 0; }
.filters label { font-size: 0.75rem; color: var(--muted); display: grid; gap: 4px; }
.filters select { font: 0.88rem var(--sans); background: var(--surface-2); color: var(--ink); border: 1px solid var(--border-strong); border-radius: 8px; padding: 7px 8px; width: 100%; }
.table-wrap { max-height: 560px; overflow: auto; border: 1px solid var(--border); border-radius: 10px; }
.flight-table tbody tr { cursor: pointer; }
.flight-table tbody tr:hover { background: var(--surface-2); }
.flight-table tbody tr[aria-selected="true"] { background: var(--accent-soft); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 0.86rem; }
.info-grid dt { color: var(--muted); }
.info-grid dd { margin: 0; color: var(--ink); }

/* ------------------------------------------------------------ footer */
footer { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--muted); font-size: 0.86rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }

/* ------------------------------------------------------------ interval rows (comparisons) */
.irows { display: grid; gap: 2px; }
.irow { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.6fr) 138px; gap: 16px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); }
.irow.axis { border-bottom: none; padding: 0; height: 18px; }
.irow.axis .ibar { height: 18px; }
.irow.axis span { position: absolute; transform: translateX(-50%); font: 11px var(--mono); color: var(--muted); top: 0; }
.ilabel { font-size: 0.93rem; color: var(--ink); }
.ibar { position: relative; height: 26px; }
.ibar i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--grid); }
.ibar i.zero { background: var(--axis); width: 2px; }
.ibar b { position: absolute; top: 11px; height: 4px; border-radius: 2px; background: var(--ink-2); opacity: 0.55; }
.ibar em { position: absolute; top: 6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--ink-2); background: var(--surface); }
.ibar em.holds { background: var(--accent); border-color: var(--accent); }
.iverdict { font-size: 0.86rem; color: var(--muted); }
.iverdict.holds { color: var(--accent); font-weight: 700; }
@media (max-width: 720px) {
  .irow { grid-template-columns: 1fr 104px; gap: 6px 12px; }
  .irow .ilabel { grid-column: 1 / -1; }
  .irow.axis > div:first-child, .irow.axis > div:last-child { display: none; }
  .irow.axis { grid-template-columns: 1fr 104px; }
}

/* ------------------------------------------------------------ outcome bars */
.stack-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; margin: 8px 0; }
.stack-name { font-size: 0.88rem; display: flex; align-items: center; gap: 8px; }
.stack { display: flex; height: 26px; border-radius: 6px; overflow: hidden; background: var(--surface-3); gap: 2px; }
.stack span { display: grid; place-items: center; font: 700 0.75rem var(--sans); color: #0b0f19; background: var(--c); min-width: 3px; }
.outcome-key { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

/* ------------------------------------------------------------ pipeline */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; position: relative; }
.pipe-step { position: relative; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.pipe-step .rate { font: 700 0.7rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pipe-step h3 { margin: 8px 0 6px; font-size: 1.02rem; }
.pipe-step p { font-size: 0.86rem; color: var(--ink-2); margin: 0; }
.pipe-step.fault { border-color: color-mix(in srgb, var(--weak-rotor) 55%, transparent); }
.pipe-step.ours { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); }
.pipe-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -26px; width: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); background-size: 24px 2px;
  animation: dash 0.9s linear infinite;
}
@keyframes dash { to { background-position: 24px 0; } }
.pipe-return { margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius); border: 1px dashed color-mix(in srgb, var(--warning) 60%, transparent); background: color-mix(in srgb, var(--warning) 7%, var(--surface)); font-size: 0.92rem; flex-wrap: wrap; }
.pipe-return .cmds { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 980px) {
  .pipeline { grid-template-columns: 1fr; gap: 22px; }
  .pipe-step:not(:last-child)::after { top: auto; bottom: -22px; right: auto; left: 32px; width: 2px; height: 22px; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); background-size: 2px 24px; animation: dashv 0.9s linear infinite; }
  @keyframes dashv { to { background-position: 0 24px; } }
}
@media (prefers-reduced-motion: reduce) { .pipe-step::after { animation: none !important; } }

/* ------------------------------------------------------------ thrust bars (the problem) */
.thrust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; height: 200px; align-items: end; position: relative; padding-top: 8px; }
.thrust .bar { position: relative; background: var(--surface-3); border-radius: 8px 8px 4px 4px; height: 100%; display: flex; align-items: flex-end; }
.thrust .fill { width: 100%; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, transparent)); transition: height 0.35s ease; }
.thrust .bar.weak .fill { background: linear-gradient(180deg, var(--weak-rotor), color-mix(in srgb, var(--weak-rotor) 55%, transparent)); }
.thrust .bar.short .fill { animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.55; } }
.thrust .hover-line { position: absolute; left: -6px; right: -6px; border-top: 2px dashed var(--ink-2); pointer-events: none; }
.thrust .hover-line span { position: absolute; right: 0; top: -22px; font-size: 0.75rem; color: var(--ink-2); background: var(--surface); padding: 0 4px; }
.thrust-names { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 6px; }
.verdict-line { font-size: 1.02rem; margin-top: 12px; min-height: 3em; }
