.ahu-builder{--rb-ink:#1b334a;--rb-muted:#546a7d;--rb-line:#d4dfe8;--rb-blue:#165b91;--rb-soft:#edf4f8;max-width:1440px;margin:0 auto;padding:22px 28px 80px;color:var(--text-color,var(--rb-ink));font-family:inherit;line-height:1.55;box-sizing:border-box}
.ahu-builder *{box-sizing:border-box}.ahu-builder [hidden]{display:none!important}.ahu-builder h1,.ahu-builder h2,.ahu-builder h3,.ahu-builder p{margin-top:0}.ahu-builder h1{font-size:clamp(2rem,3.2vw,3.3rem);line-height:1.13;letter-spacing:-.035em;margin-bottom:18px;color:inherit}.ahu-builder h2{font-size:1.28rem;line-height:1.3;display:flex;align-items:center;gap:10px;margin-bottom:18px}.ahu-builder h3{font-size:1.06rem;line-height:1.35;margin-bottom:12px}.ahu-builder button,.ahu-builder input,.ahu-builder textarea,.ahu-builder select{font:inherit}.ahu-builder button,.ahu-builder .rb-steps a{border:1px solid var(--rb-line);background:var(--card-bg,#fff);color:inherit;border-radius:8px;min-height:44px;padding:9px 14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.3;text-decoration:none}.ahu-builder button:hover,.ahu-builder .rb-steps a:hover{border-color:#397aa9;background:var(--rb-soft)}.ahu-builder button:focus-visible,.ahu-builder a:focus-visible,.ahu-builder input:focus-visible,.ahu-builder select:focus-visible,.ahu-builder textarea:focus-visible,.ahu-builder summary:focus-visible{outline:3px solid #69a8d1;outline-offset:3px}.ahu-builder button:disabled{opacity:.35;cursor:default}.ahu-builder button.rb-primary{background:#185a89;border-color:#185a89;color:#fff}.ahu-builder button.rb-primary:hover{background:#0d426b}.ahu-builder button.rb-subtle{border-color:transparent;background:transparent;color:var(--rb-muted)}.ahu-builder .rb-small{font-size:.86rem}.ahu-builder .material-symbols-outlined{font-size:24px;font-weight:200;line-height:1;flex:none}.rb-breadcrumb{font-size:.9rem;margin-bottom:30px}.rb-breadcrumb a{color:var(--rb-muted);text-decoration:none}.rb-breadcrumb a:hover{text-decoration:underline}.rb-eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.16em;color:var(--rb-blue);margin-bottom:12px}.rb-intro{max-width:850px;margin-bottom:25px}.rb-intro>p:last-child{font-size:1.09rem;color:var(--rb-muted);max-width:740px}.rb-local-note{display:flex;gap:10px;align-items:flex-start;font-size:.88rem;color:var(--rb-muted);padding:14px 16px;background:var(--rb-soft);border-radius:10px;margin:0 0 24px}.rb-toolbar{display:flex;gap:16px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}.rb-project-select{display:grid;gap:5px;min-width:220px;flex:1;max-width:440px;font-size:.8rem;font-weight:600}.rb-project-select select{min-height:45px;border:1px solid var(--rb-line);border-radius:8px;padding:9px 12px;background:var(--card-bg,#fff);color:inherit;max-width:100%;font-size:.95rem}.rb-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rb-status{min-height:27px;font-size:.8rem;color:var(--rb-muted);margin:7px 0 15px}.rb-error{color:#aa332e!important}.rb-card{border:1px solid var(--rb-line);border-radius:14px;padding:24px;background:var(--card-bg,#fff);margin-bottom:24px}.rb-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}.rb-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-project-grid .rb-field:last-child{grid-column:1/-1}.rb-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:.86rem;font-weight:600}.rb-field>span{line-height:1.3}.rb-field input,.rb-field select,.rb-field textarea{width:100%;min-width:0;min-height:44px;padding:10px 12px;background:var(--input-bg,#fff);border:1px solid var(--rb-line);border-radius:7px;color:inherit;font-weight:400}.rb-field input:invalid{border-color:#b64e47}.rb-field textarea{resize:vertical}.rb-unit-label{font-size:.8rem;color:var(--rb-muted);font-weight:400}.rb-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.rb-section-heading h2{margin-bottom:0}.rb-units{margin:30px 0 24px}.rb-unit-tabs{display:flex;gap:10px;overflow:auto;max-width:100%;padding:0 0 9px}.ahu-builder .rb-unit-tab{flex-direction:column;align-items:flex-start;min-width:165px;max-width:260px;flex-shrink:0;padding:13px 16px}.rb-unit-tab strong{font-size:1rem;overflow-wrap:anywhere}.rb-unit-tab>span{font-size:.8rem;color:var(--rb-muted)}.ahu-builder .rb-unit-tab.is-active{border:2px solid var(--rb-blue);background:var(--rb-soft)}.rb-steps{display:flex;gap:9px;margin:8px 0 22px}.rb-steps a{flex:1;font-size:.9rem;font-weight:600}.rb-air-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin-top:24px}.rb-stream-fields{border:1px solid var(--rb-line);border-radius:10px;padding:16px;min-width:0}.rb-stream-fields legend{padding:0 6px;font-size:.91rem;font-weight:600}.rb-stream-fields.rb-supply legend{color:#1a659a}.rb-stream-fields.rb-extract legend{color:#9d5a31}.rb-stream-fields .rb-fields{gap:12px}.rb-conditions{margin-top:22px;border-top:1px solid var(--rb-line);padding-top:17px}.rb-conditions summary{cursor:pointer;font-size:.92rem;font-weight:600}.rb-conditions[open] summary{margin-bottom:18px}.rb-conditions>.rb-field{margin-top:18px}.rb-explanation{font-size:.96rem;color:var(--rb-muted);max-width:780px;margin-bottom:20px}.rb-caption{font-size:.81rem;line-height:1.5;color:var(--rb-muted);margin-bottom:12px}.rb-assembly-layout{display:grid;grid-template-columns:minmax(310px,.85fr) minmax(360px,1.4fr);gap:22px;align-items:start}.rb-section-editor .rb-card{padding:19px}.rb-preview-column{position:sticky;top:96px}.rb-preview-card{border:1px solid var(--rb-line);border-radius:14px;background:var(--card-bg,#fff);padding:20px;overflow:hidden}.rb-preview-card h3{margin:0 0 14px}.rb-preview-stage{position:relative;width:100%;height:410px;min-width:0;border-radius:10px;background:linear-gradient(155deg,#e9eff4,#f5f7f9);overflow:hidden}.rb-preview-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;inset:0;padding:28px;text-align:center;color:#4d677e;z-index:1}.rb-preview-empty>.material-symbols-outlined{font-size:64px;margin-bottom:20px}.rb-preview-empty p{max-width:330px}#rb-canvas{position:absolute;inset:0;width:100%;height:100%;min-width:0}#rb-canvas canvas{display:block;width:100%;height:100%;outline:none}.rb-view-controls{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.ahu-builder .rb-view-controls button{font-size:.78rem;min-height:40px;padding:7px 10px}.ahu-builder .rb-view-controls button[aria-pressed=true]{background:#17578a;color:#fff}.rb-evidence{padding-top:13px;border-top:1px solid var(--rb-line);margin:14px 0 0}.rb-air-legend{display:flex;gap:8px 20px;flex-wrap:wrap;margin-top:15px;font-size:.82rem;font-weight:600}.rb-air-legend>.rb-supply{color:#1a659a}.rb-air-legend>.rb-extract{color:#9d5a31}.rb-recovery-control{padding-bottom:17px;margin-bottom:16px;border-bottom:1px solid var(--rb-line)}.rb-recovery-control p{margin:9px 0 0}.rb-route{margin-bottom:18px}.rb-route h3{display:flex;justify-content:space-between;color:#1a659a;font-size:.95rem}.rb-route.rb-extract h3{color:#9d5a31}.rb-route ol{padding:0;list-style:none;margin:0;display:grid;gap:5px}.rb-route li{display:flex;align-items:center;border:1px solid #dde5ec;border-radius:8px;min-width:0;padding:2px;background:var(--card-bg,#fff)}.rb-route li.is-selected{border-color:#3279ac;background:var(--rb-soft)}.rb-route li.is-hovered{box-shadow:0 0 0 2px #90b9d5}.ahu-builder .rb-section-select{border:0;background:transparent;flex:1;text-align:left;justify-content:flex-start;padding:7px 5px;font-size:.82rem;min-width:0}.rb-section-select>span:last-child{overflow-wrap:anywhere}.rb-section-number{display:inline-flex;border-radius:5px;align-items:center;justify-content:center;width:24px;height:26px;background:#edf2f6;flex:none;color:#436078;font-size:.77rem}.rb-section-tools{display:flex;flex:none;gap:0}.ahu-builder .rb-section-tools button{padding:0;width:29px;min-height:40px;border:0;background:transparent;font-size:1.1rem}.rb-add-section{border-top:1px solid var(--rb-line);padding-top:17px;display:grid;grid-template-columns:1fr;gap:10px}.rb-section-fields:empty{display:none}.rb-section-fields{grid-template-columns:1fr;margin-bottom:15px}.rb-open-items{border:1px solid #dec8a1;background:#fffbf2;border-radius:9px;padding:13px 16px;margin-bottom:18px;color:#675035}.rb-open-items summary{cursor:pointer;font-weight:600;font-size:.91rem}.rb-count{border-radius:20px;background:#eddfc3;padding:2px 8px;margin-left:5px}.rb-open-items ul{padding-left:19px;margin:14px 0 3px}.rb-open-items li{font-size:.86rem;margin:7px 0}.rb-issue-review{color:#735e48}.rb-valid{font-size:.9rem;color:#35674d;padding:13px 0}.ahu-builder #rb-draft{width:100%;resize:vertical;min-height:290px;border:1px solid var(--rb-line);border-radius:8px;font:inherit;font-size:.89rem;line-height:1.6;padding:17px;color:inherit;background:var(--input-bg,#f9fbfd);margin:0 0 13px}.rb-import summary{cursor:pointer;display:flex;gap:9px;align-items:center;font-weight:600}.rb-import[open] summary{margin-bottom:18px}.rb-import p{font-size:.9rem;color:var(--rb-muted)}.rb-import code{overflow-wrap:anywhere;white-space:normal;font-size:.82rem}.rb-import .rb-actions{margin-top:13px}.rb-import textarea{font-family:monospace;font-size:.82rem}.rb-import ul{padding-left:20px;max-height:230px;overflow:auto;font-size:.9rem}#rb-request{margin-top:25px}.rb-steps a,.ahu-builder section[id]{scroll-margin-top:110px}
@media(min-width:1550px){.rb-preview-stage{height:465px}}
@media(max-width:1100px){.ahu-builder{padding:22px 20px 60px}.rb-assembly-layout{grid-template-columns:minmax(280px,1fr) minmax(310px,1.1fr);gap:16px}.rb-preview-stage{height:350px}.rb-preview-card{padding:15px}.rb-section-editor .rb-card{padding:15px}.rb-section-tools button{width:25px!important}}
@media(max-width:850px){.rb-assembly-layout{grid-template-columns:1fr}.rb-preview-column{position:static;grid-row:1}.rb-preview-stage{height:360px}.rb-section-editor{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px;align-items:start}.rb-section-editor .rb-card{margin-bottom:0}.rb-air-fields{grid-template-columns:1fr}.rb-toolbar{align-items:stretch}.rb-toolbar>.rb-actions{width:100%}.rb-project-select{max-width:none}.rb-section-tools button{width:29px!important}}
@media(max-width:560px){.ahu-builder{padding:18px 12px 50px}.rb-card{padding:18px 14px;border-radius:11px}.rb-intro{margin-bottom:18px}.ahu-builder h1{font-size:2.02rem}.rb-breadcrumb{margin-bottom:22px}.rb-intro>p:last-child{font-size:1rem}.rb-fields,.rb-project-grid{grid-template-columns:1fr;gap:14px}.rb-project-grid .rb-field:last-child{grid-column:auto}.rb-stream-fields .rb-fields{grid-template-columns:1fr 1fr;gap:10px}.rb-section-heading{gap:12px}.rb-section-heading .rb-actions{width:100%}.rb-steps{gap:5px}.ahu-builder .rb-steps a{font-size:.78rem;padding:10px 5px;min-height:48px}.rb-section-editor{grid-template-columns:1fr}.rb-preview-stage{height:300px}.rb-preview-card{padding:12px}.rb-toolbar>.rb-actions>button{font-size:.82rem;flex:1}.rb-local-note{padding:12px;font-size:.82rem}.rb-field input,.rb-field select,.rb-field textarea{font-size:16px}.rb-view-controls{gap:5px}.ahu-builder .rb-view-controls button{min-height:42px}.rb-unit-tab{min-width:155px!important}.rb-air-legend{font-size:.8rem}.rb-open-items{padding:12px}.rb-import{margin-top:18px}.rb-import summary{font-size:.92rem}.rb-field{font-size:.83rem}}
@media(prefers-reduced-motion:reduce){.ahu-builder *{scroll-behavior:auto!important;transition:none!important}}
@media print{.site-header,.sidebar,.rb-toolbar,.rb-units,.rb-steps,#rb-performance,#rb-assembly,.rb-import,.rb-actions,#rb-validation,.rb-local-note,.rb-status{display:none!important}.ahu-builder{padding:0;max-width:none}.app-content{margin:0!important}.rb-card{border:0;padding:0}#rb-draft{height:auto;min-height:600px;border:0!important}}
