:root{--web-bg:#f3f5f7;--web-card:#fff;--web-ink:#172b3b;--web-muted:#526676;--web-line:#dce4e9;--web-accent:#0b6e68;--web-soft:#e8f3f0;--web-warn:#8e4c13;--web-danger:#a52c35;--web-radius:14px}
.ew-sensors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ew-sensor{min-width:0;padding:14px;border:1px solid var(--web-line);border-radius:11px;background:var(--web-field)}.ew-sensor header{display:flex;gap:8px;justify-content:space-between;align-items:center}.ew-sensor h3{margin:0!important;font-size:15px!important}.ew-sensor header>b{font-size:26px;white-space:nowrap;font-variant-numeric:tabular-nums}.ew-sensor p,.ew-sensor small{display:block;font-size:12px!important;overflow-wrap:anywhere}.ew-sensor[data-quality="UNKNOWN"]{border-color:var(--web-warn-line)}.ew-history{display:grid;gap:12px;padding-top:12px}.ew-history h4{margin:0;font-size:14px}.ew-history p,.ew-history .web-row{font-size:12px}.ew-history .web-row{gap:10px}.ew-history .web-row b{white-space:normal;overflow-wrap:anywhere}@media(max-width:760px){.ew-sensors{grid-template-columns:1fr}.ew-sensor{padding:12px}.ew-sensor header>b{font-size:25px}.ew-history .web-row{align-items:start;flex-wrap:wrap}}
.web-product{margin:0;background:var(--web-bg);color:var(--web-ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.web-product *{box-sizing:border-box}.web-product [hidden]{display:none!important}.web-product a{color:var(--web-accent);text-decoration:none}.web-product a:hover{text-decoration:underline}.web-product h1{font-size:32px;line-height:1.15;letter-spacing:-.03em;margin:0 0 10px}.web-product h2{font-size:19px;line-height:1.3;margin:0 0 8px}.web-product h3{font-size:17px;margin:0 0 8px}.web-product p{margin:8px 0;color:var(--web-muted)}.web-product small{font-size:13px;color:var(--web-muted)}
.web-product .header{height:76px;background:var(--web-card);border-bottom:1px solid var(--web-line);position:sticky;top:0;z-index:20}.web-product .header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 32px}.web-product .brand{font-weight:750;font-size:20px;display:flex;align-items:center;gap:10px}.web-product .brand .dot{width:10px;height:10px;border-radius:50%;background:var(--web-accent)}.web-product .desktop-nav{position:fixed;left:24px;top:106px;display:flex;flex-direction:column;width:190px;gap:6px;align-items:stretch}.web-product .desktop-nav a{padding:11px 14px;border-radius:9px;color:var(--web-muted);font-size:14px;font-weight:600}.web-product .desktop-nav a.active{background:var(--web-soft);color:var(--web-accent)}.web-product .desktop-nav form{margin:18px 0 0;padding:0 12px}.web-product .navbtn{border:0;background:none;color:var(--web-muted);padding:0;min-height:44px}.web-product>.container{margin:0 28px 0 246px;padding:30px 0 50px;max-width:1200px;min-width:0}.web-mobile-menu{display:none}
.web-page{display:grid;gap:20px;min-width:0}.web-page-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.web-eyebrow{letter-spacing:.11em;font-size:12px;font-weight:700;margin:0 0 12px!important}.web-page-head>div>p:last-child{font-size:13px}.web-badge{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid var(--web-line);border-radius:20px;background:var(--web-field);font-size:12px;font-weight:650;max-width:100%;overflow-wrap:anywhere}.web-badge.ok{background:var(--web-soft);color:var(--web-accent);border-color:var(--web-line)}.web-badge.warn{background:var(--web-warn-bg);color:var(--web-warn);border-color:var(--web-warn-line)}.web-badge.bad{background:var(--web-danger-bg);color:var(--web-danger);border-color:var(--web-danger)}
.web-truth{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;background:var(--web-soft);border:1px solid var(--web-line);border-radius:var(--web-radius);padding:17px 20px}.web-truth strong{font-size:17px}.web-truth span{font-size:14px}.web-truth[data-state="UNKNOWN"]{background:var(--web-warn-bg);border-color:var(--web-warn-line)}.web-truth[data-state="ABSENT_CONFIRMED"]{background:var(--web-warn-bg);border-color:var(--web-warn-line)}.web-truth[data-safe="NO"]{background:var(--web-danger-bg);border-color:var(--web-danger)}.web-warning{padding:14px 18px;background:var(--web-warn-bg);border-radius:10px;color:var(--web-warn)!important}
.web-card,.web-product .ui-card{background:var(--web-card);border:1px solid var(--web-line);border-radius:var(--web-radius);padding:22px;min-width:0;box-shadow:0 2px 8px #22334403}.web-card>header{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:18px}.web-card>header p{font-size:13px;margin:0}.web-card>header a{font-size:13px;white-space:nowrap}.web-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.web-domain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.web-domain{padding:16px;border:1px solid var(--web-line);border-radius:11px;min-width:0}.web-domain p{font-size:14px}.web-domain .web-large{font-size:28px;font-weight:700;letter-spacing:-.03em}.web-domain ul{padding-left:19px;margin:8px 0;font-size:13px;color:var(--web-muted)}
.web-flow{display:grid;grid-template-columns:1fr 28px 1fr;align-items:stretch;gap:12px;max-width:850px;margin:0 auto 24px}.web-source,.web-load{display:flex;flex-direction:column;padding:16px 20px;border-radius:12px;background:var(--web-field);gap:3px;min-width:0}.web-load{background:var(--web-soft)}.web-flow small{font-weight:700;letter-spacing:.06em;font-size:11px}.web-flow strong{font-size:30px;letter-spacing:-.035em}.web-flow span{font-size:12px;color:var(--web-muted)}.web-flow .web-arrow{align-self:center;color:var(--web-accent);font-size:26px}.web-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.web-metric{display:flex;flex-direction:column;gap:3px;min-width:0}.web-metric b{font-size:21px;font-weight:650}.web-metric small{font-size:12px}.web-note{font-size:12px!important}.web-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--web-line);font-size:14px}.web-row:last-child{border-bottom:0}.web-row span{color:var(--web-muted)}.web-row b{font-weight:650;text-align:right;overflow-wrap:anywhere;max-width:65%}
.web-product details>summary{cursor:pointer;font-weight:650;min-height:30px;overflow-wrap:anywhere}.web-product details[open]>summary{margin-bottom:16px}.web-product details p,.web-product details li{overflow-wrap:anywhere}.web-product button,.web-product select,.web-product input{font:inherit;border:1px solid var(--web-line);border-radius:8px;min-height:42px;padding:8px 12px;background:var(--web-card);color:var(--web-ink);max-width:100%}.web-product button{cursor:pointer;font-size:14px;font-weight:600}.web-product button:hover{border-color:var(--web-accent);background:var(--web-soft)}.web-product button:disabled{opacity:.55;cursor:wait}.web-product button.danger{color:var(--web-danger);border-color:#dcb3b7}.web-product button:focus-visible,.web-product a:focus-visible,.web-product summary:focus-visible{outline:3px solid #56a9a1;outline-offset:3px}.web-product label{font-size:14px}.web-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.web-actions button{flex:1 1 auto}.web-product pre{max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px;color:var(--web-muted);background:var(--web-field);padding:12px;border-radius:8px}.web-product table{border-collapse:collapse;min-width:0;width:100%;font-size:13px}.web-product th,.web-product td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--web-line);overflow-wrap:anywhere}.web-product th{color:var(--web-muted);font-weight:650}.web-miner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.web-miner{padding:18px}.web-miner>header{margin-bottom:10px}.web-miner h2{font-size:24px}.web-miner .web-metrics{grid-template-columns:1fr 1fr;gap:12px}.web-miner p{font-size:13px}.web-event{padding:18px 0;border-bottom:1px solid var(--web-line)}.web-event>header{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--web-muted);margin-bottom:7px}.web-event h3{font-size:16px}.web-event p{font-size:14px}.web-report{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:20px 0;border-bottom:1px solid var(--web-line)}.web-report h3{font-size:15px;overflow-wrap:anywhere}.web-report p{font-size:13px}.web-report .web-actions{align-self:center}.web-report a{display:inline-block;padding:8px 10px;border:1px solid var(--web-line);border-radius:8px;font-size:13px}.web-chart{position:relative;min-width:0;overflow:hidden;margin-top:20px}.web-chart svg{display:block;width:100%;max-width:100%;height:auto}.web-product .owner-accounting{padding:0!important}.web-product .owner-accounting>p{font-size:14px}.web-product .owner-accounting form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.web-product .owner-accounting label{display:grid;gap:5px}.web-product .owner-accounting form p,.web-product .owner-accounting form button{grid-column:1/-1}.web-product .owner-accounting #pole-reconciliation article{margin-bottom:16px;padding:16px;border:1px solid var(--web-line);border-radius:10px}.web-product .thermal-ems .zone-grid,.web-product .thermal-ems .thermal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.web-product .thermal-ems .ui-card{margin-bottom:16px}.web-product .thermal-ems form{display:flex;flex-wrap:wrap;gap:12px}.web-product .thermal-ems .metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.web-product .thermal-ems .metric-grid>div{display:flex;flex-direction:column}.web-product .thermal-ems .metric-grid span{font-size:13px;color:var(--web-muted)}.web-product .thermal-ems .metric-grid b{font-size:21px}.web-product .thermal-ems svg{width:100%;max-width:100%}
@media(min-width:1600px){.web-product>.container{margin-right:auto}}
@media(max-width:1150px){.web-product .desktop-nav{width:165px;left:16px}.web-product>.container{margin-left:203px;margin-right:20px}.web-domain-grid,.web-miner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.web-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.web-two{grid-template-columns:1fr}}
@media(max-width:800px){.web-product .header{height:64px}.web-product .header-inner{padding:0 18px}.web-product .brand{font-size:18px}.web-product .desktop-nav{display:none}.web-mobile-menu{display:block;position:relative}.web-mobile-menu>summary{border:1px solid var(--web-line);padding:8px 12px;border-radius:8px;list-style:none;font-size:14px;cursor:pointer}.web-mobile-menu nav{position:absolute;right:0;top:47px;width:min(310px,calc(100vw - 32px));background:var(--web-card);border:1px solid var(--web-line);border-radius:12px;box-shadow:0 10px 35px #1232;padding:10px;display:grid;gap:2px}.web-mobile-menu a,.web-mobile-menu form{padding:8px 10px;font-size:15px;margin:0}.web-mobile-menu a[aria-current]{background:var(--web-soft);border-radius:7px}.web-product>.container{margin:0;padding:22px 16px 36px;max-width:none}.web-page{gap:16px}.web-page-head{gap:10px}.web-product h1{font-size:27px}.web-page-head>.web-badge{max-width:115px;text-align:center}.web-eyebrow{font-size:10px}.web-card,.web-product .ui-card{padding:18px}.web-domain-grid,.web-miner-grid{grid-template-columns:1fr}.web-domain-grid[data-fleet-summary]{grid-template-columns:1fr}.web-flow{gap:8px;grid-template-columns:1fr 18px 1fr}.web-source,.web-load{padding:13px 12px}.web-flow strong{font-size:24px}.web-flow small{font-size:10px}.web-flow span{font-size:11px}.web-flow .web-arrow{font-size:20px}.web-truth{padding:14px 16px;display:grid;gap:5px}.web-truth strong{font-size:16px}.web-truth span{font-size:13px}.web-metric b{font-size:20px}.web-report{grid-template-columns:1fr;gap:0}.web-card>header{flex-wrap:wrap}.web-product .owner-accounting form{grid-template-columns:1fr}.web-product .thermal-ems .zone-grid,.web-product .thermal-ems .thermal-grid{grid-template-columns:1fr}.web-product .thermal-ems .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.web-product .owner-accounting th,.web-product .owner-accounting td{font-size:13px}.web-product .owner-accounting #pole-history{max-width:100%;overflow:auto}.web-product .thermal-ems h1{font-size:25px}.web-product .thermal-ems .page-head{display:block}.web-product .thermal-ems .page-head>span{display:inline-block;margin:8px 0}}

/* Canonical meter controls retain semantics, with the same light palette. */
.web-product .owner-accounting input:not([type=checkbox]),.web-product .owner-accounting select,.web-product .owner-accounting textarea{background:var(--web-card);color:var(--web-ink);border-color:var(--web-line);color-scheme:inherit}
.web-product .owner-accounting button{background:var(--web-accent);color:#fff;border-color:var(--web-accent)}
.web-product .owner-accounting th{color:var(--web-muted)}
.web-product .owner-accounting #meter-effect{background:var(--web-soft);color:var(--web-ink)}
.web-product .owner-accounting .broken-meter-warning{background:var(--web-warn-bg);color:#70440e;border:1px solid #edce9a}
.web-product .owner-accounting #pole-history table{min-width:1100px}
.web-product .owner-accounting #pole-reconciliation table{min-width:1050px}
.web-product .owner-accounting td{font-variant-numeric:tabular-nums}
.web-product .owner-accounting td:nth-child(1),.web-product .owner-accounting td:nth-child(4){white-space:nowrap}
.web-product .thermal-ems .thermal-history:has(svg:empty){min-height:0}
.web-product .thermal-ems .thermal-history svg:empty{display:none}

.web-chart .axis-grid{stroke:var(--web-line);stroke-width:1}.web-chart .axis-label,.web-chart .axis-unit{fill:var(--web-muted);font-size:12px}.web-chart .zero-line{stroke:#8093a1}.web-chart-legend{font-size:13px}.web-chart-legend span:nth-child(1){color:#0b6e68}.web-chart-legend span:nth-child(2){color:#926321}.web-chart-legend span:nth-child(3){color:#506c9a}
.web-domain p{overflow-wrap:anywhere}

/* Shared theme tokens; persisted light preference remains available. */
:root{--web-field:#f6f8fa;--web-warn-bg:#fff2de;--web-danger-bg:#fff0f0;--web-warn-line:#e1bd84;color-scheme:light}
:root[data-theme="dark"]{--web-bg:#111923;--web-card:#1a2532;--web-field:#202e3c;--web-ink:#e4edf6;--web-muted:#a5b5c6;--web-line:#344455;--web-accent:#78cebb;--web-soft:#203d3c;--web-warn:#e6bf7e;--web-warn-bg:#3b3023;--web-warn-line:#78603b;--web-danger:#f0979d;--web-danger-bg:#412c34;color-scheme:dark}
.web-product .web-theme-toggle{margin-left:auto;margin-right:18px;white-space:nowrap}
.web-product .web-chart-heading,.web-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.web-chart-heading p{font-size:13px}.web-chart-heading label{display:flex;align-items:center;gap:8px}
.web-chart-pair{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px}
.web-chart-pair .web-card>header{min-height:65px;margin-bottom:8px}.web-chart-pair .web-chart{margin-top:10px;min-height:230px}
.web-chart-legend{display:flex;gap:8px 14px;flex-wrap:wrap;font-size:12px;min-height:36px}
.web-chart-legend .solar-key{color:#c19432}.web-chart-legend .forecast-key{color:#9872c9}.web-chart-legend .load-key{color:#329784}.web-chart-legend .grid-key{color:#508fc1}.web-chart-legend .battery-key{color:#a676bb}
[data-theme="dark"] .web-chart-legend .solar-key{color:#e8be61}[data-theme="dark"] .web-chart-legend .forecast-key{color:#b9a0ed}[data-theme="dark"] .web-chart-legend .load-key{color:#57bcaa}[data-theme="dark"] .web-chart-legend .grid-key{color:#71aee4}[data-theme="dark"] .web-chart-legend .battery-key{color:#c093dc}
.web-product .chart-tooltip{position:static;background:var(--web-field);border:1px solid var(--web-line);border-radius:10px;padding:12px;max-width:100%;font-size:13px;overflow-wrap:anywhere}
.web-product .chart-tooltip dl{margin:8px 0 0}.web-product .chart-tooltip dl>div{display:flex;justify-content:space-between;gap:10px}.web-product .chart-tooltip dd{margin:0;white-space:nowrap}
.web-product .now-marker{stroke:var(--web-muted);stroke-dasharray:4 5}.web-product .now-marker-label{fill:var(--web-muted);font-size:11px}.web-product .crosshair{stroke:var(--web-ink);stroke-dasharray:3 3}.web-product .selected-dot{fill:var(--web-ink)}
.web-miner-group{margin-bottom:28px;border-top:3px solid #71aee4;padding-top:18px;min-width:0}.web-miner-group[data-miner-group="THIRD_INPUT"]{border-color:#a6b2c0}.web-miner-group[data-miner-group="HYBRID_20K"]{border-color:#78cebb}
.web-group-heading h2{font-size:25px;margin:2px 0}.web-group-heading p,.web-miner-group>p{font-size:13px}.web-group-heading>[data-group-counts]{font-size:14px;color:var(--web-muted)}
.web-control-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.web-control-mode button{min-height:46px!important;padding:8px!important}.web-product button[aria-pressed="true"]{background:var(--web-soft);border-color:var(--web-accent);color:var(--web-accent);opacity:1}.web-product button:disabled{cursor:not-allowed}
.web-command-status{border-top:1px solid var(--web-line);padding-top:12px;min-height:48px;overflow-wrap:anywhere}.web-miner [data-miner-reason]{min-height:42px}.web-miner [data-miner-controls] small{display:block;margin-top:10px;font-size:11px}
[data-theme="dark"] .web-product .owner-accounting button{color:#112821}[data-theme="dark"] .web-product .owner-accounting .broken-meter-warning{color:var(--web-warn);border-color:var(--web-warn-line)}
.web-product>.container{max-width:none}.web-page[data-web-view="overview"] .web-flow{max-width:none;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}.web-page[data-web-view="overview"] .web-arrow{display:none}.web-page[data-web-view="overview"] .web-note{margin-bottom:0}.web-page[data-web-view="overview"] .web-flow strong{font-size:27px}
@media(max-width:1200px){.web-chart-pair{grid-template-columns:1fr}}
@media(max-width:800px){.web-product .web-theme-toggle{font-size:12px;padding:7px;margin-right:8px}.web-product .brand{font-size:15px}.web-product .header-inner{padding:0 12px}.web-page[data-web-view="overview"] .web-flow{grid-template-columns:1fr 1fr}.web-chart-heading{align-items:start}.web-chart-heading label{width:100%;justify-content:space-between}.web-chart-heading select{max-width:75%;min-width:0}.web-chart-pair .web-card{padding:14px}.web-chart-pair .web-card>header{min-height:0}.web-chart-pair .web-chart{min-height:200px}.web-miner-grid{grid-template-columns:1fr}.web-group-heading h2{font-size:23px}}

/* V3: previous three-input cockpit and Roza-sized rows, shared by read roles. */
:root[data-theme="dark"]{--web-bg:#0b101b;--web-card:#141c29;--web-field:#101723;--web-ink:#e4edf6;--web-muted:#9caabd;--web-line:#2c3646;--web-accent:#6bd8c3;--web-soft:#142e31;--web-radius:12px}
.web-product{font-size:14px;background:radial-gradient(ellipse at 25% 0, #423c6529,transparent 55%),var(--web-bg)}
.web-product .header{height:56px}.web-product .header-inner{padding:0 20px}.web-product .brand{font-size:16px}.web-product .desktop-nav{left:12px;top:76px;width:166px;gap:3px}.web-product .desktop-nav a{padding:9px 12px;font-size:13px}.web-product .desktop-nav form{margin-top:10px}.web-product>.container{margin:0 20px 0 196px;padding:18px 0 28px;max-width:none}.web-product .web-theme-toggle{margin-right:0;font-size:12px;min-height:34px;padding:5px 10px}
.web-page{gap:12px}.web-page-head{align-items:center;gap:12px}.web-product h1{font-size:25px;margin:0 0 3px}.web-product h2{font-size:17px;margin:0 0 4px}.web-product h3{font-size:15px;margin:0 0 4px}.web-eyebrow{font-size:10px;margin:0 0 3px!important}.web-page-head>div>p:last-child{font-size:11px;margin:2px 0}.web-product p{margin:6px 0}.web-product small{font-size:11px}.web-badge{font-size:11px;padding:4px 8px}.web-truth{padding:9px 12px;gap:8px 18px;border-radius:9px}.web-truth strong{font-size:14px}.web-truth span{font-size:12px}.web-warning{margin:0!important;padding:9px 12px}
.web-card,.web-product .ui-card{padding:14px;border-radius:12px;box-shadow:none}.web-card>header{gap:10px;margin-bottom:10px}.web-card>header p{font-size:11px}.web-two{gap:12px;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}.web-domain-grid{gap:12px;align-items:start;grid-template-columns:repeat(3,minmax(0,1fr))}.web-domain{padding:13px;background:var(--web-card)}.web-domain p{font-size:13px}.web-row{font-size:12px;padding:6px 0;gap:12px}.web-metrics{gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.web-metric b{font-size:19px}.web-metric small{font-size:11px}.web-product details>summary{font-size:12px;min-height:22px}.web-product details[open]>summary{margin-bottom:10px}.web-product details.web-card:not([open]){padding:10px 14px}
.web-flow,.web-page[data-web-view="overview"] .web-flow{max-width:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 12px}.web-flow .web-arrow{display:none}.web-source,.web-load{padding:10px 12px;gap:0;border-radius:8px}.web-flow strong,.web-page[data-web-view="overview"] .web-flow strong{font-size:25px}.web-flow small{font-size:10px}.web-flow span{font-size:10px}.web-energy-now>header>div>p{display:none}
.web-input{border-top:2px solid #719ee4;height:100%;display:flex;flex-direction:column}.web-input[data-input="HYBRID_20K"]{border-top-color:#6bd8c3}.web-input[data-input="THIRD_INPUT"]{border-top-color:#adb3c9}.web-input .web-metrics{grid-template-columns:1fr 1fr}.web-input p{font-size:12px}.web-input footer{padding-top:8px;font-size:11px;color:var(--web-muted);margin-top:auto}.web-mini-fleet{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 3px}.web-mini-fleet a{font-size:10px}.web-input>header{align-items:center}
.web-chart-heading h2{font-size:17px}.web-chart-heading p{font-size:11px}.web-chart-heading label{font-size:12px}.web-chart-heading select{min-height:34px;font-size:12px;padding:5px 8px}[data-dashboard-chart-status],[data-forecast-context]{font-size:11px;margin:5px 0!important}.web-chart-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.web-chart-pair .web-card>header{min-height:0;margin-bottom:5px}.web-chart-pair .web-card h2{font-size:15px}.web-chart-pair .web-chart{min-height:0;margin-top:5px}.web-chart-legend{min-height:0;font-size:10px;gap:5px 10px}.web-chart-section>.web-note{font-size:10px!important;margin-bottom:0}.web-chart svg{max-height:245px}.web-chart .axis-label{font-size:11px}
.web-miner-group{margin:0 0 14px;padding-top:10px;border-top-width:2px}.web-group-heading{gap:10px;align-items:center}.web-group-heading h2{font-size:18px}.web-group-heading small{font-size:10px}.web-group-heading p,.web-miner-group>p{font-size:12px}.web-group-heading>[data-group-counts]{font-size:12px}.web-miner-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}.web-miner-group[data-miner-group="THIRD_INPUT"] .web-miner-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.web-miner-group[data-miner-group="HYBRID_20K"] .web-miner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.web-miner{padding:12px}.web-miner h2{font-size:18px}.web-miner>header{align-items:center;gap:5px;margin-bottom:5px;flex-wrap:wrap}.web-miner p{font-size:11px}.web-miner [data-miner-reason]{min-height:0;margin:3px 0}.web-miner .web-metrics{gap:7px;grid-template-columns:1fr 1fr}.web-miner .web-metric b{font-size:17px}.web-miner .web-metric small{font-size:10px}.web-miner [data-miner-contact]{font-size:10px;display:block;margin-top:7px}.web-control-mode{margin-top:10px;gap:6px}.web-control-mode button{min-height:36px!important;font-size:12px;padding:5px!important}.web-miner [data-control-hint]{margin:5px 0}.web-command-status{min-height:0;padding-top:6px;margin:7px 0!important;font-size:10px!important}.web-miner details summary{font-size:10px}.web-miner [data-miner-detail]{font-size:11px}.web-miner .web-actions{margin:6px 0;gap:6px}.web-miner .web-actions button{font-size:12px;min-height:38px;padding:7px}.web-miner [data-manual-actions][hidden]{display:none!important}
.web-thermal-miner{padding:8px 0;border-bottom:1px solid var(--web-line)}.web-thermal-miner:first-child{padding-top:0}.web-thermal-miner:last-child{border:0;padding-bottom:0}.web-thermal-miner header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}.web-thermal-miner .web-row{padding:4px 0}[data-thermal-zones] .web-metrics{grid-template-columns:1fr 1fr}[data-thermal-settings] .thermal-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}[data-thermal-settings] label{display:grid;gap:4px;font-size:12px}[data-thermal-settings] form+form{margin-top:12px;padding-top:12px;border-top:1px solid var(--web-line)}[data-thermal-settings] p{font-size:11px}
[data-history-list]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.web-event{padding:10px 0;min-width:0}.web-event h3{font-size:14px}.web-event p{font-size:12px}.web-event>header{font-size:10px;gap:8px;margin-bottom:4px}.web-report{padding:12px 0;gap:12px}.web-report h3{font-size:13px}.web-report p{font-size:11px}.web-report .web-actions{margin:0}.web-report a{font-size:11px}.web-product .owner-accounting{max-width:none!important;margin:0!important}.web-product .owner-accounting>p{font-size:12px}.web-product .owner-accounting .ui-card{padding:14px!important}.web-product .owner-accounting .ui-card+div{margin-top:12px}.web-product .owner-accounting #pole-reconciliation article{padding:12px;margin-bottom:12px}.web-product .owner-accounting th,.web-product .owner-accounting td{padding:7px 6px;font-size:12px}.web-product .owner-accounting #pole-history,.web-product .owner-accounting #pole-reconciliation{min-width:0;max-width:100%;overflow:auto}
@media(max-width:1180px){.web-miner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.web-domain-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.web-chart-pair{grid-template-columns:1fr}.web-product>.container{margin-left:188px;margin-right:16px}.web-input>header{flex-wrap:wrap}}
@media(max-width:800px){.web-product .header{height:54px}.web-product .header-inner{padding:0 12px}.web-product .brand{font-size:14px;gap:6px}.web-product .web-theme-toggle{font-size:11px;padding:4px 7px;margin-left:auto;margin-right:8px;min-height:34px}.web-mobile-menu>summary{font-size:12px;padding:7px 9px;min-height:34px}.web-product>.container{margin:0;padding:14px 12px 24px}.web-page{gap:10px}.web-page-head>.web-badge{max-width:92px;font-size:10px}.web-product h1{font-size:24px}.web-page-head{gap:8px}.web-page-head>div>p:last-child{font-size:10px}.web-truth{display:flex;padding:8px 10px;gap:4px 10px}.web-truth strong{font-size:13px}.web-truth span{font-size:11px}.web-card,.web-product .ui-card{padding:12px}.web-flow,.web-page[data-web-view="overview"] .web-flow{grid-template-columns:1fr 1fr;gap:7px}.web-flow strong,.web-page[data-web-view="overview"] .web-flow strong{font-size:23px}.web-source,.web-load{padding:9px 10px}.web-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.web-metric b{font-size:18px}.web-domain-grid,.web-two,.web-chart-pair{grid-template-columns:1fr;gap:10px}.web-circuits .web-input{height:auto}.web-chart-pair .web-chart{min-height:0}.web-chart-pair .web-card{padding:10px}.web-chart-heading select{max-width:76%}.web-input>header{flex-wrap:nowrap}.web-miner-grid,.web-miner-group[data-miner-group] .web-miner-grid{grid-template-columns:1fr}.web-miner{padding:12px}.web-miner>header{flex-wrap:nowrap}.web-miner .web-metric b{font-size:18px}.web-miner .web-control-mode button{min-height:44px!important}.web-miner .web-actions button{min-height:44px}.web-miner .web-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.web-miner .web-metric b{font-size:15px}.web-miner [data-miner-contact]{font-size:11px}[data-history-list]{grid-template-columns:1fr}.web-report{grid-template-columns:1fr;gap:7px}.web-report .web-actions a{min-height:40px;display:inline-flex;align-items:center}[data-thermal-settings] .thermal-form{grid-template-columns:1fr 1fr}.web-product .owner-accounting form{grid-template-columns:1fr}}

/* One authority explanation remains readable for long diagnostic codes. */
.web-hybrid-authority{min-width:0}.web-hybrid-authority .web-row{gap:10px}.web-hybrid-authority .web-row b{min-width:0;overflow-wrap:anywhere}
/* Owner-facing Overview values: Russian quality words, stable units, no clipped KPIs. */
.web-page[data-web-view="overview"] .web-flow>div{min-width:0;overflow:hidden}
.web-page[data-web-view="overview"] .web-flow small,.web-page[data-web-view="overview"] .web-flow span{display:block;min-width:0;overflow-wrap:anywhere;line-height:1.35}
.web-page[data-web-view="overview"] .web-flow strong{font-size:clamp(1.35rem,3.8vw,2rem);font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.025em}
.web-page[data-web-view="overview"] .web-input{min-width:0;overflow:hidden;gap:5px}
.web-page[data-web-view="overview"] .web-input header h2{font-size:clamp(1rem,1.5vw,1.18rem)}
.web-input-fleet{padding:8px 10px;border-radius:8px;background:var(--web-field);min-width:0}
.web-input-fleet strong{display:block;font-size:clamp(1rem,2vw,1.28rem);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.web-input-fleet small{display:block;color:var(--web-muted);margin-top:2px}
.web-hybrid-modes{display:grid;gap:5px;padding:9px 10px;border:1px solid var(--web-line);border-radius:9px;background:var(--web-field);min-width:0}
.web-hybrid-modes>header{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin:0!important;font-size:11px}
.web-hybrid-modes>header strong{color:var(--web-muted);text-align:right}
.web-hybrid-mode{display:grid;grid-template-columns:28px minmax(65px,auto) 1fr;gap:3px 7px;align-items:center;padding:5px 7px;border-radius:7px;background:var(--web-card);border-left:3px solid var(--web-line);font-size:11px;min-width:0}
.web-hybrid-mode>b,.web-hybrid-mode>strong{font-variant-numeric:tabular-nums}.web-hybrid-mode>span{justify-self:end;text-align:right;overflow-wrap:anywhere}.web-hybrid-mode>small{grid-column:2/-1;color:var(--web-muted);overflow-wrap:anywhere}
.web-hybrid-mode.mode-normal,.web-hybrid-mode.mode-low{border-left-color:#41b982}.web-hybrid-mode.mode-off{border-left-color:#8994a4}.web-hybrid-mode.mode-transition,.web-hybrid-mode.mode-settling{border-left-color:#e4ba55;background:color-mix(in srgb,#e4ba55 12%,var(--web-card))}.web-hybrid-mode.mode-hold,.web-hybrid-mode[data-temperature="alert"]{border-left-color:#ed706e;background:color-mix(in srgb,#ed706e 12%,var(--web-card))}.web-hybrid-mode.mode-no-data{border-left-color:#8994a4;opacity:.78}.web-hybrid-mode[data-temperature="elevated"]:not(.mode-hold){border-left-color:#e4ba55}
.web-input-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.web-input-highlights .web-metric{min-width:0;padding:8px;background:var(--web-field);border-radius:8px}
.web-input-highlights .web-metric small{line-height:1.35;overflow-wrap:anywhere}
.web-input-highlights .web-metric b{font-size:clamp(1rem,2vw,1.3rem);font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
.web-hybrid-house .web-house-warning{color:var(--web-warn);margin-top:4px}
.web-house-provenance small{display:block;margin-top:6px;overflow-wrap:anywhere}
.web-input-reason{line-height:1.4;overflow-wrap:anywhere}
.web-input-details{margin-top:3px;min-width:0}.web-input-details small{display:block;line-height:1.45;overflow-wrap:anywhere;color:var(--web-muted)}
.web-cycle-gauge{display:grid;gap:6px;padding:9px 10px;border:1px solid var(--web-line);border-radius:9px;background:var(--web-field);min-width:0}
.web-cycle-gauge>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0!important;font-size:12px}
.web-cycle-gauge>header span{color:var(--web-muted);font-size:11px;text-align:right;overflow-wrap:anywhere}
.web-cycle-track{height:9px;position:relative;border-radius:99px;background:color-mix(in srgb,var(--web-line) 55%,var(--web-card));overflow:visible}
.web-cycle-fill{display:block;height:100%;max-width:100%;border-radius:inherit;background:linear-gradient(90deg,#41b982,#e4ba55)}
.web-cycle-plan-marker{position:absolute;top:-4px;height:17px;width:2px;background:#9668d9;box-shadow:0 0 0 2px var(--web-card);transform:translateX(-1px)}
.web-cycle-position{display:flex;justify-content:space-between;gap:8px;align-items:baseline;min-width:0}
.web-cycle-position strong{font-size:clamp(13px,1.4vw,16px);font-variant-numeric:tabular-nums;white-space:nowrap}
.web-cycle-position span{font-size:11px;color:var(--web-muted);text-align:right;overflow-wrap:anywhere}
.web-cycle-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;min-width:0}
.web-cycle-facts p{display:grid;gap:1px;min-width:0;margin:0!important}
.web-cycle-facts small,.web-cycle-legend{font-size:10px;color:var(--web-muted);line-height:1.3;overflow-wrap:anywhere}
.web-cycle-facts b{font-size:12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.web-cycle-gauge--unknown{min-height:80px;align-content:center}
.solar-summary-card{min-width:0}.solar-current{display:flex;align-items:baseline;gap:8px;margin:5px 0 0!important;flex-wrap:wrap;color:var(--web-muted)}
.solar-current strong{font-size:clamp(1.45rem,3vw,2rem);font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--web-ink)}
.solar-current small{font-size:11px;color:var(--web-muted)}
.solar-summary{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr) minmax(0,.9fr);gap:9px;min-width:0}
.solar-summary-daily,.solar-summary-compare,.solar-summary-deviation{min-width:0;padding:10px 11px;border-radius:9px;background:var(--web-field)}
.solar-summary-daily>small,.solar-summary-compare>small,.solar-summary-deviation>small{display:block;color:var(--web-muted);line-height:1.35}
.solar-summary-daily>strong{display:block;margin-top:5px;font-size:clamp(1.2rem,2.4vw,1.7rem);font-variant-numeric:tabular-nums;white-space:nowrap}
.solar-summary-compare>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:5px}
.solar-summary-compare p{min-width:0;margin:0!important;display:flex;flex-direction:column;gap:2px}
.solar-summary-compare p>span{font-size:11px;color:var(--web-muted)}
.solar-summary-compare strong,.solar-summary-deviation>strong{font-size:clamp(1.05rem,2vw,1.35rem);font-variant-numeric:tabular-nums;white-space:nowrap}
.solar-summary-deviation>span{font-size:12px;white-space:nowrap}
.solar-summary-deviation[data-direction="positive"]{background:color-mix(in srgb,#39b781 9%,var(--web-field));border:1px solid color-mix(in srgb,#39b781 25%,var(--web-line))}
.solar-summary-deviation[data-direction="positive"]>strong,.solar-summary-deviation[data-direction="positive"]>span{color:#55c593}
.solar-summary-deviation[data-direction="negative"]{background:color-mix(in srgb,#e57373 8%,var(--web-field));border:1px solid color-mix(in srgb,#e57373 24%,var(--web-line))}
.solar-summary-deviation[data-direction="negative"]>strong,.solar-summary-deviation[data-direction="negative"]>span{color:#e58b8b}
.solar-quality{font-size:12px;color:var(--web-muted);margin:7px 0 3px!important;line-height:1.4}
.solar-summary-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
.solar-day-nav{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.solar-day-nav button{min-width:36px;min-height:36px;padding:6px 9px;border:1px solid var(--web-line);border-radius:9px;background:var(--web-field);color:var(--web-text);font:inherit;font-weight:750;cursor:pointer;touch-action:manipulation}
.solar-day-nav button[data-solar-day-today]{min-width:76px;color:#e6d8ff;background:#33284d;border-color:#58477a}
.solar-day-nav button:disabled{opacity:.38;cursor:default}
.solar-unavailable{margin:6px 0!important;padding:8px 10px;border-radius:8px;background:var(--web-field);color:var(--web-muted);font-size:12px}
.solar-summary-card[data-day-role="TOMORROW"] .solar-summary-daily{grid-column:1/-1}
.solar-summary-card[data-day-role="YESTERDAY"] .solar-summary-compare>div{grid-template-columns:1fr}
.solar-details{margin-bottom:4px}.solar-details>p{font-size:11px;color:var(--web-muted);overflow-wrap:anywhere}
.solar-summary-card .web-chart-legend{margin-top:5px}.web-storage-warning{display:grid;gap:3px;min-width:0}.web-storage-warning>strong{font-size:14px}.web-storage-warning>span{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.web-storage-warning details{margin-top:4px}.web-storage-warning details small{display:block;line-height:1.45;overflow-wrap:anywhere;color:var(--web-muted)}
@media(max-width:800px){
 .web-page[data-web-view="overview"] .web-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .web-page[data-web-view="overview"] .web-flow>div{padding:10px}
 .web-page[data-web-view="overview"] .web-flow strong{font-size:clamp(1.3rem,6vw,1.75rem)}
 .web-page[data-web-view="overview"] .web-input-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}
 .web-cycle-gauge{padding:8px}.web-cycle-position{align-items:flex-start;flex-direction:column;gap:0}.web-cycle-position span{text-align:left}.web-cycle-facts{gap:5px 8px}
 .solar-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .solar-summary-daily{grid-column:1}.solar-summary-compare{grid-column:1 / -1;grid-row:2}.solar-summary-deviation{grid-column:2;grid-row:1}
 .solar-summary-daily,.solar-summary-compare,.solar-summary-deviation{padding:9px}
 .solar-summary-daily>strong{font-size:clamp(1.05rem,5vw,1.35rem)}
 .solar-summary-compare strong,.solar-summary-deviation>strong{font-size:clamp(1rem,4vw,1.2rem)}
 .solar-summary-deviation>span{display:block;margin-top:2px;font-size:11px}
 .solar-current{gap:6px}.solar-current strong{font-size:1.45rem}
 .solar-summary-card>header{gap:5px}.solar-summary-card>header h2{font-size:1.05rem}
 .solar-day-nav{gap:3px}.solar-day-nav button{min-width:35px;min-height:40px;padding:6px 8px}.solar-day-nav button[data-solar-day-today]{min-width:69px}
}
/* V12 numeric provenance stays readable on mobile. */
.numeric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px;min-width:0}.numeric-metric{display:flex;flex-direction:column;gap:4px;padding:10px;border:1px solid var(--border,#334155);border-radius:8px;min-width:0;overflow-wrap:anywhere}.numeric-metric small{font-size:11px;opacity:.8}.numeric-metric strong{font-size:17px}.web-badge[data-power-quality]{max-width:65%;white-space:normal;text-align:right}.web-metric b{overflow-wrap:anywhere}.web-page .web-flow span{overflow-wrap:anywhere}
.web-storage-warning[data-status="STORAGE_FULL"]{background:var(--web-danger-bg);color:var(--web-danger)!important}.web-storage-warning[data-status="STORAGE_DEGRADED"],.web-storage-warning[data-status="STORAGE_WARNING"]{border:1px solid var(--web-warn-line)}.web-storage-warning[data-backup="DEGRADED"]>span:last-of-type{color:var(--web-warn,#e0ac54);font-weight:750}

/* Compact per-ASIC hardware maintenance control. */
.web-reboot{margin-left:auto;padding:2px 8px;min-width:32px;font-size:22px;line-height:1.2}.web-reboot:disabled{opacity:.4;cursor:not-allowed}
