:root {
  color-scheme: dark;
  --bg: #07121b;
  --panel: #0d1b26;
  --panel-2: #10212d;
  --line: rgba(158, 190, 204, 0.13);
  --line-strong: rgba(158, 190, 204, 0.22);
  --text: #e8f0ef;
  --muted: #8ba1a9;
  --faint: #5f7781;
  --cyan: #70d8d0;
  --blue: #83b8e6;
  --amber: #e8b979;
  --radius: 13px;
  --gap: 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-height: 100vh; background: radial-gradient(ellipse at 52% -12%, #17303b 0%, #091720 45%, #06111a 100%); font-size: 12px; letter-spacing: 0.01em; }
button, input { font: inherit; }
button { color: inherit; }
.topbar { height: 68px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(5, 15, 23, 0.84); backdrop-filter: blur(14px); position: relative; z-index: 5; }
.brand-lockup { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 31px; height: 31px; border: 1px solid rgba(112,216,208,.5); border-radius: 50%; position: relative; display: grid; place-items: center; transform: rotate(-25deg); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 19px; height: 8px; border: 1px solid var(--cyan); border-radius: 50%; }
.brand-mark::after { transform: rotate(62deg); opacity: .55; }
.brand-mark span { position: absolute; width: 4px; height: 4px; background: var(--amber); border-radius: 50%; }
.brand-mark span:nth-child(1) { transform: translate(-7px, -5px); }
.brand-mark span:nth-child(2) { transform: translate(7px, 4px); opacity: .6; }
.brand-mark span:nth-child(3) { transform: translate(1px, -8px); opacity: .8; }
.eyebrow, .section-label, .scene-kicker { font-size: 9px; line-height: 1.3; letter-spacing: .16em; color: #78929b; font-weight: 700; }
.brand-lockup h1 { margin: 3px 0 0; font-size: 14px; letter-spacing: .13em; font-weight: 720; }
.top-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.tag { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); border-radius: 99px; padding: 6px 9px; white-space: nowrap; }
.tag-live { color: #b9d9d4; }
.tag-live i, .pulse-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #69d4bd; box-shadow: 0 0 10px rgba(105,212,189,.7); }
.tag-tech { color: #9db8c3; }
.top-divider { height: 19px; width: 1px; background: var(--line-strong); }
.top-location { color: #7d929b; }
.workspace { display: grid; grid-template-columns: 286px minmax(420px, 1fr) 282px; gap: 10px; padding: 10px; height: calc(100vh - 99px); min-height: 620px; max-height: 1040px; }
.panel { background: linear-gradient(180deg, rgba(15,31,43,.97), rgba(10,23,33,.97)); border: 1px solid var(--line); border-radius: var(--radius); min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #29424c transparent; }
.control-panel { padding: 15px 14px 13px; }
.data-panel { padding: 15px 14px 13px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 4px 0 0; font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.number-chip, .telemetry-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #87bcb7; border: 1px solid rgba(112,216,208,.18); background: rgba(112,216,208,.06); font-size: 10px; }
.telemetry-icon { font-size: 20px; }
.control-section { padding: 13px 0; border-bottom: 1px solid var(--line); }
.section-label { margin-bottom: 10px; }
.preset-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.preset-btn { min-height: 42px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.018); display: flex; align-items: center; text-align: left; gap: 10px; padding: 6px 9px; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.preset-btn:hover { border-color: rgba(112,216,208,.4); background: rgba(112,216,208,.055); }
.preset-btn.active { border-color: rgba(112,216,208,.52); background: linear-gradient(90deg, rgba(112,216,208,.12), rgba(112,216,208,.035)); box-shadow: inset 2px 0 0 var(--cyan); }
.preset-icon { width: 25px; height: 25px; border-radius: 6px; display: grid; place-items: center; color: var(--cyan); background: rgba(112,216,208,.1); font-size: 15px; }
.preset-btn b, .preset-btn small { display: block; }
.preset-btn b { font-size: 11px; font-weight: 650; }
.preset-btn small { font-size: 9px; color: var(--muted); margin-top: 2px; }
.micro-copy { font-size: 9px; line-height: 1.45; color: #81969d; margin: 8px 1px 0; min-height: 26px; }
.sliders-section { padding-bottom: 11px; }
.slider-row { margin: 11px 0 12px; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.slider-head label { color: #bdcbcc; font-size: 10px; }
.slider-head output { color: var(--cyan); font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type="range"] { width: 100%; height: 4px; display: block; margin: 0; appearance: none; border-radius: 99px; background: linear-gradient(90deg, #397d80, #29424d); cursor: pointer; outline: none; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #b4e6dc; border: 2px solid #183a42; box-shadow: 0 0 0 2px rgba(112,216,208,.18); }
input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; background: #b4e6dc; border: 2px solid #183a42; box-shadow: 0 0 0 2px rgba(112,216,208,.18); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(112,216,208,.3); }
.range-ends { display: flex; justify-content: space-between; margin-top: 5px; color: #607982; font-size: 8px; }
.speed-row { padding-top: 4px; }
.transport-section { padding: 13px 0 11px; }
.transport-row { display: grid; grid-template-columns: 1fr 38px 38px; gap: 7px; }
.primary-btn, .square-btn, .export-btn, .text-btn, .quality-btn { border: 1px solid var(--line-strong); cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.primary-btn:active, .square-btn:active, .export-btn:active { transform: translateY(1px); }
.primary-btn { border-radius: 7px; background: linear-gradient(120deg, #1c696a, #18505a); color: #e4fffa; height: 35px; font-size: 10px; letter-spacing: .12em; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.primary-btn:hover { background: linear-gradient(120deg, #258080, #1c6470); }
.play-glyph { font-size: 10px; }
.square-btn { border-radius: 7px; background: #132733; color: #b5c8c9; font-size: 13px; }
.square-btn:hover { border-color: rgba(112,216,208,.42); background: #193541; }
.utility-row { display: flex; align-items: center; justify-content: space-between; margin: 9px 0; }
.quality-switch { display: flex; border: 1px solid var(--line); border-radius: 6px; padding: 2px; background: rgba(0,0,0,.14); }
.quality-btn { border: 0; background: transparent; border-radius: 4px; padding: 5px 8px; color: #718992; font-size: 8px; letter-spacing: .1em; }
.quality-btn.active { background: #24424a; color: #b9e2d9; }
.text-btn { border: 0; background: transparent; color: #9eb1b6; font-size: 9px; padding: 5px; }
.text-btn:hover { color: var(--cyan); }
.export-btn { width: 100%; height: 32px; border-radius: 6px; background: rgba(255,255,255,.025); color: #b8c7c8; font-size: 9px; letter-spacing: .09em; text-align: left; padding: 0 9px; }
.export-btn:hover { background: rgba(112,216,208,.07); border-color: rgba(112,216,208,.3); }
.export-btn span { color: var(--cyan); font-size: 14px; vertical-align: -1px; margin-right: 5px; }
kbd { float: right; border: 1px solid var(--line-strong); border-radius: 3px; padding: 2px 4px; color: #77919a; font-size: 8px; }
.science-panel { margin-top: 11px; border: 1px solid var(--line); border-radius: 8px; background: rgba(3,13,20,.24); }
.science-panel summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 9px; padding: 10px 9px; }
.science-panel summary::-webkit-details-marker { display: none; }
.science-icon { width: 25px; height: 25px; border-radius: 6px; background: rgba(232,185,121,.1); color: var(--amber); display: grid; place-items: center; font-size: 15px; }
.science-panel summary b, .science-panel summary small { display: block; }
.science-panel summary b { font-size: 10px; }
.science-panel summary small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.chevron { margin-left: auto; color: #769099; transition: transform .2s; }
.science-panel[open] .chevron { transform: rotate(180deg); }
.science-content { padding: 0 10px 11px; border-top: 1px solid var(--line); }
.science-content h3 { font-size: 9px; letter-spacing: .08em; color: #b4d6d0; text-transform: uppercase; margin: 12px 0 7px; }
.science-content p, .science-content li { color: #91a6ac; font-size: 9px; line-height: 1.55; }
.science-content ul { padding-left: 14px; margin: 6px 0; }
.science-content li { margin: 4px 0; }
.equation { border: 1px solid rgba(112,216,208,.16); background: rgba(112,216,208,.045); border-radius: 6px; padding: 9px 7px; color: #e2f1ec; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; text-align: center; }
.science-foot { color: #c2a67e !important; }
.scene-panel { min-width: 0; min-height: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #08141d; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.scene-topline { min-height: 56px; padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(158,190,204,.1); background: linear-gradient(90deg, rgba(13,29,40,.95), rgba(9,22,32,.84)); position: relative; z-index: 2; }
.scene-topline > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.scene-kicker { font-size: 8px; }
.scene-title { font-size: 12px; color: #dce8e4; font-weight: 600; letter-spacing: .01em; }
.scene-coordinates { display: flex; align-items: center; gap: 7px; color: #88a4a8; font-size: 8px; letter-spacing: .1em; }
.scene-root { position: relative; flex: 1; min-height: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 48%, #1b3740 0%, #0c202a 45%, #07131d 100%); }
.three-view { width: 100%; height: 100%; display: block; outline: none; }
.scene-placeholder { position: absolute; z-index: 5; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; background: #091721; color: #8db6b4; font-size: 9px; letter-spacing: .18em; pointer-events: none; transition: opacity .35s; }
.scene-placeholder.hidden { opacity: 0; }
.loader-ring { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(112,216,208,.18); border-top-color: var(--cyan); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scene-overlay { position: absolute; z-index: 2; top: 16px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; text-shadow: 0 2px 9px rgba(0,0,0,.6); }
.scene-overlay-left { left: 15px; }
.scene-overlay-right { right: 15px; align-items: flex-end; }
.overlay-label { color: #7e9ba1; font-size: 7px; letter-spacing: .16em; }
.scene-overlay b { font-size: 9px; letter-spacing: .08em; color: #d3e2de; font-weight: 650; }
.overlay-line { width: 20px; height: 1px; background: var(--amber); margin: 4px 0; }
.overlay-gap { margin-top: 10px; }
.water-key { display: flex; align-items: center; gap: 6px; }
.water-key i { width: 6px; height: 6px; border-radius: 50%; background: #62c5c1; box-shadow: 0 0 8px #62c5c1; }
.scene-bottom-hint { position: absolute; z-index: 2; bottom: 12px; left: 15px; display: flex; gap: 7px; align-items: center; color: #7e9ba2; font-size: 7px; letter-spacing: .12em; pointer-events: none; text-shadow: 0 2px 7px #000; }
.hint-separator { width: 1px; height: 11px; background: rgba(180,210,210,.25); margin: 0 4px; }
.webgl-error { position: absolute; inset: 20% 12%; z-index: 8; background: rgba(8,19,27,.94); border: 1px solid rgba(232,185,121,.3); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 9px; text-align: center; color: #d7e5df; }
.webgl-error[hidden] { display: none; }
.webgl-error span { color: #93a8ae; line-height: 1.5; }
.scene-footer { min-height: 37px; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; border-top: 1px solid rgba(158,190,204,.1); background: #0b1a24; }
.cause-chain, .scene-footer-right { display: flex; align-items: center; gap: 9px; }
.chain-node { color: #647e87; font-size: 8px; letter-spacing: .06em; }
.chain-node b { font-weight: 500; }
.chain-node.active { color: var(--amber); }
.chain-arrow { color: #55717a; font-size: 10px; }
.scene-footer-right { color: #728b93; font-size: 8px; letter-spacing: .08em; }
.scale-mark { width: 28px; height: 5px; border-left: 1px solid #91aeb0; border-right: 1px solid #91aeb0; border-bottom: 1px solid #91aeb0; }
.footer-divider { width: 1px; height: 13px; background: var(--line-strong); margin: 0 2px; }
.data-heading { padding-bottom: 13px; }
.readout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 12px 0 13px; border-bottom: 1px solid var(--line); }
.readout-card { min-height: 84px; border: 1px solid rgba(158,190,204,.11); border-radius: 8px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); padding: 9px 8px 8px; }
.readout-top { display: flex; align-items: center; justify-content: space-between; color: #8098a0; font-size: 7px; letter-spacing: .12em; }
.readout-mark { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 7px rgba(232,185,121,.4); }
.mark-cyan { background: var(--cyan); box-shadow: 0 0 7px rgba(112,216,208,.4); }
.mark-blue { background: var(--blue); box-shadow: 0 0 7px rgba(131,184,230,.4); }
.mark-amber { background: var(--amber); }
.readout-value { font-size: 21px; font-weight: 620; letter-spacing: -.04em; margin-top: 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.readout-value small { font-size: 9px; color: #9eb2b4; font-weight: 500; letter-spacing: 0; }
.readout-sub { color: #627c84; font-size: 7px; letter-spacing: .08em; margin-top: 5px; }
.telemetry-section { padding: 13px 0 12px; border-bottom: 1px solid var(--line); }
.period-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.period-label { display: block; font-size: 10px; color: #c1cecc; }
.period-row small { display: block; color: #718a92; font-size: 7px; margin-top: 3px; letter-spacing: .08em; }
.period-row > b { font-size: 16px; font-weight: 620; color: #d8e9e3; font-variant-numeric: tabular-nums; }
.period-row > b small { display: inline; color: #92a9ad; font-size: 9px; }
.mini-wave { margin-top: 7px; padding: 7px 8px 4px; border-radius: 6px; background: rgba(112,216,208,.035); border: 1px solid rgba(112,216,208,.08); }
.mini-wave svg { display: block; width: 100%; height: 40px; overflow: visible; }
.mini-wave path:first-child { fill: none; stroke: #65bcb5; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.mini-wave .wave-baseline { fill: none; stroke: rgba(145,175,178,.2); stroke-width: .7; stroke-dasharray: 3 4; }
.mini-wave span { display: block; text-align: right; color: #68848c; font-size: 7px; letter-spacing: .1em; margin-top: 3px; }
.validation-card { margin-top: 12px; padding: 10px; border: 1px solid rgba(112,216,208,.19); border-radius: 8px; background: linear-gradient(135deg, rgba(112,216,208,.07), rgba(112,216,208,.018)); }
.validation-head { display: flex; align-items: center; justify-content: space-between; color: #83a5a6; font-size: 7px; letter-spacing: .13em; }
.validation-check { color: #7ed1b6; border: 1px solid rgba(126,209,182,.25); border-radius: 4px; padding: 3px 5px; font-size: 7px; }
.validation-title { font-size: 10px; font-weight: 600; margin: 9px 0; color: #d4e4df; }
.validation-values { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.validation-values div { border-top: 1px solid rgba(158,190,204,.13); padding-top: 6px; }
.validation-values small { display: block; font-size: 7px; color: #78939a; letter-spacing: .1em; }
.validation-values b { display: block; margin-top: 4px; font-size: 13px; font-variant-numeric: tabular-nums; color: #dcebe6; }
.validation-diff { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; padding: 7px 8px; background: rgba(0,0,0,.18); border-radius: 5px; color: #82999d; font-size: 7px; letter-spacing: .09em; }
.validation-diff b { color: #80d4bb; font-size: 11px; font-variant-numeric: tabular-nums; }
.validation-card p { color: #81969b; font-size: 8px; line-height: 1.5; margin: 8px 0 0; }
.mechanism-card { padding: 13px 0 4px; }
.mechanism-card .section-label { margin-bottom: 8px; }
.mechanism-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid rgba(158,190,204,.08); }
.mechanism-number { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #9bc5bd; background: rgba(112,216,208,.08); font-size: 8px; }
.mechanism-row b, .mechanism-row small { display: block; }
.mechanism-row b { color: #bdccca; font-size: 9px; font-weight: 600; }
.mechanism-row small { color: #718a92; font-size: 8px; margin-top: 3px; }
.app-footer { min-height: 21px; padding: 2px 22px 8px; display: flex; justify-content: space-between; align-items: center; color: #617981; font-size: 8px; letter-spacing: .05em; }
.app-footer span:last-child { letter-spacing: .12em; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; padding: 9px 13px; border: 1px solid rgba(112,216,208,.3); background: rgba(8,25,33,.96); color: #c8e2dc; border-radius: 7px; font-size: 10px; z-index: 20; transition: opacity .2s, transform .2s; box-shadow: 0 10px 35px rgba(0,0,0,.3); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
body.embed .topbar, body.embed .app-footer { display: none; }
body.embed .workspace { height: 100vh; padding: 5px; }
button:focus-visible, summary:focus-visible { outline: 2px solid #72d8d0; outline-offset: 2px; }
@media (min-width: 1500px) {
  .workspace { grid-template-columns: 310px minmax(500px, 1fr) 310px; gap: 12px; padding: 12px; }
  .control-panel, .data-panel { padding: 18px; }
  .preset-grid { grid-template-columns: 1fr 1fr 1fr; }
  .preset-btn { padding: 6px; gap: 6px; }
  .preset-icon { width: 22px; height: 22px; }
  .preset-btn small { font-size: 8px; }
}
@media (max-width: 1180px) and (min-width: 761px) {
  .workspace { grid-template-columns: 260px minmax(360px, 1fr); height: auto; max-height: none; min-height: calc(100vh - 99px); }
  .data-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  .data-heading { grid-column: 1 / -1; }
  .readout-grid { align-content: start; }
  .telemetry-section { border-bottom: 0; }
  .validation-card { margin-top: 0; }
  .mechanism-card { display: none; }
  .scene-panel { min-height: 650px; }
}
@media (max-width: 760px) {
  body { font-size: 12px; }
  .topbar { height: 58px; padding: 0 13px; }
  .brand-mark { width: 27px; height: 27px; }
  .brand-lockup { gap: 9px; }
  .brand-lockup h1 { font-size: 12px; }
  .eyebrow { font-size: 8px; }
  .top-meta { gap: 6px; }
  .tag { padding: 5px 7px; font-size: 7px; }
  .tag-tech, .top-divider, .top-location { display: none; }
  .workspace { display: flex; flex-direction: column; height: auto; max-height: none; min-height: 0; padding: 7px; gap: 8px; }
  .scene-panel { order: 0; min-height: 0; height: 47vh; max-height: 470px; flex: none; }
  .scene-topline { min-height: 48px; padding: 8px 10px; }
  .scene-title { font-size: 10px; }
  .scene-coordinates { font-size: 7px; }
  .scene-overlay { top: 11px; }
  .scene-overlay-left { left: 10px; }
  .scene-overlay-right { right: 10px; }
  .overlay-label { font-size: 6px; }
  .scene-overlay b { font-size: 7px; }
  .scene-bottom-hint { left: 10px; bottom: 8px; font-size: 6px; gap: 5px; }
  .scene-footer { min-height: 32px; padding: 0 9px; }
  .chain-node { font-size: 7px; }
  .scene-footer-right { font-size: 7px; gap: 6px; }
  .control-panel { order: 2; overflow: visible; padding: 13px; }
  .data-panel { order: 1; overflow: visible; padding: 13px; }
  .panel-heading h2 { font-size: 15px; }
  .preset-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preset-btn { min-height: 65px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 6px; }
  .preset-icon { width: 20px; height: 20px; }
  .preset-btn b { font-size: 9px; }
  .preset-btn small { font-size: 7px; }
  .micro-copy { min-height: 0; }
  .sliders-section { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .sliders-section .section-label { grid-column: 1 / -1; }
  .slider-row { margin: 9px 0 10px; }
  .slider-head label, .slider-head output { font-size: 9px; }
  .range-ends { font-size: 7px; }
  .transport-row { grid-template-columns: 1fr 42px 42px; }
  .readout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .readout-card { min-height: 78px; padding: 7px 6px; }
  .readout-top { font-size: 6px; letter-spacing: .06em; }
  .readout-value { font-size: clamp(14px, 4vw, 19px); margin-top: 10px; }
  .readout-value small { font-size: 8px; }
  .readout-sub { font-size: 6px; letter-spacing: .03em; }
  .telemetry-section { padding-top: 11px; }
  .validation-card { margin-top: 9px; }
  .mechanism-card { display: grid; grid-template-columns: 1fr; }
  .app-footer { padding: 2px 12px 10px; gap: 5px; align-items: flex-start; flex-direction: column; font-size: 7px; }
  body.embed .workspace { padding: 0; gap: 0; }
  body.embed .scene-panel { height: 55vh; border-radius: 0; }
}
@media (max-width: 390px) {
  .readout-grid { grid-template-columns: 1fr 1fr; }
  .readout-card { min-height: 75px; }
  .sliders-section { grid-template-columns: 1fr; }
  .sliders-section .section-label { grid-column: auto; }
  .scene-panel { height: 43vh; }
  .scene-footer-right { display: none; }
  .cause-chain { gap: 6px; }
  .chain-node { font-size: 6px; }
  .scene-bottom-hint { letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
