:root{font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:#203936;background:#f0f3ef;font-synthesis:none;--ink:#203936;--muted:#71817a;--line:#dce4dc;--accent:#d8774d}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #df855c;outline-offset:3px}button{color:inherit}button:disabled{cursor:default}button:hover{filter:brightness(.96)}[hidden]{display:none!important}.topbar{height:86px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fafbf7}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--ink);font-size:17px;letter-spacing:2px;font-weight:750}.brand small{display:block;font-size:10px;letter-spacing:2px;font-weight:500;margin-top:4px}.brand-icon{font-size:40px;font-weight:400;color:#2e695b}.project{font-size:12px;display:flex;gap:12px;align-items:center}.version{font-size:10px;letter-spacing:1px;color:var(--muted);border-left:1px solid var(--line);padding-left:12px}.status-dot{height:6px;width:6px;background:#428b68;border-radius:50%}.button{border:1px solid var(--line);background:#fff;padding:10px 15px;border-radius:6px;font-size:12px}.subtle{background:transparent}main{display:grid;grid-template-columns:minmax(0,1fr) 360px;min-height:calc(100vh - 126px)}.workspace{position:relative;min-width:0;min-height:780px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#fbfcf9,#e6ece6)}#viewport{position:absolute;inset:0}canvas{width:100%;height:100%;display:block;touch-action:none}#loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:22px;border-radius:10px;max-width:85%;z-index:5;box-shadow:0 6px 40px #17383013}.scene-heading{position:absolute;left:34px;top:27px;pointer-events:none;z-index:2}.eyebrow{font-size:9px;letter-spacing:2.1px;color:#839086;margin:0 0 12px;font-weight:650}h1{font-size:clamp(26px,3vw,42px);font-weight:500;line-height:1.4;letter-spacing:-1px;margin:0}h1 span{color:var(--accent)}.intro{color:#7b8981;font-size:12px;margin:10px 0}.mode-bar{position:absolute;top:29px;right:26px;display:flex;gap:3px;padding:5px;background:#ffffffd9;border:1px solid #d6ded5;border-radius:9px;box-shadow:0 5px 16px #28413008}.mode-bar button{border:0;background:transparent;padding:9px 12px;border-radius:5px;font-size:12px;display:flex;gap:7px;align-items:center}.mode-bar button.active{background:#254e43;color:#fff}.mode-bar button span{font-size:15px}.view-tools{position:absolute;right:23px;top:111px;display:grid;gap:6px}.view-tools button{background:#fff9;border:1px solid #d2dbd1;border-radius:6px;width:35px;height:35px;font-size:18px}.view-tools button[aria-pressed=true]{color:#277154;background:#e3ede4}.adjust{position:absolute;top:86px;right:79px;background:#ffffffed;padding:10px 13px;border-radius:7px;display:flex;gap:12px;align-items:center;font-size:11px;border:1px solid var(--line);width:290px}.adjust input{width:130px;accent-color:var(--accent)}.adjust output{min-width:32px}.legend{position:absolute;bottom:56px;left:30px;right:30px;display:flex;justify-content:center;gap:20px;pointer-events:none;font-size:10px;color:#64776c}.legend span{display:flex;align-items:center;gap:6px}.legend i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--c)}.scene-bottom{position:absolute;bottom:0;height:40px;border-top:1px solid #d7dfd4;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:0 28px;color:#7a897d;font-size:10px;background:#f3f5ef99;pointer-events:none}.coordinate{letter-spacing:4px;font-size:10px}.coordinate b{color:#cb7954}.panel{background:#fafbf8;border-left:1px solid var(--line);padding:28px 26px;z-index:3}.panel-title{display:flex;align-items:center;justify-content:space-between}.panel-title h2{font-size:23px;font-weight:550;margin:0;letter-spacing:-.5px}.panel-title .eyebrow{font-size:8px;letter-spacing:1.5px}.cycle-badge{font-size:10px;border:1px solid #d2ded2;padding:5px 8px;color:#66806d;border-radius:20px}.lead{font-size:12px;line-height:1.9;color:#7b857d;margin:16px 0 18px}.playback{display:flex;align-items:center;gap:10px;margin:0 0 18px;font-size:10px}.playback button{border:1px solid #c9d7ca;background:#ecf1e9;border-radius:5px;padding:8px 10px;font-size:11px}.playback span{color:#859083;flex:1}.playback select{background:transparent;border:0;font-size:11px}.steps{display:grid;gap:7px}.step{border:1px solid #e0e5dc;border-radius:7px;padding:12px;display:flex;align-items:center;text-align:left;gap:13px;background:transparent;position:relative}.step.active{border-color:var(--step);background:#fff;box-shadow:0 3px 12px #364e3610}.step-num{font-size:12px;color:#acb5aa;font-weight:600}.step.active .step-num{color:var(--step)}.step strong{display:block;font-size:13px;font-weight:600}.step small{display:block;font-size:10px;color:#92998e;margin-top:3px}.step-icon{margin-left:auto;color:var(--step);font-size:22px}.explanation{padding:17px 0 4px}.phase{display:flex;align-items:center;gap:8px;font-size:10px;color:#798976;flex-wrap:wrap}.phase strong{font-weight:500;color:#c36b49}.explanation h3{font-size:15px;margin:12px 0 8px}.explanation p{font-size:11px;line-height:1.9;color:#748171;margin:0}.progress{height:2px;background:#e2e8de;margin-top:16px}.progress i{height:100%;background:#ca815a;display:block;width:0}.explanation .hint{font-size:9px;margin-top:8px;color:#98a08f}.water-circuits{border-top:1px solid var(--line);margin-top:15px;padding-top:14px}.water-circuits h3{font-size:12px;margin:0 0 14px}.water-circuits h3 small{float:right;font-size:9px;font-weight:400;color:#929b90}.water-circuits div{display:flex;align-items:center;gap:7px;font-size:10px}.water-circuits div>span:last-child{margin-left:auto;color:#8b9786}.water-circuits b{font-weight:550;color:#56755f;margin-left:7px}.water-dot{width:6px;height:6px;border-radius:50%}.chilled{background:#2bafd5}.cooling{background:#78a87b}.water-circuits p{font-size:10px;color:#8e9a88;line-height:1.8;margin:6px 0 12px}.check{font-size:10px;display:flex;align-items:center;gap:6px;accent-color:#2a6550}.specs{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding-top:17px;margin-top:19px}.specs div+div{border-left:1px solid var(--line);padding-left:22px}.specs strong{font-size:25px;font-weight:450}.specs strong span{font-size:10px;margin-left:5px;color:#8f9a8a}.specs small{display:block;font-size:9px;color:#96a18e;margin-top:5px}.energy{font-size:9px;color:#83937c;margin-top:15px}.source{font-size:10px;color:#98a18e;line-height:1.8;border-top:1px solid var(--line);margin-top:15px;padding-top:12px}.source summary{cursor:pointer;color:#71826d}.source p{margin-bottom:0}footer{display:flex;justify-content:space-between;height:40px;align-items:center;padding:0 33px;border-top:1px solid var(--line);font-size:9px;letter-spacing:1px;color:#94a08f;background:#fafbf7}footer span:first-child{font-size:8px;letter-spacing:2px}#labels{position:absolute;inset:0;pointer-events:none}.part-label{position:absolute;transform:translate(-50%,-50%);border:1px solid #ccd9ce;background:#fffffff0;font-size:10px;padding:5px 9px;border-radius:4px;pointer-events:auto;white-space:nowrap;box-shadow:0 3px 10px #21452b0c;display:flex;gap:7px;align-items:center}.part-label::before{content:'';width:5px;height:5px;background:var(--part-color,#5a8b76);border-radius:50%}.part-label.active{border-color:#cf8258;background:#fff6eb}.selection-card{position:absolute;left:26px;bottom:106px;padding:18px 20px;width:305px;background:#fffffff5;border:1px solid #d4dfcf;border-radius:9px;box-shadow:0 10px 25px #27452f12}.selection-card small{font-size:8px;letter-spacing:1.7px;color:#99a28f}.selection-card h3{font-size:16px;margin:10px 0}.selection-card p{font-size:11px;line-height:1.9;color:#7d8a74;margin:0}.selection-card button{position:absolute;right:9px;top:8px;border:0;background:transparent;font-size:20px}dialog{border:1px solid #d7dfd1;border-radius:12px;width:min(1100px,94vw);max-height:94vh;padding:24px;background:#fafbf7;color:var(--ink)}dialog::backdrop{background:#102c2499;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top h2{margin:0;font-size:22px}.dialog-top .eyebrow{margin-bottom:6px}.drawing-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:19px 0}.drawing-tabs button{padding:8px 12px;font-size:11px;border:1px solid var(--line);background:#fff;border-radius:5px}.drawing-tabs button.active{background:#285b49;color:#fff}dialog img{width:100%;background:white;display:block}
@media(min-width:1600px){main{grid-template-columns:minmax(0,1fr) 390px}.panel{padding:32px}.workspace{min-height:850px}.scene-heading{left:45px;top:40px}}
@media(max-width:1100px){.topbar{padding:0 20px}.project .version{display:none}.mode-bar{top:26px;right:17px}.mode-bar button{padding:8px}.mode-bar button span{display:none}h1{font-size:27px}.scene-heading{left:23px;top:90px}.intro{display:none}.legend{gap:10px;left:15px;right:15px;font-size:9px}.panel{padding:25px 20px}main{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:760px){.topbar{height:70px;padding:0 16px}.brand{font-size:13px;letter-spacing:1.3px}.brand-icon{font-size:30px}.brand small{font-size:8px;letter-spacing:1px}.project{display:none}.button{font-size:10px;padding:9px 11px}main{display:block}.workspace{min-height:620px;height:78svh;max-height:820px}.scene-heading{left:22px;top:88px}.scene-heading .eyebrow{font-size:7px;letter-spacing:1px;margin-bottom:7px}h1{font-size:25px;line-height:1.3}.mode-bar{left:16px;right:16px;top:16px;justify-content:space-between}.mode-bar button{flex:1;justify-content:center;padding:10px 5px;font-size:11px}.mode-bar button span{display:inline}.view-tools{top:89px;right:16px}.view-tools button{width:31px;height:31px}.adjust{top:241px;left:16px;right:auto;width:270px;padding:7px 10px}.legend{bottom:51px;gap:8px;flex-wrap:wrap;max-width:340px;margin:auto}.scene-bottom{padding:0 16px;font-size:9px}.coordinate{display:none}.part-label{font-size:9px;padding:4px 6px;gap:4px}.panel{padding:26px 24px;border-left:0;border-top:1px solid var(--line)}.steps{grid-template-columns:1fr 1fr}.step{padding:11px 9px;gap:8px}.step-icon{font-size:17px}.step small{font-size:9px}.lead{max-width:500px}.selection-card{left:16px;bottom:98px;width:min(305px,calc(100% - 65px))}.specs strong{font-size:29px}footer{padding:0 20px}footer span:nth-child(2){display:none}dialog{padding:17px}.drawing-tabs button{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
/* Keep the model visible while the explanation panel scrolls independently. */
main{height:calc(100svh - 126px);min-height:660px}.workspace{height:100%;min-height:0}.panel{height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#bbc9bb transparent}#labels{z-index:2}#mode-note{font-size:9px;color:#80907e;letter-spacing:.3px;margin-top:13px}.scene-heading h1{font-size:clamp(25px,2.6vw,36px)}.source a{color:#527d69}.adjust{top:84px;right:79px;z-index:3}.legend{padding:8px 12px;background:#f4f7efc7;border-radius:7px;left:30px;right:30px;gap:12px}.selection-card{z-index:4}.mode-bar,.view-tools{z-index:4}canvas{outline:none}.panel .eyebrow{font-size:8px;letter-spacing:1px}
@media(max-width:760px){main{height:auto;min-height:0}.workspace{height:78svh;min-height:600px;max-height:820px}.panel{height:auto;overflow:visible}.scene-heading{top:84px}.scene-heading h1{font-size:25px}.adjust{top:226px;left:16px;width:270px;right:auto}.legend{font-size:9px;left:10px;right:10px;bottom:47px;padding:6px 8px;max-width:340px}.scene-bottom{height:40px;line-height:1.4}.scene-bottom span:first-child{max-width:100%}#mode-note{font-size:8px;max-width:270px}.panel{padding-top:24px}.mode-bar{gap:2px}}
