@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');
:root{font-family:'Be Vietnam Pro',system-ui,sans-serif;color:#20333e;background:#f5f7fa;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #12b89b;outline-offset:3px}.sidebar{width:238px;background:#122732;color:#94a9b5;position:fixed;inset:0 auto 0 0;padding:32px 20px}.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:700;font-size:21px;text-decoration:none;letter-spacing:-1px}.brand img{width:34px}.brand span{font-weight:400;margin-left:-6px;color:#afc8cb}.side-label{font-size:12px;letter-spacing:1.6px;margin:55px 12px 20px;color:#8298a7}.nav{display:flex;align-items:center;gap:13px;text-decoration:none;padding:14px 16px;border-radius:8px}.nav.active{color:#68dbc5;background:#1c3b43;border:1px solid #2c535a}.nav span{font-size:23px}.side-bottom{position:absolute;bottom:30px;display:flex;gap:10px;align-items:center;font-size:12px}.side-bottom small{display:block;font-size:12px;color:#7d94a2;margin-top:6px}.engineer-icon{background:#263d49;width:33px;height:33px;display:grid;place-items:center;border-radius:9px;color:#abc7cf}main{margin-left:238px;padding:0 38px;max-width:1700px}header{height:77px;border-bottom:1px solid #e3e8ee;display:flex;align-items:center;justify-content:space-between;color:#71818b}header b{font-weight:400;padding:0 14px;color:#b9c1c8}header strong{font-weight:500;color:#3f515c}.version{font-size:12px}.version i{font-style:normal;margin:0 10px;color:#93a6af}.heading{padding:32px 0 25px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:600;color:#078c76}h1{font-size:30px;letter-spacing:-1px;margin:10px 0 12px;font-weight:700}.title-tag{font-size:12px;background:#e9edf2;color:#74838f;padding:6px 10px;border-radius:5px;vertical-align:middle;margin-left:16px;letter-spacing:0;font-weight:500}.heading p{font-size:14px;color:#72828e;margin:0;line-height:1.7}.workspace{display:grid;grid-template-columns:360px 1fr;gap:23px}.panel{background:#fff;border:1px solid #e1e7ed;border-radius:12px}.inputs{padding:24px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px}h2{font-size:16px;margin:0;font-weight:600}.text-button{border:0;background:none;color:#7b8994;font-size:12px;padding:5px}.segmented{display:flex;background:#f0f3f6;border-radius:7px;padding:4px;margin:23px 0}.segmented button{flex:1;border:none;background:none;color:#75838e;font-size:14px;padding:10px 4px;border-radius:5px}.segmented .selected{background:white;color:#253c47;box-shadow:0 1px 5px #233e4612;font-weight:600}label{display:flex;justify-content:space-between;font-size:14px;margin:20px 0 9px;color:#465a65;font-weight:500}label span{color:#9aa7b0;font-style:italic}.input-unit{border:1px solid #dce3e9;border-radius:7px;display:flex;align-items:center;height:45px;overflow:hidden;background:white}.input-unit:focus-within{border-color:#0ca68b;box-shadow:0 0 0 3px #0ca68b12}input{width:100%;min-width:0;border:none;background:none;outline:none;padding:11px 12px;color:#263d48;font-weight:500}input::-webkit-inner-spin-button{opacity:0}.input-unit span,.input-unit select{color:#7c8c97;font-size:12px;white-space:nowrap;padding-right:12px}.input-unit select{border:none;background:#f7f9fa;height:100%;padding:0 8px;width:87px;outline:none}.shape-switch{display:flex;gap:10px}.shape-switch button{width:50%;border:1px solid #dce3e9;background:white;padding:10px 3px;border-radius:7px;color:#72818d}.shape-switch span{font-size:22px;vertical-align:middle;margin-right:8px}.shape-switch .selected{border-color:#12a78e;background:#f0fbf8;color:#0a8c76}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-fields[hidden], [hidden]{display:none!important}.full-select{width:100%;border:1px solid #dce3e9;border-radius:7px;background:white;height:45px;padding:0 10px;color:#445965;font-size:14px}.input-note{border-top:1px solid #edf0f3;margin-top:25px;padding-top:17px;font-size:12px;color:#8b98a1;line-height:1.8}#error{margin-top:12px;background:#fff2e7;color:#ad5115;padding:12px;line-height:1.7;border-radius:6px}.results{min-width:0}.result-hero{background:#e7f5f2;border:1px solid #c5e5df;border-radius:12px;padding:24px;color:#174d46}.hero-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;letter-spacing:1px}.status{background:#cdece3;color:#087a60;padding:6px 9px;border-radius:5px;font-size:12px;letter-spacing:0}.status.warning{background:#ffebcc;color:#995710}.hero-middle{display:flex;align-items:center;justify-content:space-between;min-height:118px;gap:5px}.big-size{font-size:40px;font-weight:700;letter-spacing:-2px;white-space:nowrap}.big-size small{font-size:16px;letter-spacing:0;font-weight:400;margin-left:5px;color:#69978c}.hero-middle p{font-size:12px;color:#698d85;margin:10px 0}#duct{width:165px;flex-shrink:0;color:#5c9e91}.hero-foot{display:flex;gap:20px;border-top:1px solid #cce6df;padding-top:15px;font-size:12px;color:#76948d;justify-content:space-between;flex-wrap:wrap}.hero-foot strong{display:block;font-size:14px;color:#2a6358;font-weight:500;margin-top:6px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:17px 0}.metric{background:white;border:1px solid #e1e7ed;border-radius:10px;padding:17px 18px}.metric>span{font-size:12px;color:#748590}.metric>div:nth-child(2){margin:13px 0}.metric strong{font-size:28px;color:#283d49;letter-spacing:-1px}.metric small{font-size:12px;color:#8898a2}.meter{height:4px;background:#edf2f3;border-radius:5px}.meter i{display:block;background:#20b498;height:4px;border-radius:5px;width:60%}.metric p{font-size:12px;color:#8b9ba6;margin:12px 0 0;line-height:1.5}.loss-icon{font-size:12px;color:#9aadb6;height:4px;line-height:5px}.chart-panel{padding:21px 23px 15px}.chart-legend{font-size:12px;color:#7e8f99}.chart-legend i{display:inline-block;width:7px;height:7px;background:#17aa90;border-radius:50%;margin-right:6px}#chart{width:100%;display:block;margin-top:12px;overflow:visible}.chart-foot{border-top:1px solid #edf0f4;padding-top:12px;display:flex;justify-content:space-between;color:#8c9aa4;font-size:12px}.options-panel{margin-top:25px;overflow:hidden}.options-panel .panel-title{padding:22px 25px}.panel-title p{font-size:12px;color:#8998a1;margin:8px 0 0;line-height:1.7}.step-tag{font-size:12px;color:#8798a3;border:1px solid #e5eaef;padding:7px 10px;border-radius:5px;white-space:nowrap}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{background:#f7f9fb;color:#7c8b96;font-size:12px;font-weight:500;padding:14px 25px;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}td{padding:16px 25px;font-size:14px;border-bottom:1px solid #edf0f4;color:#627680}tr:last-child td{border-bottom:0}td:first-child{font-weight:600;color:#314955}.candidate{cursor:pointer}.candidate:hover{background:#f3fbf8}.candidate.chosen{background:#eef9f6}.badge{font-size:12px;background:#e3f4ee;color:#168b70;padding:5px 8px;border-radius:4px}.neutral{background:#f0f3f5;color:#81919a}.method{margin-top:20px;border:1px solid #e3e8ee;border-radius:8px;font-size:14px;background:#f9fafc;color:#7d8e99}.method summary{padding:17px 22px;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.method>div{padding:0 22px 15px;line-height:1.8}.method a{color:#0a8e79}footer{display:flex;justify-content:space-between;font-size:12px;color:#97a4ad;padding:28px 0}footer b{color:#6f818d;font-weight:500}@media(min-width:1450px){main{padding:0 55px}.workspace{grid-template-columns:385px 1fr}}@media(max-width:1150px){.sidebar{width:200px;padding:32px 14px}.brand{font-size:19px}main{margin-left:200px;padding:0 24px}.workspace{grid-template-columns:320px 1fr;gap:18px}.inputs{padding:20px}.big-size{font-size:32px}#duct{width:115px}.metric{padding:16px 12px}.hero-foot{gap:10px}.chart-legend{max-width:120px;line-height:1.5}}@media(max-width:950px){.sidebar{width:75px;padding:25px 15px}.brand{font-size:0;gap:0}.brand span,.side-label,.side-bottom,.nav{display:none}main{margin-left:75px}.workspace{grid-template-columns:1fr}.inputs .two-fields{gap:20px}.inputs{padding:24px}.hero-middle{min-height:130px}#duct{width:170px}.big-size{font-size:44px}.hero-foot strong{display:inline;margin-left:7px}.chart-legend{max-width:none}.metric{padding:20px}.chart-panel{padding:24px}.chart-panel svg{max-height:200px}}@media(max-width:600px){.sidebar{position:static;width:auto;height:63px;padding:15px 20px}.brand{font-size:20px}.brand span{display:inline}main{margin:0;padding:0 17px}header{height:54px;font-size:12px}.version{display:none}.heading{padding:25px 0 22px}h1{font-size:25px;line-height:1.5}.title-tag{display:none}.heading p{font-size:14px}.inputs{padding:20px}.hero-middle{min-height:113px}.big-size{font-size:32px}#duct{width:100px}.result-hero{padding:20px}.hero-foot{font-size:12px}.hero-foot strong{display:block;margin-left:0}.metrics{gap:8px}.metric{padding:15px 10px}.metric>span{font-size:12px}.metric strong{font-size:25px}.metric p{font-size:12px}.chart-panel{padding:18px}.chart-panel .panel-title{align-items:flex-start}.chart-legend{max-width:120px}.chart-foot{gap:10px;font-size:12px}.options-panel .panel-title{padding:20px;display:block}.step-tag{display:inline-block;margin-top:10px}th,td{padding:14px 18px}footer{display:block;line-height:2}footer>span{display:block}.hero-top{letter-spacing:0}}
 .row-button{border:0;background:none;padding:0;color:inherit;font:inherit;font-weight:600;text-align:left;min-height:25px}.row-button:hover{text-decoration:underline}

.count-tag{display:inline-block;font-size:12px;font-weight:500;color:#0b8873;background:#e8f6f1;padding:6px 9px;border-radius:5px;margin-left:10px;vertical-align:middle}.table-wrap{max-height:440px;overflow:auto;overscroll-behavior:contain;scrollbar-color:#b8c9cc #f5f8fa}thead th{position:sticky;top:0;z-index:1}.candidate.chosen td:first-child{box-shadow:inset 3px 0 #12a78e}.candidate:focus-within{outline:2px solid #12a78e;outline-offset:-2px}@media(max-width:600px){.count-tag{display:table;margin:9px 0 0}.table-wrap{max-height:370px}}

.sort-button{display:flex;align-items:center;gap:9px;white-space:nowrap;font:inherit;color:inherit;border:0;background:none;padding:0;min-height:24px;width:100%;text-align:left;cursor:pointer}.sort-button:hover{color:#098d77}.sort-icon{font-size:16px;color:#a2b2bb}th[aria-sort="ascending"] .sort-button,th[aria-sort="descending"] .sort-button,th[aria-sort="ascending"] .sort-icon,th[aria-sort="descending"] .sort-icon{color:#078c76;font-weight:600}.step-tag{white-space:normal;line-height:1.7}

.preset-note{font-size:12px;color:#7b8c96;line-height:1.7;margin:9px 0 0}.preset-fields .full-select{font-size:12px;padding:0 8px}
.languages{display:flex;gap:6px;margin-left:auto;align-items:center;flex-shrink:0}.languages a{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid transparent;border-radius:7px;text-decoration:none;color:#687e88;font-size:13px;font-weight:600;min-height:40px}.languages a span{font-size:23px;line-height:1}.languages .current{border-color:#b9e4d9;background:#eaf7f2;color:#087e68}.languages a:hover{background:#e8f3f0}header .version{margin-right:20px;margin-left:auto}header:has(.languages){gap:12px}.nav{font-size:14px}.nav:not(.active){color:#a6bbc4;margin-top:8px}.nav:not(.active):hover{background:#1c3541}.about-content{max-width:960px;margin:55px auto 0}.about-content h1{font-size:42px;line-height:1.35;max-width:750px}.about-lead{font-size:18px;line-height:1.9;color:#6a7f8b;max-width:770px}.about-cta{display:inline-block;margin:12px 0 38px;padding:14px 20px;background:#0b987f;color:white;text-decoration:none;border-radius:8px;font-weight:600}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.about-grid .panel,.about-section.panel{padding:28px}.about-content h2{font-size:20px;line-height:1.5}.about-content p{font-size:16px;line-height:1.9;color:#647a86}.about-section{margin:24px 0;padding:20px 0}.about-section a,footer a{color:#078b74;text-underline-offset:4px}@media(max-width:950px){.sidebar{width:190px}.sidebar .brand{font-size:18px;gap:6px}.sidebar .brand span{display:inline}.sidebar .nav{display:flex;padding:10px;font-size:12px}.sidebar .side-label{display:block;font-size:10px;letter-spacing:1px;margin:32px 0 16px}main{margin-left:190px}.about-content h1{font-size:34px}}@media(max-width:600px){.sidebar{width:auto;height:auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.sidebar .side-label{display:none}.sidebar .nav{font-size:12px;padding:3px 8px;margin:0}.sidebar .nav span{font-size:16px}.sidebar .brand{font-size:18px}.sidebar .brand img{width:29px}.sidebar .side-bottom{display:none}main{margin-left:0}.languages{gap:1px}.languages a{padding:7px 6px;font-size:12px}.languages a span{font-size:21px}.about-content{margin-top:30px}.about-content h1{font-size:30px}.about-lead{font-size:16px}.about-grid{grid-template-columns:1fr}.about-grid .panel,.about-section.panel{padding:22px}}

.useful-links{margin-top:34px;padding:25px 0;border-top:1px solid #dfe7eb;border-bottom:1px solid #dfe7eb}.useful-links h2{font-size:12px;letter-spacing:1.5px;color:#70858f;margin-bottom:17px}.useful-links>div{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.useful-links a{padding:16px 20px;background:#fff;border:1px solid #e0e8ed;border-radius:8px;text-decoration:none;color:#2e535e;font-size:15px;font-weight:600}.useful-links a:hover{border-color:#16a88b;background:#eef9f5}.useful-links a span{display:block;font-size:12px;font-weight:400;color:#81959e;margin-top:7px}footer{display:flex;align-items:center;gap:15px;flex-wrap:wrap;justify-content:space-between}footer .version{display:inline-flex;align-items:center;white-space:nowrap;margin:0}header .languages{margin-left:auto}@media(max-width:600px){.useful-links>div{grid-template-columns:1fr}.useful-links a{padding:14px 18px}footer{font-size:12px;gap:8px}}
.water-symbol{font-size:75px;color:#71a99d;padding:15px}.water-explanation{padding:25px}.water-explanation p{font-size:15px;line-height:1.8;color:#718591}#w-error{margin-top:14px;background:#fff2e7;color:#a44e19;padding:12px;border-radius:7px;line-height:1.7}.sidebar .nav{line-height:1.7}.water-explanation h2{line-height:1.5}@media(max-width:600px){.sidebar .nav{font-size:11px}.water-symbol{font-size:55px}}
.psy-workspace{display:grid;grid-template-columns:330px minmax(0,1fr);gap:23px}.psy-chart-panel{padding:25px;align-self:start;min-width:0}.psy-chart-panel svg{width:100%;display:block;cursor:crosshair;touch-action:manipulation}.psy-toggles{display:flex;gap:16px;flex-wrap:wrap;margin:18px 0 5px}.psy-toggles label{display:flex;align-items:center;gap:5px;font-size:12px;margin:0}.psy-toggles input{width:14px;accent-color:#099b81;padding:0}.psy-properties{border-top:1px solid #e3ebef;margin-top:20px;padding-top:10px}.psy-properties>div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;font-size:12px}.psy-properties span{color:#718591}.psy-properties strong{color:#214e56;font-weight:600;white-space:nowrap}.psy-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#7c8f99;line-height:1.7}.psy-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}.point-a{background:#05a68a}.point-b{background:#f09843}.point-m{background:#8662c4}.psy-process{margin-top:25px;padding:25px}.psy-process-grid{display:grid;grid-template-columns:250px 1fr;gap:32px;align-items:center}.psy-loads{display:grid;grid-template-columns:1fr 1fr;gap:22px}.psy-loads>div{background:#f4f8fa;border-radius:9px;padding:20px}.psy-loads span{display:block;font-size:14px;color:#728691}.psy-loads strong{display:block;font-size:29px;color:#24525b;margin-top:12px}.psy-loads small{font-size:14px;font-weight:400}.psy-loads p,.psy-mix-note{font-size:13px;color:#7b8c95;line-height:1.8}#p-error{background:#fff2e6;color:#a6501e;padding:13px;border-radius:7px;margin-top:15px;font-size:13px;line-height:1.8}@media(max-width:1200px){.psy-workspace{grid-template-columns:300px 1fr}.psy-chart-panel{padding:18px}.psy-process-grid{grid-template-columns:220px 1fr}.psy-loads strong{font-size:24px}}@media(max-width:1050px){.psy-workspace{grid-template-columns:1fr}.psy-process-grid{grid-template-columns:1fr}.psy-properties{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.psy-chart-panel svg{min-height:290px}.psy-loads strong{font-size:28px}}@media(max-width:600px){.psy-process{padding:20px}.psy-properties{grid-template-columns:1fr}.psy-chart-panel{padding:14px}.psy-chart-panel svg{min-height:0}.psy-loads{gap:10px}.psy-loads>div{padding:15px}.psy-loads strong{font-size:23px}.psy-toggles{gap:10px}.psy-workspace{gap:18px}.sidebar .nav{font-size:11px}}
.heat-workspace{display:grid;grid-template-columns:minmax(350px,1fr) minmax(0,1.2fr);gap:23px}.heat-input-group{margin-top:22px;border-top:1px solid #e4ebef;padding-top:16px}.heat-input-group summary{cursor:pointer;font-weight:600;font-size:14px;color:#168874;line-height:1.7}.heat-input-group label{font-size:12px;line-height:1.65;min-height:39px;align-items:flex-end}.heat-input-group .input-unit span{font-size:11px}.heat-results{position:sticky;top:20px;align-self:start}.heat-choice strong{display:block;margin:20px 0 8px;font-size:25px;color:#138c75}.heat-choice p{font-size:13px;margin:7px 0}.heat-bars{padding:0 24px 22px}.heat-bars>div{margin-top:14px}.heat-bars>div>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#748b97}.heat-bars strong{font-weight:500;color:#3c6672}.heat-bar{height:7px;background:#edf3f5;border-radius:4px;margin-top:8px}.heat-bar i{display:block;height:7px;border-radius:4px;background:#28b698}.heat-total td{font-weight:600;background:#eff8f5}.heat-alert{background:#fff3e8;padding:15px;border-radius:8px;color:#a55c27!important}#c-error{padding:15px;background:#fff2e6;color:#ad5a24;border-radius:8px;font-size:13px;line-height:1.8;margin-top:15px}@media(max-width:1100px){.heat-workspace{grid-template-columns:1fr}.heat-results{position:static}.heat-input-group label{font-size:14px;min-height:0}.heat-input-group .input-unit span{font-size:12px}}@media(max-width:600px){.heat-input-group label{font-size:12px;min-height:39px}.heat-choice strong{font-size:22px}}
.field-help{font-size:12px;line-height:1.7;color:#82959e;margin:8px 0 0}.heat-export{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0 18px}.export-button{font:inherit;background:#0b987f;color:#fff;border:0;border-radius:7px;padding:11px 18px;font-weight:600;cursor:pointer}.export-button:disabled{opacity:.45;cursor:not-allowed}.heat-export>span{font-size:12px;color:#7b8f9a}#cooling-report{display:none}@media print{@page{size:A4;margin:14mm}body{background:white!important;color:#172f38!important;font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:10pt}body[data-print-report="cooling"]>*:not(#cooling-report){display:none!important}body[data-print-report="cooling"]>#cooling-report{display:block!important}#cooling-report .report-heading{height:auto;border-bottom:2px solid #168b75;padding:0 0 12px;margin-bottom:14px;display:flex;align-items:flex-start;justify-content:space-between;color:#244751}#cooling-report h1{font-size:19pt;letter-spacing:0;line-height:1.4;margin:7px 0}#cooling-report h2{font-size:13pt;margin:15px 0 9px;color:#14806c}#cooling-report h3{font-size:11pt;line-height:1.5;margin:12px 0 7px}#cooling-report p{font-size:9pt;line-height:1.7;margin:5px 0}#cooling-report .report-heading>p{font-size:8pt;white-space:nowrap;text-align:right}#cooling-report table{width:100%;border-collapse:collapse;white-space:normal;margin-bottom:10px}#cooling-report td,#cooling-report th{padding:6px 8px;font-size:9pt;border:1px solid #dce4e7;color:#254550;white-space:normal}#cooling-report th{position:static;background:#edf5f2;font-weight:600}#cooling-report thead{display:table-header-group}#cooling-report tr{break-inside:avoid}#cooling-report .report-section{break-inside:avoid;margin-bottom:15px}#cooling-report .report-method{break-inside:auto}#cooling-report h2,#cooling-report h3{break-after:avoid}#cooling-report .report-input-heading{break-before:page}#cooling-report .heat-choice strong{font-size:15pt;margin:6px 0}#cooling-report .heat-choice p{font-size:9pt}#cooling-report .heat-alert{background:none;padding:0}#cooling-report a{color:#197b69;text-decoration:none}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.home-hero{background:#122732;color:#fff;border-radius:20px;padding:46px 48px;margin:28px 0 34px;position:relative;overflow:hidden;background-image:radial-gradient(ellipse at 100% 0%,#18655588,transparent 65%)}.home-hero .eyebrow{color:#66dec6}.home-hero h1{font-size:clamp(30px,3.5vw,50px);line-height:1.2;letter-spacing:-1.5px;margin:18px 0}.home-hero>p{max-width:670px;color:#c7d7df;font-size:16px;line-height:1.8}.home-hero .about-cta{margin-top:16px}.home-pills{display:flex;gap:10px;margin-top:28px}.home-pills span{border:1px solid #ffffff26;border-radius:50px;padding:6px 13px;color:#bcd1d9;font-size:12px}.home-tools>h2{font-size:24px;margin:0 0 8px}.home-tools>p{color:#657984;margin:0 0 24px}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.tool-card{display:block;color:inherit;text-decoration:none;background:white;border:1px solid #dce5e9;border-radius:16px;overflow:hidden;transition:transform .18s,box-shadow .18s}.tool-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #12273212}.tool-card:focus-visible{outline:3px solid #12b89b;outline-offset:4px}.tool-card>img{width:100%;aspect-ratio:1200/630;object-fit:cover;display:block}.tool-card>div{padding:24px}.tool-number{color:#0a947e;font-size:12px;font-weight:700}.tool-card h3{font-size:21px;margin:8px 0 12px}.tool-card p{color:#657984;line-height:1.7;min-height:48px}.tool-card strong{color:#078774;font-size:13px;display:block;margin-top:20px}.home-about{padding:28px 32px;margin:30px 0}.home-about p{max-width:800px;color:#657984;line-height:1.8}.home-about a,.about-grid a{color:#078774;font-weight:600}.home-about h2{font-size:22px}.about-grid .panel{padding:26px}.about-content p{line-height:1.8}@media(max-width:700px){.home-hero{padding:28px 24px;margin-top:20px}.home-hero h1{letter-spacing:-.6px}.tool-grid{grid-template-columns:1fr}.home-about{padding:24px}.tool-card>div{padding:22px}.home-tools>h2{font-size:22px}}
/* Expanded engineering toolkit */
.sidebar{overflow-y:auto}.sidebar .nav{padding:10px 16px;margin-bottom:5px;font-size:13px}.sidebar .side-bottom{position:static;margin-top:28px}.sidebar .side-label{margin-top:28px}.calc-layout{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(380px,1.1fr);gap:24px;align-items:start}.calc-inputs,.calc-results,.calc-path,.calc-method{padding:24px}.calc-inputs fieldset{border:0;padding:0;margin:22px 0}.calc-inputs legend{font-weight:700;font-size:14px;padding:0 0 14px}.calc-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px}.calc-field label{display:block;font-size:12px;line-height:1.5;margin-bottom:8px;color:#51636f}.calc-field select{width:100%;min-height:43px}.calc-field .unit-input{display:flex;align-items:center;border:1px solid #dce5e9;border-radius:8px;background:#fff;overflow:hidden}.calc-field input{min-width:0;width:100%;border:0!important;margin:0}.calc-field .unit-input span{font-size:11px;color:#657984;padding-right:10px;white-space:nowrap}.calc-field input:disabled,.calc-field select:disabled{background:#f0f3f5;color:#8a969d}.calc-field:has(input:disabled) label{color:#909ba3}.calc-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.calc-metric{padding:15px;border:1px solid #dce5e9;border-radius:10px;margin-bottom:10px}.calc-metric>span{display:block;color:#657984;font-size:12px;line-height:1.5}.calc-metric strong{display:block;font-size:22px;margin-top:8px;overflow-wrap:anywhere}.calc-metric small{font-size:12px;color:#657984;font-weight:500}.calc-metric.main{background:#e9f8f3;border-color:#a8dfce}.calc-metric.main strong{color:#087c69}.calc-note{padding:12px;border-radius:8px;background:#f2f6f8;font-size:12px;line-height:1.7}.calc-note.warn{background:#fff3dc;color:#8b5c14}.calc-results h3{font-size:15px;margin:22px 0 14px}.calc-table-scroll{overflow-x:auto;max-width:100%}.calc-output-table,.calc-edit-table{width:100%;border-collapse:collapse;font-size:12px}.calc-output-table th,.calc-output-table td{padding:10px 8px;text-align:left;border-bottom:1px solid #e2e9ed;white-space:normal}.calc-output-table th{background:#f4f7f9;color:#51636f}.calc-edit-table{min-width:850px}.calc-edit-table th{padding:10px 5px;text-align:left;font-weight:500}.calc-edit-table td{padding:5px}.calc-edit-table input,.calc-edit-table select{width:100%;padding:8px;font-size:12px;border:1px solid #dce5e9;border-radius:6px}.calc-edit-table td:first-child{min-width:180px}.calc-edit-table input[type=number]{min-width:80px}.calc-edit-table button{padding:8px 12px;background:#fff1ed;border:0;border-radius:5px;color:#a84332;cursor:pointer}.calc-path,.calc-method{margin-top:24px}.calc-method p{line-height:1.8;color:#60747e;font-size:13px}.calc-method a{font-size:12px;color:#078774}.calc-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.calc-link{padding:11px 14px;border:1px solid #a8dfce;border-radius:8px;color:#087c69;text-decoration:none;font-size:12px;font-weight:600;background:#f0faf6}.transfer-notice{margin:16px 0;padding:13px 18px;background:#e5f6ef;border:1px solid #a8dfce;border-radius:10px;color:#087c69;font-size:13px}.calc-results #tool-error{background:#fff0eb;border-radius:10px;padding:18px;color:#a84332;line-height:1.7}.calc-inputs input[aria-invalid=true],.calc-edit-table input[aria-invalid=true]{outline:2px solid #c4513d}.calc-tool-icon{height:160px;background:linear-gradient(135deg,#122732,#176959);display:flex;align-items:center;justify-content:space-between;padding:30px;color:#9ee8d5}.calc-tool-icon span{font-size:72px;line-height:1}.calc-tool-icon b{font-size:12px;color:#b4d7d9;letter-spacing:2px}.home-tools .tool-grid{margin-bottom:24px}.home-tools>h3{font-size:20px}.transfer-actions{padding:20px;margin:20px 0;background:white;border:1px solid #dce5e9;border-radius:12px}.transfer-actions h2{font-size:16px;margin:0}.transfer-actions p{font-size:12px;color:#657984;margin:8px 0}.transfer-actions .calc-links{margin-top:12px}#engineering-report{display:none}.calc-results button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:1100px){.calc-layout{grid-template-columns:1fr}.calc-fields{grid-template-columns:1fr 1fr}}@media(max-width:700px){.sidebar .nav{padding:8px 10px;font-size:12px}.sidebar .side-label{margin-top:12px}.calc-inputs,.calc-results,.calc-path,.calc-method{padding:20px}.calc-layout{gap:18px}.calc-fields{grid-template-columns:1fr}.calc-summary{grid-template-columns:1fr 1fr}.calc-metric{padding:12px}.calc-metric strong{font-size:20px}.calc-tool-icon{height:120px}.calc-edit-table{min-width:850px}}@media print{@page{size:A4;margin:14mm}body[data-print-report="engineering"]>*:not(#engineering-report){display:none!important}body[data-print-report="engineering"]>#engineering-report{display:block!important;color:#172b36;font-size:10pt}#engineering-report h1{font-size:18pt}#engineering-report h2{font-size:14pt;margin:20px 0 10px}#engineering-report .calc-summary{display:grid;grid-template-columns:1fr 1fr}#engineering-report .calc-metric{break-inside:avoid}#engineering-report table{width:100%;font-size:9pt}#engineering-report thead{display:table-header-group}#engineering-report tr{break-inside:avoid}#engineering-report .calc-table-scroll{overflow:visible}#engineering-report a{color:#172b36}#engineering-report .calc-note,#engineering-report p{font-size:9pt;line-height:1.5}#engineering-report .calc-metric strong{font-size:16pt}}
@media(min-width:701px){.sidebar .nav{padding:7px 10px;font-size:12px;gap:9px;margin:3px 0;line-height:1.5}.sidebar .nav span{font-size:18px;min-width:20px}.sidebar .side-label{margin-top:22px;margin-bottom:12px;font-size:10px}.sidebar .side-bottom{margin-top:20px}.sidebar{padding:22px 18px}.sidebar .brand{font-size:21px}}
.tool-menu-toggle{display:none}@media(max-width:700px){.tool-menu-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 14px;border:1px solid #31515b;border-radius:8px;background:#1c3541;color:#c2e0dd;font:600 12px inherit;cursor:pointer;margin-top:12px}.tool-navigation{width:100%}.sidebar:not(.nav-expanded) .tool-navigation .nav:not(.active){display:none}.sidebar .tool-navigation .nav.active{margin-top:10px}.sidebar.nav-expanded .tool-navigation{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding-top:12px}.sidebar.nav-expanded .tool-navigation .nav{margin:0}.sidebar .side-bottom{display:none}.calc-table-scroll{overscroll-behavior-x:contain}}
.report-buttons{display:flex;gap:14px;align-items:center}.report-buttons button{font-size:11px;white-space:nowrap}#report-dialog{width:min(880px,calc(100vw - 40px));max-height:85vh;border:1px solid #dce5e9;border-radius:14px;padding:28px;color:#172b36;background:#fff;overflow:auto}#report-dialog::backdrop{background:#12273299}#report-dialog h1{font-size:23px}#report-dialog h2{font-size:18px;margin-top:26px}#report-dialog p{font-size:13px;line-height:1.7}#report-dialog .report-dialog-actions{display:flex;justify-content:flex-end;position:sticky;top:-28px;background:white;padding:8px 0}.calc-results .panel-title{gap:12px;flex-wrap:wrap}@media print{#report-dialog{display:none!important}}

.nav-group-label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#78958d;margin:15px 12px 5px;font-weight:700}.nav-group .nav{padding-top:7px;padding-bottom:7px}.home-tool-group{margin-top:30px}.home-tool-group>h3{font-size:16px;color:#54766a;margin-bottom:16px}.fitting-figure{margin:12px 0;padding:18px;background:#edf7f2;border-radius:14px;text-align:center}.fitting-figure svg{max-width:340px;width:100%;height:auto}.fitting-figure figcaption{font-size:12px;color:#54766a}.calc-field[data-field="source"]{grid-column:1/-1}.calc-field>input{width:100%;padding:12px;border:1px solid #d5e3dc;border-radius:8px}@media(max-width:760px){.sidebar:not(.nav-expanded) .nav-group-label{display:none}.sidebar.nav-expanded .nav-group-label{display:block}.nav-group{min-width:0}}

.sidebar .nav{gap:10px;line-height:1.45;padding:8px 10px;margin:2px 0}.sidebar .nav span:not(.nav-icon){font-size:13px;min-width:0}.sidebar .nav .nav-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;min-width:28px;border-radius:7px;background:#ffffff09;color:#8dbfb7}.nav-icon svg{width:19px;height:19px}.sidebar .nav.active .nav-icon{background:#65dac51c;color:#68dbc5}.sidebar .nav-group-label{font-size:9px;margin:15px 10px 5px}.home-process{padding:28px;margin-top:36px}.home-process>div{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.home-process p{font-size:14px;line-height:1.8;color:#627b86}.home-process b{color:#224e50}@media(max-width:700px){.sidebar .nav span:not(.nav-icon){font-size:12px}.home-process>div{grid-template-columns:1fr;gap:0}}

.heat-report-title{margin-bottom:4px}.heat-results>.field-help{margin:4px 0 14px}#grille-options .sort-button{font-size:12px;text-align:left}.calc-field[data-field="quick"]{grid-column:1/-1}#report-dialog .report-heading{height:auto;display:block;border:0;margin:0 0 20px}#report-dialog .report-heading h1{font-size:24px}#report-dialog .report-section{margin:20px 0}#report-dialog .report-section table{width:100%;border-collapse:collapse}#report-dialog .report-section th,#report-dialog .report-section td{padding:8px;border-bottom:1px solid #dce5e9;text-align:left}

.heat-view-switch{display:flex;padding:4px;background:#edf3f1;border-radius:9px;gap:4px;margin:22px 0 16px}.heat-view-switch button{flex:1;border:0;border-radius:7px;background:transparent;color:#607b77;padding:10px 5px;font-size:12px}.heat-view-switch .selected{background:white;color:#087e6b;box-shadow:0 2px 7px #254d3812;font-weight:600}.heat-scene{position:relative;background:linear-gradient(155deg,#edf8f2,#e9f3f6);border:1px solid #d6e9e1;border-radius:14px;padding:30px 4px 37px;overflow:hidden}.heat-scene svg{width:100%;display:block}.scene-caption{position:absolute;top:12px;left:12px;font-size:10px;color:#728f86}.scene-hotspot{position:absolute;border:1px solid #bdd8ce;background:#fffffff2;border-radius:7px;padding:6px 8px;font-size:10px;color:#33594f;box-shadow:0 3px 8px #154d3710;white-space:nowrap}.scene-hotspot.selected{background:#087f6a;color:white;border-color:#087f6a}.scene-room{left:34%;top:70%}.scene-outside{right:2%;top:12%}.scene-wall{left:2%;top:56%}.scene-roof{left:39%;top:21%}.scene-glass{right:2%;top:48%}.scene-people{right:4%;top:76%}.scene-air{right:4%;top:33%}.scene-ac{left:4%;top:35%}.scene-live{position:absolute;bottom:12px;left:12px;right:12px;display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#52766b}.scene-section-heading{margin:18px 0 10px}.scene-section-heading>span{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#869b92}.scene-section-heading h3{margin:5px 0;font-size:17px;color:#245f51}.scene-scope{font-size:10px;line-height:1.65}.heat-visual-mode .heat-input-group summary{display:none}.heat-visual-mode .heat-input-group{border-top:0;padding-top:0;margin-top:0}.heat-visual-mode .heat-input-group[hidden],.heat-visual-mode .two-fields>div[hidden]{display:none!important}.heat-visual-mode .two-fields{gap:0 14px}.heat-visual-mode .two-fields label{font-size:12px;line-height:1.5;margin-top:14px}.heat-visual-mode .two-fields .field-help{font-size:10px}.detail-mode .heat-scene,.detail-mode .scene-section-heading,.detail-mode .scene-scope{display:none}svg .scene-air{animation:scene-flow 5s linear infinite}@keyframes scene-flow{to{stroke-dashoffset:-52}}@media(prefers-reduced-motion:reduce){.scene-air{animation:none}}@media(max-width:600px){.scene-hotspot{font-size:9px;padding:5px}.scene-live{font-size:9px}.heat-scene{padding-bottom:35px}}

.install-app-button{border:1px solid #b9d9ce;border-radius:7px;background:#edf7f2;color:#087c69;padding:8px 12px;font-size:12px}#install-help{max-width:440px;border:1px solid #d8e6e0;border-radius:14px;padding:26px;color:#24463e}#install-help::backdrop{background:#102e3970}#install-help p{line-height:1.8;font-size:14px}footer{flex-wrap:wrap;gap:14px}

@media(min-width:701px){.sidebar .tool-navigation>.nav-group:first-child{padding-top:3px}}

.engineering-visual{background:linear-gradient(145deg,#edf7f2,#eff5f8);border:1px solid #d7e9e1;border-radius:13px;margin:0 0 20px;overflow:hidden}.engineering-visual>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 16px;font-size:13px;font-weight:600;color:#2e6556;cursor:pointer}.engineering-visual>summary>span{font-size:10px;font-weight:400;color:#7a958d}.engineering-visual-body{padding:0 16px 15px}.engineering-drawing{display:block;width:100%;max-height:220px}.visual-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin-top:8px}.visual-chip{border:1px solid #c9dfd5;background:#fff;border-radius:8px;padding:7px 10px;display:flex;flex-direction:column;gap:4px;color:#577d70;font-size:10px}.visual-chip strong{font-size:12px;color:#176c57}.visual-chip:hover,.visual-node:hover{border-color:#179f81;background:#f9fffc}.visual-caption{font-size:10px;line-height:1.7;color:#78918a;margin:12px 0 0}.visual-path{display:flex;gap:7px;align-items:stretch;overflow-x:auto;padding:6px 0 12px}.visual-node{flex:0 0 145px;border:1px solid #cbdfd5;background:#fff;border-radius:10px;padding:12px;text-align:left;display:flex;flex-direction:column;gap:9px;white-space:normal;overflow-wrap:anywhere}.visual-node-number{color:#008976;font-size:11px}.visual-node strong{font-size:12px;color:#365f52}.visual-node small{font-size:10px;color:#78918a}.visual-node b{font-size:16px;color:#1c8068}.visual-path-arrow{align-self:center;color:#68a391}.visual-loss-bar{height:5px;border-radius:4px;background:#e8f1ed;display:block;overflow:hidden}.visual-loss-bar i{display:block;background:#29af8f;height:100%}.visual-system{font-size:11px;color:#4d7867;line-height:1.8;text-align:center}.visual-state{text-align:center;font-size:12px;padding:10px;border-radius:8px}.visual-state.pass{background:#d7eee2;color:#287553}.visual-state.warn{background:#fff0d9;color:#966826}.visual-tanks{display:flex;gap:28px;align-items:center;justify-content:center;margin:14px 0}.visual-tank-state{display:grid;gap:8px;text-align:center;font-size:11px;color:#507c6c}.visual-tank{position:relative;height:140px;width:88px;border:3px solid #548579;border-radius:35px;background:#e4ebe7;overflow:hidden}.visual-water{position:absolute;bottom:0;left:0;right:0;background:#71c0d2;border-top:3px solid #3c8f9e}.visual-tank span{position:absolute;left:0;right:0;top:60px;font-size:12px;color:#254c4c;font-weight:600}.visual-tank-state small{font-size:11px}.visual-flow{display:flex;align-items:center;justify-content:center;gap:20px;padding:15px 0}.visual-flow-source{font-size:28px;font-weight:700;color:#188368}.visual-flow-source small{display:block;font-size:12px;text-align:center}.visual-flow-result{background:#ffffffb5;border:1px solid #d3e7dc;border-radius:10px;padding:10px 15px;margin:8px 0;font-size:11px;color:#659183}.visual-flow-result strong,.visual-flow-result small{display:block;margin-top:6px;color:#1e6b58}.visual-flow-result strong{font-size:15px}.visual-flow-result small{font-size:10px}.pipe-visual-box:empty{display:none}@media(max-width:600px){.engineering-visual-body{padding:0 12px 12px}.visual-node{flex-basis:145px}.visual-flow{gap:12px}.visual-chip{padding:7px}.visual-tanks{gap:20px}}@media print{.engineering-visual{break-inside:avoid;background:white}.engineering-visual summary>span{display:none}.visual-path{overflow:visible;display:flex;flex-wrap:wrap}.visual-node{flex:1 1 120px}.visual-chip{display:inline-block}}

.fitting-visual-actions{margin:-4px 0 22px}
.calc-layout>*{min-width:0}.engineering-visual{max-width:100%;min-width:0}.visual-path{max-width:100%;min-width:0}.visual-flow-source{max-width:40%;overflow-wrap:anywhere}.visual-flow-result strong{overflow-wrap:anywhere}.engineering-visual>summary>span{flex-shrink:0}

#insulation-options .sort-button{font-size:12px}.calc-output-table .insulation-pass td{background:#eefaf3;color:#176b43}.calc-output-table .insulation-fail td{background:#fff1f1;color:#b42332}.insulation-status{font-weight:600;white-space:nowrap}

.project-bar{margin:0 0 24px;padding:18px}.project-title{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.project-title span{font-size:12px;color:#527482}.project-actions{display:flex;flex-wrap:wrap;gap:8px}.project-actions button,.project-actions select{padding:9px 12px;border:1px solid #cbdce1;border-radius:8px;background:#fff;color:#173b48;font:inherit;font-size:13px;cursor:pointer}.project-actions select{max-width:100%}#project-dialog{width:min(440px,90vw);border:0;border-radius:16px;padding:24px}#project-dialog label{display:block;margin:15px 0}#project-dialog input{display:block;width:100%;padding:10px;margin-top:6px;border:1px solid #cbdce1;border-radius:8px}.project-report-dialog{width:min(960px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:16px;padding:24px}.project-report-meta{border-bottom:2px solid #078774;padding:12px 0;margin-bottom:20px}.project-report-tool{margin:28px 0;break-before:page}.project-report-tool:first-of-type{break-before:auto}.project-report-tool table{width:100%}.project-report-tool .panel{box-shadow:none}.project-report-tool svg{max-width:100%}#project-print-report{display:none}@media print{body[data-print-report="project"]>*:not(#project-print-report){display:none!important}body[data-print-report="project"]>#project-print-report{display:block!important;position:static;width:100%;max-height:none;overflow:visible;border:0;padding:0;margin:0;color:#172b36}#project-print-report .calc-table-scroll{overflow:visible}#project-print-report td{print-color-adjust:exact;-webkit-print-color-adjust:exact}.project-bar{display:none!important}.project-report-tool .calc-table-scroll{overflow:visible}.project-report-tool td{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.project-workflow{border-top:1px solid #dce5e9;padding-top:12px;margin-top:12px}.project-workflow>strong{font-size:12px}.project-workflow .calc-links{margin-top:8px}.project-workflow .calc-link{font-size:12px;padding:8px 10px}

.project-actions .project-danger{color:#b42332;border-color:#e6b8be;background:#fff4f4}.project-actions .project-danger:hover{background:#ffe6e9}.project-trash-dialog{width:min(560px,92vw);max-height:85vh;overflow:auto;border:1px solid #dce5e9;border-radius:16px;padding:24px;color:#173b48}.project-trash-dialog::backdrop,#project-dialog::backdrop{background:#12273299}.project-trash-dialog h2{font-size:20px;margin-bottom:14px}.project-trash-dialog p{font-size:13px;line-height:1.7;margin:10px 0 16px}.project-trash-item{padding:16px 0;border-top:1px solid #dce5e9}.project-trash-item strong{overflow-wrap:anywhere}@media print{#project-trash-dialog,#project-delete-confirm{display:none!important}}
.fan-selection-guide{background:#f4faf7;border:1px solid #cee4da;border-radius:12px;padding:18px;margin-bottom:22px}.fan-selection-guide h3{margin:0 0 12px}.fan-guide-layout{display:grid;grid-template-columns:160px 1fr;gap:15px;align-items:center}.fan-guide-layout svg{width:100%;height:auto}.fan-selection-guide p{font-size:12px;line-height:1.8;margin:12px 0}.fan-selection-guide strong{color:#22634f;font-size:13px}.fan-selection-guide .fan-duty{background:white;border-radius:8px;padding:12px}.fan-selection-guide a{font-size:11px;color:#087c69}@media(max-width:600px){.fan-guide-layout{grid-template-columns:1fr}.fan-guide-layout svg{max-width:230px;margin:auto}}@media print{.fan-selection-guide{background:white;break-inside:avoid}.fan-guide-layout{grid-template-columns:130px 1fr}}

.about-contributor{display:flex;align-items:center;gap:28px}.contributor-photo{width:160px;height:180px;flex-shrink:0;object-fit:cover;object-position:center 30%;border-radius:14px;border:1px solid #dbe8e6}.about-contributor h2{margin-top:0}.about-contributor p:last-child{margin-bottom:0}@media(max-width:600px){.about-contributor{flex-direction:column;align-items:flex-start;gap:20px}.contributor-photo{width:140px;height:158px}}
.segment-list{margin:24px 0;padding:24px}.segment-list .panel-title{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px}.segment-editor{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:18px 0}.segment-editor label{font-size:13px;color:#51636f}.segment-editor input{display:block;max-width:100%;margin-top:8px;padding:10px;border:1px solid #cbdce1;border-radius:8px}.segment-list button{padding:9px 12px;border:1px solid #cbdce1;border-radius:8px;background:#fff;color:#087c69;cursor:pointer;font:inherit;font-size:12px}.segment-list button:disabled{opacity:.45;cursor:not-allowed}.segment-list [data-segment-add]{background:#087c69;color:white}.segment-table{min-width:700px}.segment-table th button{padding:0;border:0;background:none;text-align:left;font-weight:600}.segment-pass{color:#087c69;font-weight:700}.segment-fail{color:#b43b32;font-weight:700}#segment-report-dialog article table{min-width:0}#project-print-report .segment-table{min-width:0}#project-print-report .project-report-tool{break-before:auto}@media(max-width:600px){.segment-list{padding:20px}.segment-editor{align-items:stretch}.segment-editor label{width:100%}.segment-editor input{width:100%}}@media print{.segment-table{min-width:0!important}.segment-pass,.segment-fail{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Keep duct and water sizing focused on results and saved segments. */
body[data-handoff="duct"] .options-panel .table-wrap,body[data-handoff="water"] .options-panel .table-wrap{max-height:326px;overflow:auto}
@media print{body[data-handoff="duct"] .options-panel .table-wrap,body[data-handoff="water"] .options-panel .table-wrap{max-height:none!important;overflow:visible}}

.calc-field[data-field="ezConfig"]{grid-column:1/-1}.calc-field[data-field="ezConfig"] select{font-size:12px}.ez-guide-button,#ez-guide-dialog [data-ez-apply]{margin-top:10px;padding:9px 12px;border:1px solid #a8dfce;border-radius:8px;background:#eff9f5;color:#087c69;font:inherit;font-size:12px;cursor:pointer}.ez-guide-table{min-width:650px}#ez-guide-dialog h2{margin:18px 0}#ez-guide-dialog p{line-height:1.7}.ez-selection-note{padding:12px 16px;margin:16px 0;border:1px solid #dce8e4;border-radius:10px;background:#f4faf7}.ez-selection-note p{font-size:12px;line-height:1.7}.ez-selection-note a,#ez-guide-dialog a{color:#087c69}
@media(max-width:600px){#ez-guide-dialog .ez-guide-table{min-width:0;white-space:normal}#ez-guide-dialog .ez-guide-table thead{display:none}#ez-guide-dialog .ez-guide-table tr{display:grid;grid-template-columns:1fr auto;padding:12px 0;border-bottom:1px solid #dce5e9}#ez-guide-dialog .ez-guide-table td{padding:6px 8px;border:0}#ez-guide-dialog .ez-guide-table td:nth-child(-n+2){grid-column:1/-1}#ez-guide-dialog .ez-guide-table td:nth-child(3){align-self:center;font-weight:700;color:#087c69}#ez-guide-dialog .ez-guide-table td:nth-child(3)::before{content:'Ez = '}#ez-guide-dialog [data-ez-apply]{margin-top:0}}

.calculator-disclaimer{margin:28px 0;padding:20px 24px;border:1px solid #dce5e9;border-radius:12px;background:#f0f4f6;color:#617580}.calculator-disclaimer h2{font-size:15px;color:#3e5763;margin:0 0 10px}.calculator-disclaimer p{font-size:12px;line-height:1.8;margin:8px 0}.calculator-disclaimer p:last-child{margin-bottom:0}@media(max-width:600px){.calculator-disclaimer{padding:18px 20px}}

#report-dialog #report-close,#project-report-dialog [data-close],#segment-report-dialog [data-close]{border:0;background:transparent;color:#b43b32;font-size:12px;font-weight:500;box-shadow:none;padding:5px;cursor:pointer}#report-dialog #report-close:hover,#project-report-dialog [data-close]:hover,#segment-report-dialog [data-close]:hover{background:transparent;color:#982f27;text-decoration:underline}#report-dialog .report-dialog-actions{z-index:5;border-bottom:1px solid #e2e9ed;margin-bottom:14px}#project-report-dialog>.project-actions,#segment-report-dialog>.project-actions{position:sticky;top:-24px;z-index:5;background:white;padding:10px 0;border-bottom:1px solid #e2e9ed;margin-bottom:14px}

/* Compact cooling-load presets */
.heat-presets{margin:14px 0 20px;padding:16px;border:1px solid #dce9e4;background:#f5faf8;border-radius:12px}
.heat-presets h3{margin:0 0 6px;font-size:15px}.heat-preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.heat-preset-grid label{display:block;font-size:12px;margin-bottom:5px}.heat-preset-grid select{width:100%;min-width:0;padding:9px;border:1px solid #ceded8;border-radius:7px;background:white;font:inherit;font-size:12px;color:#24443d}.heat-preset-status p{font-size:12px;margin:10px 0 0;color:#42695e}.heat-preset-reference{margin-top:12px;font-size:12px}.heat-preset-reference summary{cursor:pointer;color:#177d6b}.heat-preset-reference h4{margin:16px 0 6px}.heat-preset-table-scroll{overflow-x:auto}.heat-preset-reference table{width:100%;border-collapse:collapse;font-size:12px}.heat-preset-reference td,.heat-preset-reference th{padding:8px;text-align:left;border-bottom:1px solid #dce9e4;vertical-align:top}.heat-workspace .heat-results>.heat-preset-summary{display:none}
@media(max-width:560px){.heat-preset-grid{grid-template-columns:1fr}.heat-preset-grid>div:last-child{grid-column:auto}.heat-presets{padding:12px}}

.heat-preset-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.heat-preset-heading h3{margin:0}.heat-preset-heading button{white-space:nowrap;font-size:12px}.heat-preset-content[hidden],#c-preset-content[hidden]{display:none}

.grille-size-pick{border:0;background:none;color:#137b6b;font:inherit;padding:3px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.grille-size-pick:focus-visible{outline:2px solid #137b6b;outline-offset:3px}.item-schedule .segment-editor{flex-wrap:wrap}.item-schedule .segment-editor label{flex:1 1 180px}.item-route-label{display:flex;align-items:center;gap:12px;font-size:13px;margin:12px 0}.item-route-label select{max-width:100%;padding:8px;border:1px solid #d2dfda;border-radius:7px;background:#fff;color:#24443d}.item-schedule .segment-table button{white-space:nowrap}
@media(max-width:650px){.item-route-label{align-items:stretch;flex-direction:column}.item-schedule .panel-title{flex-wrap:wrap}.item-schedule .segment-editor label{min-width:100%}}

#tool-result .grille-candidate-scroll{max-height:var(--grille-list-height,300px);overflow:auto;overscroll-behavior:contain}#tool-result .grille-candidate-scroll thead th{position:sticky;top:0;z-index:1;background:#edf4f2}.grille-candidate-scroll:focus-visible{outline:2px solid #137b6b;outline-offset:2px}@media print{.grille-candidate-scroll{max-height:none!important;overflow:visible!important}}
.insulation-help{margin-top:10px;font-size:12px;line-height:1.65;color:#49635d}.insulation-help summary{cursor:pointer;color:#087e6b;font-weight:600}.insulation-help>div{padding:8px 0}.insulation-help p{margin:8px 0}.insulation-help ul{padding-left:18px}.insulation-help th,.insulation-help td{white-space:normal;min-width:0}.insulation-help table{min-width:0}.calc-field[hidden]{display:none!important}
/* Keep saved-result field captions above their controls. */
.segment-editor{align-items:flex-end}.segment-editor>label{display:flex!important;flex-direction:column;align-items:stretch;gap:8px;flex:1 1 220px;max-width:480px;line-height:1.5}.segment-editor>label input{margin-top:0;width:100%;box-sizing:border-box;min-height:42px}.segment-editor>button{min-height:42px;margin:0;align-self:flex-end;white-space:nowrap}.segment-editor>button[hidden]{display:none}@media(max-width:600px){.segment-editor>label{flex-basis:100%;max-width:none}.segment-editor>button{align-self:stretch}}
.segment-editor>label{margin:0!important}
body[data-tool="insulation"] .calc-field:is([data-field="margin"],[data-field="k"]){grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,180px);column-gap:14px;align-items:center}
body[data-tool="insulation"] .calc-field:is([data-field="margin"],[data-field="k"])>label{grid-column:1;grid-row:1;margin:0}
body[data-tool="insulation"] .calc-field:is([data-field="margin"],[data-field="k"])>.unit-input{grid-column:2;grid-row:1/3}
body[data-tool="insulation"] .calc-field:is([data-field="margin"],[data-field="k"])>.insulation-help{grid-column:1;grid-row:2;margin-top:4px;font-size:11px}
body[data-tool="insulation"] .calc-field:is([data-field="margin"],[data-field="k"]):has(details[open])>.unit-input{grid-row:1}
body[data-tool="insulation"] .calc-field:is([data-field="margin"],[data-field="k"])>.insulation-help[open]{grid-column:1/-1;font-size:12px;margin-top:8px}
@media(max-width:480px){body[data-tool="insulation"] .calc-field:is([data-field="margin"],[data-field="k"]){grid-template-columns:minmax(0,1fr) 135px;column-gap:10px}}
body[data-tool="insulation"] .calc-field[data-field="length"],body[data-tool="insulation"] .calc-field[data-field="thickness"]{order:1}
body[data-tool="insulation"] .calc-field[data-field="k"]{order:2}
body[data-tool="insulation"] .calc-field[data-field="h"]{order:3;grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,180px);gap:14px;align-items:center}
body[data-tool="insulation"] .calc-field[data-field="h"]>label{margin:0}
@media(max-width:480px){body[data-tool="insulation"] .calc-field[data-field="h"]{grid-template-columns:minmax(0,1fr) 135px;gap:10px}}
.backup-reminder{margin-top:12px;padding:12px 14px;border:1px solid #e9d5a1;background:#fff8e8;border-radius:8px;font-size:12px;line-height:1.65;color:#755916}.backup-reminder[hidden]{display:none}.backup-reminder>div{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}.backup-reminder button{background:white;border:1px solid #d8c58c;border-radius:6px;padding:7px 10px;color:#755916;cursor:pointer}.footer-resources{font-size:12px}.info-page{padding:28px;margin-top:24px;max-width:900px}.info-page h1{font-size:28px}.info-page h2{font-size:18px;margin-top:26px}.info-page p{font-size:14px;line-height:1.85;color:#51636f}.info-page a{color:#087c69}.calc-table-scroll:focus-visible{outline:2px solid #087c69;outline-offset:3px}.calc-table-scroll thead th{position:sticky;top:0;z-index:1}.sort-button:focus-visible,.segment-table th button:focus-visible{outline:2px solid #087c69;outline-offset:3px}
@media print{#engineering-report .calc-table-scroll,#cooling-report .calc-table-scroll,#project-print-report .calc-table-scroll{overflow:visible!important;max-height:none!important}#engineering-report table,#cooling-report table,#project-print-report table{min-width:0!important;width:100%!important;table-layout:auto}#engineering-report th,#engineering-report td,#cooling-report th,#cooling-report td,#project-print-report th,#project-print-report td{white-space:normal!important;overflow-wrap:anywhere}#engineering-report thead,#cooling-report thead,#project-print-report thead{display:table-header-group}#engineering-report tr,#cooling-report tr,#project-print-report tr{break-inside:avoid}#engineering-report th,#cooling-report th,#project-print-report th{position:static!important}#engineering-report svg,#cooling-report svg,#project-print-report svg{max-width:100%;height:auto}#engineering-report h2,#cooling-report h2,#project-print-report h2{break-after:avoid}}
footer:has(.footer-resources){display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px 20px}
footer:has(.footer-resources)>span:first-child{grid-column:1;grid-row:1}
footer .footer-resources{grid-column:2;grid-row:1;text-align:center;white-space:nowrap}
footer:has(.footer-resources)>.version{grid-column:3;grid-row:1;justify-self:end}
footer:has(.footer-resources)>.install-app-button{grid-column:3;grid-row:1;justify-self:end}
footer:has(.footer-resources):has(.version)>.install-app-button{grid-row:2}
@media(max-width:1000px){footer:has(.footer-resources){grid-template-columns:1fr;justify-items:center;text-align:center;gap:10px}footer:has(.footer-resources)>span:first-child,footer .footer-resources,footer:has(.footer-resources)>.version,footer:has(.footer-resources)>.install-app-button{grid-column:1;grid-row:auto;justify-self:center}}
.pdf-hint{text-align:right!important;font-size:11px;line-height:1.6}.psy-chart-panel .panel-title{flex-wrap:wrap}.psy-chart-panel .report-buttons{margin-left:auto}.psy-chart-panel button:disabled{opacity:.4;cursor:not-allowed}.psy-report-chart{width:100%;height:auto;display:block;margin:12px 0}#report-dialog .psy-loads{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media print{#engineering-report .psy-report-chart{width:100%;break-inside:avoid}#engineering-report .psy-loads{display:grid;grid-template-columns:1fr 1fr;gap:12px}}
