:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.45;color:#f1f3ee;background:#101b23;--panel:#18252e;--panel2:#22323d;--muted:#9dabb2;--gold:#e7c18d;--line:#32404a;color-scheme:dark}
*{box-sizing:border-box}html{min-width:320px}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 48% -10%,#2a3740 0%,#101b23 46%,#0d171e 100%)}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #f8d495;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed} .site-shell{max-width:1680px;margin:0 auto;padding:26px clamp(12px,2.1vw,32px) 28px}.masthead{margin-bottom:19px}.kicker,.section-eyebrow,.aside-end,.stage-corner,.source-chip,.footnote{font-size:10px;letter-spacing:.16em;text-transform:uppercase}.kicker{font-weight:750;color:#dfbd8b;display:flex;align-items:center;gap:12px;margin-bottom:8px}.mark{display:inline-grid;place-items:center;width:23px;height:23px;border:1px solid #bc9a6c;border-radius:50%;font-size:17px}.masthead-row{display:flex;justify-content:space-between;gap:16px;align-items:end}.masthead h1{font-size:clamp(29px,3vw,44px);font-weight:620;line-height:1.09;letter-spacing:-.045em;margin:3px 0 9px}.masthead h1 span{display:block;font-size:clamp(15px,1.25vw,19px);font-weight:390;letter-spacing:.012em;color:#b4bfc3;margin-top:6px}.masthead p{color:#a5b1b8;font-size:13px;margin:0}.source-chip{border:1px solid #4a4d4b;color:#b0bfc5;padding:11px 14px;white-space:nowrap;letter-spacing:.06em}.source-chip strong{color:#ebd6b4;font-size:13px}.source-chip i{display:inline-block;width:1px;height:10px;background:#53626a;margin:0 13px;vertical-align:middle}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(315px,365px);gap:13px;align-items:stretch}.viewer,.lab{background:#15232c;border:1px solid #33414a;min-width:0;overflow:hidden}.viewer{display:flex;flex-direction:column}.stage-head{height:47px;flex:none;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #34414a;padding:0 14px;gap:8px}.stage-head>div:first-child{display:flex;align-items:center;gap:9px;min-width:0}.stage-head strong{font-size:12px;font-weight:600;white-space:nowrap}.status-dot{width:7px;height:7px;background:#c9ae76;box-shadow:0 0 7px #b3965a;border-radius:50%;flex:none}.stage-note{font-size:11px;color:#8b9ba3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.view-actions{display:flex;gap:6px;flex:none}.view-actions button,.presetbar button,.quality-buttons button{background:transparent;color:#b9c6ca;border:1px solid #44515a;border-radius:2px;padding:6px 9px;font-size:11px}.view-actions button:hover,.presetbar button:hover,.quality-buttons button:hover,.inspection-buttons button:hover{background:#2c404b;color:#fff}.view-actions button.accent{color:#f3dab2;border-color:#8a7258}.stage{width:100%;height:clamp(425px,61vh,735px);min-height:260px;position:relative;overflow:hidden;background:linear-gradient(180deg,#809ba7,#b1a48b 48%,#465158)}.stage canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.stage:focus-visible{outline:2px solid #e7c18d;outline-offset:-2px}.stage-corner{position:absolute;pointer-events:none;bottom:13px;left:15px;display:flex;gap:12px;color:#faf0dc;text-shadow:0 1px 7px #13242b;font-size:9px;letter-spacing:.12em}.stage-corner span+span{opacity:.72}.stage-corner.right{left:auto;right:15px;opacity:.83}.presetbar{border-top:1px solid #35434d;display:flex;gap:5px;flex-wrap:wrap;padding:10px 11px}.presetbar button{flex:1 1 auto;text-align:center;min-height:34px}.presetbar button.selected,.quality-buttons button.selected{border-color:#c69e70;color:#f5d8ae;background:#41382f}.footnote{border-top:1px solid #33414a;padding:10px 13px;display:flex;gap:12px;align-items:center;justify-content:space-between;line-height:1.5;letter-spacing:.055em;font-size:9px;color:#aabac0}.footnote b{color:#e2d8c9;font-weight:600}.footnote em{display:inline-block;width:6px;height:6px;vertical-align:middle;margin:0 3px 0 7px;border-radius:50%;background:#e5ca9b}.footnote .dot-two{background:#aac6bd}.footnote .dot-three{background:#8fa1c3}.lab{display:flex;flex-direction:column}.tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #3b4b55;flex:none}.tabs button{min-height:49px;background:#192832;color:#a6b3bd;border:0;border-right:1px solid #364752;padding:8px 4px;font-size:11px;font-weight:600;white-space:nowrap}.tabs button:last-child{border-right:0}.tabs button[aria-selected="true"]{background:#273844;color:#f5d6a5;box-shadow:inset 0 -2px 0 #e4ba83}.tab-panel{padding:19px 20px 16px;flex:1;overflow:auto;max-height:920px;scrollbar-color:#53636c transparent}.tab-panel[hidden]{display:none}.section-eyebrow{color:#d0ad7b;font-weight:750;letter-spacing:.16em;margin-bottom:8px}.tab-panel h2{font-size:24px;line-height:1.14;letter-spacing:-.035em;font-weight:600;margin:0 0 9px}.tab-panel h3{font-size:15px;margin:15px 0 8px;font-weight:600}.lede{color:#b5c2c8;font-size:12px;line-height:1.6;margin:0 0 22px}.control-field{margin:0 0 20px}.control-field label{display:flex;justify-content:space-between;align-items:end;gap:7px;font-size:12px;font-weight:590;color:#e0e6e6}.control-field output{font-variant-numeric:tabular-nums;color:#f1ca93;white-space:nowrap;font-size:13px;font-weight:670}.control-field input[type=range]{width:100%;margin:13px 0 4px;accent-color:#e9c18f;cursor:pointer;height:6px}.ends{display:flex;justify-content:space-between;font-size:10px;color:#8fa2ac}.control-description{font-size:12px;line-height:1.52;color:#a3b3bd;margin:9px 0 0}.meters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:23px 0 11px}.meter{border:1px solid #3e4b55;background:#1d2e37;padding:11px 12px 9px;min-width:0}.meter small{display:block;font-size:10px;color:#abbcc4;margin-bottom:3px}.meter strong{font-size:25px;color:#f3e5ca;letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.meter strong span{font-size:12px;color:#d0b38c;letter-spacing:0}.check{border:1px solid #656052;padding:11px 12px;background:#292e2b}.check>span{font-size:10px;color:#c4d0c9;display:block}.check>strong{font-weight:600;font-size:17px;letter-spacing:.005em;color:#f3dbb3;display:block;margin:3px 0}.check small{font-size:10px;color:#9eaca7;line-height:1.4;display:block}.caveat{color:#a2b3bb;font-size:11px;line-height:1.65;margin:13px 0}.inspection{border-top:1px solid var(--line);padding-top:13px}.inspection-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.inspection-buttons button{padding:8px 6px;text-align:center;border:1px solid #475661;background:#23343e;font-size:11px;color:#c6d1d3;border-radius:3px}.inspection-buttons button.selected{color:#f4d8ab;border-color:#d1a66c}.inspection-detail{background:#1b2c36;border:1px solid #43565b;padding:12px;margin-top:9px;min-height:132px}.inspection-detail strong{font-size:13px;color:#f1dfc2}.inspection-detail p{font-size:12px;line-height:1.58;color:#c4cdd0;margin:6px 0 8px}.inspection-detail span{color:#d4b78b;font-size:9px;letter-spacing:.055em;font-weight:650}.control-field select{width:100%;border:1px solid #53626c;background:#233641;color:#f5f3ee;border-radius:2px;font-size:12px;padding:9px;margin-top:9px}.quality-field{padding-top:12px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.quality-buttons{display:flex;gap:7px}.quality-buttons button{min-width:57px}.science{font-size:12px}.science details{border-bottom:1px solid #43515b;padding:11px 0}.science summary{cursor:pointer;color:#f4dbc0;font-weight:650;font-size:12px}.science details p{color:#bac7ce;font-size:11px;line-height:1.6}.formula{font:13px ui-monospace,SFMono-Regular,Consolas,monospace;color:#f0d6b1;background:#101e26;padding:9px;margin:7px 0;border-left:2px solid #bda074;white-space:normal}.sources{padding-left:17px}.sources li{margin:10px 0}.sources a{color:#f1d1a6;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}.ethics{font-size:11px;color:#c9d6d9;line-height:1.5;border-left:2px solid #c1a27b;padding-left:9px}.aside-end{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-top:1px solid #3c4952;color:#8d9da5;font-size:9px;margin-top:auto}
@media(max-width:1080px){.workspace{grid-template-columns:minmax(0,1fr) minmax(290px,330px)}.stage{height:clamp(410px,60vh,670px)}.tab-panel{padding:15px}.stage-note{display:none}.footnote>span:last-child{display:none}}
@media(max-width:810px){.site-shell{padding:14px 12px 22px}.workspace{grid-template-columns:1fr}.source-chip{display:none}.stage{height:min(59vh,560px)}.lab{min-height:400px}.tab-panel{max-height:none}.footnote>span:last-child{display:inline}}
@media(max-width:480px){.site-shell{padding:9px 9px 20px}.masthead{margin-bottom:11px}.kicker{font-size:9px}.masthead h1{font-size:29px;margin:4px 0}.masthead h1 span{font-size:14px}.masthead p{font-size:11px}.stage-head{padding:0 8px;height:43px}.stage-head strong{font-size:10px}.view-actions{gap:4px}.view-actions button{font-size:10px;padding:5px}.stage{height:clamp(300px,49vh,470px)}.stage-corner{bottom:9px;left:8px;font-size:8px}.stage-corner span+span,.stage-corner.right{display:none}.presetbar{padding:7px;display:grid;grid-template-columns:repeat(2,1fr)}.presetbar button{min-height:30px}.footnote{padding:9px 7px;font-size:8px}.footnote>span:last-child{display:none}.tabs button{font-size:10px;padding:7px 2px}.tab-panel{padding:16px}.lab{min-height:390px}.meter strong{font-size:24px}}
body.embed-mode{height:100vh;height:100dvh;overflow:hidden;background:#101b23}body.embed-mode .site-shell{height:100%;max-width:none;padding:0;display:flex;flex-direction:column}body.embed-mode .masthead{display:none}body.embed-mode .workspace{height:100%;min-height:0;flex:1}body.embed-mode .viewer,body.embed-mode .lab{min-height:0}body.embed-mode .stage{height:auto;flex:1;min-height:180px}body.embed-mode .lab .tab-panel{min-height:0;overflow:auto}body.embed-mode .viewer{min-height:0}
@media(max-width:810px){body.embed-mode .workspace{display:flex;flex-direction:column;gap:4px}body.embed-mode .viewer{flex:1.2;min-height:0}body.embed-mode .lab{flex:.82;min-height:0}body.embed-mode .stage{flex:1;min-height:80px}body.embed-mode .presetbar{flex:none;padding:4px;display:flex;flex-wrap:nowrap}body.embed-mode .presetbar button{padding:4px 2px;font-size:9px;min-height:24px}body.embed-mode .footnote{display:none}body.embed-mode .stage-head{height:36px}body.embed-mode .tab-panel{overflow:auto}body.embed-mode .aside-end{display:none}body.embed-mode .tabs button{min-height:33px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Prevent unused space when the reference sidebar is taller than the viewer. */
.viewer .stage{flex-grow:1}
