@charset "UTF-8";:root{font-family:Segoe UI,Microsoft YaHei,sans-serif;color:#273442;background:#f4f6f8;font-synthesis:none;font-weight:400;font-size:14px;font-feature-settings:"tnum";--green:#356b59;--muted:#8a949e;--border:#e6eaee}*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button,input,select{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #4d8e77}button{transition:background .15s,color .15s}button:hover:not(:disabled){background:#eaf1ed}h1,h2,h3,p{margin:0}.app-shell{max-width:1920px;margin:auto;padding:0 28px}.app-header{height:100px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:13px;align-items:center}.brand-mark{width:46px;height:46px;background:#2d594b;border-radius:12px;color:#f4faf6;padding:6px}.brand-mark svg{width:100%;height:100%}h1{font-size:22px;letter-spacing:2px;font-weight:650}h1 span{font-size:18px;font-weight:400;letter-spacing:1px;margin-left:12px;padding-left:12px;border-left:1px solid #ccd5d9}.brand p{font-size:9px;letter-spacing:2.7px;color:#8b969e;margin-top:5px}.header-note{display:flex;align-items:center;gap:9px;font-size:11px;color:#87939d}.live-dot{height:6px;width:6px;background:#6e9c88;border-radius:50%}.header-divider{height:13px;width:1px;background:#d9dfe3;margin:0 8px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 342px;gap:20px;align-items:start}.design-area{min-width:0}.canvas-toolbar{display:flex;justify-content:space-between;align-items:center;height:57px;padding:0 22px;background:#fff;border:1px solid var(--border);border-radius:14px 14px 0 0}.canvas-toolbar>div{display:flex;align-items:center;gap:10px}.canvas-toolbar strong{font-size:13px;font-weight:600}.view-icon{font-size:20px;color:#7c8c99}.view-badge{font-size:10px;color:#84929b;border-left:1px solid var(--border);padding-left:12px;margin-left:4px}.validation-badge{font-size:10px;color:#4e7966;background:#edf5f0;padding:6px 9px;border-radius:5px}.validation-badge>span{width:5px;height:5px;background:#5a9679;border-radius:50%}.validation-badge.warning{color:#ab6a29;background:#fff4e9}.validation-badge.warning>span{background:#ca8b40}.scene-canvas{position:relative;background-color:#fcfdfd;background-image:radial-gradient(#d9e0e5 .7px,transparent .7px);background-size:18px 18px;border-left:1px solid var(--border);border-right:1px solid var(--border);overflow:hidden;min-height:610px}.drawing{display:block;width:100%;height:clamp(610px,47vw,780px);touch-action:none}.drawing:not(:active){cursor:grab}.drawing:active{cursor:grabbing}.canvas-view-controls{position:absolute;right:18px;bottom:44px;z-index:2;display:flex;gap:5px}.canvas-view-controls button{min-width:30px;height:30px;padding:4px 8px;border:1px solid #dce5e8;border-radius:5px;background:#ffffffe6;color:#607487;font-size:14px}.canvas-view-controls button:last-child{font-size:10px}.canvas-view-controls button:hover{background:#fff}.module-legend{position:absolute;left:24px;top:24px;background:#fffffff0;border:1px solid #e8edef;border-radius:9px;padding:15px 17px;z-index:1;box-shadow:0 3px 10px #1a333204;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:1.5px;color:#96a1a8}.compass{position:absolute;right:28px;top:25px;color:#7e8d99;text-align:center;width:80px;pointer-events:none}.compass svg{width:72px;height:81px}.compass svg text{font-size:8px;fill:currentColor}.compass>span{font-size:9px;color:#9aa5ad;display:block;margin-top:3px}.panel-slot{cursor:pointer;outline:none}.panel-slot:hover rect{stroke:#8ab49e;stroke-width:1.5}.panel-slot:focus-visible rect{stroke:#51b88c;stroke-width:2}.dimension{stroke-width:.75;pointer-events:none}.dimension-label{stroke:#fcfdfd;stroke-width:4px;paint-order:stroke;stroke-linejoin:round;font-family:Segoe UI,Microsoft YaHei,sans-serif;pointer-events:none}.corner-note{pointer-events:none}.drawing-caption{fill:#657785;font-size:12px;letter-spacing:2px}.drawing-subcaption{fill:#a0aab3;font-size:9px}.canvas-hint{position:absolute;bottom:16px;left:22px;color:#939fa9;font-size:10px;pointer-events:none}.mouse-icon{font-size:16px;margin-right:5px;color:#7c8f9e}.slope-tag{position:absolute;bottom:18px;right:22px;font-size:10px;color:#9aa5ad}.slope-tag b{color:#677b87;font-weight:500;margin-left:6px}.slope-tag span{border-left:1px solid #dfe5e8;margin-left:12px;padding-left:12px}.scene-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--border);border-radius:0 0 14px 14px;padding:14px 22px;font-size:9px;color:#9aa5ad}.color-keys{display:flex;gap:18px}.color-keys>span{display:flex;align-items:center;gap:6px;white-space:nowrap}.color-keys i{width:9px;height:9px;border-radius:2px}.key-roof{background:#202326}.key-module{background:#3b465680}.key-placeholder{background:#e0e5e8;border:1px solid #bbc4cc}.key-post{background:#d95145}.results{display:grid;grid-template-columns:1.3fr 1fr 1.15fr 1fr;background:#fff;border:1px solid var(--border);border-radius:13px;margin-top:18px;padding:23px 0}.results>div{padding:0 24px;border-left:1px solid var(--border)}.results>div:first-child{border-left:0}.results>div>span{font-size:11px;color:#87949e}.results strong{font-size:27px;font-weight:550;display:block;margin:10px 0 8px;line-height:1.1;letter-spacing:-.6px}.results strong small{font-size:11px;font-weight:400;color:#8d9aa4;letter-spacing:0}.results .result-capacity strong{color:#356b59;font-size:33px}.results .result-capacity small{color:#5c8a77;font-size:13px}.results p{font-size:10px;color:#a1aab1}.design-summary{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#98a4ad;padding:13px 5px}.design-summary b{font-weight:500;color:#758592}.parameters{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden}.parameters-header{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 20px;border-bottom:1px solid var(--border)}.parameters-header h2{font-size:16px;font-weight:600}.parameters-header p{font-size:10px;color:#9aa4ac;margin-top:7px}.parameter-body{padding:0 22px}.parameter-section{padding:4px 0 10px}.parameter-section:last-child{border-bottom:0}.parameter-section h3{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;margin-bottom:11px}.parameter-section h3 em{font-style:normal;font-size:9px;color:#759182;background:#f0f5f2;padding:3px 5px;border-radius:4px;font-weight:500}.field-row{display:flex;gap:12px}.field-row+.field-row{margin-top:13px}.field{display:block;flex:1;min-width:0}.field>span,.stepper-field>span{display:block;font-size:10px;color:#83909a;margin-bottom:8px}.input-wrap{display:flex;align-items:center;border:1px solid #dfe5e8;border-radius:6px;background:#fff;overflow:hidden;height:39px}.input-wrap:focus-within{border-color:#6f9b86;box-shadow:0 0 0 2px #5c937a0f}.input-wrap input{border:0;background:transparent;min-width:0;width:100%;padding:9px 10px;font-size:13px;color:#345;outline:none}.input-wrap>span{font-size:10px;color:#a6afb7;padding-right:10px;flex-shrink:0}input::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.help{font-size:10px;line-height:1.9;color:#a1aab1;margin-top:10px}.select-wrap select{width:100%;height:40px;background:#fff;border:1px solid #dfe5e8;border-radius:6px;padding:0 8px;font-size:11px;color:#425261}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-heading h3{margin-bottom:0}.text-button{border:0;background:transparent;font-size:10px;color:#4d806a;padding:4px 6px;border-radius:4px}.stepper-row{display:flex;gap:12px}.stepper-field{flex:1;min-width:0}.stepper{display:flex;border:1px solid #dfe5e8;border-radius:6px;height:38px;align-items:center;overflow:hidden}.stepper button{height:100%;width:35px;flex-shrink:0;border:0;background:#f7f9fa;color:#778993;font-size:18px}.stepper output{flex:1;text-align:center;font-size:13px;font-weight:500}.restore-button{width:100%;border:1px solid #dbe6df;background:#f5f9f6;color:#4f7d65;border-radius:5px;font-size:10px;padding:8px;margin-top:10px}.angle-controls{display:flex;gap:10px}.angle-controls>button{border:1px solid #e1e7ea;border-radius:6px;background:#f9fafb;width:39px;font-size:19px;color:#718491}.angle-controls .input-wrap{flex:1}.angle-controls input{text-align:center}.angle-range{accent-color:#50836a;width:100%;height:3px;display:block;margin:19px 0 12px;cursor:pointer}.range-labels{display:flex;justify-content:space-between;font-size:8px;color:#a4aeb6}.rule-status{margin:0 18px 18px;padding:12px 13px;border:1px solid #e1ece5;border-radius:7px;background:#f4f8f5;color:#5c806b}.rule-status strong{font-size:10px;font-weight:500}.rule-status p{font-size:10px;line-height:1.9;margin-top:5px;color:#91a498}.rule-status.error{background:#fff6ed;border-color:#f1dfca;color:#a66c39}.rule-status ul{font-size:10px;padding-left:15px;line-height:1.8;margin:6px 0 0}.empty-scene{height:610px;border:1px solid var(--border);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:30px}.empty-scene svg{width:70px;height:70px;color:#a9bfb3}.empty-scene h2{font-size:17px;font-weight:500}.empty-scene p{font-size:12px;color:#9e8a72}.app-footer{display:flex;justify-content:space-between;font-size:9px;color:#a8b1b9;padding:18px 2px 22px}@media(min-width:1500px){.workspace{grid-template-columns:minmax(0,1fr) 362px;gap:24px}.app-shell{padding:0 40px}.parameter-body{padding:0 26px}.parameters-header{padding:24px 26px}.parameter-section{padding:6px 0 12px}.drawing{height:770px}.scene-canvas{min-height:770px}}@media(max-width:1100px){.app-shell{padding:0 18px}.workspace{grid-template-columns:minmax(0,1fr) 308px;gap:14px}.parameter-body{padding:0 17px}.parameters-header{padding:20px 17px}.scene-footer{padding:12px;flex-wrap:wrap}.color-keys{gap:12px}.results>div{padding:0 13px}.results strong{font-size:22px}.results .result-capacity strong{font-size:26px}.module-legend{left:15px;top:18px;padding:12px}.compass{right:14px}.header-note{font-size:10px}.drawing{height:650px}.canvas-toolbar{padding:0 14px}.canvas-toolbar>div{gap:6px}.view-badge{display:none}.canvas-hint{left:13px;font-size:9px}.slope-tag{right:13px}.slope-tag span{display:none}}@media(max-width:800px){.app-header{height:86px}.header-note{display:none}.workspace{grid-template-columns:minmax(0,1fr)}.parameters{grid-row:2}.parameter-body{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.orientation-section{grid-column:1/-1}.results{margin-top:12px}.drawing{height:auto;min-height:620px}.scene-canvas{height:50dvh;min-height:320px}.module-legend{transform:scale(.85);transform-origin:top left}.design-summary{flex-wrap:wrap}.app-footer{gap:15px}.compass{width:65px}.compass svg{width:60px}.parameter-section{padding:10px 0 20px}.app-shell{padding:0 12px}}@media(max-width:480px){h1{font-size:18px}h1 span{font-size:15px}.brand-mark{width:40px;height:40px}.brand p{font-size:8px;letter-spacing:1.7px}.results{grid-template-columns:1fr 1fr;row-gap:22px}.results>div:nth-child(3){border-left:0}.parameter-body{display:block}.scene-footer>span{display:none}.module-legend{transform:scale(.72)}.drawing,.scene-canvas{min-height:560px}.canvas-toolbar strong{font-size:11px}.validation-badge{font-size:8px;padding:5px 6px}.compass{top:18px;right:10px}.canvas-hint,.slope-tag{font-size:8px}.scene-footer{padding:11px}.color-keys{gap:14px}.app-footer{font-size:8px}.drawing-caption{font-size:16px}.drawing-subcaption{font-size:12px}}html,body,#root{height:100%;overflow:hidden}.app-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.app-header{height:76px;flex:0 0 76px}.workspace{flex:1;min-height:0;align-items:stretch;overflow:hidden}.design-area{min-height:0;display:flex;flex-direction:column}.canvas-toolbar{height:46px;flex:0 0 46px}.scene-canvas{flex:1;min-height:0}.drawing{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:0}.scene-footer{flex:0 0 auto;min-height:36px;padding-top:10px;padding-bottom:10px}.results{flex:0 0 auto;margin-top:12px;padding:16px 0}.results strong{margin-top:8px;margin-bottom:6px}.design-summary{flex:0 0 auto;padding-top:9px;padding-bottom:9px}.parameters{height:100%;min-height:0;display:flex;flex-direction:column}.parameters-header{flex:0 0 auto;padding-top:18px;padding-bottom:18px}.parameter-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#b7c9bf transparent}.rule-status{flex:0 0 auto;max-height:28%;overflow-y:auto;margin-top:12px;overscroll-behavior:contain}.empty-scene{flex:1;height:auto;min-height:0}.app-footer{height:30px;flex:0 0 30px;padding-top:8px;padding-bottom:8px}.roof{fill:#202326;stroke:#111416;stroke-width:1.8}.panel-slot:hover .panel-body,.panel-slot:focus-visible .panel-body{stroke:#3b9875;stroke-width:2}.panel-slot:hover .panel-frame,.panel-slot:focus-visible .panel-frame{stroke:#dbf5e6;stroke-width:1}@media(max-height:800px)and (min-width:801px){.app-header{height:64px;flex-basis:64px}.results{padding:12px 0;margin-top:10px}.results strong{font-size:23px}.results .result-capacity strong{font-size:28px}.module-legend{transform:scale(.85);transform-origin:top left;top:16px;left:18px}.compass{top:15px;right:18px;transform:scale(.85);transform-origin:top right}}@media(max-width:800px){.workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:10px}.workspace.is-shared{grid-template-rows:minmax(0,1fr)}.parameters{display:none}.parameters.is-mobile-open{display:grid;position:fixed;z-index:50;top:auto;right:0;bottom:52px;left:0;height:50dvh;max-height:calc(100dvh - 56px);grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);background:#ffffff52;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);box-shadow:0 10px 32px #18292345;border-radius:16px 16px 0 0;animation:parameters-sheet-up .2s ease-out}.parameters.has-errors{grid-template-columns:minmax(0,1fr) 190px}.parameters-header{grid-column:1/-1;padding:10px 16px}.parameters-header p{display:none}.parameter-body{display:block;padding:0 16px}.rule-status{align-self:start;max-height:100%;margin:10px}.parameter-section{padding:3px 0 10px}.app-header{height:60px;flex-basis:60px}.app-footer{height:24px;flex-basis:24px;font-size:8px;padding:5px 0}.canvas-toolbar{height:36px;flex-basis:36px;position:relative}.mobile-parameters-toggle{display:flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #dce7e0;border-radius:6px;background:#f7faf8;color:#3e6b55;font-size:11px}.mobile-parameters-toggle svg{width:14px;height:14px;transition:transform .15s}.mobile-parameters-toggle svg.is-open{transform:rotate(180deg)}.mobile-parameters-close{display:grid;place-items:center;width:32px;height:32px;margin-left:6px;border:0;border-radius:6px;background:transparent;color:#61756a;font-size:24px;line-height:1}.parameters-header{position:relative}.app-footer{height:52px;flex:0 0 52px;padding:4px 0}.app-footer .mobile-parameters-toggle{position:static;z-index:60;left:auto;right:auto;bottom:auto;width:100%;height:44px;flex:1;justify-content:center;border-radius:0;background:#fffffff0}.scene-footer{min-height:26px;padding-top:6px;padding-bottom:6px}.results{grid-template-columns:1.3fr 1fr 1fr 1fr;padding:9px 0;margin-top:8px;row-gap:0}.results>div:nth-child(3){border-left:1px solid var(--border)}.results>div{padding:0 9px}.results>div>span{font-size:9px}.results strong,.results .result-capacity strong{font-size:20px;margin:5px 0 0}.results strong small{font-size:9px}.results p{display:none}.design-summary{padding:5px 0;font-size:8px}.drawing{height:100%;min-height:0;transform:none}.module-legend{transform:scale(.48);transform-origin:top left;top:8px;left:8px}.compass{transform:scale(.7);transform-origin:top right;top:10px;right:10px}.canvas-hint{bottom:8px}.canvas-view-controls{right:8px;bottom:34px}.canvas-view-controls button{min-width:28px;height:28px;padding:3px 6px}.slope-tag{bottom:9px}}@media(max-width:480px){.app-header{height:132px;flex-basis:132px;align-items:flex-start}.brand{flex:0 0 auto;transform:translateY(-30px)}.project-title{top:70px;left:12px;right:12px;width:auto;max-width:none;transform:none;justify-content:center}.header-actions{position:absolute;right:0;top:10px;bottom:auto;width:auto}.parameters.has-errors{grid-template-columns:minmax(0,1fr) 125px}.parameters-header h2{font-size:13px}.rule-status{padding:8px;margin:8px 8px 8px 0}.rule-status p,.rule-status ul{font-size:9px}.results strong,.results .result-capacity strong{font-size:17px}.results>div{padding:0 7px}.module-legend{transform:scale(.28);transform-origin:top left}.compass{transform:scale(.55)}.brand-mark{width:34px;height:34px}}.module-legend{width:260px;padding:14px 16px}.legend-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.legend-header strong{font-size:23px;font-weight:600;line-height:1;color:#303e4c}.legend-header small{font-size:11px;font-weight:400;color:#7b8792}.module-comparison{display:block;width:100%;height:auto;overflow:visible}.legend-foot{font-size:8px;color:#94a1ab;white-space:nowrap}.field>label{display:block;font-size:10px;color:#83909a;margin-bottom:8px}.input-wrap.is-pending{border-color:#c9a46f;background:#fffdf8}.constraint-stepper .stepper-input{display:flex;align-items:center;flex:1;min-width:0;height:100%}.constraint-stepper input{width:100%;height:100%;min-width:0;border:0;outline:none;background:transparent;text-align:center;padding:0 2px;color:#345;font-size:13px}.constraint-stepper .stepper-input>span{flex-shrink:0;padding-right:5px;font-size:9px;color:#a6afb7}.constraint-stepper:focus-within{border-color:#6f9b86;box-shadow:0 0 0 2px #5c937a0f}.constraint-stepper.is-pending{border-color:#c9a46f;background:#fffdf8}.over-limit .dimension{stroke-width:1.3}.over-limit .dimension-label{font-weight:650}.supplier-options{display:flex;align-items:center;gap:3px;flex-shrink:0;padding:3px;background:#f0f4f2;border:1px solid #e3eae6;border-radius:8px}.supplier-options label{position:relative;display:flex;align-items:center;justify-content:center;min-width:72px;min-height:38px;padding:0 13px;border:1px solid transparent;border-radius:6px;font-size:12px;font-weight:500;color:#687a70;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.supplier-options label:has(input:checked){background:#fff;border-color:#dce7e0;color:#285744;box-shadow:0 1px 3px #233c3014}.supplier-options input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.supplier-options label:has(input:focus-visible){outline:2px solid #4d8e77;outline-offset:2px;z-index:1}.app-header{position:relative;gap:16px;align-items:center}.brand{gap:12px;flex:1;align-self:center}.project-title{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px;color:#25352f;white-space:nowrap}.project-title>span{font-size:22px;font-weight:600;letter-spacing:-.45px}.project-title>span[role=button]{cursor:pointer;border-radius:3px}.project-title>span[role=button]:focus-visible{outline:2px solid #4d8e77;outline-offset:3px}.project-title button{display:grid;place-items:center;width:30px;height:30px;padding:6px;border:0;border-radius:5px;background:transparent;color:#829087}.project-title button:hover{background:#edf3ef;color:#356b59}.project-title button svg{width:17px;height:17px}.project-title input{width:190px;padding:5px 7px;border:1px solid #cbdad0;border-radius:5px;font-size:22px;color:#25352f}.header-actions{display:flex;align-items:center;gap:9px}.header-actions button,.primary-button,.share-link-row button{border:1px solid #dbe4df;border-radius:6px;background:#fff;color:#4b695c;padding:9px 13px;font-size:11px;white-space:nowrap}.header-actions button.icon-action{display:grid;place-items:center;width:38px;height:36px;padding:8px}.header-actions button.icon-action svg{width:19px;height:19px}button.primary-button{background:#356b59;border-color:#356b59;color:#fff}button.primary-button:hover:not(:disabled){background:#285744}.share-panel{position:absolute;right:0;top:calc(100% - 5px);z-index:20;width:min(460px,100%);padding:18px;background:#fff;border:1px solid #dce5df;border-radius:10px;box-shadow:0 12px 38px #203a3024}.share-panel-heading{display:flex;align-items:center;justify-content:space-between;font-size:13px}.share-panel-heading button{border:0;background:transparent;color:#8b9891;font-size:19px;padding:0 3px}.share-panel p{font-size:11px;color:#829087;line-height:1.8;margin:9px 0}.share-link-row{display:flex;gap:8px}.share-link-row input{flex:1;min-width:0;padding:9px;border:1px solid #dbe4df;border-radius:5px;font-size:11px;color:#5d7165;background:#f8faf9}.share-panel .local-share-note{color:#a27c47;font-size:10px;margin-bottom:0}.shared-banner{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;margin-bottom:12px;background:#eaf3ed;border:1px solid #d6e7dc;border-radius:9px;color:#436c55}.shared-banner strong{font-size:12px;margin-right:16px;font-weight:600}.shared-banner span{font-size:10px;color:#7e9887}.feedback-toast.is-error{color:#a96044;background:#fff6f0;border-color:#f0d8c8}.feedback-toast{position:fixed;z-index:200;top:max(16px,env(safe-area-inset-top));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:16px;width:max-content;max-width:calc(100vw - 32px);padding:12px 16px;border:1px solid #dfe9e2;border-radius:10px;background:#f5f9f6;color:#37664f;box-shadow:0 6px 24px #203a3026;font-size:14px;line-height:1.5}.feedback-toast span{min-width:0;overflow-wrap:anywhere}.feedback-toast button{flex-shrink:0;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:transparent;color:#61806b;font-size:22px;cursor:pointer}.ridge-control{cursor:move;touch-action:none;outline:none}.ridge-control:hover .ridge-line,.ridge-control:focus-visible .ridge-line{stroke:#df3154;stroke-width:3.5}.ridge-slope-count .dimension-label{font-size:14px}@media(max-width:800px){.ridge-slope-count .dimension-label{font-size:20px!important}}.results .installed-slope-counts{display:flex;flex-wrap:wrap;gap:2px 8px;line-height:1.4;font-size:11px}.installed-slope-counts span{white-space:nowrap}.house-orientation{margin-top:8px}.house-orientation h3{font-weight:400;color:#83909a}.parameters .constraint-stepper input.is-modified,.parameters .stepper output.is-modified{color:#d34238}.parameters .parameter-section{padding:3px 0 6px}.parameters .parameter-section h3,.parameters .section-heading{margin-bottom:6px}.parameters .section-heading h3{margin-bottom:0}.parameters .field>label,.parameters .field>span,.parameters .stepper-field>span{margin-bottom:4px}.parameters .field-row+.field-row{margin-top:6px}.parameters .array-shift-fields{margin-top:6px}@media(min-width:801px)and (max-height:900px){.parameters .parameter-section{padding:2px 0 4px}.parameters .parameter-section h3,.parameters .section-heading{margin-bottom:4px}.parameters .section-heading h3{margin-bottom:0}.parameters .stepper,.parameters .angle-controls .input-wrap{height:32px}.parameters .module-picker-trigger{min-height:36px;padding-top:6px;padding-bottom:6px}.parameters .field-row+.field-row,.parameters .array-shift-fields,.parameters .house-orientation{margin-top:4px}}.workspace{position:relative}.workspace.is-shared{grid-template-columns:minmax(0,1fr)}.workspace.is-shared .parameters,.mobile-parameters-toggle,.mobile-parameters-close{display:none}.loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:15;background:#f5f8f6ef;display:flex;align-items:center;justify-content:center;color:#577563;font-size:14px;border-radius:12px}@media(max-width:800px){.app-header{position:relative;height:112px;min-height:112px;flex:0 0 112px;flex-wrap:nowrap;align-items:flex-start;gap:9px;padding:12px 0 0}.brand{flex:0 0 auto;transform:translateY(-30px)}.header-actions{position:absolute;right:0;top:14px;width:auto;justify-content:flex-end;gap:7px}.project-title{top:66px;left:12px;right:12px;width:auto;max-width:none;transform:none;justify-content:center;white-space:normal;text-align:center}.project-title>span{font-size:18px;line-height:1.15}.project-title input{width:150px;font-size:18px}.project-title button{width:24px;height:24px;padding:4px}.header-actions button{padding:7px 10px;font-size:10px}.shared-banner{padding:8px 10px;margin-bottom:8px}.shared-banner strong{display:block;font-size:11px;margin:0 0 3px}.shared-banner span{font-size:9px}.shared-banner button{font-size:10px;padding:8px}}@media(min-width:801px)and (max-width:1100px){.app-header{height:112px;flex-basis:112px;align-items:flex-start;padding-top:12px}.brand{flex:0 0 auto}.header-actions{position:absolute;right:0;top:14px}.project-title{top:66px;left:12px;right:12px;width:auto;transform:none;justify-content:center}}@media(max-width:800px){.mobile-parameters-toggle{display:flex;font-size:18px}}@media(max-width:800px){@keyframes parameters-sheet-up{0%{transform:translateY(24px);opacity:.7}to{transform:translateY(0);opacity:1}}}@media(max-width:800px){.mobile-parameters-toggle{display:flex}.mobile-parameters-close{display:grid;position:absolute;z-index:3;top:8px;right:10px;width:36px;height:36px;margin:0;font-size:28px}.parameters-header .supplier-options{margin-right:42px}.app-footer .mobile-parameters-toggle{display:flex}}@media(max-width:800px){.parameters.has-errors{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.parameters.is-mobile-open .rule-status{position:fixed;z-index:55;left:12px;right:12px;bottom:52px;max-height:22dvh;overflow:auto;margin:0}}@media(max-width:800px){.dimension-label{font-size:24px!important}.drawing-caption{font-size:25px!important}.drawing-subcaption{font-size:18px!important}.compass svg text{font-size:12px!important}.compass>span,.canvas-hint,.slope-tag{font-size:12px}.scene-footer{font-size:12px}.results>div>span{font-size:12px}.module-legend{transform:scale(.52)}.module-comparison text{font-size:18px!important}.legend-header .eyebrow{font-size:12px}.legend-header strong{font-size:18px}.color-keys{gap:10px}.color-keys>span{font-size:11px}}@media(max-width:480px){.module-legend{transform:scale(.46)}.module-comparison text{font-size:21px!important}.color-keys{gap:7px}.color-keys>span{font-size:10px}}@media(max-width:800px){.module-legend,.compass{display:none}.compass svg{width:76px;height:86px}.compass svg text{font-size:14px!important}.compass>span{font-size:12px}}.mobile-parameters-backdrop{display:none}@media(max-width:800px){.mobile-parameters-backdrop{display:block;position:fixed;top:0;right:0;bottom:52px;left:0;z-index:49;padding:0;border:0;background:transparent;cursor:default}}@media(max-width:800px){.parameters input[type=number],.parameters select{font-size:16px}}@media(min-width:801px){.dimension-label{font-size:17px}.drawing-caption{font-size:19px}.drawing-subcaption{font-size:14px}.compass svg text{font-size:13px}.compass>span,.canvas-hint,.slope-tag{font-size:14px}.scene-footer{font-size:14px}.module-comparison text{font-size:13px}.legend-foot{font-size:11px}.legend-header .eyebrow{font-size:12px}}.parameters-header h2{font-size:18px}.parameters .parameter-section h3{font-size:14px}.parameters .parameter-section h3 em{font-size:11px}.parameters .field>label,.parameters .field>span,.parameters .stepper-field>span{font-size:14px}.parameters .input-wrap>span,.parameters .constraint-stepper .stepper-input>span{font-size:11px}.parameters .range-labels{font-size:10px}.parameters .text-button,.parameters .restore-button{font-size:12px}.parameters .supplier-options label{font-size:13px}@media(max-width:480px){.parameters-header h2{font-size:16px}}.parameters .stepper output{font-size:14px}@media(min-width:801px){.parameters input[type=number],.parameters select{font-size:14px}}.module-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:10px 12px;border:1px solid #dfe5e8;border-radius:7px;background:#fff;color:#425261;text-align:left}.module-picker-trigger>span{display:flex;align-items:center;gap:12px;min-width:0}.module-picker-trigger strong,.module-picker-menu strong{font-size:14px;font-weight:600;white-space:nowrap}.module-picker-trigger span span{font-size:12px;color:#83909a;white-space:nowrap}.module-picker-trigger svg,.module-picker-menu svg{width:16px;height:16px;flex-shrink:0;color:#4d806a}.module-picker-menu{position:fixed;z-index:100;overflow-y:auto;overscroll-behavior:contain;padding:4px;border:1px solid #dbe5df;border-radius:9px;background:#fff;box-shadow:0 8px 28px #203a302e}.module-picker-menu button{position:relative;display:flex;align-items:center;width:100%;height:45px;padding:0 34px 0 12px;border:0;border-radius:6px;background:transparent;color:#425261;text-align:left}.module-picker-menu button>span{display:flex;flex:1;align-items:center;justify-content:space-between;gap:8px;min-width:0}.module-picker-menu button span span{font-size:12px;color:#83909a;white-space:nowrap}.module-picker-menu button>svg{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.module-picker-menu button[aria-selected=true]{background:#eaf3ee;color:#285744}.module-picker-menu button:hover,.module-picker-menu button:focus{background:#f0f6f2;outline-offset:-2px}@media(max-width:800px){.module-picker-trigger{min-height:48px}.module-picker-trigger strong,.module-picker-menu strong{font-size:16px}}.legend-header{gap:8px}.legend-header strong{white-space:nowrap}.legend-close{position:absolute;top:0;right:0;display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:4px;background:transparent;color:#7e8d99;font-size:19px;line-height:1;pointer-events:auto}.legend-show{position:absolute;left:24px;top:24px;z-index:2;padding:7px 10px;border:1px solid #dfe7e2;border-radius:6px;background:#fffffff0;color:#607487;font-size:12px}@media(max-width:800px){.legend-show{display:none}}.help-guide{display:flex;align-items:center}.help-guide-panel{position:fixed;top:82px;right:max(24px,calc((100vw - 1840px)/2));z-index:120;display:flex;flex-direction:column;width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 106px);padding:22px;border:1px solid #dfe7e2;border-radius:12px;color:#425261;background:#fff;box-shadow:0 16px 48px #203a3029;text-align:left}.help-guide-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.help-guide-heading>div>span{font-size:9px;letter-spacing:1.5px;color:#93a29a}.help-guide-heading h2{margin:6px 0 0;font-size:18px;font-weight:600;color:#344c3f}.header-actions .help-guide-close{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:transparent;color:#7c8d83;font-size:24px;line-height:1}.help-guide-intro{flex-shrink:0;margin:12px 0 18px;font-size:12px;line-height:1.7;color:#83918a}.help-guide-features{display:grid;gap:16px;min-height:0;margin:0;padding:0 8px 0 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7c9bf transparent}.help-guide-features dt{font-size:14px;font-weight:600;color:#4d695a}.help-guide-features dt span{display:inline-block;width:26px;font-size:10px;font-weight:400;color:#8fa499}.help-guide-features dd{margin:6px 0 0 26px;font-size:13px;line-height:1.8;color:#75847b}.help-guide-qr{display:flex;align-items:center;gap:16px;flex-shrink:0;margin-top:18px;padding-top:16px;border-top:1px solid #e6ece8}.help-guide-qr img{flex-shrink:0}.help-guide-qr h3{font-size:13px;font-weight:500}.help-guide-qr p,.help-guide-qr a{display:block;margin-top:6px;font-size:11px;line-height:1.7;color:#80968a;overflow-wrap:anywhere}@media(max-width:800px){.help-guide-panel{top:66px;right:12px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 90px - env(safe-area-inset-bottom,0px));padding:20px}.help-guide-qr{display:none}}@media(hover:none)and (pointer:coarse){.help-guide-qr{display:none}}@media(max-width:480px){.header-actions{gap:6px}.header-actions button.icon-action{width:32px;padding:6px}.header-actions button.icon-action svg{width:18px;height:18px}}@media(max-width:380px){.brand h1 span{margin-left:8px;padding-left:8px}.brand{gap:8px}}.saved-designs{display:flex;align-items:center}.saved-designs-menu{position:fixed;z-index:110;width:360px;max-width:calc(100vw - 24px);max-height:min(480px,calc(100dvh - 90px));display:flex;flex-direction:column;border:1px solid #dce6df;border-radius:10px;background:#fff;color:#425261;box-shadow:0 12px 36px #203a3029;overflow:hidden}.saved-designs-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #edf1ee}.saved-designs-heading strong{font-size:14px;font-weight:600}.saved-designs-heading span,.saved-designs-note{font-size:11px;color:#91a096}.saved-designs-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:5px}.header-actions .saved-designs-list button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;padding:12px 10px;border:0;border-radius:5px;background:transparent;color:#496351;text-align:left;white-space:normal}.saved-designs-list strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.saved-designs-list button span{font-size:11px;color:#91a096}.saved-designs-list p{padding:22px 12px;font-size:13px;line-height:1.8;color:#91a096}.saved-designs-note{padding:10px 16px;border-top:1px solid #edf1ee}@media(max-width:480px){.header-actions{gap:4px}.header-actions button.icon-action{width:28px;padding:5px}}@media(max-width:380px){.header-actions button.icon-action{width:26px}}.saved-design-row{display:flex;align-items:center;gap:4px}.saved-design-row:hover,.saved-design-row:focus-within,.saved-design-row.is-current{background:#edf5f0;border-radius:6px}.dimension-overlay{position:fixed;z-index:180;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:16px;background:#192d254d;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dimension-dialog{width:min(1100px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dce6df;border-radius:14px;box-shadow:0 18px 70px #152a2940;color:#34483f}.dimension-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-bottom:16px;scrollbar-width:thin;scrollbar-color:#b7c9bf transparent}.dimension-dialog>header{position:relative;flex:0 0 auto;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;background:#fff;border-bottom:1px solid #e9efeb}.dimension-unit{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto;font-size:13px;color:#6f8477}.dimension-unit select{padding:6px 10px;border:1px solid #cfdfd4;border-radius:6px;background:#fff;color:#376a51}.dimension-unit>span{font-size:12px;color:#8a9890}.dimension-dialog h2{font-size:20px;font-weight:600}.dimension-dialog header p{margin-top:5px;font-size:12px;color:#83938a}.dimension-dialog .dimension-close{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;padding:0;border:0;border-radius:6px;background:transparent;color:#74877b}.dimension-close svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.dimension-actions,.dimension-actions-main{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.dimension-actions{padding:14px 22px}.dimension-actions-main>span{font-size:12px;color:#8a9890}.dimension-actions button,.dimension-dialog footer button{border:1px solid #cfdfd4;border-radius:6px;background:#f5f9f6;color:#376a51;padding:9px 14px;font-size:14px;white-space:nowrap}.dimension-content{position:relative;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:16px;padding:0 22px}.dimension-source,.dimension-result{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:320px;border:1px solid #dfe8e2;border-radius:8px;background:#fafcfb;overflow:hidden}.dimension-source{flex-direction:column;padding:12px;border-style:dashed}.dimension-source.is-dragging{border-color:#4d9370;background:#eaf5ed}.dimension-source img{display:block;width:100%;height:300px;object-fit:contain}.dimension-source>span{max-width:100%;padding-top:8px;font-size:12px;color:#8a9890;overflow-wrap:anywhere}.dimension-image-trigger{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.dimension-image-trigger:focus-visible{outline:2px solid #42775d;outline-offset:3px}.dimension-image-overlay{position:fixed;z-index:3;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#14241cdb}.dimension-image-view{position:relative;display:flex;flex-direction:column;width:min(95vw,1400px);height:calc(100dvh - 40px);max-width:100%;max-height:100%;padding:12px;background:#fff;border-radius:8px}.dimension-image-viewport{flex:1;min-height:0;display:grid;place-items:center;overflow:hidden;touch-action:none;cursor:grab}.dimension-image-viewport:active{cursor:grabbing}.dimension-image-viewport img{display:block;max-width:100%;max-height:100%;object-fit:contain;-webkit-user-select:none;user-select:none;pointer-events:none}.dimension-image-close{position:absolute;z-index:1;right:16px;top:16px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:#fff;color:#34483f;box-shadow:0 2px 10px #0004;cursor:pointer}.dimension-image-close svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.dimension-image-controls{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;color:#34483f;font-size:14px}.dimension-image-controls button{min-width:36px;height:34px;padding:0 10px;border:1px solid #d7e3da;border-radius:6px;background:#fff;color:#34483f;font-size:18px;cursor:pointer}.dimension-image-controls button:last-child{font-size:13px}.dimension-image-controls button:disabled{opacity:.4;cursor:default}.dimension-source>p,.dimension-result>p{text-align:center;font-size:14px;color:#83938a;line-height:2}.dimension-source small{font-size:12px}.dimension-result svg{display:block;width:100%;max-height:450px;height:auto}.dimension-result svg text{font-size:24px}.dimension-progress{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;padding:20px;background:#ffffffe6;color:#42775d;font-size:14px;pointer-events:none}.dimension-progress>div{display:flex;flex-direction:column;align-items:center;gap:10px;width:min(360px,100%);padding:18px;text-align:center;background:#fff;border:1px solid #dfe8e2;border-radius:8px}.dimension-progress progress{width:100%;height:10px;accent-color:#42775d}.dimension-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px 22px}.dimension-values label>span{display:block;margin-bottom:7px;font-size:13px;color:#6f8477}.dimension-values small{margin-left:6px;font-size:11px;color:#b17b3b}.dimension-values .dimension-number{display:flex;align-items:center;gap:6px;border:1px solid #d7e3da;border-radius:6px;padding:0 10px;background:#fff}.dimension-values input{width:100%;min-width:0;border:0;background:transparent;padding:10px 0;font-size:16px;color:#34483f}.dimension-values .dimension-number>span{font-size:12px;color:#95a298}.dimension-dialog>footer{flex:0 0 auto;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:14px 22px;border-top:1px solid #e9efeb;background:#fff}.dimension-footer-info{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#6a8171}.dimension-dialog .dimension-missing{color:#b27636}.dimension-footer-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.dimension-footer-actions{display:flex;gap:8px;flex-shrink:0;margin-left:auto}.dimension-dialog footer .dimension-design{background:#356c56;color:#fff;border-color:#356c56}.dimension-dialog footer .dimension-design:hover:not(:disabled){background:#28553f}.roof-shape-note{font-size:12px;color:#7d8e85;margin:0 0 8px}.sketch-review{padding:16px 22px 0}.sketch-review strong{font-size:14px;font-weight:600}.sketch-shapes{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.sketch-shapes button{border:1px solid #d7e3da;border-radius:6px;background:#f7faf8;color:#5e7969;padding:8px 10px;font-size:13px}.sketch-shapes button[aria-pressed=true]{background:#356c56;color:#fff;border-color:#356c56}.sketch-review p{margin-top:8px;font-size:12px;line-height:1.6;color:#86988c}.dimension-field select{display:block;width:100%;min-width:0;margin-top:7px;padding:7px 4px;border:1px solid #d7e3da;border-radius:5px;background:#fff;color:#6f8477;font-size:13px}.sketch-confirm{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;color:#5f7c69;line-height:1.4}.sketch-confirm input{width:17px;height:17px;flex-shrink:0;accent-color:#356c56}.sketch-confirm:has(input:disabled){color:#98a39b}.sketch-placement>p{margin:0 22px;color:#86988c;font-size:12px;line-height:1.6}.sketch-placement .dimension-values{padding-top:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.sketch-result-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}.sketch-result-heading .text-button{font-size:13px}.sketch-shape-correction{margin-top:10px;padding:10px 12px;border:1px solid #dfe8e2;border-radius:6px;background:#f7faf8}.sketch-shape-correction>p{margin-top:0}.house-picker{padding:10px 0;display:flex;flex-wrap:wrap;gap:6px}.house-picker>button{border:1px solid #d7e3da;border-radius:6px;background:#f7faf8;color:#5e7969;padding:7px 12px;font-size:14px}.house-picker>button[aria-pressed=true]{background:#356c56;color:#fff;border-color:#356c56}.house-picker>p{width:100%;font-size:12px;line-height:1.6;color:#83909a}.house-picker>.field-row{width:100%}.multi-house-results{max-height:28dvh;overflow-y:auto;scrollbar-width:thin}.house-result-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}.house-result-list>div{display:flex;flex-wrap:wrap;gap:3px 7px;align-items:baseline;font-size:14px;line-height:1.4}.house-result-list span{color:#83909a}.house-result-list b{font-weight:500;color:#273442}[data-house][data-selected=false] .dimension,[data-house][data-selected=false] .corner-note,[data-house][data-selected=false] .ridge-annotation{display:none}.drawing .multi-slope-caption{font-size:17px}@media(max-width:800px){.drawing .multi-slope-caption{font-size:22px!important}}@media(max-width:800px){.sketch-placement>p{margin:0 14px}.house-picker>button{min-height:40px}.results.multi-house-results{max-height:26dvh;grid-template-columns:1.2fr .85fr 1.35fr .85fr}.multi-house-results .house-result-list>div{font-size:14px;gap:0}.house-result-list>div>span,.house-result-list>div>b{display:block;width:100%}.house-result-list b{word-spacing:-2px}.multi-house-results .result-capacity strong{font-size:19px}.multi-house-results>div{padding-left:7px;padding-right:7px}}@media(max-width:800px){.sketch-review{padding:14px 14px 0}.sketch-shapes button{min-height:40px;font-size:13px}.dimension-field select{font-size:16px;min-height:40px}}@media(max-width:800px){.dimension-unit select{font-size:16px;min-height:40px}}@media(max-width:800px){.dimension-dialog>footer{gap:9px}.dimension-dialog footer .dimension-footer-actions button{font-size:14px;padding:10px 12px}}@media(max-width:800px){.dimension-overlay{padding:10px}.dimension-dialog{max-height:calc(100dvh - 20px)}.dimension-dialog>header,.dimension-actions,.dimension-dialog>footer{padding:12px 14px}.dimension-content{grid-template-columns:minmax(0,1fr);padding:0 14px;gap:12px}.dimension-source{min-height:130px}.dimension-source img{height:150px}.dimension-result{min-height:250px}.dimension-result svg text{font-size:32px}.dimension-values{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:10px}.dimension-dialog h2{font-size:18px}}.header-actions .saved-designs-list .saved-design-load{flex:1;min-width:0;width:auto}.header-actions .saved-designs-list .saved-design-delete{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;margin-right:5px;padding:7px;color:#a17b73}.saved-design-delete svg{width:18px;height:18px}.header-actions .saved-designs-list .saved-design-delete:hover{background:#fff0eb;color:#b65c48}.array-shift-fields{margin-top:14px}.array-shift-note{margin-top:8px;font-size:11px;line-height:1.6;color:#91a096}
