:root{--blue:#0066cc;--navy:#12334f;--ink:#182b3a;--muted:#586b79;--line:#dce5ec}*{box-sizing:border-box}body{margin:0;background:#f4f7fa;color:var(--ink);font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{color:var(--blue)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #f29b38;outline-offset:3px}.topbar{background:white;border-bottom:1px solid var(--line);padding:18px max(24px,calc((100% - 1200px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar img{object-fit:contain;display:block}.topbar a:last-child{text-decoration:none;font-size:14px}main{max-width:1200px;padding:45px 24px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px;gap:20px}.eyebrow{color:var(--blue);font-size:11px;letter-spacing:2px;font-weight:750;margin:0 0 12px}h1{font-size:38px;line-height:1.2;letter-spacing:-1px;margin:0 0 18px}h2{font-size:21px;line-height:1.3;margin:0}.intro p:not(.eyebrow){color:var(--muted)}.intro-badge{display:flex;gap:20px;align-items:center;background:#e5f0fc;border-radius:24px;padding:28px;color:var(--blue)}.intro-badge strong{font-size:62px;line-height:1}.intro-badge span{line-height:1.5;min-width:85px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:26px;margin-bottom:20px}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.step{color:var(--blue);background:#edf5ff;border-radius:9px;padding:5px 9px;font-weight:700}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}label{display:block;font-weight:600;font-size:13px}input,select,textarea{display:block;width:100%;border:1px solid #bccbd6;background:white;border-radius:8px;padding:11px 12px;color:var(--ink);margin-top:6px;min-width:0}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #8bbce9;outline-offset:1px}.small,.optional{font-size:12px;color:var(--muted);font-weight:400}.small{margin:14px 0 0}.tech-preview{margin-top:16px;display:grid;grid-template-columns:1fr 1fr;gap:7px;font-size:12px}.room{border-top:1px solid var(--line);padding:22px 0}.room-title{display:flex;align-items:center;gap:12px;margin-bottom:16px}.room-title img{width:100px;height:50px;object-fit:contain}.room-title strong{flex:1}.remove{border:0;background:none;color:#af3939;font-size:12px;padding:9px}.secondary,.primary{border-radius:9px;padding:12px 18px;font-weight:650;border:1px solid var(--blue)}.secondary{background:white;color:var(--blue)}.primary{background:var(--blue);color:white}.wide{width:100%}.summary{position:sticky;top:20px}.stat{display:flex;align-items:baseline;gap:8px;margin-top:16px}.stat strong{font-size:38px}.stat span{color:var(--muted)}.combination{font-size:20px;letter-spacing:1px}.status{padding:12px;border-radius:8px;font-size:13px;margin:10px 0}.ok{background:#e8f5ee;color:#175b3c}.warn{background:#fff4dd;color:#79531c}.error,.bad{background:#fff0ee;color:#962c27;padding:14px;border-radius:8px;margin-bottom:14px}.error ul{padding-left:20px}hr{border:0;border-top:1px solid var(--line);margin:20px 0}.alt{display:block;width:100%;margin-top:8px;text-align:left;border:1px solid var(--line);background:white;border-radius:7px;padding:8px;color:var(--blue)}.site-footer{text-align:center;color:var(--muted);font-size:12px;padding:24px}.report-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:40px 0 20px}.report-toolbar p{font-size:13px;color:var(--muted)}#report{background:white;border:1px solid var(--line);padding:42px;overflow-wrap:anywhere}.report-head{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:3px solid var(--blue);padding-bottom:20px}.report-head img{width:210px;height:auto}.report-head div{text-align:right;font-size:12px}.report-title{font-size:29px;margin:22px 0 4px}.report-subtitle{color:var(--muted);font-size:13px}.report-info{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#f4f7fa;padding:20px;margin:22px 0}.report-info p{margin:0;white-space:pre-wrap}.report-info b{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1px}.report-section{margin-top:28px}.report-section h3{font-size:17px;margin:0 0 12px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;background:#edf4fa;color:var(--navy)}td,th{padding:10px;border-bottom:1px solid var(--line);vertical-align:top}td img{width:76px;height:42px;object-fit:contain}.tech-table td:first-child{width:55%;color:var(--muted)}.diagram{display:block;width:100%;max-height:530px}.report-note{font-size:11px;color:var(--muted)}.report-notes{white-space:pre-wrap}.report-footer{border-top:1px solid var(--line);padding-top:14px;margin-top:30px;font-size:11px;color:var(--muted)}[hidden]{display:none!important}@media(max-width:850px){.workspace{grid-template-columns:1fr}.summary{position:static}.intro-badge{display:none}h1{font-size:31px}.topbar{padding:16px 20px}.topbar img{width:150px;height:50px}main{padding:28px 16px}.report-toolbar{align-items:stretch;flex-direction:column}#report{padding:20px}.report-head img{width:150px}.report-title{font-size:25px}}@media(max-width:480px){.fields{grid-template-columns:1fr}.panel{padding:20px}.topbar a:last-child{font-size:11px}.report-info{grid-template-columns:1fr}.tech-preview{grid-template-columns:1fr}.report-head{align-items:flex-start}.report-head img{width:125px}.report-head div{font-size:10px}}
@page{size:A4;margin:14mm}@media print{body{background:white;font-size:10pt;line-height:1.4}.topbar,.intro,.workspace,.site-footer,.report-toolbar,noscript{display:none!important}main{max-width:none;padding:0;margin:0}#report-area{display:block!important}#report{border:0;padding:0}.report-head img{width:48mm}.report-title{font-size:22pt}.report-section{margin-top:6mm}.report-section h3{break-after:avoid}.report-info,.report-head,tr,.diagram,.status{break-inside:avoid}table{font-size:8pt}td,th{padding:2.5mm}thead{display:table-header-group}.table-scroll{overflow:visible}.diagram{max-height:125mm}.report-info{grid-template-columns:1fr 1fr;padding:4mm;margin:5mm 0}.tech-section{break-before:auto}.diagram-section{break-inside:avoid}.report-footer{font-size:8pt}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

@media print{.report-title{font-size:20pt;margin:12px 0 4px}.report-subtitle{margin:6px 0}.report-head{padding-bottom:12px}.report-info{padding:3mm;margin:3mm 0;gap:8px}.report-section{margin-top:4mm}td img{float:left;width:48px;height:28px;margin:0 8px 0 0}td img+br{display:none}td,th{padding:2mm}.tech-section{break-before:page}.report-footer{margin-top:16px}}

.system-list{display:grid;gap:8px;margin-bottom:16px}.system-item{display:flex;gap:8px}.system-tab{text-align:left;flex:1;border:1px solid var(--line);border-radius:9px;background:white;padding:12px;color:var(--ink);min-width:0;overflow-wrap:anywhere}.system-tab span{display:block;font-size:12px;color:var(--muted)}.system-tab.active{background:#edf5ff;border-color:var(--blue)}.system-report+.system-report{margin-top:45px;border-top:3px solid var(--blue);padding-top:30px}#outdoor-panel{scroll-margin-top:20px}@media print{.system-report+.system-report{break-before:page;margin:0;border:0;padding:0}}

.brand-logo{display:block;position:relative;overflow:hidden;width:220px;aspect-ratio:1846/636;flex-shrink:0}.brand-logo img{position:absolute!important;width:110.94%!important;height:auto!important;max-width:none!important;left:-4.33%;top:-101.73%;object-fit:contain}.mahal-title{font-size:21px;margin:20px 0 12px}.no-product-image{display:inline-block;font-size:11px;color:var(--muted);padding:10px;background:#f4f7fa}.report-head .brand-logo{width:230px}@media(max-width:480px){.brand-logo,.report-head .brand-logo{width:145px}}@media print{.brand-logo,.report-head .brand-logo{width:52mm}.mahal-title{font-size:14pt;margin:4mm 0 2mm;break-after:avoid}.brand-logo img{float:none;margin:0}}

.customer-cover{min-height:620px;display:flex;flex-direction:column}.customer-cover .report-title{margin-top:60px}.customer-cover .report-info{display:grid;grid-template-columns:1fr;padding:28px;gap:28px}.customer-cover .report-footer{margin-top:auto}.customer-cover+.system-report{margin-top:40px;border-top:3px solid var(--blue);padding-top:30px}@media print{.customer-cover{min-height:260mm;break-after:page}.customer-cover .report-title{margin-top:22mm}.customer-cover .report-info{padding:8mm;gap:8mm}.customer-cover+.system-report{margin:0;border:0;padding:0}}
/* Explicit legacy pagination also supports Safari/WebKit printing. */
.print-company-footer{display:none}
@media print{
 @page{size:A4;margin:14mm 14mm 24mm}
 html,body,main,#report-area,#report{display:block!important;height:auto!important;overflow:visible!important}
 .customer-cover{display:block!important;position:relative;box-sizing:border-box;min-height:0!important;height:230mm!important;max-height:230mm!important;margin:0!important;padding:0!important;break-inside:avoid!important;page-break-inside:avoid!important;break-after:page!important;page-break-after:always!important}
 .customer-cover+.system-report,.system-report+.system-report{display:block!important;break-before:page!important;page-break-before:always!important;margin-top:0!important;padding-top:0!important;border-top:0!important}
 #report .report-footer{display:none!important}
 .print-company-footer{display:block!important;position:fixed;z-index:999;left:0;right:0;bottom:0;height:13mm;border-top:1px solid #dce5ec;padding-top:2mm;color:#586b79;font-size:8pt;line-height:1.35;background:white}
 .customer-cover .report-info{display:block!important}
 .customer-cover .report-info p{margin:0 0 8mm}
 .tech-section{page-break-before:always}
}
