@font-face{font-family:Inter;src:url('../solutions-drafts/fonts/inter-latin.woff2')}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,sans-serif;color:#102f34;background:#ecf2f0}.layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;min-height:100vh}.stage{position:relative;height:100vh;overflow:hidden;background:#dce9e5}.stage canvas{width:100%;height:100%;display:block;cursor:grab}.stage canvas:active{cursor:grabbing}.brand{position:absolute;z-index:2;top:30px;left:42px;font-size:15px;font-weight:700;pointer-events:none}.brand-mark{color:#147b78;font-size:22px;margin-right:6px}.brand-divider{display:inline-block;height:14px;border-left:1px solid #93b1ac;margin:0 12px;vertical-align:middle}.intro{position:absolute;z-index:2;top:110px;left:42px;max-width:330px;pointer-events:none}.intro p,.panel-head p{font-size:12px;color:#4f817c;font-weight:650}.intro h1{font-size:clamp(34px,3.4vw,54px);line-height:1.04;letter-spacing:-2px;margin:14px 0;color:#153c3f}.intro span{display:block;max-width:240px;font-size:14px;line-height:1.55;color:#52716d}.stage-footer{position:absolute;z-index:2;bottom:27px;left:42px;right:32px;display:flex;justify-content:space-between;color:#4d6d68;font-size:11px;pointer-events:none}.stage-footer i,.pending-dot{display:inline-block;background:#3da59a;width:7px;height:7px;border-radius:50%;margin-right:7px}.panel{background:#fff;padding:31px 30px 24px;overflow:auto;height:100vh;box-shadow:-8px 0 30px #1c443b0d}.panel-head{display:flex;align-items:center;justify-content:space-between}.panel-head p{margin:0 0 7px}.panel h2{font-size:25px;letter-spacing:-.8px;margin:0}.status{font-size:11px;color:#397b72;background:#e7f3ef;border-radius:15px;padding:6px 10px}.lead{font-size:13px;line-height:1.6;color:#718682;margin:20px 0}.rule{border-top:1px solid #e5edeb}.section-head{display:flex;justify-content:space-between;align-items:center;margin:25px 0 12px}.section-head h3{font-size:13px;margin:0}.section-head span{font-size:11px;color:#99aaa6}.view-switch{display:flex;padding:3px;background:#edf3f1;border-radius:9px;gap:3px}.view-switch button{flex:1;border:0;border-radius:7px;background:transparent;color:#6d8580;padding:10px 3px;font-size:12px;cursor:pointer}.view-switch button.active{background:white;color:#155c58;box-shadow:0 2px 6px #19443712;font-weight:700}.options{display:grid;gap:8px}.option{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #e5eeeb;border-radius:10px;background:white;padding:9px 11px;cursor:pointer;color:#203e3b}.option.active{border-color:#75b9ae;background:#f6fbf9}.option b,.option small{display:block}.option b{font-size:12px}.option small{font-size:11px;color:#8da09b;margin-top:4px}.tick{margin-left:auto;color:#269386;font-size:13px;visibility:hidden}.active .tick{visibility:visible}.sample{width:40px;height:38px;border-radius:6px;background:#b0cfce;flex:none}.glass{background:repeating-linear-gradient(90deg,#93b8b6 0 8px,#d5e9e5 9px 10px)}.fins{background:repeating-linear-gradient(0deg,#b7d3ce 0 6px,#567e78 7px 9px)}.pv{background:repeating-linear-gradient(90deg,#527f7a 0 9px,#bcd8d2 10px 11px)}.insight{display:flex;gap:12px;background:#f0f7f4;padding:14px;border-radius:10px}.insight-icon{color:#279485;font-size:23px;line-height:1}.insight b,.pending b{font-size:12px}.insight p,.pending p{color:#6b8580;font-size:11px;line-height:1.5;margin:5px 0 0}.energy{margin-top:12px;border:1px solid #e5eeeb;border-radius:9px;padding:12px}.energy[hidden]{display:none}.energy div{display:flex;justify-content:space-between;font-size:11px;padding:5px 0}.energy span,.energy p{color:#718b84}.energy b{color:#7a9690;font-weight:500}.energy p{font-size:10px;line-height:1.5;margin:8px 0 0}.pending{display:flex;align-items:flex-start;gap:3px;padding:17px 2px 0}.pending-dot{background:#e2b662;margin-top:4px;flex:none}.panel footer{border-top:1px solid #edf1ef;margin-top:23px;padding-top:15px;display:flex;justify-content:space-between;color:#a2b1ae;font-size:10px}button:focus-visible{outline:3px solid #268f87;outline-offset:2px}@media(max-width:760px){.layout{display:block}.stage{height:62vh;min-height:480px}.panel{height:auto;padding:24px}.brand{left:22px;top:20px}.intro{top:83px;left:22px}.intro h1{font-size:36px}.intro span{max-width:180px}.stage-footer{left:22px;right:18px}.stage-footer span:last-child{display:none}}
.depth{padding:12px 2px 0}.depth[hidden]{display:none}.depth label{display:flex;justify-content:space-between;font-size:12px;font-weight:650}.depth output{color:#338a7e;font-weight:500}.depth input{width:100%;accent-color:#248e82;margin:10px 0 4px}.depth small{font-size:10px;color:#8da09b}
.surface-legend{display:flex;flex-wrap:wrap;gap:8px 14px;margin:12px 0 0;color:#6b8580;font-size:10px}.surface-legend[hidden]{display:none}.surface-legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:5px}.swatch-road{background:#657d79}.swatch-pave{background:#e0d8c8}.swatch-gravel{background:#c7b798}.swatch-plant{background:#9fba8d}
.brand{display:flex;align-items:center}.brand img{width:150px;height:auto;display:block}.vertical{background:repeating-linear-gradient(90deg,#b7d3ce 0 6px,#567e78 7px 9px)}.panel footer a{color:#668982;text-decoration:none}.depth .view-switch{margin:8px 0}
.context-note{color:#90a39e;font-size:10px;line-height:1.45;margin:11px 0 0}
.cost-row { display:grid; grid-template-columns:1fr 1fr; gap:5px 8px; margin:12px 0; }
.cost-row b, .cost-row span { grid-column:1 / -1; }
.cost-row input { min-width:0; width:100%; box-sizing:border-box; }
.result-controls{position:absolute;z-index:4;left:50%;bottom:48px;transform:translateX(-50%);width:min(680px,calc(100% - 30px));background:#fffefa;box-shadow:0 8px 35px #173c3c33;border:1px solid #d7e5df;border-radius:14px;padding:12px 14px;color:#183f3d;font-size:11px}.result-top,.result-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.result-top{justify-content:space-between;margin-bottom:9px}.result-top strong{font-size:12px}.result-actions button,.result-controls select{border:1px solid #d5e4df;background:#f8fbf9;color:#24544f;padding:7px 9px;border-radius:7px;cursor:pointer;font-size:11px}.result-actions button.active{background:#166e69;color:white;border-color:#166e69}.result-actions button:disabled{opacity:.42;cursor:not-allowed}.result-detail{margin:7px 0 0;color:#55716b;line-height:1.35}.result-legend{height:7px;margin:8px 0 2px;border-radius:5px;background:linear-gradient(90deg,#20226b,#2d74a3,#4db58d,#f0c75e,#e66432)}.result-range{display:flex;justify-content:space-between;color:#627c75;font-size:10px}.result-hover{min-height:16px;color:#143f3c;margin-top:4px;font-weight:600}.result-controls[hidden]{display:none}.result-controls .warning{color:#965a30}@media(max-width:760px){.result-controls{bottom:35px}.result-actions button{padding:6px}.result-detail{font-size:10px}}
.result-controls .result-detail{height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.result-controls #result-key{height:42px}.result-controls #result-key.inactive{visibility:hidden}.result-info-button{border:0;background:none;color:#2b776f;cursor:pointer;font-size:11px}.result-info{position:absolute;bottom:calc(100% + 8px);right:0;width:min(330px,90vw);padding:14px;background:#fffefa;border:1px solid #d5e4df;border-radius:10px;box-shadow:0 8px 30px #173c3c22;font-size:11px;line-height:1.45;color:#506c66}.result-info[hidden]{display:none}.result-info p{margin:7px 0 0}.result-controls .result-hover{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#result-variant{display:flex;gap:4px;align-items:center}#result-variant button{font:600 10px inherit;border:1px solid #c2d5ce;border-radius:14px;padding:3px 9px;background:#f7fbf6a6;color:#44695f;cursor:pointer}#result-variant button.active{background:#236d64;color:#fff;border-color:#236d64}#energy-level-control{display:flex;align-items:center;gap:6px;height:28px;margin-top:4px;font-size:10px}#energy-level-control[hidden]{display:flex!important;visibility:hidden}#energy-level-control select{padding:2px 6px}.result-actions{flex-wrap:nowrap;overflow-x:auto}.result-actions button{white-space:nowrap;flex-shrink:0}
/* Compact saved-result controls. View toggles do not change result data. */
.result-controls{width:min(900px,calc(100% - 24px));padding:9px 206px 9px 11px;border-radius:11px;min-height:92px;box-sizing:border-box}.result-top{gap:5px;justify-content:flex-start;margin-bottom:5px;min-height:23px}.result-top strong{font-size:9px;letter-spacing:.06em;margin-right:5px}.result-actions{gap:4px}.result-actions button{padding:5px 7px;font-size:10px}.result-controls .result-detail{margin-top:5px;height:14px;font-size:10px}.result-controls #result-key{position:absolute;right:12px;top:15px;width:180px;height:67px;border-left:1px solid #bcd0c7;padding-left:12px;box-sizing:border-box}.result-controls .result-legend{margin-top:3px;height:6px}.result-controls .result-range{font-size:9px;gap:4px}.result-controls .result-hover{margin-top:7px;white-space:normal;font-size:10px;line-height:1.35;max-height:40px;overflow:hidden;font-variant-numeric:tabular-nums}.result-scene-toggle{border:1px solid #c4d8ce;border-radius:6px;background:#f3faf599;color:#315f53;padding:3px 6px;font-size:9px;cursor:pointer}.result-info-button{font-size:10px;padding:2px 4px}#energy-level-control{height:20px!important;min-height:20px!important;margin:0 0 0 3px;font-size:9px;gap:3px}#energy-level-control select{font-size:9px;padding:1px 2px;max-width:70px}#energy-level-control[hidden]{display:none!important}#result-variant button{font-family:inherit;font-size:9px;padding:2px 7px}#result-variant button:disabled{opacity:.35;cursor:default}@media(max-width:760px){.result-controls{padding-right:11px;min-height:128px}.result-controls #result-key{position:static;width:100%;height:40px;border-left:0;padding:0;margin-top:7px;display:grid;grid-template-columns:1fr 1fr;column-gap:12px}.result-controls .result-hover{grid-column:2;grid-row:1/3;margin-top:0}.result-controls .result-range{grid-column:1}.result-top strong{display:none}}
/* Result controls follow their content; values follow the pointer. */
.result-controls{width:max-content;max-width:calc(100% - 24px);min-height:0;padding:9px 11px;display:grid;grid-template-columns:minmax(0,max-content) 146px;grid-template-areas:"top key" "actions key" "detail key";gap:5px 12px;align-items:center}.result-top{grid-area:top;justify-content:center;gap:5px;margin:0;min-height:20px}.result-top strong{display:none}.result-actions{grid-area:actions;justify-content:center;gap:4px;overflow-x:auto;max-width:570px}.result-controls .result-detail{grid-area:detail;text-align:center;margin:0;max-width:570px}.result-controls #result-key{grid-area:key;position:static;top:auto;right:auto;width:146px;height:auto;min-height:32px;padding:0 0 0 10px;margin:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #bcd0c7}.result-controls .result-legend{height:6px;width:100%;margin:0 0 5px}.result-controls .result-range{font-size:9px;justify-content:space-between}.result-cursor-tooltip{position:fixed;z-index:50;pointer-events:none;max-width:300px;padding:9px 12px;border:1px solid #d6e8df;border-radius:9px;background:rgba(249,253,250,.96);box-shadow:0 5px 20px #183f3d25;color:#174c42;font:600 11px/1.55 system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:pre-line;backdrop-filter:blur(8px)}.result-cursor-tooltip[hidden]{display:none}@media(max-width:760px){.result-controls{width:calc(100% - 24px);grid-template-columns:minmax(0,1fr) 115px;gap:5px 8px;min-height:0}.result-top{justify-content:center}.result-actions{justify-content:flex-start}.result-controls #result-key{width:115px;display:flex;height:auto;margin:0;padding-left:8px;border-left:1px solid #bcd0c7}.result-controls .result-range{display:flex;gap:2px;font-size:8px}.result-controls .result-detail{font-size:9px}}
#result-variant{max-width:385px;overflow-x:auto;scrollbar-width:thin;flex-shrink:1}#result-variant button{flex-shrink:0}.result-top{flex-wrap:nowrap}.result-scene-toggle,.result-info-button{flex-shrink:0}@media(max-width:760px){#result-variant{max-width:220px}.result-top{flex-wrap:wrap}}
/* Design choices sit above the compact analysis panel, outside its surface. */
.result-variant-tray{position:absolute;left:0;right:0;bottom:calc(100% + 9px);display:flex;justify-content:center;pointer-events:auto}.result-variant-tray #result-variant{display:flex;flex-wrap:wrap;justify-content:center;gap:5px 6px;width:100%;max-width:none;overflow:visible;flex-shrink:0}.result-variant-tray #result-variant button{padding:5px 11px;border-radius:15px;font-size:10px;background:rgba(246,251,248,.91);box-shadow:0 2px 8px #183f3d12;backdrop-filter:blur(9px)}.result-variant-tray #result-variant button.active{background:#236d64;color:#fff}.result-variant-tray #result-variant button:disabled{opacity:.48;background:rgba(246,251,248,.84)}@media(max-width:760px){.result-variant-tray{bottom:calc(100% + 7px)}.result-variant-tray #result-variant{max-width:none;gap:4px}.result-variant-tray #result-variant button{padding:4px 9px;font-size:9px}}

.single-study-presets{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 14px}.single-study-presets button{border:1px solid #c9dcd7;background:#f6faf8;color:#165d59;border-radius:999px;padding:5px 10px;font:inherit;font-size:12px;cursor:pointer}.single-study-presets button:hover{background:#dcefe9}
