:root {
  color-scheme: dark;
  --bg: #090e15;
  --panel: #101822;
  --panel-2: #121d28;
  --line: rgba(184, 202, 219, .12);
  --line-strong: rgba(184, 202, 219, .2);
  --text: #eef3f7;
  --muted: #82909d;
  --soft: #a9b5c0;
  --sand: #e6b87e;
  --sand-bright: #f1ca91;
  --cyan: #75d9df;
  --green: #83d6ad;
  --radius: 13px;
  --space: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { min-width: 320px; font-size: 13px; letter-spacing: .005em; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 35% -10%, rgba(36, 57, 77, .24), transparent 44%), var(--bg); }
.topbar { height: 68px; flex: 0 0 68px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(10, 16, 24, .94); position: relative; z-index: 5; }
.brand-lockup { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 31px; height: 31px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding: 5px; border: 1px solid rgba(230,184,126,.3); border-radius: 9px; background: rgba(230,184,126,.07); }
.brand-mark span { display: block; width: 5px; border-radius: 5px 5px 2px 2px; background: var(--sand); transform: skew(-17deg); }
.brand-mark span:nth-child(1) { height: 8px; opacity: .55; }
.brand-mark span:nth-child(2) { height: 15px; }
.brand-mark span:nth-child(3) { height: 11px; opacity: .75; }
.eyebrow { color: #81909e; font-size: 9px; font-weight: 750; letter-spacing: .17em; line-height: 1.4; }
.eyebrow-dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--sand); vertical-align: middle; margin: 0 4px 2px; }
.brand-title { font-size: 16px; font-weight: 700; letter-spacing: -.025em; margin-top: 2px; }
.brand-subtitle { color: #8795a2; font-weight: 450; font-size: 12px; margin-left: 5px; }
.top-actions { display: flex; align-items: center; gap: 15px; }
.status-pill { height: 28px; padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(131,214,173,.18); background: rgba(131,214,173,.055); color: #a9d8bd; border-radius: 999px; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.status-pulse, .live-indicator i { width: 6px; height: 6px; border-radius: 50%; background: #78d7a4; box-shadow: 0 0 0 3px rgba(120,215,164,.12); }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #121c27; display: grid; place-items: center; cursor: pointer; transition: border-color .18s, background .18s; }
.icon-button:hover { border-color: rgba(117,217,223,.45); background: #172632; }
.icon-button svg, .transport-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.workspace { width: 100%; max-width: 1800px; margin: 0 auto; padding: 20px 24px 12px; display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(360px, .88fr); gap: 18px; flex: 1; min-height: 0; }
.visual-column { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.scene-frame { height: clamp(440px, calc(100vh - 290px), 760px); min-height: 400px; position: relative; overflow: hidden; border-radius: 15px; border: 1px solid rgba(204, 185, 158, .18); background: #1b2026; box-shadow: 0 18px 60px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.05); isolation: isolate; }
.scene-mount { position: absolute; inset: 0; z-index: 0; }
.scene-mount canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.scene-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,13,19,.42), transparent 24%, transparent 68%, rgba(8,13,19,.38)), linear-gradient(90deg, rgba(8,13,19,.16), transparent 22%, transparent 78%, rgba(8,13,19,.14)); z-index: 1; }
.scene-topline, .scene-bottomline { position: absolute; left: 19px; right: 19px; z-index: 2; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.scene-topline { top: 17px; }
.scene-tag { display: flex; align-items: center; gap: 8px; color: rgba(248,241,228,.9); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sand-bright); box-shadow: 0 0 12px rgba(241,202,145,.7); }
.tag-divider { color: rgba(255,255,255,.35); }
.scene-coordinate { color: rgba(248,241,228,.68); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.scene-coordinate span { color: #f0c68e; font-variant-numeric: tabular-nums; }
.scene-bottomline { bottom: 15px; }
.legend { display: flex; align-items: center; gap: 14px; color: rgba(248,241,228,.76); font-size: 10px; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-grain { width: 6px; height: 6px; border-radius: 50%; background: #f1c78e; box-shadow: 0 0 7px rgba(241,199,142,.7); }
.legend-wave { width: 13px; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 7px rgba(117,217,223,.8); }
.camera-hint { color: rgba(248,241,228,.58); font-size: 9px; letter-spacing: .04em; }
kbd { font: inherit; font-size: 8px; font-weight: 800; letter-spacing: .08em; color: rgba(248,241,228,.88); padding: 3px 5px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; margin: 0 3px 0 8px; background: rgba(0,0,0,.12); }
.scene-annotation { position: absolute; z-index: 2; display: flex; align-items: center; gap: 7px; color: rgba(244,236,220,.8); font-size: 8px; font-weight: 800; letter-spacing: .15em; text-shadow: 0 1px 7px #26180f; pointer-events: none; }
.annotation-line { width: 27px; height: 1px; background: rgba(117,217,223,.8); box-shadow: 0 0 7px rgba(117,217,223,.7); }
.annotation-source { right: 13%; bottom: 33%; }
.annotation-wave { left: 13%; top: 36%; }
.annotation-wave .annotation-line { background: rgba(232,190,130,.9); }
.context-overlay, .fallback-overlay { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(7,12,18,.82); backdrop-filter: blur(8px); }
.context-overlay[hidden], .fallback-overlay[hidden] { display: none; }
.context-card { width: min(340px, calc(100% - 40px)); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 25px; border: 1px solid var(--line-strong); border-radius: 14px; background: #121d28; box-shadow: 0 16px 45px rgba(0,0,0,.3); }
.context-icon { color: var(--sand); font-size: 28px; }
.context-card strong { font-size: 14px; }
.context-card span { color: var(--muted); font-size: 11px; line-height: 1.55; }
.context-card code { color: var(--cyan); font-size: 10px; }
.secondary-button { border: 1px solid var(--line-strong); background: #1a2a37; border-radius: 7px; padding: 8px 12px; cursor: pointer; font-size: 11px; }
.transport-bar { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; background: #101923; }
.transport-main { display: flex; align-items: center; gap: 6px; }
.transport-button { min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #aab6c1; border: 1px solid transparent; background: transparent; border-radius: 7px; cursor: pointer; font-size: 10px; font-weight: 650; transition: color .15s, background .15s, border-color .15s; }
.transport-button:hover { color: var(--text); background: rgba(255,255,255,.055); border-color: var(--line); }
.transport-button.primary { color: #17202a; background: var(--sand); border-color: var(--sand); padding: 0 13px; }
.transport-button.primary:hover { background: #f1c88e; }
.transport-button.primary svg { stroke: #17202a; }
.transport-divider { width: 1px; height: 25px; background: var(--line); margin: 0 4px; }
.speed-control { display: grid; grid-template-columns: auto minmax(70px, 120px) 40px; align-items: center; gap: 8px; min-width: 200px; }
.speed-control label { color: #7e8c99; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.speed-control output { color: #d4e0e7; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.transport-spacer { flex: 1; }
.camera-button { padding: 0 7px; }
.quality-button { min-height: 30px; padding: 0 9px; border: 1px solid var(--line); background: #151f2a; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; color: #aab6c1; font-size: 8px; font-weight: 800; letter-spacing: .1em; cursor: pointer; }
.quality-button[aria-pressed="true"] { color: #b4d9c6; border-color: rgba(131,214,173,.25); }
.quality-dot { width: 5px; height: 5px; border-radius: 50%; background: #82909d; }
.quality-button[aria-pressed="true"] .quality-dot { background: #80d6a9; box-shadow: 0 0 7px rgba(128,214,169,.6); }
input[type="range"] { appearance: none; width: 100%; height: 4px; margin: 7px 0 3px; border-radius: 99px; background: linear-gradient(90deg, #c48f59, #e5bb81); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #f0c990; border: 2px solid #27313a; box-shadow: 0 0 0 1px rgba(240,201,144,.8), 0 1px 4px rgba(0,0,0,.5); }
input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; background: #f0c990; border: 2px solid #27313a; box-shadow: 0 0 0 1px rgba(240,201,144,.8); }
.speed-control input[type="range"] { background: #293743; }
.speed-control input[type="range"]::-webkit-slider-thumb { background: var(--cyan); box-shadow: 0 0 0 1px rgba(117,217,223,.8); }
.exhibit-caption { display: flex; justify-content: space-between; gap: 20px; padding: 11px 5px 2px; }
.caption-kicker { color: #84929f; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.exhibit-caption p { max-width: 680px; margin: 5px 0 0; color: #aab6c0; font-size: 11px; line-height: 1.55; }
.caption-stat { min-width: 150px; padding-left: 17px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.caption-stat strong { color: var(--sand-bright); font-size: 22px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.caption-stat strong small { font-size: 12px; }
.caption-stat span { margin-top: 5px; color: #a3afb9; font-size: 9px; }
.caption-stat em { margin-top: 4px; color: #73818e; font-style: normal; font-size: 7px; letter-spacing: .13em; }
.control-column { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(19,29,40,.98), rgba(15,23,32,.98)); box-shadow: 0 8px 25px rgba(0,0,0,.1); overflow: hidden; }
.controls-panel { padding: 17px 17px 13px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.panel-heading h1, .panel-heading h2 { margin: 4px 0 0; font-size: 17px; letter-spacing: -.035em; line-height: 1.2; }
.panel-index { color: #657482; font-size: 9px; font-weight: 750; letter-spacing: .12em; padding-top: 4px; }
.preset-block { margin-top: 16px; }
.section-label { display: flex; justify-content: space-between; color: #8d9aa6; font-size: 8px; font-weight: 800; letter-spacing: .14em; margin-bottom: 8px; }
.section-label span { color: #667582; font-size: 7px; }
.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.preset-button { min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 7px; padding: 7px 7px; text-align: left; background: #111d28; border: 1px solid rgba(180,198,214,.1); border-radius: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.preset-button:hover { background: #172632; border-color: rgba(180,198,214,.22); }
.preset-button.active { background: rgba(213,165,104,.10); border-color: rgba(224,180,126,.55); box-shadow: inset 0 0 0 1px rgba(224,180,126,.08); }
.preset-swatch { flex: 0 0 7px; width: 7px; height: 25px; border-radius: 5px; background: linear-gradient(180deg, #f0c990, #9e6038); }
.swatch-silent { background: linear-gradient(180deg, #8a9b9b, #465a60); }
.swatch-coarse { background: linear-gradient(180deg, #e8a969, #a34d32); }
.preset-button strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 750; color: #e3e9ee; }
.preset-button small { display: block; margin-top: 3px; color: #83919d; font-size: 8px; white-space: nowrap; }
.control-list { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 17px; row-gap: 10px; }
.control-row { min-width: 0; }
.control-row:nth-child(7) { grid-column: 1 / -1; }
.control-label { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; }
.control-label label { color: #bdc8d1; font-size: 9px; font-weight: 600; line-height: 1.3; }
.control-label output { white-space: nowrap; color: var(--sand-bright); font-size: 10px; font-weight: 750; font-variant-numeric: tabular-nums; }
.control-label output small { color: #85929e; font-size: 8px; font-weight: 600; }
.range-scale { display: flex; justify-content: space-between; color: #657481; font-size: 7px; line-height: 1.2; }
.info-mark { display: inline-grid; place-items: center; width: 12px; height: 12px; margin-left: 3px; border: 1px solid #657481; border-radius: 50%; color: #8796a3; font-size: 8px; font-style: normal; }
.control-footnote { display: flex; align-items: center; gap: 7px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: #788693; font-size: 8px; line-height: 1.4; }
.footnote-mark { width: 13px; height: 13px; flex: 0 0 13px; display: grid; place-items: center; border: 1px solid rgba(117,217,223,.35); border-radius: 50%; color: var(--cyan); font-size: 8px; }
.readout-panel { padding: 15px 17px 13px; }
.readout-heading { align-items: center; }
.readout-heading h2 { font-size: 15px; }
.live-indicator { display: inline-flex; align-items: center; gap: 6px; color: #8ecba8; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.live-indicator i { width: 5px; height: 5px; }
.readout-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 13px; border: 1px solid rgba(184,202,219,.1); border-radius: 9px; overflow: hidden; }
.readout-cell { min-width: 0; min-height: 83px; padding: 10px 11px 8px; background: rgba(8,14,21,.23); }
.readout-cell:nth-child(odd) { border-right: 1px solid rgba(184,202,219,.1); }
.readout-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(184,202,219,.1); }
.readout-label { display: flex; align-items: center; justify-content: space-between; gap: 4px; color: #85939f; font-size: 7px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.data-tag { color: #596b78; font-size: 6px; letter-spacing: .08em; }
.readout-value { margin-top: 6px; color: #f0f3f5; font-size: 22px; font-weight: 650; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.readout-value small { color: #a5b2bc; font-size: 10px; font-weight: 550; letter-spacing: 0; }
.readout-meter { height: 3px; margin-top: 9px; background: #263440; border-radius: 9px; overflow: hidden; }
.readout-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ad7b4e, #e6bc81); transition: width .18s; }
.readout-cell:nth-child(2) .readout-meter span { background: linear-gradient(90deg, #3e8790, #79d9dc); }
.readout-sub { margin-top: 8px; color: #71808d; font-size: 8px; }
.validation-strip { display: flex; align-items: center; gap: 9px; margin-top: 11px; padding: 9px 10px; background: rgba(104,178,143,.065); border: 1px solid rgba(104,178,143,.17); border-radius: 8px; }
.validation-icon { width: 19px; height: 19px; display: grid; place-items: center; flex: 0 0 19px; border-radius: 50%; color: #a8e0bf; background: rgba(104,178,143,.13); font-size: 11px; font-weight: 800; }
.validation-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.validation-copy strong { color: #9acbb0; font-size: 7px; letter-spacing: .13em; }
.validation-copy span { color: #b1c2bc; font-size: 8px; font-variant-numeric: tabular-nums; }
.validation-type { margin-left: auto; color: #668d78; text-align: right; font-size: 6px; line-height: 1.35; font-weight: 800; letter-spacing: .12em; }
.science-panel { padding: 0; }
.science-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 17px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.science-toggle > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.science-toggle strong { color: #e5ebef; font-size: 13px; font-weight: 700; }
.chevron { color: #84929e; font-size: 19px; line-height: 1; transition: transform .2s; }
.science-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.science-content { padding: 0 17px 15px; border-top: 1px solid var(--line); }
.science-content[hidden] { display: none; }
.science-lead { margin: 12px 0; color: #aab7c1; font-size: 9px; line-height: 1.55; }
.equation-block { padding: 10px 0; border-top: 1px solid rgba(184,202,219,.08); }
.equation-label { color: #82919d; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.equation { margin: 7px 0 4px; color: #f0cb96; font-family: ui-serif, Georgia, serif; font-size: 17px; letter-spacing: .01em; }
.equation sub, .inline-equation sub { font-size: .7em; }
.equation-block p { margin: 0; color: #788895; font-size: 8px; line-height: 1.45; }
.equation-block p b { color: #aab8c1; font-weight: 650; }
.alternative-note { padding: 10px; margin-top: 7px; background: rgba(117,217,223,.055); border: 1px solid rgba(117,217,223,.13); border-radius: 8px; }
.alternative-note strong, .limits-note strong { color: #9bcbd0; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.alternative-note p { margin: 5px 0 0; color: #91a0aa; font-size: 8px; line-height: 1.55; }
.inline-equation { color: #d5c29c; font-family: ui-serif, Georgia, serif; }
.alternative-note .alternative-readout { color: #b6c6c9; }
.alternative-readout b { color: var(--cyan); font-size: 10px; }
.alternative-readout span { color: #748793; }
.limits-note { margin-top: 11px; }
.limits-note strong { color: #b9a07f; }
.limits-note ul { padding-left: 15px; margin: 6px 0 0; color: #85939e; font-size: 8px; line-height: 1.55; }
.science-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--line); }
.science-sources span { width: 100%; color: #657481; font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.science-sources a { color: #91bfc2; font-size: 8px; text-decoration: none; }
.science-sources a:hover { color: #b9edf0; text-decoration: underline; }
.side-footer { display: flex; justify-content: space-between; padding: 0 3px; color: #596775; font-size: 7px; font-weight: 750; letter-spacing: .12em; }
.global-footer { min-height: 28px; display: flex; justify-content: space-between; align-items: center; padding: 0 27px; border-top: 1px solid rgba(184,202,219,.07); color: #5f6b77; font-size: 7px; font-weight: 700; letter-spacing: .12em; }
.embed-mode .topbar, .embed-mode .global-footer { display: none; }
.embed-mode .workspace { padding: 0; grid-template-columns: minmax(0, 1.6fr) minmax(320px, .85fr); gap: 0; }
.embed-mode .scene-frame { border-radius: 0; height: 100vh; min-height: 450px; }
.embed-mode .visual-column { gap: 0; }
.embed-mode .transport-bar { border-radius: 0; }
.embed-mode .exhibit-caption { display: none; }
.embed-mode .control-column { padding: 12px; overflow-y: auto; max-height: 100vh; }

@media (min-width: 1500px) {
  .workspace { padding-left: 30px; padding-right: 30px; gap: 22px; }
  .scene-frame { height: min(72vh, 850px); }
  .controls-panel { padding: 20px; }
  .control-list { row-gap: 13px; }
}
@media (max-width: 1100px) {
  .workspace { grid-template-columns: minmax(0, 1.4fr) minmax(330px, .9fr); padding: 15px; gap: 12px; }
  .scene-frame { height: clamp(420px, calc(100vh - 275px), 680px); }
  .controls-panel, .readout-panel { padding-left: 13px; padding-right: 13px; }
  .control-list { column-gap: 12px; }
  .preset-button { padding: 6px 5px; gap: 5px; }
  .preset-button strong { font-size: 8px; }
  .preset-button small { font-size: 7px; }
  .readout-cell { padding-left: 8px; padding-right: 8px; }
  .readout-label { font-size: 6px; }
  .data-tag { font-size: 5px; }
}
@media (max-width: 820px) {
  .topbar { padding: 0 17px; }
  .workspace { display: flex; flex-direction: column; padding: 12px; gap: 12px; }
  .visual-column { gap: 8px; }
  .scene-frame { height: min(58vh, 570px); min-height: 360px; }
  .control-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 10px; }
  .controls-panel { grid-row: span 2; }
  .readout-panel { grid-column: 2; }
  .science-panel { grid-column: 2; }
  .side-footer { grid-column: 1 / -1; }
  .global-footer { padding: 7px 16px; gap: 10px; }
}
@media (max-width: 560px) {
  body { font-size: 12px; }
  .topbar { height: 60px; flex-basis: 60px; padding: 0 12px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-title { font-size: 14px; }
  .brand-subtitle { display: none; }
  .eyebrow { font-size: 8px; }
  .status-pill { height: 25px; padding: 0 8px; font-size: 7px; }
  .icon-button { width: 30px; height: 30px; }
  .workspace { padding: 8px; gap: 10px; }
  .scene-frame { height: 46vh; min-height: 300px; max-height: 410px; border-radius: 11px; }
  .scene-topline, .scene-bottomline { left: 11px; right: 11px; }
  .scene-topline { top: 11px; align-items: flex-start; }
  .scene-tag { font-size: 7px; gap: 6px; }
  .scene-coordinate { font-size: 7px; }
  .scene-annotation { font-size: 6px; }
  .annotation-source { right: 7%; bottom: 31%; }
  .annotation-wave { left: 7%; top: 35%; }
  .scene-bottomline { bottom: 10px; }
  .legend { gap: 8px; font-size: 8px; }
  .camera-hint { display: none; }
  .transport-bar { min-height: 48px; gap: 4px; padding: 6px; flex-wrap: wrap; }
  .transport-main { gap: 2px; }
  .transport-button { min-height: 31px; padding: 0 7px; font-size: 9px; gap: 5px; }
  .transport-button svg { width: 14px; height: 14px; }
  .transport-divider { margin: 0 2px; height: 20px; }
  .speed-control { min-width: 115px; flex: 1; grid-template-columns: auto minmax(38px,1fr) 34px; gap: 5px; }
  .speed-control label { font-size: 6px; }
  .speed-control output { font-size: 9px; }
  .camera-button span { display: none; }
  .camera-button { min-width: 30px; padding: 0 5px; }
  .quality-button { min-height: 28px; padding: 0 6px; font-size: 7px; }
  .exhibit-caption { padding: 5px 2px 1px; gap: 9px; }
  .exhibit-caption p { font-size: 9px; line-height: 1.45; }
  .caption-stat { min-width: 105px; padding-left: 9px; }
  .caption-stat strong { font-size: 18px; }
  .caption-stat span { font-size: 7px; }
  .caption-stat em { font-size: 6px; }
  .control-column { display: flex; gap: 9px; }
  .controls-panel, .readout-panel { padding: 13px 12px 11px; }
  .panel-heading h1 { font-size: 16px; }
  .panel-heading h2 { font-size: 14px; }
  .preset-block { margin-top: 12px; }
  .preset-grid { gap: 5px; }
  .preset-button { min-height: 45px; padding: 6px 6px; gap: 6px; }
  .preset-swatch { flex-basis: 5px; width: 5px; height: 22px; }
  .preset-button strong { font-size: 8px; }
  .preset-button small { font-size: 7px; }
  .control-list { margin-top: 13px; column-gap: 15px; row-gap: 11px; }
  .control-label label { font-size: 9px; }
  .control-label output { font-size: 10px; }
  .control-row:nth-child(7) { grid-column: 1 / -1; }
  .control-footnote { font-size: 7px; margin-top: 10px; }
  .readout-grid { margin-top: 10px; }
  .readout-cell { min-height: 78px; padding: 9px 9px 7px; }
  .readout-label { font-size: 7px; }
  .data-tag { font-size: 6px; }
  .readout-value { font-size: 21px; }
  .validation-strip { padding: 8px; gap: 7px; }
  .validation-copy span { font-size: 7px; }
  .science-toggle { padding: 12px; }
  .science-content { padding: 0 12px 12px; }
  .side-footer { font-size: 6px; }
  .global-footer { font-size: 6px; line-height: 1.5; }
  .global-footer span:last-child { display: none; }
}
@media (max-width: 370px) {
  .preset-button strong { font-size: 7px; }
  .preset-button small { font-size: 6px; }
  .control-list { column-gap: 10px; }
  .transport-button span { font-size: 8px; }
  .transport-button { padding: 0 5px; }
  .speed-control { min-width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
