/* Heat loss calculator — public */
.hl-body{background:#f5f7f5;color:#27352f}.hl-page{overflow:hidden}.hl-wrap{max-width:1220px;margin:0 auto;padding:0 24px}
.hl-hero{padding:34px 0 42px;background:linear-gradient(135deg,#f4f7f3 0%,#edf4ef 55%,#faf5ee 100%)}
.hl-breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:14px;color:#6b7b73;margin-bottom:28px}.hl-breadcrumbs a{color:#436a58;text-decoration:none}
.hl-hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(350px,.92fr);gap:40px;align-items:center}.hl-kicker,.hl-section-title>span{display:inline-flex;align-items:center;gap:8px;color:#32644f;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.hl-hero h1{font-size:clamp(34px,4vw,58px);line-height:1.03;margin:12px 0 18px;letter-spacing:-.035em;color:#20372d}.hl-lead{font-size:19px;line-height:1.55;max-width:760px;color:#4e6158}.hl-tags{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}.hl-tags span{background:#fff;border:1px solid #d9e5de;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:700;color:#3b5d4e}.hl-prelim{display:flex;gap:12px;max-width:760px;background:#fffdf8;border:1px solid #eadfcb;border-radius:16px;padding:15px 17px}.hl-prelim strong{display:block;margin-bottom:4px}.hl-prelim p{margin:0;color:#66736c;font-size:14px;line-height:1.45}
.hl-hero-visual{height:390px;border:1px solid #dfe8e3;border-radius:28px;background:#fff;box-shadow:0 18px 60px rgba(38,72,55,.11);position:relative;overflow:hidden}.hl-house{position:absolute;left:11%;right:11%;top:15%;bottom:14%;border:4px solid #4c6358;border-radius:5px;background:linear-gradient(135deg,#fbfcfb,#f0f5f2)}.hl-house:before{content:"";position:absolute;left:27%;top:22%;width:29%;height:31%;border:3px solid #7b9690;background:linear-gradient(#eaf5f8,#d5ebf2);box-shadow:inset 0 -8px #fff}.hl-house:after{content:"";position:absolute;left:22%;right:22%;bottom:14%;height:42px;border:2px solid #819087;border-radius:6px;background:repeating-linear-gradient(90deg,#f4f5f4 0 12px,#a8b4ae 12px 14px)}
.hl-loss-arrow{position:absolute;color:#df6f46;font-weight:900;font-size:26px;line-height:1}.hl-loss-arrow.a1{left:3%;top:40%;transform:rotate(180deg)}.hl-loss-arrow.a2{right:3%;top:35%}.hl-loss-arrow.a3{left:47%;top:3%;transform:rotate(-90deg)}.hl-loss-arrow.a4{left:47%;bottom:2%;transform:rotate(90deg)}.hl-callout{position:absolute;background:#fff;border:1px solid #d9e4de;border-radius:13px;padding:10px 12px;box-shadow:0 7px 24px rgba(27,57,44,.09);font-size:11px;line-height:1.3}.hl-callout b{display:block;color:#294e3e;font-size:15px}.hl-callout.climate{top:6%;right:5%}.hl-callout.total{left:5%;bottom:5%}.hl-callout.wall{right:4%;bottom:18%}.hl-callout small{color:#6f8178}
.hl-calculator{margin-top:-8px;padding-bottom:30px}.hl-shell{background:#fff;border:1px solid #dfe8e3;border-radius:24px;box-shadow:0 15px 45px rgba(30,65,48,.08);overflow:hidden}.hl-stepper{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #e5ece8;background:#f9fbfa}.hl-step-tab{appearance:none;border:0;border-right:1px solid #e5ece8;background:transparent;padding:17px 12px;display:flex;gap:10px;align-items:center;text-align:left;color:#65776e;cursor:pointer}.hl-step-tab:last-child{border-right:0}.hl-step-tab i{font-style:normal;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e8efeb;color:#587166;font-weight:800;flex:0 0 auto}.hl-step-tab b,.hl-step-tab small{display:block}.hl-step-tab b{font-size:14px}.hl-step-tab small{font-size:11px;margin-top:2px;font-weight:500}.hl-step-tab.is-active{background:#eef7f2;color:#234c3a}.hl-step-tab.is-active i{background:#285f48;color:#fff}.hl-step-tab.is-done i{background:#cce6da;color:#245b44}.hl-progress{height:4px;background:#e6ece9}.hl-progress span{display:block;height:100%;width:25%;background:#337258;transition:width .25s}.hl-stage{display:none;padding:28px}.hl-stage.is-active{display:block}.hl-stage-heading{margin-bottom:22px}.hl-stage-heading>span{font-size:12px;font-weight:800;color:#397058;text-transform:uppercase}.hl-stage-heading h2{font-size:28px;line-height:1.15;margin:6px 0 8px;color:#20392e}.hl-stage-heading p{margin:0;color:#65756e;line-height:1.55;max-width:920px}
.hl-mode-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}.hl-mode-card{appearance:none;border:1px solid #dce6e1;border-radius:18px;background:#fff;padding:18px;display:flex;gap:14px;text-align:left;cursor:pointer;min-height:118px;transition:.18s}.hl-mode-card:hover{border-color:#9bbcab;box-shadow:0 8px 24px rgba(36,83,61,.08)}.hl-mode-card.is-active{border-color:#3f7e61;background:linear-gradient(135deg,#eef8f3,#fbfdfc);box-shadow:0 0 0 2px rgba(63,126,97,.09)}.hl-mode-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto;background:#e7f0eb;color:#396a53;font-weight:900}.hl-mode-card.is-active .hl-mode-icon{background:#2f6a50;color:#fff}.hl-mode-card b{display:block;color:#284b3b;font-size:17px;margin-bottom:6px}.hl-mode-card small{display:block;color:#64766d;line-height:1.45;font-size:12px}.hl-mode-card em{display:inline-block;margin-top:9px;color:#47705d;font-size:10px;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.hl-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hl-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hl-card{border:1px solid #e1e9e5;border-radius:18px;padding:20px;background:#fff}.hl-card h3{font-size:19px;margin:0 0 16px;color:#294638}.hl-card h4{font-size:15px;margin:18px 0 10px;color:#385448}.hl-fields{display:grid;gap:14px}.hl-fields-2{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-fields-3{grid-template-columns:repeat(3,minmax(0,1fr))}.hl-fields label,.hl-label{display:block}.hl-fields label>span,.hl-label>span{display:block;font-size:12px;font-weight:800;color:#52655b;margin:0 0 6px}.hl-fields label>small,.hl-label>small{display:block;margin-top:5px;font-size:11px;line-height:1.35;color:#7a8982}.hl-fields input,.hl-fields select,.hl-label input,.hl-label select{width:100%;box-sizing:border-box;height:44px;border:1px solid #cfdad4;border-radius:10px;background:#fff;padding:0 12px;color:#273a31;font:inherit}.hl-fields input:focus,.hl-fields select:focus,.hl-label input:focus,.hl-label select:focus{outline:2px solid #b9d9ca;outline-offset:1px;border-color:#77a48f}.hl-unit{display:flex;align-items:center;border:1px solid #cfdad4;border-radius:10px;background:#fff;overflow:hidden}.hl-unit input{border:0!important;border-radius:0!important;min-width:0}.hl-unit b{padding:0 11px;color:#60736a;font-size:12px;white-space:nowrap}.hl-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hl-check{display:flex!important;align-items:center;gap:8px;border:1px solid #e0e8e4;border-radius:10px;padding:9px 10px;background:#fafcfa}.hl-check input{width:auto!important;height:auto!important}.hl-check span{margin:0!important;font-size:12px!important}.hl-mini-results{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:16px}.hl-mini-results>div,.hl-kpi{padding:12px;border:1px solid #e0e8e4;border-radius:12px;background:#f9fbfa}.hl-mini-results small,.hl-kpi small{display:block;font-size:10px;color:#75847d}.hl-mini-results strong,.hl-kpi strong{display:block;font-size:17px;color:#294e3e;margin-top:3px}.hl-climate{background:linear-gradient(135deg,#f0f7f3,#fbfaf5);border-color:#d5e6dd}.hl-climate-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:14px}.hl-climate-status{display:flex;gap:12px;align-items:flex-start}.hl-loc-icon{width:42px;height:42px;border-radius:12px;background:#d9eee3;display:grid;place-items:center;font-size:20px}.hl-climate-status b{display:block;color:#244c3a}.hl-climate-status small{display:block;color:#65776e;margin-top:3px;line-height:1.35}.hl-climate-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.hl-small-btn{border:1px solid #d3ded8;background:#fff;color:#4a6257;border-radius:10px;padding:9px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.hl-climate-result{display:grid;grid-template-columns:1.35fr .7fr .7fr;gap:10px;margin-top:14px}.hl-climate-result>div{border:1px solid #dce7e1;border-radius:13px;background:#fff;padding:12px}.hl-climate-result small{display:block;color:#718078;font-size:11px}.hl-climate-result strong{display:block;font-size:20px;color:#234b39;margin-top:4px}.hl-source-chip,.hl-origin{display:inline-flex;margin-top:8px;padding:5px 8px;border-radius:999px;background:#edf4f0;color:#3c6855;font-size:10px;font-weight:800}.hl-origin.estimate{background:#fff1dc;color:#7a5619}.hl-origin.user{background:#eef2fb;color:#435c8d}.hl-warning,.hl-info{margin-top:14px;border-radius:12px;padding:11px 13px;font-size:12px;line-height:1.45}.hl-warning{background:#fff4dc;border:1px solid #ecd7a6;color:#755416}.hl-info{background:#edf5f9;border:1px solid #cfe0e8;color:#426171}.hl-alerts{margin:18px 28px 0;padding:12px 15px;background:#fff5df;border:1px solid #ead3a2;border-radius:12px;color:#745017;font-size:13px}.hl-alerts.bad{background:#fff0ec;border-color:#ecc7bc;color:#803b2c}.hl-alerts ul{margin:0;padding-left:18px}.hl-hidden{display:none!important}
.hl-actions{display:flex;justify-content:space-between;gap:10px;margin-top:22px}.hl-actions .btn{min-width:130px}.hl-simple-panel,.hl-pro-panel{display:none}.hl-simple-panel.is-active,.hl-pro-panel.is-active{display:block}.hl-wall-list,.hl-opening-list,.hl-bridge-list{display:grid;gap:10px}.hl-wall-row{display:grid;grid-template-columns:48px 1fr .8fr .9fr .75fr;gap:8px;align-items:end;border:1px solid #e2eae6;border-radius:13px;padding:10px;background:#fafcfb}.hl-opening-row{display:grid;grid-template-columns:1fr .7fr .7fr .6fr .75fr .75fr 34px;gap:8px;align-items:end;border:1px solid #e2eae6;border-radius:13px;padding:10px;background:#fafcfb}.hl-bridge-row{display:grid;grid-template-columns:1.1fr .8fr .8fr 34px;gap:8px;align-items:end;border:1px solid #e2eae6;border-radius:13px;padding:10px;background:#fafcfb}.hl-wall-row label>span,.hl-opening-row label>span,.hl-bridge-row label>span{font-size:10px}.hl-wall-row input,.hl-wall-row select,.hl-opening-row input,.hl-opening-row select,.hl-bridge-row input,.hl-bridge-row select{height:38px}.hl-remove{height:38px;border:0;border-radius:9px;background:#f6e8e4;color:#9a4e3d;font-size:18px;cursor:pointer}.hl-breakdown{display:grid;gap:10px}.hl-break-row{display:grid;grid-template-columns:130px 1fr 82px;gap:10px;align-items:center;font-size:12px}.hl-break-row span{color:#566960}.hl-break-bar{height:9px;background:#edf1ef;border-radius:999px;overflow:hidden}.hl-break-bar i{display:block;height:100%;background:#5b9278;border-radius:999px}.hl-break-row b{text-align:right;color:#2e4d3e}.hl-result-main{border-radius:20px;background:linear-gradient(135deg,#234f3c,#39745a);padding:24px;color:#fff}.hl-result-main small{display:block;opacity:.78}.hl-result-main strong{display:block;font-size:42px;line-height:1;margin:7px 0 9px}.hl-result-main span{font-size:12px;opacity:.9}.hl-result-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.hl-result-kpis>div{border:1px solid #dfe8e3;border-radius:14px;padding:14px;background:#fff}.hl-result-kpis small{display:block;color:#718078;font-size:10px}.hl-result-kpis strong{display:block;color:#294d3e;font-size:18px;margin-top:4px}.hl-result-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:18px;margin-top:18px}.hl-status{display:inline-flex;padding:6px 10px;border-radius:999px;background:#e8f4ed;color:#315d49;font-size:12px;font-weight:800}.hl-next-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.hl-next-cards a{border:1px solid #dfe8e3;border-radius:15px;padding:16px;text-decoration:none;color:#2f5442;background:#fff}.hl-next-cards b,.hl-next-cards small{display:block}.hl-next-cards small{margin-top:5px;color:#6f7e76;line-height:1.4}
.hl-article{padding:62px 0}.hl-article.alt{background:#edf3ef}.hl-section-title h2{font-size:clamp(28px,3vw,40px);line-height:1.12;margin:8px 0 24px;color:#243d32}.hl-copy{max-width:930px;color:#5d6f66;line-height:1.7}.hl-copy p{margin:0 0 14px}.hl-how-grid,.hl-mode-explain,.hl-mistakes,.hl-formulas,.hl-sources,.hl-related{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.hl-how-grid article,.hl-mode-explain article,.hl-mistakes article,.hl-formula,.hl-source,.hl-related a{border:1px solid #dfe8e3;border-radius:18px;background:#fff;padding:20px}.hl-how-grid i{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e7f2ec;color:#2d654d;font-style:normal;font-weight:900;margin-bottom:12px}.hl-how-grid h3,.hl-mode-explain h3,.hl-mistakes h3{margin:0 0 9px;color:#294638;font-size:17px}.hl-how-grid p,.hl-mode-explain p,.hl-mistakes p,.hl-formula p,.hl-source span{margin:0;color:#64756d;font-size:13px;line-height:1.58}.hl-flow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hl-flow div{padding:12px 15px;border:1px solid #dce7e1;border-radius:12px;background:#fff;color:#375b4b;font-weight:800}.hl-flow div:not(:last-child):after{content:"→";margin-left:16px;color:#89a89a}.hl-formulas{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-formula b,.hl-source b{display:block;color:#2b5843;margin-bottom:8px}.hl-formula code{display:block;padding:12px;border-radius:10px;background:#f4f7f5;color:#315946;margin-bottom:9px;font-size:15px}.hl-sources{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-faq{display:grid;gap:10px}.hl-faq details{border:1px solid #dfe8e3;border-radius:15px;background:#fff;padding:0 17px}.hl-faq summary{cursor:pointer;padding:16px 0;font-weight:800;color:#2d5140}.hl-faq p{margin:0 0 17px;color:#66766e;line-height:1.6}.hl-related{grid-template-columns:repeat(4,minmax(0,1fr))}.hl-related a{text-decoration:none;color:#2d5140}.hl-related b,.hl-related small{display:block}.hl-related small{margin-top:6px;color:#718078;line-height:1.45}.hl-engineering-note{margin-top:18px;border:1px solid #d9e7df;border-radius:18px;padding:18px 20px;background:linear-gradient(135deg,#eef7f2,#fffaf3);color:#61736a;line-height:1.55}.hl-engineering-note b{color:#2b5843}
@media(max-width:1020px){.hl-hero-grid{grid-template-columns:1fr}.hl-hero-visual{height:auto;aspect-ratio:16/8;max-width:900px}.hl-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-result-kpis{grid-template-columns:repeat(2,1fr)}.hl-how-grid,.hl-mode-explain{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-mistakes{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-wall-row{grid-template-columns:48px 1fr 1fr 1fr}.hl-wall-row>*:last-child{grid-column:auto}.hl-opening-row{grid-template-columns:1fr 1fr 1fr 1fr}.hl-opening-row .hl-remove{grid-column:auto}.hl-bridge-row{grid-template-columns:1fr 1fr 1fr 34px}}
@media(max-width:760px){.hl-wrap{padding-left:14px;padding-right:14px}.hl-hero{padding-top:20px}.hl-breadcrumbs{margin-bottom:18px}.hl-hero h1{font-size:34px}.hl-lead{font-size:16px}.hl-hero-visual{aspect-ratio:4/3;border-radius:18px}.hl-callout.wall{display:none}.hl-mode-choice,.hl-grid-2,.hl-grid-3,.hl-result-grid,.hl-next-cards,.hl-formulas,.hl-sources,.hl-related,.hl-how-grid,.hl-mode-explain,.hl-mistakes{grid-template-columns:1fr}.hl-mode-card{min-height:0;padding:15px}.hl-stepper{position:sticky;top:0;z-index:8;box-shadow:0 4px 12px rgba(31,66,49,.06)}.hl-step-tab{min-width:0;justify-content:center;padding:10px 4px;gap:5px;text-align:center;flex-direction:column}.hl-step-tab i{width:25px;height:25px;font-size:11px}.hl-step-tab small{display:none}.hl-step-tab b{font-size:10px;line-height:1.1}.hl-stage{padding:18px 12px}.hl-stage-heading h2{font-size:24px}.hl-fields-2,.hl-fields-3{grid-template-columns:1fr}.hl-fields input,.hl-fields select,.hl-label input,.hl-label select{height:48px;font-size:16px}.hl-climate-head{display:block}.hl-climate-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:12px}.hl-small-btn{min-height:44px}.hl-climate-result{grid-template-columns:1fr 1fr}.hl-climate-result>div:first-child{grid-column:1/-1}.hl-mini-results{grid-template-columns:1fr 1fr}.hl-check-grid{grid-template-columns:1fr}.hl-wall-row,.hl-opening-row,.hl-bridge-row{grid-template-columns:1fr}.hl-wall-row .hl-remove,.hl-opening-row .hl-remove,.hl-bridge-row .hl-remove{grid-column:auto}.hl-result-kpis{grid-template-columns:1fr 1fr}.hl-result-main strong{font-size:34px}.hl-break-row{grid-template-columns:1fr 68px}.hl-break-bar{grid-column:1/-1;grid-row:2}.hl-break-row b{grid-column:2;grid-row:1}.hl-actions{position:sticky;bottom:0;background:rgba(255,255,255,.96);padding:10px 0 4px;z-index:5}.hl-actions .btn{min-height:46px}.hl-article{padding:46px 0}.hl-flow{display:grid;grid-template-columns:1fr}.hl-flow div:not(:last-child):after{content:"↓";float:right;margin-left:10px}}
@media(max-width:430px){.hl-wrap{padding-left:10px;padding-right:10px}.hl-hero h1{font-size:31px}.hl-climate-actions{grid-template-columns:1fr}.hl-climate-result,.hl-result-kpis,.hl-mini-results{grid-template-columns:1fr}.hl-climate-result>div:first-child{grid-column:auto}.hl-card{padding:15px}.hl-result-main{padding:18px}.hl-result-main strong{font-size:31px}}

/* v4: generated hero image as an independent right-side layer. */
.hl-hero{position:relative;overflow:hidden;min-height:620px;padding:34px 0 42px;background:linear-gradient(90deg,#f7f8f5 0%,#f7f8f5 43%,#f3f6f4 58%,#eef3f5 100%)}
.hl-hero>.hl-wrap{position:relative;z-index:2}
.hl-hero-copy{width:min(47%,700px);position:relative;z-index:2;padding-bottom:14px}
.hl-hero-art{position:absolute;z-index:1;inset:0;pointer-events:none;background-image:url('heat-loss-hero-v4.webp');background-repeat:no-repeat;background-position:center right;background-size:auto 100%}
.hl-hero-art:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,248,245,1) 0%,rgba(247,248,245,.98) 38%,rgba(247,248,245,.76) 45%,rgba(247,248,245,.12) 54%,rgba(247,248,245,0) 64%)}
.hl-hero-loss-hidden{display:none!important}

@media(max-width:1180px){
  .hl-hero{min-height:590px}
  .hl-hero-copy{width:min(50%,620px)}
  .hl-hero-art{background-position:58% center}
  .hl-hero-art:before{background:linear-gradient(90deg,rgba(247,248,245,1) 0%,rgba(247,248,245,.98) 41%,rgba(247,248,245,.75) 49%,rgba(247,248,245,.12) 59%,rgba(247,248,245,0) 69%)}
}
@media(max-width:1020px){
  .hl-hero{min-height:0;padding-bottom:0}
  .hl-hero-copy{width:100%;max-width:780px;padding-bottom:22px}
  .hl-hero-art{position:relative;inset:auto;width:100%;height:clamp(300px,53vw,500px);background-size:auto 100%;background-position:right center;border-top:1px solid rgba(87,111,99,.08)}
  .hl-hero-art:before{background:linear-gradient(90deg,rgba(247,248,245,.88) 0%,rgba(247,248,245,.22) 18%,rgba(247,248,245,0) 34%)}
}
@media(max-width:760px){
  .hl-hero-copy{max-width:none}
  .hl-hero-art{height:clamp(260px,72vw,390px);background-position:72% center}
  .hl-hero-art:before{background:linear-gradient(90deg,rgba(247,248,245,.52) 0%,rgba(247,248,245,0) 24%)}
}
@media(max-width:430px){
  .hl-hero-art{height:270px;background-position:73% center}
}

/* v5 public content blocks and responsive hardening */
.hl-factor-grid,.hl-result-guide,.hl-improve-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hl-factor-grid article,.hl-result-guide article,.hl-improve-grid article{min-width:0;border:1px solid #dfe8e3;border-radius:18px;background:#fff;padding:20px;box-shadow:0 8px 24px rgba(31,73,53,.035)}
.hl-factor-grid b,.hl-result-guide b{display:block;color:#294638;font-size:17px;margin-bottom:8px}
.hl-factor-grid p,.hl-result-guide p,.hl-improve-grid p{margin:0;color:#64756d;font-size:13px;line-height:1.6}
.hl-improve-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hl-improve-grid h3{margin:0 0 9px;color:#294638;font-size:17px}
.hl-callout-wide{display:flex;align-items:flex-start;gap:12px;margin-top:18px;padding:18px 20px;border:1px solid #d9e7df;border-radius:18px;background:linear-gradient(135deg,#eef7f2,#fffaf3);color:#61736a;line-height:1.55}
.hl-callout-wide b{color:#2b5843;flex:0 0 auto}.hl-callout-wide span{min-width:0}
.hl-example{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:18px}
.hl-example>div{min-width:0;border:1px solid #dfe8e3;border-radius:20px;background:#fff;padding:22px}
.hl-example h3{margin:0 0 14px;color:#294638;font-size:19px}
.hl-example dl{margin:0;display:grid;gap:9px}.hl-example dl>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-bottom:9px;border-bottom:1px solid #edf1ef}.hl-example dl>div:last-child{border-bottom:0;padding-bottom:0}.hl-example dt{color:#687971}.hl-example dd{margin:0;text-align:right;font-weight:800;color:#294638}.hl-example-result p{margin:0 0 12px;color:#607269;line-height:1.65}.hl-example-result p:last-child{margin-bottom:0}
.hl-body .hl-shell,.hl-body .hl-card,.hl-body .hl-mode-card,.hl-body .hl-result-main,.hl-body .hl-example>div{min-width:0}
.hl-body input,.hl-body select,.hl-body button{max-width:100%}
.hl-body .hl-stage-heading,.hl-body .hl-card,.hl-body .hl-mode-card,.hl-body .hl-next-cards a,.hl-body .hl-related a{overflow-wrap:anywhere}
@media(max-width:1020px){.hl-factor-grid,.hl-result-guide{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-example{grid-template-columns:1fr}}
@media(max-width:760px){
 .hl-factor-grid,.hl-result-guide,.hl-improve-grid{grid-template-columns:1fr}
 .hl-example>div{padding:18px}.hl-example dl>div{grid-template-columns:1fr;gap:3px}.hl-example dd{text-align:left}
 .hl-callout-wide{display:block;padding:16px}.hl-callout-wide b{display:block;margin-bottom:6px}
 .hl-stepper{top:68px}
 .hl-actions{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px;border-top:1px solid #e5ece8}
 .hl-actions .btn{min-width:0;flex:1;padding-left:10px;padding-right:10px;white-space:normal;text-align:center;line-height:1.2}
 .hl-opening-row,.hl-bridge-row,.hl-wall-row{width:100%;min-width:0}
 .hl-opening-row label,.hl-bridge-row label,.hl-wall-row label{min-width:0}
}
@media(max-width:430px){
 .hl-stepper{top:68px}.hl-step-tab{padding-left:2px;padding-right:2px}.hl-step-tab b{font-size:9px}
 .hl-stage{padding-left:10px;padding-right:10px}.hl-actions{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}
 .hl-actions .btn{font-size:13px}
 .hl-tags span{font-size:12px;padding:7px 9px}.hl-prelim{padding:13px}
}

/* v6 — mobile layout hardening: no sticky controls may cover calculator text. */
.hl-result-actions{margin-top:18px;justify-content:flex-start;flex-wrap:wrap}.hl-result-actions .btn{min-width:190px;text-decoration:none;text-align:center}
.hl-stage{scroll-margin-top:96px}.hl-step-tab span{min-width:0}.hl-step-tab b,.hl-step-tab small{overflow-wrap:anywhere}
@media(max-width:760px){
 .hl-shell{overflow:visible;border-radius:18px}
 .hl-stepper{position:static!important;top:auto!important;z-index:auto;grid-template-columns:repeat(2,minmax(0,1fr));box-shadow:none!important;border-radius:18px 18px 0 0;overflow:hidden}
 .hl-step-tab{min-height:58px;justify-content:flex-start!important;flex-direction:row!important;text-align:left!important;padding:10px 11px!important;gap:8px!important;border-bottom:1px solid #e5ece8}
 .hl-step-tab:nth-child(2n){border-right:0}.hl-step-tab i{width:28px;height:28px}.hl-step-tab b{font-size:12px!important;line-height:1.2}.hl-step-tab small{display:block!important;font-size:9px;line-height:1.2}
 .hl-stage{padding:20px 14px 22px;scroll-margin-top:82px}.hl-stage-heading{margin-bottom:18px}.hl-stage-heading h2{font-size:22px;line-height:1.18}.hl-stage-heading p{font-size:13px;line-height:1.55}
 .hl-actions{position:static!important;bottom:auto!important;z-index:auto!important;margin:20px 0 0!important;padding:0!important;border-top:0!important;background:transparent!important;box-shadow:none!important;display:grid;grid-template-columns:1fr 1fr;gap:9px}
 .hl-actions .btn{width:100%;min-width:0!important;min-height:48px;padding:10px 9px!important;white-space:normal;line-height:1.2}
 .hl-result-actions{grid-template-columns:1fr 1fr}
 .hl-alerts{margin:14px 14px 0;padding:11px 12px}
 .hl-card,.hl-result-main,.hl-result-kpis>div{max-width:100%;overflow:hidden}.hl-card h3{font-size:17px;line-height:1.25}
 .hl-fields label>span,.hl-label>span{line-height:1.3}.hl-unit{width:100%;min-width:0}.hl-unit input{width:1%;flex:1 1 auto}.hl-unit b{flex:0 0 auto;max-width:45%;overflow-wrap:anywhere;white-space:normal;text-align:center;line-height:1.1}
 .hl-mode-card{align-items:flex-start}.hl-mode-card>span:last-child{min-width:0}.hl-mode-card b{font-size:16px;line-height:1.25}
 .hl-climate-status{min-width:0}.hl-climate-status>div:last-child{min-width:0}.hl-climate-status b,.hl-climate-status small{overflow-wrap:anywhere}
 .hl-result-main strong{overflow-wrap:anywhere}.hl-result-main span{display:block;line-height:1.45}.hl-result-kpis>div{min-width:0}.hl-result-kpis strong{overflow-wrap:anywhere}
 .hl-formula code{overflow-wrap:anywhere;word-break:break-word}.hl-next-cards a,.hl-related a{min-width:0}
}
@media(max-width:480px){
 .hl-wrap{padding-left:10px;padding-right:10px}.hl-step-tab{min-height:54px;padding:9px 8px!important}.hl-step-tab small{display:none!important}.hl-step-tab b{font-size:11px!important}
 .hl-stage{padding:17px 10px 20px}.hl-actions,.hl-result-actions{grid-template-columns:1fr}.hl-actions .btn{min-height:46px}.hl-alerts{margin-left:10px;margin-right:10px}
 .hl-result-main strong{font-size:30px}.hl-card{padding:14px}.hl-climate-result,.hl-result-kpis,.hl-mini-results{grid-template-columns:1fr!important}
}
/* v872: window and thermal-bridge rows use their actual card width. */
.hl-card{container:heatloss-editor-v872 / inline-size}
.hl-opening-row,.hl-bridge-row,.hl-opening-row>*,.hl-bridge-row>*{min-width:0;max-width:100%;box-sizing:border-box}
.hl-opening-row :is(input,select),.hl-bridge-row :is(input,select){width:100%;min-width:0;max-width:100%;box-sizing:border-box}
@container heatloss-editor-v872 (max-width:960px){
 .hl-card .hl-opening-row,.hl-card .hl-bridge-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hl-card :is(.hl-opening-row,.hl-bridge-row)>label:first-child{grid-column:1/-1}
 .hl-card :is(.hl-opening-row,.hl-bridge-row) .hl-remove{grid-column:-2/-1;justify-self:end;width:44px;min-height:44px}
}
@container heatloss-editor-v872 (max-width:360px){
 .hl-card .hl-opening-row,.hl-card .hl-bridge-row{grid-template-columns:minmax(0,1fr)}
}
