/* Layout: an engineering field guide, same family as the Robot Brain Atlas and Actuator Atlas. The hero is an
   instrument: floor index, live tower, datasheet. Below it, each chapter is a text column over a full-width plate.
   Colour is reserved for the model families; everything else is ink. Display: Archivo (expanded); body: IBM Plex
   Sans; data: IBM Plex Mono. */
:root {
  --bg: #F1F3F4;
  --plate: #FAFBFB;
  --plate-2: #E9EDEF;
  --ink: #0F1418;
  --ink-2: #434D56;
  --ink-3: #5F6972;
  --line: #D5DBDF;
  --line-2: #BCC5CC;
  --grid: #E7EBED;
  --stage-a: #FBFCFC;
  --stage-b: #DDE3E7;
  --floor: #FFFFFF;
  --floor-grid: #9AA6AE;
  --hud: rgba(250, 251, 251, 0.82);
  --f-llm: #e87ba4;
  --f-vlm: #008300;
  --f-vla: #2a78d6;
  --f-wm: #1baf7a;
  --f-wam: #eb6834;
  --f-agent: #6250d6;
  --f-ctrl: #e34948;
  --f-mw: #9a7a14;
  --f-hw: #5F6972;
  --good: #0ca30c;
  --bad: #d03b3b;
  --water: #2a78d6;
  --tide-land: #E8ECEE;
  --tide-line: #8C98A1;
  --tide-deep: #B8D0EA;
  --tide-side: #C9D1D6;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0F11; --plate: #13171A; --plate-2: #1B2024;
    --ink: #E6EAEC; --ink-2: #AEB6BC; --ink-3: #8A939A;
    --line: #272E34; --line-2: #3A444C; --grid: #181D21;
    --stage-a: #1C2329; --stage-b: #080A0C; --floor: #2B343C; --floor-grid: #5B6872; --hud: rgba(19, 23, 26, 0.8);
    --f-llm: #e0689a; --f-vlm: #2ea043; --f-vla: #3987e5; --f-wm: #199e70;
    --f-wam: #d95926; --f-agent: #9085e9; --f-ctrl: #e66767; --f-mw: #c9a227; --f-hw: #8A939A; --water: #3987e5;
    --tide-land: #2A323A; --tide-line: #70808C; --tide-deep: #123050; --tide-side: #1A2026;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C0F11; --plate: #13171A; --plate-2: #1B2024;
  --ink: #E6EAEC; --ink-2: #AEB6BC; --ink-3: #8A939A;
  --line: #272E34; --line-2: #3A444C; --grid: #181D21;
  --stage-a: #1C2329; --stage-b: #080A0C; --floor: #2B343C; --floor-grid: #5B6872; --hud: rgba(19, 23, 26, 0.8);
  --f-llm: #e0689a; --f-vlm: #2ea043; --f-vla: #3987e5; --f-wm: #199e70;
  --f-wam: #d95926; --f-agent: #9085e9; --f-ctrl: #e66767; --f-mw: #c9a227; --f-hw: #8A939A; --water: #3987e5;
  --tide-land: #2A323A; --tide-line: #70808C; --tide-deep: #123050; --tide-side: #1A2026;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
p { margin: 0; }
.wrap {
  max-width: 1320px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.mono { font-family: var(--font-mono); }
.tnum { font-variant-numeric: tabular-nums; }
.mute { color: var(--ink-3); }

/* type scale */
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(38px, 6.4vw, 92px); line-height: 0.95; letter-spacing: -0.03em;
}
h2 {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 750;
  font-size: clamp(27px, 3.5vw, 44px); line-height: 1.05; letter-spacing: -0.018em;
}
h3 { font-family: var(--font-display); font-stretch: 100%; font-weight: 700; font-size: 19px; line-height: 1.22; }
h4 {
  margin: 0; font: 600 11.5px/1.3 var(--font-mono); letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-3);
}
.eyebrow { font: 500 12px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: clamp(17.5px, 1.45vw, 20px); line-height: 1.5; max-width: 84ch; text-wrap: pretty; }
.prose { display: grid; gap: 15px; max-width: 70ch; }
.prose p { text-wrap: pretty; }

/* masthead */
.masthead {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap { display: flex; align-items: center; gap: 18px; min-height: 48px; }
.wordmark { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 14px; letter-spacing: 0.01em; white-space: nowrap; text-decoration: none; }
.toc { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.toc::-webkit-scrollbar { display: none; }
.toc a { font: 500 13px/1 var(--font-body); color: var(--ink-2); text-decoration: none; padding: 9px 10px; border-radius: 4px; white-space: nowrap; }
.toc a:hover { background: var(--plate-2); color: var(--ink); }

/* sections */
main section.ch { padding-block: 84px 8px; scroll-margin-top: 56px; }
.sec-head { display: grid; gap: 14px; max-width: 880px; margin-bottom: 30px; }
.stack { display: grid; gap: 28px; }
.sub-head { display: grid; gap: 10px; max-width: 780px; margin-top: 20px; }

/* hero */
.hero { padding-block: 30px 0; scroll-margin-top: 56px; }
.hero-head { display: grid; gap: 14px; margin-bottom: 24px; }
.hero-head .eyebrow { margin-bottom: 14px; }
.app { display: grid; grid-template-columns: 268px minmax(0, 1fr) 392px; border-block: 1px solid var(--line); background: var(--plate); }
.floors { display: grid; align-content: start; border-right: 1px solid var(--line); padding-block: 6px; min-width: 0; }
.floors button {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 1px 9px; align-items: baseline;
  padding: 8.5px 14px 8.5px max(14px, env(safe-area-inset-left, 0px)); border-left: 3px solid transparent;
}
.floors button:hover { background: var(--plate-2); }
.floors button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.floors button[aria-pressed="true"] { background: var(--plate-2); border-left-color: var(--c); }
.floors .sw { transform: translateY(1px); }
.floors b { font-family: var(--font-display); font-weight: 650; font-size: 14px; line-height: 1.25; }
.floors .clk { grid-column: 2; font: 500 11.5px/1.3 var(--font-mono); color: var(--ink-3); }
.floors .cnt { grid-column: 3; grid-row: 1 / span 2; align-self: center; font: 500 11.5px/1 var(--font-mono); color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; min-width: 5ch; }
.floors-note { padding: 10px 14px 12px; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); border-top: 1px solid var(--line); margin-top: 6px; }
.detail { border-left: 1px solid var(--line); padding: 18px 20px 22px; display: grid; gap: 14px; align-content: start; min-width: 0; overflow-y: auto; }
.detail h3 { font-size: 23px; font-stretch: 110%; font-weight: 750; }
.detail .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.detail p, .detail li { font-size: 14.5px; line-height: 1.52; }
.detail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.detail li { padding-left: 15px; position: relative; }
.detail li::before { content: ""; position: absolute; left: 1px; top: 0.72em; width: 8px; border-top: 1.5px solid var(--ink-3); }
.detail .block { display: grid; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--font-mono); letter-spacing: 0.02em; padding: 4px 7px; border-radius: 4px; border: 1px solid var(--line-2); background: var(--plate); color: var(--ink-2); white-space: nowrap; }
.tag.sq::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--ink-3)); }
.jump { font-size: 13.5px; }

/* short version */
.short { padding-block: 44px 6px; }
.short h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 18px; }
.short ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 30px; }
.short li { display: grid; gap: 6px; align-content: start; border-top: 1px solid var(--ink); padding-top: 11px; min-width: 0; }
.short li p { font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.short li b { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; line-height: 1.25; }

/* stage */
.stage {
  position: relative; overflow: hidden; min-width: 0; width: 100%; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 26%, var(--stage-a) 0%, var(--stage-b) 100%);
  cursor: grab; user-select: none; -webkit-user-select: none;
}
.stage.is-grabbing { cursor: grabbing; }
.stage canvas.poster, .stage canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage svg.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.stage svg.leaders line { stroke: var(--ink-3); stroke-width: 1; opacity: 0.55; }
.stage .labels { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.stage .hud { position: absolute; z-index: 4; }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; font: 500 12.5px/1.4 var(--font-mono); color: var(--ink-3); z-index: 1; pointer-events: none; text-align: center; padding: 16px; }
.stage.is-ready .stage-loading { display: none; }
.stage.is-failed .stage-loading { display: grid; }
.no-webgl .stage-loading::after { content: " WebGL is off in this browser, so this plate can't draw. The text and tables around it carry the same information."; }
.stage-tower { min-height: 700px; height: min(84vh, 860px); }
.hud-tower { left: 12px; bottom: 12px; right: 12px; display: grid; gap: 7px; justify-items: start; pointer-events: none; }
.hud-tower .seg { pointer-events: auto; }
.dil-note { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); max-width: 62ch; background: var(--hud); padding: 5px 8px; border-radius: 4px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.chk { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.chk input { accent-color: var(--ink); width: 15px; height: 15px; margin: 0; }
.stage-wide { aspect-ratio: 16 / 8.4; min-height: 420px; max-height: 760px; }
.stage-tall { aspect-ratio: 16 / 10; min-height: 460px; max-height: 780px; }
.lb { position: absolute; left: 0; top: 0; will-change: transform; white-space: nowrap; font: 500 11.5px/1.2 var(--font-mono); color: var(--ink-2); }
.lb.pill { background: var(--hud); border: 1px solid var(--line); border-radius: 4px; padding: 4px 7px; color: var(--ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 6px; }
.lb.pill .sw { flex: none; }
.lb.floor-pill { pointer-events: auto; cursor: pointer; font-size: 11.5px; }
.lb.floor-pill.on { border-color: var(--ink-2); box-shadow: 0 0 0 1px var(--ink-2); }
.lb.tick { color: var(--ink-3); font-size: 10.5px; }
.lb.mk { font-size: 10.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.lb.mk i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.lb.note { color: var(--ink-3); font-size: 11px; }
.lb.strong { color: var(--ink); font-weight: 600; }
.lb.warn { color: var(--bad); font-weight: 600; }
.narrow-only { display: none; }
@media (max-width: 640px) { .narrow-only { display: inline; } }
.lab-card.all tbody th { white-space: nowrap; }
.lb.tide-pill { font-size: 10.5px; padding: 3px 6px; }
.lb.tide-pill.under { background: color-mix(in srgb, var(--water) 22%, var(--hud)); border-color: var(--water); }
.sw { width: 10px; height: 10px; border-radius: 2px; background: var(--c); display: inline-block; flex: none; }

.hud.map { top: 12px; right: 12px; width: clamp(150px, 34%, 300px); aspect-ratio: 1 / 0.82; background: var(--hud); border: 1px solid var(--line); border-radius: 6px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.hud-tl { top: 12px; left: 12px; margin: 0; font: 500 13px/1.2 var(--font-mono); color: var(--ink); background: var(--hud); border: 1px solid var(--line); border-radius: 4px; padding: 6px 9px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }

/* controls */
.seg { display: inline-flex; flex-wrap: wrap; gap: 1px; max-width: 100%; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: var(--line-2); }
.seg button { flex: 1 1 auto; font: 500 12.5px/1 var(--font-mono); background: var(--plate); color: var(--ink-2); border: 0; padding: 9px 11px; cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--ink); background: var(--plate-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--plate); }
.seg button:focus-visible { outline-offset: -3px; }
.btn { font: 500 13px/1 var(--font-body); color: var(--ink); background: var(--plate); border: 1px solid var(--line-2); border-radius: 6px; padding: 9px 12px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--ink-3); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.warn { border-color: var(--bad); color: var(--bad); }
.ctrls { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.ctrl-label { font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.range { display: inline-flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 240px; }
.range input[type=range] { flex: 1 1 auto; min-width: 80px; accent-color: var(--ink); height: 18px; margin: 0; }
.range output { font: 600 13px/1 var(--font-mono); font-variant-numeric: tabular-nums; min-width: 6ch; text-align: right; }

/* plates */
.plate { background: var(--plate); border: 1px solid var(--line); border-radius: var(--r); margin: 0; display: grid; min-width: 0; overflow: hidden; }
.plate .stage { border-bottom: 1px solid var(--line); }
.plate-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.fig-kicker { font: 500 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.fig-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.plate-foot { padding: 13px 16px 15px; display: grid; gap: 12px; }
figcaption, .caption { font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 92ch; text-wrap: pretty; }
.kind { font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.04em; text-transform: none; padding: 3px 6px; border-radius: 3px; border: 1px solid var(--line-2); color: var(--ink-2); }
.readouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.readouts > div { background: var(--plate); padding: 10px 14px 11px; display: grid; gap: 3px; min-width: 0; }
.readouts .k { font: 500 10.5px/1.25 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.readouts .v { font: 600 20px/1.15 var(--font-mono); font-variant-numeric: tabular-nums; }
.readouts .s { font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
.v.bad { color: var(--bad); } .v.good { color: var(--good); }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--plate); min-width: 0; }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
thead th { font: 600 11px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); background: var(--plate-2); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; }
td.num, th.num { font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
td .mono { font-size: 12.5px; }
.t-720 { min-width: 720px; } .t-860 { min-width: 860px; } .t-980 { min-width: 980px; }

/* cards and lists */
.limits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; }
.limits li { display: grid; gap: 7px; align-content: start; border-top: 1px solid var(--ink); padding-top: 11px; min-width: 0; }
.limits h3 { font-size: 17px; }
.limits p { font-size: 15px; line-height: 1.56; color: var(--ink-2); text-wrap: pretty; }
.callout { border: 1px solid var(--ink); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 8px; background: var(--plate); max-width: 900px; }
.callout p { font-size: 16px; line-height: 1.55; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { border: 1px solid var(--line); border-radius: var(--r); background: var(--plate); padding: 15px 17px 17px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.card p { font-size: 15px; line-height: 1.55; }
.good-bad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* inline charts */
.chart { display: block; width: 100%; height: auto; color: var(--ink); font-family: var(--font-body); }
.chart text { fill: currentColor; font-size: 12px; }
.chart .t-mono { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-2); }
.chart .t-row { font-size: 12.5px; fill: var(--ink); }
.chart .gl { stroke: var(--grid); stroke-width: 1; }
.chart .ax { stroke: var(--line-2); stroke-width: 1; }
.chart .hit { fill: transparent; }
.chart .row:hover .hit, .chart .row:focus .hit { fill: var(--plate-2); }
.chart .row { outline: none; cursor: default; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.legend .ring { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink-2); }
.chart-tip { position: absolute; z-index: 10; pointer-events: none; max-width: 280px; background: var(--ink); color: var(--plate); border-radius: 6px; padding: 8px 10px; display: grid; gap: 2px; font-size: 12.5px; line-height: 1.4; box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.chart-tip strong { font-size: 13.5px; font-weight: 600; }

/* conveyor model picker */
.models { display: grid; gap: 2px; min-width: 0; }
.models button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) 66px; gap: 10px; align-items: center; padding: 5px 8px; border-radius: 4px; font-size: 13.5px; }
.models button:hover { background: var(--plate-2); }
.models button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.models button[aria-pressed="true"] { background: var(--plate-2); box-shadow: inset 0 0 0 1px var(--ink-2); }
.models .nm { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.models .bar { display: block; height: 8px; position: relative; }
.models .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--c); border-radius: 0 4px 4px 0; min-width: 3px; }
.models .ms { font: 500 12.5px/1 var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; }

/* lanes under the desk */
.lanes { display: block; width: 100%; height: 118px; }

/* labs */
.lab-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-card.all { grid-template-columns: minmax(0, 1fr); padding: 0; }
.lab-card.all table { min-width: 860px; }
.lab-card.all .tbl-wrap { border: 0; border-radius: 0; }
.lab-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px 34px; padding: 18px 18px 20px; }
.lab-card h3 { font-size: 26px; font-stretch: 112%; font-weight: 780; }
.lab-card .bet { font-size: 19px; line-height: 1.42; text-wrap: pretty; }
.lab-card .spec { margin: 0; display: grid; border-top: 1px solid var(--line); }
.lab-card .spec > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.lab-card dt { font: 500 11px/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); padding-top: 2px; }
.lab-card dd { margin: 0; font-size: 14.5px; line-height: 1.48; }
.lab-card .col { display: grid; gap: 13px; align-content: start; min-width: 0; }
.lab-card .col p { font-size: 15px; line-height: 1.55; }
.own-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-2); }
.own-key span { display: inline-flex; gap: 6px; align-items: center; }
.own { width: 12px; height: 12px; border-radius: 2px; display: inline-block; flex: none; }
.own.y { background: var(--ink); }
.own.p { background: linear-gradient(135deg, var(--ink) 50%, transparent 50%); border: 1px solid var(--ink); }
.own.n { border: 1px solid var(--ink-3); }
.own.u { border: 1px dashed var(--line-2); background: transparent; }
td.c-own { text-align: center; }

/* forecasts */
.calls { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.calls li { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 8px 24px; padding: 12px 2px; border-bottom: 1px solid var(--line); align-items: center; }
.calls b { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.calls p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin-top: 3px; }
.meter { display: grid; gap: 4px; }
.meter .m { height: 6px; background: var(--plate-2); border-radius: 3px; overflow: hidden; }
.meter .m i { display: block; height: 100%; background: var(--ink-2); border-radius: 3px; }
.meter span { font: 600 13px/1 var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }

/* sources */
.src { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; }
.src > div { display: grid; gap: 10px; align-content: start; min-width: 0; }
.src ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.src li { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.src li a { color: var(--ink); }
.foot { border-top: 1px solid var(--line); margin-top: 72px; padding-block: 22px 40px; font-size: 13.5px; color: var(--ink-3); }
.foot .wrap { display: grid; gap: 6px; }

/* responsive */
@media (max-width: 1240px) {
  .app { grid-template-columns: 232px minmax(0, 1fr) 330px; }
}
@media (max-width: 1040px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .floors { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(2, minmax(0, 1fr)); order: 2; }
  .floors-note { grid-column: 1 / -1; margin-top: 0; }
  .stage-tower { min-height: 560px; height: 70vh; order: 1; border-bottom: 1px solid var(--line); }
  .detail { border-left: 0; order: 3; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
  .short ol, .limits, .src { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  main section.ch { padding-block: 60px 4px; }
  .stage-tower { min-height: 480px; height: 64vh; }
  .stage-wide, .stage-tall { aspect-ratio: 4 / 4.2; min-height: 340px; }
  .short ol, .limits, .src, .two, .good-bad { grid-template-columns: 1fr; }
  .models button { grid-template-columns: minmax(118px, 150px) minmax(0, 1fr) 58px; font-size: 13px; }
  .calls li { grid-template-columns: 1fr; }
  .meter { max-width: 220px; }
  .lb.hide-sm { display: none !important; }
  .readouts .v { font-size: 17px; }
  .readouts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wide-only { display: none; }
}
