:root {
  color-scheme: dark;
  --bg: #10171d;
  --panel: rgba(18, 27, 34, .93);
  --panel-solid: #141e25;
  --line: rgba(197, 213, 220, .13);
  --line-strong: rgba(197, 213, 220, .22);
  --text: #e9e6de;
  --muted: #9ca8aa;
  --dim: #68787d;
  --sand: #d4a36d;
  --sand-light: #edc28c;
  --teal: #78b6ad;
  --orange: #d58b54;
  --radius: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); }
body { min-width: 320px; }
button, input, select { font: inherit; }
button { color: inherit; }
.app-shell { height: 100%; display: flex; flex-direction: column; background: radial-gradient(ellipse at 48% 40%, #1a252c 0%, #10171d 68%); }
.topbar { height: 58px; flex: 0 0 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); background: rgba(12, 18, 23, .96); z-index: 20; }
.brand-lockup { display: flex; align-items: center; gap: 11px; min-width: 250px; }
.brand-mark { width: 27px; height: 27px; border: 1px solid rgba(212,163,109,.5); border-radius: 7px; position: relative; transform: rotate(-8deg); }
.brand-mark span { position: absolute; height: 1px; background: var(--sand); left: 5px; right: 5px; transform: rotate(-22deg); }
.brand-mark span:nth-child(1) { top: 8px; }.brand-mark span:nth-child(2) { top: 13px; left: 7px; }.brand-mark span:nth-child(3) { top: 18px; left: 9px; right: 7px; }
.eyebrow, .panel-eyebrow, .scene-kicker { color: #a8b3b3; font-size: 9px; letter-spacing: .17em; font-weight: 700; }
.brand-title { margin-top: 2px; font-size: 11px; letter-spacing: .13em; font-weight: 800; }.brand-title span { color: var(--sand); }
.topbar-center { color: #9aa8aa; font-size: 9px; letter-spacing: .13em; font-weight: 700; }.topic-dot, .tiny-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 7px; box-shadow: 0 0 9px rgba(120,182,173,.5); }.topbar-sep { color: var(--sand); padding: 0 8px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }.seed-label { color: #718187; font-size: 9px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }.status { color: #d1a06d; font-size: 9px; letter-spacing: .1em; border: 1px solid rgba(213,139,84,.28); border-radius: 20px; padding: 6px 9px; white-space: nowrap; }.status.live { color: #8bc5b8; border-color: rgba(120,182,173,.32); }
.workspace { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.stage { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 52% 43%, #3b4a4e 0%, #202d32 48%, #111a20 100%); }
#scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
.stage-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10,16,20,.23), transparent 32%, transparent 70%, rgba(10,16,20,.18)), linear-gradient(0deg, rgba(8,13,17,.44), transparent 25%, transparent 78%, rgba(8,13,17,.3)); }
.scene-heading { position: absolute; z-index: 2; left: 342px; top: 30px; pointer-events: none; text-shadow: 0 2px 16px rgba(0,0,0,.35); }.scene-kicker { color: #d3b18a; }.scene-heading h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3vw, 45px); font-weight: 400; letter-spacing: -.035em; margin: 8px 0 0; }.scene-heading h1 span { color: var(--sand-light); }.scene-heading p { margin: 3px 0 0; color: #b7c0bc; font-family: Georgia, serif; font-size: 15px; font-style: italic; }
.scene-coordinates { position: absolute; z-index: 2; right: 274px; top: 33px; display: flex; flex-direction: column; gap: 4px; text-align: right; pointer-events: none; }.scene-coordinates span { font-size: 8px; color: #a2aeae; letter-spacing: .14em; }.scene-coordinates b { font-size: 13px; font-weight: 500; letter-spacing: .04em; }.scene-coordinates i { width: 32px; height: 1px; background: var(--sand); margin: 5px 0 3px auto; }
.annotation { position: absolute; z-index: 3; display: none; color: #f0d4ac; font-size: 8px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; pointer-events: none; text-shadow: 0 1px 7px #10171d; }.annotation-line { display: block; width: 28px; height: 1px; background: var(--sand); margin-bottom: 5px; box-shadow: 0 0 8px rgba(212,163,109,.4); }
.wind-direction { position: absolute; z-index: 2; left: 345px; bottom: 87px; display: flex; gap: 8px; align-items: center; color: rgba(230,202,164,.72); font-size: 8px; letter-spacing: .16em; pointer-events: none; }.wind-arrow { font-size: 24px; font-weight: 200; line-height: 1; }
.stage-bottom-left, .stage-bottom-right { position: absolute; z-index: 2; bottom: 19px; display: flex; align-items: center; gap: 7px; color: #aab5b3; font-size: 8px; letter-spacing: .1em; pointer-events: none; }.stage-bottom-left { left: 342px; }.stage-bottom-right { right: 275px; }.scale-bar { width: 43px; display: flex; height: 6px; border: 1px solid rgba(225,225,212,.65); }.scale-bar i { flex: 1; border-right: 1px solid rgba(225,225,212,.65); }.scale-bar i:nth-child(2) { background: rgba(225,225,212,.6); }.scale-bar i:last-child { border: 0; }.scale-note { margin-left: 9px; color: #819092; }.orbit-hint { color: #819092; }
.context-message { position: absolute; z-index: 10; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #171f25; border: 1px solid #8d6a48; padding: 14px 18px; max-width: 360px; font-size: 12px; line-height: 1.5; border-radius: 8px; box-shadow: 0 12px 40px #0008; }
.panel { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 14px 44px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.025); backdrop-filter: blur(16px); }
.controls-panel, .data-panel { position: absolute; z-index: 5; top: 14px; bottom: 82px; width: 286px; overflow: auto; scrollbar-width: thin; scrollbar-color: #48565a transparent; }.controls-panel { left: 14px; padding: 17px 16px 12px; }.data-panel { right: 14px; width: 244px; padding: 17px 15px 12px; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }.panel-header h2 { font-family: Georgia, serif; font-weight: 400; font-size: 19px; margin: 4px 0 0; letter-spacing: -.02em; }.panel-index { font-size: 9px; color: #718187; border: 1px solid var(--line); border-radius: 5px; padding: 4px 6px; }.panel-eyebrow { font-size: 8px; color: #8fa0a1; }
.input-qualifier, .readout-qualifier { color: #74868a; font-size: 7px; letter-spacing: .11em; margin: -5px 0 10px; }.readout-qualifier { margin: -6px 0 7px; }
.preset-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }.preset-button { border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 6px; padding: 7px 3px 6px; color: #aeb9b7; font-size: 9px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }.preset-button:hover, .preset-button:focus-visible { border-color: rgba(212,163,109,.6); color: var(--text); outline: none; }.preset-button.active { border-color: rgba(212,163,109,.58); background: rgba(212,163,109,.11); color: #f0c795; }.preset-icon { display: block; font-size: 14px; line-height: 1; margin-bottom: 4px; }.gust-icon { color: #dca66e; }.fine-icon { color: #d4c09e; }.damp-icon { color: #80b9b1; }.preset-note { color: #879698; font-size: 9px; line-height: 1.45; min-height: 27px; margin: 8px 0 11px; }
.control-group { padding: 10px 0 8px; border-top: 1px solid rgba(197,213,220,.08); }.control-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }.control-label label { color: #d6d9d2; font-size: 11px; font-weight: 600; }.control-label output { color: var(--sand-light); font-size: 10px; font-variant-numeric: tabular-nums; }.control-group input[type=range] { display: block; width: 100%; margin: 10px 0 4px; height: 3px; accent-color: var(--sand); cursor: pointer; }.range-ends { display: flex; justify-content: space-between; color: #6f8083; font-size: 8px; }.control-group small { display: block; margin-top: 5px; color: #6f8083; font-size: 8px; }.compact-group { padding-top: 8px; padding-bottom: 7px; }.compact-group input[type=range] { margin-top: 8px; }
.panel-footer { display: flex; align-items: center; padding-top: 11px; border-top: 1px solid var(--line); color: #748488; font-size: 8px; letter-spacing: .05em; }.footer-divider { margin: 0 7px; color: #46575d; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }.metric { min-width: 0; padding: 10px 0 9px; border-top: 1px solid rgba(197,213,220,.08); }.metric span { display: block; color: #829194; font-size: 8px; letter-spacing: .1em; line-height: 1.35; }.metric strong { display: block; margin-top: 5px; font-size: 19px; font-weight: 500; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }.metric strong small { font-size: 9px; color: #a2aeaa; font-weight: 400; letter-spacing: 0; }.metric-wide { grid-column: 1 / -1; }.metric em { color: #d3a06d; font-style: normal; font-size: 7px; border: 1px solid rgba(211,160,109,.25); border-radius: 3px; padding: 2px 3px; margin-left: 3px; }.retreat-track { height: 2px; background: rgba(255,255,255,.08); margin-top: 8px; overflow: hidden; }.retreat-track i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, #9c744f, #e4b77c); transition: width .3s; }
.validation-card { border: 1px solid rgba(120,182,173,.2); background: rgba(120,182,173,.045); border-radius: 7px; padding: 10px; margin-top: 9px; }.validation-heading { display: flex; align-items: center; gap: 6px; color: #8bbab1; font-size: 8px; letter-spacing: .1em; font-weight: 800; }.validation-heading b { margin-left: auto; color: #d6b083; font-size: 7px; font-weight: 600; border: 1px solid rgba(212,163,109,.25); border-radius: 3px; padding: 2px 4px; }.validation-check { font-size: 12px; }.validation-title { font-family: Georgia, serif; font-size: 12px; margin: 8px 0 9px; color: #e3e4dc; }.validation-values { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }.validation-values small { display: block; color: #7e9291; font-size: 7px; letter-spacing: .08em; }.validation-values strong { display: block; margin-top: 3px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }.validation-difference { display: flex; justify-content: space-between; margin-top: 9px; padding-top: 7px; border-top: 1px solid rgba(120,182,173,.13); color: #9aaba7; font-size: 8px; }.validation-difference strong { color: #a4d1c2; font-size: 10px; }.validation-caption { margin: 6px 0 0; color: #6f8382; font-size: 7px; line-height: 1.4; }.data-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; color: #738488; font-size: 8px; letter-spacing: .06em; }.data-foot b { color: #c4c9c0; font-weight: 500; margin-left: 4px; }
.transport { position: absolute; z-index: 7; bottom: 14px; left: 50%; transform: translateX(-50%); min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 7px 10px; width: min(760px, calc(100% - 600px)); min-width: 500px; }.transport-main, .transport-tools { display: flex; align-items: center; gap: 7px; }.play-button { background: #d2a06b; color: #1c201f; border: 0; border-radius: 6px; padding: 9px 13px; font-size: 10px; font-weight: 800; cursor: pointer; min-width: 83px; }.play-button:hover { background: #e4b77f; }.icon-button { width: 32px; height: 32px; border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 6px; color: #b6c1bd; cursor: pointer; }.icon-button:hover, .tool-button:hover { border-color: rgba(212,163,109,.55); color: var(--sand-light); }.transport-divider { width: 1px; height: 27px; background: var(--line); margin: 0 4px; }.speed-control { display: grid; grid-template-columns: auto 90px auto; align-items: center; gap: 7px; }.speed-control label, .quality-label { color: #809092; font-size: 7px; letter-spacing: .12em; }.speed-control input { width: 90px; accent-color: var(--sand); }.speed-control output { color: var(--sand-light); font-size: 9px; min-width: 34px; }.tool-button { display: flex; align-items: center; gap: 5px; background: transparent; border: 1px solid transparent; border-radius: 5px; padding: 7px 6px; color: #a2b0ad; font-size: 9px; cursor: pointer; }.tool-button span { color: var(--sand); font-size: 14px; }.quality-label { margin-left: 3px; }.transport select { background: #1b272d; color: #d6d7cf; border: 1px solid var(--line); border-radius: 4px; padding: 5px 16px 5px 6px; font-size: 9px; }
.science-panel { position: absolute; z-index: 6; right: 14px; bottom: 14px; width: 244px; max-height: 36px; overflow: hidden; transition: max-height .28s ease; }.science-panel[open] { max-height: min(610px, calc(100% - 110px)); overflow-y: auto; }.science-panel summary { min-height: 35px; display: flex; align-items: center; gap: 9px; padding: 7px 10px; cursor: pointer; list-style: none; }.science-panel summary::-webkit-details-marker { display: none; }.science-symbol { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid rgba(212,163,109,.35); color: var(--sand); border-radius: 5px; font-family: Georgia, serif; font-size: 15px; }.science-panel summary b { display: block; font-size: 8px; letter-spacing: .12em; }.science-panel summary small { display: block; color: #7f8d8e; font-size: 7px; margin-top: 2px; }.summary-chevron { margin-left: auto; color: #a6b0ab; font-size: 15px; }.science-panel[open] .summary-chevron { transform: rotate(180deg); }.science-content { padding: 0 12px 13px; border-top: 1px solid var(--line); }.science-content section { padding-top: 12px; }.science-content h3 { color: #d9b387; font-size: 9px; letter-spacing: .1em; margin: 0 0 6px; }.science-content p { color: #a7b2ad; font-size: 9px; line-height: 1.5; margin: 5px 0; }.equation { padding: 8px 7px; margin: 7px 0; border-left: 2px solid rgba(212,163,109,.6); background: rgba(212,163,109,.055); color: #ead1ad; font-family: Georgia, serif; font-size: 12px; line-height: 1.5; }.equation-note { color: #718183 !important; font-size: 8px !important; }.science-content ul { padding-left: 15px; margin: 7px 0; color: #a7b2ad; font-size: 8px; line-height: 1.55; }.science-content li { margin-bottom: 3px; }.legend-row { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; color: #839091; font-size: 7px; letter-spacing: .04em; }.legend-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; }.textbook { background: var(--teal); }.illustrative { background: var(--sand); }.scaled { background: var(--orange); }
.motion-note { position: absolute; z-index: 8; bottom: 76px; left: 50%; transform: translateX(-50%); color: #d7bd97; background: #1a252b; border: 1px solid var(--line); border-radius: 5px; padding: 7px 10px; font-size: 9px; white-space: nowrap; }
.app-footer { flex: 0 0 23px; height: 23px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-top: 1px solid var(--line); color: #647378; font-size: 7px; letter-spacing: .1em; background: #0d1419; }
.embed-mode .topbar, .embed-mode .app-footer { display: none; }.embed-mode .workspace { height: 100%; }.embed-mode .controls-panel { left: 10px; top: 10px; bottom: 72px; }.embed-mode .data-panel { right: 10px; top: 10px; bottom: 72px; }.embed-mode .science-panel { bottom: 72px; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #e2b77e; outline-offset: 3px; }
@media (max-width: 1120px) { .controls-panel { width: 258px; }.data-panel { width: 220px; }.scene-heading, .stage-bottom-left, .wind-direction { left: 292px; }.scene-coordinates, .stage-bottom-right { right: 238px; }.transport { width: min(680px, calc(100% - 520px)); min-width: 440px; }.speed-control { grid-template-columns: auto 66px auto; }.speed-control input { width: 66px; } }
@media (max-width: 860px) { .topbar-center { display: none; }.controls-panel { width: 238px; }.data-panel { width: 205px; }.scene-heading, .stage-bottom-left, .wind-direction { left: 268px; }.scene-coordinates, .stage-bottom-right { right: 220px; }.transport { left: 50%; width: calc(100% - 500px); min-width: 240px; justify-content: center; }.transport-tools { display: none; }.transport-main { gap: 5px; }.speed-control { grid-template-columns: auto 52px auto; }.speed-control input { width: 52px; }.science-panel { display: block; top: 100px; bottom: auto; left: 10px; right: 10px; width: auto; max-height: 36px; } .science-panel[open] { max-height: min(38vh, 320px); } }
@media (max-width: 640px) {
  .topbar { height: 50px; flex-basis: 50px; padding: 0 12px; }.brand-lockup { min-width: 0; }.brand-mark { width: 24px; height: 24px; }.brand-title { font-size: 10px; }.eyebrow { font-size: 8px; }.seed-label { display: none; }.status { font-size: 7px; padding: 5px 7px; }
  .workspace { overflow: hidden; }.stage { inset: 0; }.scene-heading { left: 16px; top: 13px; }.scene-heading h1 { font-size: 29px; }.scene-heading p { font-size: 12px; }.scene-kicker { font-size: 7px; }.scene-coordinates { top: 18px; right: 15px; }.scene-coordinates span { font-size: 6px; }.scene-coordinates b { font-size: 10px; }.annotation { font-size: 6px; }.wind-direction { left: 15px; bottom: 138px; font-size: 7px; }.stage-bottom-left { left: 14px; bottom: 104px; }.stage-bottom-right { display: none; }.scale-note { display: none; }
  .controls-panel { left: 10px; top: auto; bottom: 160px; width: calc(100% - 20px); max-height: 172px; padding: 10px 12px; overflow-x: auto; overflow-y: auto; }.panel-header { margin-bottom: 8px; }.panel-header h2 { font-size: 16px; }.panel-eyebrow { font-size: 7px; }.panel-index { display: none; }.preset-row { grid-template-columns: repeat(3, minmax(78px, 1fr)); }.preset-button { padding: 5px 2px; font-size: 8px; }.preset-icon { font-size: 11px; margin-bottom: 2px; }.preset-note { display: none; }.control-group { display: inline-block; vertical-align: top; width: 48%; padding: 8px 7px 6px 0; }.control-label label { font-size: 9px; }.control-label output { font-size: 8px; }.range-ends { font-size: 7px; }.control-group small { display: none; }.panel-footer { display: none; }.input-qualifier { margin: -3px 0 7px; }.readout-qualifier { display: none; }.compact-group { padding-top: 7px; }
  .data-panel { top: auto; bottom: 10px; left: 10px; right: 10px; width: auto; padding: 8px 11px; max-height: 82px; overflow: hidden; }.data-panel .panel-header { display: none; }.data-grid { grid-template-columns: repeat(3, 1fr); gap: 0 8px; }.metric { padding: 4px 0; border: 0; }.metric span { font-size: 6px; letter-spacing: .05em; }.metric strong { font-size: 13px; margin-top: 2px; }.metric strong small { font-size: 7px; }.metric-wide { grid-column: auto; }.metric-wide:nth-of-type(5), .metric-wide:nth-of-type(6) { display: none; }.validation-card { display: none; }.data-foot { display: none; }
  .transport { left: 10px; right: 10px; bottom: 120px; transform: none; width: auto; min-width: 0; min-height: 36px; padding: 4px 7px; justify-content: space-between; }.transport-main { width: 100%; justify-content: space-between; }.play-button { min-width: 72px; padding: 7px 8px; font-size: 9px; }.icon-button { width: 28px; height: 28px; }.transport-divider { margin: 0 2px; }.speed-control { grid-template-columns: auto minmax(55px, 1fr) auto; flex: 1; gap: 5px; }.speed-control label { font-size: 6px; }.speed-control input { width: 100%; }.speed-control output { font-size: 8px; }.science-panel { display: block; top: 102px; bottom: auto; left: 10px; right: 10px; width: auto; max-height: 36px; }.science-panel[open] { max-height: min(38vh, 320px); }.motion-note { bottom: 205px; font-size: 7px; }.app-footer { height: 18px; flex-basis: 18px; padding: 0 8px; font-size: 5px; }.app-footer span:last-child { display: none; }
}
@media (max-width: 380px) { .controls-panel { bottom: 154px; max-height: 166px; }.transport { bottom: 112px; }.data-panel { bottom: 8px; }.control-group { width: 100%; }.data-panel { max-height: 76px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
