:root {
  color-scheme: light;
  --background: oklch(0.9900 0 0);
  --foreground: oklch(0 0 0);
  --card: oklch(1 0 0);
  --muted: oklch(0.4400 0 0);
  --muted-foreground: oklch(0.4400 0 0);
  --secondary: oklch(0.9400 0 0);
  --border: oklch(0.9200 0 0);
  --destructive: oklch(0.6300 0.1900 23.0300);
  --chart-1: oklch(0.8100 0.1700 75.3500);
  --chart-2: oklch(0.5500 0.2200 264.5300);
  --radius: 0.5rem;
  --font-sans: "Geist Sans", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --shadow: 0 1px 2px 0 hsl(0 0% 0% / 0.18);
  --paper: var(--background);
  --paper-raised: var(--card);
  --rule: var(--border);
  --rule-strong: oklch(0.8400 0 0);
  --ink: var(--foreground);
  --live: var(--destructive);
  --live-soft: color-mix(in oklch, var(--destructive) 12%, white);
  --data: var(--chart-2);
  --data-soft: color-mix(in oklch, var(--chart-2) 12%, white);
  --amber: var(--chart-1);
  --amber-soft: color-mix(in oklch, var(--chart-1) 14%, white);
  --ok: oklch(0.45 0.08 155);
  --fail: var(--destructive);
  --mono: var(--font-mono);
  --serif: var(--font-sans);
  --page-pad: clamp(20px, 3.2vw, 48px);
  --measure: min(1180px, calc(100% - var(--page-pad) * 2));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 52px;
}

html, body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  font-synthesis: none;
}
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
}

.sr-only, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 30;
  width: auto;
  height: auto;
  clip: auto;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--paper);
}

.masthead {
  border-bottom: 1px solid var(--rule);
}

.masthead-inner,
.desk-nav,
main > .chapter {
  width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

.masthead-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 22px 0 16px;
}

.brand {
  color: inherit;
  text-decoration: none;
}

.brand em {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.masthead-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

#edgeStatus { white-space: nowrap; }

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: live-pulse 1.8s ease-in-out infinite;
}

#edgeStatus.is-cached { color: var(--amber); }

.masthead-meta {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 11px;
  color: var(--muted);
}

.masthead-meta a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
}

.masthead-meta a:hover { border-color: var(--ink); }

#topPace {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
  max-width: 100%;
}

#topPace strong {
  color: var(--data);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

#topPace.is-behind strong { color: var(--amber); }

#topPace small {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: normal;
  text-align: right;
}

.desk-nav {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  padding: 0 var(--page-pad);
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}

.desk-nav-rail {
  display: flex;
  gap: 0;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.desk-nav-rail::-webkit-scrollbar { display: none; }

.desk-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  padding: 12px 12px 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}

.desk-nav a em {
  font-style: normal;
  color: var(--data);
  font-variant-numeric: tabular-nums;
}

.desk-nav a.is-on,
.desk-nav a[aria-current="location"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.desk-nav .window-box { flex: 0 0 auto; }

.window-box select,
.tape-filters button {
  border: 1px solid var(--rule-strong);
  background: var(--paper-raised);
  color: var(--ink);
  padding: 7px 10px;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tape-filters { display: flex; gap: 6px; }
.tape-filters button { cursor: pointer; }
.tape-filters button.is-on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.chapter { padding: 36px 0 8px; }

.figure-kicker {
  margin: 0 0 8px;
  color: var(--data);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 12px;
  max-width: 18ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lede, .caption {
  max-width: 68ch;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.caption { font-size: 14px; margin: 8px 0 0; }

.stock-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
  gap: 36px;
  align-items: end;
  margin: 28px 0 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}

.stock-lead span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stock-lead strong {
  display: block;
  margin: 6px 0 4px;
  padding: 2px 0;
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 92px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  overflow: visible;
}

.stock-lead small { color: var(--muted); }

.stock-meter { padding-bottom: 8px; }

.meter-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--muted);
}

.meter-labels span:first-child { color: var(--ink); font-variant-numeric: tabular-nums; }

.meter {
  height: 10px;
  background: #ece8de;
}

.meter i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--data);
  transition: width 240ms ease-out;
}

#labPaceLine {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 8px;
  border-bottom: 1px solid var(--rule);
}

.kpis article,
.runway-grid article,
.signal-card,
.strip,
#namedList li,
#factoryList li,
#convertList li {
  padding: 18px 18px 18px 0;
  border: 0;
  background: transparent;
}

.kpis article {
  border-right: 1px solid var(--rule);
  padding-right: 18px;
}

.kpis article:last-child {
  border-right: 0;
  padding-right: 0;
}

.kpis span,
.runway-grid span,
.section-head h2,
.tape-filters button,
.subhead {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.kpis strong,
.runway-grid strong {
  display: block;
  margin: 8px 0 6px;
  padding: 2px 0;
  min-height: 1.1em;
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  overflow: visible;
}

.kpis small, .runway-grid small { color: var(--data); }
.kpis p, .runway-grid p, .section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.split { padding-top: 28px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2,
.field-briefing h2,
.subhead {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: none;
}

.subhead {
  margin: 28px 0 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.section-head p { margin: 0; max-width: 72ch; }

.track {
  display: flex;
  height: 12px;
  background: #ece8de;
  overflow: hidden;
}

.track i, .keys i { display: block; }
.track .live, .keys .live { background: var(--live); }
.track .overlap, .keys .overlap { background: var(--amber); }
.track .historic, .keys .historic { background: var(--data); }

.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
}

.keys i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  vertical-align: -1px;
}

.keys b { color: var(--ink); font-weight: 500; }

.trial-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trial-board > li { margin: 0; padding: 0; }

.trial-card {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
}

a.trial-card:hover .trial-open,
a.trial-card:focus-visible .trial-open { color: var(--ink); }

a.trial-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

.trial-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.trial-card .trial-id {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trial-status {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trial-status.is-running,
.trial-status.is-armed { color: var(--live); }
.trial-status.is-supported { color: var(--ok); }
.trial-status.is-falsified,
.trial-status.is-confounded { color: var(--fail); }
.trial-status.is-pending,
.trial-status.is-closed { color: var(--muted); }

.trial-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.trial-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.trial-card .trial-result { color: var(--ink); }

.trial-open {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 11px;
}

.chart-wrap { position: relative; overflow: visible; }

.chart { min-height: 260px; overflow: visible; }

.chart svg { width: 100%; height: 260px; display: block; overflow: visible; }
.chart.first-seen svg { height: 160px; }
.chart.first-seen { min-height: 160px; margin-top: 18px; }
.chart .grid { stroke: var(--rule); stroke-dasharray: 2 4; }
.chart .ref-floor { stroke: var(--amber); stroke-dasharray: 4 4; }
.chart .ref-pace { stroke: var(--data); stroke-dasharray: 3 5; opacity: 0.7; }
.chart .hour-col { fill: var(--data); fill-opacity: 0.78; cursor: crosshair; }
.chart .hour-col.is-low { fill: var(--amber); }
.chart .hour-col.is-now { fill-opacity: 0.5; stroke: var(--ink); stroke-width: 0.6; }
.chart .hour-col.is-hover { fill-opacity: 1; stroke: var(--ink); stroke-width: 1.1; }
.chart .hour-line { stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; opacity: 0.88; pointer-events: none; }
.chart .stock-line { stroke: var(--data); stroke-width: 1.1; stroke-dasharray: 3 3; opacity: 0.55; pointer-events: none; }
.chart .event-dot { fill: var(--live); pointer-events: none; }
.chart .peak { fill: var(--ink); font-size: 8px; letter-spacing: 0.06em; }
.chart .axis, .chart .axis-end { fill: var(--muted); font-size: 10px; font-family: var(--mono); }
.chart .axis-end.pace { fill: var(--data); }
.chart text { fill: var(--muted); font-size: 10px; font-family: var(--mono); }

.chart-tip {
  position: absolute;
  z-index: 3;
  min-width: 160px;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  line-height: 1.45;
  pointer-events: none;
}

.chart-tip b, .chart-tip span { display: block; }
.chart-tip b { margin-bottom: 4px; letter-spacing: 0.04em; }

.chart-key {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chart-key i {
  display: inline-block;
  width: 10px;
  height: 8px;
  margin-right: 6px;
  vertical-align: -1px;
}

.chart-key .key-floor { background: var(--amber); }
.chart-key .key-pace { background: var(--data); }
.chart-key .key-line { background: var(--ink); height: 2px; vertical-align: 3px; }
.chart-key .key-events { background: var(--live); height: 3px; vertical-align: 2px; }

.provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.provider-grid h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.provider-grid ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.provider-grid li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.provider-grid li span { color: var(--ink); }
.provider-grid li i {
  display: block;
  height: 8px;
  background: #ece8de;
  position: relative;
}
.provider-grid li i::after {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  background: var(--data);
}
.provider-grid li em {
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.bots-panel {
  margin-top: 28px;
}
.bots-panel h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}
.bots-panel p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  max-width: 72ch;
}
.bots-scroll {
  overflow-x: auto;
}
.bots-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.bots-panel th,
.bots-panel td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line, #e3e7e9);
  white-space: nowrap;
}
.bots-panel th {
  color: var(--muted);
  font-weight: 500;
}
.bots-panel td.bots-empty {
  color: var(--muted);
  font-style: italic;
}

.door-mix {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  margin: 0 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.door-mix-counts { display: grid; gap: 10px; }
.door-mix-viz { display: grid; gap: 14px; min-width: 0; }
.door-mix-share { display: grid; gap: 8px; }

.door-mix-strip {
  display: flex;
  height: 36px;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.door-mix-seg {
  margin: 0;
  padding: 0 6px;
  min-width: 4px;
  border: 0;
  border-right: 1px solid var(--paper);
  background: var(--data);
  color: var(--paper);
  font: inherit;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.door-mix-seg:last-child { border-right: 0; }
.door-mix-seg.is-lead { background: var(--ink); }
.door-mix-seg.is-rest { background: #8aa0b4; color: var(--ink); }
.door-mix-seg span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.door-mix-caption {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.door-mix-counts span { display: grid; gap: 2px; }
.door-mix-counts b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.door-mix-counts small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.door-mix-chart { display: grid; gap: 7px; }

.door-mix-row {
  display: grid;
  grid-template-columns: minmax(72px, 160px) minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.door-mix-row b {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.door-mix-row i {
  display: block;
  height: 8px;
  background: #ece8de;
  position: relative;
}

.door-mix-row i::after {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  background: var(--data);
}

.door-mix-row.is-lead i::after { background: var(--ink); }
.door-mix-row.is-lead b { color: var(--ink); }

.door-mix-row em {
  color: var(--ink);
  font-size: 10px;
  font-style: normal;
  text-align: right;
}

.strips {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  max-height: 340px;
  overflow: auto;
  border-top: 1px solid var(--rule);
}

.strip {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.strip.live { box-shadow: inset 3px 0 0 var(--live); padding-left: 10px; }
.strip.historic { opacity: 0.82; }
.strip time { color: var(--muted); font-size: 11px; }
.strip strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.strip em {
  font-style: normal;
  color: var(--live);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.strip small { display: block; color: var(--muted); word-break: break-all; }

.runway-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 0;
}

.runway-grid article {
  border-right: 1px solid var(--rule);
  padding: 8px 18px 18px 0;
}

.runway-grid article:last-child {
  border-right: 0;
  padding-right: 0;
}

.growth-grid {
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
}

.signal-card {
  padding: 12px 0 18px;
  border-top: 1px solid var(--rule);
}

.signal-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.signal-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.signal-card b { color: var(--ink); font-weight: 500; }

#namedList, #factoryList, #convertList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 520px;
  overflow: auto;
  border-top: 1px solid var(--rule);
}

#namedList li, #factoryList li, #convertList li {
  cursor: pointer;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

#namedList li.is-intake, #factoryList li.is-intake, #convertList li.is-intake {
  box-shadow: inset 3px 0 0 var(--data);
  padding-left: 10px;
}
#convertList li.is-feeder { box-shadow: inset 3px 0 0 var(--amber); padding-left: 10px; }
#convertList li.is-waiting { opacity: 0.62; }
#namedList header, #factoryList header, #convertList header {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) 1fr auto;
  gap: 14px;
  align-items: center;
}
#namedList b, #factoryList b, #convertList b {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
#namedList .bar, #factoryList .bar, #convertList .bar {
  height: 8px;
  background: #ece8de;
}
#namedList .bar i, #factoryList .bar i, #convertList .bar i {
  display: block;
  height: 100%;
  background: var(--data);
  min-width: 0;
}

.growth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 18px;
}

.growth-split h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.growth-split ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.growth-split li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
}

.growth-split b { color: var(--ink); font-weight: 500; }
#namedList .bar.is-empty i, #factoryList .bar.is-empty i, #convertList .bar.is-empty i {
  background: var(--rule-strong);
  width: 2px;
}
#namedList small, #factoryList small, #convertList small { color: var(--muted); }
#convertList p { display: none; margin: 10px 0 0; color: var(--muted); }
#convertList li.is-open p { display: block; }

.field-briefing h2 {
  margin: 4px 0 10px;
  font-size: 28px;
}

.field-briefing > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

.briefing-ops {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.briefing-ops li {
  padding: 0 0 12px;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

.briefing-ops b {
  color: var(--data);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.briefing-ops h3 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.briefing-ops p,
.briefing-findings p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.briefing-findings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.briefing-findings article {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}

.briefing-findings h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.briefing-thesis {
  margin-top: 18px !important;
  color: var(--ink) !important;
  font-size: 16px !important;
}

.empty {
  padding: 28px 4px;
  border-top: 1px dashed var(--rule);
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

@media (max-width: 1100px) {
  .masthead-inner,
  .kpis,
  .runway-grid,
  .signal-grid,
  .growth-split,
  .provider-grid,
  .trial-board,
  .stock-row { grid-template-columns: 1fr 1fr; }
  .growth-grid { grid-template-columns: 1fr 1fr; }
  #namedList header, #factoryList header, #convertList header { grid-template-columns: 1fr; }
  .door-mix { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .masthead-inner { grid-template-columns: 1fr; min-width: 0; }
  .masthead-status, .masthead-meta { justify-content: flex-start; }
  .masthead-meta { flex-wrap: wrap; max-width: 100%; }
  #topPace { align-items: flex-start; }
  #topPace small { text-align: left; }
  html { scroll-padding-top: 52px; }
  .briefing-ops,
  .briefing-findings { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: none; }
}

@media (max-width: 700px) {
  .kpis,
  .runway-grid,
  .signal-grid,
  .growth-split,
  .provider-grid,
  .trial-board,
  .stock-row,
  .briefing-ops,
  .briefing-findings { grid-template-columns: 1fr; }
  .kpis article,
  .runway-grid article { border-right: 0; border-bottom: 1px solid var(--rule); }
  .masthead-meta a { display: none; }
  .hero h1 { font-size: 36px; }
}

.globe-board { display: grid; gap: 18px; }
.globe-copy h2 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.globe-lede { margin: 0; max-width: 52ch; color: var(--muted); font-size: 14px; line-height: 1.5; }
.globe-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: 28px;
  align-items: center;
  margin-top: 8px;
}
.globe-stage {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 520px);
  margin: 0 auto;
}
.globe-stage canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.globe-empty {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 18%;
  margin: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.globe-widgets { display: grid; gap: 10px; font-synthesis: none; }
.globe-widgets article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 14px 16px;
}
.globe-widgets span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}
.globe-widgets strong {
  display: block;
  margin-top: 6px;
  padding: 2px 0;
  min-height: 1.15em;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  overflow: visible;
}
.globe-widgets small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.globe-spark { display: block; width: 100%; height: 56px; margin-top: 10px; overflow: visible; }
.globe-spark path,
.globe-spark .spark-line { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.globe-spark .spark-floor { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 2; fill: none; vector-effect: non-scaling-stroke; }
.globe-spark .spark-now { fill: var(--ink); }
.globe-regions {
  list-style: none;
  margin: 4px 0 0;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.globe-regions li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.globe-regions b { font-weight: 500; }
.globe-regions i { font-style: normal; color: var(--muted); }

@media (max-width: 900px) {
  .globe-layout { grid-template-columns: 1fr; }
}

.trial-page .masthead-meta a { display: inline; }
.trial-report {
  width: var(--measure);
  margin: 0 auto;
  padding: 28px 0 80px;
  display: grid;
  gap: 28px;
}
.trial-back { margin: 0; font-size: 12px; }
.trial-back a { color: var(--muted); text-decoration: none; }
.trial-back a:hover { color: var(--ink); }
.trial-report .trial-id {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.trial-report h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.trial-report .section-head { align-items: start; }
.trial-callout {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trial-callout h2 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.trial-helps {
  margin: 4px 0 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.trial-helps.is-yes { color: var(--ok); }
.trial-helps.is-no { color: var(--fail); }
.trial-helps.is-maybe { color: var(--ink); }
.trial-caveats {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.trial-kpis { margin-top: 0; }
.trial-logic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}
.trial-logic div {
  display: grid;
  gap: 6px;
  padding: 14px 18px 14px 0;
  border-top: 1px solid var(--rule);
}
.trial-logic dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trial-logic dd { margin: 0; font-size: 14px; line-height: 1.45; }
.trial-report h3 {
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 500;
}
.trial-list,
.trial-slugs {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.trial-slugs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 16px;
  padding-left: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
}
.trial-spark { min-height: 160px; }
.trial-spark svg { width: 100%; height: 160px; display: block; }
.trial-spark path.spark { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.trial-missing { width: var(--measure); margin: 48px auto; }
@media (max-width: 700px) {
  .trial-logic,
  .trial-slugs { grid-template-columns: 1fr; }
}

:root{color-scheme:light;--lab-ink:#202a32;--lab-muted:#66727a;--lab-paper:#f6f7f8;--lab-border:#e3e7e9;--lab-accent:#166d60;--lab-soft:#eaf3f0;--lab-blue:#4e79a7;--font-sans:'Geist Sans','Geist',-apple-system,BlinkMacSystemFont,sans-serif;--font-mono:'Geist Mono',ui-monospace,monospace}
*{box-sizing:border-box}html,body,.lab-shell,.control-shell{font-synthesis:none}body{margin:0;background:var(--lab-paper);color:var(--lab-ink);font:14px/1.6 var(--font-sans)}a{color:inherit}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a,summary,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--lab-accent)}[hidden]{display:none!important}.sr-only,.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{width:auto;height:auto;clip:auto;z-index:50;background:white;padding:12px;left:12px;top:12px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,3.4vw,48px);font-weight:500;line-height:1.14;letter-spacing:-.055em;margin:0 0 14px}h2{font-size:20px;font-weight:500;letter-spacing:-.035em;line-height:1.35;margin:0}h3{font-size:14px;font-weight:600}.muted,.subcopy{color:var(--lab-muted)}.subcopy{font-size:12px;max-width:70ch;margin:7px 0 0}.eyebrow,.micro-label,.nav-label{font:10px/1.5 var(--font-mono);letter-spacing:.09em;color:var(--lab-muted);text-transform:uppercase}.eyebrow{margin:0 0 12px}.micro-label{display:block;margin-bottom:6px}
.lab-sidebar{position:fixed;inset:0 auto 0 0;width:224px;z-index:24;background:#fcfcfd;border-right:1px solid var(--lab-border);padding:32px 18px;display:flex;flex-direction:column}.lab-brand{font-size:21px;line-height:1.3;font-weight:600;text-decoration:none;letter-spacing:-.045em;padding:0 8px;display:block}.lab-mark{display:inline-block;color:var(--lab-accent);font-size:25px;vertical-align:-1px;margin-right:5px}.lab-brand-sub{display:block;letter-spacing:.11em;font:9px/1.5 var(--font-mono);color:var(--lab-muted);margin:8px 0 0 34px}.nav-label{margin:48px 12px 12px}.lab-sidebar nav{display:grid;gap:5px}.lab-sidebar nav a{display:flex;align-items:center;gap:13px;padding:11px 12px;text-decoration:none;border-radius:6px;font-size:12px;color:#5b666d;transition:background .15s,color .15s}.lab-sidebar nav a span{font:10px var(--font-mono);color:#8d989e}.lab-sidebar nav a:hover{background:#f0f3f3}.lab-sidebar nav a[aria-current=page]{background:var(--lab-soft);color:#155d52;font-weight:600}.lab-sidebar nav a[aria-current=page] span{color:var(--lab-accent)}.sidebar-foot{margin-top:auto;padding:20px 10px 0;font-size:11px;color:#4f6060}.sidebar-foot p{color:var(--lab-muted);font-size:11px;margin:12px 0 16px}.sidebar-foot a{font-size:11px;text-decoration:none}.small-dot{width:6px;height:6px;background:var(--lab-accent);border-radius:50%;display:inline-block;margin-right:6px}.workspace{margin-left:224px;min-width:0}.workspace-top{display:flex;justify-content:space-between;align-items:center;gap:12px;height:65px;padding:0 36px;border-bottom:1px solid var(--lab-border);background:#fcfcfd;font:10px var(--font-mono);letter-spacing:.04em;color:var(--lab-muted)}.workspace-top span:last-child{text-align:right}.lab-main{padding:38px 36px 0;max-width:1560px;margin:auto}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:30px}.page-heading>div:first-child{max-width:720px}.page-intro{color:var(--lab-muted);max-width:66ch;font-size:14px;line-height:1.65;margin:0}.page-actions,.inline-actions{display:flex;gap:9px;flex-wrap:wrap}.button{display:inline-flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap;border:1px solid #d9dfe1;background:white;border-radius:6px;min-height:36px;padding:8px 13px;color:var(--lab-ink);font-size:11px;text-decoration:none;transition:background .16s,box-shadow .16s}.button:hover{background:#f3f6f5;box-shadow:0 1px 3px #162d2110}.button.primary{background:var(--lab-accent);border-color:var(--lab-accent);color:white}.button.primary:hover{background:#12594e}.button.small{min-height:30px;padding:5px 10px;font-size:11px}.metric-strip{display:grid;grid-template-columns:repeat(4,1fr);margin:0 0 24px;border:1px solid var(--lab-border);border-radius:9px;background:white}.metric-strip article{padding:22px 24px;border-right:1px solid var(--lab-border);min-width:0}.metric-strip article:last-child{border:0}.metric-strip span{display:block;font-size:11px;color:var(--lab-muted)}.metric-strip strong{display:block;font:400 clamp(27px,2.6vw,38px)/1.4 var(--font-sans);letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:8px 0 5px}.metric-strip article:first-child strong{color:var(--lab-accent)}.metric-strip small{font-size:10px;color:var(--lab-muted);display:block;line-height:1.5}.panel{background:white;border:1px solid var(--lab-border);border-radius:9px;padding:24px;margin:0 0 24px;min-width:0}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.panel-heading .eyebrow{margin-bottom:6px}.analysis-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(240px,1fr);gap:24px}.reading-note{background:#edf3f1;border-color:#dfe9e5;padding:26px}.reading-note h2{font-size:26px;letter-spacing:-.05em;line-height:1.2;margin-bottom:18px}.reading-note p:not(.eyebrow){font-size:12px;color:#536861;line-height:1.75}.rule{border-top:1px solid #d5e1dc;margin:20px 0}.text-link{display:inline-flex;align-items:center;gap:12px;font-size:12px;text-decoration:none;color:var(--lab-accent);font-weight:500}.text-link:hover{text-decoration:underline}.compact-label{font:10px var(--font-mono);color:var(--lab-muted);display:flex;gap:8px;align-items:center;white-space:nowrap}select,input{border:1px solid var(--lab-border);border-radius:5px;padding:8px 10px;background:white;color:var(--lab-ink);font-size:12px;min-height:36px}.compact-label select{font-size:11px;max-width:205px}.chart-stage{position:relative;min-height:245px;display:flex;align-items:center;justify-content:center;min-width:0}.chart-stage svg{display:block;width:100%;height:auto;overflow:visible}.chart-stage.short{min-height:185px}.chart-note{font-size:11px;color:var(--lab-muted);line-height:1.6;margin:16px 0 0}.axis{fill:#7e888d;font:10px var(--font-mono)}.grid-line{stroke:#e9eeee;stroke-dasharray:3 5}.stock-line{fill:none;stroke:var(--lab-accent);stroke-width:2;vector-effect:non-scaling-stroke}.stock-dot{fill:var(--lab-accent);stroke:white;stroke-width:1.5}.chart-tip{position:absolute;z-index:5;background:#20332e;color:white;font:11px/1.6 var(--font-mono);padding:10px 13px;border-radius:5px;pointer-events:none;max-width:240px;box-shadow:0 5px 20px #10282020}.empty-state{font-size:13px;color:var(--lab-muted);text-align:center;max-width:450px;margin:20px auto;padding:20px;line-height:1.7}.segmented{display:flex;border:1px solid var(--lab-border);border-radius:6px;padding:3px;background:#f6f8f8}.segmented button{border:0;background:transparent;font-size:11px;padding:7px 12px;border-radius:4px;color:var(--lab-muted)}.segmented button[aria-pressed=true]{background:white;color:var(--lab-accent);box-shadow:0 1px 3px #001a1012}.table-toolbar{display:flex;gap:16px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.search-field{flex:1;min-width:190px}.search-field input{width:100%;padding-left:13px}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}.data-table th{font-size:10px;font-weight:500;color:var(--lab-muted);padding:11px 12px;background:#f8f9fa;border-block:1px solid var(--lab-border)}.data-table th:first-child,.data-table td:first-child{padding-left:4px}.data-table td{padding:14px 12px;border-bottom:1px solid #edf0f1;font-variant-numeric:tabular-nums}.data-table tbody tr{transition:background .15s}.data-table tbody tr:hover{background:#f7faf9}.data-table td small{display:block;color:var(--lab-muted);font:10px var(--font-mono);margin-top:3px}.delta{color:var(--lab-accent);font-weight:600}.badge{font-size:10px;border:1px solid #e1e6e8;border-radius:4px;padding:3px 7px;color:#59656b;background:#f8f9fa;display:inline-block;line-height:1.4}.badge.positive{color:#206b54;background:#edf7f2;border-color:#d7e9df}.badge.warning,.notice.warning{color:#876220;background:#fbf7ed;border-color:#efe5c9}.badge.negative{color:#984945;background:#fcf0ef;border-color:#efd8d5}.table-footer{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:16px;font-size:11px;color:var(--lab-muted)}.table-footer>div{display:flex;gap:8px}.two-panels{display:grid;grid-template-columns:1fr 1fr;gap:24px}.bar-list{display:grid;gap:17px}.bar-row{display:grid;grid-template-columns:150px minmax(40px,1fr) 55px;gap:14px;align-items:center;font-size:11px}.bar-track{height:6px;background:#eef2f3;border-radius:3px;overflow:hidden}.bar-track i{height:100%;display:block;background:var(--lab-blue);border-radius:3px}.bar-row strong{font:11px var(--font-mono);text-align:right}.bar-row .bar-name{overflow:hidden;text-overflow:ellipsis}.notice{border:1px solid var(--lab-border);border-radius:6px;padding:13px 17px;font-size:12px;margin-bottom:20px}.lab-footer{padding:0 0 28px;display:flex;justify-content:space-between;gap:20px;font:10px/1.6 var(--font-mono);color:var(--lab-muted)}
dialog{border:1px solid var(--lab-border);border-radius:12px;box-shadow:0 24px 100px #15241e33;padding:28px;max-width:720px;width:calc(100% - 32px);max-height:85vh;color:var(--lab-ink)}dialog::backdrop{background:#15241e44;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}dialog h2{font-size:27px}dialog dl{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:24px 0}dialog dt{color:var(--lab-muted);font-size:11px;border-top:1px solid var(--lab-border);padding-top:12px}dialog dd{margin:5px 0 15px;font:13px var(--font-mono)}.flag-list{color:#836524;font-size:12px;line-height:1.8;padding-left:20px}.slug-list{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.slug-list span{font:11px var(--font-mono);padding:5px 8px;border:1px solid var(--lab-border);border-radius:4px;background:#fafbfb}
.draft-status{color:var(--lab-accent)}.protocol-banner{display:grid;grid-template-columns:1fr 1fr 1fr;padding:23px 25px;background:#edf3f1;border:1px solid #dbe7e1;border-radius:8px;gap:12px 24px;margin-bottom:34px}.protocol-banner strong{font-size:14px;font-weight:500}.protocol-banner p{grid-column:1/-1;font-size:11px;color:#5f756b;border-top:1px solid #d5e1dc;padding-top:12px;margin:4px 0 0}.section-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.section-line>span{font-size:11px}.hypothesis-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:32px;align-items:start}.hypothesis-card{padding:25px 26px;background:white;border:1px solid var(--lab-border);border-radius:9px}.idea-top{display:flex;justify-content:space-between;align-items:center}.idea-id{font:22px var(--font-mono);letter-spacing:-.07em;color:#9aaba4}.idea-priority{font-size:10px;color:var(--lab-accent);margin:23px 0 8px}.hypothesis-card h2{font-size:24px;max-width:420px;margin-bottom:14px}.hypothesis-card>p:not(.idea-priority){font-size:13px;color:var(--lab-muted);line-height:1.75;min-height:68px}.idea-evidence{border-left:2px solid #c1d7cc;padding-left:14px;margin:20px 0}.idea-evidence p{font-size:11px;color:var(--lab-muted);line-height:1.7;margin:0}details{border-top:1px solid var(--lab-border);margin-top:18px;padding-top:15px}summary{cursor:pointer;font-size:12px;color:var(--lab-accent);list-style:none;display:flex;justify-content:space-between}summary::-webkit-details-marker{display:none}details[open] summary span{transform:rotate(45deg)}.protocol-details{font-size:12px;color:#56676a;padding-top:22px}.protocol-details h3{margin:18px 0 6px;color:var(--lab-ink)}.protocol-details p{margin-bottom:14px}.protocol-details ul{padding-left:19px}.protocol-details li{margin-bottom:8px}.protocol-details .text-link{display:block;font-size:11px;margin:15px 0}.evaluator-grid{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);gap:36px}.field-label{font-size:11px;color:var(--lab-muted);display:block;margin-bottom:8px}.full-select{width:100%;max-width:100%}.evaluation-instructions{font-size:12px;margin:22px 0}.evaluation-instructions ol{padding-left:18px}.evaluation-instructions li{padding-left:4px;margin-bottom:12px}.evaluation-instructions p{font-size:11px}textarea{width:100%;min-height:320px;resize:vertical;padding:16px;border:1px solid var(--lab-border);border-radius:6px;background:#fafbfb;color:var(--lab-ink);font:11px/1.7 var(--font-mono);margin-bottom:12px}.evaluation-result{margin-top:20px;border:1px solid var(--lab-border);padding:17px;border-radius:6px;font-size:12px;background:#f9fbfa}.evaluation-result p{margin:10px 0 0}.evaluation-result li{margin-bottom:7px}.evaluation-result ul{padding-left:17px}.history-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin:18px 0}.history-grid p{font-size:12px;color:var(--lab-muted);margin:12px 0}.history-grid h3{font:12px var(--font-mono)}
.wave-chart-note{margin-bottom:25px;padding-bottom:20px;border-bottom:1px solid var(--lab-border)}
@media(min-width:1500px){.lab-main{padding-top:48px}.page-heading{margin-bottom:34px}}
@media(max-width:1190px){.lab-sidebar{width:194px;padding-inline:12px}.lab-brand{font-size:18px}.workspace{margin-left:194px}.lab-main{padding:28px 24px 0}.workspace-top{padding-inline:24px}.analysis-grid{grid-template-columns:1fr}.reading-note{display:grid;grid-template-columns:1fr 1.3fr;gap:0 25px}.reading-note .eyebrow,.reading-note .text-link{grid-column:1/-1}.reading-note .rule{display:none}.reading-note .micro-label{display:none}.reading-note h2{font-size:24px}.metric-strip article{padding:18px 14px}.page-heading{align-items:flex-start}.page-actions{justify-content:flex-end}.bar-row{grid-template-columns:110px 1fr 45px}.evaluator-grid{gap:22px}.protocol-banner strong{font-size:12px}}
@media(max-width:850px){.lab-sidebar{position:relative;width:100%;height:auto;padding:17px 22px;display:block;border-right:0;border-bottom:1px solid var(--lab-border)}.lab-brand{font-size:19px;display:inline-block}.lab-brand-sub,.nav-label,.sidebar-foot{display:none}.lab-sidebar nav{display:flex;margin-top:16px;gap:4px;overflow-x:auto}.lab-sidebar nav a{white-space:nowrap;padding:8px 12px}.lab-sidebar nav a span{display:none}.workspace{margin-left:0}.workspace-top{height:auto;min-height:45px;padding-block:10px;font-size:9px}.page-heading{margin-top:4px}.metric-strip{grid-template-columns:1fr 1fr}.metric-strip article:nth-child(2){border-right:0}.metric-strip article:nth-child(-n+2){border-bottom:1px solid var(--lab-border)}.hypothesis-grid{gap:16px}.hypothesis-card{padding:20px}.two-panels{gap:16px}.evaluator-grid{grid-template-columns:1fr}.history-grid{gap:20px}.lab-footer{flex-direction:column;gap:5px}.table-toolbar{gap:10px}}
@media(max-width:580px){.lab-main{padding:25px 16px 0}.workspace-top{padding-inline:16px}.workspace-top>span:first-child{display:none}.workspace-top>span:last-child{text-align:left}.page-heading{display:block}.page-actions{margin-top:20px;justify-content:flex-start}.page-heading>a.button{margin-top:18px}.panel{padding:18px;margin-bottom:18px}.metric-strip{margin-bottom:18px}.metric-strip strong{font-size:30px}.panel-heading{gap:12px;flex-wrap:wrap}.analysis-grid,.two-panels{display:block}.reading-note{display:block}.reading-note h2 br{display:none}.hypothesis-grid{grid-template-columns:1fr}.hypothesis-card>p:not(.idea-priority){min-height:0}.protocol-banner{grid-template-columns:1fr;padding:20px;gap:17px}.protocol-banner strong{font-size:14px}.section-line{display:block}.section-line>span{display:block;margin-top:5px}.history-grid{grid-template-columns:1fr;gap:16px}.table-footer{align-items:flex-start}.table-footer>div{flex-shrink:0}.chart-stage{min-height:170px}.chart-stage.short{min-height:145px}.bar-row{grid-template-columns:125px 1fr 45px}.compact-label{white-space:normal}.compact-label select{max-width:190px}.lab-sidebar{padding:16px}.lab-sidebar nav a{font-size:11px;padding:8px 10px}.lab-sidebar nav{margin-top:12px}.data-table{font-size:11px}dialog{padding:20px}dialog dl{grid-template-columns:1fr}.page-intro{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* The overview keeps its scientific record and data hooks; this is its workspace skin. */
.control-shell { --paper: #f6f7f8; --ink: #202a32; --muted: #66727a; --rule: #e3e7e9; --live: #166d60; --live-soft: #eaf3f0; --data: #4e79a7; --page-pad: 32px; --measure: min(1330px, calc(100% - var(--page-pad) * 2)); }
.control-shell .workspace { margin-left: 0; }
.control-shell .lab-sidebar,
.control-shell .workspace-top { display: none; }
.control-shell main.brief-shell,
.control-shell main.method-shell,
.control-shell main.graph-shell,
.control-shell main.trial-report,
.control-shell main.explorer-main {
  width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}
.control-shell .masthead { background: #fcfcfd; }
.control-shell .masthead .brand {
  display: block;
  padding: 0;
  border: 0;
  min-width: 0;
  background: transparent;
  color: inherit;
  gap: 0;
}
.control-shell .masthead-inner { padding: 20px 0; align-items: center; gap: 16px; }
.control-shell .brand em { font-size: 15px; font-weight: 500; letter-spacing: -.025em; }
.control-shell .brand span { font: 9px var(--font-mono); letter-spacing: .06em; margin-top: 7px; }
.control-shell .masthead-status { font: 9px var(--font-mono); letter-spacing: 0; }
.control-shell .masthead-meta { gap: 16px; font-size: 10px; }
.control-shell .pulse { animation: none; background: #9ba6a9; }
.control-shell[data-evidence=live] .pulse { background: var(--lab-accent); }
.control-shell[data-evidence=cached] .pulse { background: #c89539; }
.control-shell .desk-nav { width: 100%; padding: 0 var(--page-pad); background: #fcfcfdf5; backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.control-shell .desk-nav a { font-size: 10px; gap: 5px; padding-block: 14px; }
.control-shell .desk-nav a.is-on { color: var(--lab-accent); border-color: var(--lab-accent); }
.control-shell .desk-nav a em { color: #8a989d; font-size: 9px; }
.control-shell .window-box select { background: #f7f9f9; border-radius: 5px; font-size: 10px; }
.control-shell main { padding-bottom: 36px; }
.control-shell main > .chapter { background: white; border: 1px solid var(--rule); border-radius: 9px; margin-top: 24px; padding: 26px; scroll-margin-top: 16px; }
.control-shell main > .hero { background: transparent; border: 0; padding: 34px 0 0; margin-top: 0; }
.control-shell .figure-kicker { font: 10px var(--font-mono); letter-spacing: .06em; color: var(--muted); margin-bottom: 15px; }
.control-shell .hero h1 { font: 500 clamp(35px, 3.8vw, 52px)/1.12 var(--font-sans); letter-spacing: -.055em; max-width: 750px; margin: 0 0 18px; }
.control-shell .lede { font-size: 14px; line-height: 1.7; max-width: 70ch; color: var(--muted); }
.overview-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.overview-links > span { font: 10px var(--font-mono); color: var(--muted); margin-left: auto; }
.control-shell .stock-row { border: 1px solid var(--rule); border-bottom: 0; border-radius: 9px 9px 0 0; padding: 27px 30px; margin: 0; background: white; }
.control-shell .stock-lead > span { color: var(--muted); font-size: 11px; }
.control-shell .stock-lead strong { font-size: clamp(52px, 6vw, 76px); font-weight: 400; color: var(--lab-accent); letter-spacing: -.06em; }
.control-shell .stock-lead small { font-size: 11px; }
.control-shell .stock-meter p { font-size: 11px; line-height: 1.7; }
.control-shell .meter { height: 5px; background: #e8efec; border-radius: 10px; overflow: hidden; }
.control-shell .meter i { background: var(--lab-accent); transition: width .3s ease; min-width: 0; }
.control-shell .meter i[style*="width"] { min-height: 5px; }
.control-shell .kpis { background: white; border: 1px solid var(--rule); border-radius: 0 0 9px 9px; margin: 0 0 24px; padding: 0; }
.control-shell .kpis article { padding: 23px; border-top: 0; }
.control-shell .kpis article + article { border-left: 1px solid var(--rule); }
.control-shell .kpis strong { font-size: 34px; margin: 8px 0; }
.control-shell .kpis p { color: #78838a; font-size: 11px; line-height: 1.65; }
.control-shell .split { border: 1px solid var(--rule); background: white; border-radius: 9px; padding: 23px 26px; }
.control-shell .section-head { gap: 18px; }
.control-shell .section-head h2, .control-shell .chapter > h2 { font-size: 23px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -.04em; }
.control-shell .section-head p { font-size: 12px; line-height: 1.65; }
.control-shell .keys { font-size: 11px; }
.control-shell .trial-board { gap: 16px; }
.control-shell .trial-card { border: 1px solid var(--rule); background: #fcfdfd; border-radius: 7px; padding: 20px; transition: border-color .15s, box-shadow .15s; }
.control-shell .trial-card:hover { border-color: #a5c4b8; box-shadow: 0 3px 12px #14312808; }
.control-shell .trial-card h3 { font-size: 19px; line-height: 1.3; }
.control-shell .trial-card p { line-height: 1.75; }
.control-shell .globe-layout { margin-top: 18px; }
.control-shell .globe-stage { background: radial-gradient(ellipse at 50% 50%, #f0f6f4, white 70%); border-color: var(--rule); border-radius: 8px; }
.control-shell .globe-widgets { font-synthesis: none; }
.control-shell .globe-widgets article { border-color: var(--rule); border-radius: 7px; }
.control-shell .globe-spark { height: 56px; }
.control-shell .runway-grid strong { font-size: 30px; }
.control-shell .runway-grid article { padding: 20px 16px; }
.control-shell .signal-card, .control-shell .behavior-card { border-radius: 6px; }
.control-shell .briefing-thesis { font-style: normal; font-size: 13px; color: var(--muted); }
.control-shell .field-briefing { margin-bottom: 0; }
.control-shell manimgx-player,
.lab-shell manimgx-player {
  display: block;
  width: 100%;
  min-height: 320px;
  background: var(--paper, #f6f7f8);
  border: 1px solid var(--rule, #e3e7e9);
  border-radius: 8px;
}
.control-shell .math-film,
.lab-shell .math-film {
  border: 1px solid var(--rule, #e3e7e9);
  background: white;
  padding: 14px 16px 12px;
  margin: 18px 0 0;
}
.control-shell .math-film h3,
.lab-shell .math-film h3 { font-size: 13px; margin: 0 0 4px; }
.control-shell .math-film.is-off manimgx-player,
.lab-shell .math-film.is-off manimgx-player { display: none; }
@media(max-width:1190px) { .control-shell { --page-pad: 24px; } .control-shell .masthead-meta #topPace { display: none; } .overview-links > span { flex-basis: 100%; margin: 4px 0 0; } }
@media(max-width:850px) { .control-shell .kpis { grid-template-columns: 1fr 1fr; } .control-shell .kpis article:nth-child(3) { border-left: 0; } .control-shell .kpis article:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } .control-shell .masthead-inner { grid-template-columns: 1fr auto; } .control-shell .masthead-meta { display: none; } }
@media(max-width:580px) { .control-shell { --page-pad: 16px; } .control-shell main > .chapter { padding: 19px; margin-top: 18px; } .control-shell main > .hero { padding: 27px 0 0; margin-top: 0; } .control-shell .hero h1 { font-size: 35px; } .control-shell .stock-row { padding: 22px; gap: 22px; } .control-shell .stock-lead strong { font-size: 60px; } .control-shell .kpis article { padding: 17px; } .control-shell .kpis strong { font-size: 30px; } .control-shell .split { padding: 20px; } .control-shell .section-head { display: block; } .control-shell .masthead-status { font-size: 8px; } .control-shell .brand span { display: none; } }
