:root{--bg:#060f18;--panel:#0a1723;--panel2:#0c1b29;--edge:#203444;--edge2:#162b3a;--text:#e6f2f5;--muted:#788f9e;--teal:#65e6dd;--orange:#f3ae6a;--green:#bded81;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--radius:9px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);font-family:var(--font);color:var(--text)}body{overflow-x:hidden}button,select,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.app{min-height:100vh;display:flex;flex-direction:column;max-width:1900px;margin:auto;background:radial-gradient(ellipse at 53% 2%,#102535 0%,#07121c 48%,#060d15 100%)}.topbar{height:38px;flex-shrink:0;padding:0 23px;border-bottom:1px solid #21303c;display:flex;align-items:center;justify-content:space-between;letter-spacing:1.5px;font-size:9px;color:#b5e1e6}.brand{display:flex;align-items:center;gap:8px;font-weight:800}.brandmark{font-size:21px;color:#59e2c7}.brand b{font-weight:500;color:#708995}.top-right{color:#7f98a6;display:flex;align-items:center;gap:9px}.live-dot{width:6px;height:6px;border-radius:100%;background:#b7e67a;box-shadow:0 0 9px #8ee586}.edition{padding-left:14px;border-left:1px solid var(--edge);margin-left:10px}.titlebar{min-height:112px;padding:17px 24px 14px;display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{color:#71bcb9;letter-spacing:2px;font-size:9px;font-weight:700}.eyebrow span{padding:0 8px;color:#516c78}.titlebar h1{font-size:36px;font-weight:650;letter-spacing:-1.7px;line-height:1.05;margin:9px 0 5px}.titlebar h1 em{font-weight:500;color:#75e9ce;font-style:normal}.titlebar p{font-size:12px;color:#92a5b0;margin:0}.headline-tags{display:flex;gap:8px}.headline-tags span{border:1px solid #284353;color:#9bbec5;font-size:9px;letter-spacing:1px;border-radius:4px;padding:9px 10px;white-space:nowrap}.workspace{display:grid;grid-template-columns:272px minmax(0,1fr) 282px;gap:10px;padding:0 12px;min-height:0;flex:1;height:calc(100vh - 186px);min-height:490px}.side,.stage{background:linear-gradient(160deg,rgba(12,27,39,.96),rgba(7,20,30,.98));border:1px solid var(--edge);border-radius:var(--radius);overflow:hidden;min-width:0}.side{display:flex;flex-direction:column;min-height:0}.panelhead{min-height:59px;display:flex;align-items:center;padding:13px 16px;gap:11px;border-bottom:1px solid var(--edge2)}.panelhead>span{border:1px solid #27515a;border-radius:5px;color:#66ded0;font-size:11px;font-weight:800;padding:7px}.panelhead strong{font-size:12px;display:block}.panelhead small{font-size:8px;letter-spacing:1.1px;color:var(--muted);margin-top:5px;display:block}.side-scroll{padding:13px 14px 12px;overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#345063 transparent}.preset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.preset{border:1px solid #294454;background:#0b2230;border-radius:6px;padding:11px 3px 8px;min-height:64px;font-size:14px;color:#b0c8d2;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.preset span{font-size:9px;line-height:1.22;font-weight:700}.preset.active{border-color:#47a89c;color:#82ead8;background:#103a40;box-shadow:inset 0 0 18px #48c8b011}.subsection{display:flex;align-items:center;justify-content:space-between;font-weight:800;letter-spacing:1.3px;font-size:9px;color:#c4d3d7;margin:20px 0 13px}.subsection span{font-size:8px;color:#557788;font-weight:500}.slider{margin:0 0 16px}.slider>div{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:11px}.slider label{color:#b9cbd4}.slider output{font-variant-numeric:tabular-nums;color:#8eece2;font-weight:750;font-size:11px;white-space:nowrap}.slider input[type=range]{width:100%;height:14px;margin:6px 0 0;cursor:pointer;accent-color:#67dfd0}.slider small{font-size:9px;color:#6d8797}.stage{display:flex;flex-direction:column;position:relative}.stage-header{height:44px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--edge2);font-size:9px;letter-spacing:1.25px}.stage-title{color:#b9d2d8;font-weight:750}.stage-title .dim{color:#56717d}.pulse-ring{display:inline-block;width:8px;height:8px;border:2px solid #8ed8a8;border-radius:100%;box-shadow:0 0 9px #67dbb9;margin-right:7px}.stage-right{font-size:8px;color:#78c8bd;border:1px solid #235a59;padding:5px 7px;border-radius:4px}.viewport{position:relative;min-height:210px;flex:1;overflow:hidden;background:radial-gradient(ellipse at 46% 42%,#19303c,#08131e 72%)}#render-host,#render-host canvas{position:absolute;inset:0;width:100%;height:100%;display:block}#render-host{z-index:1}.viewport-gradient{position:absolute;z-index:2;pointer-events:none;inset:0;background:linear-gradient(to bottom,rgba(8,21,32,.2),transparent 18%,transparent 70%,rgba(4,12,20,.45));}.depth-label{position:absolute;z-index:4;left:16px;color:#91d6da;font-size:9px;font-weight:800;letter-spacing:1.2px;pointer-events:none;text-shadow:0 1px 6px #08131e}.depth-label small{display:block;margin-top:4px;font-size:8px;font-weight:500;color:#67919d}.depth-label.top{top:18%}.depth-label.bottom{bottom:19%;color:#edb579}.depth-label.bottom small{color:#9e7e69}.dimension{position:absolute;z-index:3;right:15px;top:20%;height:58%;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;pointer-events:none;color:#95b1bb;font-size:9px}.dim-line{margin-right:6px;height:75%;border-right:1px dashed #698493}.scene-legend{position:absolute;z-index:4;left:16px;bottom:11px;display:flex;gap:15px;flex-wrap:wrap}.scene-legend span,.profile-legend span{font-size:8px;letter-spacing:.6px;color:#b2c4cc;display:flex;align-items:center;gap:5px}.scene-legend b,.profile-legend b{width:7px;height:7px;border-radius:50%;display:inline-block}.cyan{background:#6de4ed;box-shadow:0 0 7px #6de4ed}.orange{background:#f5ad62;box-shadow:0 0 7px #f5ad62}.lime{background:#b5f388;box-shadow:0 0 7px #b5f388}.viewer-overlay{position:absolute;z-index:4;top:14px;left:16px;pointer-events:none}.viewer-tag{color:#567c8c;font-size:8px;letter-spacing:1.4px}.clock{font-weight:650;display:flex;align-items:baseline;gap:7px;margin-top:6px}.clock span{font-size:24px;font-variant-numeric:tabular-nums;color:#e0f2ef;letter-spacing:-1px}.clock small{font-size:8px;letter-spacing:1px;color:#7d9ba8}.camera-bar{position:absolute;z-index:5;top:13px;right:14px;display:flex;gap:5px}.camera-bar button{border:1px solid #375263;background:#102532b8;padding:7px 9px;border-radius:5px;font-size:11px;color:#c4d6d9;backdrop-filter:blur(5px)}.camera-bar button:hover{border-color:#71d7ce}.camera-bar button span{font-size:9px}.transport{height:48px;flex-shrink:0;display:flex;align-items:center;gap:10px;padding:0 13px;border-top:1px solid #283e4b;border-bottom:1px solid #1f3542;background:#091a26}.transport button{background:none;border:0;font-size:12px;color:#b8cbd3;padding:6px 5px}.transport .play{background:#4bcdbe;color:#06212c;border-radius:5px;width:31px;height:30px;font-size:16px;font-weight:900}.transport #step span,.transport #reset span{font-size:10px}.transport-divider{border-left:1px solid #254351;height:20px;margin:0 2px}.transport label{color:#60828e;font-size:9px;font-weight:800;letter-spacing:1px}.transport select{border:1px solid #31515d;border-radius:5px;padding:5px 7px;background:#102b36;color:#b1e5e3;font-size:11px}.transport-spacer{flex:1}.transport #clock-status{color:#b7e99d;font-size:9px;letter-spacing:1.3px}.stage-foot{display:flex;min-height:40px;align-items:center;gap:15px;flex-wrap:wrap;padding:6px 12px}.stage-foot label{font-size:9px;color:#91abb6;white-space:nowrap;display:flex;align-items:center;gap:4px;cursor:pointer}.stage-foot input{accent-color:#6cdecf;width:11px;height:11px}.quality{display:flex;align-items:center;gap:7px;margin-left:auto;color:#627e8a;font-size:8px;letter-spacing:1px}.quality button{background:#193847;color:#8ad9d0;border:1px solid #315966;border-radius:4px;font-size:9px;font-weight:700;padding:4px 8px}.right-scroll{padding:11px 12px}.signal{display:flex;align-items:center;gap:5px;color:#95b2b8;font-size:8px;letter-spacing:.4px;white-space:nowrap}.signal-icon{font-size:14px;color:#c1ee8d}.signal b{margin-left:auto;font-size:8px;color:#a2e79c}.signal.off b{color:#eea172}.primary-metric{border:1px solid #2a4c51;background:linear-gradient(125deg,#113138,#0e222e);border-radius:7px;padding:11px 12px 12px;margin-top:12px}.primary-metric>span{display:flex;align-items:center;justify-content:space-between;color:#a9c9c7;font-size:9px;font-weight:800;letter-spacing:.5px}.primary-metric i{color:#548c88;font-style:normal;font-size:7px}.big-value{display:flex;align-items:center;gap:10px;margin-top:8px}.big-value strong{color:#83eedb;font-size:37px;letter-spacing:-1.7px;font-variant-numeric:tabular-nums}.big-value small{font-size:9px;color:#83a3a9;line-height:1.5}.meter-track{height:4px;border-radius:4px;background:#1e3a42;margin-top:9px;overflow:hidden}.meter-track div{height:100%;width:0;background:linear-gradient(90deg,#3baeb8,#a5f4bf);transition:width .2s}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.metric-tile{border:1px solid #223946;border-radius:6px;background:#0e202d;padding:11px 10px}.metric-tile span{font-size:8px;color:#7896a3;letter-spacing:.4px;display:block}.metric-tile strong{font-size:20px;font-weight:650;letter-spacing:-.6px;display:block;margin:7px 0 0;font-variant-numeric:tabular-nums}.metric-tile:nth-child(1) strong{color:#80dfe7}.metric-tile:nth-child(2) strong{color:#efb57d}.metric-tile:nth-child(3) strong,.metric-tile:nth-child(4) strong{color:#d6debb}.metric-tile small{font-size:9px;color:#658492}.profile-head{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:17px 2px 8px}.profile-head span{font-size:8px;color:#7a96a2}.profile-head strong{font-weight:700}.right-scroll canvas{display:block;width:100%;height:134px;max-height:134px;border:1px solid #223b47;border-radius:5px;background:#081926}.profile-legend{display:flex;gap:16px;margin:7px 0 14px}.validation{border:1px solid #26413a;background:#0e2628;border-radius:6px;padding:11px}.validation-title{display:flex;align-items:center;gap:7px;font-size:10px}.validation-title>span{font-size:17px;color:#b4e8a5}.validation-title strong{flex:1}.validation-title b{color:#a7e9ac;font-size:9px}.validation p{font-size:9px;color:#87a6a4;line-height:1.55;margin:8px 0}.validation-rows{display:grid;grid-template-columns:1fr auto;gap:7px;font-variant-numeric:tabular-nums}.validation-rows span{color:#87a6a4;font-size:9px}.validation-rows strong{font-size:10px;color:#d7efdf}.validation>small{display:block;margin-top:9px;font-size:8px;color:#627f7f;line-height:1.4}.biology{border:1px solid #29424f;border-radius:6px;margin-top:10px;overflow:hidden}.biology summary{display:flex;align-items:center;gap:8px;padding:12px;cursor:pointer;list-style:none;font-size:11px}.biology summary::-webkit-details-marker{display:none}.biology summary>span{border:1px solid #276663;color:#6bd4bf;padding:4px;font-size:9px;border-radius:3px}.biology summary strong{flex:1}.biology summary b{color:#66d8c8}.biology[open] summary b{transform:rotate(45deg)}.biology-content{padding:0 13px 13px}.biology-content p{font-size:10px;color:#adbfca;line-height:1.65}.biology-content p em{font-style:normal;color:#83ddc6;font-weight:750}.biology-content code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#e2be88;display:block;white-space:normal;line-height:1.5;background:#0b212c;padding:8px;margin:5px 0;border-radius:4px;font-size:10px}.source-links{font-size:10px;color:#8eb3bf;line-height:1.5}.source-links a{color:#6bdbca}.footer{height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 22px;font-size:9px;color:#557482}.footer span:last-child{letter-spacing:.8px}.footer b{padding:0 7px;color:#3a5965}#render-host canvas{touch-action:none}@media(max-width:1120px){.workspace{grid-template-columns:245px minmax(0,1fr) 250px}.titlebar h1{font-size:31px}.stage-foot{gap:8px}.camera-bar button span{display:none}.big-value strong{font-size:31px}}@media(max-width:890px){.workspace{grid-template-columns:1fr 1fr;grid-template-rows:minmax(390px,58vh) minmax(420px,auto);height:auto;min-height:0}.stage{grid-column:1/-1;grid-row:1}.controls-panel{grid-column:1;grid-row:2}.metrics-panel{grid-column:2;grid-row:2}.side-scroll{overflow:visible}.titlebar{min-height:100px}.footer{height:auto;min-height:40px;flex-wrap:wrap;padding:8px 16px}.stage-foot{min-height:40px}}@media(max-width:600px){.topbar{height:33px;padding:0 13px}.brand{font-size:8px;letter-spacing:1px}.brand b,.edition,.top-right{display:none}.titlebar{padding:13px 15px 14px;min-height:112px;align-items:flex-end}.eyebrow{font-size:8px;letter-spacing:1px}.titlebar h1{font-size:34px;letter-spacing:-1.4px;margin:9px 0 6px}.titlebar p{font-size:11px;max-width:320px;line-height:1.4}.headline-tags{display:none}.workspace{display:flex;flex-direction:column;padding:0 7px;gap:9px}.stage{order:0;height:450px;min-height:450px}.controls-panel{order:1}.metrics-panel{order:2}.side{min-height:0;overflow:visible}.side-scroll{padding:12px}.stage-header{height:35px;padding:0 9px}.stage-title{font-size:8px}.stage-right{font-size:7px}.viewport{min-height:305px}.viewer-overlay{top:10px;left:11px}.viewer-tag{font-size:7px}.clock span{font-size:18px}.camera-bar{right:8px;top:8px;gap:3px}.camera-bar button{font-size:12px;padding:5px 8px}.depth-label{left:10px;font-size:7px}.depth-label small{font-size:7px}.scene-legend{left:9px;bottom:7px;gap:8px}.scene-legend span{font-size:7px}.dimension{right:7px;font-size:8px}.transport{height:44px;padding:0 8px;gap:8px}.transport #step span,.transport #reset span{display:none}.transport label{font-size:8px}.stage-foot{gap:9px;padding:6px 8px}.stage-foot label{font-size:8px}.quality{margin-left:0}.right-scroll canvas{max-height:160px;height:160px}.footer{font-size:8px}.metric-grid{gap:8px}.side .side-scroll{overflow:visible}}@media(max-width:380px){.stage-foot label{font-size:7px}.stage{height:465px}.viewport{min-height:314px}}body.embed .topbar,body.embed .titlebar,body.embed .footer,body.embed .controls-panel,body.embed .metrics-panel{display:none!important}body.embed .workspace{display:flex;height:100vh;min-height:0;padding:0}body.embed .stage{height:100vh;min-height:0;width:100%;border:0;border-radius:0}body.embed .viewport{flex:1;min-height:0}body.embed .stage-header{height:31px}body.embed .stage-foot{min-height:35px}body.embed .transport{height:40px}
/* Prevent the implicit grid min-content row from exceeding 720px desktop viewports. */
@media(min-width:891px){.app{height:100vh;min-height:600px}.workspace{grid-template-rows:minmax(0,1fr);height:auto;min-height:0;flex:1 1 0;overflow:hidden}.side-scroll{min-height:0;overflow-y:auto}.stage{height:100%;min-height:0}}
@media(max-width:890px){.app{height:auto;min-height:100vh}.workspace{height:auto;overflow:visible}}
