:root {
  color-scheme: dark;
  --bg: #07111d;
  --panel: #0c1825;
  --panel-2: #0f1d2b;
  --line: rgba(151, 190, 212, .13);
  --line-strong: rgba(151, 190, 212, .22);
  --text: #e9f4f8;
  --muted: #8ca2b2;
  --dim: #617788;
  --ice: #82e5f4;
  --ice-2: #49b8d2;
  --blue: #3989b2;
  --green: #6ce0c0;
  --amber: #e9bd7a;
  --danger: #f09a9a;
  --radius: 12px;
  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; overflow: hidden; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.app-shell { min-height: 100vh; height: 100vh; display: grid; grid-template-rows: 66px minmax(0, 1fr) 30px; background: radial-gradient(ellipse at 52% 40%, rgba(18, 55, 76, .17), transparent 48%), var(--bg); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 22px; border-bottom: 1px solid var(--line); background: rgba(6, 15, 25, .94); min-width: 0; }
.brand-lockup { display: flex; align-items: center; gap: 11px; min-width: 260px; }
.brand-mark { width: 28px; height: 28px; position: relative; border: 1px solid rgba(130,229,244,.38); border-radius: 8px; transform: rotate(45deg); display: flex; align-items: center; justify-content: center; gap: 2px; background: rgba(57,137,178,.1); }
.brand-mark span { display: block; width: 2px; height: 13px; border-radius: 4px; background: var(--ice); box-shadow: 0 0 9px rgba(130,229,244,.55); }
.brand-mark span:nth-child(2) { height: 18px; opacity: .72; }
.brand-mark span:nth-child(3) { height: 9px; opacity: .5; }
.eyebrow, .section-label { color: #8ca9ba; font-size: 9px; font-weight: 800; letter-spacing: .16em; line-height: 1.4; }
.eyebrow span { color: #436173; padding: 0 3px; }
.brand-subtitle { color: #506c7f; font-size: 8px; letter-spacing: .14em; margin-top: 4px; font-weight: 700; }
.topbar-title { display: flex; align-items: center; gap: 12px; color: #b7cbd5; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.field-index { color: var(--ice); }
.topbar-divider { height: 15px; width: 1px; background: var(--line-strong); }
.topbar-right { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 9px; letter-spacing: .1em; font-weight: 700; }
.live-indicator { display: flex; align-items: center; gap: 7px; }
.live-indicator i, .data-pulse i, .scene-state i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(108,224,192,.7); }
.seed-label { color: #61798a; }
.seed-label b { color: #b4c9d4; margin-left: 5px; font-variant-numeric: tabular-nums; }
.workspace { display: grid; grid-template-columns: 282px minmax(420px, 1fr) 236px; min-height: 0; overflow: hidden; }
.control-rail, .data-rail { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #294356 transparent; background: rgba(9, 21, 33, .88); }
.control-rail { padding: 21px 18px 16px; border-right: 1px solid var(--line); }
.rail-heading h1 { font-size: 19px; letter-spacing: -.04em; line-height: 1.1; margin: 8px 0 7px; font-weight: 650; }
.rail-heading p { color: #8198a8; font-size: 11px; line-height: 1.55; margin: 0; max-width: 240px; }
.preset-block { margin-top: 21px; }
.section-label { margin-bottom: 9px; }
.preset-grid { display: grid; gap: 6px; }
.preset-button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border: 1px solid var(--line); background: rgba(17, 34, 48, .72); border-radius: 8px; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; min-height: 48px; }
.preset-button:hover { border-color: rgba(130,229,244,.38); background: rgba(22, 47, 64, .8); }
.preset-button:active { transform: translateY(1px); }
.preset-button.active { border-color: rgba(130,229,244,.55); background: linear-gradient(90deg, rgba(53,126,153,.2), rgba(18,42,57,.68)); box-shadow: inset 2px 0 0 var(--ice); }
.preset-icon { color: var(--ice); font-size: 17px; width: 20px; text-align: center; }
.preset-button b { display: block; font-size: 10px; font-weight: 700; color: #d9eaf0; }
.preset-button small { display: block; margin-top: 3px; color: #7891a2; font-size: 9px; }
.controls-block { margin-top: 21px; }
.control-row { padding: 9px 0 10px; border-bottom: 1px solid rgba(151,190,212,.08); }
.control-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.control-top label { color: #c4d5de; font-size: 10px; font-weight: 600; }
.control-top output { color: var(--ice); font-size: 10px; font-weight: 750; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; height: 14px; margin: 0; appearance: none; background: transparent; cursor: pointer; display: block; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 4px; background: linear-gradient(90deg, #2e8ca8, #31576d); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 4px; background: linear-gradient(90deg, #2e8ca8, #31576d); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 11px; height: 11px; margin-top: -4px; border-radius: 50%; border: 2px solid #d4f7fa; background: #3d9bb6; box-shadow: 0 0 0 3px rgba(91,198,219,.13), 0 0 9px rgba(91,198,219,.35); }
input[type="range"]::-moz-range-thumb { width: 8px; height: 8px; border-radius: 50%; border: 2px solid #d4f7fa; background: #3d9bb6; box-shadow: 0 0 0 3px rgba(91,198,219,.13); }
.range-ends { display: flex; justify-content: space-between; color: #5f7889; font-size: 8px; margin-top: 2px; }
.speed-block { margin-top: 15px; padding: 10px 11px 9px; background: rgba(16,34,48,.68); border: 1px solid var(--line); border-radius: 9px; }
.speed-block .control-top { margin-bottom: 7px; }
.rail-footnote { display: flex; align-items: flex-start; gap: 8px; margin-top: 15px; color: #647f91; font-size: 9px; line-height: 1.5; }
.footnote-dot { width: 5px; height: 5px; border-radius: 50%; background: #5aa8bd; margin-top: 4px; flex: 0 0 auto; }
.scene-column { min-width: 0; min-height: 0; display: grid; grid-template-rows: 52px minmax(220px, 1fr) 53px auto; background: #07121d; }
.scene-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 17px; border-bottom: 1px solid rgba(151,190,212,.08); background: rgba(8,20,31,.76); }
.scene-heading { color: #d9eaf0; font-size: 12px; font-weight: 650; margin-top: 3px; letter-spacing: -.01em; }
.scene-heading span { color: var(--ice); padding: 0 4px; }
.scene-header-right { display: flex; align-items: center; gap: 11px; }
.scene-state { display: inline-flex; align-items: center; gap: 7px; color: #8ccfca; font-size: 8px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.scene-state i { width: 5px; height: 5px; }
.icon-button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 7px; background: rgba(19,39,54,.65); cursor: pointer; }
.icon-button:hover { border-color: rgba(130,229,244,.5); color: var(--ice); }
.icon-button svg, .export-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scene-frame { position: relative; min-height: 0; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 51% 42%, #102b3a 0%, #091927 45%, #06111c 100%); }
#sceneCanvas { display: block; width: 100%; height: 100%; touch-action: none; outline: none; }
.scene-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3,11,18,.2), transparent 22%, transparent 72%, rgba(3,11,18,.38)), radial-gradient(ellipse at center, transparent 44%, rgba(2,8,14,.25) 100%); z-index: 1; }
.scene-corner { position: absolute; z-index: 2; top: 14px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.scene-corner span { color: #668698; font-size: 8px; letter-spacing: .16em; font-weight: 800; }
.scene-corner b { color: #a7c0ce; font-size: 9px; letter-spacing: .1em; }
.scene-corner-tl { left: 16px; }
.scene-corner-tr { right: 16px; text-align: right; }
.scene-annotations { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.annotation { position: absolute; display: flex; flex-direction: column; gap: 3px; padding: 6px 8px 6px 12px; background: rgba(5,17,27,.66); border-left: 1px solid rgba(130,229,244,.65); backdrop-filter: blur(5px); border-radius: 0 5px 5px 0; opacity: 0; transition: opacity .25s ease; transform: translate(-50%,-50%); white-space: nowrap; }
.annotation.visible { opacity: 1; }
.annotation b { color: #bdebf0; font-size: 8px; letter-spacing: .12em; }
.annotation small { color: #6f91a3; font-size: 8px; }
.annotation-dot { position: absolute; width: 4px; height: 4px; left: -3px; top: 10px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 8px var(--ice); }
.scene-bottom-left, .scene-bottom-right { position: absolute; bottom: 13px; z-index: 2; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.scene-bottom-left { left: 15px; }
.scene-bottom-right { right: 15px; }
.axis-key { color: #7391a2; font-size: 8px; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.axis-key i { display: block; width: 9px; height: 2px; border-radius: 2px; }
.axis-x { background: #ec7d86; }.axis-y { background: #7bd8a8; }.axis-z { background: #73b8f0; }
.scene-scale { color: #607b8d; font-size: 8px; letter-spacing: .1em; margin-left: 3px; }
.drag-hint { color: #668395; font-size: 8px; letter-spacing: .1em; font-weight: 700; }
.drag-hint span { color: #456173; padding: 0 3px; }
.mouse-glyph { font-size: 13px; color: #8acdd7 !important; }
.webgl-message { position: absolute; z-index: 5; inset: 0; display: grid; place-items: center; background: rgba(3,10,17,.78); backdrop-filter: blur(7px); }
.webgl-message[hidden] { display: none; }
.webgl-message-card { width: min(340px, calc(100% - 36px)); border: 1px solid rgba(130,229,244,.25); border-radius: 12px; padding: 20px; background: #0b1a28; box-shadow: 0 18px 70px rgba(0,0,0,.35); }
.webgl-message-card b { color: #d9f4f6; font-size: 14px; }
.webgl-message-card p { color: #8ba4b3; font-size: 11px; line-height: 1.6; }
.webgl-message-card button { background: #1d6278; color: #eafcff; border: 0; border-radius: 6px; padding: 8px 11px; font-size: 9px; font-weight: 800; letter-spacing: .1em; cursor: pointer; }
.transport-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 15px; background: #0a1723; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.transport-left, .transport-right { display: flex; align-items: center; gap: 8px; }
.play-button { display: inline-flex; align-items: center; gap: 9px; height: 31px; padding: 0 14px; background: linear-gradient(135deg, #58c4d8, #2d88a9); border: 1px solid rgba(143,240,246,.45); border-radius: 6px; color: #04131e; cursor: pointer; font-size: 9px; font-weight: 900; letter-spacing: .12em; box-shadow: 0 4px 16px rgba(49,151,177,.16); }
.play-button:hover { filter: brightness(1.08); }
.play-symbol { font-size: 10px; }
.transport-button { height: 30px; padding: 0 10px; background: rgba(20,40,55,.7); border: 1px solid var(--line-strong); border-radius: 6px; color: #a5bdca; cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.transport-button:hover { color: var(--ice); border-color: rgba(130,229,244,.4); }
.transport-button span { font-size: 14px; padding-left: 3px; color: var(--ice); }
.quality-label { color: #6b8798; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.quality-switch { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px; background: rgba(3,12,20,.4); }
.quality-switch button { border: 0; background: transparent; color: #6d8798; padding: 5px 7px; border-radius: 4px; font-size: 8px; font-weight: 800; cursor: pointer; }
.quality-switch button.selected { color: #c4eff1; background: rgba(63,143,165,.28); }
.export-button { display: flex; align-items: center; gap: 6px; border: 1px solid rgba(130,229,244,.25); color: #91c9d4; background: rgba(16,44,59,.55); border-radius: 6px; height: 29px; padding: 0 9px; cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.export-button:hover { border-color: rgba(130,229,244,.55); color: #d4fbff; }
.science-panel { background: #091622; border-bottom: 1px solid var(--line); max-height: 220px; overflow: auto; scrollbar-width: thin; scrollbar-color: #294356 transparent; }
.science-panel summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 17px; }
.science-panel summary::-webkit-details-marker { display: none; }
.science-icon { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(130,229,244,.24); border-radius: 7px; color: var(--ice); font-size: 15px; }
.science-panel summary b { display: block; color: #d1e4eb; font-size: 10px; }
.science-panel summary small { display: block; color: #708b9b; font-size: 8px; margin-top: 2px; }
.summary-chevron { margin-left: auto; color: #7d9cac; font-size: 16px; transition: transform .2s ease; }
.science-panel[open] .summary-chevron { transform: rotate(180deg); }
.science-content { padding: 0 17px 14px; }
.science-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.equation-card { padding: 10px; background: rgba(16,34,48,.7); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.equation-card .section-label { font-size: 8px; margin-bottom: 8px; }
.equation { color: #c9f1f4; font-family: Georgia, "Times New Roman", serif; font-size: 15px; min-height: 26px; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.fraction { display: inline-flex; flex-direction: column; text-align: center; font-size: 11px; line-height: 1.2; }
.fraction i { font-style: normal; border-bottom: 1px solid #8cc9d4; padding: 0 3px 2px; }
.fraction b { font-weight: 400; padding-top: 2px; }
.equation-card p { color: #819aaa; font-size: 9px; line-height: 1.5; margin: 7px 0 0; }
.validation-numbers { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.validation-numbers span { display: flex; flex-direction: column; gap: 3px; }
.validation-numbers small { color: #6d8999; font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.validation-numbers b { color: #b8edf0; font-size: 12px; font-variant-numeric: tabular-nums; }
.validation-numbers span:last-child b { color: var(--green); }
.science-footnotes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 18px; margin-top: 10px; padding: 10px 2px 0; border-top: 1px solid var(--line); }
.science-footnotes div { display: flex; flex-direction: column; gap: 4px; }
.science-footnotes b { color: #82a5b7; font-size: 7px; letter-spacing: .12em; }
.science-footnotes span { color: #718a9a; font-size: 8px; line-height: 1.45; }
.data-rail { padding: 20px 14px 14px; border-left: 1px solid var(--line); }
.data-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 15px; }
.data-pulse { color: #6b9b9e; font-size: 7px; letter-spacing: .1em; display: flex; align-items: center; gap: 5px; font-weight: 800; }
.data-pulse i { width: 5px; height: 5px; }
.primary-metric { padding: 13px 12px 11px; background: linear-gradient(145deg, rgba(26,69,85,.44), rgba(15,35,49,.78)); border: 1px solid rgba(130,229,244,.22); border-radius: 9px; margin-bottom: 9px; }
.metric-label { color: #87a4b3; font-size: 8px; font-weight: 800; letter-spacing: .1em; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.metric-label span { color: #4c9bac; font-size: 6px; letter-spacing: .08em; border: 1px solid rgba(85,171,188,.23); border-radius: 3px; padding: 2px 3px; }
.metric-value { display: flex; align-items: baseline; gap: 5px; margin-top: 7px; font-variant-numeric: tabular-nums; }
.metric-value strong { color: #d9f8f8; font-size: 27px; line-height: 1; font-weight: 650; letter-spacing: -.05em; }
.metric-value em { color: #82c8d4; font-style: normal; font-size: 10px; font-weight: 700; }
.metric-track, .access-track { height: 3px; border-radius: 4px; background: rgba(102,145,164,.2); overflow: hidden; margin-top: 11px; }
.metric-track i, .access-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3a9eb6, #8be6eb); transition: width .2s ease; }
.metric-foot { display: flex; justify-content: space-between; color: #5f7b8d; font-size: 7px; margin-top: 5px; }
.metric-card { padding: 12px 11px 10px; margin-bottom: 7px; border: 1px solid var(--line); background: rgba(14,29,42,.72); border-radius: 8px; }
.metric-card .metric-value { margin-top: 6px; }
.metric-card .metric-value strong { font-size: 21px; color: #d4e9ef; }
.metric-card .metric-value em { color: #7fa8b8; font-size: 9px; }
.metric-card p { color: #637f91; font-size: 8px; margin: 5px 0 0; }
.compact-metric { padding-bottom: 12px; }
.compact-metric .metric-value strong { font-size: 20px; }
.access-track { margin-top: 8px; }
.access-track i { background: linear-gradient(90deg, #c79c61, #e9ca88); }
.status-card { display: flex; align-items: center; gap: 10px; margin-top: 13px; padding: 11px 9px; border: 1px solid rgba(108,224,192,.16); background: rgba(17,53,52,.24); border-radius: 8px; }
.status-orbit { width: 20px; height: 20px; border: 1px solid rgba(108,224,192,.38); border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.status-orbit i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(108,224,192,.7); }
.status-card small { display: block; color: #6b9a91; font-size: 7px; letter-spacing: .12em; font-weight: 800; }
.status-card b { display: block; color: #a7dfd0; font-size: 8px; letter-spacing: .04em; margin-top: 3px; }
.status-card span { display: block; color: #648f88; font-size: 7px; margin-top: 3px; line-height: 1.35; }
.data-legend { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; color: #607b8b; font-size: 6px; font-weight: 800; letter-spacing: .07em; }
.data-legend span { display: flex; align-items: center; gap: 4px; }
.data-legend i { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.legend-textbook { background: #71b7ea; }.legend-illustrative { background: #e4bd7d; }.legend-scaled { background: #9b8de0; }
.footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; color: #506b7c; font-size: 7px; font-weight: 800; letter-spacing: .1em; background: #06101a; white-space: nowrap; overflow: hidden; }
.footer-bar b { color: #2f5366; padding: 0 3px; }
body.embed .app-shell { grid-template-rows: 1fr; }
body.embed .topbar, body.embed .footer-bar, body.embed .data-rail { display: none; }
body.embed .workspace { grid-template-columns: 270px minmax(0,1fr); }
body.embed .scene-column { grid-template-rows: 46px minmax(220px,1fr) 50px auto; }

@media (max-width: 1120px) {
  .workspace { grid-template-columns: 250px minmax(360px,1fr) 210px; }
  .control-rail { padding-left: 14px; padding-right: 14px; }
  .data-rail { padding-left: 11px; padding-right: 11px; }
  .topbar { padding: 0 16px; }
  .brand-lockup { min-width: 220px; }
  .footer-bar { font-size: 6px; }
}
@media (max-width: 900px) {
  body { overflow: auto; }
  .app-shell { height: auto; min-height: 100vh; grid-template-rows: 58px auto 28px; }
  .workspace { grid-template-columns: minmax(0,1fr) 210px; grid-template-rows: minmax(480px, 62vh) auto; overflow: visible; }
  .control-rail { grid-column: 1 / -1; grid-row: 2; border-right: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; padding: 18px; overflow: visible; }
  .rail-heading { grid-column: 1 / -1; }
  .preset-block { margin-top: 17px; }
  .controls-block { margin-top: 17px; }
  .speed-block { align-self: start; margin-top: 12px; }
  .rail-footnote { grid-column: 1 / -1; }
  .scene-column { grid-column: 1; grid-row: 1; grid-template-rows: 48px minmax(0,1fr) 52px auto; }
  .data-rail { grid-column: 2; grid-row: 1; border-left: 1px solid var(--line); border-top: 0; padding-top: 16px; }
  .science-panel { max-height: 260px; }
  .topbar-title { display: none; }
  .footer-bar span:last-child { display: none; }
}
@media (max-width: 640px) {
  .app-shell { grid-template-rows: 54px auto 25px; }
  .topbar { padding: 0 12px; }
  .brand-lockup { min-width: 0; }
  .brand-mark { width: 24px; height: 24px; }
  .brand-subtitle { font-size: 7px; }
  .topbar-right { gap: 0; }
  .live-indicator { display: none; }
  .seed-label { font-size: 7px; }
  .workspace { display: flex; flex-direction: column; }
  .scene-column { order: 1; min-height: 590px; grid-template-rows: 48px minmax(380px, 1fr) 53px auto; }
  .data-rail { order: 2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; padding: 13px 12px; border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
  .data-rail-head { grid-column: 1 / -1; margin-bottom: 1px; }
  .primary-metric { grid-column: 1 / -1; margin-bottom: 0; }
  .metric-card { margin-bottom: 0; }
  .status-card, .data-legend { grid-column: 1 / -1; margin-top: 2px; }
  .control-rail { order: 3; display: block; padding: 18px 14px; border-top: 1px solid var(--line); }
  .rail-heading p { max-width: none; }
  .preset-block, .controls-block { margin-top: 18px; }
  .preset-grid { grid-template-columns: 1fr; }
  .control-row { padding: 11px 0; }
  .speed-block { margin-top: 15px; }
  .rail-footnote { margin-top: 13px; }
  .scene-header { padding: 0 12px; }
  .scene-heading { font-size: 11px; }
  .scene-state { font-size: 7px; }
  .scene-bottom-right { display: none; }
  .scene-corner { top: 10px; }
  .scene-corner-tl { left: 11px; }
  .scene-corner-tr { right: 11px; }
  .annotation { padding: 5px 6px 5px 9px; }
  .annotation b { font-size: 7px; }
  .annotation small { font-size: 7px; }
  .transport-bar { padding: 0 8px; gap: 5px; }
  .transport-left, .transport-right { gap: 4px; }
  .play-button { padding: 0 9px; gap: 6px; }
  .transport-button { padding: 0 6px; font-size: 7px; }
  .quality-label { display: none; }
  .quality-switch button { padding: 5px 5px; font-size: 7px; }
  .export-button { padding: 0 6px; font-size: 7px; gap: 4px; }
  .export-button svg { width: 13px; height: 13px; }
  .science-panel { max-height: 310px; }
  .science-grid, .science-footnotes { grid-template-columns: 1fr; }
  .science-content { padding: 0 10px 12px; }
  .science-panel summary { padding: 0 12px; }
  .footer-bar { padding: 0 10px; font-size: 6px; }
  body.embed .workspace { display: flex; }
  body.embed .scene-column { min-height: 100vh; }
  body.embed .control-rail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
