.airline-controls .flow-readout { margin-top: 8px; }
.flow-readout .mini-row { flex-wrap: wrap; align-items: baseline; gap: 2px 5px; white-space: normal; line-height: 1.25; }
.flow-readout .mini-row b, .flow-readout .mini-row #compactCompValue { color: #f5faff; font: 700 12px/1.25 Arial, sans-serif; margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.flow-readout .mini-track { margin: 3px 0 7px; height: 6px; }
.flow-status, .flow-note, .flow-component { display: block; }
.flow-status { font: 700 12px/1.35 Arial, sans-serif; color: #d7e6ee; }
.flow-status[data-state="under"] { color: #9ae8ba; }
.flow-status[data-state="over"] { color: #ffb09d; }
.flow-status[data-state="at"] { color: #a7e8f7; }
.flow-readout .flow-note, .flow-detail { margin: 4px 0 0; color: #c8dce6; font: 11px/1.4 Arial, sans-serif; }
.flow-readout .flow-detail { margin: 5px 0; color: #d6e5eb; }
.filter-element-ratings { display: grid; gap: 2px; margin-top: 7px; padding-top: 6px; border-top: 1px solid #436473; font: 12px/1.4 Arial, sans-serif; color: #dcf1f6; }
.flow-choice { margin-top: 7px; padding: 7px 9px; border-radius: 5px; border: 1px solid #9dddeb; background: #d3f2fa; color: #102d3d; font: 700 12px/1.25 Arial, sans-serif; cursor: pointer; }
.flow-choice:hover { background: #fff; }
.flow-choice:focus-visible { outline: 2px solid #ffdc80; outline-offset: 3px; }
.flow-readout [hidden], .flow-component[hidden], #outletPurity [hidden] { display: none; }
.flow-component { color: white; font-size: 12px; }
.flow-announcement { margin: 5px auto; max-width: 1100px; color: #b9eafb; font-size: 13px; }
.flow-announcement:empty { margin: 0; }
#outletPurity { grid-template-columns: auto 1fr auto; justify-content: stretch; }
#outletPurity .outlet-components { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 18px; border-top: 1px solid #476574; padding-top: 10px; }
.outlet-components > div { display: grid; align-content: start; gap: 3px; }
.outlet-components span, .outlet-components small { color: #c2d9e3; }
.outlet-components b { color: #a5effa; font-size: 18px; font-variant-numeric: tabular-nums; }
.outlet-components small { font-size: 12px; line-height: 1.35; }
#outletPurity.outlet-review #outletBasis { color: #ffdd91; }
#outletPurity .outlet-method { grid-column: 1/-1; color: #d4e7ee; font-size: 13px; }
.outlet-method summary { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
#outletPurity .outlet-method p { margin: 7px 0; max-width: 90ch; line-height: 1.45; }
.airline-stage #outletSymbol.element-values { font-size: 15px; }
.airline-stage #outletSymbolWater { font-size: 12px; fill: #d4e7ee; }
@media (max-width:650px) { #outletPurity { grid-template-columns: 1fr 1fr; } }
@media (max-width:480px) {
  #outletPurity .outlet-components { gap: 9px; }
  .outlet-components span, .outlet-components small { font-size: 12px; }
  .outlet-components b { font-size: 16px; }
}
@media (pointer: coarse) { .flow-choice { min-height: 44px; } }

#receiver-equipment { color:#e5f2f8; margin-bottom:18px; }
#receiver-equipment h2 { margin:0 0 15px; color:#fff; font-size:clamp(22px,2.3vw,30px); }
.receiver-grid { display:grid; grid-template-columns:1fr 1fr 1.2fr; gap:12px; }
.receiver-card { min-width:0; padding:16px 18px; border:1px solid #4b6c7b; border-radius:8px; background:#123343; }
#receiver-equipment h3 { font-size:18px; margin:0; color:#fff; font-weight:700; }
#receiver-equipment h3 label { font:inherit; color:inherit; }
#receiver-equipment p { color:#d0e1e8; font-size:13px; line-height:1.4; margin:8px 0; }
#receiver-equipment .receiver-location { margin:3px 0 14px; color:#a8c5d2; }
.receiver-volume { display:block; font-size:clamp(26px,2.6vw,38px); line-height:1.1; font-weight:750; color:#9fe9f7; font-variant-numeric:tabular-nums; }
#receiver-equipment .receiver-litres { margin:4px 0 14px; }
#receiver-equipment .receiver-litres:empty { margin:0; }
.separator-card .separator-image { float:right; width:58px; height:45px; object-fit:contain; margin:0 0 5px 8px; }
#receiver-equipment input:not([type=checkbox]), #receiver-equipment select { width:100%; box-sizing:border-box; border:1px solid #7093a4; background:#102d3c; color:#f4fbff; border-radius:5px; padding:7px 9px; font:inherit; }
#receiver-equipment input::placeholder { color:#bfdae4; opacity:1; }
#kwos-capacity { margin:10px 0; }
#kwos-capacity .mini-row { display:flex; justify-content:space-between; font-size:12px; }
#kwos-capacity .mini-track { border-radius:9px; overflow:hidden; background:#2d4d5c; }
#kwos-capacity .mini-track i { display:block; height:100%; }
#kwos-specs { color:#b9eff9; font-size:13px; text-decoration:underline; }
.receiver-settings { border-bottom:1px solid #456576; padding:10px 0; }
.receiver-settings summary { cursor:pointer; font-weight:650; font-size:14px; color:#e5f6ff; }
.receiver-inputs { display:flex; align-items:end; flex-wrap:wrap; gap:9px 16px; margin:11px 0; }
.receiver-inputs label { display:grid; gap:4px; font-size:13px; max-width:100%; }
.receiver-inputs input { max-width:195px; }
.receiver-inputs .receiver-check { display:flex; gap:7px; align-items:center; min-height:35px; }
.receiver-inputs input[type=checkbox] { width:17px; height:17px; margin:0; }
#receiver-equipment [hidden] { display:none; }
#receiver-equipment :focus-visible { outline:2px solid #ffda74; outline-offset:2px; }
@media(max-width:820px) { .receiver-grid { grid-template-columns:1fr 1fr; } .separator-card { grid-column:1/-1; } }
@media(max-width:540px) { .receiver-grid { grid-template-columns:1fr; } .receiver-card { padding:14px; } .receiver-inputs { align-items:stretch; flex-direction:column; } }

/* Reserve the right end of the line for the outlet readout. */
.compact-ready:not(.included-treatment) .airline-stage { min-width:1160px; max-width:1480px; }
.compact-ready:not(.included-treatment) .equipment-top,
.compact-ready:not(.included-treatment) .airline-controls .filter-line {
  grid-template-columns:190fr 132fr 185fr 172fr 202fr 178fr 175fr 138fr;
}
.compact-ready:not(.included-treatment) .equipment-top { padding-right:7.5%; }
.compact-ready:not(.included-treatment) .airline-controls .filter-line { width:92.5%; }
#systemAirline .station-hit { fill:none; stroke:none; pointer-events:all; }
#lineCompressorPhoto { width:100%; height:100%; }
#lineCompressorPhoto img { display:block; }
#systemAirline .equipment-station { cursor:pointer; }
#systemAirline .equipment-station:is(:hover,:focus-visible) .station-title {
  fill:#a6ebf5; text-decoration:underline; text-underline-offset:3px;
}
#systemAirline .equipment-station:focus-visible .station-title { fill:#ffda74; }
#systemAirline .station-off .station-art,#systemAirline .condensate-pipes.station-off { opacity:.24; }
#systemAirline .station-pending .station-art { opacity:.73; }
#systemAirline .station-title { font-size:15px; font-weight:700; }
#systemAirline .station-selection,#systemAirline .tank-station .line-sub { fill:#a6ebf5; font-size:13px; }
#systemAirline .condensate-pipes { stroke-dasharray:5 5; animation:condensate-flow .95s linear infinite; }
#systemAirline.drain-paused .condensate-pipes,#systemAirline .condensate-pipes.station-off { animation-play-state:paused; }
@keyframes condensate-flow { to { stroke-dashoffset:-10; } }

#package-storage-station { display:none; }
.receiver-line-card { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.receiver-line-card > label { width:100%; }
.receiver-line-card .receiver-edit { text-align:left; }
.receiver-line-card span { font:600 13px/1.45 Arial,sans-serif; color:#b8e6ed; }
.receiver-edit,#line-editor-close { cursor:pointer; border:1px solid #698d9b; border-radius:5px; background:#163a49; color:#e5f9ff; padding:6px 8px; font:600 12px/1.35 Arial,sans-serif; }
.receiver-edit:hover,#line-editor-close:hover { background:#235367; }
.receiver-edit:focus-visible { outline:2px solid #ffda74; }
.receiver-usage { display:block; max-width:220px; font-size:12px; margin-bottom:10px; }
#line-equipment-dialog { width:min(470px,calc(100vw - 36px)); box-sizing:border-box; padding:20px; border:1px solid #688c9a; border-radius:12px; background:#123343; color:#f3faff; max-height:85vh; overflow:auto; }
#line-equipment-dialog::backdrop { background:#031521ac; }
.line-editor-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#line-editor-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:12px; }
#line-editor-fields input { max-width:100%; }
#line-editor-result { display:block; padding-top:12px; border-top:1px solid #476b79; font-size:14px; line-height:1.5; color:#c3ecf2; }
@media (max-width:480px) { #line-editor-fields { grid-template-columns:1fr; } }
.included-treatment .airline-stage #systemAirline { display:block; max-width:700px; margin:auto; }
.included-treatment #treatment-assembly,.included-treatment #wet-station { display:none; }
.included-treatment #package-storage-station { display:inline; }
.included-treatment #dry-station { transform:translateX(510px); }
.included-treatment #outletSymbolLabel,.included-treatment #outletSymbol,.included-treatment #outletSymbolWater { transform:translateX(-780px); }
.included-treatment #systemAirline { overflow:hidden; }

.equipment-scroll-cue { display:none; }
@media(max-width:1230px) {
  body:not(.included-treatment) .equipment-scroll-cue { display:block; margin:8px 0 2px; color:#b5dbe5; font-size:12px; }
}

#systemAirline { scroll-margin-top:80px; }
.included-treatment .airline-legend { display:flex; justify-content:flex-end; }
.included-treatment .airline-legend span { display:none; }
@media(max-width:690px) {
  .compact-ready.included-treatment .airline-stage { min-width:650px; }
  .included-treatment .equipment-scroll-cue { display:block; color:#b5dbe5; font-size:12px; }
}

.no-external-dryer #lineDryerPhoto,.no-external-dryer #lineDryerMechanism { display:none; }
.no-external-dryer #dmodel { color:#abc0cb; }
.receiver-line-card select { width:100%; }
.included-treatment .airline-controls .filter-line { display:flex; flex-wrap:wrap; gap:8px; max-width:760px; }
.included-treatment .airline-controls .filter-line .receiver-line-card { display:flex; flex:1 1 145px; }
.included-treatment .airline-controls .filter-line>.compact-product:first-child { flex:1 1 170px; }

#kwos-toggle-position label { display:flex; align-items:center; gap:6px; box-sizing:border-box; width:fit-content; height:100%; padding:0 6px; color:#ecf8ff; font:700 15px/1.2 Arial,sans-serif; cursor:pointer; }
#kwos-toggle-position input { width:17px; height:17px; margin:0; cursor:pointer; }
#kwos-toggle-position input:focus-visible { outline:2px solid #ffda74; outline-offset:2px; }
#kwos-station:is(:hover,:focus-visible) .station-selection { text-decoration:underline; }
.equipment-top .receiver-toggle[hidden] { display:none; }
.receiver-line-card.receiver-excluded { opacity:.5; }
.compact-ready.included-treatment .equipment-top {
  display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; max-width:760px;
}

.design-price-controls {display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin:.65rem 0;}
.design-price-controls label:not([hidden]) {display:inline-flex;align-items:center;gap:.45rem;}
.design-price-controls input {width:1rem;height:1rem;}
.compressor-supply .required-mark,.quote-preflight .required-mark{color:#ff908b;font-weight:800}
.compressor-supply select.required-missing,.quote-preflight :is(select,input).required-missing{border:2px solid #da4343!important;outline:2px solid #ffb7b4;outline-offset:1px}
.supply-price-notice{color:#ffbbb0;font-size:14px;font-weight:650}
.quote-preflight{width:min(480px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box;padding:24px;border:1px solid #9ebbc8;border-radius:14px;background:#102f40;color:#f4faff;box-shadow:0 25px 80px #00131d99}
.quote-preflight::backdrop{background:#001822bc}
.quote-preflight h2{margin:0 0 10px;font-size:24px;line-height:1.2}
.quote-preflight p{margin:0 0 18px;line-height:1.5}
.quote-preflight form{display:grid;gap:15px}
.quote-preflight label{display:grid;gap:7px;font-size:16px;font-weight:650}
.quote-preflight :is(select,input){width:100%;box-sizing:border-box;min-height:44px;border:1px solid #8eb2bf;border-radius:6px;background:#fff;color:#173441;font:inherit;padding:9px 12px}
.quote-preflight .quote-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.quote-preflight .quote-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:8px}
.quote-preflight .quote-actions button{min-height:44px;padding:9px 16px;border-radius:6px;border:1px solid #9ebbc8;background:#fff;color:#163243;font:700 15px Arial,sans-serif;cursor:pointer}
.quote-preflight .quote-actions button[type=submit]{background:#007da3;border-color:#5dc9e3;color:#fff}
.quote-preflight .quote-error{color:#ffb7b4;margin:0;font-weight:650}
@media(max-width:430px){.quote-preflight .quote-fields{grid-template-columns:1fr}}
.airline-controls .filter-line label:has(select) {display:block;min-height:0;font:500 12px/1.25 Arial,sans-serif;color:#e7f5fb;}
.airline-controls .filter-line label select {display:block;width:100%;margin:4px 0 0;font:500 13px/1.25 Arial,sans-serif;}
.airline-controls .receiver-line-card {gap:0;}
.receiver-line-card > :is(span,button) {margin-top:8px;}
.equipment-unit-price, #systemAirline #line-kwos-price {font:700 13px/1.3 Arial,sans-serif;color:#9ae9f6;fill:#9ae9f6;}
.equipment-unit-price {margin:4px 0 5px;text-align:left;}

.flow-readout > [hidden] { display:none; }

.airline-scroll label.service-purchase {display:flex;align-items:flex-start;gap:.35rem;margin:.4rem 0;font-size:.8rem;line-height:1.3;cursor:pointer}
.airline-scroll label.service-purchase[hidden] {display:none}
.airline-scroll .service-purchase input {width:1rem;height:1rem;min-height:0;flex:none;margin:0}

#manual-drain-note:not([hidden]) { margin:10px 0; padding:10px 14px; border-left:3px solid #e4af58; background:#19394a; color:#f1f7fa; line-height:1.5; }

@media(min-width:801px){.compact-ready .input-strip{grid-template-columns:repeat(3,minmax(90px,1fr)) 24px repeat(2,minmax(90px,1fr))}}
#curve[role=slider]{cursor:ew-resize;touch-action:none;min-height:64px;outline-offset:1px}
#curve:focus-visible{outline:2px solid #ffdb62}
.curve-help{display:block;color:#b6d9e6;font-size:11px;line-height:1.35}
.factory-inclusions:not([hidden]){border-left:3px solid #45cbea;background:#123749;padding:10px 14px;color:#e0f3f7;line-height:1.5}
.factory-component{color:#b4e9f6;font-weight:600}
.factory-package #equipmentTop label:has(#dtype),.factory-package :is(#filterModel0,#filterModel1,#dmodel,#line-wet-choice),
.factory-package .receiver-line-card:has(#line-wet-choice) button{display:none!important}
#outdoor-label:not([hidden]){display:flex;align-items:center;gap:5px;font-size:12px}
#outdoor-label input{width:auto}

#systemAirline .product-hit{cursor:zoom-in}
.product-hit rect{fill:transparent;stroke:none;pointer-events:all}
.product-hit:focus-visible rect{stroke:#9aeafc;stroke-width:2;stroke-dasharray:4 3}
.product-spec-link:not([hidden]){display:inline-block;align-self:flex-start;margin:5px 0;color:#94e7f6;font-size:12px;line-height:1.4;text-underline-offset:3px}
.service-purchase+.product-spec-link:not([hidden]){font-size:11px;margin:0 0 4px 22px}
.product-view{position:fixed;box-sizing:border-box;width:min(780px,calc(100vw - 30px));max-height:90vh;max-height:90dvh;padding:0;border:1px solid #486778;border-radius:12px;background:#fff;color:#132e40;overflow:auto;box-shadow:0 22px 80px #00152470}
.product-view::backdrop{background:#031826bd}
.product-view-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}
.product-plate{display:grid;place-items:center;padding:26px;min-height:270px;background:radial-gradient(ellipse at 45% 40%,#274b60,#0a2234)}
.product-plate :is(img,svg){width:100%;height:clamp(240px,48vh,420px);object-fit:contain}
.product-information{padding:48px 26px 29px;align-self:center}
.product-view .product-kind{color:#35657a;margin:0 0 6px;font-size:14px}
.product-view h2{margin:0;color:#062d46;font-size:clamp(23px,3vw,34px);line-height:1.15}
.product-view dl{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);margin:20px 0;font-size:14px;line-height:1.35}
.product-view :is(dt,dd){margin:0;padding:7px 0;border-bottom:1px solid #d8e4e9}
.product-view dt{padding-right:10px;color:#395666}
.product-view dd{font-weight:600;overflow-wrap:anywhere}
.product-full-specs:not([hidden]){color:#006487;text-underline-offset:3px;font-size:14px;font-weight:bold}
.product-view .product-view-close{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:36px;height:36px;padding:0;border-radius:50%;border:1px solid #aabdc9;background:white;color:#133349;font:25px/1 Arial;cursor:pointer}
.product-view.specs-only{max-width:540px}.product-view.specs-only .product-view-layout{display:block}.product-view.specs-only .product-plate{display:none}
@media(max-width:600px){.product-view-layout{grid-template-columns:1fr}.product-plate{padding:18px;min-height:0}.product-plate :is(img,svg){height:clamp(160px,32vh,265px)}.product-information{padding:18px 22px 24px}.product-view.specs-only .product-information{padding-top:44px}}
#resize-downstream{box-sizing:border-box;width:min(32rem,calc(100% - 2rem));padding:clamp(20px,4vw,30px);border:1px solid #a5c5d3;border-radius:12px;background:#fff;color:#16384a;box-shadow:0 20px 76px #061f3180;text-align:left}
#resize-downstream::backdrop{background:#041725ac}
#resize-downstream #resize-heading{font-size:clamp(1.45rem,3vw,1.9rem);line-height:1.15;margin:10px 0;color:#0b3449}
#resize-compressor{margin:0;color:#066888;font-weight:700}
#resize-explanation{line-height:1.5;color:#385563}
.resize-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.resize-actions button{min-height:44px;padding:9px 14px;border-radius:6px;font:inherit;font-weight:650;cursor:pointer}
#resize-yes{background:#075d83;color:white;border:1px solid #075d83}
#resize-no{background:white;color:#16384a;border:1px solid #95b1bf}
.downstream-notice{color:#e4f5fa;font-size:1rem;line-height:1.5;margin:6px 0;white-space:pre-line}.downstream-notice:empty{display:none}
