*{box-sizing:border-box}
:root{color-scheme:dark;--bg:#0a1118;--panel:#101b25;--panel2:#13212c;--line:#263743;--muted:#8fa1ac;--text:#e7eef1;--soft:#b8c5ca;--accent:#6ee7d8;--accent-dim:rgba(110,231,216,.13);--accent-line:rgba(110,231,216,.42);--danger:#c7a7a7}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{overflow-x:hidden}
body.embed-mode{height:100vh;height:100dvh;overflow:hidden}
button,input,select{font:inherit}
button{cursor:pointer}
.app-shell{max-width:1600px;margin:0 auto;padding:0 26px 28px}
body.embed-mode .app-shell{height:100%;overflow:auto}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0 17px;border-bottom:1px solid var(--line)}
.eyebrow{font-size:9px;letter-spacing:.17em;font-weight:800;color:var(--muted)}
.eyebrow-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin:0 7px 1px 0}
.eyebrow-sep{padding:0 7px;color:#4c606d}
h1{font-size:clamp(23px,2.5vw,34px);letter-spacing:-.045em;line-height:1.08;margin:8px 0 5px;font-weight:680}
.dek{font-size:13px;color:var(--muted);margin:0}
.masthead-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.mode-label{font-size:9px;letter-spacing:.13em;color:var(--muted);font-weight:800}
.quiet-button{border:1px solid var(--accent-line);background:var(--accent-dim);color:var(--accent);font-size:10px;letter-spacing:.12em;font-weight:800;padding:8px 12px;border-radius:5px;min-width:58px}
.workspace{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(330px,.9fr);gap:16px;padding-top:16px;align-items:stretch}
.visual-column,.control-panel{min-width:0}
.stage-topline,.card-topline{height:27px;display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.15em;font-weight:800;color:var(--muted)}
.stage-live{color:#b8c9ce;display:flex;align-items:center;gap:7px}
.stage-live i{width:6px;height:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 10px var(--accent)}
.visual-stage{height:390px;position:relative;overflow:hidden;border:1px solid #243744;border-radius:9px;background:#0d1720}
#scene{display:block;width:100%;height:100%;cursor:grab;touch-action:pan-y}#scene:active{cursor:grabbing}
.scene-caption{position:absolute;left:17px;bottom:14px;max-width:min(430px,66%);padding:10px 12px;background:rgba(8,16,23,.88);border:1px solid rgba(110,231,216,.18);border-radius:6px;backdrop-filter:blur(8px)}
.caption-index{font-size:8px;letter-spacing:.16em;color:var(--accent);font-weight:800}
.scene-caption p{font-size:11px;line-height:1.45;color:#d5e0e3;margin:4px 0 0}
.scene-scale{position:absolute;left:13px;top:11px;right:auto;bottom:auto;font-size:8px;letter-spacing:.12em;color:#80939e}
.scene-legend{display:flex;align-items:center;gap:18px;padding:10px 2px 0;color:var(--muted);font-size:9px}
.scene-legend span{display:flex;align-items:center;gap:6px}
.legend-dot{width:6px;height:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 7px var(--accent)}
.legend-line{width:16px;height:1px;background:var(--accent)}
.legend-mark{width:9px;height:9px;border:1px solid #a6b6bd;position:relative}
.legend-mark:after{content:"";position:absolute;width:1px;height:9px;background:#a6b6bd;left:3px;top:-1px}
.control-panel{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:16px 17px 12px}
.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.panel-heading h2,.section-heading h2,.history-copy h2{font-size:18px;letter-spacing:-.035em;margin:4px 0 0;font-weight:650}
.panel-number{font-size:26px;font-weight:300;color:#425762;letter-spacing:-.06em}
.field-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#d5e0e3;margin-bottom:6px}
.field-kind{font-size:8px;letter-spacing:.11em;color:#81949f;font-weight:800}
select{width:100%;background:#0b151e;border:1px solid #2b3e4b;border-radius:5px;color:var(--text);padding:8px 10px;font-size:11px;outline:none}
select:focus,input:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.control-list{display:grid;grid-template-columns:1fr 1fr;column-gap:18px;row-gap:9px;margin-top:13px}
.control-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:4px}
.control-head label{font-size:10px;color:#cbd7dc}
.control-head output{font-size:10px;color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap}
input[type=range]{appearance:none;width:100%;height:15px;background:transparent;margin:0;display:block;cursor:pointer}
input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:#344955}
input[type=range]::-moz-range-track{height:3px;border-radius:4px;background:#344955}
input[type=range]::-webkit-slider-thumb{appearance:none;width:11px;height:11px;border-radius:50%;background:var(--accent);margin-top:-4px;border:2px solid #0d1820;box-shadow:0 0 0 1px var(--accent-line)}
input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:var(--accent);border:2px solid #0d1820;box-shadow:0 0 0 1px var(--accent-line)}
.range-ends{display:flex;justify-content:space-between;font-size:8px;color:#71838e;margin-top:-1px}
.provenance-note{font-size:8px;line-height:1.45;color:#778b96;margin:10px 0 -3px}
.run-actions{display:grid;grid-template-columns:1.2fr 1fr;gap:8px;margin-top:14px}
.primary-button,.secondary-button,.transport-button{border-radius:5px;font-size:10px;font-weight:750;letter-spacing:.02em;padding:10px 11px}
.primary-button{background:var(--accent);color:#071418;border:1px solid var(--accent)}
.primary-button span{font-size:13px;margin-left:5px}
.secondary-button{background:var(--accent-dim);color:var(--accent);border:1px solid var(--accent-line)}
.transport-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:7px}
.transport-button{background:#0c161f;border:1px solid #2a3c48;color:#aebdc4;padding:7px}
.transport-button:hover,.secondary-button:hover,.quiet-button:hover{border-color:var(--accent);color:var(--accent)}
.run-status{min-height:14px;margin:9px 0 0;color:#82949e;font-size:9px;line-height:1.35}
.readout-strip{display:grid;grid-template-columns:repeat(4,1fr);margin-top:13px;border:1px solid var(--line);border-radius:8px;background:#0e1821;overflow:hidden}
.readout{padding:12px 15px;border-right:1px solid var(--line);min-width:0}
.readout:last-child{border-right:0}
.readout-label{display:flex;align-items:center;gap:6px;font-size:8px;letter-spacing:.11em;color:var(--muted);font-weight:800;white-space:nowrap}
.readout-label b{font-size:7px;letter-spacing:.08em;color:var(--accent);font-weight:800}
.readout strong{display:block;font-size:24px;letter-spacing:-.055em;font-weight:620;margin:7px 0 1px;font-variant-numeric:tabular-nums}
.readout small{font-size:9px;color:#82949e}
.analysis-section,.checks-section{padding-top:25px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}
.section-heading>p{max-width:390px;margin:0;color:var(--muted);font-size:10px;line-height:1.5}
.analysis-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px}
.chart-card,.table-card,.check-card{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:12px 14px;min-width:0}
.chart-card #ladder{display:block;width:100%;height:156px}
.chart-axis-note{display:flex;justify-content:space-between;font-size:8px;color:#7f929d}
.table-scroll{overflow:auto;max-height:180px}
table{border-collapse:collapse;width:100%;font-size:9px;font-variant-numeric:tabular-nums}
th{text-align:right;color:#81939d;font-size:8px;letter-spacing:.08em;font-weight:800;padding:8px 5px;border-bottom:1px solid #2a3c47;white-space:nowrap}
th:first-child,td:first-child{text-align:left}
td{text-align:right;padding:8px 5px;border-bottom:1px solid rgba(42,60,71,.7);color:#d4dfe3}
td:last-child{color:var(--accent)}
.empty-row{text-align:center!important;color:#778a95!important;padding:22px 5px}
.compact-heading{margin-bottom:11px}
.check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.check-card{position:relative;min-height:140px;padding:13px 15px}
.check-number{position:absolute;right:13px;top:10px;color:#4c626e;font-size:18px;font-weight:300}
.check-card h3{font-size:12px;margin:5px 0 8px;font-weight:650}
.check-card>strong{font-size:22px;letter-spacing:-.04em;font-weight:620;color:var(--accent);font-variant-numeric:tabular-nums}
.check-card p{font-size:9px;line-height:1.45;color:#9aabb3;margin:5px 0 10px;max-width:300px}
.check-foot{font-size:7px;letter-spacing:.12em;color:#6f838e;font-weight:800}
.history-band{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;padding:19px 20px;margin-top:24px;background:#111e28;border:1px solid #2b3d48;border-radius:8px}
.history-copy h2{margin:5px 0 8px}
.history-copy>p{font-size:10px;line-height:1.55;color:#aebdc4;margin:0;max-width:680px}
.history-copy strong{color:#e7eef1;font-weight:700}
.history-metrics{display:flex;gap:24px;margin:15px 0 12px}
.history-metrics div{display:flex;flex-direction:column;gap:2px}
.history-metrics span{font-size:7px;letter-spacing:.1em;color:#81949f;font-weight:800}
.history-metrics strong{font-size:19px;font-weight:620;letter-spacing:-.04em}
.history-metrics small{font-size:8px;color:#8496a0}
.history-copy .history-note{font-size:9px;color:#81939d}.history-copy .history-specs{font-size:8px;line-height:1.55;color:#8ea1aa;margin:8px 0 0}.history-copy .history-specs strong{color:#c7d4d9}
.history-visual{display:flex;flex-direction:column;justify-content:center;gap:12px;min-width:0}
.history-visual img{width:100%;max-height:112px;object-fit:cover;border-radius:5px;border:1px solid #293c47}
.errorbar-plot{padding:0 3px}
.errorbar-label{display:flex;justify-content:space-between;font-size:8px;color:#aebdc4;margin-bottom:8px}
.errorbar-label b{color:var(--accent);font-size:8px}
.errorbar-track{position:relative;height:14px;border-bottom:1px solid #415560}
.errorbar-line{position:absolute;left:31.4%;width:20%;height:3px;top:5px;background:var(--accent);border-radius:2px}
.errorbar-cap{position:absolute;top:1px;height:11px;width:1px;background:var(--accent)}
.errorbar-cap.left{left:31.4%}.errorbar-cap.right{left:51.4%}
.modern-marker{position:absolute;left:73.9%;top:-1px;height:16px;width:2px;background:#e7eef1}
.errorbar-key{display:flex;justify-content:space-between;gap:8px;margin-top:7px;font-size:7px;color:#8799a3}
.errorbar-key span{display:flex;align-items:center;gap:5px}
.errorbar-key i{width:10px;height:3px;background:var(--accent)}
.errorbar-key b{width:2px;height:9px;background:#e7eef1}.errorbar-axis{display:flex;justify-content:space-between;font-size:7px;color:#71838e;margin-top:4px}
.science-panel{margin-top:18px;border:1px solid var(--line);border-radius:8px;background:#0f1922}
.science-panel summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:14px 16px}
.science-panel summary::-webkit-details-marker{display:none}
.science-panel summary>span:first-child{display:flex;flex-direction:column;gap:3px}
.science-panel summary strong{font-size:15px;font-weight:650}
.summary-mark{color:var(--accent);font-size:18px}
.science-panel[open] .summary-mark{transform:rotate(45deg)}
.science-content{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;padding:4px 16px 17px;border-top:1px solid var(--line)}
.science-content h3{font-size:11px;margin:14px 0 6px}
.science-content p{font-size:9px;line-height:1.6;color:#9eafb7;margin:0 0 7px}
.equation{padding:10px 11px;background:#0a141c;border:1px solid #263943;border-radius:5px;color:#dce7e9;font-family:Georgia,serif;font-size:14px;margin:8px 0}
.equation span{display:inline-block;border-bottom:1px solid #71858f;padding:0 3px 2px}
.not-affiliated{grid-column:1/-1!important;border-top:1px solid var(--line);padding-top:10px!important;color:#7f929c!important}
.page-footer{display:flex;justify-content:space-between;gap:12px;padding:17px 1px 0;color:#61747f;font-size:7px;letter-spacing:.13em;font-weight:800}
body.embed-mode .masthead .eyebrow{display:none}
body.embed-mode .masthead{padding-top:12px}
body.quality-low .visual-stage{background:#0d1720}
body.quality-low .scene-caption{backdrop-filter:none}
@media(max-width:1050px){.app-shell{padding:0 17px 24px}.workspace{grid-template-columns:minmax(0,1.35fr) minmax(310px,.95fr);gap:12px}.control-panel{padding:13px}.visual-stage{height:365px}.control-list{column-gap:12px}.readout{padding:11px 10px}.readout strong{font-size:21px}}
@media(max-width:760px){.app-shell{padding:0 12px 22px}.masthead{padding:14px 0 12px;align-items:flex-start}.masthead-actions{gap:7px}.mode-label{display:none}h1{font-size:23px;max-width:340px}.dek{font-size:11px;max-width:300px}.workspace{grid-template-columns:1fr;gap:10px;padding-top:10px}.visual-stage{height:310px}.stage-topline{height:23px}.scene-caption{left:10px;bottom:10px;max-width:75%;padding:8px 9px}.scene-caption p{font-size:10px}.scene-scale{font-size:7px;left:9px;top:9px}.control-panel{padding:13px 14px}.control-list{grid-template-columns:1fr 1fr;column-gap:14px;row-gap:10px}.readout-strip{grid-template-columns:1fr 1fr}.readout:nth-child(2){border-right:0}.readout:nth-child(-n+2){border-bottom:1px solid var(--line)}.readout strong{font-size:22px}.section-heading{align-items:flex-start;flex-direction:column;gap:5px}.section-heading>p{max-width:none}.analysis-grid{grid-template-columns:1fr}.check-grid{grid-template-columns:1fr}.check-card{min-height:118px}.history-band{grid-template-columns:1fr;gap:12px;padding:15px}.history-visual img{max-height:125px}.science-content{grid-template-columns:1fr;gap:4px}.not-affiliated{grid-column:auto!important}.page-footer{font-size:6px;flex-direction:column;gap:6px}}
@media(max-width:390px){.app-shell{padding-left:9px;padding-right:9px}.visual-stage{height:300px}.control-list{column-gap:10px}.control-head label{font-size:9px}.control-head output{font-size:9px}.range-ends{font-size:7px}.scene-legend{gap:10px;font-size:8px}.readout{padding:10px 8px}.readout-label{font-size:7px;letter-spacing:.07em}.readout-label b{font-size:6px}.readout strong{font-size:20px}.history-metrics{gap:15px}.history-metrics strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
