@import url('../sump/studio.css?v=1');
/* RO/DI showroom (Lab, Nov 14 2026). The sump's sheet supplies the layout; these are the differences. */
:root{--sand:#8fd0e6;--grit:#c98a4b;--chlorine:#d6ee5c;--salt:#ff8fb5;--trace:#b9a3ff}
.stage{background:radial-gradient(ellipse at 46% 40%,#34505a,#172b35 56%,#0c1a23)}
.readout{display:none}
.readout b{font-size:31px}
#flow-legend{left:28px;right:auto;bottom:250px}
body[data-mode=macro] #flow-legend,#flow-legend[hidden]{display:none}
.part-label.soon{border-color:#e8bd6a;color:#f6dfae}
.part-label.due{border-color:#ff6a55;color:#ffd2c8;background:#3a1a16ee}
.part-label b{font-weight:700;margin-right:5px;color:var(--sand)}
.service-actions.three button{padding:11px 4px}
.service-actions #flush[aria-pressed=true]{background:#e2a534;border-color:#e2a534;color:#2a1c05}
.service-actions button.due{border-color:#ff6a55;color:#ffd2c8}
#part-life{margin:14px 0 0;font-size:12px}
#part-life.due{border-left:3px solid #ff6a55;color:#ffd9d0}
#set-line{stroke:#ff8a75}
#height-trace{stroke:#7ec8ff}
#salt-trace{stroke:#f0b36a}
#ato-bars{fill:#b4ebd4;opacity:.8}

/* The meter: what is left in the water after each stage, how much life each cartridge has, and the waste. */
.meter{font-size:10px;color:#c9dcd6;background:#10252de6;border:1px solid #2f4b53;border-left:2px solid var(--sand);border-radius:0 6px 6px 0;padding:12px 13px 11px}
.meter.on-stage{position:absolute;z-index:3;right:25px;top:118px;width:318px}
.meter.in-panel{display:none;margin:0 0 22px}
.meter-head{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:end;margin-bottom:9px}
.meter-head b{font:34px/1 Georgia,serif;color:#eef6f3;grid-row:span 2}
.meter-head b small{font:11px system-ui;color:#a0b7bb;margin-left:4px}
.meter-head>span{font-size:11px;color:#e2c89d}
.meter-head>em{font-style:normal;font-size:9px;color:#a0b7bb;letter-spacing:.03em}
.meter-title{font-size:8px;letter-spacing:.14em;color:#a0b7bb;margin:0 0 6px;display:flex;justify-content:space-between}
.meter-grid{display:grid;grid-template-columns:58px repeat(5,1fr);gap:3px 3px;align-items:end}
.meter-grid>button{font-size:8px;letter-spacing:.04em;padding:5px 0;border-radius:3px;background:#17323b;border-color:#2f4b53;color:#c6dcd9;line-height:1.2}
.meter-grid>button[aria-pressed=true]{background:var(--sand);border-color:var(--sand);color:#12303a}
.meter-grid>button:disabled{opacity:1;cursor:default;background:transparent;border-color:transparent;color:#8fa9ad}
.meter-grid .row{font-size:8.5px;line-height:1.2;color:#c9dcd6;align-self:center}
.meter-grid .row small{display:block;font-size:7px;color:#8fa9ad;letter-spacing:.02em}
.meter-grid .cell{position:relative;height:36px;background:#0c1c22;border-radius:3px;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
.meter-grid .cell i{position:absolute;left:0;right:0;bottom:0;background:var(--key);opacity:.85;transition:height .35s}
.meter-grid .cell em{position:relative;font-style:normal;font-size:9px;font-weight:600;color:#fff;text-shadow:0 0 3px #000,0 0 2px #000;padding-bottom:2px}
.meter-grid .cell.taken{outline:1px solid var(--key);outline-offset:-1px}
.meter-grid .cell.taken::before{content:'▼';position:absolute;top:1px;left:0;right:0;text-align:center;font-size:7px;color:var(--key)}
.meter-grid .cell.on{background:#17323b}
.meter-grid .life{height:22px;border-radius:3px;background:#0c1c22;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.meter-grid .life i{position:absolute;left:0;top:0;bottom:0;background:#4fae7f;opacity:.8;transition:width .35s}
.meter-grid .life em{position:relative;font-style:normal;font-size:8px;font-weight:700;letter-spacing:.03em;color:#fff;text-shadow:0 0 3px #000}
.meter-grid .life.soon i{background:#d9a441}
.meter-grid .life.due{background:#5a1f18;animation:due 1.1s infinite alternate}
.meter-grid .life.due i{background:#ff6a55}
@keyframes due{to{background:#8a2a1f}}
.meter-note{margin:8px 0 0;font-size:10px;line-height:1.45;color:#d6e6df;min-height:29px}
.meter-waste{margin-top:9px;padding-top:9px;border-top:1px solid #2f4b53}
.meter-waste .bars{display:flex;height:16px;border-radius:3px;overflow:hidden;background:#0c1c22}
.meter-waste .bars i{display:block;transition:width .35s}
.meter-waste .pure{background:#4fa8e8}.meter-waste .drain{background:#e2a534}
.meter-waste .keys{display:flex;justify-content:space-between;margin-top:5px;font-size:9.5px}
.meter-waste .keys b{font-weight:600;color:#eef6f3}
.meter-waste p{margin:5px 0 0;font-size:10px;color:#f1d9a6}
body[data-mode=macro] .meter.on-stage .meter-grid,body[data-mode=macro] .meter.on-stage .meter-title,body[data-mode=macro] .meter.on-stage .meter-note{display:none}

.care-table{display:grid;gap:8px;margin:14px 0 6px}
.care-table div{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:11px 12px;border:1px solid #35525b;border-radius:6px;font-size:11.5px;line-height:1.5}
.care-table b{font-weight:600;color:#e3eee9}
.care-table span{grid-column:1/-1;color:#b3c7c9}
.care-table em{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.05em;color:#7fd3a4}
.care-table .soon em{color:#e8bd6a}.care-table .due em{color:#ff8a75}
.care-table .due{border-color:#a8483c}

@media(max-width:1100px){.meter.on-stage{display:none}.meter.in-panel{display:block}.readout{display:block}}
@media(max-width:760px){#flow-legend{left:17px;bottom:246px;font-size:8px;padding:6px 9px;gap:3px}.service-actions.three{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.meter-grid .life.due{animation:none}}
.scene-heading h1{font-size:clamp(25px,2.2vw,36px)}
body[data-study]:not([data-study='']) #flow-legend{top:62px;bottom:auto}
.meter-head b,.readout b{font-family:system-ui,sans-serif;font-weight:300}
@media(max-width:760px){.subtitle{max-width:185px;line-height:1.7}}

/* Add-ons, the choice of unit, and the schedule for the visitor's own water (Nov 14 2026). */
.segmented.two{grid-template-columns:1fr 1fr}
.addons{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 10px}
.addons button{padding:10px 6px;font-size:11px;line-height:1.3}
.addons button[aria-pressed=true]{background:var(--sand);border-color:var(--sand);color:#12303a}
.addons button:disabled,.service-actions button:disabled{opacity:.38;cursor:not-allowed}
#kit-note{margin:8px 0 16px}
.yours{margin:22px 0 8px;padding:16px 14px 6px;border:1px solid #35525b;border-radius:8px;background:#10252d80}
.yours h4{margin-top:4px}
.yours-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin:14px 0 16px}
.yours-grid label{display:grid;gap:4px;font-size:10px;letter-spacing:.05em;color:#a0b7bb;text-transform:uppercase}
.yours-grid label span{display:flex;align-items:center;gap:6px;border:1px solid #35525b;border-radius:5px;background:#0c1c22;padding:0 8px}
.yours-grid input,.yours-grid select{flex:1;min-width:0;width:100%;border:0;background:transparent;color:#eef6f3;font:15px system-ui,sans-serif;padding:9px 0;text-transform:none;letter-spacing:0}
.yours-grid select option{background:#10252d;color:#eef6f3}
.yours-grid input:focus,.yours-grid select:focus{outline:none}
.yours-grid label span:focus-within{border-color:var(--sand)}
.yours-grid i{font-style:normal;font-size:11px;color:#8fa9ad;text-transform:none;letter-spacing:0}
#yours-table em{color:#8fd0e6}
.yours-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0}
.yours-actions output{font-size:11px;color:#b4ebd4;word-break:break-all}
@media(max-width:420px){.yours-grid{grid-template-columns:1fr}}
