:root{--bg:#f6f7f2;--paper:#fff;--ink:#253d31;--muted:#7a867c;--green:#3c6e50;--green-deep:#2d573e;--sage:#eaf0e5;--line:#e5e9df;--warm:#f6efe1;--amber:#a57c32;--red:#a65348;--radius:20px;--shadow:0 8px 34px #293c2d04}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #adc3a4;outline-offset:3px}a{color:inherit}svg{display:block}.hidden{display:none!important}.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:#82917f}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#639260;flex-shrink:0}.status-dot.amber{background:#b28b42}.app-shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{padding:30px 20px 22px;background:#fafbf7;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:24px;letter-spacing:-.9px;font-weight:650;color:#345c3e}.brand>svg{width:34px;height:34px}.brand-sub{display:block;font-size:9px;letter-spacing:.02em;font-weight:400;color:#8a9385;margin-top:-1px}.nav-section-heading{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#919b8d;letter-spacing:.14em;margin:48px 12px 14px;font-weight:700}.count-badge{font-size:10px;letter-spacing:0;line-height:21px;min-width:21px;text-align:center;border-radius:6px;background:#ecf0e8;color:#7a8c71}.device-list{display:flex;flex-direction:column;gap:7px;overflow-y:auto}.device-item{display:flex;gap:10px;align-items:center;padding:13px 12px;border:1px solid transparent;border-radius:11px;background:transparent;text-align:left;width:100%;color:var(--ink)}.device-item:hover{background:#eef2e9}.device-item.selected{background:#eaf0e4;border-color:#dfe8d8}.device-avatar{display:grid;place-items:center;flex:0 0 33px;width:33px;height:36px;border-radius:9px;background:#e2eadc;color:#6e8b60;font-size:17px}.device-item.selected .device-avatar{background:#d9e5cf}.device-item-copy{min-width:0;flex:1}.device-item-copy strong{display:block;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-item-copy span{font-size:10px;color:#85917c}.device-item>.status-dot{width:5px;height:5px}.device-item.offline>.status-dot{background:#bdc3b9}.sidebar-empty{font-size:12px;color:var(--muted);padding:0 12px}.add-device{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:1px dashed #cfd9c6;border-radius:10px;padding:11px;color:#708566;font-size:11px;margin-top:13px;min-height:43px}.add-device:hover{background:#eff3e9}.add-device>span{font-size:18px;line-height:1}.sidebar-foot{margin-top:auto;padding-top:32px}.mode-note{display:flex;gap:9px;padding:15px 9px;border-bottom:1px solid var(--line);margin-bottom:15px}.small-leaf{font-size:21px;color:#99aa8c;line-height:1.3}.mode-note strong{display:block;font-size:10px;font-weight:600;color:#7b8d70}.mode-note span:not(.small-leaf){display:block;font-size:10px;line-height:1.6;color:#9aA492;margin-top:4px}.account{display:flex;gap:9px;align-items:center}.avatar{display:grid;place-items:center;width:31px;height:31px;background:#e9e4d8;border-radius:50%;font-size:12px;color:#928473}.account>div{min-width:0;flex:1}.account strong{display:block;font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis}.account>div>span{display:block;font-size:9px;color:#9ba294}.account form{margin:0}.icon-button{display:grid;place-items:center;border:0;background:transparent;color:#9ba48f;width:31px;height:31px;border-radius:7px;font-size:22px;padding:0}.icon-button:hover{background:#ebefe5}.icon-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.account-password{margin:11px 0 0 40px;font-size:10px}.main-content{max-width:1530px;width:100%;padding:37px 43px 24px;margin:auto}.page-header{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:25px}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:550;line-height:1.3;letter-spacing:-1px;margin:7px 0}h2{font-size:16px;font-weight:600;letter-spacing:-.35px}.page-subtitle{font-size:12px;color:#8b9586}.automatic-badge{display:inline-flex;align-items:center;gap:7px;background:#f5eddd;border:1px solid #ece1c9;color:#9e7b37;border-radius:7px;padding:6px 10px;font-size:10px;white-space:nowrap;font-weight:550}.device-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}.device-status-line,.device-tools{display:flex;align-items:center;gap:12px}.status-pill{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#6d8f57;background:#e9f0e1;border-radius:5px;padding:3px 8px}.status-pill.offline{color:#8e9588;background:#ebeee7}.status-pill.offline .status-dot{background:#a7afa0}.text-button{background:transparent;border:0;padding:4px 0;font-size:10px;color:#86937a;text-align:left}.text-button:hover{color:var(--green-deep)}.text-button:disabled:hover{color:#86937a}.tool-divider{height:10px;width:1px;background:#d9dfd2}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.metric-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px 21px 18px;box-shadow:var(--shadow);min-width:0}.soil-card{background:#eef2e7;border-color:#e3eadb}.card-eyebrow{display:flex;align-items:center;justify-content:space-between;font-size:8px;font-weight:650;letter-spacing:.12em;color:#929d88}.card-eyebrow svg{width:21px;height:21px;stroke:#9aae8f;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;fill:none}.metric-value{display:flex;align-items:baseline;gap:5px;margin:14px 0 8px;font-size:37px;font-weight:450;line-height:1.1;letter-spacing:-1px;font-variant-numeric:tabular-nums;white-space:nowrap}.metric-unit{font-size:11px;color:#9aA58e;letter-spacing:0}.metric-word{font-size:27px;font-weight:450;line-height:1.5;letter-spacing:-.7px;margin:10px 0 4px;white-space:nowrap}.metric-word.alert{color:#aa6f52}.metric-label{font-size:10px;color:#8b9881;line-height:1.4}.metric-note{font-size:8px;color:#a4ad9c;margin-top:8px;line-height:1.5}.moisture-track{background:#dce5d2;height:4px;border-radius:9px;margin:13px 0 8px;overflow:hidden}.moisture-track span{display:block;height:100%;width:0;background:#87a86c;border-radius:inherit;transition:width .3s}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:20px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:23px;min-width:0}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.panel-header p{font-size:10px;color:#9ca492;margin-top:4px}.segmented{display:flex;gap:1px;background:#f1f3ec;padding:3px;border-radius:6px;flex-shrink:0}.segmented button{border:0;color:#9aa68e;background:transparent;border-radius:4px;font-size:8px;padding:4px 7px;min-width:26px}.segmented button.active{background:#fff;color:#6e835d;box-shadow:0 1px 4px #30402008}.trend-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:24px}.chart-key{font-size:9px;display:flex;align-items:center;gap:6px;color:#9aa58d}.chart-key>span:first-child{width:6px;height:6px;border-radius:50%;background:#87a36d}.metric-switch{display:flex;gap:9px}.metric-switch button{border:0;background:none;color:#a6af9d;font-size:9px;padding:3px 0}.metric-switch button.active{color:#647f52}.chart-container{position:relative;height:210px;margin-top:14px}.chart-container>svg{width:100%;height:100%;overflow:visible}.chart-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#b1baa9;text-align:center}.chart-empty strong{font-weight:500;color:#95a287;font-size:12px}.chart-empty span{font-size:10px;margin-top:5px}.chart-caption{display:flex;justify-content:space-between;font-size:8px;color:#a8b29e;margin-top:2px;padding-left:28px}.control-panel{display:flex;flex-direction:column}.pump-controls{display:flex;flex-direction:column;gap:10px;margin-top:22px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:11px 14px;min-height:40px;font-size:10px;font-weight:550;line-height:1.4;text-decoration:none}.button.primary{background:var(--green);color:#fff;box-shadow:0 3px 8px #3c6e5014}.button.primary:hover:enabled{background:var(--green-deep)}.button.primary svg{width:12px;height:12px;fill:currentColor}.button.secondary{background:#fbfcf8;border-color:#dce5d3;color:#7c8e6e}.button.secondary:hover:enabled{background:#eef3e8}.stop-button{background:#fbf8f4;color:#a99b83;border-color:#ebe5da}.stop-button:hover:enabled{background:#f5ece5;color:#a77763}.stop-square{width:7px;height:7px;background:currentColor;border-radius:1px}.control-hint{font-size:9px;color:#93a087;line-height:1.7;margin-top:13px;min-height:30px}.control-footnote{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:14px;margin-top:auto}.control-footnote>span{display:grid;place-items:center;border:1px solid #c9d1c1;border-radius:50%;width:12px;height:12px;flex-shrink:0;font-size:8px;color:#a6b097;margin-top:3px}.control-footnote p{font-size:9px;color:#a5ae9b;line-height:1.8}.subtle-badge{font-size:8px;color:#98a28d;background:#f2f5ec;padding:4px 8px;border-radius:5px;white-space:nowrap}.subtle-badge.valid{color:#728c5f;background:#ebf2e2}.reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin-top:24px}.reference{display:flex;gap:10px}.reference-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex-shrink:0;font-size:18px}.reference-icon.dry{background:#f8f1df;color:#c6a464}.reference-icon.wet{background:#edf2e6;color:#99b17f}.reference strong{font-size:10px;font-weight:550;color:#7a8b6e}.reference p{font-size:9px;color:#a4ad99;margin:6px 0 11px;line-height:1.8}.reference-value{font-size:8px;color:#a7af9e}.reference-value b{font-weight:550;color:#7f926f;font-size:11px;margin-left:8px;font-variant-numeric:tabular-nums}.calibration-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:23px}.calibration-actions .button{font-size:8px;padding:8px 10px;min-height:32px}.calibration-actions .text-button{font-size:8px;margin-left:auto}.panel-footnote{font-size:8px;color:#a8b09f;line-height:1.8;margin-top:16px}.device-facts{margin:18px 0 0;display:flex;flex-direction:column;gap:11px}.device-facts>div{display:flex;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px solid #f0f2eb}.device-facts>div:last-child{border:0;padding-bottom:0}.device-facts dt{font-size:9px;color:#9eA993}.device-facts dd{font-size:9px;color:#75876b;margin:0;text-align:right;max-width:65%;overflow-wrap:anywhere}.activity-list,.commands-list{margin-top:18px}.activity-item{display:flex;gap:10px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #f0f2eb}.activity-item:last-child{border:0}.activity-dot{width:6px;height:6px;border-radius:50%;background:#acc199;flex-shrink:0;margin-top:6px}.activity-dot.warning{background:#cbb180}.activity-copy{min-width:0;flex:1}.activity-copy p{font-size:10px;line-height:1.6;color:#88967d;overflow-wrap:anywhere}.activity-copy span{font-size:8px;color:#adb6a3}.activity-time{font-size:8px;color:#aab49f;white-space:nowrap}.command-item{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #f0f2eb}.command-item:last-child{border:0}.command-item strong{display:block;font-size:10px;font-weight:500;color:#88967d}.command-item p{font-size:8px;color:#a3ad98;margin-top:4px;overflow-wrap:anywhere;max-width:220px}.command-item time{display:block;font-size:8px;color:#aeb7a3;margin-top:4px}.command-badge{font-size:8px;padding:3px 7px;border-radius:5px;background:#f1f4eb;color:#8e9e7e;white-space:nowrap;flex-shrink:0}.command-badge.accepted{background:#eaf2e2;color:#7b9864}.command-badge.refused,.command-badge.failed,.command-badge.expired{background:#f7eee4;color:#b09165}.list-empty{font-size:10px;color:#a5af9b;line-height:1.8;padding:16px 0}.content-footer{display:flex;justify-content:space-between;gap:20px;font-size:8px;color:#b0b9a4;margin-top:24px}.content-footer>span:first-child{display:flex;gap:6px;align-items:center}.content-footer .status-dot{width:4px;height:4px;background:#b4c4a6}.empty-state{text-align:center;max-width:600px;margin:4vh auto 10vh;padding:20px}.plant-illustration{width:220px;margin:0 auto 20px}.empty-state h2{font-size:28px;line-height:1.35;font-weight:450;letter-spacing:-.7px;margin:12px 0}.empty-state>p{color:#8e9e84;font-size:13px;max-width:400px;margin:0 auto}.empty-state>.button{margin-top:24px;font-size:12px;min-height:44px;padding-left:20px;padding-right:20px}.empty-footnote{display:block;font-size:10px;color:#aeb6a4;margin-top:17px}.connection-alert{padding:12px 15px;border-radius:10px;background:#f8eddf;border:1px solid #ecdfc9;color:#a0804d;font-size:11px;margin-bottom:20px}.awaiting-card{display:flex;gap:13px;align-items:center;padding:17px 20px;background:#eef3e8;border:1px solid #e1ead8;border-radius:14px;margin-bottom:20px}.awaiting-card>svg{width:27px;height:27px;fill:none;stroke:#91a87c;stroke-width:1.3;stroke-linecap:round;flex-shrink:0}.awaiting-card strong{font-weight:500;font-size:11px;color:#7d926c}.awaiting-card p{font-size:9px;color:#9cad8d;margin-top:4px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:580px;width:calc(100% - 36px);background:#2e513c;border:1px solid #44654e;box-shadow:0 12px 50px #1b2f2533;border-radius:12px;padding:14px 14px 14px 19px;color:#eef4e9;font-size:12px;display:flex;align-items:center;gap:12px;z-index:20}.toast>span{flex:1}.toast.error{background:#815348;border-color:#95675b}.toast.warning{background:#7c6b48;border-color:#98845b}.toast .icon-button{color:#cad8bf;flex-shrink:0}.toast .icon-button:hover{background:#ffffff15}.modal{border:1px solid #dfe6d7;border-radius:22px;max-width:480px;width:calc(100% - 32px);padding:28px;color:var(--ink);box-shadow:0 30px 100px #1f342533;background:#fff;max-height:90vh;overflow:auto}.modal::backdrop{background:#21372866;backdrop-filter:blur(4px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.modal-header h2{font-size:23px;letter-spacing:-.7px;font-weight:500;margin-top:3px}.modal-header>.icon-button{margin:-7px -8px 0 0}.modal-intro{color:#8a9b7f;font-size:12px;line-height:1.8;margin-bottom:22px}.modal label,.login-form label{display:block;font-size:11px;font-weight:550;color:#7f9174;margin-top:17px}.modal input,.modal textarea,.login-form input{display:block;width:100%;border:1px solid #dce5d4;border-radius:8px;background:#fbfcf8;padding:11px 12px;color:#52694a;margin-top:7px;font-size:12px;min-height:43px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.modal-actions .button{font-size:11px;padding-left:18px;padding-right:18px}.token-warning{background:#f7f0df;color:#ac8b4b;border:1px solid #eee2c6;padding:12px 14px;border-radius:9px;font-size:11px;line-height:1.8;margin-bottom:20px}.token-warning strong{display:block;font-weight:600}.token-field textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;resize:none;font-size:11px;word-break:break-all;color:#688259;line-height:1.7}.token-field .button{font-size:10px;margin-top:9px}.pairing-steps{padding:0;margin:23px 0 0;list-style:none;display:flex;flex-direction:column;gap:17px}.pairing-steps li{display:flex;gap:11px}.pairing-steps li>span{width:23px;height:23px;border-radius:50%;background:#eff4e8;color:#94a582;display:grid;place-items:center;font-size:10px;flex-shrink:0}.pairing-steps strong{display:block;font-size:11px;font-weight:550;color:#7d916f}.pairing-steps p{font-size:10px;color:#a1af95;margin-top:3px;line-height:1.8}.confirm-body{font-size:13px;color:#8a9b7e;line-height:1.9;white-space:pre-line}.form-error,.field-error{font-size:11px;color:#aa7764;margin-top:10px}.login-page{background:#f7f9f2}.login-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;max-width:1600px;margin:auto}.login-story{background:#eef2e7;padding:45px 55px 30px;position:relative;display:flex;flex-direction:column}.login-story-copy{max-width:410px;margin:90px auto 25px}.login-story-copy h1{font-size:54px;line-height:1.15;font-weight:400;letter-spacing:-2.3px;margin:18px 0 20px;color:#4f7048}.login-story-copy>p{max-width:310px;font-size:13px;line-height:1.9;color:#98a58a}.login-leaf-art{width:340px;max-width:100%;margin:30px auto 0}.login-story-foot{font-size:10px;color:#a5b096;margin-top:auto}.login-form-section{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;position:relative}.login-form-wrap{width:100%;max-width:330px;margin:auto}.login-form-wrap>.automatic-badge{margin-bottom:48px}.login-form-wrap>h2{font-size:31px;font-weight:450;letter-spacing:-.8px;margin:8px 0 8px}.login-intro{font-size:12px;color:#9aa98d}.login-form{margin-top:28px}.login-form label{font-size:11px;margin-top:18px}.login-form input{background:#fff;font-size:13px;min-height:46px}.login-form>.button{margin-top:25px;width:100%;justify-content:space-between;min-height:45px;font-size:12px}.login-help{font-size:10px;color:#a8b29b;line-height:1.8;margin-top:24px}.login-form-section>footer{font-size:9px;color:#b1baa5;margin-top:50px}.login-errors{padding:12px 14px;border:1px solid #eeded0;background:#faf1e7;color:#aa8261;border-radius:8px;font-size:11px}.login-errors p+p{margin-top:5px}
@media(min-width:1550px){.main-content{padding-left:55px;padding-right:55px}.metric-card{padding:24px}.metric-value{font-size:43px}.metric-word{font-size:31px}.panel{padding:27px}.chart-container{height:245px}}
@media(max-width:1180px){.app-shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding-left:15px;padding-right:15px}.brand{font-size:22px}.brand-sub{font-size:8px}.main-content{padding:30px 26px 22px}.metrics-grid{gap:10px}.metric-card{padding:17px 16px}.metric-value{font-size:31px}.metric-word{font-size:23px}.workspace-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:15px}.panel{padding:19px}.reference-grid{grid-template-columns:1fr;gap:16px}.calibration-actions .text-button{margin-left:0}.page-header{gap:12px}.automatic-badge{font-size:9px}.trend-panel .panel-header{flex-wrap:wrap;gap:10px}}
@media(max-width:950px){.app-shell{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding:25px 12px 18px}.brand{gap:7px;font-size:21px}.brand-sub{font-size:7px}.brand>svg{width:29px}.main-content{padding:27px 22px 20px}.page-header{align-items:flex-start;flex-direction:column;gap:12px}.page-header h1{font-size:28px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric-value{font-size:36px}.metric-word{font-size:28px}.workspace-grid{grid-template-columns:1fr}.trend-panel .panel-header{flex-wrap:nowrap}.reference-grid{grid-template-columns:1fr 1fr}.control-panel .pump-controls{flex-direction:row}.pump-controls .button{flex:1}.control-footnote{margin-top:14px}.device-heading{align-items:flex-start;flex-direction:column;gap:10px}.content-footer{font-size:8px}.login-story{padding:35px}.login-story-copy h1{font-size:43px}.login-story-copy{margin-top:90px}.login-form-section{padding:30px}.login-form-wrap>.automatic-badge{margin-bottom:35px}}
@media(max-width:650px){.app-shell{display:block}.sidebar{height:auto;position:static;border-right:0;border-bottom:1px solid var(--line);padding:19px 20px 16px}.brand{font-size:23px}.brand-sub{font-size:8px}.brand>svg{width:30px;height:30px}.nav-section-heading{margin:22px 0 11px}.device-list{flex-direction:row;overflow-x:auto;padding-bottom:3px;gap:8px}.device-item{min-width:180px;width:180px;padding:10px}.device-avatar{width:29px;flex-basis:29px;height:31px}.device-item-copy strong{font-size:11px}.device-item-copy span{font-size:9px}.add-device{min-height:36px;padding:6px 12px;font-size:10px;margin-top:10px;align-self:flex-start}.sidebar-foot{padding:0;margin-top:0}.mode-note{display:none}.account{position:absolute;top:23px;right:17px}.account>.avatar,.account>div{display:none}.account-password{position:absolute;top:27px;right:58px;margin:0;font-size:9px}.account .icon-button{width:27px;height:27px}.main-content{padding:24px 18px 20px}.page-header{gap:13px;margin-bottom:20px}.eyebrow{font-size:8px}.page-header h1{font-size:27px;word-break:break-word}.page-subtitle{font-size:11px}.automatic-badge{font-size:9px}.device-heading{gap:10px;margin-bottom:16px}.device-status-line{gap:8px;flex-wrap:wrap}.device-status-line .small{font-size:9px}.device-tools{gap:10px}.text-button{font-size:9px}.metric-card{padding:17px 16px}.card-eyebrow{font-size:7px;letter-spacing:.08em}.card-eyebrow svg{width:18px;height:18px}.metric-value{font-size:34px}.metric-word{font-size:25px}.metric-label{font-size:9px}.metric-note{font-size:8px}.metrics-grid{gap:10px;margin-bottom:15px}.workspace-grid{gap:15px}.panel{padding:19px 17px}.panel h2{font-size:15px}.panel-header p{font-size:9px}.segmented button{font-size:8px;padding:4px 6px;min-width:22px}.trend-meta{margin-top:20px}.chart-container{height:190px}.chart-caption{font-size:8px}.reference-grid{grid-template-columns:1fr;gap:20px}.calibration-actions{gap:8px}.calibration-actions .button{font-size:9px;flex:1;min-height:38px}.calibration-actions .text-button{width:100%;padding:6px 0}.reference p{font-size:10px}.reference strong{font-size:11px}.reference-value{font-size:9px}.panel-footnote{font-size:9px}.control-panel .pump-controls{flex-direction:column}.pump-controls .button{font-size:11px;min-height:43px}.control-hint{font-size:10px}.control-footnote p{font-size:10px}.device-facts dt,.device-facts dd{font-size:10px}.activity-copy p,.command-item strong{font-size:11px}.activity-copy span,.activity-time,.command-item p,.command-item time,.command-badge{font-size:9px}.list-empty{font-size:11px}.content-footer{gap:12px;flex-direction:column;margin-top:20px}.empty-state{margin:15px auto 30px;padding:10px}.plant-illustration{width:180px}.empty-state h2{font-size:24px}.empty-state>p{font-size:12px}.empty-footnote{font-size:9px}.awaiting-card{padding:15px;align-items:flex-start}.awaiting-card strong{font-size:11px}.awaiting-card p{font-size:10px}.modal{padding:23px}.modal-header h2{font-size:22px}.modal-intro{font-size:12px}.modal label{font-size:11px}.modal input,.modal textarea{font-size:13px}.modal-actions .button{font-size:11px}.token-field textarea{font-size:11px}.pairing-steps strong{font-size:11px}.pairing-steps p{font-size:10px}.confirm-body{font-size:13px}.login-shell{display:block}.login-story{padding:25px 25px 27px;min-height:200px}.login-story .brand{font-size:22px}.login-story-copy{margin:25px 0 0;max-width:none}.login-story-copy .eyebrow,.login-story-copy>p,.login-leaf-art,.login-story-foot{display:none}.login-story-copy h1{font-size:33px;letter-spacing:-1px;margin:0;line-height:1.2}.login-story-copy h1 br{display:none}.login-form-section{padding:28px 25px;min-height:calc(100vh - 205px)}.login-form-wrap{max-width:360px}.login-form-wrap>.automatic-badge{margin-bottom:24px}.login-form-wrap>h2{font-size:28px}.login-form-section>footer{margin-top:36px}.login-form label{font-size:12px}.login-help{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.login-account-link{font-size:11px;color:#95a387;margin-top:22px}.login-account-link a{color:#54764a;text-decoration:none;font-weight:600;margin-left:4px}.login-account-link a:hover{text-decoration:underline}.password-help{font-size:10px;color:#a2ae95;line-height:1.8;margin-top:10px}.bind-help{font-size:10px;color:#9aa98d;margin-top:9px;line-height:1.8}

/* Keep supporting text readable on everyday laptop and phone screens. */
.card-eyebrow{font-size:9px;color:#7d8c72}.metric-label{font-size:11px;color:#7c8e6e}.metric-note{font-size:10px;color:#8c9b7e}.panel-header p{font-size:11px;color:#8e9d80}.button{font-size:11px}.control-hint{font-size:11px;color:#839674}.control-footnote p{font-size:10px;color:#92a180}.reference strong{font-size:11px}.reference p{font-size:10px;color:#90a17d}.reference-value{font-size:10px}.calibration-actions .button{font-size:10px}.calibration-actions .text-button{font-size:10px}.panel-footnote{font-size:10px;color:#96a583}.device-facts dt,.device-facts dd{font-size:10px}.activity-copy p,.command-item strong{font-size:11px}.activity-copy span,.activity-time,.command-item p,.command-item time,.command-badge{font-size:10px}.list-empty{font-size:11px}.subtle-badge{font-size:9px}.content-footer{font-size:10px}.text-button{font-size:11px}.device-tools .text-button{font-size:10px}.button.danger{background:#9a6552}.button.danger:hover:enabled{background:#82523f}.modal .panel-footnote{font-size:10px}

.optional-details{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}.optional-details>summary{cursor:pointer;font-size:11px;color:#839774;list-style-position:inside}.optional-details[open]>summary{margin-bottom:7px}

/* Soil continuity and device-reported pump-run history. */
.chart-legends{display:flex;flex-wrap:wrap;gap:7px 13px}.pump-chart-key>span:first-child{background:#bd9b58}.trend-meta{align-items:flex-start}.metric-switch{flex-shrink:0}.chart-empty{pointer-events:none;padding:35px 35px 12px;inset:12px 0 0}.chart-empty strong,.chart-empty span{background:#ffffffdf;padding:2px 8px;border-radius:4px}.chart-empty span{max-width:300px}.history-note{font-size:10px;color:#8d9c7f;line-height:1.8;margin-top:12px}.watering-log{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.watering-log-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.watering-log-heading h3{font-size:12px;font-weight:550;letter-spacing:-.2px}.watering-log-heading h3>span{font-size:10px;color:#96a387;font-weight:400}.watering-list-hint{font-size:10px;color:#95a384;line-height:1.8;margin-top:8px}.watering-events-list{display:flex;flex-wrap:wrap;gap:7px;max-height:158px;overflow-y:auto;padding:8px 3px 5px;margin:4px -3px 0;scrollbar-width:thin}.watering-list-item{flex:1 1 160px;min-width:0;max-width:100%}.watering-run-button{border:1px solid #e5e7da;background:#fcfcf8;border-radius:8px;padding:9px 10px;text-align:left;color:#8f9b80;width:100%;line-height:1.5}.watering-run-button:hover{background:#f6f2e7;border-color:#ddcfab}.watering-run-button.selected{background:#f5eedb;border-color:#d6be85;color:#92743e}.watering-run-top{display:block;font-size:10px}.watering-run-meta{display:block;font-size:9px;color:#a5ad99;margin-top:3px}.watering-run-button.selected .watering-run-meta{color:#a38b5e}.watering-empty{font-size:10px;color:#a2ae92;line-height:1.8;padding:6px 0}.watering-selected{background:#faf8ef;border:1px solid #e8dfc6;border-radius:11px;padding:14px;margin-top:12px}.watering-selected h4{font-size:11px;font-weight:600;color:#967a43;margin:0 0 12px}.watering-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 17px;margin:0}.watering-details-grid>div{min-width:0}.watering-details-grid dt{font-size:9px;color:#ab9c7a}.watering-details-grid dd{font-size:10px;color:#8e805e;margin:3px 0 0;overflow-wrap:anywhere}.untimed-watering{border-top:1px dashed #e6e4d9;margin-top:15px;padding-top:15px}.untimed-watering h4{font-size:11px;color:#9b8c6d;margin:0;font-weight:550}.untimed-watering>p{font-size:10px;color:#a89e87;line-height:1.8;margin-top:5px}.watering-marker{cursor:pointer;outline:none}.watering-marker-line{stroke:#c6a969;stroke-width:1;opacity:.65;pointer-events:stroke}.watering-marker-hit{fill:transparent}.watering-marker-halo{fill:#f2e7cd;opacity:0;stroke:transparent}.watering-marker-dot{fill:#bc9a57;stroke:#fff;stroke-width:2}.watering-marker-count{fill:#fff;font-size:9px;font-family:system-ui;font-weight:600;pointer-events:none}.watering-marker:hover .watering-marker-halo,.watering-marker:focus-visible .watering-marker-halo,.watering-marker.selected .watering-marker-halo{opacity:1}.watering-marker:focus-visible .watering-marker-halo{stroke:#8d6f38;stroke-width:2}.watering-marker.selected .watering-marker-line{stroke:#a17b31;stroke-width:1.6;opacity:1}.watering-marker.selected .watering-marker-dot{fill:#a17b31}
@media(max-width:650px){.chart-legends{gap:5px}.chart-key{font-size:8px}.trend-meta{gap:7px}.metric-switch{gap:7px}.metric-switch button{font-size:8px}.watering-log-heading h3{font-size:12px}.watering-log-heading h3>span{display:block;margin-top:2px}.watering-list-item{flex-basis:150px}.watering-run-top{font-size:10px}.watering-details-grid{grid-template-columns:1fr}.watering-events-list{max-height:190px}.history-note,.watering-list-hint{font-size:10px}}
