/* Field instrument: clear measurements, visible decisions, reachable navigation. */
:root{--ink:#24384b;--muted:#526677;--line:#cedbe4;--blue:#23677f;background:#eef3f7;color:var(--ink);color-scheme:light}
body{background:#eef3f7}
header{padding:15px max(24px,calc((100vw - 1200px)/2));gap:24px;border-bottom:1px solid var(--line)}
.brand img{width:118px}.header-title{font-family:Rubik,Arial,sans-serif;font-weight:500;padding-left:24px}.header-note{font-size:.875rem}
.shell{max-width:1248px;padding:26px 24px 20px}.title-row{margin-bottom:22px;gap:18px}
h1{font-size:2rem;letter-spacing:-.8px;margin:0 0 6px}h2{font-size:1.375rem;letter-spacing:-.35px}h3{font-size:1.125rem}
.intro{font-size:1rem}.basis{border-left:3px solid #40a6bd;padding:7px 16px;background:transparent;min-width:190px;gap:4px}.basis>span{font-size:.75rem;font-weight:700;letter-spacing:.7px}.basis strong{font-size:1.65rem}.basis small{font-family:Roboto,Arial,sans-serif;font-size:.875rem;font-weight:400}
#navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:5px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 2px 5px #24384b05;margin:0 0 16px;overflow:visible;position:sticky;top:8px;z-index:15}
#navigation button{display:flex;justify-content:center;align-items:center;gap:9px;border:0;border-radius:8px;min-height:52px;padding:10px 8px;font-size:.9375rem;color:#526677;white-space:normal;text-align:center}
#navigation button.active{color:#fff;background:#24384b;font-weight:700;box-shadow:inset 0 -3px #61c3da}
#navigation button:hover:not(.active){background:#eef5f8;color:#24384b}
#navigation svg{width:23px;height:23px;flex:none}.nav-short{display:none}
.field-tools{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;min-height:48px;gap:12px}.field-actions{display:flex;gap:10px}.system-context{display:flex;align-items:baseline;gap:12px;min-width:0}.system-context>span{font-size:.875rem;color:var(--muted)}.system-context strong{font-size:1rem;font-variant-numeric:tabular-nums}.system-context small{font-size:.875rem;font-weight:400}
.btn{border-radius:7px;min-height:46px;line-height:1.35;padding:11px 16px;border-color:#bbcdd9;transition:background-color .12s}.btn:hover{background:#edf4f8}.btn.primary{background:#24384b;color:#fff}.btn.primary:hover{background:#34556b}.btn.small{min-height:44px;font-size:.875rem;padding:10px 12px}.field-actions [data-action=summary]{background:#24384b;color:white;border-color:#24384b}.field-actions [data-action=reset]{background:transparent}
main{scroll-margin-top:86px}.card{border:1px solid #cedbe4;box-shadow:0 2px 4px #233a4e04;border-radius:12px;padding:24px;margin-bottom:22px}.card-top{gap:16px;margin-bottom:20px}.card-top p{font-size:.9375rem;line-height:1.45}.grid{gap:22px}.step-heading{margin-top:28px}.step-heading+.help{margin:8px 0 18px}
.step-number{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-right:7px;width:28px;height:28px;border-radius:7px;background:#e8f2f6;color:#216a82;font:700 .9375rem Roboto,Arial,sans-serif}
.flow-card{border-top:3px solid #4aa7be}.flow-card .flow-bar{grid-template-columns:minmax(0,1fr) minmax(180px,.42fr);gap:26px}.flow-total{padding:8px 0 8px 24px;border-left:1px solid var(--line)}.flow-total .help{margin:5px 0 0}.big-number{font-size:2.5rem;line-height:1.15}.big-number span{font-size:1rem}.cap-line{display:flex;flex-wrap:wrap;gap:4px 6px;line-height:1.55;font-size:.875rem;margin-top:18px;padding-top:14px}
label{font-size:.875rem;line-height:1.45;gap:7px;font-weight:700}.fields{gap:16px}input,select{min-height:52px;border:1px solid #afc3d1;border-radius:7px;padding:11px 12px;background:#f8fbfd;font-size:1rem;color:#20384c}input{font-size:1.125rem;font-weight:500}input::placeholder{color:#728694;font-size:1rem;font-weight:400;opacity:1}input:hover,select:hover{border-color:#7896aa}input:focus,select:focus{background:#fff;border-color:#247c99;outline:3px solid #6cbbd84d;outline-offset:1px}input[aria-invalid=true]{background:#fff0ee;border-color:#a33331}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #28829e;outline-offset:3px}
.duct-card .card-top{display:block}.duct-card .tag{display:inline-block;margin-top:12px;border:1px solid #b5d6df;border-radius:5px;background:#f0f8fa;padding:4px 8px;font-size:.8125rem;color:#245b6d}.measurement-label{font-size:.875rem;padding-left:10px;border-left:2px solid #a3c7d5;line-height:1.5;margin-top:12px}
.result{margin:20px -24px -24px;padding:22px 24px;background:#f1f5f8;border-radius:0 0 11px 11px;border-top:1px solid #cbdbe4}.result.good{background:#edf7f0;border-top:3px solid #32845c}.result.warn{background:#fff8e8;border-top:3px solid #b78619}.result.bad{background:#fff0ee;border-top:3px solid #b44a43}.result-line{gap:12px;flex-wrap:wrap}.badge{font-size:.875rem;line-height:1.45;border-radius:5px;padding:5px 9px}.badge.green{background:#d8ecdf;color:#175535}.badge.yellow{background:#ffe8b1;color:#704c00}.badge.red{background:#f7d5d0;color:#852d28}.badge.neutral{background:#e3ebf0;color:#455e70}.badge.green:before{content:'✓';margin-right:6px}.badge.yellow:before,.badge.red:before{content:'!';display:inline-block;margin-right:6px;font-weight:900}.subresult{font-size:.9375rem;line-height:1.5}.action-line{font-size:1rem;line-height:1.5;margin-top:12px}
details{border-color:#d6e1e8}summary,.card summary{display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;min-height:48px;line-height:1.45;font-size:.9375rem;margin:0;padding:11px 0;color:#2a536a}summary::-webkit-details-marker{display:none}summary:after{content:'+';font-family:Arial,sans-serif;font-size:1.375rem;font-weight:400;flex:none;width:24px;text-align:center}details[open]>summary:after{content:'−'}details[open]>summary{margin-bottom:12px}.card details{margin-top:14px;padding-top:4px}.compact-details{padding:0 18px;background:#e6eef4;border:1px solid #cfdee7;border-radius:8px;margin:18px 0 24px}.compact-details[open]{padding-bottom:16px}.card .result+details{padding-top:12px;margin-top:24px}
.field-summary{background:#e8f0f5;border:1px solid #c9dce7;border-left:4px solid #438eaa;border-radius:9px;padding:18px 20px;margin-bottom:0}.field-summary h3{font-size:1rem}.finding-list{gap:9px}.finding-list .badge{font-size:.875rem}.field-summary .help{margin-top:12px}
.check-list{gap:10px}.check{padding:13px 14px;border:1px solid #d5e1e8;border-radius:8px;min-height:52px;line-height:1.5;font-size:.9375rem;background:#f9fbfc}.check:has(input:checked){border-color:#73aabe;background:#eaf5f9}.check input{flex:none;width:22px;height:22px;min-height:22px;margin-top:0;accent-color:#236e87}
.room .room-head{padding-bottom:18px;border-bottom:1px solid #d6e1e8;margin-bottom:20px}.room-head>label{flex:1}.room-head input{max-width:none;font-family:Rubik,Arial,sans-serif;font-size:1.125rem}.room-output-grid{gap:14px}.room-output-grid>div{background:#f2f7fa;border:1px solid #d6e3eb;border-radius:9px;padding:17px}.room-output h4{font-size:.875rem;font-weight:700;line-height:1.45;margin-bottom:12px}.room-output-grid>div>strong{display:block;font-family:Rubik,Arial,sans-serif;font-size:1.4rem}.room-output p{font-size:.9375rem;line-height:1.5}.room-output .btn{width:100%;margin-top:14px}.room-output a{display:inline-block;line-height:1.5;margin-top:8px}
.section-intro{align-items:center;margin:6px 0 22px}.section-intro p{margin-bottom:0;line-height:1.5}.supply-row{padding:18px 0}.supply-row h3{color:#31536a}.metric-row{gap:18px}.metric strong{font-family:Rubik,Arial,sans-serif;font-size:1.55rem}.metric span{display:block;font-size:.875rem;line-height:1.45;margin-top:5px}.return-result{border-left:4px solid #3b8faa}.return-result>p,.return-result .help{line-height:1.5}
.table-scroll{border-radius:8px}.table-scroll table{font-size:.9375rem}.table-scroll th{background:#eaf2f7}.table-scroll th,.table-scroll td{padding:14px 16px}.table-scroll tbody tr:hover{background:#f1f7fa}.product-grid{gap:20px}.product-tile{border:1px solid #d6e3eb;border-radius:9px;padding:18px;background:#f8fbfd}.product-tile img{border-radius:6px}.product-tile p,.reference-grid article p,.image-card figcaption p{font-size:1rem;line-height:1.55}.reference-grid{gap:24px}.reference-grid article{padding:20px;border:1px solid #d5e1e9;border-radius:9px;background:#f8fbfd}.reference-grid article h3{font-size:1.125rem;line-height:1.45}.image-card{padding:0}.image-card figcaption{padding:22px}.help{font-size:.875rem;line-height:1.5}.image-card .help,.product-tile .photo-credit{font-size:.875rem}.resource-buttons a{line-height:1.4}.inline-result{border-radius:7px}
footer{font-size:.8125rem;line-height:1.5;margin-top:30px}dialog{border-radius:12px;box-shadow:0 16px 60px #102e4633;padding:24px}dialog textarea{font-size:1rem;line-height:1.55;border-radius:8px;background:#f8fbfd}dialog .help{font-size:.875rem}dialog::backdrop{background:#172f46aa}
@media(max-width:1000px) and (min-width:701px){#navigation button{flex-direction:column;gap:5px;font-size:.875rem}.system-context{gap:8px}main{scroll-margin-top:110px}.room-output-grid{grid-template-columns:1fr}}
@media(max-width:700px){
 header{padding:12px 16px;gap:16px}.brand img{width:104px}.header-title{font-size:1rem;padding-left:16px}.header-note{display:none}
 .shell{padding:20px 14px calc(96px + env(safe-area-inset-bottom))}.title-row{margin-bottom:16px}.title-row h1{font-size:1.5rem;letter-spacing:-.5px}.intro{font-size:.875rem}.basis{display:none}
 #navigation{position:fixed;left:0;right:0;bottom:0;top:auto;margin:0;border-radius:0;border:0;border-top:1px solid #bdcfdb;box-shadow:0 -4px 20px #21394d12;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:5px 5px calc(5px + env(safe-area-inset-bottom));background:#fff;z-index:30}
 #navigation button,#navigation button:last-child:nth-child(odd){grid-column:auto;display:flex;flex-direction:column;gap:3px;min-height:60px;padding:6px 0;font-size:.875rem;line-height:1.25;border-radius:7px;text-align:center;min-width:0}
 #navigation button.active{color:#214f65;background:#e4f3f8;box-shadow:inset 0 3px #3c95b1}#navigation svg{width:23px;height:23px}.nav-label{display:none}.nav-short{display:inline}
 .field-tools{margin-bottom:16px;align-items:center}.system-context{display:block}.system-context>span{display:block;font-size:.75rem;margin-bottom:2px}.system-context strong{font-size:.875rem}.system-context small{font-size:.75rem}.field-actions{gap:6px}.field-actions .btn{padding:9px 10px;font-size:.875rem}.field-actions [data-action=reset]{max-width:85px}.field-actions [data-action=summary]{max-width:90px}
 main{scroll-margin-top:12px}.card{padding:18px;border-radius:10px;margin-bottom:18px}.card-top{margin-bottom:16px;gap:10px}h2{font-size:1.25rem;line-height:1.4}.step-number{width:25px;height:25px;font-size:.875rem;margin-right:5px}.step-heading{margin-top:24px}.step-heading+.help{margin-bottom:14px}.grid,.guide-grid{grid-template-columns:1fr;gap:18px}
 .flow-card .flow-bar{grid-template-columns:1fr;gap:14px}.flow-card .flow-total{padding:14px 0 0;border-left:0;border-top:1px solid #d5e1e8;display:flex;align-items:center;justify-content:space-between;gap:16px}.flow-total .help{max-width:145px;text-align:right;margin:0}.big-number{font-size:2.125rem}.cap-line{margin-top:14px;padding-top:12px;font-size:.8125rem;gap:3px 5px}.flow-card .card-top p{font-size:.875rem}
 input,select{min-height:52px}.fields{gap:12px}.flow-card .fields>label:has(select){grid-column:auto}.fields.four{grid-template-columns:1fr 1fr}.fields.three>label:nth-child(3){grid-column:1/-1}.card details .fields.three{grid-template-columns:1fr}.card details .fields.three>label:nth-child(3){grid-column:auto}
 .duct-card .card-top{display:block}.duct-card .tag{font-size:.8125rem;margin-top:10px}.result{margin:18px -18px -18px;padding:18px;border-radius:0 0 9px 9px}.result-line{align-items:center}.result-line .badge{font-size:.875rem}.subresult{font-size:.875rem}.action-line{font-size:.9375rem}.card .result+details{margin-top:22px}.measurement-label{font-size:.8125rem}
 .field-summary{padding:16px}.finding-list{display:grid;gap:8px}.finding-list .badge{display:block;font-size:.875rem}.compact-details{padding-left:14px;padding-right:14px}.filter-reading{grid-template-columns:1fr}.check-list{grid-template-columns:1fr}.check{font-size:.9375rem}
 .section-intro{flex-direction:row;flex-wrap:wrap;gap:14px;align-items:flex-start;margin-top:0}.section-intro>.btn{width:100%}.room .room-head{gap:10px}.room-head .btn{padding:10px}.room-output-grid{grid-template-columns:1fr;gap:12px}.room-output-grid>div{padding:16px}.room-output-grid>div>strong{font-size:1.5rem}.room-output a{min-height:32px;padding-top:4px}
 .metric-row{grid-template-columns:1fr 1fr;gap:16px}.metric:last-child{grid-column:1/-1}.metric strong{font-size:1.5rem}.metric span{font-size:.875rem}.product-grid{grid-template-columns:1fr}.product-tile{display:block;padding:16px}.product-tile img{height:190px}.reference-grid{grid-template-columns:1fr}.reference-grid article{padding:16px}.image-card{padding:0}.image-card figcaption{padding:18px}.split-grid{grid-template-columns:1fr}.velocity-bars{gap:10px}.velocity-bars>div{padding:12px}.velocity-bars strong{font-size:1.375rem}.image-key{font-size:.8125rem}
 footer{font-size:.8125rem;margin-top:22px;padding-top:20px}dialog{padding:18px;max-height:85dvh}dialog .card-top h2{font-size:1.25rem}dialog textarea{height:38dvh}dialog [data-action=copy-summary]{width:100%}
}
@media(max-width:700px){.table-scroll:before{content:'Swipe to see all columns →';display:block;position:sticky;left:0;background:#eaf2f7;padding:9px 12px;font-size:.8125rem;color:#36596f}.field-actions [data-action=reset]{border-color:transparent;color:#526677}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{#navigation,.field-tools{display:none}main{scroll-margin-top:0}.shell{padding:0}.card{box-shadow:none}.result{print-color-adjust:exact}}
