:root {
  color-scheme: dark;
  --bg: #07121a;
  --bg-2: #0b1922;
  --panel: #0d1c26;
  --panel-2: #10232e;
  --line: rgba(153, 190, 209, .13);
  --line-strong: rgba(153, 190, 209, .22);
  --text: #e8f2f7;
  --muted: #8fa6b3;
  --faint: #607784;
  --cyan: #7edaff;
  --blue: #48bde9;
  --ice: #b6edff;
  --amber: #d6b27c;
  --green: #6ed4b3;
  --danger: #e6a27f;
  --radius: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { 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 { outline: 2px solid var(--cyan); outline-offset: 3px; }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 22% 0%, rgba(33, 78, 97, .16), transparent 38%), var(--bg); }
.topbar { height: 62px; flex: 0 0 62px; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(7, 18, 26, .92); position: relative; z-index: 5; }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 29px; height: 29px; position: relative; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(126, 218, 255, .34); border-radius: 8px; background: linear-gradient(145deg, rgba(126, 218, 255, .15), rgba(126, 218, 255, .025)); }
.brand-mark span { position: absolute; width: 1px; height: 18px; background: #9be4ff; transform: rotate(45deg); opacity: .85; }
.brand-mark span:nth-child(2) { transform: rotate(-45deg); }
.brand-mark span:nth-child(3) { transform: rotate(90deg); height: 14px; opacity: .45; }
.eyebrow, .kicker, .section-label, .telemetry-label, .scene-tag, .scene-badge, .depth-readout-label, .scene-controls-hint, .quality-label, .panel-index, .validation-grid small, .equation-label, .panel-footnote, .footer-note { font-size: 9px; line-height: 1.3; letter-spacing: .13em; font-weight: 700; }
.eyebrow { color: #83a4b4; }
.eyebrow span { color: #4e6b79; margin: 0 4px; }
.brand-name { font-size: 12px; letter-spacing: .16em; font-weight: 800; margin-top: 3px; }
.brand-name span { color: #8da7b4; font-weight: 500; }
.topbar-meta { display: flex; align-items: center; gap: 10px; }
.seed-chip, .version-chip { border: 1px solid var(--line); border-radius: 5px; padding: 7px 9px; color: #9bb0bb; font-size: 9px; letter-spacing: .11em; font-weight: 700; }
.seed-chip i { color: var(--cyan); font-style: normal; padding: 0 3px; }
.version-chip { color: #70cce9; border-color: rgba(72, 189, 233, .24); background: rgba(72, 189, 233, .055); }
.workspace { width: min(1680px, 100%); margin: 0 auto; padding: 20px 24px 18px; display: grid; grid-template-columns: minmax(0, 1fr) 354px; gap: 20px; flex: 1; min-height: 0; }
.main-column { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.exhibit-heading { min-height: 79px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.kicker { color: #78c9e7; margin: 1px 0 7px; }
.kicker-dot, .status-pulse { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #64d5b4; margin-right: 6px; box-shadow: 0 0 9px rgba(100, 213, 180, .7); vertical-align: 1px; }
.kicker-divider { color: #48616e; padding: 0 5px; }
h1 { margin: 0; font-size: clamp(23px, 2.1vw, 31px); line-height: 1.1; letter-spacing: -.04em; font-weight: 700; }
h1 em { color: #a3dff2; font-style: normal; font-weight: 500; }
.subtitle { margin: 7px 0 0; max-width: 790px; color: #91a8b4; font-size: 12px; line-height: 1.5; }
.live-status { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; color: #77d9bd; font-size: 9px; font-weight: 800; letter-spacing: .13em; padding: 8px 10px; border: 1px solid rgba(110, 212, 179, .2); border-radius: 5px; background: rgba(110, 212, 179, .055); margin-top: 18px; }
.live-status.is-paused { color: #d6b27c; border-color: rgba(214, 178, 124, .22); background: rgba(214, 178, 124, .06); }
.live-status.is-paused .status-pulse { background: #d6b27c; box-shadow: none; }
.scene-frame { border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: #09151e; box-shadow: 0 18px 55px rgba(0, 0, 0, .22), inset 0 1px rgba(255,255,255,.025); min-height: 0; }
.scene-topline { height: 38px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(153,190,209,.10); background: rgba(11, 25, 34, .86); position: relative; z-index: 2; }
.scene-tag { color: #d3e6ee; letter-spacing: .12em; }
.scene-tag-icon { color: var(--cyan); font-size: 14px; vertical-align: -1px; margin-right: 6px; }
.scene-tag-muted { color: #607784; margin-left: 4px; }
.scene-badges { display: flex; align-items: center; gap: 6px; }
.scene-badge { color: #7f9ba9; border: 1px solid rgba(153,190,209,.12); padding: 5px 7px; border-radius: 4px; font-size: 8px; letter-spacing: .1em; }
.scene-badge.online { color: #6ed4b3; border-color: rgba(110,212,179,.25); }
.scene-badge.offline { color: #e6a27f; border-color: rgba(230,162,127,.28); }
.scene-container { height: clamp(330px, calc(100vh - 430px), 520px); min-height: 330px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 44%, #102b39 0%, #0a1923 56%, #07121a 100%); }
.scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.scene-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4,13,19,.20), transparent 18%, transparent 82%, rgba(4,13,19,.24)), linear-gradient(0deg, rgba(4,13,19,.46), transparent 25%, transparent 78%, rgba(4,13,19,.14)); z-index: 1; }
.scene-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.scene-label { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; color: #b4c8d2; font-size: 8px; letter-spacing: .12em; font-weight: 800; text-shadow: 0 2px 5px #07121a, 0 0 8px #07121a; transition: opacity .2s; }
.scene-label .label-leader { display: inline-block; width: 19px; height: 1px; background: #86b6ca; box-shadow: 0 0 5px rgba(126,218,255,.45); }
.scene-label.label-ice { color: #a8e8ff; }
.scene-label.label-ice .label-leader { background: #7edaff; }
.scene-label.label-water { color: #72c9f0; }
.scene-label.label-water .label-leader { background: #48bde9; }
.scene-label.label-soil { color: #c2a985; }
.scene-label.label-soil .label-leader { background: #ad8e64; }
.depth-readout { position: absolute; z-index: 3; top: 17px; left: 16px; width: 128px; padding: 10px 11px 9px; border: 1px solid rgba(153,190,209,.15); border-radius: 6px; background: rgba(7,18,26,.62); backdrop-filter: blur(8px); }
.depth-readout-label { display: block; color: #829ba8; font-size: 8px; }
.depth-readout strong { display: block; font-size: 19px; letter-spacing: -.03em; margin: 3px 0 7px; color: #c5efff; font-variant-numeric: tabular-nums; }
.depth-track { height: 3px; border-radius: 4px; background: rgba(126,218,255,.13); overflow: hidden; }
.depth-track span { display: block; width: 5%; height: 100%; background: linear-gradient(90deg, #3b9ac7, #a4eaff); transition: width .3s; }
.depth-readout small { display: block; color: #66818f; font-size: 7px; letter-spacing: .11em; margin-top: 6px; }
.scene-controls-hint { position: absolute; right: 13px; bottom: 11px; color: #6f8793; font-size: 7px; z-index: 3; text-shadow: 0 1px 4px #07121a; }
.scene-controls-hint span { color: #aac4d0; }
.scene-controls-hint i { color: #3f6576; font-style: normal; padding: 0 4px; }
.context-message { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100% - 32px)); padding: 18px; border: 1px solid rgba(230,162,127,.35); border-radius: 8px; background: rgba(19,26,30,.95); color: #f1c4a9; line-height: 1.5; box-shadow: 0 16px 45px rgba(0,0,0,.4); }
.scene-toolbar { height: 40px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; background: #0b1a23; border-top: 1px solid rgba(153,190,209,.09); }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 7px; position: relative; }
.icon-button { width: 25px; height: 25px; border-radius: 5px; border: 1px solid var(--line); background: #10232e; color: #a6c1cd; cursor: pointer; font-size: 14px; display: grid; place-items: center; }
.icon-button:hover { border-color: rgba(126,218,255,.4); color: #d5f5ff; }
.keyboard-help { display: none; position: absolute; left: 62px; top: -5px; transform: translateY(-100%); width: 210px; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 5px; background: #132731; color: #9eb4bf; font-size: 10px; line-height: 1.6; z-index: 5; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.keyboard-help.visible { display: block; }
.keyboard-help b { color: #c6efff; padding: 0 3px; }
.quality-label { color: #627e8c; font-size: 8px; }
.quality-toggle { border: 1px solid rgba(126,218,255,.22); border-radius: 4px; background: rgba(72,189,233,.08); color: #8fdcf6; padding: 5px 8px; font-size: 8px; letter-spacing: .12em; font-weight: 800; cursor: pointer; }
.export-button { height: 26px; border: 1px solid rgba(126,218,255,.26); border-radius: 4px; background: rgba(72,189,233,.11); color: #a4e6fb; padding: 0 10px; font-size: 9px; letter-spacing: .09em; font-weight: 800; cursor: pointer; }
.export-button:hover { background: rgba(72,189,233,.2); }
.export-button:disabled { opacity: .5; cursor: wait; }
.telemetry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.telemetry-card { min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: linear-gradient(145deg, rgba(17,37,49,.88), rgba(10,25,34,.9)); padding: 10px 11px 9px; }
.telemetry-label { display: flex; justify-content: space-between; gap: 5px; color: #89a4b1; font-size: 8px; letter-spacing: .095em; white-space: nowrap; }
.telemetry-label i { color: #607b88; font-size: 7px; font-style: normal; font-weight: 600; }
.telemetry-card strong { display: block; font-size: clamp(17px, 1.65vw, 22px); line-height: 1.2; letter-spacing: -.035em; margin: 5px 0 2px; font-variant-numeric: tabular-nums; color: #e4f4fa; }
.telemetry-note { color: #698391; font-size: 9px; }
.telemetry-card.accent-blue strong { color: #7edaff; }
.telemetry-card.accent-cyan strong { color: #9ce8e6; }
.telemetry-card.accent-amber strong { color: #e1c18d; }
.secondary-telemetry { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: #718b98; font-size: 8px; letter-spacing: .09em; font-weight: 700; padding: 0 2px; }
.secondary-telemetry strong { color: #b7cbd4; font-size: 10px; margin-left: 4px; font-variant-numeric: tabular-nums; }
.water-state { margin-left: auto; color: #6ed4b3; }
.water-state.warning { color: #e4aa83; }
.front-state { color: #6f9db0; }
.control-panel { align-self: stretch; min-width: 0; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(180deg, rgba(15,32,43,.98), rgba(10,24,33,.98)); padding: 16px 15px 13px; display: flex; flex-direction: column; gap: 13px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #294351 transparent; }
.control-panel::-webkit-scrollbar { width: 5px; }
.control-panel::-webkit-scrollbar-thumb { background: #294351; border-radius: 5px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.panel-heading .kicker { font-size: 8px; margin: 0 0 5px; color: #6faec5; }
h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.panel-index { color: #6e8793; font-size: 9px; }
.panel-index i { color: #3d5967; font-style: normal; }
.section-label { display: flex; justify-content: space-between; align-items: center; color: #819aa6; font-size: 8px; letter-spacing: .12em; margin-bottom: 8px; }
.section-label span { color: #597581; font-size: 7px; letter-spacing: .1em; }
.preset-section { padding-bottom: 1px; }
.preset-list { display: grid; gap: 5px; }
.preset-button { display: grid; grid-template-columns: 20px minmax(0, 1fr) 12px; gap: 8px; align-items: center; text-align: left; width: 100%; padding: 7px 8px; border: 1px solid rgba(153,190,209,.11); border-radius: 6px; background: rgba(7,18,26,.24); cursor: pointer; transition: border-color .15s, background .15s; }
.preset-button:hover { border-color: rgba(126,218,255,.32); }
.preset-button.active { border-color: rgba(126,218,255,.38); background: rgba(72,189,233,.075); }
.preset-swatch { width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(255,255,255,.12); }
.preset-swatch.silt { background: linear-gradient(135deg, #b3e9f7 0 28%, #725a42 29% 100%); }
.preset-swatch.dry { background: linear-gradient(135deg, #d0ae75 0 28%, #866e4d 29% 100%); }
.preset-swatch.loaded { background: linear-gradient(135deg, #82a8ba 0 28%, #4b4b45 29% 100%); }
.preset-button b { display: block; font-size: 10px; color: #d7e6ec; font-weight: 650; }
.preset-button small { display: block; font-size: 8px; color: #6f8996; margin-top: 2px; }
.preset-arrow { color: #5d8293; font-size: 11px; }
.parameter-section { padding-top: 1px; }
.control-row { margin: 0 0 10px; }
.control-row label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; color: #a7bdc7; font-size: 10px; }
.control-row output { color: #d5f2fb; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type="range"] { display: block; width: 100%; height: 14px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #397f9d, #284653); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #397f9d, #284653); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; border-radius: 50%; margin-top: -4.5px; border: 2px solid #c8f1ff; background: #398fb6; box-shadow: 0 0 0 3px rgba(72,189,233,.13), 0 0 9px rgba(72,189,233,.25); }
input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; border: 2px solid #c8f1ff; background: #398fb6; box-shadow: 0 0 0 3px rgba(72,189,233,.13); }
.range-ends { display: flex; justify-content: space-between; color: #526d7a; font-size: 8px; margin-top: 1px; }
.speed-section { border-top: 1px solid var(--line); padding-top: 10px; }
.speed-section .control-row { margin-bottom: 5px; }
.time-note { color: #67818e; font-size: 8px; line-height: 1.45; }
.run-controls { display: grid; grid-template-columns: 1fr 1fr 34px; gap: 6px; }
.run-controls button { height: 34px; border-radius: 5px; cursor: pointer; font-size: 9px; letter-spacing: .08em; font-weight: 800; }
.primary-button { border: 1px solid rgba(126,218,255,.4); background: linear-gradient(120deg, #226989, #17445d); color: #e2f8ff; display: flex; align-items: center; justify-content: center; gap: 8px; }
.primary-button:hover { filter: brightness(1.15); }
.button-icon { font-size: 12px; }
.secondary-button { border: 1px solid rgba(153,190,209,.19); background: #132832; color: #aac4ce; }
.secondary-button:hover, .reset-button:hover { border-color: rgba(126,218,255,.4); color: #e0f8ff; }
.reset-button { border: 1px solid rgba(153,190,209,.19); background: #132832; color: #a5bdc8; font-size: 18px !important; }
.event-note { border-left: 2px solid #4ba5c6; padding: 5px 8px; background: rgba(72,189,233,.055); color: #819ba7; font-size: 9px; line-height: 1.5; min-height: 32px; }
.science-validation { border: 1px solid rgba(126,218,255,.17); border-radius: 6px; padding: 9px 9px 8px; background: rgba(72,189,233,.035); }
.science-validation .section-label { margin-bottom: 8px; }
.validation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.validation-grid small { display: block; color: #617f8c; font-size: 7px; letter-spacing: .1em; margin-bottom: 3px; }
.validation-grid strong { font-size: 12px; font-variant-numeric: tabular-nums; color: #c7e7f2; }
.validation-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(153,190,209,.10); margin-top: 7px; padding-top: 7px; color: #708b97; font-size: 8px; }
.validation-footer b { color: #6ed4b3; font-size: 9px; font-variant-numeric: tabular-nums; }
.validation-horizon { color: #5c7785; font-size: 7px; margin-top: 5px; }
.science-section { border-top: 1px solid var(--line); padding-top: 2px; }
.science-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 7px 0 2px; border: 0; background: transparent; color: #d2e5ed; cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.science-toggle > span:first-child { display: flex; align-items: center; gap: 8px; }
.science-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgba(126,218,255,.22); border-radius: 5px; color: #8fdcf5; font-size: 13px; }
.chevron { color: #80a0ae; font-size: 16px; font-weight: 400; }
.science-panel { padding: 10px 0 2px; }
.science-panel[hidden] { display: none; }
.equation-block { padding: 9px 0; border-top: 1px solid rgba(153,190,209,.09); }
.equation-label { color: #6796aa; font-size: 7px; }
.equation { font-family: Georgia, "Times New Roman", serif; font-size: 17px; color: #c8e8f4; margin: 5px 0; letter-spacing: .01em; }
.equation span { border-bottom: 1px solid rgba(126,218,255,.4); padding-bottom: 1px; }
.equation-block p { margin: 0; color: #829ba7; font-size: 9px; line-height: 1.55; }
.science-facts { display: grid; gap: 8px; padding: 9px; border-radius: 5px; background: rgba(7,18,26,.35); }
.science-facts b { display: block; color: #7c9eac; font-size: 7px; letter-spacing: .1em; margin-bottom: 3px; }
.science-facts span { display: block; color: #8099a5; font-size: 8px; line-height: 1.5; }
.panel-footnote { color: #4f6976; font-size: 7px; letter-spacing: .09em; margin-top: auto; padding-top: 2px; }
.panel-footnote span { color: #314b58; padding: 0 3px; }
.footer-note { display: flex; justify-content: space-between; align-items: center; width: min(1680px, 100%); margin: 0 auto; padding: 0 24px 13px; color: #506b78; font-size: 8px; letter-spacing: .07em; font-weight: 500; }
.footer-note i { font-style: normal; color: #315061; padding: 0 4px; }
.embed-mode .topbar, .embed-mode .footer-note { display: none; }
.embed-mode .workspace { padding: 8px; grid-template-columns: minmax(0, 1fr) 330px; min-height: 100vh; }
.embed-mode .control-panel { max-height: calc(100vh - 16px); }
.embed-mode .exhibit-heading { min-height: 70px; }

@media (max-width: 1120px) {
  .workspace { grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; padding: 16px; }
  .control-panel { padding: 13px 12px; }
  .scene-container { height: clamp(360px, calc(100vh - 400px), 510px); }
  .telemetry-label { font-size: 7px; }
  .telemetry-label i { font-size: 6px; }
}
@media (max-width: 900px) {
  .workspace { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .control-panel { max-height: none; overflow: visible; }
  .scene-container { height: min(58vw, 520px); min-height: 360px; }
  .telemetry-card strong { font-size: 21px; }
  .control-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 14px 18px; }
  .panel-heading, .preset-section, .parameter-section, .speed-section, .run-controls, .event-note, .science-validation, .science-section, .panel-footnote { grid-column: 1 / -1; }
  .parameter-section { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .parameter-section > .section-label { grid-column: 1 / -1; }
  .speed-section { max-width: 480px; }
}
@media (max-width: 560px) {
  .topbar { height: 54px; flex-basis: 54px; padding: 0 13px; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-name { font-size: 10px; }
  .eyebrow { font-size: 7px; }
  .topbar-meta { gap: 5px; }
  .seed-chip, .version-chip { padding: 6px 6px; font-size: 7px; letter-spacing: .07em; }
  .version-chip { display: none; }
  .workspace { padding: 12px 10px 16px; gap: 13px; }
  .exhibit-heading { min-height: 0; gap: 7px; }
  h1 { font-size: 23px; line-height: 1.08; max-width: 320px; }
  .subtitle { font-size: 10px; max-width: 350px; line-height: 1.45; }
  .kicker { font-size: 8px; margin-bottom: 6px; }
  .live-status { margin-top: 4px; padding: 6px 7px; font-size: 7px; }
  .scene-frame { border-radius: 8px; }
  .scene-topline { height: 34px; padding: 0 8px; }
  .scene-tag { font-size: 7px; }
  .scene-tag-muted { display: none; }
  .scene-badges { gap: 3px; }
  .scene-badge { font-size: 6px; padding: 4px 5px; letter-spacing: .05em; }
  .scene-container { height: 47svh; min-height: 320px; max-height: 430px; }
  .depth-readout { top: 9px; left: 8px; width: 106px; padding: 7px 8px; }
  .depth-readout strong { font-size: 16px; }
  .depth-readout-label { font-size: 7px; }
  .depth-readout small { font-size: 6px; }
  .scene-label { font-size: 6px; gap: 4px; letter-spacing: .07em; }
  .scene-label .label-leader { width: 10px; }
  .scene-controls-hint { font-size: 6px; right: 7px; bottom: 7px; }
  .scene-toolbar { height: 36px; padding: 0 7px; }
  .export-button { padding: 0 7px; font-size: 7px; }
  .quality-label { font-size: 7px; }
  .telemetry-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .telemetry-card { padding: 8px; }
  .telemetry-label { font-size: 7px; letter-spacing: .06em; }
  .telemetry-label i { font-size: 6px; }
  .telemetry-card strong { font-size: 20px; margin-top: 4px; }
  .telemetry-note { font-size: 8px; }
  .secondary-telemetry { gap: 8px 12px; font-size: 7px; }
  .water-state { margin-left: 0; }
  .control-panel { display: flex; padding: 13px 12px; gap: 13px; }
  .panel-heading { padding-bottom: 9px; }
  h2 { font-size: 16px; }
  .parameter-section { display: block; }
  .control-row { margin-bottom: 12px; }
  .control-row label { font-size: 10px; }
  .preset-button { padding: 8px; }
  .preset-button b { font-size: 10px; }
  .preset-button small { font-size: 8px; }
  .footer-note { display: block; padding: 0 12px 12px; font-size: 7px; line-height: 1.6; }
  .footer-note span:last-child { display: block; margin-top: 3px; }
  .embed-mode .workspace { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ms-fix-045: single column in narrow embed frames */
@media (max-width: 900px){.embed-mode .workspace{grid-template-columns:minmax(0,1fr)}}
