/* Guided journey. The calculation and original control identities stay unchanged. */
.guided{background:#f4f5ef;color:#183d36}
.guided [hidden]{display:none!important}
.guided main{max-width:1500px;margin:auto;padding:36px 40px}
.guided .topbar{background:#fff;border-bottom:1px solid #dae2d7;padding:18px 40px;min-height:80px}
.guided .page-heading{margin:0 0 30px;display:block}
.guided .page-heading h1{font-size:clamp(28px,3.4vw,44px);font-weight:600;letter-spacing:-1.5px;margin:10px 0}
.guided .page-heading p{font-size:16px;color:#597064;margin:0}
.flow-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid #cbd7c8;border-radius:12px;background:#fff;position:sticky;top:0;z-index:5;overflow:hidden;scroll-margin-top:12px}
.flow-step{border:0;background:none;text-align:left;padding:18px 22px;display:flex;align-items:center;gap:14px;color:#506456;min-height:78px}
.flow-step+ .flow-step{border-left:1px solid #dce4d8}.flow-step[aria-current]{background:#204d3c;color:#fff}.flow-step>span:last-child{font-weight:700;font-size:15px}.flow-step small{display:block;font-size:12px;font-weight:400;opacity:.78;margin-top:4px}
.flow-number{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border:1px solid currentColor;border-radius:50%;font-size:14px}.flow-step[aria-current] .flow-number{color:#204d3c;background:#d7ecba;border-color:#d7ecba}
.flow-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 0 24px}.flow-intro h2{font-size:27px;font-weight:600;letter-spacing:-.7px;margin:6px 0 10px}.flow-intro p{margin:0;color:#5c6f62;font-size:14px;line-height:1.65}.flow-status{font-size:12px;border:1px solid #cbd8c4;background:#edf2e6;border-radius:20px;padding:9px 14px;flex-shrink:0}
.guided .workspace{grid-template-columns:minmax(0,1.15fr) minmax(360px,1fr);gap:28px;align-items:start}
.guided .workspace .viewer{position:sticky;top:98px;overflow:hidden;border-radius:14px}
.guided .scene-wrap{height:490px;min-height:490px}
.guided #house{top:130px;bottom:135px;left:6px;right:60px;width:calc(100% - 66px);height:calc(100% - 265px)}
.guided .scene-caption{top:74px;left:22px}.guided .scene-caption h2{font-size:23px;max-width:260px}.guided .scene-caption p{font-size:12px;max-width:260px}
.guided .thermal-hud{display:none}.guided .thermal-view .thermal-legend{right:10px;top:43%;width:50px}.guided .thermal-view .thermal-legend div{height:110px}.guided .thermal-note{font-size:10px;bottom:53px}.guided .scene-energy{left:22px;bottom:86px}.guided .scene-energy strong{font-size:28px}
.guided .scene-energy .formula-button{display:inline;font-size:10px;margin-left:6px}.guided .thermal-view .scene-caption h2{max-width:90%}
.guided .parts{padding:8px 12px 14px;gap:5px}.guided .parts button{font-size:12px;padding:8px 5px;min-height:42px}.guided .parts-heading{font-size:12px;padding:14px 14px 0}
.guided .viewer>.flow-details{margin:0;border:0;border-top:1px solid #dce4d8;border-radius:0}.guided .viewer>.flow-details>summary{padding:12px 18px;font-size:12px}.guided .viewer .climate{padding:4px 18px 16px}
.guided .flow-house{padding:26px}.flow-card-title h3{font-size:23px;letter-spacing:-.6px;margin:8px 0 12px}.flow-card-title p,.flow-saved{font-size:14px;line-height:1.6;color:#5b7061}.guided .start-entry{width:100%;max-width:100%;margin-top:20px}.guided .start-prompt{justify-content:flex-start;font-size:14px}.guided .start-entry .example-badge{white-space:normal;margin-top:4px;padding:16px;gap:12px;box-shadow:none}.guided .example-badge>span:nth-child(2){min-width:0}.guided .example-badge b{font-size:15px}.guided .example-badge small{font-size:12px;line-height:1.6}.flow-saved{font-size:12px}
.guided .zone-controls{padding:20px 0 0;margin:20px 0 0;border:0;border-top:1px solid #dce4d8;border-radius:0}.guided .zone-controls label{font-size:14px}.guided .zone-controls input[type=checkbox]{width:18px;height:18px;vertical-align:middle;margin-right:6px}.guided .zone-controls input[type=number]{width:100%;padding:12px}
.guided .control-explanation{font-size:12px;line-height:1.65;color:#586f5d}.guided .climate-card{padding:26px}.guided .climate-card-heading h2{margin:8px 0 12px}.guided .climate-card-heading p{font-size:14px;line-height:1.6;color:#5c7063}.guided .design-load{padding:0;background:none}.flow-zip{display:grid;gap:10px}.flow-zip label{font-size:14px}.flow-zip input{font-size:21px!important;letter-spacing:3px;padding:14px!important}.flow-zip small{line-height:1.6;color:#58705f}
.flow-details{border:1px solid #d6e0d1;border-radius:9px;margin:14px 0;background:#fff}.flow-details>summary{padding:15px 18px;cursor:pointer;color:#315640;font-size:13px;font-weight:600}.flow-details> :not(summary){margin:12px 18px}.flow-details>p{font-size:13px;line-height:1.65}.flow-details>input{max-width:calc(100% - 36px)}.flow-details>label{display:block;font-size:13px}.flow-details .scenario-description{padding:0;background:none}.flow-details .scenario-guide{margin-top:0}
.guided .controls{padding:24px;max-height:none;overflow:visible}.guided .panel-heading h2{font-size:23px}.flow-scenario-note{font-size:13px;line-height:1.65;color:#586f5d;margin:0 0 6px}.guided .scenario-tabs{margin:0 0 14px}.guided .scenario-tabs button{white-space:normal;min-height:55px;font-size:11px}.guided .scenario-tabs button span{display:block;margin:3px 0 0;font-size:12px}.guided .selected-part{margin:10px 0 16px;padding:12px 0;font-size:12px}
.flow-measure{border:1px solid #d3dece;border-radius:10px;background:#fff;margin-bottom:10px;overflow:hidden}.flow-measure>summary{display:flex;align-items:center;gap:12px;padding:17px 16px;cursor:pointer;list-style:none}.flow-measure>summary::-webkit-details-marker{display:none}.flow-measure>summary:after{content:'+';font-size:23px;margin-left:auto;color:#48704c}.flow-measure[open]>summary:after{content:'−'}.flow-measure[open]>summary{background:#edf3e5;border-bottom:1px solid #d3dece}.flow-measure summary b{font-size:15px}.flow-measure summary small{display:block;font-size:12px;color:#637360;margin-top:4px}.flow-measure summary output{margin-left:auto;font-size:12px;font-weight:600;text-align:right;max-width:120px}.flow-measure-content{padding:18px}.guided .flow-measure .slider-group,.guided .flow-measure .control-row{padding:0;margin:0;background:none;border:0;outline:0;box-shadow:none}.guided .flow-measure .slider-heading label{font-size:13px}.guided .flow-measure .material-select{margin-bottom:8px}.guided .control-row{flex-wrap:wrap}.guided .control-row label{width:100%;font-size:14px}.guided .control-row select,.guided .control-row input{width:100%;max-width:none;min-height:44px}.flow-tip{border-top:1px solid #d6dfd0;margin-top:20px;padding-top:16px}.flow-tip label{display:block;font-size:13px;margin:12px 0 8px}.flow-tip select,.flow-tip input{width:100%;padding:12px;border:1px solid #cedac7;border-radius:7px;background:#fff;font:inherit;font-size:14px}
.flow-live{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px;background:#204d3c;color:#fff;border-radius:10px;margin-top:18px}.flow-live>span{font-size:11px;color:#d8e5cf;line-height:1.5}.flow-live>span:first-child{grid-column:1/-1}.flow-live strong{display:block;font-size:20px;color:#fff;font-weight:600}.flow-live>span:first-child strong{font-size:14px}.flow-live .button{grid-column:1/-1;background:#d6edb8;color:#234734;border:0}.flow-assumptions{margin-top:12px;font-size:12px;border:0;text-decoration:underline;background:none}
.flow-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #ced9c7;margin:28px 0 0;padding-top:24px}.flow-footer p{font-size:12px;color:#5a6c5c;margin-right:auto;max-width:380px;line-height:1.6}.flow-footer .primary{min-height:48px}
.flow-results .comparison{padding:28px}.flow-results .analysis-grid{display:block;margin-top:20px}.flow-results .result-strip{margin-top:20px}.flow-results .energy-pass{border:0;margin:0;padding:12px}.flow-results .flow-details>.breakdown,.flow-results .result-climate{border:0}.flow-result-context{display:flex;align-items:center;justify-content:space-between;gap:20px}.flow-result-context h3{margin:8px 0;font-size:23px}.flow-result-choices{display:flex;gap:8px;flex-wrap:wrap}.flow-result-choices button[aria-pressed=true]{background:#204d3c;color:white;border-color:#204d3c}.flow-report-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:26px;background:#e6efdb;border:1px solid #cbdcbb;border-radius:12px;margin-top:22px}.flow-report-actions>div{margin-right:auto}.flow-report-actions h3{margin:0 0 8px}.flow-report-actions p{margin:0;font-size:13px;color:#56704f}
.guided button:focus-visible,.guided summary:focus-visible{outline:3px solid #619244;outline-offset:3px}.guided input,.guided select{font-size:16px}.guided .button{min-height:44px}
@media(max-width:1000px){.guided main{padding:26px 22px}.guided .topbar{padding:16px 22px}.guided .workspace{grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:18px}.flow-step{padding:16px 12px;gap:10px}.flow-step>span:last-child{font-size:13px}.flow-step small{font-size:11px}.flow-intro{align-items:flex-start}.flow-status{max-width:170px;text-align:center}.guided .flow-house,.guided .controls,.guided .climate-card{padding:20px}.guided .scene-caption h2{font-size:20px}}
@media(max-width:800px){.guided .workspace{grid-template-columns:1fr}.guided .workspace .viewer{position:relative;top:auto}.guided .scene-wrap{height:440px;min-height:440px}.guided #house{top:115px;height:calc(100% - 245px)}.guided .viewer{order:2}.guided .configuration-stack{order:1}.guided .flow-house{padding:22px}.flow-step{gap:8px;padding:12px 10px;min-height:72px}.flow-step small{display:none}.flow-number{width:25px;height:25px;font-size:12px}.flow-intro{display:block}.flow-status{display:inline-block;max-width:none;margin-top:14px}.flow-intro h2{font-size:24px}.flow-footer{flex-wrap:wrap}.flow-footer p{order:3;max-width:none;width:100%}.flow-results .result-strip{grid-template-columns:1fr 1fr}.flow-result-context{display:block}.flow-result-choices{margin-top:12px}.guided .start-entry{width:100%}.guided .page-heading{max-width:100%}}
@media(max-width:520px){.guided main{padding:22px 14px}.guided .topbar{padding:14px;gap:10px}.guided .topbar .brand{width:auto;font-size:18px}.guided .consulting-logo{width:145px;order:2}.guided .topbar #report{order:3;width:100%;text-align:center}.guided .page-heading h1{font-size:30px}.flow-step{display:block;text-align:center;padding:10px 4px}.flow-number{margin:0 auto 6px}.flow-step>span:last-child{font-size:11px;line-height:1.4;display:block}.flow-nav{border-radius:9px}.flow-intro h2{font-size:23px}.guided .flow-house,.guided .controls,.guided .climate-card{padding:18px}.flow-measure-content{padding:15px}.flow-measure summary output{max-width:100px}.guided .example-badge>span:nth-child(2){display:block}.flow-footer .primary{width:100%}.flow-result-choices button{flex:1;font-size:12px;padding:10px 6px}.flow-report-actions{padding:20px}.flow-report-actions .button{width:100%}.guided .result-strip article{padding:16px 12px}.guided .result-strip strong{font-size:25px}}
.flow-form-nav{display:flex;gap:8px;margin:20px 0}.flow-form-nav button{flex:1;font-size:12px;padding:10px 6px}.flow-form-nav button[aria-current]{background:#204d3c;color:white;border-color:#204d3c}.flow-form-page>h3{font-size:20px;margin:22px 0 18px}.guided .building-dialog{max-width:750px}.guided .building-actions{position:sticky;bottom:-28px;background:white;padding:18px 0;margin-top:20px;border-top:1px solid #d6dfd1;gap:10px;flex-wrap:wrap}.guided .building-actions #building-example{font-size:12px;margin-right:auto}.guided .building-actions>.primary{margin-left:auto}.guided .building-summary{margin-top:10px}.guided .building-details{border:1px solid #d6e0d1;border-radius:9px;padding:16px}.guided .building-form-grid label{font-size:14px;line-height:1.5}.guided .building-form-grid input,.guided .building-form-grid select{min-height:46px}.flow-setting-title{font-size:17px;margin:24px 0 8px}.guided #settings-fields{margin:12px 18px 20px}.flow-location-status{font-size:12px;line-height:1.65;color:#476046;margin:4px 0}.flow-mobile-bar{display:none}
@media(max-width:800px){.flow-mobile-bar{display:flex;align-items:center;gap:12px;padding:12px 0;margin-bottom:10px;flex-wrap:wrap}.flow-mobile-bar>span{font-size:12px;color:#426049;flex:1}.flow-mobile-bar .button{font-size:12px}.guided[data-flow-step="2"] .flow-mobile-bar{display:none}.guided .workspace .viewer{display:none;order:0}.guided.flow-mobile-view .workspace .viewer{display:block}.guided .flow-live{margin-top:15px}.guided .building-actions{bottom:-28px}}
@media(max-width:520px){.guided .building-form-grid{grid-template-columns:1fr}.guided .building-form-grid label{min-height:0}.guided .building-actions{bottom:-22px;flex-direction:row}.guided .building-actions #building-example{width:100%;text-align:left}.flow-form-nav{gap:5px}.flow-form-nav button{font-size:11px}.guided .building-details{padding:12px}}
.flow-year-note{font-size:13px;color:#506748;line-height:1.65}.flow-session-note{font-size:12px;line-height:1.6;width:100%;color:#536950}.guided .flow-measures>.flow-measure{scroll-margin-top:110px}.guided .scene-wrap .scene-energy small{font-size:14px}.guided .viewer{scroll-margin-top:100px}.flow-measure summary output{font-variant-numeric:tabular-nums}.guided .control-row[data-control=door] small{font-size:12px;line-height:1.5}
.guided .thermal-view .thermal-legend{width:65px;right:6px}.guided .thermal-legend small{font-size:10px}
@media(min-width:801px) and (max-height:850px){.guided .workspace .viewer{position:relative;top:auto}}
.flow-heating-context{border-top:1px solid #d6dfd1;margin-top:18px;padding-top:18px;font-size:13px;line-height:1.6}.flow-heating-context p{font-size:20px;font-weight:600;margin:8px 0}.flow-heating-context small{display:block;color:#59705c;font-size:12px}.flow-heating-context .button{font-size:12px;margin-top:14px}.guided .climate-card{scroll-margin-top:100px}
.building-attic-fields{border-top:1px solid #d6dfd1;margin-top:20px;padding-top:10px}.building-attic-fields h3{font-size:18px}.building-attic-fields>details{padding:14px;border:1px solid #d6dfd1;border-radius:9px;font-size:13px}.building-attic-fields summary{cursor:pointer;font-weight:600}.building-attic-fields #building-attic-summary{padding:14px;background:#edf3e5;border-radius:8px;font-size:13px}.building-attic-fields .attic-choice{line-height:1.6}

/* Direct thickness entry complements the roof slider. */
.guided label[for="roof-thickness"]{display:block;margin:12px 0 6px}
.guided #roof-thickness{display:block;width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #cad7c8;border-radius:6px;background:#fff;color:#183d36;font:inherit;margin-bottom:12px}
