:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}a{color:#a9dbfa}.authed main{max-width:1560px}.header-account{display:flex;align-items:center;gap:18px}#who{font-size:12px;margin:0}#updateStatus{font-size:11px;color:#8faab8}#updateStatus[data-error=true]{color:#eebd78}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:15px 0 22px}.workspace-heading h1{font-size:32px;letter-spacing:-1px;margin:8px 0 10px}.workspace-heading .eyebrow{font-size:10px;letter-spacing:2px;margin:0}.workspace-heading .muted{margin:0;font-size:13px}#message:empty{display:none}#message{padding:12px 16px;border:1px solid #7d683d;border-radius:10px;background:#51432325}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.section-head h2{margin:4px 0}.section-head .eyebrow{font-size:10px;margin:0}.section-head select{width:auto;max-width:230px}.compact{font-size:12px;line-height:1.7}.toolbar{margin:8px 0 24px}.toolbar label{margin:0}.search-label{max-width:440px;flex:1}.search-label input{min-width:0}.is-customer .admin-only{display:none!important}
#featureNav a:first-child{background:transparent;box-shadow:none;color:#c7d8e1}#featureNav a[aria-current=page]{background:#247ce0;color:white;box-shadow:0 6px 20px #147af528}#featureNav a:hover{background:#20445a}#featureNav a:last-child{margin-top:28px;border-top:1px solid #253c4b;border-radius:0;padding-top:24px}#featureNav a:last-child[aria-current=page]{border-radius:8px}.side-brand small{font-size:10px}.summary-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:18px;margin:28px 0}.summary-card{text-align:left;position:relative;background:linear-gradient(125deg,#153449,#0f2535);border:1px solid #2d4c60;border-radius:18px;color:#a9c6d9;padding:26px;min-height:204px;display:flex;flex-direction:column;gap:10px;transition:border-color .15s,transform .15s}.summary-card:hover{border-color:#63a0ca;transform:translateY(-2px)}.summary-card>span:not(.summary-icon){font-size:13px;font-weight:500}.summary-card strong{font-size:clamp(32px,4vw,53px);font-weight:650;letter-spacing:-2px;color:#edf8ff;line-height:1.2}.summary-card strong i{font-style:normal;font-size:29px;color:#65839a;margin:0 13px;font-weight:400}.summary-card strong span:last-child{color:#62d99b}.summary-card small{font-size:11px;font-weight:400;color:#93b5c9;margin-top:auto}.summary-card.green{background:linear-gradient(125deg,#153d31,#0d2927);border-color:#2d6651}.summary-card.green strong{color:#6ae2a1}.summary-icon{position:absolute;right:22px;top:20px;color:#84c9ec;font-size:24px}.green .summary-icon{color:#70dca4}.live-fleet{padding:26px}.fleet-row{border-top:1px solid #263f4e;padding:18px 0}.fleet-row:first-child{border-top:0}.fleet-head{display:grid;grid-template-columns:minmax(140px,1.2fr) minmax(120px,2fr) auto;gap:20px;align-items:center}.fleet-name{font-size:15px;font-weight:650;text-decoration:none;color:#e0eff6}.fleet-meta{font-size:12px;color:#91adbf}.fleet-devices{padding-top:8px}.fleet-devices summary{font-size:11px;color:#8fa9bc;font-weight:500}.fleet-device-list{padding:9px 0 0 14px}.fleet-device{font-size:12px;padding:5px;color:#c6dce8}.state-pill{display:inline-block;border:1px solid #605843;background:#51462b30;color:#ddc08c;border-radius:30px;padding:5px 10px;font-size:10px;white-space:normal}.state-pill[data-online=true]{border-color:#356b51;background:#184d343a;color:#79dfaa}.record-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:18px}.record-card{border:1px solid #2b4759;background:linear-gradient(145deg,#102735,#0b1c28);border-radius:16px;padding:22px;overflow-wrap:anywhere}.record-card h3{font-size:18px;margin:6px 0 10px;letter-spacing:-.3px}.record-card p{font-size:12px;color:#9fb6c6;line-height:1.6;margin:8px 0}.record-card .equipment-actions{margin-top:20px}.record-card .equipment-actions button{font-size:11px;padding:8px 11px}.record-card .eyebrow{font-size:9px;letter-spacing:1.6px;color:#78dca3}.record-contact{color:#c8dfeb!important}.customer-address{white-space:pre-line;min-height:20px}.danger-button{color:#e7aaa7;background:#4c2e353d;border:1px solid #72474e}.button-link{display:inline-block;border-radius:8px;padding:9px 12px;background:#226fbf;color:white;font-size:12px;text-decoration:none}.text-link{text-decoration:none;color:#9bd2f4}.garden-card{position:relative}.garden-card-art{position:absolute;right:23px;top:15px;color:#58c58f;font-size:43px;opacity:.7}.garden-card h3{padding-right:45px}.editor{margin-top:24px;border-color:#477189;scroll-margin-top:20px}.editor h3{font-size:15px}.empty-state{padding:30px 15px;color:#8fa9bc;line-height:1.8;text-align:center;font-size:13px;grid-column:1/-1}.garden-breadcrumb{display:flex;gap:20px;align-items:center;font-size:12px;color:#95afbf;margin-bottom:24px;flex-wrap:wrap}.garden-breadcrumb a{text-decoration:none}.garden-tabs{display:flex;gap:6px;border-bottom:1px solid #2a4455;margin-bottom:25px}.garden-tabs button{background:transparent;color:#91aebe;border-radius:0;padding:15px 20px;font-size:13px;border-bottom:3px solid transparent}.garden-tabs button[aria-current=page]{color:#86e7b2;border-bottom-color:#4bc788}.equipment-symbol{font-size:30px;float:right;color:#6cb4e5}.equipment-detail{min-height:36px}.equipment-card .test-button{font-size:10px}.equipment-card .test-button:disabled{cursor:help;opacity:.55}.diagram-scroll{overflow-x:auto;border:1px solid #294554;border-radius:14px;background:radial-gradient(ellipse at center,#153b3033,transparent 75%),#091923;margin-top:20px}.diagram-scroll svg{display:block;width:100%;min-width:650px;max-height:550px}.diagram-node .node-body{fill:#112b38;stroke:#325565;stroke-width:2}.diagram-node[data-online=true] .node-body{stroke:#367859;fill:#10372e}.node-icon-bg{fill:#143e49}.node-icon{fill:none;stroke:#79dcb0;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.node-name{fill:#edf8ff;font-size:15px;font-weight:600}.node-state{fill:#9ab8c9;font-size:11px}.diagram-node[data-kind=pump] .node-icon{stroke:#5fc2fa}.diagram-node[data-kind=valve] .node-icon{stroke:#bd9cf6}.diagram-node:focus{outline:none}.diagram-node:focus .node-body{stroke:#e9c96d;stroke-width:4}.editing .diagram-node{cursor:grab;touch-action:none}.editing .diagram-node:active{cursor:grabbing}.diagram-pipe{fill:none;stroke:#477e89;stroke-width:7;stroke-linejoin:round;opacity:.8}.chip-list{display:flex;gap:8px;flex-wrap:wrap}.chip-list button{font-size:11px;padding:7px 10px}.task-row{border-bottom:1px solid #2a4455;padding:16px 0}.task-row strong{font-size:14px}.task-row p,.event-line{font-size:12px;line-height:1.7}.task-row button{font-size:11px}.columns>details{min-width:0}.view{animation:appear .18s ease-out}.garden-tab{min-width:0}.record-grid,.summary-grid{min-width:0}#recipeAdmin>.card{margin-top:24px}#recipeAdmin>details{margin-bottom:22px}#wifiView{max-width:850px}@keyframes appear{from{opacity:.7;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:1150px){.summary-grid{grid-template-columns:1fr 1fr}.summary-card:first-child{grid-column:1/-1;min-height:185px}.summary-card{min-height:180px}.fleet-head{grid-template-columns:1fr auto}.fleet-meta{grid-column:1/-1;grid-row:2}.record-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr))}}
@media(max-width:750px){#featureNav a:last-child{margin-top:0;padding-top:10px;border:0;border-radius:8px}#featureNav{position:relative}.workspace-heading{align-items:start;gap:12px;margin:6px 0 20px}.workspace-heading h1{font-size:27px}.workspace-heading .muted{font-size:12px}.workspace-heading>button{font-size:10px;padding:9px;flex:0 0 92px}.header-account{gap:12px}#updateStatus{display:none}.summary-grid{gap:12px;margin:18px 0}.summary-card{padding:18px;min-height:170px}.summary-card:first-child{min-height:170px}.summary-card strong{font-size:38px}.summary-card small{font-size:10px}.summary-card>span:not(.summary-icon){font-size:11px;padding-right:18px}.summary-icon{font-size:19px;right:15px;top:14px}.section-head{align-items:start;flex-wrap:wrap;gap:14px}.section-head select{width:100%;max-width:none}.toolbar{align-items:end}.toolbar>button{font-size:12px;padding:10px}.search-label{min-width:150px}.record-grid{grid-template-columns:1fr}.record-card{padding:20px}.fleet-head{gap:10px}.fleet-name{font-size:14px}.fleet-meta{font-size:11px}.live-fleet{padding:18px}.garden-tabs button{flex:1;padding:13px 8px;font-size:12px}.garden-breadcrumb{gap:10px}.garden-breadcrumb>span:first-of-type{flex-basis:100%;order:3}.diagram-scroll svg{min-width:650px;max-height:none}.equipment-actions button{padding:9px 12px;font-size:12px}.header-account #who{max-width:100px;overflow-wrap:anywhere}.authed>header>.brand{font-size:16px!important}#sideNav{margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){.view{animation:none}.summary-card{transition:none}}
.formgrid>*{min-width:0}input,select,textarea{max-width:100%;min-width:0}textarea{width:100%;background:#0a1923;color:inherit;border:1px solid #3b5363;border-radius:8px;padding:12px;font:inherit}.workspace-heading h1{overflow-wrap:anywhere}.diagram-mobile-hint{display:none}
@media(max-width:750px){#featureNav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}#featureNav a{min-height:44px;white-space:normal;gap:8px}input,select,textarea{font-size:16px}.diagram-mobile-hint{display:block;font-size:11px;color:#95afbf;margin:12px 0 0}.garden-tabs button{min-height:44px}#editGardenDetails{margin-bottom:12px}}
@media(max-width:360px){#featureNav a{font-size:11px;padding:10px}.header-account{gap:8px}.header-account #who{font-size:10px}}
/* Physical equipment is drawn directly in the scene; no individual icon cards. */
.system-scene{overflow:hidden}.system-scene .diagram-scroll{border:0;border-radius:0;background:radial-gradient(ellipse at 50% 80%,#15372e35,transparent 65%),#091923}.system-scene .diagram-scroll svg{max-height:580px;min-height:280px;min-width:550px}.equipment-art{overflow:visible}.node-focus{fill:none;stroke:none}.diagram-node:focus .node-focus{stroke:#dfc779;stroke-width:2;stroke-dasharray:5 5}.editing .diagram-node:hover .node-focus{stroke:#6b96ab;stroke-width:1;stroke-dasharray:4 5}.diagram-node .node-name{font-size:16px;fill:#e8f1f5;font-weight:600}.diagram-node .node-state{font-size:11px;fill:#a0b4c1}.node-state-dot{fill:#b5a270}.diagram-node[data-online=true] .node-state-dot{fill:#5ad894}.diagram-node[data-verified=false] .node-state{fill:#d5b879}.diagram-pipe{stroke:#397d9d;stroke-width:9;opacity:1}.diagram-pipe-light{fill:none;stroke:#8bd1e3;stroke-width:2;stroke-linejoin:round;opacity:.55}.test-mode-control{display:flex;align-items:center;gap:10px;font-size:12px;color:#c1d3df;margin:18px 0 6px}.test-mode-control input{width:19px;height:19px;margin:0;accent-color:#4bca88;flex:none}.test-mode-notice{font-size:12px;color:#e8c789;background:#725c2029;border-left:3px solid #bb9d4c;padding:11px 14px;border-radius:4px}.is-customer .system-scene{padding:0;border:0;background:none;box-shadow:none}.is-customer .system-scene>.section-head{padding:10px 0}.is-customer .system-scene .diagram-scroll{background:radial-gradient(ellipse at center,#14433324,transparent 75%);margin-top:22px}.is-customer #featureNav a:last-child{margin-top:0;border:0;border-radius:8px;padding:12px}.is-customer #wifiView{display:none!important}.is-customer .diagram-mobile-hint{margin-bottom:0}
@media(max-width:750px){.system-scene .diagram-scroll svg{min-width:550px}.is-customer #featureNav{grid-template-columns:1fr}.test-mode-control{font-size:12px;align-items:flex-start;line-height:1.6}.system-scene .section-head .equipment-actions{gap:8px}.is-customer .system-scene h2{font-size:22px}}
.compact-fleet{grid-template-columns:1fr auto}.metric-numbers{display:flex;align-items:center;gap:15px}.metric-numbers>button{color:#edf8ff;background:transparent;padding:0;border:0;line-height:1.2}.metric-numbers>button:hover strong{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}#onlineGardenMetric strong{color:#62d99b}.metric-numbers>i{font-style:normal;font-size:29px;color:#65839a}.summary-card .metric-list-link{background:none;color:#93b5c9;text-align:left;font-size:11px;font-weight:400;padding:0;margin-top:auto}.garden-metric-card:hover{transform:none}.metric-numbers>button:focus-visible{outline:2px solid #8bc9ed;outline-offset:5px;border-radius:4px}
/* Fixed drawing viewport: saving and hiding equipment never changes the zoom. */
.system-scene .diagram-scroll #gardenDiagram{width:100%;min-width:900px;height:auto;aspect-ratio:1400/1080;max-height:none;min-height:0;overflow:visible}
.system-scene .diagram-scroll .equipment-art{width:130px;height:150px;min-width:0;max-height:none;min-height:0}
#gardenDiagram.editing{background-image:radial-gradient(#36596885 1px,transparent 1px);background-size:18px 18px}
#layoutControls{border:0;padding:0;margin:0;min-width:0}.plumbing-toolbar{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.plumbing-toolbar button{font-size:12px;padding:10px 14px}.layout-inspector{background:#112b3890;border:1px solid #35515e;border-radius:12px;padding:15px;margin:15px 0}.layout-inspector>label{font-size:12px}.layout-inspector>select{max-width:400px}.scale-control{display:flex;align-items:center;gap:16px;font-size:13px;margin:18px 0}.scale-control input{flex:1;width:auto;max-width:350px;accent-color:#59cf97}.scale-control output{min-width:40px;color:#9ce4bc}.position-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.position-fields label{font-size:11px;margin:0}.position-fields input,.position-fields select{min-width:0;width:100%}.automatic-links{margin:16px 0}.automatic-links summary{font-size:13px}.automatic-links form{margin-top:15px}
.part-focus{fill:none;stroke:none;pointer-events:none}.editing .diagram-node.selected .node-focus,.editing .diagram-node.selected .part-focus{stroke:#e9c770;stroke-width:2;stroke-dasharray:5 5}.editing .plumbing-node:hover .part-focus{stroke:#608aa0;stroke-width:1;stroke-dasharray:4 5}.plumbing-hit{fill:none;stroke:transparent;stroke-width:44;pointer-events:stroke}.plumbing-shadow,.plumbing-body,.plumbing-light{fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.plumbing-shadow{stroke:#163847}.plumbing-body{stroke:#4492b5}.plumbing-light{stroke:#a2daec;opacity:.75}.pipe-collar{fill:#9bb4c1;stroke:#436b7c;stroke-width:2}.pipe-mouth{fill:#286480;stroke:#8bc8d8;stroke-width:1}
.visual-library{padding:15px;border:1px solid #35515e;border-radius:12px;background:#102531}.visual-library summary{font-size:14px}.visual-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;max-height:330px;overflow:auto;padding:8px}.library-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#0b1d29;border:1px solid #33505e;border-radius:10px;color:#c7dce6;font-size:10px;padding:10px;min-height:125px}.library-choice .equipment-art{width:65px;height:75px;min-width:0;max-height:none}.library-choice[aria-pressed=true]{border-color:#66d69c;box-shadow:0 0 0 1px #66d69c;background:#14372e}.library-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:15px}.library-actions strong{font-size:13px;margin-right:auto}.library-actions button{font-size:11px;padding:10px}.visual-library .compact{margin-bottom:0}
@media(max-width:750px){.position-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.visual-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:300px}.layout-inspector{padding:12px}.scale-control{gap:10px}.scale-control input{min-width:60px}.library-actions button{flex:1 1 100%}}
/* Free rotation and endpoint joining, with labels kept upright. */
.rotation-control{display:flex;align-items:center;gap:18px;margin:16px 0;font-size:12px}.rotation-control input{flex:1;min-width:60px;accent-color:#61d59d}.rotation-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.rotation-shortcuts button{padding:9px 15px;font-size:12px}.join-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:16px 0;color:#a6c5d3;font-size:12px}.join-controls label{display:flex;align-items:center;gap:9px}.join-controls input{width:18px;height:18px;margin:0;accent-color:#61d59d}.join-controls output{color:#75deb0}.diagram-plumbing{pointer-events:none}.equipment-rotation{transform-box:view-box}.plumbing-node .plumbing-hit{stroke-width:44;cursor:grab}
/* Editor-only connectors identify attachable ends; customer drawings stay clean. */
.connection-port{fill:#103441;stroke:#77d8fa;stroke-width:2;pointer-events:none}.connection-port.joined{fill:#45ce91;stroke:#ccffe3}.equipment-connectors{pointer-events:none}.diagram-ports{pointer-events:none}

/* Scoped commissioning panel; stable cards and independent live refresh. */
.relay-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}.relay-channel{padding:18px;border:1px solid #315263;border-radius:14px;background:#0c2230;min-width:0}.relay-number{font-size:12px;font-weight:700;letter-spacing:2px;color:#7db8d4}.relay-channel h3{font-size:15px;margin:10px 0;overflow-wrap:anywhere}.relay-gpio{font-size:11px;color:#87a5b5;line-height:1.6}.relay-state{font-size:12px;color:#a7becc;margin:14px 0}.relay-actions{display:flex;gap:8px}.relay-actions button{flex:1;padding:10px 8px;min-width:0}.relay-channel[data-active=true]{border-color:#51dc99;background:#103a2b}.relay-channel[data-active=true] .relay-state{color:#74edb0}.relay-notice{padding:14px;border:1px solid #7e6938;background:#392f1d;border-radius:10px;color:#efcf8a;line-height:1.6}.relay-notice[data-ready=true]{border-color:#34775b;background:#14372c;color:#a1ebc2}.relay-wiring{margin-top:25px;border-top:1px solid #2b4a58;padding-top:20px;font-size:14px;line-height:1.75}.relay-wiring li{margin:10px 0}.relay-wiring summary{cursor:pointer;font-weight:700}.relay-test-panel button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:1100px){.relay-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.relay-channel{padding:12px}.relay-grid{gap:9px}.relay-actions{flex-direction:column}.relay-test-panel>.section-head{align-items:flex-start}.relay-gpio{font-size:10px}}

.relay-pin-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.relay-pin-map>div{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #315263;border-radius:8px;background:#0c2230}.relay-pin-map span{color:#89b9ce}.relay-pin-map strong{font-size:12px}@media(max-width:900px){.relay-pin-map{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.relay-pin-map>div{padding:8px;gap:6px}.relay-pin-map strong{font-size:11px}}

/* Output state changes update only the overlay; saved geometry remains stable. */
.diagram-flow{pointer-events:none}.flow-route path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.flow-hose{stroke:#326978;stroke-width:5;opacity:0}.automatic-hose .flow-hose{opacity:.45}
.flow-water{stroke:#b7f5ff;stroke-width:3.6;stroke-dasharray:3 15;opacity:0;filter:drop-shadow(0 0 3px #2ccde8)}
.flow-running .flow-water{opacity:1;animation:dose-water 1.1s linear infinite}
.diagram-node.flow-running .equipment-art{filter:drop-shadow(0 0 7px #29cbd9)}
@keyframes dose-water{to{stroke-dashoffset:-36}}
@media(prefers-reduced-motion:reduce){.flow-running .flow-water{animation:none;stroke-dasharray:none;opacity:.8}}
.firmware-intro h2{margin:8px 0 12px}.firmware-intro p{max-width:850px}
.firmware-list{display:grid;gap:18px;margin-top:20px}.firmware-card{padding:24px;border:1px solid #29444d;border-radius:16px;background:linear-gradient(130deg,#122c32,#0d1b26)}
.firmware-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.firmware-garden{color:#e8faf5;font-weight:700;font-size:1.15rem;text-decoration:none}
.firmware-version{color:#b7d9d2;font-variant-numeric:tabular-nums}.firmware-state{color:#81e6b0;font-weight:600}.firmware-estimate{color:#9ab2bd;font-size:.9rem}.firmware-description{color:#c5d5dc}
.firmware-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.firmware-progress{width:100%;height:9px;accent-color:#2cdbad}.firmware-start:disabled{opacity:.55;cursor:default}
@media(max-width:600px){.firmware-card{padding:17px}.firmware-actions button{flex:1;min-width:150px}.firmware-card-heading{align-items:flex-start}}

.dose-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;border:1px solid #2c4553;border-radius:12px;padding:14px;margin:12px 0}.dose-row label{min-width:0}.dose-duration{grid-column:1 / -1;margin:0}.dose-row button{justify-self:start}.dose-calculation{padding:10px;border-left:3px solid #35d383;background:#16352e}#equipmentTestPanel select{max-width:160px}@media(max-width:650px){.dose-row{grid-template-columns:1fr}.dose-row input,.dose-row select{width:100%;min-width:0}}

/* Signal is a live device measurement, not an Internet-speed estimate. */
.wifi-signal{display:flex;align-items:center;gap:10px;margin:14px 0 6px;color:#8fa4b1;font-size:.86rem;line-height:1.45;min-width:0}
.wifi-signal[hidden]{display:none}
.wifi-signal svg{width:30px;height:30px;flex:none;fill:none;stroke:#354a59;stroke-width:2.6;stroke-linecap:round}
.wifi-signal [data-lit="true"]{stroke:currentColor}
.wifi-signal[data-level="1"]{color:#ffb060}.wifi-signal[data-level="2"]{color:#ead16e}
.wifi-signal[data-level="3"],.wifi-signal[data-level="4"]{color:#57df9a}
.wifi-signal-label{overflow-wrap:anywhere}

.recipe-part{border-top:1px solid #294352;padding-top:18px;margin-top:18px}.recipe-part h3{margin-top:0}
.recipe-product-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0;align-items:end}
.recipe-product-row button{justify-self:start}.pump-calibration-row{padding:16px;margin:12px 0;border:1px solid #294352;border-radius:12px;background:#0d2330}
.pump-calibration-row h4{margin:0 0 12px}.pump-calibration-row label{max-width:420px}.pump-calibration-row .dose-duration{color:#67e3aa}
.calculation-part{border-top:1px solid #294352;padding-top:10px;margin-top:18px}.calculation-part h4{margin:4px 0 12px}
@media(max-width:650px){.recipe-product-row{grid-template-columns:1fr}}

.report-rows{display:grid;gap:12px}.report-row{display:grid;grid-template-columns:165px 1fr auto;gap:8px 16px;padding:18px;border:1px solid var(--line,#29404b);border-radius:12px;background:var(--panel,#12232d)}.report-row h3{margin:0;font-size:16px;overflow-wrap:anywhere}.report-row time{font-size:13px;color:#aabfc9}.report-row p{grid-column:2/-1;margin:0;overflow-wrap:anywhere}.report-result{font-size:13px;color:#f7c770}.report-row[data-status=completed] .report-result{color:#69d99c}.report-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0}.garden-report form{align-items:end}.recipe-plan-controls{margin-top:12px}@media(max-width:650px){.report-row{grid-template-columns:1fr auto}.report-row time{grid-column:1/-1}.report-row p{grid-column:1/-1}.report-pagination{flex-wrap:wrap}.report-pagination button{padding:10px}.garden-report .section-head{align-items:start;flex-wrap:wrap}}

.pin-assignment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.pin-assignment{padding:16px;border:1px solid #345348;border-radius:12px;background:#122a24}.pin-assignment[data-used=true]{background:#182a38;border-color:#31536b}.pin-assignment h3{font-size:15px;overflow-wrap:anywhere}.pin-assignment p{margin:8px 0}.pin-assignment button{font-size:12px;width:100%}
.pin-reference{margin:18px 0;padding:16px;border:1px solid #345348;border-radius:12px}.pin-reference summary{cursor:pointer;font-weight:700;line-height:1.5}.pin-reference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}.pin-reference-card{padding:12px;background:#12232d;border-radius:8px;min-width:0}.pin-reference-card h3{font-size:14px;margin:0 0 10px}.pin-reference-card strong{display:block;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.pin-reference-card p{font-size:12px;line-height:1.6;margin-bottom:0}

.test-mode-control{flex-wrap:wrap}.test-mode-control select{width:auto;max-width:100%;min-width:240px;margin:0}

/* Calculated solution inventory; animate the confirmed level only. */
.stock-track{fill:#253f4b}.stock-fill{fill:#56d8a0;transition:width .8s ease}.stock-label{fill:#d6f4e7;font-size:12px;font-weight:600}.stock-note{fill:#9db3bd;font-size:10px}.node-stock[data-review=true] .stock-note,.equipment-stock[data-review=true]{fill:#ffd07d;color:#ffd07d}.node-stock[data-configured=false] .stock-label{fill:#a4b6c0}.solution-liquid-clip{transition:transform .8s ease;transform-origin:0 0;transform-box:view-box}.stock-preview{color:#80e8b3;font-weight:650}.equipment-stock{font-size:12px}.diagram-node.flow-running .node-state,.diagram-node.flow-running .node-state-dot{fill:#66edb4}.flow-water{stroke-width:5;stroke-dasharray:6 14}.equipment-card[data-running=true]{border-color:#58d59a}.equipment-card[data-running=true] .state-pill{color:#8bf4be;border-color:#58d59a}
@media(prefers-reduced-motion:reduce){.solution-liquid-clip,.stock-fill{transition:none}}

.report-scroll{max-width:100%;overflow-x:auto;margin:20px 0;border:1px solid #294554;border-radius:12px}.report-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.report-table th,.report-table td{padding:14px 12px;border-bottom:1px solid #294554;white-space:nowrap}.report-table th{background:#17312e;color:#9de4bb;font-weight:600}.report-table td{color:#c6dbe6}.report-table td:nth-child(2){font-weight:600;color:#f1f7fb}.report-table tr[data-status=completed] td:last-child{color:#69d99c}.report-table tr:last-child td{border-bottom:0}.report-table tr[data-status=running] td:last-child{color:#77d4fa}

/* Read-only solution detail; the route survives live refresh. */
.solution-link{cursor:pointer}.solution-link:hover .equipment-art{filter:drop-shadow(0 0 7px #5ada9b66)}.solution-link:focus .node-focus{stroke:#dfc779;stroke-width:3}
.solution-back{display:inline-block;margin:0 0 18px;padding:8px 0;font-size:13px}.solution-detail{max-width:960px}.solution-detail h2{font-size:28px;overflow-wrap:anywhere}.solution-detail-grid{display:grid;grid-template-columns:minmax(160px,270px) minmax(0,1fr);gap:36px;align-items:center;margin:20px 0}.solution-detail-grid>svg{width:100%;height:auto;max-height:340px}.solution-current-caption{font-size:14px;color:#b1cfbd;margin:0 0 9px}.solution-current{font-size:clamp(32px,5vw,56px);color:#80e8b3;line-height:1.15;overflow-wrap:anywhere}.solution-detail-values>p.muted{margin:9px 0 28px}.solution-detail-metrics{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0}.solution-detail-metrics>div{padding:15px 0;border-top:1px solid #305247}.solution-detail-metrics dt{font-size:12px;color:#a7bdb8}.solution-detail-metrics dd{margin:9px 0 0;font-size:23px;font-weight:650;color:#e3f4ea;overflow-wrap:anywhere}
@media(max-width:600px){.solution-detail{padding:20px}.solution-detail-grid{grid-template-columns:1fr;gap:12px;margin:12px 0}.solution-detail-grid>svg{max-height:230px}.solution-current{font-size:40px}.solution-detail h2{font-size:24px}.solution-detail-metrics dd{font-size:20px}}
/* A single, centered reading on the solution bottle. */
.node-stock{pointer-events:none}.stock-percent{fill:#fff;font-size:12px;font-weight:800;letter-spacing:-.35px;paint-order:stroke fill;stroke:#10303ad9;stroke-width:2.8px;stroke-linejoin:round}.stock-visible .solution-mark{display:none}.node-stock[data-configured=false] .stock-percent{fill:#d7e6e9}

/* Account-scoped push controls */
.push-editor{margin-top:24px}.push-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.push-choice{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #28414f;border-radius:10px;font-size:14px;min-width:0}
.push-choice input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:#30c478}.push-master{background:#103126;margin:20px 0}.push-threshold{max-width:240px;margin:18px 0}
.push-compose{border-top:1px solid #29414e;margin-top:30px;padding-top:20px}.push-compose input,.push-compose textarea{width:100%;box-sizing:border-box}
.push-preview{margin:0 0 18px;padding:18px;border:1px solid #36515d;border-radius:14px;background:#142b36;overflow-wrap:anywhere}.push-preview>b{display:block;color:#f0f7fb;font-size:14px}.push-preview>p{margin:7px 0 0;color:#c4d7e1;white-space:pre-wrap;font-size:14px;line-height:1.5}
.push-history-row{display:grid;grid-template-columns:1.1fr 1fr 1.2fr;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #253e4b;font-size:13px;overflow-wrap:anywhere}
.push-device-card{max-width:900px}.push-ios-help{padding:18px;background:#153044;border-radius:12px;margin:18px 0}.push-ios-help li{margin:10px 0}
#pushDeviceStatus{padding:14px;background:#152d39;border-radius:10px;line-height:1.6}.push-device-card h3{margin-top:28px}
@media(max-width:640px){.push-options,.push-history-row{grid-template-columns:1fr}.push-editor .section-head{flex-wrap:wrap}.push-device-card .equipment-actions{display:grid;grid-template-columns:1fr}.push-compose textarea{min-height:130px}}

.push-inbox-card{margin-bottom:24px}.push-inbox{display:grid;gap:12px}.push-inbox-item{padding:16px;border:1px solid #36515d;border-radius:12px;background:#142b36;overflow-wrap:anywhere;min-width:0}.push-inbox-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 20px;justify-content:space-between}.push-inbox-head h3{margin:0;font-size:16px}.push-inbox-head time{font-size:12px}.push-inbox-body{white-space:pre-wrap;margin:10px 0;line-height:1.5}.push-inbox-link{font-size:13px}.push-inbox-card .section-head{flex-wrap:wrap}
