:root{color-scheme:light;--bg:#f4f6f2;--ink:#1f302c;--muted:#66756d;--line:#dce3da;--green:#225e49;--soft:#e8eee5;--white:#fff;--radius:22px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.55}button,input{font:inherit}a{color:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a,button,input{outline-offset:5px}:focus-visible{outline:3px solid #b47513}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,4vw,46px);letter-spacing:-1.5px;line-height:1.15;font-weight:650;margin-bottom:16px}h2{font-size:21px;letter-spacing:-.4px;font-weight:650;margin-bottom:14px}h3{font-size:19px;font-weight:650;margin-bottom:8px}p{margin-bottom:18px}.muted,.help{color:var(--muted)}.small,.help{font-size:13px}.help{margin:7px 0 0;line-height:1.6}.lede{color:var(--muted);font-size:17px;max-width:570px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--green);margin:0 0 13px}.topbar{min-height:94px;max-width:1180px;margin:auto;padding:20px 38px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-size:24px;font-weight:700;text-decoration:none;letter-spacing:-1px}.brand-mark{height:40px;width:40px;border-radius:13px;display:grid;place-content:center;color:#fff;background:var(--green);font-size:30px;line-height:1}.brand-note{font-size:12px;color:var(--muted);letter-spacing:0;font-weight:400;border-left:1px solid var(--line);padding-left:14px;margin-left:8px}.topbar nav{display:flex;align-items:center;gap:23px;font-size:13px}.topbar nav a{text-decoration:none}.topbar nav a:hover{text-decoration:underline}.topbar form{margin:0}.nav-button{border:1px solid var(--line);padding:8px 14px;border-radius:10px;background:transparent;color:var(--ink)}.container{max-width:1104px;min-height:calc(100vh - 200px);margin:auto;padding:46px 0 64px}.page-heading{padding:12px 0 28px}.page-heading.compact{padding-top:20px;padding-bottom:16px}.section-heading,.heading-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.section-heading{margin-bottom:15px}.section-heading h2{margin:0}.section-heading p{margin:6px 0 0}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.service-card{display:flex;flex-direction:column;min-height:276px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px;text-decoration:none;transition:transform .15s,border-color .15s,box-shadow .15s}.service-card:hover{transform:translateY(-3px);border-color:#9aaf9b;box-shadow:0 10px 26px #20382b08}.service-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:24px}.service-icon{display:inline-grid;place-content:center;width:52px;height:52px;border-radius:16px;font-size:38px;font-weight:400;line-height:1}.gate-icon{background:#eef0e7;color:#616c42}.battery-icon{background:#e8f0ed;color:var(--green)}.tag{display:inline-block;font-size:11px;line-height:1.3;border:1px solid var(--line);padding:6px 10px;border-radius:30px;color:var(--muted);white-space:nowrap}.service-card h3{font-size:25px;letter-spacing:-.5px}.service-card p{font-size:14px;color:var(--muted);margin-bottom:24px}.card-link{margin-top:auto;display:flex;justify-content:space-between;font-size:13px;font-weight:600;color:var(--green);padding-top:18px;border-top:1px solid #edf0ea}.card-link span{font-size:20px;line-height:1}.owner-note{display:flex;align-items:center;gap:20px;border-radius:var(--radius);background:var(--soft);padding:26px;margin-top:28px}.owner-note h3{font-size:17px;margin-bottom:4px}.owner-note p{font-size:13px;color:var(--muted);margin:0}.owner-note .button{margin-left:auto;white-space:nowrap}.owner-icon{font-size:28px;color:var(--green)}.button{display:inline-flex;justify-content:center;align-items:center;gap:18px;border:1px solid transparent;border-radius:12px;padding:12px 20px;font-size:14px;font-weight:600;text-decoration:none;min-height:47px}.primary{background:var(--green);color:white}.primary:hover{background:#184e3b}.secondary{background:transparent;border-color:#c7d2c6;color:var(--ink)}.secondary:hover{background:#edf2e9}.full{width:100%}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.back{font-size:13px;color:var(--muted);text-decoration:none}.back:hover{color:var(--ink)}.stack{display:grid;gap:19px}.stack ul{padding-left:20px}.field{display:grid;gap:6px}.field>label{font-size:13px;font-weight:600}input:not([type=checkbox]){width:100%;padding:12px 14px;border:1px solid #cbd5c9;border-radius:10px;background:#fcfdfb;color:var(--ink);min-height:47px}input:disabled{background:#edf0eb;color:var(--muted)}input[type=checkbox]{accent-color:var(--green);height:17px;width:17px;vertical-align:middle;margin-right:7px}#id_rights{display:grid;gap:10px;font-size:14px}.choices>label{font-size:14px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px}.form-panel{max-width:620px}.errorlist{padding:0!important;list-style:none;color:#8e302c;font-size:14px;margin:0 0 4px}.notice{border:1px solid var(--line);background:#edf2e9;border-radius:12px;padding:14px 18px;font-size:14px;margin-bottom:20px}.notice.error{background:#fff0e9;border-color:#ecd0bf;color:#813f28}.messages{max-width:100%}.people,.command-list{list-style:none;padding:0;margin:0}.people li,.command-list li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #edf0ea}.people li:last-child,.command-list li:last-child{border-bottom:0}.people li>div,.command-list li>div{display:grid;gap:2px}.text-link{font-size:13px;color:var(--green);text-decoration:none;white-space:nowrap}.command-state{font-size:12px;text-align:right;color:var(--muted)}.command-state.sent{color:var(--green)}.command-state.unknown,.command-state.rejected,.command-state.sending{color:#955124}.gate-panel{text-align:center;padding:36px 28px}.gate-panel .large{width:78px;height:78px;font-size:56px;margin-bottom:26px}.gate-panel p{font-size:14px}.gate-panel .button{margin-top:12px}dialog{border:1px solid var(--line);border-radius:24px;padding:32px;max-width:460px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 70px #172c2440}dialog::backdrop{background:#12291f70}dialog p{font-size:14px}dialog .actions{justify-content:flex-end}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:100px;align-items:center;min-height:540px}.login-intro h1{font-size:clamp(35px,4.7vw,54px);line-height:1.13;letter-spacing:-2px}.login-intro .lede{max-width:370px}.login-panel{padding:36px}.login-panel>.muted{font-size:14px;margin-bottom:25px}.intro-line{display:flex;align-items:center;gap:12px;color:#819c7e;font-size:28px;max-width:290px;margin-top:40px}.intro-line i{height:1px;background:#bacab5;flex:1}.footer{max-width:1104px;margin:auto;border-top:1px solid var(--line);padding:22px 0 28px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.local-label:before{content:"";display:inline-block;width:6px;height:6px;background:#7c9879;border-radius:50%;margin-right:7px}.error-panel{max-width:650px;margin:50px auto}.empty{padding:36px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.metric{background:#fff;padding:23px;border-radius:18px;border:1px solid var(--line)}.metric>span{display:block;color:var(--muted);font-size:13px}.metric>strong{font-size:30px;letter-spacing:-1px;font-weight:600;display:block;margin:10px 0 0;white-space:nowrap}.metric.charge{background:#e5eee3;border-color:#d4e0d1}.charge-bar progress{width:100%;height:6px;accent-color:var(--green);display:block;margin-top:13px}.battery-details{margin-bottom:22px}.readings{margin:0}.readings>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #edf0ea;padding:10px 0;font-size:13px}.readings dd{margin:0;text-align:right;font-weight:500}.readings dt{color:var(--muted)}.cells{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:22px}.cell{background:#f4f6f2;border:1px solid #e1e7dd;padding:14px 7px;border-radius:12px;text-align:center}.cell span{font-size:10px;color:var(--muted);display:block;white-space:nowrap}.cell strong{font-size:16px;display:block;margin-top:7px;white-space:nowrap}.periods{display:flex;gap:4px;flex-wrap:wrap}.periods button{border:1px solid transparent;background:var(--bg);color:var(--muted);font-size:12px;border-radius:8px;padding:7px 10px;min-height:36px}.periods button[aria-pressed=true]{background:var(--green);color:white}.charts{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:25px;min-width:0}.charts>div{min-width:0}.charts h3{font-size:13px;margin-bottom:15px}.charts canvas{display:block;width:100%;height:210px}.history-panel .section-heading{align-items:start}.skip{position:absolute;top:-100px;left:16px;background:white;padding:12px;z-index:10}.skip:focus{top:10px}
.event-heading{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}.event-heading h3{font-size:16px;margin-bottom:5px}.event-table-wrap{overflow:auto}.event-table{width:100%;border-collapse:collapse;margin:16px 0;font-size:12px;text-align:left}.event-table th{font-weight:500;color:var(--muted);padding:10px 10px 10px 0}.event-table td{border-top:1px solid #edf0ea;padding:12px 10px 12px 0;vertical-align:top}.event-table td:first-child{min-width:165px}.event-interval{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}.event-table td:last-child{white-space:nowrap}[hidden]{display:none!important}
@media(max-width:1180px){.container,.footer{margin-left:38px;margin-right:38px}.login-layout{gap:55px}}
@media(max-width:760px){.topbar{padding:18px 22px;min-height:78px;flex-wrap:wrap}.brand-note{display:none}.topbar nav{gap:16px}.container{margin:0;padding:30px 22px 42px}.footer{margin:0 22px;padding:18px 0;font-size:11px}.page-heading{padding:8px 0 22px}.page-heading h1{letter-spacing:-1px}.lede{font-size:15px}.cards,.two-columns{grid-template-columns:1fr;gap:16px}.service-card{min-height:240px;padding:23px}.service-top{margin-bottom:17px}.owner-note{padding:22px;align-items:start;gap:13px;flex-wrap:wrap}.owner-note>div{flex:1}.owner-note .button{margin-left:0;width:100%}.login-layout{grid-template-columns:1fr;gap:28px;min-height:0}.login-intro h1{font-size:39px}.login-intro .lede{margin-bottom:0}.intro-line{display:none}.login-panel{padding:27px}.panel{padding:23px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric{padding:18px}.metric>strong{font-size:27px}.cells{grid-template-columns:repeat(4,1fr)}.charts{grid-template-columns:1fr}.history-panel .section-heading{flex-direction:column}.section-heading{gap:12px}.command-list li{gap:10px}.command-state{max-width:125px}.readings>div{font-size:12px}.error-panel{margin:20px auto}.brand{font-size:22px}.topbar nav{font-size:12px}.nav-button{padding:7px 10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.service-card:hover{transform:none}}

.chart-wide{grid-column:1/-1}.charts .chart-wide canvas{height:240px}.chart-legend{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.series-button{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:8px;min-height:36px;padding:7px 9px;font-size:11px;color:var(--ink)}.series-button[aria-pressed=false]{color:var(--muted);background:var(--bg)}.series-button[aria-pressed=false] .legend-swatch{opacity:.2}.legend-swatch{width:18px;height:0;border-top:2px solid;display:inline-block;flex-shrink:0}.series-cell1 .legend-swatch{border-color:#225e49}.series-cell2 .legend-swatch,.series-temp1 .legend-swatch{border-color:#a36b21}.series-cell3 .legend-swatch,.series-temp2 .legend-swatch{border-color:#426fa7}.series-cell4 .legend-swatch,.series-temp3 .legend-swatch{border-color:#9b527b}.series-cell5 .legend-swatch{border-color:#488b8a;border-top-style:dashed}.series-cell6 .legend-swatch{border-color:#7960a2;border-top-style:dashed}.series-cell7 .legend-swatch{border-color:#b3553e;border-top-style:dashed}.series-cell8 .legend-swatch{border-color:#6c7834;border-top-style:dashed}.series-temp2 .legend-swatch,.series-temp3 .legend-swatch{border-top-style:dashed}
