@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
.variant-change{display:block;font-size:12px;line-height:1.5;font-weight:400;color:var(--accent)}
:root{--ink:#173d35;--text:#324d45;--muted:#6d7e77;--line:#dfe6df;--bg:#f4f6f2;--white:#fff;--lime:#c8eb91;--accent:#326f51;--orange:#dd8251;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #35856d;outline-offset:4px}button{transition:background .2s,transform .2s}button:hover{filter:brightness(.97)}button:active{transform:translateY(1px)}button:disabled{cursor:default}a{color:inherit;text-decoration:none}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 4%;border-bottom:1px solid var(--line);background:#fff}.brand{font-size:22px;display:flex;align-items:center;gap:10px;letter-spacing:-.7px;font-weight:700}.brand b{font-weight:400;color:#6c8d70}.brand-icon{width:39px;height:39px;border-radius:11px;background:var(--ink);color:var(--lime);text-align:center;font-size:32px;line-height:32px}.top-note{font-size:12px;letter-spacing:2.5px;color:var(--muted)}.button{border:1px solid var(--line);padding:11px 17px;border-radius:9px;background:#fff;font-size:14px;font-weight:600;display:inline-flex;gap:10px;align-items:center;justify-content:center}.button.quiet{background:transparent}.button.primary{background:var(--ink);color:white;border-color:var(--ink)}main{max-width:1600px;margin:auto;padding:35px 4% 22px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:20px}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:700;color:#7a8b7e}.page-heading h1{font-family:'Manrope',system-ui,sans-serif;font-size:clamp(26px,2.65vw,40px);font-weight:600;letter-spacing:-1.7px;margin:8px 0}.page-heading p{margin:8px 0 0;color:var(--muted);font-size:16px}.example-badge{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:12px;padding:14px 18px;background:#fafbf8;text-align:left}.example-badge b{font-size:14px;font-weight:600;display:block}.example-badge small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.mini-house{font-size:32px;color:#759175}.workspace{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(320px,1fr);gap:22px}.card{border:1px solid var(--line);border-radius:18px;background:var(--white);overflow:hidden}.viewer{background:#e9eee6;display:flex;flex-direction:column;min-width:0;position:relative}.viewer-toolbar{position:absolute;z-index:2;top:20px;left:22px;right:22px;display:flex;justify-content:space-between;gap:8px}.segmented{display:flex;border:1px solid #d3dcd0;background:#f1f4ed;border-radius:9px;padding:3px}.segmented button{background:transparent;border:0;border-radius:6px;padding:8px 14px;font-size:14px}.segmented button[aria-pressed=true]{background:white;box-shadow:0 2px 5px #1d472815;font-weight:600}.glass{background:#f7f9f2cf;border-color:#d3dcd0;padding:8px 13px}.glass[aria-pressed=true]{background:var(--ink);color:white}.scene-wrap{position:relative;min-height:510px;flex:1;background:radial-gradient(ellipse at 53% 42%,#fcfdf7 0,#edf1e7 47%,#e5ebdf 100%)}#house{width:100%;height:100%;position:absolute;inset:0;touch-action:none;cursor:grab}#house:active{cursor:grabbing}.scene-caption{position:absolute;left:28px;top:88px;pointer-events:none}.scene-caption h2{font-size:24px;font-weight:500;letter-spacing:-.8px;margin:7px 0}.scene-caption p{font-size:13px;color:#7d8b7b;margin:0}.scene-caption .eyebrow{font-size:12px}.scene-energy{position:absolute;left:28px;bottom:57px;pointer-events:none;display:flex;flex-direction:column;gap:6px}.scene-energy>span{font-size:12px;color:#788773}.scene-energy strong{font-family:Manrope,sans-serif;font-size:32px;font-weight:500;letter-spacing:-1px}.scene-energy strong small{font-size:16px;color:#72816b;letter-spacing:0}.scene-energy #delta-label{font-size:12px}.scene-bottom{position:absolute;left:28px;right:22px;bottom:15px;display:flex;align-items:center;justify-content:space-between;color:#788575;font-size:12px}.scene-bottom button{width:32px;height:32px;border:1px solid #cbd5c4;background:#edf2e6;border-radius:50%;font-size:20px}.parts{display:flex;gap:8px;padding:15px 20px 12px;background:#fdfefb;border-top:1px solid #e0e6d9;flex-wrap:wrap}.parts button{flex:1;white-space:nowrap;padding:10px;border:1px solid #e0e5dc;border-radius:8px;background:white;font-size:13px;min-height:42px}.parts button.active{background:var(--ink);border-color:var(--ink);color:white}.viewer-footer{background:#fdfefb;display:flex;justify-content:space-between;align-items:center;padding:0 22px 15px;gap:15px;font-size:12px;color:var(--muted)}.toggle-label{display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:12px}.toggle-label input{accent-color:var(--ink);width:17px;height:17px}.heat-dot{display:inline-block;background:#e19862;border-radius:50%;width:7px;height:7px;margin-right:4px}.thermal-legend{position:absolute;right:23px;bottom:65px;width:160px;font-size:12px;color:var(--muted);text-align:right}.thermal-legend div{height:7px;border-radius:4px;background:linear-gradient(90deg,#3c91ac,#80bb84,#efc262,#e36845);margin:6px 0}.controls{padding:24px 25px 0;display:flex;flex-direction:column}.panel-heading{display:flex;justify-content:space-between;align-items:center}.panel-heading h2{font-size:23px;font-weight:500;letter-spacing:-.8px;margin:8px 0 18px}.icon-button{border:0;background:transparent;font-size:24px;padding:5px 10px;border-radius:7px}.scenario-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;background:#f0f3ed;padding:4px;border-radius:9px;margin-bottom:19px}.scenario-tabs button{border:0;background:transparent;border-radius:7px;padding:10px 3px;color:#819079;font-size:12px;white-space:nowrap}.scenario-tabs button span{margin-left:4px;font-size:13px;color:var(--text)}.scenario-tabs button[aria-selected=true]{background:white;box-shadow:0 2px 7px #2a492414;color:var(--accent);font-weight:700}.selected-part{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding-bottom:13px;margin-bottom:14px;border-bottom:1px solid var(--line)}.selected-part>span:first-child{font-weight:600;color:var(--accent)}.selected-part>span:last-child{color:var(--muted)}.slider-group{margin-bottom:17px;padding:4px 0;border-radius:7px}.slider-group.chosen label{color:var(--accent)}.slider-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px;margin-bottom:5px}.slider-heading output{font-size:14px;font-weight:600;background:#f1f5ee;padding:3px 7px;border-radius:4px;min-width:53px;text-align:center}input[type=range]{appearance:none;width:100%;height:5px;background:linear-gradient(90deg,var(--accent) var(--fill,0%),#e5eade var(--fill,0%));border-radius:5px;cursor:pointer;display:block;margin:13px 0 8px;accent-color:var(--accent)}input[type=range]::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;background:white;border:5px solid var(--accent);box-shadow:0 0 0 3px #fff9}input[type=range]::-moz-range-thumb{width:10px;height:10px;border:4px solid var(--accent);border-radius:50%;background:white}.range-ends{display:flex;justify-content:space-between;font-size:12px;color:#95a18f}.control-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:3px 0 13px;font-size:14px}.control-row select{max-width:64%;font-size:13px;background:#f7f9f3;border:1px solid #dfe6d9;border-radius:6px;padding:9px;color:var(--text)}.heating-row{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:17px}.climate .slider-heading{font-size:13px}.climate .room{margin-top:17px}.climate p{color:var(--muted);font-size:12px;line-height:1.5;margin:10px 0 17px}.assumptions-button{background:#f8faf5;display:flex;justify-content:space-between;padding:16px 25px;border:0;border-top:1px solid var(--line);margin:auto -25px 0;font-size:13px;min-height:48px}.result-strip{margin:22px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden}.result-strip article{padding:23px 25px;position:relative}.result-strip article+article:before{content:'';position:absolute;left:0;top:24px;bottom:24px;width:1px;background:var(--line)}.result-strip article>span{font-size:13px;color:var(--muted)}.result-strip article>div{display:flex;gap:9px;align-items:baseline;margin:9px 0}.result-strip strong{font-family:Manrope,sans-serif;font-size:30px;font-weight:600;letter-spacing:-1px}.result-strip article>div>span{font-size:12px;color:var(--muted)}.result-strip small{font-size:12px;color:#819077}.result-strip article.savings{background:#e9f2df}.analysis-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:22px}.breakdown,.comparison{padding:25px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.section-heading h2{font-size:22px;letter-spacing:-.6px;font-weight:500;margin:8px 0 0}.unit-label{font-size:12px;max-width:90px;text-align:right;color:var(--muted)}.loss-row{display:grid;grid-template-columns:100px 1fr 37px;align-items:center;gap:13px;margin:13px 0;font-size:12px}.loss-track{height:7px;border-radius:4px;background:#edf1e8;overflow:hidden}.loss-fill{height:100%;border-radius:4px;transition:width .35s}.loss-row b{font-weight:500;text-align:right}.footnote{color:#83907d;font-size:12px;line-height:1.6;margin:18px 0 0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:right;padding:14px 10px;border-bottom:1px solid #e8ede3;white-space:nowrap}th:first-child,td:first-child{text-align:left;padding-left:0;color:var(--muted)}th{font-weight:500;font-size:12px;color:var(--muted)}td.active,th.active{background:#f0f6e9;color:var(--accent)}tbody tr:last-child td{border-bottom:0}tbody tr:last-child td:not(:first-child){font-weight:600}.page-footer{margin-top:27px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;align-items:center;color:#84907e;font-size:12px}.page-footer>span{letter-spacing:.3px}.page-footer .separator{padding:0 12px;color:#b5bfb0}.page-footer button{border:0;background:transparent;font-size:12px}.page-footer p{width:100%;margin:0;line-height:1.6}dialog{border:1px solid var(--line);border-radius:18px;max-width:650px;width:calc(100% - 32px);padding:28px;color:var(--text);max-height:90dvh;overflow:auto;box-shadow:0 20px 90px #173d3526}dialog::backdrop{background:#173d3570;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:10px}.dialog-head h2{margin:8px 0;font-size:25px;letter-spacing:-.8px;color:var(--ink)}dialog>p{font-size:14px;line-height:1.6;color:var(--muted)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;margin-top:25px}.settings-grid label,.investment-field label{font-size:13px;display:block}.settings-grid input,.investment-field input{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid var(--line);border-radius:7px;background:#f8faf5;color:var(--ink)}.settings-grid small{font-size:12px;color:var(--muted)}.investment-field{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.investment-field small{display:block;margin-top:5px;color:var(--muted)}#settings-done{margin-top:22px;width:100%}.method-copy{font-size:15px;line-height:1.7}.method-copy h3{font-size:17px;margin-top:24px;color:var(--ink)}.method-copy p{color:var(--muted)}.wide-dialog{max-width:780px}.before-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.before-card{padding:22px;border:1px solid var(--line);border-radius:12px;background:#f7f9f3}.before-card:last-child{background:#eaf3df}.before-card h3{font-size:20px;margin:6px 0 20px}.before-card dl{margin:0}.before-card dt{font-size:12px;color:var(--muted);margin-top:17px}.before-card dd{font-size:23px;margin:5px 0}.energy-grade{height:14px;border-radius:4px;margin:20px 0;background:linear-gradient(90deg,#438b69,#b9d66d,#f0d378,#e58b5d,#ce634f);position:relative}.energy-grade:after{content:'';position:absolute;left:var(--position);top:-4px;width:3px;height:22px;background:var(--ink)}#print-report{display:none}
@media(min-width:1500px){.scene-wrap{min-height:555px}.controls{padding-top:27px}.slider-group{margin-bottom:22px}}
@media(max-width:1100px){main{padding:27px 3%}.topbar{padding:0 3%}.workspace{grid-template-columns:minmax(0,1.4fr) minmax(310px,1fr);gap:16px}.controls{padding-left:19px;padding-right:19px}.assumptions-button{margin-left:-19px;margin-right:-19px;padding-left:19px;padding-right:19px}.scene-caption{left:21px}.scene-caption h2{font-size:21px}.scene-wrap{min-height:520px}.viewer-toolbar{left:15px;right:15px}.segmented button{padding:8px 10px;font-size:12px}.glass{font-size:12px;padding:8px}.parts{padding:12px 12px 8px;gap:5px}.parts button{font-size:12px;padding:8px 5px}.viewer-footer{padding:0 14px 10px}.viewer-footer>span{display:none}.result-strip article{padding:19px}.result-strip strong{font-size:27px}.analysis-grid{grid-template-columns:1fr 1.35fr;gap:16px}.breakdown,.comparison{padding:20px}.section-heading h2{font-size:19px}.comparison .section-heading{align-items:flex-start}.comparison .button{padding:8px;font-size:12px}.loss-row{grid-template-columns:83px 1fr 32px;gap:7px}.page-heading h1{font-size:32px}.top-note{display:none}.eyebrow{font-size:12px}}
@media(max-width:800px){.page-heading{align-items:flex-start}.example-badge{padding:11px;gap:10px}.example-badge b{font-size:12px}.example-badge small{font-size:12px}.example-badge>span:last-child{display:none}.workspace{grid-template-columns:minmax(0,1fr)}.scene-wrap{min-height:510px}.controls{padding:23px}.panel-heading h2{margin-bottom:20px}.controls #insulation-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.selected-part{margin-bottom:18px}.control-row select{width:60%;max-width:none}.climate{display:grid;grid-template-columns:1fr 1fr;gap:4px 25px}.climate .slider-heading{grid-row:1}.climate .room{margin:0}.climate #outdoor{grid-column:1;grid-row:2}.climate #room{grid-column:2;grid-row:2}.climate p{grid-column:1/-1}.assumptions-button{margin-left:-23px;margin-right:-23px;padding-left:23px;padding-right:23px}.result-strip{grid-template-columns:1fr 1fr}.result-strip article:nth-child(3){border-top:1px solid var(--line)}.result-strip article:nth-child(4){border-top:1px solid var(--line)}.result-strip article:nth-child(3):before{display:none}.analysis-grid{grid-template-columns:1fr}.loss-row{grid-template-columns:110px 1fr 45px}.viewer-footer>span{display:block}.parts button{font-size:14px}.viewer-toolbar .segmented button{font-size:14px}.glass{font-size:14px}.unit-label{max-width:none}.topbar{height:72px}.scene-caption h2{font-size:25px}}
@media(max-width:520px){main{padding:24px 16px}.topbar{padding:0 17px}.brand{font-size:19px}.brand-icon{width:32px;height:32px;font-size:28px;line-height:27px}.topbar .button{font-size:12px;padding:9px}.topbar .button>span{max-width:76px}.page-heading{display:block;margin-bottom:20px}.page-heading h1{font-size:29px;letter-spacing:-1.1px}.page-heading p{font-size:14px}.example-badge{margin-top:18px;width:100%;padding:9px 13px}.example-badge b{font-size:13px}.example-badge>span:nth-child(2){display:flex;align-items:center;gap:13px;flex-wrap:wrap}.example-badge small{margin:0}.mini-house{font-size:24px}.scene-wrap{min-height:465px}.scene-caption{top:87px;left:21px}.scene-caption p{font-size:12px}.scene-energy{bottom:58px;left:21px}.scene-energy strong{font-size:27px}.scene-bottom{left:20px;font-size:12px}.viewer-toolbar{top:17px;left:14px;right:14px}.viewer-toolbar .segmented button{font-size:12px;padding:8px}.glass{font-size:12px}.parts{display:grid;grid-template-columns:1fr 1fr}.parts button{font-size:13px}.viewer-footer{padding:3px 13px 12px}.viewer-footer>span{display:none}.controls #insulation-controls{display:block}.controls{padding:22px}.assumptions-button{margin-left:-22px;margin-right:-22px}.scene-energy #delta-label{max-width:140px;line-height:1.5}.thermal-legend{width:120px;font-size:12px}.result-strip{margin:16px 0}.result-strip article{padding:18px 16px}.result-strip article>span{font-size:12px}.result-strip strong{font-size:26px}.result-strip article>div{gap:5px}.result-strip article>div>span{font-size:12px}.result-strip small{font-size:12px}.breakdown,.comparison{padding:20px 17px}.section-heading h2{font-size:20px}.comparison .section-heading{display:block}.comparison .button{margin-top:15px;font-size:12px}.comparison table{font-size:12px}th{font-size:12px}th,td{padding:12px 6px}.settings-grid{grid-template-columns:1fr}.before-grid{gap:8px}.before-card{padding:13px}.before-card h3{font-size:16px}.before-card dd{font-size:20px}.before-card dt{font-size:12px}.dialog-head h2{font-size:23px}dialog{padding:21px}.page-footer>span{line-height:1.7}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{@page{size:A4;margin:16mm}body{background:white;font-family:Arial,sans-serif}body>.topbar,body>main,body>dialog{display:none!important}#print-report{display:block;color:#1d352c;font-size:10pt}#print-report h1{font-size:24pt;margin:0 0 8pt}#print-report h2{font-size:15pt;margin-top:22pt}#print-report h3{font-size:12pt}#print-report p{line-height:1.6}#print-report table{font-size:9pt;margin:14pt 0}#print-report th,#print-report td{padding:10pt 5pt;white-space:normal}#print-report tr{break-inside:avoid}#print-report .report-note{font-size:8pt;color:#667569;line-height:1.6}#print-report .report-header{border-bottom:2px solid #244e3c;padding-bottom:15pt}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:20pt}.report-block{break-inside:avoid}#print-report .page-break{break-before:page}}

.slider-heading,.control-row,.climate .slider-heading,.parts button,.scenario-tabs button span,.control-row select,.assumptions-button,.toggle-label,.loss-row{font-size:14px}.scene-caption p,.viewer-footer>span,.scene-bottom,.footnote{font-size:12px}.control-row select{min-height:42px}.scenario-tabs button{min-height:44px}.slider-group{padding-top:6px;padding-bottom:6px}input[type=range]{margin-top:16px;margin-bottom:13px}.scene-wrap{min-height:560px}@media(max-width:520px){.scene-wrap{min-height:475px}.scene-bottom>span{max-width:240px;font-size:12px}.control-row{flex-wrap:wrap}.control-row select{width:auto;max-width:67%;font-size:13px}.selected-part{flex-wrap:wrap}.viewer-toolbar .glass{font-size:12px}.viewer-toolbar .segmented button{font-size:12px}.result-strip article>div{flex-wrap:wrap}.climate{gap:4px 18px}}
/* Personal building editor and material library */
.building-dialog{max-width:820px;padding:30px}.dialog-head p{font-size:15px;line-height:1.6;color:var(--muted);margin:8px 0 16px}.building-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px}.building-form-grid label{display:block;font-size:14px;margin-bottom:8px;line-height:1.45}.building-form-grid input,.building-form-grid select{width:100%;min-height:46px;padding:10px 12px;border:1px solid #d4dfcf;border-radius:8px;background:#f8faf5;color:var(--ink);font-size:16px}.building-form-grid input:focus,.building-form-grid select:focus{outline:2px solid #4c8061;outline-offset:2px}.building-form-grid input:disabled{opacity:.4}.roof-choices{padding:0;border:0;margin:26px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.roof-choices legend{font-size:14px;margin-bottom:12px}.roof-choices label{position:relative;cursor:pointer}.roof-choices input{position:absolute;opacity:0}.roof-choices span{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid #d6dfcf;border-radius:10px;padding:12px 6px;font-size:14px;background:#f6f8f2}.roof-choices b{font-size:28px;line-height:1;font-weight:400;color:#789171}.roof-choices input:checked+span{background:#e9f2de;border-color:#527950;box-shadow:inset 0 0 0 1px #527950}.roof-choices input:focus-visible+span{outline:3px solid #527950;outline-offset:3px}.attic-choice{display:flex;align-items:center;gap:10px;margin:22px 0 8px;font-size:15px;line-height:1.6}.attic-choice input{accent-color:var(--ink);width:20px;height:20px;flex-shrink:0}.form-note{font-size:13px;line-height:1.65;color:var(--muted);margin:12px 0}.building-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:#edf3e5;border-radius:12px;padding:20px;margin:22px 0;color:#66815c}.building-summary span{font-size:12px;line-height:1.5}.building-summary b{display:block;font-size:17px;line-height:1.5;color:var(--ink);font-weight:600;margin-top:6px}.building-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin-bottom:20px}.building-details summary{font-size:14px;cursor:pointer;line-height:1.6}.building-details[open] summary{margin-bottom:22px}.building-actions{display:flex;justify-content:space-between;gap:15px;margin-top:23px}.building-actions button{min-height:46px}.material-select{display:block;width:100%;padding:6px 9px;background:#f6f8f2;border:1px solid #dfe6d9;border-radius:6px;font-size:14px;color:var(--text);min-height:36px;margin-top:7px}.material-lambda{font-size:12px;color:#7b8973;margin-top:5px}.slider-group{margin-bottom:15px}.lighting-bar{display:flex;gap:15px;align-items:center;padding:7px 22px 11px;background:#fdfefb;font-size:12px}.lighting-bar label{white-space:nowrap}.lighting-bar input{max-width:130px;margin:8px 0}.lighting-bar>span{font-size:12px;color:var(--muted);margin-left:auto}.camera-buttons{display:flex;gap:8px}.camera-buttons button{width:35px;height:35px}.scene-wrap{background:radial-gradient(ellipse at 50% 38%,#fafcf6 0,#edf1e5 65%,#e3e9db 100%)}.scene-caption{z-index:1}.scene-caption h2{max-width:260px}.scene-energy{background:#f1f5e7c9;backdrop-filter:blur(8px);border:1px solid #dfe6d8;border-radius:12px;padding:12px 16px;left:20px;bottom:63px}.scene-energy #delta-label{font-size:12px}.render-error{position:absolute;left:25px;right:25px;top:40%;background:white;padding:22px;line-height:1.6;border-radius:12px;z-index:3}.method-copy a{color:#326f51;text-decoration:underline;text-underline-offset:3px}.method-copy small{font-size:13px}.viewer-footer>span{font-size:12px}.example-badge{border-color:#adc4a2}.example-badge:hover{background:#edf4e5}.lighting-bar input{--fill:55%}
@media(max-width:800px){.controls #insulation-controls{gap:18px}.slider-heading{align-items:flex-start}.slider-heading label{line-height:1.5;min-height:40px}.climate .slider-heading label{min-height:0}.material-select{font-size:13px}.material-lambda{line-height:1.5}.scene-wrap{min-height:575px}}
@media(max-width:520px){.building-dialog{padding:22px 18px}.building-form-grid{gap:16px 13px}.building-form-grid label{font-size:13px;min-height:38px}.roof-choices{grid-template-columns:1fr 1fr}.building-summary{grid-template-columns:1fr;gap:12px;padding:17px}.building-summary span{display:flex;justify-content:space-between;align-items:center;gap:12px}.building-summary b{font-size:15px;margin:0;text-align:right}.building-actions{flex-direction:column-reverse}.lighting-bar>span{display:none}.scene-wrap{min-height:500px}.scene-energy{left:15px;padding:8px 12px;bottom:70px}.scene-energy strong{font-size:25px}.scene-caption{left:20px}.scene-caption h2{font-size:21px;max-width:210px}.scene-bottom{left:17px;right:17px}.scene-bottom>span{max-width:180px;font-size:12px;line-height:1.5}.camera-buttons{gap:5px}.camera-buttons button{width:31px;height:31px}.slider-heading label{min-height:0}.material-select{font-size:14px;min-height:42px}.example-badge>span:nth-child(2){display:block}.example-badge small{margin-top:5px}}

.loss-row{grid-template-columns:minmax(105px,1.1fr) minmax(70px,1fr) 40px}.loss-row>span{font-size:13px;line-height:1.4}.scene-energy{pointer-events:none}@media(max-width:1100px) and (min-width:801px){.lighting-bar{padding-left:15px;padding-right:15px}.lighting-bar>span{display:none}.scene-bottom>span{max-width:210px;line-height:1.5}.parts button{font-size:12px}.camera-buttons button{width:30px;height:30px}}
/* Thermographic camera view and explanations */
.thermal-view{background:#080616!important}.thermal-view .scene-caption{color:#fbf2ff}.thermal-view .scene-caption .eyebrow{color:#b4a6ce}.thermal-view .scene-caption p{color:#c4b5db}.thermal-view .scene-energy{background:#110c28d9;border-color:#443156;color:#fff}.thermal-view .scene-energy>span,.thermal-view .scene-energy strong small{color:#cbbbdf}.thermal-view .scene-bottom{color:#c3b8d3}.thermal-view .scene-bottom button{background:#211435;border-color:#5b456f;color:#f5eafb}.thermal-hud{position:absolute;right:23px;top:90px;display:flex;flex-direction:column;gap:7px;align-items:flex-end;color:#e2d7f0;font:12px ui-monospace,monospace;pointer-events:none}.thermal-hud span:first-child{border:1px solid #8b699e;padding:6px 9px;border-radius:4px;font-size:12px;letter-spacing:1px}.thermal-hud span+span{font-size:12px;color:#ab99c1}.thermal-crosshair{position:absolute;pointer-events:none;top:50%;left:50%;width:22px;height:22px;transform:translate(-50%,-50%);opacity:.65}.thermal-crosshair:before,.thermal-crosshair:after{content:'';position:absolute;background:#ffffed;box-shadow:0 0 3px #0e061d}.thermal-crosshair:before{width:22px;height:1px;top:10px}.thermal-crosshair:after{height:22px;width:1px;left:10px}.thermal-view .thermal-legend{width:64px;right:22px;top:47%;bottom:auto;transform:translateY(-30%);text-align:center;color:#e4d7f1;font:12px ui-monospace,monospace;pointer-events:none}.thermal-view .thermal-legend div{height:150px;width:15px;border-radius:3px;margin:10px auto;background:linear-gradient(to top,#060514 0%,#2e0b66 16%,#87097a 33%,#e02136 50%,#ff8012 70%,#ffe05c 86%,#fffce6 100%);border:1px solid #735684}.thermal-legend small{display:block;font:11px system-ui;line-height:1.6;color:#b5a2c9;margin-top:10px}.thermal-note{position:absolute;bottom:54px;left:22px;right:22px;text-align:left;margin:0;font:12px ui-monospace,monospace;color:#ae9dbf;pointer-events:none;line-height:1.4}.thermal-view .scene-energy{bottom:90px}.thermal-hud[hidden],.thermal-crosshair[hidden],.thermal-note[hidden]{display:none}.parts-heading{background:#fdfefb;padding:17px 20px 0;color:#6b8060;font-size:13px;font-weight:600;border-top:1px solid var(--line)}.parts{border-top:0;padding-top:10px}.parts button{white-space:normal;line-height:1.5}.part-help{padding:4px 22px 18px;background:#fdfefb;font-size:14px;line-height:1.6}.part-help strong{font-size:14px;font-weight:600}.part-help p{margin:7px 0;color:#6b7a65;font-size:13px}.part-help>span{font-size:12px;color:#447250;font-weight:500}.scenario-description{padding:12px 14px;background:#edf3e6;border-radius:9px;margin:-4px 0 10px;font-size:13px;line-height:1.6}.scenario-description p{margin:0}.scenario-description small{font-size:12px;display:block;color:#6c7f63;margin-top:7px;line-height:1.6}.scenario-guide{margin:0 0 20px;font-size:13px;line-height:1.6;color:#6d7d65}.scenario-guide summary{cursor:pointer;font-size:13px;padding:6px 0}.scenario-guide p{margin:10px 0}.scenario-guide b{color:#38513a}.subcontrol-label{font-size:12px;display:block;margin-top:8px;color:#657b5a}.control-explanation{font-size:12px;line-height:1.6;color:#6d7f63;margin:8px 0}.wdvs-info{padding:10px 0 3px}.wdvs-info p{font-size:12px;line-height:1.6;color:#6d7f63;margin:0 0 10px}.wdvs-info small{font-size:11px;color:#91a086;line-height:1.5}.wdvs-stack{display:flex;gap:2px;min-height:45px;align-items:stretch;margin-bottom:5px}.wdvs-stack span{padding:7px 5px;display:flex;align-items:center;justify-content:center;background:#c8bdaa;font-size:10px;writing-mode:vertical-rl;color:#3b4632;border-radius:2px}.wdvs-stack span:nth-child(2){background:#d7d6cb}.wdvs-stack span:nth-child(3){writing-mode:horizontal-tb;flex:1;background:#e1d993;font-size:12px;text-align:center;padding:8px}.wdvs-stack span:nth-child(4){background:#b7c2b5}.wdvs-stack span:last-child{background:#e8e8df}.wdvs-info[hidden]{display:none}.slider-group{padding:12px 12px;margin:0 -12px 16px;border:1px solid transparent;scroll-margin-top:30px}.slider-group.chosen{background:#f2f6eb;border-color:#b5cba1;box-shadow:0 0 0 2px #f8faf5}.control-row.chosen{background:#f2f6eb;outline:1px solid #b5cba1;border-radius:8px;padding:12px;margin-left:-12px;margin-right:-12px;scroll-margin-top:30px}.roof-loss-detail{padding:13px;background:#f1f5ea;border-left:3px solid #90a975;border-radius:0 7px 7px 0;margin-top:18px;display:flex;flex-direction:column;gap:7px;line-height:1.5}.roof-loss-detail strong{font-size:14px;font-weight:600}.roof-loss-detail span{font-size:13px;color:#4e6d43}.roof-loss-detail small{font-size:12px;color:#7f8f74}.lighting-bar input:disabled{opacity:.4;cursor:default}.viewer-footer .toggle-label{font-size:12px}.viewer-footer{align-items:flex-start}.viewer-footer>span{max-width:230px;line-height:1.5}.material-select:disabled{opacity:.6}
@media(max-width:1100px) and (min-width:801px){.thermal-hud{top:87px;right:15px}.thermal-hud span:first-child{font-size:10px;padding:5px}.thermal-hud span+span{max-width:90px;font-size:10px}.scene-caption h2{max-width:230px;font-size:20px}.scene-caption p{max-width:210px}.parts button{font-size:12px}.viewer-footer .toggle-label{white-space:normal}.wdvs-stack span{font-size:10px}.thermal-note{font-size:11px;right:15px;left:20px}}
@media(max-width:800px){.controls #insulation-controls{display:block}.scene-wrap{min-height:620px}.viewer-footer{flex-wrap:wrap}.viewer-footer>span{max-width:none}.scenario-tabs button span{font-size:14px}}
@media(max-width:520px){.thermal-hud{top:82px;right:14px}.thermal-hud span:first-child{font-size:10px;padding:5px}.thermal-hud span+span{font-size:10px;max-width:86px;text-align:right}.thermal-view .scene-caption h2{font-size:19px;max-width:200px}.thermal-view .scene-caption p{max-width:180px;font-size:12px;line-height:1.5}.thermal-view .thermal-legend{right:9px;width:51px;top:42%}.thermal-view .thermal-legend div{height:105px;width:12px}.thermal-view .thermal-legend span,.thermal-legend small{font-size:10px}.thermal-note{left:17px;right:16px;bottom:57px;font-size:10px;line-height:1.6}.thermal-view .scene-energy{left:15px;bottom:102px}.scene-wrap{min-height:540px}.part-help{padding-left:16px;padding-right:16px}.parts-heading{padding-left:16px;font-size:13px}.scenario-description{font-size:13px}.viewer-footer>span{display:block;font-size:12px}.viewer-footer .toggle-label{white-space:normal}}

/* Keep the scene independent of the controls and reserve room for its labels. */
.viewer{align-self:start}
.scene-wrap{flex:none;height:650px;min-height:650px}
#house{top:175px;bottom:145px;left:12px;right:75px;width:calc(100% - 87px);height:calc(100% - 320px)}
@media(max-width:800px){.scene-wrap{height:620px;min-height:620px}}
@media(max-width:520px){.scene-wrap{height:590px;min-height:590px}#house{right:60px;width:calc(100% - 72px)}}
/* Beratung, Bestandsannahmen und virtueller Ausweis */
.topbar{height:auto;min-height:84px;gap:18px;flex-wrap:wrap;padding-top:15px;padding-bottom:15px}
.topbar .brand{margin-right:auto}.top-note{display:none}.consulting-logo{width:220px;height:auto;max-width:100%;object-fit:contain}
.typology-box{background:#edf3e6;border:1px solid #d0dfc3;border-radius:12px;padding:18px;margin:20px 0}.typology-box h3{margin:0 0 10px;font-size:17px}.typology-box p{font-size:13px;line-height:1.6}.typology-box a{font-size:13px;text-decoration:underline}.typology-box button:disabled{opacity:.55;cursor:not-allowed}
.protect-value{display:block;font-size:13px;margin:12px 0}.protect-value small{display:block;color:var(--muted);margin:3px 0 0 24px}input[type=checkbox]{accent-color:var(--accent)}
.energy-pass{margin-top:24px;padding:28px}.energy-pass .section-heading{margin-bottom:12px}.energy-pass h2{font-size:27px}.simulation-badge{padding:8px 12px;background:#edf3e6;border:1px solid #cbdcbf;border-radius:20px;font-size:12px;line-height:1.4}.energy-pass-summary{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.energy-pass-summary>div>span{font-size:14px;color:var(--muted)}.energy-pass-summary p{margin:8px 0 20px}.energy-pass-summary strong{font:600 48px Manrope,system-ui,sans-serif;letter-spacing:-2px}.energy-pass-summary dl{margin:0;display:grid;gap:10px}.energy-pass-summary dl>div{display:flex;justify-content:space-between;gap:16px;font-size:14px}.energy-pass-summary dt{color:var(--muted)}.energy-pass-summary dd{margin:0;text-align:right;font-weight:600}
.energy-scale{height:22px;border-radius:5px;background:linear-gradient(90deg,#34865a,#97c967 25%,#e7d663 50%,#e99e59 75%,#cb514c);position:relative;margin-top:30px}.energy-marker{position:absolute;top:-27px;font-size:24px;line-height:1;transform:translateX(-50%);color:#173d35}.energy-ticks{display:flex;justify-content:space-between;margin-top:8px;color:var(--muted);font-size:12px}.scale-caption{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.energy-pass .footnote{font-size:13px}.report-logo{float:right;width:190px;height:auto}.report-indicator{border:1px solid #96af86;padding:10px 14px;break-inside:avoid}
@media(max-width:800px){.consulting-logo{width:180px}.energy-pass-summary{grid-template-columns:1fr}.energy-pass .section-heading{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:520px){.topbar{gap:12px}.topbar .brand{width:100%}.consulting-logo{width:170px;margin-left:auto}.energy-pass{padding:20px}.energy-pass h2{font-size:23px}.energy-pass-summary strong{font-size:40px}.energy-pass-summary dl>div{font-size:13px}.thermal-hud{display:none}.thermal-view .scene-caption h2{max-width:calc(100vw - 95px)}}
@media print{#print-report .report-indicator h2{margin-top:4pt}#print-report .report-indicator p{margin:6pt 0}#print-report .report-header{min-height:70pt}}
@media(min-width:801px){.controls{max-height:1040px;overflow-y:auto;overscroll-behavior:contain}.controls>*{flex-shrink:0}.assumptions-button{margin-top:12px}.viewer{position:sticky;top:12px}}
.report-preview{max-width:1000px}.report-preview-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;position:sticky;top:-28px;background:white;padding:12px 0;border-bottom:1px solid var(--line);z-index:1}.report-preview-actions h2{margin-right:auto;font-size:20px}#report-preview-content{font-size:14px;line-height:1.6;margin-top:24px}#report-preview-content table{table-layout:fixed;font-size:12px}#report-preview-content th,#report-preview-content td{white-space:normal;overflow-wrap:anywhere;vertical-align:top;padding:10px 7px}#report-preview-content h1{font-size:28px}#report-preview-content h2{font-size:21px}#report-preview-content h3{font-size:16px}#report-preview-content .page-break{border-top:1px solid var(--line);margin:25px 0}#report-preview-content .report-note{font-size:12px;color:var(--muted)}
@media(max-width:520px){.report-preview{padding:18px 12px}.report-preview-actions{top:-18px}.report-preview-actions h2{width:100%;margin:0}.report-preview-actions .button{font-size:12px;padding:10px}.report-preview .report-grid{grid-template-columns:1fr}.report-logo{float:none;display:block;margin:0 0 16px}}

.formula-button{border:0;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:help;text-decoration:underline;text-underline-offset:3px;padding:5px 7px;white-space:nowrap}.formula-button:focus-visible{outline:2px solid #669953;outline-offset:2px}.selected-part{flex-wrap:wrap;gap:6px}#formula-copy{white-space:pre-line;line-height:1.8}.scene-energy .formula-button{display:block;padding-left:0}

.scene-energy .formula-button{pointer-events:auto}

.control-row[data-control="door"]{flex-wrap:wrap}.control-row[data-control="door"] input{width:100px;padding:8px;border:1px solid var(--line);border-radius:6px;font:inherit;color:var(--ink)}.control-row[data-control="door"] small{width:100%;font-size:11px;color:var(--muted)}.parts{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:520px){.parts{grid-template-columns:repeat(3,minmax(0,1fr))}}

.design-load{padding:16px;background:#edf3e6;border-radius:10px;display:flex;flex-direction:column;gap:10px;margin:18px 0;font-size:13px}.design-load>b{font-size:19px}.design-load input{padding:8px;border:1px solid var(--line);border-radius:6px;font:inherit;background:#fff}.design-load p{margin:0;line-height:1.6;color:var(--muted)}

.result-climate{margin:12px 0 24px;padding:18px 22px;background:#edf3e6;border:1px solid var(--line);border-radius:12px;font-size:13px;line-height:1.7}.result-climate strong{font-size:14px}.result-climate p{margin:8px 0}.result-climate small{display:block;color:var(--muted);font-size:12px}

.design-load select{padding:8px;border:1px solid var(--line);border-radius:6px;font:inherit;background:white;width:100%}

.insulation-note{position:absolute;left:18px;right:18px;bottom:53px;font-size:11px;color:#365545;pointer-events:none}.thermal-view .insulation-note{display:none}

.zone-controls{padding:16px 18px;margin:14px 0;background:#fff;border:1px solid #dce4da;border-radius:12px}.zone-controls h3{font-size:16px;margin:0 0 12px}.zone-controls label{display:block;margin:10px 0;font-size:13px}.zone-controls input[type=number]{width:120px;padding:8px;border:1px solid #cad8c8;border-radius:6px}#area-summary{font-size:12px;line-height:1.7;margin-top:12px}

#area-details{margin-top:14px}#area-details>summary{cursor:pointer;font-weight:600;padding:10px 0;color:#244e42}

.start-entry{width:400px;max-width:100%;flex-shrink:0}.start-prompt{display:flex;align-items:center;justify-content:flex-end;gap:10px;color:#347844;font-size:15px;font-weight:700;line-height:1.35;margin-bottom:4px}.start-prompt svg{flex-shrink:0}.start-entry .example-badge{width:100%;border:2px solid #4d8550;background:#edf5e5;box-shadow:0 3px 12px #346b4512}.start-entry .example-badge:hover{background:#dfedcf;border-color:#2e6439}.start-entry .example-badge:focus-visible{outline:3px solid #347844;outline-offset:4px}@media(max-width:760px){.start-entry{width:100%}.start-prompt{justify-content:flex-start;font-size:14px}.start-entry .example-badge{white-space:normal;text-align:left}}

@keyframes start-hint-blink{0%,100%{opacity:1}50%{opacity:.3}}.start-prompt[data-pending="true"]{animation:start-hint-blink 1.8s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.start-prompt[data-pending="true"]{animation:none}}

.configuration-stack{display:flex;flex-direction:column;gap:22px;min-width:0}.configuration-stack .controls{max-height:none;overflow:visible}.climate-card{padding:26px;min-width:0}.climate-card-heading>span{font-size:11px;letter-spacing:.15em;color:#4a7559;font-weight:700}.climate-card-heading h2{font-size:23px;line-height:1.2;letter-spacing:-.6px;margin:10px 0 24px}.climate-card .design-load{margin:0;background:#f4f7ef;padding:20px;border-radius:10px}.climate-card .climate{padding:20px 0 0}.climate-card .assumptions-button{margin:20px 0 -10px;width:100%;padding:16px 0;border-top:1px solid #dce5d8}.configuration-stack .controls{align-self:stretch}@media(max-width:520px){.climate-card{padding:20px}}

.energy-explanation{margin:24px 0 16px;padding:20px 24px;background:#f2f6ed;border-left:3px solid #437953;color:var(--ink);line-height:1.65;font-size:14px}.energy-explanation h3{font-size:18px;margin:0 0 14px}.energy-explanation p{margin:10px 0}.energy-equation{padding:14px 0;border-top:1px solid #d3ddcf;border-bottom:1px solid #d3ddcf;font-variant-numeric:tabular-nums}@media(max-width:520px){.energy-explanation{padding:16px}}

.pass-status{font-size:13px;font-weight:600;color:#506950}.pass-bands{display:flex;background:linear-gradient(90deg,#49c86a,#a4df45 18%,#e9e746 35%,#ffd84b 52%,#f3a94b 70%,#e45d44 88%,#c9443c);border-radius:5px;overflow:hidden;margin:20px 0 12px;color:#162818}.pass-bands span{text-align:center;border-right:1px solid #fff9;font-weight:700;padding:7px 0}.pass-bands small{display:block;font-size:10px;font-weight:400}.pass-arrow-label{font-size:13px;margin:14px 0}.energy-pass .energy-scale{background:linear-gradient(90deg,#49c86a,#a4df45 18%,#e9e746 35%,#ffd84b 52%,#f3a94b 70%,#e45d44 88%,#c9443c)}.primary-scale{margin-top:12px!important}.primary-scale .energy-marker{top:25px}.primary-scale+.pass-arrow-label{margin-top:34px}.pass-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid var(--line);padding-top:16px;margin-top:24px}.pass-grid section{font-size:13px;line-height:1.65}.pass-grid h3{font-size:17px}.pass-data{display:grid;gap:12px}.pass-data>div{display:flex;justify-content:space-between;gap:16px}.pass-data dd{text-align:right;margin:0;font-weight:600}.pass-calculation{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.pass-calculation summary{cursor:pointer;font-weight:600}.pass-inputs{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pass-inputs label{font-size:13px}.pass-inputs input{display:block;width:100%;padding:12px;border:1px solid var(--line);margin:8px 0}.pass-calculation a{text-decoration:underline}.report-indicator .pass-data{font-size:11px}@media(max-width:700px){.pass-grid,.pass-inputs{grid-template-columns:1fr}.pass-bands{font-size:12px}.pass-bands small{font-size:9px}}

.attic-extension{border:1px solid var(--line);padding:14px;margin:16px 0;background:#f7f9f2}.attic-extension summary{cursor:pointer;font-weight:600}.attic-extension[open] summary{margin-bottom:16px}
/* The growing attic panel must remain reachable below the canvas. */
.workspace .viewer{position:relative;top:auto;align-self:start}
#core-info{padding:14px 0}#core-info[hidden],#wall[hidden],.range-ends[hidden]{display:none!important}#core-info label{display:block;font-size:13px;margin:10px 0 6px}#core-info input{display:block;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:white}#core-info .wdvs-stack{display:flex;height:auto;gap:5px;margin:12px 0}#core-info .wdvs-stack span{writing-mode:horizontal-tb;flex:1;width:auto;padding:12px 6px;text-align:center}#core-info #core-layer{background:#bfd898;flex:1.5}

#material-wall[hidden],label[for="material-wall"][hidden]{display:none!important}
