:root{font-family:Inter,PingFang SC,Microsoft YaHei UI,Microsoft YaHei,system-ui,sans-serif;color:#17263d;background:#f6f8fc;font-synthesis:none;font-weight:400;--ink:#17263d;--sub:#546580;--muted:#697a91;--blue:#2956d8;--line:#e4eaf3;--soft:#edf3ff;--white:#fff}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #3464e0;outline-offset:3px}button:focus:not(:focus-visible){outline:none}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 33px;gap:19px;position:sticky;top:0;z-index:5}.brand{display:flex;gap:4px;align-items:center;border:0;background:none;padding:0;font-size:22px;font-weight:775;letter-spacing:-.065em;white-space:nowrap}.brand>span:last-child{color:var(--blue)}.brand-icon{height:34px;width:34px;background:#2d57dd;border-radius:10px;color:#fff;display:grid;place-items:center;margin-right:7px;box-shadow:0 3px 8px #2d57dd33}.top-divider{height:24px;border-left:1px solid var(--line)}.top-context{font-size:13px;display:flex;gap:9px;align-items:center;color:var(--sub)}.help{margin-left:auto;display:flex;gap:7px;align-items:center;border:none;background:#f4f7fc;border-radius:10px;padding:8px 12px;color:#536684;font-size:13px}.mobile-menu{display:none!important}.shell{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:calc(100dvh - 68px);max-width:1700px;margin:auto}.sidebar{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 14px 20px;min-height:100%;position:relative}.chapter{padding:0 12px 24px;display:grid;gap:6px}.chapter span{font-size:12px;font-weight:700;color:#4a68b3}.chapter strong{font-size:19px;letter-spacing:-.04em}.sidebar nav{display:grid;gap:5px}.sidebar nav button{display:flex;width:100%;align-items:center;gap:10px;background:none;border:0;text-align:left;padding:11px 10px;color:#536582;font-size:14px;border-radius:9px;min-height:43px;white-space:nowrap}.sidebar nav button:hover{background:#f3f6fd}.sidebar nav button.selected{background:#eaf0ff;color:#244fc9;font-weight:750}.sidebar nav button span{flex:1}.sidebar-footer{position:sticky;top:calc(100dvh - 69px);margin-top:35px;padding:13px 10px 0;border-top:1px solid var(--line);color:#697b95;font-size:12px;line-height:1.65;display:flex;gap:8px}.sidebar-footer svg{margin-top:3px;flex-shrink:0}.main{min-width:0;padding:24px 32px 0}.page-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 18px}h1,h2,h3,p{margin:0}h1{font-size:clamp(25px,3vw,36px);font-weight:785;letter-spacing:-.05em;line-height:1.26}.page-title p{color:var(--sub);font-size:14px;line-height:1.5;margin-top:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:9px;min-height:38px;padding:7px 12px;font-size:13px;font-weight:660;white-space:nowrap}.button:hover{background:#f8faff}.button.blue{background:var(--blue);color:#fff;border-color:var(--blue)}.button.blue:hover{background:#2149c2}.wide{width:100%;margin:10px 0 2px;white-space:normal}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(249px,279px);align-items:start;gap:18px}.left-col,.right-col{min-width:0;display:grid;gap:15px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 2px 7px #2d4c7910;min-width:0}.scene{overflow:hidden}.scene-head{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:14px 16px;border-bottom:1px solid #ecf0f7}.scene-head>div:first-child{display:flex;align-items:center;gap:10px}h2{font-size:16px;font-weight:760;line-height:1.35}.scene-head p,.chart-head p{font-size:12px;color:var(--muted);margin-top:3px}.scene-icon{width:35px;height:35px;display:grid;place-items:center;background:#eef3ff;color:var(--blue);border-radius:9px}.view-switch,.choices{display:flex;gap:5px;flex-wrap:wrap}.view-switch{background:#f1f5fa;border-radius:9px;padding:3px;flex-wrap:nowrap}.view-switch button{border:none;background:none;border-radius:7px;padding:5px 8px;display:flex;align-items:center;gap:4px;color:var(--sub);font-size:12px;white-space:nowrap}.view-switch button[aria-pressed=true]{background:#fff;color:var(--blue);box-shadow:0 1px 4px #23395d20;font-weight:700}.scene-stage{position:relative;height:clamp(315px,32vw,355px);display:grid;place-items:center;overflow:hidden;background-color:#f9fbff;background-image:radial-gradient(circle at 50% 43%,#f5f1fb,#f9fbff00 57%),radial-gradient(#dbe4f2 1px,transparent 1px);background-size:auto,20px 20px}.heart-svg,.micro-scene,.three-wrap,.organ-wrap{width:100%;height:100%;min-height:0;min-width:0}.heart-svg{max-width:800px;display:block}.three-wrap{position:absolute;inset:0}.organ-wrap{display:grid;place-items:center;max-width:740px}.organ-wrap svg,.micro-scene svg{width:100%;height:100%;max-height:100%;display:block}.scene-stage.circulation-stage{background:#fbfdff;height:clamp(348px,36vw,430px)}.pulmonary-wrap{max-width:820px}.pulmonary-labels{font-size:19px}.pulmonary-secondary{font-size:13px}.scene-stage>svg{width:100%;height:100%;max-width:820px;display:block}.scene-stage.outcome-stage{height:auto;min-height:330px;background:#f6f8fd}.scene-stage.compact-stage{height:auto;min-height:275px;background:#f6f8fd}.visual-footer{flex-wrap:wrap}.volume-split{display:grid;gap:5px;width:min(100%,170px);min-width:94px}.visual-volume-track,.visual-meter{display:flex;height:10px;background:#e9eef7;overflow:hidden;border-radius:6px}.visual-volume-track>*{background:#4476e6}.visual-volume-track>[data-visual=remaining]{background:#b980c0}.visual-volume-key{display:flex;justify-content:space-between;gap:4px;font-size:10px;color:#425b89;white-space:nowrap}.visual-volume-key span:before{content:"";display:inline-block;width:6px;height:6px;border-radius:2px;background:#4476e6;margin-right:4px}.visual-volume-key span:last-child:before{background:#b980c0}.heart-compare .volume-split{width:88%;min-width:0}.heart-compare .visual-volume-key{display:none}.circulation-bands{display:flex;gap:10px;flex:1;justify-content:center;min-width:155px}.circulation-band{width:min(100%,128px);font-size:10px;color:#526888;display:grid;gap:4px}.visual-meter>div{background:var(--band,#3970dd);border-radius:6px}.band-lung{--band:#9565ac}.band-body{--band:#5b6abe}.band-output{--band:#327b84}.band-target{--band:#376ede}.band-supply{--band:#bb5377}.band-demand{--band:#889cc1}.outcome-scene{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,680px);padding:16px}.outcome-card{border:1px solid #e0e8f4;border-radius:14px;background:#fff;min-width:0;padding:12px;display:grid;justify-items:center}.outcome-current{border-color:#a5bafd;background:#f8faff}.outcome-label{font-size:14px;color:#2e4880}.outcome-art{width:100%;max-width:215px;height:auto;max-height:180px}.outcome-bands{width:100%;max-width:248px;display:grid;gap:6px}.outcome-band{display:grid;grid-template-columns:75px minmax(0,1fr);gap:6px;align-items:center;color:#61738f;font-size:11px}.outcome-band .visual-meter{height:8px}.outcome-band.band-focus,.outcome-band.band-target{font-weight:750;color:#2a4175}.outcome-band.band-target{border-top:1px solid #dbe5f4;padding-top:5px}.oxygen-visual,.activity-visual,.concept-visual{width:min(95%,525px);padding:22px;display:grid;gap:13px}.oxygen-markers{display:flex;gap:5px;justify-content:center}.oxygen-markers span{height:16px;width:clamp(10px,3vw,23px);border:1px solid #a4b8db;background:#e2eaf9;border-radius:50%;box-shadow:inset 0 0 0 3px #fff7}.oxygen-markers span.oxygenated{background:#d787a0;border-color:#c67490}.oxygen-row{display:grid;grid-template-columns:70px minmax(0,1fr) 35px;align-items:center;gap:9px;font-size:12px;color:#395275}.oxygen-row .visual-meter{height:15px}.oxygen-status,.activity-visual>strong{text-align:center;padding:6px;font-size:14px;color:#284e68;background:#eaf4f8;border-radius:8px}.oxygen-gap{color:#a34a6e;background:#f8eaf1}.classification-figure text{font-size:14px;fill:#586e8f}.scene-stage>.classification-figure{width:min(92%,550px);height:auto}.activity-columns{height:170px;display:flex;justify-content:space-around;align-items:end;gap:7px;text-align:center;font-size:11px;color:#516788}.activity-columns>div{flex:1;display:grid;gap:5px}.activity-columns [data-visual]{height:var(--effort);border-radius:7px 7px 3px 3px;background:#bfd8f4;border:1px solid #a7c7f1}.activity-columns .activity-limited [data-visual]{background:#ecb9c9;border-color:#d787a2}.concept-visual{text-align:center;font-size:13px;color:#4f6283}.concept-nodes{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.concept-nodes>div{min-height:100px;display:grid;place-items:center;padding:6px;border:1px solid #dbe5f3;background:#edf3fc;border-radius:12px}.concept-nodes svg{width:min(100%,109px);height:auto;display:block}.concept-nodes .concept-active{border:2px solid #5880e7;background:#dce8ff;color:#244caa;font-weight:750}.brief-details{border-top:1px solid #e4ebf5;margin-top:10px;padding-top:7px;color:#53698e;font-size:12px}.brief-details summary,.chart-details>summary{cursor:pointer;font-weight:650;padding:5px}.brief-details p{font-size:12px;line-height:1.65;margin:5px}.chart-details>summary{font-size:13px;color:#435d88;padding:11px 15px}.chart-details[open]>summary{border-bottom:1px solid #e4ebf5}.live-volume,.webgl-note{position:absolute;left:15px;bottom:13px;border:1px solid #e1e9f8;background:#fffffff2;border-radius:8px;padding:6px 9px;font-size:12px;color:#58708e;display:flex;gap:5px;align-items:center;pointer-events:none}.live-volume strong{color:#193c9b;font-weight:750}.live-volume>span,.phase-label>span{width:6px;height:6px;border-radius:50%;background:#3c63db}.webgl-note{left:auto;right:13px;background:#fff8e9;color:#72511f}.scene-footer{min-height:53px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px;border-top:1px solid #e8edf5}.play-row{display:flex;gap:6px;align-items:center;white-space:nowrap}.icon-button,.play-button{display:inline-grid;place-items:center;border:0;border-radius:8px;background:#f1f5fb;min-width:32px;height:32px;padding:0;color:#4f637f}.play-button{background:#2d59dd;color:#fff}.icon-button:hover,.text-button:hover{background:#e8f0fe;color:#264fc9}.text-button{border:0;background:none;border-radius:7px;color:#435d8a;font-size:12px;padding:7px;white-space:nowrap}.text-button[aria-pressed=true].speed{background:#e9efff;color:var(--blue)}.phase-label{display:inline-flex;align-items:center;gap:6px;background:#eef3ff;border-radius:40px;color:#3a5db6;padding:6px 9px;font-size:12px;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric{min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:grid;gap:5px}.metric>span{font-size:13px;color:#506986;display:flex;align-items:center;gap:5px;flex-wrap:wrap}.metric>span small{font-size:11px;color:#657796}.metric-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#5a79df}.metric:nth-child(2) .metric-dot{background:#46a396}.metric:nth-child(3) .metric-dot{background:#9269d0}.metric strong{font-size:clamp(20px,2.6vw,32px);font-weight:770;letter-spacing:-.05em;line-height:1.05;font-variant-numeric:tabular-nums}.metric strong small{font-size:12px;font-weight:550;color:#657994;margin-left:6px;letter-spacing:0}.charts{padding:13px 15px 8px}.chart-head{display:flex;justify-content:space-between;align-items:center;gap:5px}.chart-actions{display:flex;gap:1px}.chart-key,.chart-legend{font-size:12px;color:var(--sub);display:flex;align-items:center;gap:8px}.chart-key i,.chart-legend i{display:inline-block;width:16px;border-top:2px solid #426bdc}.chart-legend i.dash{border-top-style:dashed;border-color:#94a5c1}.chart-legend i.boundary{border-top-style:dashed}.chart-legend i.passive{border-color:#287d6c}.chart-legend i.active{border-color:#9162b2}.chart-legend{flex-wrap:wrap}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-legend .pv-summary{font-variant-numeric:tabular-nums;color:#546789;margin-left:auto}.plot{width:100%;height:auto;max-height:160px;display:block;margin-top:5px}.plot text{font:10px system-ui,sans-serif;fill:#657690}.control{padding:16px 14px 13px}.control>h2{margin-bottom:14px}.control h3{font-size:15px;margin:14px 0 4px}.sub-label{font-size:12px;font-weight:700;color:#546583;margin:13px 0 7px}.choices button{background:#f7f9fd;border:1px solid #e8edf6;color:#536582;border-radius:8px;padding:7px 8px;min-height:33px;font-size:12px;line-height:1.35;text-align:left}.choices button:hover{background:#eff4ff}.choices button[aria-pressed=true]{border-color:#a9bdfb;background:#edf2ff;color:#244bc2;font-weight:700}.section-line{border-top:1px solid #eaf0f6;margin:15px 0 4px}.range{display:grid;gap:6px;padding:8px 0 6px}.range-head,.range-limits{display:flex;align-items:center;justify-content:space-between;gap:6px}.range-head{font-size:13px;font-weight:700}.range-head small{color:#5e7592;font-size:10px;font-weight:600}.range-head output{padding:3px 5px;background:#eef3ff;color:#244fc9;border-radius:5px;white-space:nowrap;font-variant-numeric:tabular-nums}.range-head output small{color:#4969b5}.range-limits{color:#6a7c93;font-size:11px}.range input{appearance:none;width:100%;height:17px;margin:1px 0;background:transparent;cursor:ew-resize}.range input::-webkit-slider-runnable-track{height:5px;background:linear-gradient(to right,#4770e5 0 var(--amount),#e5ecf9 var(--amount) 100%);border-radius:5px}.range input::-moz-range-track{height:5px;background:linear-gradient(to right,#4770e5 0 var(--amount),#e5ecf9 var(--amount) 100%);border-radius:5px}.range input::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;background:#2e5bdb;border:2px solid white;box-shadow:0 0 0 1px #5577e3;margin-top:-5.5px}.range input::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#2e5bdb;border:2px solid white;box-shadow:0 0 0 1px #5577e3}.insight{border:1px solid #dce5ff;background:#edf3ff;min-width:0;border-radius:13px;padding:12px 13px;color:#25467c}.insight>span{display:flex;gap:5px;align-items:center;font-size:13px;font-weight:750}.insight p,.simulation-note,.small-note{font-size:13px;line-height:1.66}.insight p{margin-top:6px}.insight button{background:none;border:0;color:#214ec8;display:inline-flex;align-items:center;gap:4px;padding:8px 0 0;font-size:12px;font-weight:675}.simulation-note,.small-note{color:#586b86}.small-note{margin-top:9px}.simulation-note{padding:1px 4px;font-size:12px}.data-pair{display:flex;gap:6px;justify-content:space-between;align-items:center;padding:9px 0 4px;margin-top:7px;border-top:1px solid var(--line);font-size:12px;color:var(--sub)}.data-pair strong{white-space:nowrap;color:#2549a8}.checklist{display:grid;gap:6px;font-size:13px;color:#4c6380}.checklist label{display:flex;align-items:center;gap:5px}.checklist input{accent-color:var(--blue)}.heart-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;padding:8px}.heart-compare button{border:1px solid var(--line);border-radius:12px;min-width:0;background:#ffffffd9;padding:6px 1px 13px;display:grid;justify-items:center;gap:6px}.heart-compare button[aria-pressed=true]{border-color:#6d92f2;background:#f3f6ff}.heart-compare svg{height:auto;aspect-ratio:1.15;transform:scale(1.13)}.heart-compare strong{font-size:13px}.heart-compare span{font-size:11px;color:#536789}.mechanism-chain{display:grid;gap:5px;margin-top:8px}.mechanism-chain button{display:flex;justify-content:space-between;align-items:center;text-align:left;border:1px solid #e3eaf6;border-radius:8px;padding:7px;background:#f8faff;font-size:12px}.mechanism-chain button.highlight{background:#eaf0ff;border-color:#97aff7;color:#244bc2}.case-feedback,.warning{padding:8px;border-radius:8px;background:#fff5e4;color:#765423;margin-top:7px;font-size:12px;line-height:1.55}.case-feedback{background:#eaf4ef;color:#285748}footer{color:#627592;font-size:12px;padding:20px 0}@media(min-width:796px){.right-col{position:sticky;top:80px}}.overlay{position:fixed;inset:0;display:grid;place-items:center;background:#14223b61;z-index:10;padding:15px}.help-panel{width:min(100%,470px);position:relative;padding:23px}.help-panel p{color:var(--sub);font-size:14px;line-height:1.7;margin-top:10px}.close-help{position:absolute;right:10px;top:9px}@media(max-width:1030px){.shell{grid-template-columns:170px minmax(0,1fr)}.main{padding-left:20px;padding-right:20px}.workspace{gap:12px;grid-template-columns:minmax(0,1fr) minmax(222px,244px)}.scene-stage{height:clamp(309px,42vw,410px)}}@media(max-width:795px){.topbar{gap:12px;height:58px;padding:0 15px}.brand{font-size:21px}.top-context,.top-divider,.help span{display:none}.mobile-menu{display:inline-grid!important}.shell{display:block;min-height:calc(100dvh - 58px)}.sidebar{display:none;position:fixed;left:0;top:58px;bottom:0;z-index:4;width:220px;box-shadow:12px 5px 26px #1f355728;overflow:auto;min-height:0}.sidebar.open{display:flex}.main{padding:20px 14px 0}.workspace{grid-template-columns:minmax(0,1fr)}.right-col,.left-col{display:contents}.scene{grid-row:1}.metrics{grid-row:2}.control{grid-row:3}.insight{grid-row:4}.charts{grid-row:5}.simulation-note{grid-row:6}.scene-stage{height:clamp(260px,66vw,390px)}.labels-btn{display:none}.page-title{margin-bottom:15px;align-items:flex-start}.page-title p{font-size:13px}.scene-head{padding:10px 11px}.scene-footer{padding:7px;gap:4px}.play-row{gap:3px}.text-button{padding:7px 4px}.metrics{gap:5px}.metric{padding:9px 7px}.metric strong small{margin-left:3px;font-size:11px}.metric>span{font-size:11px}.metric>span small{display:none}}@media(max-width:400px){.anatomy-labels{display:none}.reset{font-size:11px;padding:5px}.phase-label{font-size:10px;padding:6px}.heart-compare span{font-size:9px}}@media(max-width:795px){.scene-stage.circulation-stage{height:clamp(240px,70vw,430px)}.pulmonary-labels{font-size:24px}.pulmonary-secondary{font-size:19px}}@media(max-width:420px){.scene:has(.pulmonary-wrap) .scene-footer{flex-wrap:wrap}.scene:has(.pulmonary-wrap) .phase-label{font-size:10px}}@media(max-width:795px){.outcome-scene{padding:8px;gap:7px}.outcome-card{padding:8px 5px}.outcome-band{grid-template-columns:64px minmax(0,1fr);font-size:10px}.scene-stage.outcome-stage{min-height:255px}.visual-footer .volume-split{max-width:120px}.visual-footer .phase-label{font-size:10px}.circulation-bands{min-width:130px}.scene-stage.compact-stage{min-height:240px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}
