.hh-header{position:sticky;top:0;z-index:50}.hh-header .hh-header-inner{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center}.hh-header .hh-header-actions{justify-self:end}.hh-eco-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid var(--hh-primary);border-radius:8px;background:var(--hh-soft);color:var(--hh-primary);font:700 15px/1.3 var(--hh-font);cursor:pointer;white-space:nowrap}.hh-eco-trigger:hover,.hh-eco-trigger[aria-expanded=true]{background:var(--hh-primary);color:var(--hh-button-foreground)}.hh-eco-trigger svg{width:18px;height:18px;flex:none}.hh-eco-chevron{font-size:12px}.hh-eco-panel{box-sizing:border-box;position:fixed;z-index:100;width:min(600px,calc(100vw - 32px));padding:18px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--hh-border);border-radius:14px;background:var(--hh-surface);color:var(--hh-text);box-shadow:0 18px 60px #06192b40;font-family:var(--hh-font)}.hh-eco-panel-title{display:flex;flex-wrap:wrap;gap:4px;align-items:baseline;margin-bottom:14px;font-size:18px;font-weight:800}.hh-eco-panel-title>span{color:var(--hh-primary)}.hh-eco-panel-title>small{flex-basis:100%;margin-top:4px;color:var(--hh-muted);font-size:13px;font-weight:500}.hh-eco-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hh-eco-tool{display:flex;align-items:flex-start;gap:10px;padding:12px;min-height:80px;box-sizing:border-box;border:1px solid var(--hh-border);border-radius:9px;color:var(--hh-text);background:var(--hh-bg);text-decoration:none}.hh-eco-tool:hover,.hh-eco-tool[aria-current=page]{border-color:var(--hh-primary);background:var(--hh-soft)}.hh-eco-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:8px;color:var(--hh-primary);background:var(--hh-soft)}.hh-eco-tool-copy{display:flex;align-items:flex-start;flex-direction:column;min-width:0}.hh-eco-tool strong,.hh-next-card strong{display:block;font-size:15px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}.hh-eco-tool small,.hh-next-card small{display:block;margin-top:4px;font-size:13px;line-height:1.5;color:var(--hh-muted)}.hh-eco-current{display:inline-block;margin-top:8px;padding:3px 7px;border-radius:5px;background:var(--hh-primary);color:var(--hh-button-foreground);font-size:12px;line-height:1.5;font-weight:700}.hh-eco-explore,.hh-next-home{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;min-height:44px;margin-top:14px;padding:12px;border-radius:8px;color:var(--hh-primary);background:var(--hh-soft);font-size:14px;font-weight:700;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}.hh-eco-panel a:focus-visible,.hh-eco-trigger:focus-visible,.hh-next-tools a:focus-visible{outline:3px solid var(--hh-focus);outline-offset:3px}.hh-next-tools{margin-top:24px;padding:16px;border:1px solid var(--hh-border);border-top:3px solid var(--hh-gold);border-radius:10px;background:var(--hh-soft);color:var(--hh-text)}.hh-next-tools h3{margin:0;color:var(--hh-text);font-size:13px;font-weight:700;letter-spacing:.04em;line-height:1.6}.hh-next-intro,.hh-next-note{margin:8px 0 14px;color:var(--hh-muted);font-size:13px;line-height:1.6}.hh-next-grid{display:grid;gap:10px}.hh-next-card{display:flex;align-items:flex-start;gap:10px;min-height:64px;padding:12px;background:var(--hh-surface);border:1px solid var(--hh-border);border-radius:8px;color:var(--hh-text);text-decoration:none}.hh-next-card>span:nth-child(2){flex:1;min-width:0}.hh-next-card>span:last-child{color:var(--hh-primary)}.hh-next-card:hover{border-color:var(--hh-primary)}.hh-next-home{padding-inline:0}.hh-eco-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:1000px){.hh-header .hh-header-inner{grid-template-columns:minmax(0,1fr) auto;padding-block:12px;gap:10px 16px}.hh-header .hh-brand{grid-column:1 / -1}.hh-eco-switcher{grid-column:1}.hh-header .hh-header-actions{grid-column:2;border-top:0;padding-top:0;margin:0}}@media(max-width:430px){.hh-header .hh-header-inner{gap:10px 8px}.hh-eco-trigger{gap:6px;padding-inline:8px}.hh-eco-panel{padding:12px}.hh-eco-grid{gap:8px}.hh-eco-tool{flex-direction:column;gap:8px;padding:10px}.hh-eco-tool strong{font-size:15px}.hh-next-tools{padding:14px}.hh-next-card{padding:10px}}@media(max-width:380px){.hh-header .hh-header-inner{grid-template-columns:minmax(0,1fr)}.hh-eco-switcher,.hh-header .hh-header-actions{grid-column:1}.hh-eco-trigger{width:100%}.hh-header .hh-header-actions{justify-self:stretch;justify-content:flex-end}}@media print{.hh-eco-switcher,.hh-eco-panel,.hh-next-tools{display:none!important}}.hh-eco-panel{display:flex;flex-direction:column;overflow:hidden}.hh-eco-panel-title,.hh-eco-explore{flex-shrink:0}.hh-eco-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:3px;margin:-3px}.hh-eco-grid{grid-auto-rows:max-content;align-content:start}@media(max-width:380px){.hh-header .hh-header-inner{grid-template-columns:minmax(0,1fr) auto}.hh-header .hh-brand{grid-column:1 / -1}.hh-header .hh-eco-switcher{grid-column:1;min-width:0}.hh-header .hh-header-actions{grid-column:2;flex-wrap:nowrap;gap:2px}.hh-header .hh-theme-toggle{gap:0}.hh-header .hh-header-actions .hh-lang{width:64px;min-width:64px;padding:6px;font-size:13px}.hh-header .hh-eco-trigger{width:100%;max-width:160px;white-space:normal;padding:6px}.hh-header .hh-eco-trigger>span:not(.hh-eco-chevron){min-width:0}}.hh-boq-export{position:relative;margin-bottom:20px}.hh-boq-export-trigger{width:100%;justify-content:space-between;gap:8px;font-size:15px;font-weight:700}.hh-boq-export-menu{position:absolute;inset:100% 0 auto;z-index:20;display:grid;gap:6px;padding:8px;background:var(--hh-surface);border:1px solid var(--hh-border);border-radius:10px;box-shadow:0 12px 36px #102d4326}.hh-boq-export-menu button{text-align:left;min-height:48px;padding:12px;border:0;border-radius:7px;background:var(--hh-soft);color:var(--hh-text);font:600 15px/1.5 var(--hh-font)}.hh-boq-export-menu button:hover{background:var(--hh-primary);color:var(--hh-button-foreground)}.hh-report-overlay{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;background:#e2e8f0;color:#0f172a;font-family:Arial,Segoe UI,sans-serif;line-height:1.5;color-scheme:light}.hh-report-toolbar{flex:none;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:12px 20px;background:#0f172a;color:#fff;border-bottom:3px solid #f59e0b}.hh-report-toolbar strong{font-size:17px}.hh-report-toolbar small{display:block;color:#e2e8f0;font-size:13px}.hh-report-toolbar-actions{display:flex;align-items:center;gap:8px}.hh-report-action{min-height:44px;padding:8px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font:700 15px/1.5 Arial,sans-serif}.hh-report-action.primary{background:#185ac3;border-color:#8fbbff;color:#fff}.hh-report-action:disabled{opacity:.7}.hh-report-close{font-size:24px;min-width:44px;padding:0 10px}.hh-report-scroller{flex:1;min-height:0;overflow:auto;padding:20px}.hh-report-paper{box-sizing:border-box;width:210mm;margin:0 auto;padding:12mm;background:#fff;box-shadow:0 8px 40px #0f172a26;color:#0f172a;font:11pt/1.5 Arial,Segoe UI,sans-serif}.hh-report-paper *,.hh-report-paper *:before,.hh-report-paper *:after{box-sizing:border-box}.hh-report-brand{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;background:#0f172a;color:#fff;padding:14px;font-size:10pt;font-weight:700}.hh-report-brand>strong{font-size:14pt}.hh-report-brand>strong>span{color:#f59e0b}.hh-report-paper h1{font:700 16pt/1.4 Arial,sans-serif;color:#0f172a;margin:16px 0 12px;text-align:center}.hh-report-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin-bottom:16px;font-size:10pt}.hh-report-meta>span:last-child{flex-basis:100%}.hh-report-paper a{color:#185ac3;text-decoration:underline;text-underline-offset:2px}.hh-report-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9.5pt;line-height:1.5;margin:12px 0 20px}.report-col-number{width:6%}.report-col-label{width:30%}.report-col-value{width:20%}.report-col-unit{width:12%}.report-col-note{width:32%}.hh-report-table th,.hh-report-table td{border:1px solid #cbd5e1;padding:8px 6px;vertical-align:top;overflow-wrap:anywhere}.hh-report-table thead th:first-child{white-space:nowrap}.hh-report-table thead th{background:#e2e8f0;color:#0f172a;font-weight:700;text-align:left}.hh-report-table tbody th[scope=row]{font-weight:500;text-align:left}.hh-report-table .hh-report-section th{background:#e2e8f0;font-weight:700;text-align:left;padding:10px 8px}.hh-report-table .hh-report-section.section-blue th{background:#dbeafe}.hh-report-table .hh-report-value{text-align:right;font-variant-numeric:tabular-nums}.hh-report-emphasis>*{background:#eff6ff;color:#185ac3;font-weight:700!important}.hh-report-paper h2{font-size:11pt;font-weight:700;line-height:1.5;margin:16px 0 8px;color:#0f172a}.hh-report-notes{padding:10px 14px;background:#f8fafc;border:1px solid #cbd5e1;font-size:10pt}.hh-report-notes h2{margin-top:0}.hh-report-notes p{margin:8px 0}.hh-report-drawing{width:100%;margin:20px 0;break-inside:avoid}.hh-report-drawing>h2{padding:10px;background:#e2e8f0}.hh-report-drawing .roof-svg{display:block;width:100%!important;max-height:225mm;object-fit:contain;height:auto}.hh-report-drawings{--hh-text: #152b42;--hh-muted: #56687a;--hh-primary: #185ac3;--drawing-bg: #fff;--drawing-grid: #dce7f1;--drawing-rafter: #246db4;--drawing-batten: #956008;--drawing-wall: #7d8da1;--drawing-cover: #5585a7;--drawing-hip: #61908a;--drawing-text: #2e526e}.hh-report-drawing-caption{color:#334155;font-size:9pt;margin:8px 0}.hh-report-drawings .roof-face{pointer-events:none}.hh-report-footer{border:1px solid #cbd5e1;border-top:3px solid #f59e0b;padding:14px;margin-top:24px;font-size:10pt}.hh-report-footer>p{font-style:italic}.hh-report-footer ul{list-style:none;padding:0;margin:0}.hh-report-footer li{display:grid;grid-template-columns:38% 62%;gap:8px;margin-bottom:9px}.hh-report-footer li span{display:block;font-weight:700}.hh-report-footer li a{overflow-wrap:anywhere}.hh-report-home{display:block;margin-top:14px;padding-top:12px;border-top:1px solid #cbd5e1;font-weight:700}.hh-report-mobile-hint{display:none}@media(max-width:767px){.hh-report-toolbar{padding:12px 16px}.hh-report-toolbar-actions{width:100%}.hh-report-toolbar-actions>button:not(.hh-report-close){flex:1}.hh-report-scroller{padding:12px}.hh-report-mobile-hint{display:block;color:#334155;font-size:13px;margin:0 0 10px}.hh-report-paper{margin-left:0}}@media print{@page{size:A4 portrait;margin:12mm 12mm 15mm;@bottom-center{content:"happyhometools.com · " counter(page);font:9pt Arial,sans-serif;color:#475569}}html.hh-report-open,html.hh-report-open body{overflow:visible!important;background:#fff!important}html.hh-report-open body>*:not(.hh-report-overlay){display:none!important}.hh-report-overlay{position:static;display:block;height:auto;overflow:visible;background:#fff}.hh-report-toolbar,.hh-report-mobile-hint,.hh-boq-export{display:none!important}.hh-report-scroller{display:block;padding:0;overflow:visible}.hh-report-paper{width:186mm;max-width:100%;padding:0;margin:0;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}.hh-report-table thead{display:table-header-group}.hh-report-table tr{break-inside:avoid}.hh-report-section{break-after:avoid}.hh-report-notes p,.hh-report-footer li{break-inside:avoid}.hh-report-drawing{break-before:page;margin:0}.hh-report-drawing>h2{margin-top:0}.hh-report-appendix{break-before:page}.hh-report-footer{break-before:auto;break-inside:avoid}}.decision-report{width:min(210mm,100%);padding:0;background:transparent;box-shadow:none}.hh-report-page{display:flex;flex-direction:column;width:100%;min-height:273mm;padding:12mm;margin:0 0 22px;background:#fff;box-shadow:0 8px 32px #0f172a20}.decision-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:20px 0 12px}.decision-heading h1{text-align:left;margin:3px 0 0;font-size:25px}.decision-heading small,.decision-heading>span{color:#475569;font-size:12px}.decision-heading small{font-weight:700;letter-spacing:.06em}.decision-print{align-self:flex-start;margin-bottom:8px}.decision-intro{color:#475569;margin:0 0 16px;font-size:14px}.decision-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.decision-metric{padding:12px;border:1px solid #cbd5e1;background:#f8fafc;border-radius:8px;min-width:0}.decision-metric>span{display:block;font-size:13px;color:#334155}.decision-metric>strong{display:block;margin-top:6px;font-size:23px;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.decision-metric strong small{font-size:12px}.decision-kpis .decision-metric:first-child strong{font-size:17px}.decision-total{padding:16px 18px;margin:16px 0;border:1px solid #93b5ec;border-left:5px solid #185ac3;border-radius:8px;background:#eff6ff}.decision-total>span,.decision-total>small{display:block;font-size:13px;color:#334155}.decision-total>strong{display:block;color:#185ac3;font-size:30px;margin:5px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.decision-plan-box{margin:0;padding:12px;border:1px solid #cbd5e1;border-radius:8px}.decision-plan{display:block;width:100%;max-height:280px}.decision-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px;font-weight:700;margin:10px 0}.decision-legend .ridge{color:#185ac3}.decision-legend .hip{color:#047857}.decision-legend .valley{color:#b45309}.decision-callout{background:#f8fafc;border-left:3px solid #f59e0b;padding:10px 12px;font-size:13px;color:#334155}.decision-footer{margin-top:auto;padding-top:14px;border-top:1px solid #cbd5e1;display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#475569}.decision-table{border-collapse:collapse;width:100%;font-size:13px;margin:8px 0 14px;font-variant-numeric:tabular-nums}.decision-table thead{background:#edf2f8}.decision-table th,.decision-table td{padding:9px 8px;text-align:right;border-bottom:1px solid #cbd5e1;vertical-align:top;overflow-wrap:anywhere}.decision-table th:first-child{text-align:left;width:52%}.decision-table th[scope=row]{font-weight:600}.decision-table small{display:block;font-weight:400;font-size:11px;color:#475569;margin-top:4px}.budget-table th:first-child{width:35%}.budget-table td{width:21.66%}.unpriced{color:#7c4308;font-size:12px}.decision-subtotals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.decision-subtotals .decision-metric strong{font-size:21px}.decision-warning{border:1px solid #d29a40;border-radius:8px;background:#fffbeb;padding:12px 16px;margin-bottom:18px}.decision-warning h2{margin:0 0 5px}.decision-warning ul{display:grid;grid-template-columns:1fr 1fr;padding-left:20px;margin:0;gap:4px 20px;font-size:14px}.decision-steel-details{padding:10px 12px;background:#f8fafc;font-size:12px;margin:0}.decision-steel-details>div{display:flex;justify-content:space-between;gap:16px;padding:3px 0}.decision-steel-details dd{margin:0;font-weight:700;text-align:right}.decision-order-confirm{margin:14px 0 20px;font-size:13px}.decision-face-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:10px 0 24px}.decision-face{padding:16px;border:1px solid #cbd5e1;border-top:3px solid #185ac3;border-radius:8px;break-inside:avoid}.decision-face h2{margin-top:0;font-size:18px}.decision-face dl{margin:0}.decision-face dl>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 10px;padding:7px 0;border-bottom:1px solid #e2e8f0;font-size:13px}.decision-face dt{max-width:65%}.decision-face dd{margin:0}.decision-face small{width:100%;font-size:11px;color:#475569}.decision-assumptions p{padding:12px 14px;background:#f8fafc;border-left:3px solid #94a3b8;font-size:13px;break-inside:avoid}.decision-note{font-size:12px;margin:6px 0}.decision-report .hh-report-footer{background:#fff;padding:12mm;margin:0}.decision-nav{display:flex;flex-wrap:wrap;gap:6px;padding:6px 20px;background:#f8fafc;border-bottom:1px solid #cbd5e1}.decision-nav button{border:0;background:transparent;color:#185ac3;font:700 14px Arial,sans-serif;min-height:44px;padding:6px 12px}.decision-print-select{font-size:12px}.decision-print-select select{display:block;min-height:44px;border-radius:6px;font-size:15px;max-width:190px;padding:6px}.decision-report .hh-report-drawing{margin:0 0 22px}.decision-report .hh-report-drawing .decision-plan{max-height:170mm;flex:1}@media screen and (max-width:767px){.hh-report-toolbar{max-height:40dvh;overflow:auto}.hh-report-toolbar-actions{flex-wrap:wrap}.decision-print-select{width:100%}.decision-print-select select{width:100%;max-width:none}.decision-nav{padding:4px 8px;gap:0}.decision-nav button{font-size:14px;padding:6px 9px}.hh-report-paper.decision-report{width:100%}.decision-report .hh-report-page{width:100%;min-height:0;padding:18px 14px}.decision-heading{align-items:start;flex-direction:column}.decision-heading h1{font-size:26px}.decision-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.decision-metric{padding:10px}.decision-metric>span{font-size:14px}.decision-metric>strong{font-size:25px}.decision-total>strong{font-size:28px}.decision-intro{font-size:16px}.decision-callout,.decision-total>small{font-size:14px}.decision-subtotals,.decision-face-grid,.decision-warning ul{grid-template-columns:1fr}.decision-table{font-size:14px}.decision-table small{font-size:13px}.budget-table{font-size:12px}.budget-table th,.budget-table td{padding:8px 3px}.budget-table th:first-child{width:30%}.decision-steel-details{font-size:14px}.decision-face dl>div{font-size:15px}.decision-face small{font-size:13px}.decision-assumptions p,.decision-note{font-size:14px}.decision-footer{margin-top:18px;flex-wrap:wrap}.decision-report .hh-report-footer{padding:18px 14px}.hh-report-footer li{grid-template-columns:1fr}}@media print{.decision-nav,.decision-print,.decision-print-select{display:none!important}.hh-report-paper.decision-report{width:186mm}.decision-report .hh-report-page{width:186mm;min-height:267mm;padding:0;margin:0;box-shadow:none;break-before:page}.decision-report .hh-report-page:first-child{break-before:auto}.decision-report .decision-heading{margin-top:14px}.decision-report .decision-heading h1{font-size:23px}.decision-report .decision-intro{margin-bottom:12px}.decision-report .decision-table th,.decision-report .decision-table td{padding-top:7px;padding-bottom:7px}.decision-report .decision-table tr{break-inside:avoid}.decision-report .decision-table thead{display:table-header-group}.decision-report .decision-front{break-inside:avoid}.decision-report .hh-report-footer{break-before:page;padding:0;margin:0}.hh-report-overlay:not([data-print-scope=all]) .decision-report [data-report-part]{display:none!important}.hh-report-overlay[data-print-scope=dashboard] .decision-report [data-report-part=dashboard],.hh-report-overlay[data-print-scope=budget] .decision-report [data-report-part=budget],.hh-report-overlay[data-print-scope=orders] .decision-report [data-report-part=orders],.hh-report-overlay[data-print-scope=drawings] .decision-report [data-report-part=drawings],.hh-report-overlay[data-print-scope=appendix] .decision-report [data-report-part=appendix]{display:flex!important;break-before:page}}@media print{.decision-report .hh-report-page{min-height:260mm}.decision-report .decision-front h2{margin-top:10px}.decision-report .decision-front .decision-table th,.decision-report .decision-front .decision-table td{padding-top:5px;padding-bottom:5px}.decision-report .decision-front .decision-table{margin-bottom:9px}.decision-report .decision-front .decision-total{margin-top:10px;margin-bottom:10px}.hh-report-overlay:not([data-print-scope=all]):not([data-print-scope=drawings]) .hh-report-drawings{display:none}.hh-report-overlay[data-print-scope=appendix] .decision-report .hh-report-footer[data-report-part=appendix]{display:block!important}}@media screen and (max-width:767px){.hh-report-toolbar small{display:none}.decision-nav{flex-wrap:nowrap;overflow-x:auto;flex-shrink:0}.decision-nav button{flex:0 0 auto;white-space:nowrap;font-size:15px}}@media screen and (max-width:767px){.decision-table:not(.budget-table) th[scope=row]{font-size:15px}.decision-table:not(.budget-table) td b{font-size:18px}.budget-table{display:block;font-size:16px}.budget-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.budget-table tbody{display:grid;gap:12px}.budget-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #cbd5e1;border-radius:8px;padding:12px}.budget-table th:first-child{width:auto;grid-column:1 / -1;font-size:16px;padding:0 0 8px}.budget-table td{width:auto;text-align:left;padding:8px 0}.budget-table td:before{content:attr(data-label);display:block;font-size:13px;font-weight:400;color:#475569}.budget-table td:last-child{grid-column:1 / -1;font-size:18px;font-weight:700;border-bottom:0}}:root{--drawing-bg: #fbfdff;--drawing-grid: #dce7f1;--drawing-rafter: #246db4;--drawing-batten: #b97b13;--drawing-wall: #7d8da1;--drawing-cover: #5585a7;--drawing-hip: #61908a;--drawing-text: #2e526e;--alert-bg: #fff8e6;--alert-text: #85570c}:root[data-theme=dark]{--drawing-bg: #0b1329;--drawing-grid: #1a2c43;--drawing-rafter: #80baff;--drawing-batten: #f8c154;--drawing-wall: #788ca5;--drawing-cover: #7292bd;--drawing-hip: #67c5b1;--drawing-text: #b3cce5;--alert-bg: #342b19;--alert-text: #f4ce83}.hh-container{width:min(1720px,calc(100% - 64px))}.hh-header-inner{min-height:76px}.hh-main{padding-top:32px}.hh-brand-mark{width:42px;height:42px}.hh-brand-text small{font-size:12px;letter-spacing:.025em}.hh-lang{min-width:76px}button:disabled{opacity:.45;cursor:not-allowed}button,a,input,select{-webkit-tap-highlight-color:transparent}.roof-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.intro-eyebrow{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.13em;font-weight:700;color:var(--hh-muted)}.intro-eyebrow>span{color:var(--hh-muted);border:1px solid var(--hh-border);padding:2px 6px;border-radius:4px;font-size:9px;letter-spacing:.08em}.roof-intro h1{font-size:clamp(30px,2.5vw,42px);font-weight:700;letter-spacing:-.045em;margin:8px 0}.roof-intro h1 em{font-style:normal;font-weight:400;color:var(--hh-muted)}.title-dot{color:var(--hh-gold)}.roof-intro p{font-size:14px;color:var(--hh-text);margin:0}.roof-intro p>span{color:var(--hh-muted);display:block;font-size:12px;margin-top:2px}.project-actions{display:flex;gap:8px;flex:none}.project-actions .hh-btn{gap:8px;font-size:12px}.project-actions .hh-btn>span{font-size:18px;font-weight:400}.roof-workspace{display:grid;grid-template-columns:minmax(280px,320px) minmax(400px,1fr) minmax(290px,340px);gap:20px;align-items:start}.panel{border:1px solid var(--hh-border);border-radius:12px;background:var(--hh-surface);overflow:hidden;box-shadow:var(--hh-shadow);min-width:0}.panel-heading{min-height:66px;padding:16px 20px;border-bottom:1px solid var(--hh-border);display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-heading>div{display:flex;align-items:center;gap:10px;min-width:0}.panel-heading h2{font-size:15px;font-weight:700;margin:0;letter-spacing:-.025em}.step-index{color:var(--hh-muted);font-size:10px;font-family:var(--hh-font-mono);border:1px solid var(--hh-border);border-radius:4px;width:24px;height:24px;display:grid;place-items:center;flex:none}.text-btn{border:0;background:transparent;color:var(--hh-primary);font-size:12px;min-height:44px;padding:6px 0}.input-content{padding:20px}.small-heading{font-size:10px;font-weight:700;letter-spacing:.09em;color:var(--hh-muted);text-transform:uppercase}.preset-grid{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}.preset{display:flex;gap:10px;text-align:left;align-items:center;position:relative;border:1px solid var(--hh-border);background:var(--hh-surface);color:var(--hh-text);padding:8px 10px;border-radius:7px;min-height:64px}.preset svg{width:43px;flex:none;color:var(--hh-muted)}.preset strong{display:block;font-size:12px;line-height:1.4}.preset small{font-size:10px;color:var(--hh-muted);display:block;line-height:1.5;margin-top:2px}.preset.selected{background:var(--hh-soft);border-color:var(--hh-primary)}.preset.selected svg{color:var(--hh-primary)}.preset.selected b{position:absolute;right:8px;top:7px;font-size:10px;color:var(--hh-primary)}.preset>span{padding-right:5px}.preset:hover{border-color:var(--hh-primary)}.units-control{display:flex;padding:3px;background:var(--hh-bg);border:1px solid var(--hh-border);border-radius:7px;margin:20px 0 26px;gap:4px}.units-control button{flex:1;min-height:44px;padding:5px;border:0;border-radius:5px;background:transparent;color:var(--hh-muted);font-size:11px;white-space:normal}.units-control button span{font-size:10px;margin-left:4px;opacity:.8}.units-control [aria-pressed=true]{background:var(--hh-surface);box-shadow:0 1px 4px #12345810;color:var(--hh-text);font-weight:700}fieldset{border:0;padding:0;margin:0 0 24px;min-width:0}fieldset:last-child{margin-bottom:0}legend{display:flex;align-items:center;font-size:13px;font-weight:700;margin-bottom:16px;padding:0;width:100%}legend>span{font-family:var(--hh-font-mono);font-size:10px;color:var(--hh-muted);margin-right:8px}legend:after{content:"";height:1px;flex:1;margin-left:12px;background:var(--hh-border)}.roof-field{display:flex;flex-direction:column;min-width:0;margin:0 0 13px;gap:6px;font-size:12px;color:var(--hh-muted);font-weight:500}.roof-field>span:first-child{line-height:1.5}.input-wrap{position:relative;display:flex;align-items:center;min-width:0}.roof-field input,.roof-field select{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid var(--hh-border);border-radius:6px;background:var(--hh-bg);color:var(--hh-text);font-size:14px;font-variant-numeric:tabular-nums;outline-offset:2px}.roof-field input{padding-right:52px;appearance:textfield;-moz-appearance:textfield}.roof-field input::-webkit-inner-spin-button,.roof-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.roof-field input:focus,.roof-field select:focus{border-color:var(--hh-primary)}.input-unit{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:10px;color:var(--hh-muted);pointer-events:none}.roof-field select{font-size:12px;padding-right:24px}.roof-field.invalid input{border-color:var(--hh-danger)}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field-pair .roof-field>span:first-child{font-size:11px}.pitch-fieldset{background:var(--hh-soft);padding:14px;border-radius:8px}.pitch-fieldset legend{float:left;margin-bottom:5px}.pitch-fieldset:after{content:"";display:block;clear:both}.pitch-preview{clear:both;display:flex;align-items:center;justify-content:space-between;gap:5px}.pitch-preview>strong{font-size:32px;letter-spacing:-.055em;color:var(--hh-primary);font-weight:650}.pitch-preview>strong>span{font-size:24px;font-weight:400;margin-left:3px}.pitch-preview>span{font-size:10px;color:var(--hh-muted);font-family:var(--hh-font-mono)}.pitch-slider{width:100%;margin:2px 0 0;accent-color:var(--hh-primary);min-height:28px;cursor:pointer}.slider-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--hh-muted);margin-bottom:13px}.pitch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.pitch-grid .roof-field{font-size:10px;margin-bottom:4px}.pitch-grid .roof-field input{padding-left:8px;padding-right:24px;font-size:12px;background:var(--hh-surface)}.pitch-grid .input-unit{right:5px;font-size:10px}.field-hint{font-size:10px;color:var(--hh-muted);line-height:1.6;margin:8px 0 0}.spacing-presets{display:flex;gap:15px;margin-top:-12px}.drawing-column{min-width:0}.live-label{font-size:8px;font-weight:600;letter-spacing:.06em;color:var(--hh-muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.live-label i{height:5px;width:5px;border-radius:50%;background:#49a68e}.blueprint-tabs{display:flex;border-bottom:1px solid var(--hh-border);padding:0 18px;gap:24px}.blueprint-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;color:var(--hh-muted);min-height:54px;font-size:12px;font-weight:500;padding:6px 0;display:flex;align-items:center;gap:7px}.blueprint-tabs button[aria-selected=true]{border-bottom-color:var(--hh-primary);color:var(--hh-primary);font-weight:700}.blueprint-tabs button>span{font-size:20px;font-weight:400}.canvas-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:var(--drawing-bg);border-bottom:1px solid var(--hh-border);gap:6px}.layer-control{display:flex;gap:2px;background:var(--hh-surface);border:1px solid var(--hh-border);border-radius:6px;padding:2px}.layer-control button{background:transparent;border:0;border-radius:4px;min-height:44px;font-size:10px;padding:5px 10px;color:var(--hh-muted)}.layer-control button[aria-pressed=true]{background:var(--hh-soft);color:var(--hh-primary);font-weight:600}.drawing-code{color:var(--hh-muted);font-family:var(--hh-font-mono);font-size:10px}.drawing-view{position:relative;overflow:hidden;background:var(--drawing-bg);min-width:0}.roof-svg{display:block;width:100%;height:auto;aspect-ratio:900/720}.roof-svg text{font-family:var(--hh-font-mono);font-size:12px;fill:var(--drawing-text);stroke:none}.drawing-chrome text{font-size:10px;letter-spacing:1px}.dimension{stroke:var(--drawing-rafter);stroke-width:1;fill:none}.dimension text{fill:var(--drawing-rafter);font-size:12px;paint-order:stroke;stroke:var(--drawing-bg);stroke-width:5px;stroke-linejoin:round}.extension{fill:none;stroke:var(--drawing-wall);stroke-dasharray:3 4;stroke-width:.8}.rafter-lines{stroke:var(--drawing-rafter);stroke-width:7;stroke-linejoin:round;stroke-linecap:square}.joist{stroke:var(--drawing-wall);stroke-width:4}.wall-base{stroke:var(--drawing-wall);stroke-width:2}.angle{fill:none;stroke:var(--drawing-batten);stroke-width:1.3}.angle text{fill:var(--drawing-batten);font-size:11px}.roof-svg .diagram-note{font-size:11px}.roof-svg .detail-heading{font-size:10px;letter-spacing:.6px}.roof-svg .detail-value{font-size:23px;fill:var(--drawing-rafter)}.plan-rafters{stroke:var(--drawing-rafter);stroke-width:1.5}.plan-battens{fill:none;stroke:var(--drawing-batten);stroke-width:1;opacity:.7}.plan-hips{stroke:var(--drawing-hip);stroke-width:4}.ridge-line{stroke:var(--drawing-rafter);stroke-width:5}.zoom-controls{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;background:var(--hh-surface);border:1px solid var(--hh-border);box-shadow:0 3px 10px #0000000a;border-radius:7px;overflow:hidden}.zoom-controls button{width:44px;min-height:44px;border:0;background:transparent;color:var(--hh-text);font-size:18px}.zoom-controls button:last-child{border-left:1px solid var(--hh-border)}.zoom-controls span{font-size:10px;min-width:35px;text-align:center;color:var(--hh-muted)}.zoom-controls button:hover{background:var(--hh-soft)}.drawing-legend{display:flex;flex-wrap:wrap;gap:10px 18px;padding:15px 18px;background:var(--drawing-bg);border-block:1px solid var(--hh-border)}.drawing-legend>span{display:flex;align-items:center;gap:6px;font-size:9px;color:var(--hh-muted)}.drawing-legend i{width:12px;height:2px;background:var(--drawing-rafter)}.drawing-legend .legend-batten{width:5px;height:5px;background:var(--drawing-batten);border-radius:50%}.drawing-legend .legend-wall{background:var(--drawing-wall)}.drawing-legend .legend-hip{background:var(--drawing-hip)}.export-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;padding:12px 18px;gap:8px}.cad-export-note{margin:0;padding:0 18px 14px;color:var(--hh-muted);font-size:13px;line-height:1.5}.export-actions .hh-btn{font-size:11px;gap:8px}.file-tag{font-size:8px;opacity:.6;border:1px solid var(--hh-border);border-radius:3px;padding:0 3px}.drawing-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--hh-border);border-radius:9px;margin-top:16px;background:var(--hh-surface);padding:16px 8px}.drawing-metrics>div{text-align:center;min-width:0;padding:0 5px;border-right:1px solid var(--hh-border)}.drawing-metrics>div:last-child{border:0}.drawing-metrics span{display:block;font-size:10px;color:var(--hh-muted)}.drawing-metrics strong{display:block;font-size:18px;font-family:var(--hh-font-mono);font-weight:500;margin-top:4px;white-space:normal;overflow-wrap:anywhere}.method-card{padding:24px 4px}.method-card p{font-size:11px;color:var(--hh-muted);line-height:1.7;margin:9px 0 0}.formula{border-left:2px solid var(--hh-gold);padding-left:12px;font-size:11px;line-height:1.8;font-family:var(--hh-font-mono);color:var(--hh-text);margin-top:14px}.formula>span{display:block}.info-note{padding:10px 12px;background:var(--hh-soft);border-radius:5px}.invalid-drawing{display:grid;place-content:center;min-height:420px;color:var(--hh-danger);padding:30px}.result-body{padding:20px}.area-card{padding:18px 16px;border:1px solid var(--hh-border);border-radius:9px;background:var(--hh-soft)}.area-card>div:first-child{font-size:11px;color:var(--hh-muted)}.area-card>strong{display:block;font-size:42px;line-height:1.25;font-weight:600;letter-spacing:-.06em;color:var(--hh-primary);margin:7px 0 12px;overflow-wrap:anywhere}.area-card>strong>span{font-size:15px;font-weight:400;letter-spacing:normal;margin-left:6px}.area-meta{display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--hh-border);padding-top:10px}.area-meta>span{display:flex;justify-content:space-between;font-size:10px;color:var(--hh-muted);gap:8px}.area-meta b{font-weight:500;color:var(--hh-text)}.roof-squares{font-size:10px;color:var(--hh-muted);margin-top:8px}.compact-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 22px}.compact-metrics>div{border:1px solid var(--hh-border);border-radius:7px;padding:11px 10px;min-width:0}.compact-metrics span{display:block;font-size:10px;color:var(--hh-muted)}.compact-metrics strong{font-size:17px;font-weight:600;display:block;margin-top:3px}.boq-section{margin-top:20px;padding-top:18px;border-top:1px solid var(--hh-border)}.boq-section h3{font-size:13px;display:flex;align-items:center;gap:8px;margin:0 0 13px}.boq-section h3>span:first-child{font-family:var(--hh-font-mono);font-size:9px;color:var(--hh-muted);font-weight:400}.section-tag{font-size:8px;border:1px solid var(--hh-border);padding:3px 5px;border-radius:3px;margin-left:auto;color:var(--hh-muted);font-weight:500;letter-spacing:.08em}.boq-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:8px 0;font-size:11px}.boq-row>span{color:var(--hh-muted);min-width:0}.boq-row>span>small{display:block;font-size:9px;color:var(--hh-muted);margin-top:4px;line-height:1.6}.boq-row>strong{font-size:12px;font-variant-numeric:tabular-nums;font-weight:600;flex-shrink:0;text-align:right;max-width:60%;overflow-wrap:anywhere}.boq-row strong>small{font-size:10px;font-weight:400}.stock-box{background:var(--hh-bg);border:1px solid var(--hh-border);border-radius:6px;padding:12px;margin-top:8px}.stock-box .small-heading{font-size:9px;display:flex;justify-content:space-between;margin-bottom:4px}.stock-box .small-heading span{font-weight:400}.stock-box .boq-row{padding:5px 0}.geometry-details,.cut-schedule{font-size:11px;color:var(--hh-muted);margin-top:14px}.geometry-details summary,.cut-schedule summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}.geometry-details summary:before,.cut-schedule summary:before{content:"+";font-size:16px;color:var(--hh-primary)}.geometry-details[open] summary:before,.cut-schedule[open] summary:before{content:"−"}.total-cost{background:var(--hh-soft);border-radius:7px;padding:14px;margin-top:15px}.total-cost span{font-size:10px;color:var(--hh-muted)}.total-cost strong{display:block;font-size:25px;font-weight:650;letter-spacing:-.04em;color:var(--hh-primary);overflow-wrap:anywhere;margin-top:4px}.ecosystem{margin-top:24px;padding-top:20px;border-top:1px solid var(--hh-border)}.ecosystem>.small-heading{font-size:9px;margin-bottom:10px}.ecosystem a{display:flex;align-items:center;justify-content:space-between;gap:10px;text-decoration:none;font-size:11px;min-height:44px;padding:10px;border:1px solid var(--hh-border);border-radius:6px;margin-bottom:8px;color:var(--hh-text)}.ecosystem a:hover{border-color:var(--hh-primary);background:var(--hh-soft)}.ecosystem a>span{color:var(--hh-primary);font-size:17px}.ecosystem>small{display:block;text-align:center;color:var(--hh-muted);font-size:10px}.drawing-alerts,.result-alerts{background:var(--alert-bg);color:var(--alert-text);padding:12px 18px;font-size:11px}.drawing-alerts>div{display:flex;gap:8px;margin:5px 0;line-height:1.65}.result-alerts{border:1px solid currentColor;border-radius:7px;padding:12px;margin-top:16px}.result-alerts strong{font-size:11px}.result-alerts p{font-size:11px;margin:8px 0 0;line-height:1.7}.privacy-line{font-size:10px;color:var(--hh-muted);margin:22px 0 0;text-align:center}.hh-footer-inner{font-size:11px}.toast-region{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:100;max-width:calc(100% - 32px);width:max-content}.toast{padding:12px 20px;background:var(--hh-text);color:var(--hh-surface);border-radius:8px;font-size:14px;box-shadow:0 5px 30px #0003}@media(min-width:1600px){.roof-workspace{grid-template-columns:340px minmax(400px,1fr) 360px;gap:24px}.input-content,.result-body{padding:24px}.panel-heading{padding-inline:24px}.preset strong,.roof-field{font-size:13px}.field-hint{font-size:11px}.boq-row{font-size:12px}}@media(max-width:1199px){.hh-container{width:calc(100% - 40px)}.roof-workspace{grid-template-columns:300px minmax(0,1fr);gap:18px}.result-column{grid-column:2}.input-column{grid-row:1 / span 2}.drawing-column{grid-column:2}.roof-intro{align-items:flex-start}.project-actions{flex-direction:column}.drawing-metrics strong{font-size:16px}.result-body{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.area-card,.compact-metrics,.boq-section,.geometry-details,.result-alerts,.ecosystem{grid-column:1 / -1}.compact-metrics{margin-bottom:0}.panel-heading h2{font-size:14px}.live-label{font-size:7px}.drawing-legend{gap:10px}}@media(max-width:900px)and (min-width:768px){.hh-container{width:calc(100% - 32px)}.roof-workspace{grid-template-columns:280px minmax(0,1fr);gap:14px}.input-content,.result-body{padding:16px}.panel-heading{padding:14px}.live-label{display:none}.blueprint-tabs{gap:16px;padding-inline:14px}.blueprint-tabs button{font-size:11px}.layer-control button{font-size:9px;padding-inline:7px}.canvas-toolbar{padding-inline:12px}.drawing-metrics{grid-template-columns:1fr;padding:8px 14px}.drawing-metrics>div{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border:0}.drawing-metrics strong{margin:0;font-size:15px}.method-card{padding-block:18px}}@media(max-width:767px){.hh-container{width:calc(100% - 32px)}.hh-header-inner{flex-direction:row;align-items:center;padding-block:14px;gap:8px;flex-wrap:wrap}.hh-brand-text strong{font-size:15px}.hh-brand-text small{font-size:12px;letter-spacing:0}.hh-brand{gap:8px}.hh-brand-mark{width:38px;height:38px}.hh-header-actions{gap:4px}.hh-lang{font-size:15px;min-width:44px;padding-inline:8px}.hh-icon-button{min-width:44px}.hh-main{padding-top:24px}.roof-intro{display:block;margin-bottom:24px}.intro-eyebrow{font-size:11px;gap:8px}.intro-eyebrow>span{font-size:9px}.roof-intro h1{font-size:32px;line-height:1.2;margin-top:13px}.roof-intro p{font-size:16px;line-height:1.6;margin-top:12px}.roof-intro p>span{font-size:14px;margin-top:4px}.project-actions{flex-direction:row;margin-top:18px}.project-actions .hh-btn{font-size:15px;flex:1;padding-inline:8px}.roof-workspace{display:flex;flex-direction:column;gap:20px}.input-column,.drawing-column,.result-column{width:100%}.panel-heading{padding:16px;min-height:70px}.panel-heading h2{font-size:20px;line-height:1.3}.step-index{font-size:11px}.text-btn{font-size:15px}.input-content,.result-body{padding:18px}.small-heading{font-size:12px}.preset-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.preset{align-items:flex-start;flex-direction:column;padding:12px;gap:5px;min-height:145px}.preset svg{width:44px;height:29px}.preset strong{font-size:15px}.preset small{font-size:13px;margin-top:4px;line-height:1.5}.preset.selected b{font-size:12px;right:10px;top:10px}.units-control{margin:20px 0 24px}.units-control button{font-size:15px;min-height:44px}.units-control button span{font-size:12px}.roof-field{font-size:15px;margin-bottom:16px}.roof-field input{font-size:18px;min-height:48px;padding-right:56px}.roof-field select{font-size:17px;min-height:48px}.input-unit{font-size:12px}.field-pair{gap:12px}.field-pair .roof-field>span:first-child{font-size:15px}legend{font-size:18px;margin-bottom:18px}legend>span{font-size:12px}.pitch-fieldset{padding:16px}.pitch-preview>strong{font-size:36px}.pitch-preview>span{font-size:12px}.pitch-slider{min-height:44px}.slider-labels{font-size:12px}.pitch-grid{gap:8px}.pitch-grid .roof-field{font-size:15px}.pitch-grid .roof-field input{font-size:17px;padding-right:24px}.pitch-grid .input-unit{font-size:11px}.field-hint{font-size:14px;line-height:1.6}.pitch-fieldset .field-hint{font-size:13px}.live-label{display:none}.blueprint-tabs{padding-inline:16px;gap:20px}.blueprint-tabs button{font-size:15px;min-height:56px;line-height:1.45}.canvas-toolbar{padding:10px}.layer-control button{font-size:13px;padding-inline:10px}.drawing-code{font-size:11px}.drawing-legend{gap:10px 18px;padding:12px 14px}.drawing-legend>span{font-size:12px}.export-actions{padding:12px;gap:8px}.export-actions .hh-btn{font-size:15px;flex:1;padding-inline:8px}.file-tag{display:none}.drawing-metrics{padding:16px 0}.drawing-metrics span{font-size:13px;line-height:1.5}.drawing-metrics strong{font-size:16px;margin-top:6px}.method-card{padding:22px 0 0}.method-card p{font-size:14px}.formula{font-size:12px}.area-card{padding:20px}.area-card>div:first-child{font-size:15px}.area-card>strong{font-size:36px}.area-meta>span{font-size:14px}.roof-squares{font-size:13px}.compact-metrics span{font-size:14px}.compact-metrics strong{font-size:22px}.compact-metrics{margin:16px 0 20px}.boq-section h3{font-size:18px;margin-bottom:14px}.boq-section h3>span:first-child{font-size:12px}.section-tag{font-size:10px}.boq-row{font-size:15px;padding:10px 0}.boq-row>strong{font-size:16px;max-width:55%}.boq-row>span>small{font-size:13px}.boq-row strong>small{font-size:13px}.stock-box{padding:14px;margin-top:12px}.stock-box .small-heading{font-size:12px}.geometry-details,.cut-schedule{font-size:15px}.total-cost span{font-size:14px}.total-cost strong{font-size:30px}.ecosystem>.small-heading{font-size:12px}.ecosystem a{font-size:15px;min-height:52px}.ecosystem>small{font-size:13px}.drawing-alerts,.result-alerts{font-size:14px}.result-alerts strong{font-size:15px}.result-alerts p{font-size:14px}.privacy-line{font-size:13px;margin-top:24px}.hh-footer-inner{font-size:13px}.result-body{display:block}.hh-footer-inner{gap:8px}}@media(max-width:430px){.hh-header-inner{flex-direction:column;align-items:stretch;gap:10px}.hh-header-actions{justify-content:flex-end;margin-top:-3px}.hh-brand-text strong{font-size:17px}.hh-brand-text small{font-size:13px}.hh-brand-mark{width:40px;height:40px}.hh-header-actions{border-top:1px solid var(--hh-border);padding-top:9px}.roof-intro h1{font-size:30px}.input-content,.result-body{padding:16px}.pitch-fieldset{padding:12px}.pitch-grid .roof-field{font-size:15px}.field-pair{grid-template-columns:1fr;gap:0}.canvas-toolbar .drawing-code{display:none}.layer-control{width:100%}.layer-control button{flex:1}.drawing-metrics{grid-template-columns:1fr;padding:10px 16px}.drawing-metrics>div{display:flex;align-items:center;justify-content:space-between;text-align:left;border:0;padding:7px 0;gap:12px}.drawing-metrics strong{margin-top:0}.blueprint-tabs{gap:12px;padding-inline:12px}.blueprint-tabs button{font-size:15px;flex:1}.export-actions .hh-btn{font-size:14px}.panel-heading h2{font-size:19px}.preset-grid{grid-template-columns:1fr}.preset{flex-direction:row;align-items:center;min-height:82px;gap:12px}.preset svg{width:42px;flex:none}.preset strong{font-size:15px}.preset small{font-size:13px}}@media print{.hh-header-actions,.project-actions,.input-column,.canvas-toolbar,.zoom-controls,.export-actions,.ecosystem,.privacy-line,.hh-footer,.toast-region{display:none!important}.roof-workspace{display:block}.drawing-column,.result-column{break-inside:avoid;margin-bottom:20px}.hh-container,.roof-svg{width:100%}.result-body{display:block}:root[data-theme=dark]{--drawing-bg: #fff;--drawing-grid: #e1e8ef;--drawing-rafter: #246db4;--drawing-batten: #956008;--drawing-wall: #7d8da1;--drawing-text: #2e526e;--hh-bg: #fff;--hh-surface: #fff;--hh-text: #152b42;--hh-muted: #56687a;--hh-border: #dce4ee;--hh-soft: #edf3fb;--hh-primary: #185ac3}}.drawing-scroll{width:100%;aspect-ratio:900/720;overflow:auto;overscroll-behavior:contain}.roof-svg{max-width:none;margin-inline:auto}.zoom-controls{position:static;transform:none;width:max-content;margin:4px auto 12px}@media print{.drawing-scroll{aspect-ratio:auto;overflow:visible}.roof-svg{width:100%!important}}:root{--drawing-valley: #bc6262}:root[data-theme=dark]{--drawing-valley: #ee9b90}.shape-selector{margin:0 0 24px}.shape-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}.shape-buttons button{border:1px solid var(--hh-border);border-radius:6px;background:var(--hh-bg);color:var(--hh-muted);min-height:60px;padding:6px 4px;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}.shape-buttons button>span:first-child{font-family:var(--hh-font-mono);font-size:20px;line-height:1.2}.shape-buttons button>span:last-child{font-size:11px;line-height:1.5}.shape-buttons button[aria-pressed=true]{background:var(--hh-soft);border-color:var(--hh-primary);color:var(--hh-primary);font-weight:700}.phase-one-note{font-size:11px;color:var(--hh-primary);padding:10px;background:var(--hh-soft);border-radius:6px;margin:0 0 14px}.plan-diagram{background:var(--hh-bg);border:1px solid var(--hh-border);border-radius:7px;margin-bottom:9px}.notch-side-control{border:0;padding:0;margin:0 0 16px;min-width:0}.notch-side-control legend{font-size:15px;font-weight:600;color:var(--hh-text);margin-bottom:8px}.notch-side-control>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.notch-side-control button{min-width:0;min-height:46px;white-space:normal;font-size:15px;line-height:1.4}.notch-side-control button[aria-pressed=true]{color:var(--hh-primary);background:var(--hh-soft);border-color:var(--hh-primary);font-weight:700}.plan-diagram svg{display:block;width:100%;max-height:210px}.plan-diagram polygon{fill:var(--hh-soft);stroke:var(--hh-primary);stroke-width:1.6}.plan-diagram text{fill:var(--hh-primary);font:12px var(--hh-font-mono)}.footprint-controls>.field-hint{margin-bottom:16px}.drawing-legend .legend-valley{background:var(--drawing-valley)}.roof-face{cursor:pointer;outline:none}.roof-face:focus-visible polygon{stroke:var(--hh-focus);stroke-width:3}.roof-face:hover polygon{fill-opacity:.25}.section-cut line{stroke:var(--drawing-valley);stroke-width:1;stroke-dasharray:9 5}.section-cut text{fill:var(--drawing-valley)}.section-position{display:flex;align-items:center;gap:12px;padding:10px 18px;border-top:1px solid var(--hh-border);font-size:11px;color:var(--hh-muted)}.section-position span{min-width:0}.section-position input{flex:1;min-width:50px;min-height:44px;accent-color:var(--drawing-valley)}.face-takeoff{margin-top:18px}.face-takeoff .panel-heading h3{font-size:14px;margin:0}.face-help{padding:0 18px;margin:12px 0}.face-table{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 18px 14px}.face-table button{border:1px solid var(--hh-border);border-radius:6px;background:var(--hh-bg);color:var(--hh-text);font-size:11px;display:grid;grid-template-columns:auto 1fr;gap:3px 8px;min-height:52px;padding:8px 10px;text-align:left}.face-table button strong{grid-row:span 2;align-self:center;color:var(--hh-primary)}.face-table button span{display:block;text-align:right}.face-table button[aria-pressed=true]{border-color:var(--hh-primary);background:var(--hh-soft)}.face-detail{display:flex;flex-wrap:wrap;gap:8px 16px;border-block:1px solid var(--hh-border);background:var(--hh-soft);padding:12px 18px;font-size:11px;color:var(--hh-muted)}.face-detail>strong{color:var(--hh-primary)}@media(max-width:767px){.shape-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shape-buttons button{min-height:72px}.shape-buttons button>span:last-child{font-size:15px}.phase-one-note,.footprint-controls .field-hint{font-size:14px}.section-position{font-size:14px;padding-inline:12px;flex-wrap:wrap;gap:2px}.section-position>span{width:100%}.section-position input{width:100%}.face-takeoff .panel-heading h3{font-size:19px}.face-table{grid-template-columns:1fr;padding-inline:16px}.face-table button{font-size:15px;min-height:56px;grid-template-columns:40px 1fr 1fr;align-items:center}.face-table button strong{grid-row:1}.face-detail,.face-help{font-size:14px}}@media print{.shape-selector,.section-position{display:none!important}.face-takeoff{break-inside:avoid}.face-table button{-webkit-print-color-adjust:exact;print-color-adjust:exact}}html{scroll-padding-top:170px}.hh-brand{min-height:44px}.hh-header{position:sticky;top:0;z-index:50;box-shadow:0 2px 12px #102d430a}.small-heading,.stock-box .small-heading,.ecosystem>.small-heading{font-size:13px;font-weight:600;color:var(--hh-text);letter-spacing:.06em}.preset strong{font-size:16px;font-weight:700}.preset small{font-size:13px;line-height:1.5}.preset>span{min-width:0}.boq-section h3{font-weight:600;color:var(--hh-text)}.boq-section h3>span:first-child{font-size:13px;font-weight:600;color:var(--hh-text)}.boq-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:4px 12px;padding-block:11px;line-height:1.5}.boq-row>span{font-size:15px;font-weight:500;color:var(--hh-text)}.boq-row>strong{min-width:0;max-width:none;font-size:20px;font-weight:700;line-height:1.35}.boq-row strong>small{font-size:13px;font-weight:600}.boq-note{grid-column:1 / -1;color:var(--hh-muted);font-size:13px;line-height:1.6}.compact-metrics strong{font-size:20px;font-weight:700;overflow-wrap:anywhere}.compact-metrics span{font-size:13px;color:var(--hh-text)}.drawing-metrics strong{font-weight:700}.roof-svg .drawing-label text{stroke:none}.roof-svg .label-backed text{fill:#152b42}.roof-svg .drawing-label-background{fill:#ffffffd9;stroke:none}.roof-svg .diagram-note text,.roof-svg .detail-heading text,.roof-svg .detail-value text{fill:var(--hh-text)}.roof-svg .detail-heading text{font-family:var(--hh-font);letter-spacing:0}.drawing-scroll{aspect-ratio:auto}@media(min-width:768px){.boq-section h3{font-size:15px}}@media(max-width:767px){.small-heading{font-size:15px}.stock-box .small-heading,.ecosystem>.small-heading{font-size:13px}.compact-metrics strong{font-size:22px}.compact-metrics span{font-size:14px}}@media print{.hh-header{position:static;box-shadow:none}.roof-svg .label-backed text{fill:#152b42}}:root{color-scheme:light;--hh-bg: #f6f8fc;--hh-surface: #ffffff;--hh-text: #152b42;--hh-muted: #56687a;--hh-border: #dce4ee;--hh-navy: #102d43;--hh-primary: #185ac3;--hh-soft: #edf3fb;--hh-gold: #f8c154;--hh-shadow: 0 8px 30px #12345808;--hh-danger: #b91c1c;--hh-focus: #185ac3;--hh-button-foreground: #ffffff;--hh-font: Inter, "Segoe UI", Arial, sans-serif;--hh-font-mono: Consolas, "SFMono-Regular", monospace;--hh-radius-sm: 7px;--hh-radius-button: 8px;--hh-radius-card: 12px;--hh-radius-feature: 16px;--hh-content-width: 1200px;--hh-space-1: 4px;--hh-space-2: 8px;--hh-space-3: 12px;--hh-space-4: 16px;--hh-space-5: 20px;--hh-space-6: 24px;--hh-space-8: 32px}:root[data-theme=dark]{color-scheme:dark;--hh-bg: #0c1724;--hh-surface: #142337;--hh-text: #eff5ff;--hh-muted: #acbfd5;--hh-border: #30445d;--hh-navy: #0b1928;--hh-primary: #8fbbff;--hh-soft: #1b3049;--hh-shadow: none;--hh-danger: #fda4af;--hh-focus: #8fbbff;--hh-button-foreground: #102b43}@media(prefers-color-scheme:dark){:root:not([data-theme=light]):not([data-theme=dark]){color-scheme:dark;--hh-bg: #0c1724;--hh-surface: #142337;--hh-text: #eff5ff;--hh-muted: #acbfd5;--hh-border: #30445d;--hh-navy: #0b1928;--hh-primary: #8fbbff;--hh-soft: #1b3049;--hh-shadow: none;--hh-danger: #fda4af;--hh-focus: #8fbbff;--hh-button-foreground: #102b43}}*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth;font-size:16px}body{margin:0;min-width:280px;background:var(--hh-bg);color:var(--hh-text);font-family:var(--hh-font);font-size:1rem;line-height:1.6}a{color:var(--hh-primary);text-underline-offset:3px}button,input,select,textarea{font:inherit}button{cursor:pointer}:focus-visible{outline:3px solid var(--hh-focus);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.02em;line-height:1.25}h1{font-size:clamp(1.85rem,2.8vw,2.4rem)}h2{font-size:clamp(1.25rem,2vw,1.5rem)}h3{font-size:1.2rem}.hh-container{width:min(var(--hh-content-width),calc(100% - 32px));margin-inline:auto}.hh-skip{position:fixed;inset:-100px auto auto 12px;padding:10px 14px;border-radius:6px;background:var(--hh-gold);color:#102d43;z-index:1000}.hh-skip:focus{top:12px}.hh-header{background:var(--hh-surface);border-bottom:1px solid var(--hh-border)}.hh-header-inner{display:flex;gap:16px;min-height:78px;justify-content:space-between;align-items:center}.hh-brand{display:flex;align-items:center;gap:12px;min-width:0;color:inherit;text-decoration:none;border-radius:10px}.hh-brand:hover .hh-brand-text strong{color:var(--hh-primary)}.hh-brand-mark{display:grid;place-items:center;position:relative;width:40px;height:40px;flex:none;border-radius:10px;background:var(--hh-text);color:var(--hh-surface);font-size:.85rem;font-weight:750}.hh-brand-mark:after{content:"";position:absolute;width:8px;height:8px;top:4px;right:4px;border-radius:2px;background:var(--hh-gold)}.hh-brand-text{display:flex;flex-direction:column;min-width:0}.hh-brand-text strong{line-height:1.2;font-size:1.1rem}.hh-brand-text small{color:var(--hh-muted);font-size:.75rem;margin-top:3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hh-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.hh-theme-toggle{display:flex;gap:2px;align-items:center}.hh-icon-button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid transparent;border-radius:var(--hh-radius-button);background:transparent;color:var(--hh-muted);font-size:1.2rem}.hh-icon-button:hover,.hh-icon-button[aria-pressed=true]{background:var(--hh-soft);border-color:var(--hh-border);color:var(--hh-primary)}.hh-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--hh-border);border-radius:var(--hh-radius-button);padding:8px 15px;background:var(--hh-surface);color:var(--hh-text);font-size:.9375rem;font-weight:650;text-decoration:none}.hh-btn:hover{filter:brightness(.97)}.hh-btn-primary{background:var(--hh-primary);border-color:var(--hh-primary);color:var(--hh-button-foreground)}.hh-btn-muted{background:var(--hh-bg)}.hh-main{min-height:min(70vh,720px);padding-top:28px;padding-bottom:40px}.hh-hero{margin:0 0 26px}.hh-eyebrow{text-transform:uppercase;color:var(--hh-primary);font-weight:700;font-size:.75rem;letter-spacing:.12em}.hh-hero h1{margin:8px 0 12px}.hh-hero p{max-width:740px;color:var(--hh-muted);margin:0}.hh-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:18px}.hh-card{min-width:0;border-radius:var(--hh-radius-card);background:var(--hh-surface);border:1px solid var(--hh-border);padding:24px;box-shadow:var(--hh-shadow)}.hh-card h2{margin:0 0 12px}.hh-muted{color:var(--hh-muted)}.hh-caption{font-size:.875rem;color:var(--hh-muted)}.hh-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.hh-field{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:.9rem}.hh-field input{width:100%;min-width:0;min-height:46px;border:1px solid var(--hh-border);background:var(--hh-bg);border-radius:var(--hh-radius-sm);padding:10px 12px;color:var(--hh-text)}.hh-field input:focus{border-color:var(--hh-primary)}.hh-actions{display:flex;gap:12px;margin-top:18px}.hh-result{background:var(--hh-soft)}.hh-result-label{color:var(--hh-muted);font-size:.9rem;font-weight:600;margin-top:20px}.hh-result-number{font-family:var(--hh-font-mono);font-size:clamp(2rem,4vw,3rem);font-weight:700;line-height:1.25;overflow-wrap:anywhere;color:var(--hh-primary);margin:10px 0 24px}.hh-result-number span{font-family:var(--hh-font);font-size:1.2rem}.hh-error{color:var(--hh-danger);font-weight:600;font-size:.875rem}.hh-guide{margin-top:20px;padding:4px 0;max-width:820px}.hh-guide h2{margin-bottom:8px}.hh-guide p{margin-bottom:10px}.hh-footer{background:var(--hh-surface);border-top:1px solid var(--hh-border);color:var(--hh-muted);font-size:.85rem}.hh-footer-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-block:22px}@media(max-width:800px){.hh-workspace{grid-template-columns:1fr}}@media(max-width:640px){.hh-header-inner{padding-block:12px;align-items:stretch;flex-direction:column;min-height:0}.hh-brand-text strong{font-size:1.05rem}.hh-header-actions{justify-content:space-between;gap:6px}.hh-main{padding-top:24px}.hh-card{padding:18px}.hh-field-grid{grid-template-columns:1fr;gap:12px}.hh-footer-inner{flex-direction:column;gap:8px}}@media(min-width:361px)and (max-width:640px){.hh-header-actions{justify-content:flex-end;gap:6px}.hh-lang{font-size:.84rem;padding-inline:10px}}@media(max-width:360px){.hh-brand-mark{width:34px;height:34px;border-radius:8px}.hh-lang{padding-inline:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}@media(max-width:767px){body{font-size:16px;line-height:1.6}h1,.hh-hero h1{font-size:clamp(28px,6vw,32px);line-height:1.2}h2,.hh-card h2{font-size:21px;line-height:1.3}h3{font-size:18px}.hh-hero p,.hh-guide p{font-size:16px}.hh-field,.hh-result-label{font-size:15px;line-height:1.5}.hh-field input,select,textarea{font-size:17px;min-height:46px}.hh-btn{font-size:15px;min-height:44px}.hh-caption{font-size:14px;line-height:1.6}.hh-eyebrow,.hh-brand-text small{font-size:13px;letter-spacing:.08em}.hh-card,.hh-field-grid>*{min-width:0}}
