:root{--bg:#07101a;--bg2:#0b1622;--line:#20313b;--muted:#93a6af;--white:#edf6f4;--accent:#a9f0d7;--cyan:#8bdade;--orange:#faab70;--gold:#f9d58b;--mono:ui-monospace,Consolas,'Courier New',monospace;--sans:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}html,body{margin:0;background:#06101b;color:var(--white);font-family:var(--sans);height:100%;overflow:hidden}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #c2f0dc;outline-offset:2px}.app{height:100dvh;min-height:550px;display:flex;flex-direction:column}.topbar{height:62px;min-height:62px;border-bottom:1px solid #20313d;background:#08131d;display:flex;justify-content:space-between;align-items:center;padding:0 26px;z-index:3}.brand{display:flex;align-items:center;gap:13px}.brandmark{display:grid;place-items:center;border:1px solid #68e9c9;color:#bbf5df;border-radius:9px;font-size:21px;font-weight:800;width:35px;height:35px;letter-spacing:-2px}.brandmark span{color:#f9cc80}.brandname{font-size:12px;font-weight:800;letter-spacing:.17em}.brandname span{color:#768f9a;font-weight:600}.brandline{font-family:var(--mono);font-size:9px;letter-spacing:.19em;color:#66818e;margin-top:5px}.topright{display:flex;align-items:center;gap:24px}.navtag,.buildtag{font-size:10px;letter-spacing:.13em;font-weight:750;color:#91a9b0}.navtag i,.modelchip i{display:inline-block;width:6px;height:6px;border-radius:100%;background:#b0f5c6;box-shadow:0 0 8px #a9eea9;margin-right:7px}.buildtag{color:#687e86}.iconbtn{background:#152631;border:1px solid #29404a;width:29px;height:29px;border-radius:50%;color:#c1d8da}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 332px}.stage{position:relative;min-width:0;overflow:hidden;background:radial-gradient(ellipse at 54% 38%,#132d36 0%,#081a28 42%,#06111d 80%)}#scene{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}.stagegrain{pointer-events:none;position:absolute;inset:0;opacity:.11;background-image:radial-gradient(#9dc7c9 0.5px,transparent 0.6px);background-size:11px 11px;mask-image:linear-gradient(90deg,transparent,black,transparent)}.stagehead{position:absolute;top:26px;left:30px;pointer-events:none;text-shadow:0 1px 14px #041119}.eyebrow{color:#a8e9d9;font-family:var(--mono);font-size:9px;letter-spacing:.19em}.dash{display:inline-block;width:18px;height:1px;background:#9de6d0;vertical-align:middle;margin-right:8px}.stagehead h1{font-size:clamp(31px,3.1vw,42px);font-weight:530;letter-spacing:-.055em;line-height:1.04;margin:13px 0 6px}.stagehead h1 em{font-style:normal;color:#f7d9a3}.stagehead p{font-size:12px;color:#b7c7ca;margin:0;letter-spacing:.015em}.modelchip{position:absolute;right:23px;top:25px;font-family:var(--mono);font-size:9px;letter-spacing:.075em;border:1px solid #33515b;background:#071b26b3;padding:9px 11px;border-radius:5px;color:#a9d7d7}.annotation{position:absolute;display:flex;align-items:center;gap:8px;color:#d8f2ec;text-shadow:0 1px 8px black;font-size:9px;letter-spacing:.11em;font-weight:800;pointer-events:none;white-space:nowrap;opacity:.93}.annotation strong{display:block;color:#a2b3b9;font-weight:450;letter-spacing:.015em;text-transform:none;margin-top:3px}.anno-dot{width:8px;height:8px;border-radius:50%;border:1px solid #b2e4d9;box-shadow:0 0 0 4px #a5e4d41f}.label-rete{left:23%;top:37%}.label-gland{left:43%;top:67%}.label-bladder{right:7%;top:34%}.label-bladder .anno-dot{border-color:#edc68e}.label-gland .anno-dot{border-color:#eea378}.legend{position:absolute;left:31px;top:52%;display:grid;gap:9px;font-size:9px;letter-spacing:.11em;color:#8ea5ad;font-family:var(--mono)}.legend span{display:flex;align-items:center;gap:8px}.legend i{width:11px;height:3px;border-radius:3px}.legend .red{background:#ef846f}.legend .cyan{background:#73d8e5}.legend .yellow{background:#f9d18a}.stageactions{position:absolute;right:22px;bottom:187px;display:flex;gap:6px}.stageactions button{background:#10212be8;border:1px solid #36515b;border-radius:6px;padding:8px 10px;color:#c6d4d7;font-size:10px;white-space:nowrap}.stageactions button:hover{border-color:#8bcbbf;color:#fff}.stageactions button span{font-size:16px;vertical-align:-1px;margin-right:3px}.stagehint{position:absolute;left:30px;bottom:188px;color:#6d9299;font-size:9px;letter-spacing:.17em;font-family:var(--mono)}.stagehint span{color:#52757d;padding:0 4px}.stagefooter{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,#071724df,#06141ff6);border-top:1px solid #2c4650;backdrop-filter:blur(12px);height:172px;padding:15px 27px 11px}.datahead{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#839ba6;font-family:var(--mono);letter-spacing:.1em}.smallcap{color:#a2c6c9;font-family:var(--mono);font-size:10px;letter-spacing:.17em;font-weight:650}.dividermini{color:#59717d;padding:0 10px}.readoutnote{font-size:8px;color:#64818a}.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin-top:14px;gap:0}.metric{border-right:1px solid #28434d;padding:0 15px}.metric:first-child{padding-left:0}.metric:last-child{border:0}.metric div{font-size:9px;letter-spacing:.075em;color:#91a8b1;white-space:nowrap}.metric strong{display:block;font-size:clamp(19px,2.3vw,29px);font-weight:550;letter-spacing:-.06em;color:#f0f9f7;margin:4px 0 0;font-variant-numeric:tabular-nums}.metric:nth-child(2) strong{color:#a7ede1}.metric:nth-child(3) strong{color:#f5d497}.metric span{font-size:9px;color:#72919c;font-family:var(--mono)}.bottomtelemetry{display:flex;align-items:center;gap:12px;margin-top:7px;border-top:1px solid #1e343d;padding-top:5px;height:29px}.bottomtelemetry>span:first-child{font-size:9px;color:#739ba2;white-space:nowrap}.bottomtelemetry canvas{flex:1;width:100%;height:25px;min-width:0}.tracekey{color:#93a0a9;font-size:9px;white-space:nowrap}.tracekey b{color:#ec8b75}.tracekey b:last-of-type{color:#78dee3}.controlpanel{border-left:1px solid #2d4550;display:flex;flex-direction:column;min-height:0;background:#0b1722}.panelheading{padding:22px 18px 13px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #223743}.panelheading h2{font-size:17px;letter-spacing:-.04em;font-weight:550;margin:8px 0 0}.panel-id{font-family:var(--mono);font-size:9px;color:#7898a1}.panelbody{overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#31525c transparent;flex:1}.controlgroup{padding:17px 18px 16px;border-bottom:1px solid #223742}.groupname{font:10px var(--mono);color:#9addd3;letter-spacing:.12em;margin-bottom:14px}.groupname span{color:#aabac1;margin-left:8px}.presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.presets button{font-size:10px;line-height:1.15;min-height:42px;background:#132530;border:1px solid #31505c;color:#a5b8bf;border-radius:5px;padding:6px 4px}.presets button.selected{border-color:#b0e8ca;background:#1b3a39;color:#e9fff6}.presetsummary{margin-top:11px;color:#718f99;font-family:var(--mono);font-size:9px;line-height:1.5;letter-spacing:.025em}.sliderblock{margin:0 0 15px}.sliderblock:last-child{margin-bottom:0}.sliderhead{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#c1d1d4}.sliderhead strong{font:11px var(--mono);color:#dceee5;font-weight:650}.sliderhead small{color:#8db4b8}.sliderblock input[type=range]{appearance:none;width:100%;height:4px;border-radius:5px;background:linear-gradient(90deg,#a4edcb var(--progress,50%),#28444d var(--progress,50%));display:block;margin:11px 0 0;cursor:pointer}.sliderblock input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border:3px solid #d7fff0;background:#195d58;border-radius:50%;box-shadow:0 0 0 2px #0b1920}.sliderblock input[type=range]::-moz-range-thumb{width:9px;height:9px;border:3px solid #d7fff0;background:#195d58;border-radius:50%}.slidernote{margin-top:5px;color:#65808b;font:9px var(--mono)}.toggle-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:11px;color:#b3cbd0}.switch{appearance:none;position:relative;width:28px;height:17px;border-radius:20px;background:#2a414b;border:1px solid #45616a;cursor:pointer;flex-shrink:0}.switch:after{content:'';position:absolute;top:2px;left:2px;width:11px;height:11px;background:#aec4cc;border-radius:50%;transition:transform .2s}.switch:checked{background:#38766b;border-color:#92d9bb}.switch:checked:after{transform:translateX(11px);background:#d1ffeb}.qualrow{display:flex;justify-content:space-between;align-items:center;margin-top:16px;font-size:11px;color:#b3cbd0}.twoway{display:flex;border:1px solid #34545b;border-radius:5px;overflow:hidden}.twoway button{font:10px var(--mono);padding:7px 12px;background:#11242d;color:#8aa2ad;border:0}.twoway button.selected{background:#326658;color:#e7fff2}.validate{padding:12px;background:#0d2530;border:1px solid #2c4651;border-radius:7px}.validate>div:first-child{font:9px var(--mono);color:#91c9be;letter-spacing:.08em}.checkrows{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:10px;color:#8ba6ae;font-size:10px}.checkrows strong{text-align:right;font:12px var(--mono);color:#dff5eb}.checkrows strong:last-of-type{color:#9fe8c1}.valid-foot{font-size:9px;color:#668b96;line-height:1.5;margin-top:9px}.transport{padding:13px 15px 16px;border-top:1px solid #31505a;background:#101e29;flex-shrink:0}.transportline{display:flex;gap:5px;align-items:center}.transportline>button{height:32px;border-radius:5px;padding:0 10px;border:1px solid #35515c;background:#172a34;color:#b9d5d8;font-size:10px;font-weight:750;white-space:nowrap}.transportline>button.primary{background:#b7ead2;border:1px solid #b7ead2;color:#0a2728;min-width:82px}.speedgroup{margin-left:auto;display:flex;align-items:center;gap:5px;font:9px var(--mono);color:#7697a1}.speedgroup select{width:48px;color:#d7e7e7;background:#162c37;border:1px solid #35515c;border-radius:5px;height:32px;font-size:10px;padding:0 3px}.sciencebtn{margin-top:10px;width:100%;border:1px solid #425d64;border-radius:6px;text-align:left;background:#18303a;color:#dcebe7;padding:10px 12px;font-size:11px;letter-spacing:.08em;font-weight:750}.sciencebtn span{display:block;font-weight:400;font-size:10px;color:#8aabb4;letter-spacing:0;margin-top:4px}.sitefooter{display:none}.modal[hidden]{display:none}.modal{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:18px}.modalshade{background:#020d14db;backdrop-filter:blur(9px);position:absolute;inset:0}.biology{position:relative;max-width:720px;width:100%;max-height:90dvh;overflow:auto;background:#0c1c27;border:1px solid #45646b;border-radius:12px;box-shadow:0 30px 100px #0009;padding:33px 36px;scrollbar-width:thin;scrollbar-color:#45646b transparent}.biology h2{font-size:31px;font-weight:550;line-height:1.16;letter-spacing:-.045em;margin:10px 0 17px}.biology h3{font:700 11px var(--mono);letter-spacing:.08em;color:#a3ead6;margin:23px 0 8px}.biology p{color:#b1c8cc;font-size:13px;line-height:1.74}.biology .intro{font-size:15px;color:#d9e4e1}.biology .equation{font:13px/1.8 var(--mono);padding:15px;background:#092f36;border:1px solid #2c5459;border-radius:8px;overflow:auto;color:#e8f1e5}.biology b{color:#e8f4e9}.biology .disclaimer{padding-top:18px;border-top:1px solid #385157;color:#8da6ad;font-size:11px}.closebio{position:absolute;top:22px;right:25px;border:1px solid #395560;border-radius:7px;background:#172e39;color:#f4e7d6;font-size:22px;width:32px;height:32px;line-height:1}
@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr) 310px}.stagehead h1{font-size:35px}.metric{padding:0 8px}.metric div{font-size:8px}.metric span{font-size:8px}.stageactions{right:10px}.legend{left:17px}.label-rete{left:25%}.label-bladder{right:4%}}
@media(max-width:680px){html,body{overflow:auto;height:auto}.app{height:auto;min-height:100dvh}.topbar{height:56px;min-height:56px;padding:0 13px}.brandmark{width:30px;height:30px;font-size:17px}.brand{gap:9px}.brandname{font-size:10px}.brandline{font-size:7px}.topright{gap:9px}.buildtag{display:none}.navtag{font-size:8px}.workspace{display:flex;flex-direction:column;min-height:0}.stage{height:460px;min-height:460px;flex-shrink:0}.stagehead{left:16px;top:18px}.stagehead h1{font-size:34px;margin:9px 0 4px}.stagehead p{font-size:11px}.eyebrow{font-size:8px}.modelchip{right:10px;top:18px;font-size:8px;padding:6px}.annotation{font-size:8px}.label-rete{left:16%;top:37%}.label-gland{left:34%;top:54%}.label-bladder{right:5%;top:31%}.legend{left:15px;top:52%;font-size:7px;gap:6px}.stagefooter{height:145px;padding:11px 12px 7px}.metrics{margin-top:12px}.metric div{font-size:8px;line-height:1.3;min-height:21px;white-space:normal}.metric strong{font-size:20px}.metric span{font-size:7px}.stageactions{right:10px;bottom:154px}.stageactions button{font-size:9px;padding:6px}.stagehint{left:16px;bottom:166px;font-size:8px;max-width:110px;line-height:1.4}.datahead{font-size:8px}.readoutnote{font-size:7px}.bottomtelemetry{margin-top:4px}.bottomtelemetry>span:first-child{font-size:8px;max-width:115px;line-height:1.3}.controlpanel{height:auto;min-height:420px;border-left:0;border-top:1px solid #35505a}.panelheading{padding:18px}.panelbody{overflow:visible}.transport{position:sticky;bottom:0;z-index:5;padding:10px 12px 12px;box-shadow:0 -8px 25px #07101bd9}.controlgroup{padding:16px}.sitefooter{display:block;text-align:center;padding:11px 5px;font:8px var(--mono);color:#64818a}.sitefooter span{padding:0 5px}.biology{padding:25px 19px}.biology h2{font-size:25px}}
@media(max-width:400px){.topright .navtag{display:none}.stagehead h1{font-size:30px}.modelchip{font-size:7px;right:7px}.stageactions button{padding:5px;font-size:8px}.stagehint{bottom:177px}.metric strong{font-size:19px}.legend{top:49%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
body.embed .topbar,body.embed .sitefooter{display:none}body.embed .app{height:100dvh;min-height:480px}body.embed .workspace{height:100dvh}
