:root{font-family:Microsoft YaHei UI,Noto Sans CJK SC,Segoe UI,sans-serif;color:#dbe3e9;background:#07121a;font-synthesis:none;--bg: #07121a;--panel: #0b1821;--panel-2: #0e1d27;--line: #40505b;--line-soft: #243640;--text: #dbe3e9;--muted: #8fa0aa;--orange: #ff6500;--orange-2: #ff7a18;--cyan: #39d1d0;--gold: #f5b84c}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;background:radial-gradient(circle at 60% 0%,#0c1e29 0,#07121a 45%,#061018);-webkit-font-smoothing:antialiased}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.app-shell{min-width:1640px;min-height:100vh;padding:12px 16px 16px}.topbar{height:58px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line-soft);padding:0 2px 10px}.brand,.header-actions,.legend,.bottom-actions{display:flex;align-items:center}.brand{gap:18px}.brand img{width:123px;height:34px;object-fit:contain}.brand-rule{width:1px;height:36px;background:#5f6d74}.brand h1{margin:0;font-size:22px;font-weight:650;letter-spacing:.02em}.tag{border:1px solid #4a5a64;border-radius:4px;padding:7px 12px;color:#b7c2c9;font-size:14px}.header-actions{gap:0;border:1px solid #43525c;border-radius:5px;overflow:hidden}.header-actions button{height:38px;padding:0 17px;border:0;border-right:1px solid #43525c;background:#0a151d;display:flex;gap:9px;align-items:center;cursor:pointer;font-size:15px}.header-actions button:last-child{border-right:0}.header-actions button:hover{background:#142630;color:#fff}.workspace{min-height:calc(100vh - 86px);display:grid;grid-template-columns:590px minmax(1000px,1fr);gap:10px;padding-top:8px}.left-panel{display:grid;grid-template-columns:292px 298px;border:1px solid var(--line);border-radius:5px;background:#0a1821eb;overflow:hidden}.input-panel,.results-panel{padding:14px 16px;min-width:0}.input-panel{border-right:1px solid var(--line)}h2{margin:0 0 14px;font-size:18px;font-weight:650}h3{margin:13px 0 10px;font-size:15px;font-weight:620;color:#bac5cb}.section-rule{border-top:1px solid #46545c;margin:14px -5px 0}.editor-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.editor-heading h2{margin-bottom:0}.editor-heading span{color:var(--orange-2);font-size:13px;font-weight:650;white-space:nowrap}.draft-notice{margin:9px 0 5px;padding:7px 9px;border-left:2px solid var(--orange);background:#ff650017;color:#ffc195;font-size:11px;line-height:1.4}.number-field{min-height:42px;display:grid;grid-template-columns:1fr 151px;align-items:center;gap:8px;font-size:15px}.field-label{display:flex;align-items:center;gap:9px;white-space:nowrap}.input-wrap{display:grid;grid-template-columns:103px 42px;gap:6px;align-items:center}.input-wrap input,.loss-value input{width:100%;height:35px;border:1px solid #50616d;border-radius:4px;background:#0f1e28;color:#e6edf1;padding:0 10px;text-align:right;font-size:17px;font-variant-numeric:tabular-nums}.unit{color:#c2ccd1;font-size:14px}.swatch{width:12px;height:12px;display:inline-block;flex:0 0 12px}.swatch.vip{background:var(--orange)}.swatch.pu{background:var(--gold)}.swatch.shell{background:#66737b}.swatch.liner{background:#eef3f4}.swatch.door{background:#60727c}.segmented{display:grid;grid-template-columns:1fr 1fr;margin:8px 0 7px}.segmented button{height:40px;border:1px solid #52616b;background:#101e28;cursor:pointer;font-size:16px}.segmented button:first-child{border-radius:4px 0 0 4px}.segmented button:last-child{border-radius:0 4px 4px 0;border-left:0}.segmented button.selected{background:var(--orange);border-color:var(--orange);color:#fff;font-weight:650}.helper{margin:4px 0 0;text-align:right;color:var(--muted);font-size:12px}.auto-field{min-height:42px;display:grid;grid-template-columns:1fr 77px 31px;align-items:center;position:relative;font-size:15px}.auto-field strong{height:35px;line-height:35px;text-align:right;padding-right:9px;border:1px solid #31424c;background:#0d1922;color:#7f929e;border-radius:4px;font-size:16px}.auto-field em{font-style:normal;padding-left:6px}.auto-field small{grid-column:2;color:var(--cyan);text-align:center;margin-top:4px}.loss-heading{display:flex;align-items:center;justify-content:space-between;color:#bac5cb;font-size:15px}.loss-value{display:flex;justify-content:center;align-items:baseline;gap:7px;margin:7px 0 2px}.loss-value input{width:84px;height:48px;font-size:29px;text-align:center;color:#fff;border-color:#a84d12}.loss-value span{font-size:18px}.loss-range{width:100%;accent-color:var(--orange);cursor:pointer}.loss-control p{margin:5px 0 0;color:#81939e;font-size:11px;text-align:center}.results-panel h2{margin-bottom:17px}.hero-result{border-bottom:1px solid #384852;padding:0 0 10px;margin-bottom:10px}.hero-result span,.volume-result span{display:block;color:#c1ccd1;font-size:14px;margin-bottom:4px}.hero-result strong,.volume-result strong{display:block;color:var(--orange);font-size:36px;line-height:1.06;font-weight:650;font-variant-numeric:tabular-nums}.hero-result small,.volume-result small{font-size:17px;margin-left:8px}.volume-result{margin:7px 0 5px}.volume-result strong{color:var(--cyan);font-size:32px}.result-line{min-height:35px;padding:6px 0;border-bottom:1px solid #263740;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;font-size:13px}.result-line span{color:#aebbc3}.result-line strong{color:var(--orange-2);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.cyan{color:var(--cyan)!important}.thermal-card{margin-top:13px;border:1px solid var(--orange);border-radius:5px;overflow:hidden}.thermal-card h3{margin:0;padding:10px 11px;color:var(--orange);font-size:15px;border-bottom:1px solid #75431d}.thermal-card h3 b{color:#66737b;margin:0 5px}.thermal-card .result-line{padding:6px 11px}.risk{margin:0;padding:9px 11px;color:var(--cyan);font-size:13px}.risk.danger{color:#ff6868}.volume-compare h3{margin-bottom:8px}.volume-flow{display:grid;grid-template-columns:1fr 26px 1fr;gap:6px;align-items:center;text-align:center}.volume-flow div{border:1px solid #475862;padding:8px 4px;background:#0a171f}.volume-flow span{display:block;color:#8fa0aa;font-size:11px}.volume-flow b{font-size:15px;font-variant-numeric:tabular-nums}.volume-compare p{margin:7px 0 0;text-align:center;color:var(--cyan);font-size:13px}.main-panel{min-width:0;display:grid;grid-template-rows:minmax(410px,41vh) auto 70px;border:1px solid var(--line);border-radius:5px;overflow:hidden;background:#09161fe6}.visual-stage{min-height:0;border-bottom:1px solid var(--line);position:relative;overflow:hidden;background-image:linear-gradient(rgba(40,61,72,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(40,61,72,.16) 1px,transparent 1px);background-size:32px 32px}.legend{justify-content:center;gap:47px;height:54px;font-size:14px;color:#c0cbd1;background:#07121ac2;position:relative;z-index:2}.legend span{display:flex;gap:8px;align-items:center}.render-grid{height:calc(100% - 54px);display:grid;grid-template-columns:1.15fr .85fr}.iso-render,.front-render{position:relative;min-width:0;overflow:hidden}.front-render{border-left:1px solid #455761}.iso-render img,.front-render img{width:100%;height:100%;display:block;object-fit:contain}.iso-render img{transform:scale(.97)}.front-render img{transform:scale(.88)}.callout,.dim{position:absolute;z-index:2;background:#07121ad6;border:1px solid var(--orange);border-radius:4px;padding:4px 10px;font-size:13px;box-shadow:0 0 0 1px #00000059}.callout.top{top:8%;left:48%}.callout.left{top:42%;left:5%}.callout.back{top:40%;right:4%}.callout.bottom{bottom:6%;left:47%}.dim{border-color:transparent;color:var(--cyan);background:#07121ab3}.dim.width{top:5%;left:39%}.dim.height{right:2%;top:46%}.dim.depth{bottom:3%;left:38%}.comparison-panel{min-height:0;display:flex;flex-direction:column;padding:10px 10px 8px;overflow:hidden}.comparison-heading{display:flex;align-items:baseline;gap:11px;min-height:32px}.comparison-heading h2{margin:0;font-size:16px}.comparison-heading span{color:#8fa0aa;font-size:12px}.comparison-heading strong{margin-left:auto;padding:4px 8px;border:1px solid rgba(255,101,0,.55);border-radius:3px;color:var(--orange-2);background:#ff650014;font-size:12px;font-weight:650}.scenario-grid{flex:1;display:grid;grid-template-columns:repeat(6,minmax(148px,1fr));gap:7px;min-height:0}.scenario,.empty-scenario{min-width:0;padding:0;border:1px solid #41535e;border-radius:4px;background:#0c1c26e0;cursor:pointer;overflow:hidden;text-align:left}.scenario{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.scenario:hover,.empty-scenario:hover{border-color:#81929c;background:#102530}.scenario.active{border:2px solid var(--orange);box-shadow:inset 0 0 0 1px #ff65001f,0 0 14px #ff650014}.scenario-title{min-height:38px;display:flex;align-items:center;justify-content:center;gap:6px;border-bottom:1px solid #3b4d57;font-weight:620;font-size:14px}.scenario-title small{background:var(--orange);padding:2px 5px;border-radius:2px;font-size:10px;color:#fff}.scenario-rows{display:block}.scenario-row{display:grid;grid-template-columns:48% 52%;min-height:28px;align-items:center;border-bottom:1px solid #20333d;font-size:12px}.scenario-row.thermal-start{border-top:1px solid #a6561c}.scenario-row i{font-style:normal;color:#95a5ae;padding-left:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scenario-row b{font-weight:500;color:#d4dde2;padding-right:6px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.scenario.active .scenario-row b{color:var(--orange-2)}.empty-scenario{position:relative;border-style:dashed;color:#b1bdc4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;text-align:center}.empty-scenario strong{position:absolute;top:14px;left:0;right:0;margin:0;font-size:14px}.empty-scenario svg{border:1px solid #b1bdc4;border-radius:50%;padding:4px}.empty-scenario span{font-size:13px}.bottom-actions{min-height:70px;gap:18px;padding:10px 20px;border-top:1px solid var(--line-soft)}.bottom-actions>span{flex:1}.bottom-actions button{min-width:180px;height:48px;border:1px solid #4d5e68;border-radius:4px;background:#0c1a23;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;font-size:16px}.bottom-actions button:hover{border-color:#9aa7ae;background:#122630}.bottom-actions button.primary{background:var(--orange);border-color:var(--orange);color:#fff}.bottom-actions button.primary:hover{background:#ff7a18}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00060ab8;display:grid;place-items:center;z-index:20}.settings-modal{width:520px;border:1px solid #596b75;border-radius:7px;background:#0b1b25;padding:24px;position:relative;box-shadow:0 20px 70px #0000008c}.settings-modal h2{color:var(--orange);font-size:22px}.settings-modal p{color:#aebbc3;line-height:1.7}.modal-close{position:absolute;top:15px;right:15px;border:0;background:transparent;cursor:pointer}.settings-modal dl{margin:18px 0}.settings-modal dl div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #2e424d}.settings-modal dt{color:#aebbc3}.settings-modal dd{margin:0;color:var(--cyan)}.settings-note{padding:13px;border-left:3px solid var(--gold);background:#10232d;color:#b9c4ca;font-size:13px;line-height:1.65}.modal-confirm{width:100%;height:43px;margin-top:18px;border:0;border-radius:4px;background:var(--orange);color:#fff;cursor:pointer}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%);z-index:30;padding:11px 20px;border:1px solid #667984;border-radius:5px;background:#122630;box-shadow:0 10px 30px #00000073}@media(max-width:1800px){.app-shell{min-width:1500px}.workspace{grid-template-columns:540px minmax(950px,1fr)}.left-panel{grid-template-columns:270px 270px}.number-field{grid-template-columns:1fr 140px}.legend{gap:28px}.scenario-grid{grid-template-columns:repeat(6,minmax(138px,1fr))}}@media(max-width:900px){.app-shell{min-width:0;padding:10px}.topbar{height:auto;align-items:flex-start;gap:12px;flex-direction:column;padding-bottom:12px}.brand{flex-wrap:wrap;gap:10px}.brand img{width:100px}.brand h1{font-size:18px}.header-actions{width:100%}.header-actions button{flex:1;justify-content:center;padding:0 7px;font-size:12px}.workspace{display:flex;flex-direction:column;min-height:0}.left-panel{display:grid;grid-template-columns:1fr}.input-panel{border-right:0;border-bottom:1px solid var(--line)}.main-panel{grid-template-rows:530px auto auto}.render-grid{grid-template-columns:1fr}.front-render{display:none}.legend{gap:12px;flex-wrap:wrap;font-size:11px}.scenario-grid{overflow-x:auto;grid-template-columns:repeat(6,210px);min-height:430px}.bottom-actions{flex-wrap:wrap;height:auto}.bottom-actions>span{display:none}.bottom-actions button{flex:1 1 45%;min-width:150px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
