:root{--bg:#060d16;--panel:#0c1722;--panel2:#101d29;--border:#263340;--sub:#8194a4;--muted:#547082;--white:#e8f4f5;--gold:#f0b969;--coral:#ffac72;--cyan:#59dbed;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:radial-gradient(ellipse at 67% 1%,#142431 0%,#080f18 47%,#060d16 100%);color:var(--white);font-family:var(--font);font-size:13px;overflow-x:hidden}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}button:disabled{opacity:.45;cursor:default}.app-shell{max-width:1800px;margin:auto;padding:0 24px 24px}.topbar{height:65px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #27313c}.brand{display:flex;align-items:center;gap:11px;letter-spacing:1.9px}.brand-mark{width:31px;height:31px;display:flex;align-items:center;justify-content:center;background:#daa75c;color:#121b23;font-size:25px;font-weight:800;border-radius:3px;box-shadow:0 0 21px #dba45e44}.brand strong{display:block;font-size:13px;line-height:1.1}.brand small{display:block;font-size:8px;letter-spacing:2.7px;color:#8595a0;margin-top:5px}.header-right{display:flex;align-items:center;gap:30px;font-size:10px;font-weight:700;letter-spacing:1.3px}.nav-text{color:#80919f}.slash{padding:0 9px;color:#455867}.live-indicator{display:flex;align-items:center;gap:8px;color:#c4e0db}.live-dot,.stage-id i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6ee6af;box-shadow:0 0 9px #6ee6af99}.intro{padding:17px 0 15px}.intro-head{display:flex;align-items:center;justify-content:space-between;gap:25px}.eyebrow{display:flex;align-items:center;gap:14px;margin-bottom:8px;font-size:10px;font-weight:800;letter-spacing:1.4px;color:#ebb363}.tag-label{padding:5px 9px;border:1px solid #354148;color:#829aaa;border-radius:3px;font-size:9px;font-weight:600;letter-spacing:1px}h1{margin:0;font-weight:690;font-size:clamp(27px,3vw,40px);letter-spacing:-1.65px;line-height:1.1}h1 em{font-style:normal;color:#f0b76b}.title-punct{color:#a5d9d7}.intro p{max-width:800px;color:#9badb9;font-size:12px;line-height:1.55;margin:8px 0 0}.hero-label{display:flex;align-items:center;gap:13px;border-left:1px solid #30414e;padding-left:26px;min-width:196px;flex-shrink:0}.hero-glyph{font-size:33px;color:#f0b76b}.hero-label b{display:block;color:#bac8ce;font-size:10px;letter-spacing:1.3px;line-height:1.5}.hero-label small{display:block;color:#778b97;letter-spacing:1.3px;font-size:9px;margin-top:4px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:16px;align-items:start}.stage-col{min-width:0}.stage{height:clamp(360px,calc(100vh - 350px),480px);min-height:360px;position:relative;overflow:hidden;border:1px solid #304451;background:#071623;border-radius:6px;isolation:isolate;box-shadow:0 11px 45px #0004}.stage:before{content:"";pointer-events:none;position:absolute;inset:0;z-index:1;background:radial-gradient(ellipse at 49% 45%,transparent 28%,#07101b66 92%),linear-gradient(to bottom,#07101b55,transparent 22%,transparent 75%,#07101b8a);}.stage canvas{display:block;width:100%;height:100%;touch-action:none}.stage-top{position:absolute;z-index:3;left:18px;right:18px;top:16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.stage-id{display:flex;align-items:center;gap:8px;font-size:9px;font-weight:800;letter-spacing:1.4px;color:#d0dee1}.stage-divider{color:#607483}.stage-id span:last-child{color:#8ea2ae}.stage-scale{font-size:8px;letter-spacing:.9px;color:#7f96a4}.stage-scale b{color:#d4aa75}.stage-legend{position:absolute;z-index:3;left:19px;top:47px;display:flex;flex-wrap:wrap;gap:15px;font-size:8px;font-weight:800;letter-spacing:.9px;color:#9caeae}.stage-legend span{display:flex;align-items:center;gap:6px}.stage-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}.legend-gut{background:#ffb069;box-shadow:0 0 6px #ffb069}.legend-blood{background:#49ddeb;box-shadow:0 0 6px #49ddeb}.legend-shell{background:#c0d2d0;box-shadow:0 0 6px #c0d2d0}.scope{position:absolute;z-index:2;left:50%;top:49%;width:176px;height:176px;transform:translate(-50%,-50%);border:1px solid #79b5c111;border-radius:50%;pointer-events:none}.scope:before{content:"";position:absolute;inset:33px;border-radius:50%;border:1px dashed #79b5c118}.scope:after{content:"";position:absolute;left:50%;top:-8px;height:16px;border-left:1px solid #769fac55}.scope-cross{color:#91b7b54a;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:14px}.scope-label{position:absolute;color:#78919b77;left:50%;bottom:-23px;transform:translateX(-50%);white-space:nowrap;letter-spacing:1.2px;font-size:7px}.stage-tools{position:absolute;z-index:4;right:17px;bottom:45px;display:flex;align-items:center;gap:4px}.tool-button,.icon-tool{border:1px solid #465766aa;background:#0b1722e6;color:#a5b7bf;padding:9px 10px;font-size:8px;font-weight:800;letter-spacing:1px;border-radius:3px}.tool-button.active{color:#161f27;background:var(--gold);border-color:var(--gold)}.icon-tool{padding:7px 11px;font-size:15px}.stage-footer{position:absolute;z-index:3;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;background:#08121bcb;border-top:1px solid #39505b60;padding:11px 17px;font-size:9px;letter-spacing:1.1px;font-weight:750;color:#adc4cd}.stage-footer>span{display:flex;align-items:center;gap:6px}.stage-footer>span:last-child{color:#718b99}.stage-footer b{font-weight:800;color:#405c6a}.little-dot{background:#6fdc9b;width:5px;height:5px;border-radius:50%}.readouts{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:12px;background:#33414b;border:1px solid #303d48;border-radius:5px;overflow:hidden}.metric{padding:16px 15px 13px;background:#0d1924;min-width:0}.metric-label{display:flex;justify-content:space-between;gap:4px;color:#91a6b4;font-size:9px;font-weight:780;letter-spacing:1.15px;white-space:nowrap}.metric-label span{color:#425867}.metric-val{display:flex;align-items:baseline;gap:6px;margin-top:8px}.metric-val b{font-size:30px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums}.metric-val small{font-size:10px;color:#9fb6c0}.metric-sub{font-size:10px;color:#718798;margin-top:4px}.metric-blue{color:#49ddeb}.metric-orange{color:#ffb069}.science-strip{padding:15px 2px;display:flex;flex-wrap:wrap;gap:12px 25px;justify-content:space-between;font-size:9px;font-weight:750;letter-spacing:1px;color:#6f8898}.science-strip b{color:#b4c8cc;font-variant-numeric:tabular-nums;margin-left:5px}.sidebar{border:1px solid #344653;background:linear-gradient(170deg,#111d28,#0c1721 68%,#0c1721);border-radius:6px;box-shadow:0 7px 38px #0003;max-height:calc(100vh - 196px);min-height:528px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#344756 transparent}.panel-top{display:flex;justify-content:space-between;align-items:center;padding:16px 16px 13px;border-bottom:1px solid #2e3b47}.panel-title{display:flex;gap:9px;font-size:11px;font-weight:800;letter-spacing:1px}.mini-mark{color:#f0b76b;font-size:17px;line-height:.7}.text-button{border:none;background:transparent;font-size:9px;font-weight:800;letter-spacing:.8px;color:#8aabb7;padding:0}.transport{display:flex;gap:7px;padding:12px 15px}.play-button{flex:1;display:flex;justify-content:center;align-items:center;gap:8px;background:#efb86a;border:1px solid #efb86a;color:#1b2530;font-weight:800;letter-spacing:1px;font-size:10px;border-radius:3px;min-height:36px}.play-button span:first-child{font-size:16px;line-height:1}.step-button{padding:0 12px;border:1px solid #435561;background:#172734;color:#cbd6d8;font-weight:800;font-size:13px;border-radius:3px}.step-button span{font-size:9px;letter-spacing:1px}.speed-wrap{display:flex;flex-direction:column;gap:4px}.speed-wrap label{font-size:8px;color:#8096a6;letter-spacing:1px}.speed-wrap select,.quality-setting select{background:#142330;color:#d7e2e6;border:1px solid #3a4e5b;border-radius:2px;padding:5px 3px;font-size:10px;outline:none}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:6px 16px 8px;font-size:10px;font-weight:800;letter-spacing:1.05px;color:#c8d3d5}.section-heading span{color:#687f91;font-size:8px}.presets{display:flex;gap:5px;margin:0 15px}.preset{flex:1;border:1px solid #40515e;background:#15232e;border-radius:3px;color:#9db1bc;padding:10px 4px;font-size:9px;letter-spacing:.5px;font-weight:800;white-space:nowrap}.preset.active{background:#29403e;border-color:#c99c61;color:#f2cb8b}.preset-n{font-size:8px;color:#688899;margin-right:3px}.preset.active .preset-n{color:#d4ad75}.preset-caption{font-size:10px;color:#8196a3;padding:8px 16px 10px;line-height:1.3;border-bottom:1px solid #273541}.sliders-heading{margin-top:14px}.sliders{padding:0 16px 3px}.control{margin:0 0 12px}.control-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.control-head label{font-size:11px;color:#becdd4;font-weight:620}.control-head output{font-size:10px;font-variant-numeric:tabular-nums;font-weight:780;color:#f1bc79;white-space:nowrap}.control input[type=range]{display:block;width:100%;accent-color:#e6b46c;height:8px;cursor:pointer;margin:0;appearance:none;background:transparent}.control input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:9px;background:linear-gradient(to right,#e9b36c 0 var(--fill,50%),#364a55 var(--fill,50%) 100%)}.control input[type=range]::-webkit-slider-thumb{appearance:none;height:12px;width:12px;margin-top:-4.5px;border-radius:50%;background:#edbd7b;border:2px solid #16222b;box-shadow:0 0 0 1px #d2a96f}.control input[type=range]::-moz-range-track{background:#445760;height:3px}.control input[type=range]::-moz-range-progress{background:#e9b36c}.control-note{display:flex;justify-content:space-between;color:#5c7383;font-size:8px;margin-top:3px}.settings-heading{margin-top:8px;padding-top:11px;border-top:1px solid #2a3744}.display-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px 8px;padding:7px 16px 13px}.toggle{display:flex;align-items:center;gap:7px;font-size:10px;color:#adbec5;cursor:pointer;white-space:nowrap}.toggle input{position:absolute;opacity:0;pointer-events:none}.switch{width:23px;height:13px;border:1px solid #526472;border-radius:10px;background:#263946;position:relative}.switch:before{content:"";position:absolute;top:2px;left:2px;width:7px;height:7px;border-radius:100%;background:#72909e;transition:all .15s}.toggle input:checked +.switch{background:#1c635e;border-color:#3b9f96}.toggle input:checked +.switch:before{left:12px;background:#70ece0}.quality-setting{font-size:9px;color:#98aebb;display:flex;align-items:center;gap:8px;letter-spacing:.7px}.quality-setting select{padding:4px}.biology{border-top:1px solid #374853;margin-top:0}.biology summary{display:flex;align-items:center;gap:7px;padding:15px 15px;cursor:pointer;list-style:none;font-size:10px;font-weight:800;letter-spacing:1px;color:#e5bd86}.biology summary::-webkit-details-marker{display:none}.biology summary>span:first-child{font-size:18px}.biology summary small{font-size:8px;letter-spacing:.5px;font-weight:600;color:#8599a7;margin-left:auto}.biology summary .arrow{font-size:17px;color:#abc0c7}.biology[open] summary .arrow{transform:rotate(180deg)}.biology-content{border-top:1px solid #30414d;padding:5px 15px 13px}.biology-content p{color:#a3b6c0;line-height:1.58;font-size:11px}.biology-content h3{font-size:11px;color:#e0d0af;letter-spacing:.1px;margin:17px 0 7px}.biology-content .equation{background:#07151f;border:1px solid #2b4552;border-radius:3px;padding:9px;color:#9ed9dd;font-size:11px;line-height:1.6;word-break:break-word;margin-top:6px}.science-pill{font-size:8px;letter-spacing:.8px;font-weight:800;color:#a8c2d3;border-left:2px solid #d4b073;padding:7px 9px;background:#1a2a34}.validation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#334450;border:1px solid #334450;border-radius:3px;overflow:hidden}.validation-grid>div{background:#132531;padding:9px 7px}.validation-grid small{display:block;color:#8da6b7;font-size:8px}.validation-grid b{display:block;color:#f6c78d;margin:4px 0;font-size:15px;font-variant-numeric:tabular-nums}.validation-note{font-size:9px;color:#7793a1;margin:7px 0}.disclaimer{border-top:1px solid #30414d;padding-top:10px;font-size:10px!important;color:#718b95!important}.sidebar-footer{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;border-top:1px solid #2e3b47;padding:13px 15px;font-size:8px;letter-spacing:.5px;color:#6f8493}.sidebar-footer b{color:#a7b7c2}.sidebar-footer span{width:100%;font-size:8px;color:#627d8d}.embed .topbar,.embed .intro,.embed .science-strip{display:none}.embed .app-shell{padding:8px}.embed .sidebar{max-height:calc(100vh - 18px)}.embed .stage{height:min(63vh,560px)}@media(max-width:1050px){.app-shell{padding:0 14px 24px}.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:10px}.stage{height:490px}.readouts .metric{padding:12px 9px}.metric-val b{font-size:25px}.metric-label{font-size:8px}.sidebar{max-height:calc(100vh - 190px)}}@media(max-width:790px){.app-shell{padding:0 12px 30px}.topbar{height:57px}.header-right .nav-text{display:none}.intro{padding:22px 0}.intro-head{display:block}.hero-label{display:none}.intro h1{font-size:32px}.intro p{font-size:12px}.tag-label{font-size:8px}.workspace{display:block}.stage{height:460px;min-height:360px}.sidebar{margin-top:16px;max-height:none;min-height:0;overflow:visible}.readouts{grid-template-columns:repeat(4,minmax(0,1fr))}.science-strip{gap:13px;justify-content:flex-start}.embed .sidebar{max-height:none}}@media(max-width:490px){.app-shell{padding:0 8px 22px}.topbar{height:52px}.brand strong{font-size:11px}.brand small{font-size:7px}.header-right{gap:7px;font-size:8px}.intro{padding:15px 4px 14px}.intro h1{font-size:29px;letter-spacing:-1.4px}.eyebrow{gap:6px;flex-wrap:wrap;font-size:8px;margin-bottom:7px}.tag-label{font-size:7px;padding:3px 5px}.intro p{font-size:11px;max-width:340px}.stage{height:392px;min-height:392px}.stage-top{left:11px;top:12px;right:11px}.stage-scale{font-size:7px;max-width:95px;text-align:right;line-height:1.6}.stage-legend{left:11px;top:45px;gap:9px;font-size:7px}.stage-tools{right:8px;bottom:48px;gap:3px}.tool-button{padding:9px 6px;font-size:7px}.icon-tool{padding:5px 7px}.stage-footer{padding:10px 8px;font-size:7px;letter-spacing:.35px}.readouts{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px}.metric{padding:11px!important}.metric-label{font-size:9px}.metric-val b{font-size:26px}.science-strip{padding:10px 3px;display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:8px}.sidebar{margin-top:8px}.scope{width:120px;height:120px}.embed .stage{height:410px}.embed .topbar,.embed .intro{display:none}}
@media(prefers-reduced-motion:reduce){.switch:before{transition:none}}
