*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{color:#e6e6e6;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#0f1115;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,system-ui,sans-serif}main{max-width:900px;margin:0 auto;padding:16px}.header{flex-wrap:wrap;align-items:center;gap:10px;margin:4px 0 10px;display:flex}.header h1{min-width:0;margin:0;font-size:19px}.header h1 .sense{color:#e0c95d}.header h1 .tld{color:#8a8f9d;font-size:.7em;font-weight:600}.header-actions{flex-wrap:nowrap;gap:8px;margin-left:auto;display:flex}.header-actions .btn{white-space:nowrap;align-items:center;text-decoration:none;display:inline-flex}.chip{white-space:nowrap;border-radius:20px;padding:4px 11px;font-size:12px;font-weight:600}h2{color:#8a8f9d;text-transform:uppercase;letter-spacing:.5px;margin:26px 0 8px;font-size:12px;font-weight:600}main.dash{max-width:1120px}.d-grid{grid-template-columns:minmax(0,1.85fr) minmax(300px,1fr);align-items:start;gap:16px;margin:12px 0 16px;display:grid}.d-col{flex-direction:column;gap:16px;min-width:0;display:flex}@media (max-width:900px){.d-grid{grid-template-columns:minmax(0,1fr)}}.d-card{background:#1a1d24;border:1px solid #272b35;border-radius:16px;min-width:0;padding:18px 20px}.d-card-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.d-card-head h2{margin:0}.d-dim{color:#8a8f9d}.d-small{font-size:12px;line-height:1.5}.d-err{color:#f07878;margin-top:6px}.d-err.inline{margin:0 0 0 10px}.d-spread{justify-content:space-between;gap:10px;display:flex}.d-status{align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.d-status-dot{background:#8a8f9d;border-radius:50%;flex:none;width:10px;height:10px;margin-top:9px}.d-status-head{letter-spacing:-.01em;font-size:clamp(20px,5.2vw,24px);font-weight:700;line-height:1.2}.d-status-sub{color:#b9bec9;font-variant-numeric:tabular-nums;margin-top:4px;font-size:14px;line-height:1.4}.d-status[data-tone=solar] .d-status-dot{background:#7bd88f}.d-status[data-tone=charge] .d-status-dot{background:#e0a95d}.d-status[data-tone=stop] .d-status-dot,.d-status[data-tone=warn] .d-status-dot{background:#f07878}.d-status[data-tone=warn] .d-status-head{color:#f07878}.d-status[data-tone=solar] .d-status-dot,.d-status[data-tone=charge] .d-status-dot{animation:1.6s ease-in-out infinite charging-pulse}@keyframes charging-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}.strip-modes{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.mode-btn{cursor:pointer;color:#b9bec9;background:#272b35;border:1px solid #333845;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:52px;padding:8px 6px;font-size:14px;font-weight:600;transition:background .12s,border-color .12s,transform 60ms;display:flex}.mode-btn svg{flex:none}.mode-btn:not(.active):hover:not(:disabled){color:#e6e6e6;background:#333845;border-color:#4a5163}.mode-btn:active:not(:disabled){transform:translateY(1px)}.mode-btn:focus-visible{outline-offset:2px;outline:2px solid #5db3e0}.mode-btn:disabled{opacity:.55;cursor:not-allowed}.mode-btn.active{color:#e6e6e6;font-weight:700}.mode-btn.active[data-mode=auto]{background:#1e4d2b;border-color:#7bd88f}.mode-btn.active[data-mode=force_charge]{background:#4a3a12;border-color:#e0a95d}.mode-btn.active[data-mode=stop]{background:#3a2323;border-color:#e05d5d}.mode-btn.active[data-mode=off]{background:#333845;border-color:#8a8f9d}.strip-detail{color:#b9bec9;margin-top:12px;font-size:13px;line-height:1.45}.strip-amps{margin-top:8px}.strip-hint{color:#8a8f9d;margin-top:8px;font-size:12px;line-height:1.45}@media (max-width:560px){.strip-modes{grid-template-columns:repeat(2,1fr)}}.cards{grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:10px;margin:14px 0;display:grid}.card{background:#1a1d24;border:1px solid #272b35;border-radius:12px;min-width:0;padding:12px 14px}.card .label{color:#8a8f9d;text-transform:uppercase;letter-spacing:.4px;font-size:11px}.card .num{white-space:nowrap;margin:4px 0 0;font-size:clamp(18px,5.5vw,26px);font-weight:700}.card .sub{color:#8a8f9d;margin-top:2px;font-size:11px}.fresh-marker{color:#7bd88f;white-space:nowrap;align-items:center;gap:5px;font-size:12px;font-weight:600;display:inline-flex}.fresh-marker.stale{color:#f07878}.live-dot{background:#7bd88f;border-radius:50%;width:6px;height:6px;animation:2s ease-in-out infinite livePulse}@keyframes livePulse{0%,to{opacity:1}50%{opacity:.35}}.d-facts{border-top:1px solid #272b35;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:8px;padding-top:14px;display:grid}@media (max-width:480px){.d-facts{grid-template-columns:minmax(0,1fr)}}.d-fact-label{color:#8a8f9d;font-size:12px}.d-fact-num{font-variant-numeric:tabular-nums;margin-top:2px;font-size:22px;font-weight:700}.d-fact-num small{color:#8a8f9d;font-size:13px;font-weight:500}.d-fact-sub{color:#8a8f9d;margin-top:4px;font-size:12px}.d-bar{background:#272b35;border-radius:4px;height:8px;margin-top:8px;position:relative}.d-bar.thin{height:6px;margin-top:0}.d-bar-fill{border-radius:inherit;background:#7bd88f;max-width:100%;position:absolute;top:0;bottom:0;left:0}.d-bar-fill.sun{background:#e0c95d}.d-bar-tick{background:#e6e6e6;width:2px;margin-left:-1px;position:absolute;top:-3px;bottom:-3px}.d-date{min-height:36px;padding:4px 8px;font-size:13px}.d-hero{background:#1b2a20;border:1px solid #7bd88f66;border-radius:12px;margin-bottom:6px;padding:14px}.d-hero-label{color:#b9bec9;font-size:12px}.d-hero-num{color:#7bd88f;font-variant-numeric:tabular-nums;margin-top:4px;font-size:34px;font-weight:800;line-height:1.1}.d-hero-num small{font-size:15px;font-weight:500}.d-hero-sub{color:#b9bec9;margin-top:8px;font-size:12px}.d-row{color:#b9bec9;border-bottom:1px solid #272b35;justify-content:space-between;align-items:baseline;gap:10px;padding:9px 0;font-size:14px;display:flex}.d-row:last-child{border-bottom:none;padding-bottom:0}.d-row-num{color:#e6e6e6;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}.d-row-num.amber{color:#e0a95d}.d-forecast{gap:10px;margin-bottom:12px;display:grid}.d-forecast-row{color:#b9bec9;grid-template-columns:84px minmax(0,1fr) 68px;align-items:center;gap:12px;font-size:14px;display:grid}.d-forecast-row .d-row-num{text-align:right}.d-plan{flex-wrap:wrap;gap:20px 32px;margin-bottom:16px;display:flex}.d-plan.off{opacity:.5}.d-plan-col{flex-direction:column;flex:300px;gap:14px;min-width:0;display:flex}.d-plan-col.wide{flex:2 420px;gap:0}.d-plan-col .d-card-head{margin-bottom:0}.d-plan-col.wide .d-card-head{margin-bottom:6px}.d-limit{justify-content:space-between;align-items:center;gap:12px;display:flex}.d-limit-name{font-size:14px;font-weight:600}.d-limit-ctl{white-space:nowrap;color:#8a8f9d}.d-plan-foot{flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:12px;display:flex}.sched-del{color:#f07878;cursor:pointer;background:0 0;border:1px solid #333845;border-radius:8px;width:40px;height:40px;margin-left:auto;font-size:20px;line-height:1}.sched-del:hover:not(:disabled){background:#3a2323}.d-activity{padding:12px 20px}.d-activity-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.d-activity .table-wrap{margin:12px 0 4px}.d-activity th{text-align:left;color:#8a8f9d;padding:6px;font-weight:600}.d-activity td{border-top:1px solid #272b35;padding:6px}.d-activity tr.err{background:#3a2323}.d-activity td.did{color:#7bd88f}.btn{cursor:pointer;color:#e6e6e6;background:#272b35;border:none;border-radius:10px;min-height:42px;padding:10px 14px;font-size:14px}.btn.active{background:#2f6feb;font-weight:700}.btn.ghost{color:#8a8f9d;background:0 0;border:1px solid #333845;min-height:34px;padding:5px 12px;font-size:12px}.inp{color:#e6e6e6;background:#0f1115;border:1px solid #333845;border-radius:8px;min-height:40px;padding:9px 10px;font-size:14px}input[type=date],input[type=time],input[type=number],select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}button:disabled,input:disabled,select:disabled{cursor:not-allowed}.stepper{align-items:center;gap:6px;display:inline-flex}.stepper .inp{text-align:center;font-size:16px}.stepper button{color:#e6e6e6;cursor:pointer;touch-action:manipulation;background:#0f1115;border:1px solid #333845;border-radius:10px;width:44px;height:44px;font-size:22px;line-height:1}.stepper button:hover:not(:disabled){background:#232733}.stepper button:disabled{opacity:.4;cursor:not-allowed}.explain{color:#8a8f9d;margin:-6px 0 20px;font-size:13px}.explain>summary{cursor:pointer;color:#5db3e0;padding:4px 0;font-size:12px;list-style:none}.explain>summary::-webkit-details-marker{display:none}.explain>summary:before{content:"▸ "}.explain[open]>summary:before{content:"▾ "}.explain p{margin:8px 0;line-height:1.5}.explain dt{color:#e6e6e6;margin-top:10px;font-weight:600}.explain dd{margin:4px 0 0}.sched-row{border-bottom:1px solid #272b35;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;display:flex}.sched-row input[type=checkbox]{accent-color:#2f6feb;width:20px;height:20px}.table-wrap{-webkit-overflow-scrolling:touch;margin-bottom:24px;overflow-x:auto}.table-wrap table{border-collapse:collapse;width:100%;min-width:620px;font-size:13px}.flag-banner{background:#3a2e00;border:1px solid #a07800;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:6px 0;padding:12px 16px;font-size:14px;display:flex}.flag-banner span{flex:1}.flag-banner.info{background:#1e2a45;border-color:#2f6feb}.flag-banner .flag-when{color:#c9b35d;margin-top:4px;font-size:12px;display:block}.flag-banner button{color:#e0c95d;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #a07800;border-radius:8px;padding:5px 12px;font-size:12px}.flag-banner button:hover{background:#4a3a00}.demo-bar{z-index:20;background:#1a1d24;border-bottom:1px solid #2a2e38;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:10px 16px;display:flex;position:sticky;top:0}.demo-bar-home{color:#e6e6e6;white-space:nowrap;font-size:14px;font-weight:800;text-decoration:none}.demo-bar-home span{color:#e0c95d}.demo-bar-home:hover{opacity:.85}.demo-bar-title{font-size:14px;font-weight:600}.demo-bar-pick{color:#8a8f9d;align-items:center;gap:8px;font-size:12px;display:inline-flex}.demo-bar-pick .inp{min-height:34px;padding:5px 8px;font-size:13px}.demo-bar .btn{align-items:center;min-height:34px;padding:6px 14px;font-size:13px;text-decoration:none;display:inline-flex}.flow-wrap{margin:6px 0;transition:opacity .3s}.flow-wrap.stale{opacity:.45}.flow-desktop,.flow-mobile{width:100%;margin:0 auto;display:block}.flow-mobile{display:none}@media (max-width:560px){.flow-desktop{display:none}.flow-mobile{display:block}}@keyframes flowF{to{stroke-dashoffset:-13.2px}}@keyframes flowR{to{stroke-dashoffset:13.2px}}@media (max-width:480px){main{padding:12px}.cards{grid-template-columns:repeat(3,1fr)}.card{padding:10px 11px}.d-card{padding:16px}.d-activity{padding:12px 16px}}.acct-row,.acct-foot{border-top:1px solid #272b35;margin-top:16px;padding-top:16px}.acct-row-title{margin-bottom:10px;font-size:13px;font-weight:600}@media (prefers-reduced-motion:reduce){.d-status-dot{animation:none!important}.flow-wrap,.mode-btn{transition:none}.mode-btn:active:not(:disabled){transform:none}.live-dot{animation:none}}
