/* Aethera Energy Platform v2 — independent responsive interface. */
:root{--bg:#f4f7fc;--panel:#fff;--panel-soft:#f8faff;--ink:#102540;--muted:#788aa3;--border:#e7edf6;--blue:#176af2;--cyan:#11bee9;--green:#0eaf77;--purple:#7959ef;--orange:#faa42c;--red:#ee5165;--shadow:0 2px 16px rgba(15,42,85,.045);--chart-grid:#e5ecf5;--map-grid:#cbdfe4;--map-card:#fff;--radius:14px}
:root[data-theme="dark"]{--bg:#0d1629;--panel:#15223a;--panel-soft:#1c2b45;--ink:#e9f2ff;--muted:#98a9c5;--border:#2a3a54;--blue:#6da7ff;--shadow:0 3px 20px rgba(0,0,0,.12);--chart-grid:#2c425e;--map-grid:#31526a;--map-card:#15223a}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 'Inter','Noto Sans Thai','Segoe UI',Tahoma,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}h1,h2,h3,h4,p{margin:0}h1,h2,h3{line-height:1.3}h3{font-size:15px;letter-spacing:-.15px}small{font-size:11px}input,select{outline:0;color:var(--ink);border:1px solid var(--border);border-radius:8px;background:var(--panel);min-height:40px;padding:9px 12px;min-width:0}input:focus,select:focus{border-color:#4f8bf8;box-shadow:0 0 0 3px rgba(43,115,235,.12)}.icon{vertical-align:middle;flex-shrink:0}.boot{display:grid;min-height:100vh;place-content:center;justify-items:center;gap:9px;color:#1f467b}.boot img{object-fit:contain}.boot strong{font-size:20px}.boot small{color:#76899e}.app-shell{display:flex;min-height:100vh}.sidebar{width:249px;flex:0 0 249px;background:linear-gradient(175deg,#0c2547 0%,#081a33 48%,#061731 100%);color:#d4e2f7;height:100vh;position:sticky;top:0;overflow-y:auto;display:flex;flex-direction:column;z-index:30;scrollbar-width:thin;scrollbar-color:#1e456b transparent}.brand{display:flex;align-items:center;gap:8px;padding:22px 21px 11px}.brand-symbol{width:56px;height:55px;object-fit:contain;filter:drop-shadow(0 1px 5px rgba(7,172,255,.25))}.brand span{display:flex;flex-direction:column}.brand strong{font-size:25px;color:#fff;letter-spacing:-1.4px;line-height:1.05}.brand small{font-size:9px;font-weight:800;letter-spacing:2.2px;color:#7fcffe;margin-top:4px}.side-note{font-size:10px;margin:2px 19px 20px;padding:10px 11px;border:1px solid #295075;border-radius:9px;color:#9bb6d5;display:flex;align-items:center;gap:7px;white-space:nowrap}.status-led{display:inline-block;height:7px;width:7px;background:#23dba2;border-radius:50%;box-shadow:0 0 0 4px rgba(13,197,138,.11);margin-right:2px}.tag-beta{margin-left:auto;font-size:8px;letter-spacing:1px;color:#80daff;background:#185683;padding:2px 5px;border-radius:4px}.sidebar-nav{padding:0 13px 14px;flex:1}.nav-label{font-size:9px;letter-spacing:1.6px;color:#6484ac;font-weight:800;margin:18px 12px 8px}.nav-link{display:flex;gap:11px;align-items:center;padding:10px 12px;border-radius:8px;color:#b1c5e0;font-size:12px;font-weight:500;min-height:40px;transition:.17s ease;white-space:nowrap}.nav-link .icon{color:#89accd}.nav-link:hover{background:rgba(57,127,225,.13);color:#fff}.nav-link.active{color:#fff;background:linear-gradient(98deg,#187bef,#1164cf);box-shadow:0 5px 18px rgba(0,106,221,.22);font-weight:700}.nav-link.active .icon{color:#fff}.nav-count{margin-left:auto;background:#e8495f;color:#fff;border-radius:12px;padding:1px 6px;font-size:9px}.side-bottom{margin:8px 14px 20px;padding:12px;background:linear-gradient(135deg,#12416c,#142a55);border:1px solid #24608d;border-radius:11px;display:flex;flex-direction:column;position:relative;overflow:hidden}.sidebar-image{height:63px;background:url('assets/solar-farm.webp') center/cover;border-radius:7px;margin-bottom:9px;opacity:.9}.side-bottom strong{color:#fff;font-size:12px}.side-bottom>small{color:#9adbf7;font-size:10px}.sidebar-brandline{font-size:8px;color:#8da4c4;margin-top:9px}.work-area{width:calc(100% - 249px);min-width:0;flex:1}.topbar{height:72px;background:var(--panel);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:25;gap:20px}.top-left,.top-right{display:flex;align-items:center;gap:18px;min-width:0}.breadcrumb{font-size:12px;white-space:nowrap;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:700}.breadcrumb span{margin:0 9px;color:#b8c6d5}.time-chip,.live-indicator{font-size:10px;font-weight:800;display:flex;gap:6px;align-items:center;color:var(--muted);white-space:nowrap}.live-indicator{padding:7px 10px;border-radius:16px;background:#e6f8ee;color:#139464;letter-spacing:.6px}.live-indicator i,.tiny-pulse{width:6px;height:6px;background:#22b979;border-radius:50%;box-shadow:0 0 0 3px rgba(20,185,121,.15)}.icon-button{border:0;background:transparent;color:var(--ink);width:36px;height:36px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:var(--panel-soft)}.hamburger{display:none}.notification-icon{position:relative}.notification-icon b{position:absolute;right:0;top:-2px;min-width:16px;height:16px;font-size:9px;line-height:16px;border-radius:50%;color:#fff;background:var(--red)}.profile{display:flex;align-items:center;gap:10px;padding-left:9px;border-left:1px solid var(--border)}.avatar{height:36px;width:36px;border-radius:50%;background:linear-gradient(135deg,#44c8fa,#166be9);display:grid;place-items:center;color:#fff;font-weight:800;font-size:11px}.profile-lines{display:flex;flex-direction:column;white-space:nowrap}.profile-lines b{font-size:12px}.profile-lines span{font-size:10px;color:var(--muted)}.notifications{position:absolute;right:145px;top:62px;width:360px;z-index:40;background:var(--panel);border:1px solid var(--border);box-shadow:0 20px 50px rgba(10,33,59,.14);padding:18px;border-radius:12px}.notification-row{display:flex;gap:12px;border-bottom:1px solid var(--border);padding:12px 0}.notification-row .dot{height:9px;width:9px;flex:0 0 9px;border-radius:50%;margin-top:5px;background:#eba02c}.notification-row .dot.danger{background:var(--red)}.notification-row b{font-size:11px}.notification-row small{display:block;color:var(--muted)}.notifications>a{display:flex;justify-content:space-between;color:var(--blue);font-size:11px;margin-top:12px}.page-content{max-width:1800px;margin:0 auto;padding:28px 27px 8px}.page-topline{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.page-tag{font-size:10px;letter-spacing:1.6px;font-weight:800;color:var(--blue)}.welcome h1{font-size:25px;letter-spacing:-.65px;margin:5px 0}.welcome p{font-size:11px;color:var(--muted)}.welcome p span{margin:0 7px}.welcome p b{color:var(--green)}.topline-actions,.section-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:7px 0 15px}.section-heading h2{font-size:18px;letter-spacing:-.35px}.section-heading p{font-size:11px;color:var(--muted);margin-top:4px}.btn{min-height:36px;display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:8px 13px;border-radius:8px;border:1px solid transparent;font-weight:700;font-size:11px;white-space:nowrap;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:#146ce8;color:#fff;border-color:#146ce8;box-shadow:0 5px 12px rgba(21,106,227,.13)}.btn-primary:hover{background:#075dcf;color:#fff}.btn-outline{background:var(--panel);border-color:var(--border);color:var(--ink)}.btn-outline:hover{color:var(--blue);border-color:#bdd8ff}.btn-soft{background:var(--panel-soft);color:var(--blue);border-color:var(--border)}.btn-danger{color:#e24b5b;border-color:#f7c8cf;background:#fff5f6}.btn-danger:hover{background:#ffe8eb}.card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.card-header h3{font-size:14px;font-weight:800}.card-header small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.card-header>a{font-size:10px}.card-header .seg-tabs{flex-shrink:0}.card:not(.kpi):not(.hero):not(.plant-card):not(.monitor-hero):not(.ev-cover):not(.battery-hero):not(.trade-hero):not(.carbon-hero):not(.integration-intro):not(.report-card){padding:18px}.hero{height:229px;position:relative;margin-bottom:18px;background:linear-gradient(91deg,#071c40 0%,#0b2b54 36%,rgba(8,38,80,.72) 56%,rgba(6,40,67,.15) 100%),url('assets/solar-campus.webp') center 40%/cover;display:flex;align-items:center}.hero-text{z-index:1;margin-left:34px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#71d8ff;display:flex;align-items:center;gap:9px}.hero h1{color:#fff;font-size:35px;letter-spacing:-1px;line-height:1.13;margin:12px 0 8px}.hero p{color:#b5ddfa;font-size:12px}.hero-tags{display:flex;gap:7px;margin-top:18px;flex-wrap:wrap}.hero-tags span{padding:5px 9px;border:1px solid rgba(164,212,255,.35);border-radius:15px;color:#d6f0ff;font-size:9px;background:rgba(12,69,126,.5)}.hero-mark{position:absolute;right:10%;bottom:-70px;font-size:280px;font-weight:900;font-style:italic;color:rgba(255,255,255,.055);line-height:1;pointer-events:none}.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px}.kpi-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.kpi{padding:15px 13px 12px;min-width:0}.metric-row{display:flex;justify-content:space-between;align-items:start;gap:5px;margin-bottom:12px}.metric-icon{height:40px;width:40px;display:grid;place-items:center;border-radius:11px}.metric-icon.green{background:#dff8ec;color:#12a868}.metric-icon.blue{background:#e1efff;color:#1685ef}.metric-icon.purple{background:#eee7ff;color:#8159ed}.metric-icon.orange{background:#fff0dc;color:#f3a023}.metric-badge{background:var(--panel-soft);color:var(--muted);font-size:9px;border-radius:15px;padding:4px 7px;font-weight:800;white-space:nowrap}.kpi>small{display:block;color:var(--muted);font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-value{font-size:23px;font-weight:850;letter-spacing:-.6px;white-space:nowrap;margin:4px 0}.metric-value span{font-size:11px;color:var(--muted);letter-spacing:0;font-weight:650}.metric-footer{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:4px}.metric-footer span{font-size:9px;color:var(--muted);white-space:nowrap}.spark{width:65px;height:29px}.grid-main{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(325px,.97fr);gap:15px;margin-bottom:16px}.chart-card,.flow-card{min-height:367px}.seg-tabs{display:flex;background:var(--panel-soft);border:1px solid var(--border);padding:3px;border-radius:8px;gap:2px}.seg-tabs button{border:0;border-radius:6px;background:transparent;padding:6px 12px;color:var(--muted);font-size:10px}.seg-tabs button.selected{background:#176df0;color:#fff;box-shadow:0 1px 7px rgba(19,98,231,.16)}.chart-summary{display:flex;align-items:center;gap:16px;margin:2px 0 4px}.chart-summary strong{font-size:25px;letter-spacing:-.65px}.chart-summary strong small{color:var(--muted);font-size:13px}.up-chip{font-size:10px;font-weight:700;color:#109b70}.chart-canvas{width:100%;overflow:hidden}.energy-chart{display:block;width:100%;height:238px;overflow:visible}.chart-tick{fill:var(--muted);font-size:10.8px}.chart-unit{fill:var(--muted);font-size:9px}.hover-dot:hover{opacity:1;stroke:white;stroke-width:2}.legend{display:flex;align-items:center;justify-content:center;gap:21px;color:var(--muted);font-size:10px;margin-top:4px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:9px;height:9px;border-radius:50%}.flow-card{display:flex;flex-direction:column}.flow-graphic{position:relative;display:grid;grid-template-columns:1fr 1.34fr 1fr;grid-template-rows:86px 86px;gap:18px 12px;align-items:center;justify-items:stretch;flex:1;padding:7px 0 4px}.flow-node{z-index:1;border:1px solid var(--border);border-radius:12px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;background:var(--panel-soft)}.flow-node svg{color:var(--blue)}.flow-node small{font-size:9px;font-weight:800;letter-spacing:.45px;color:var(--muted)}.flow-node b{font-size:14px;color:var(--ink);white-space:nowrap}.flow-node em{font-style:normal;font-size:8px;color:var(--green)}.pv-node{grid-column:1;grid-row:1}.pv-node svg{color:#13ba7b}.grid-node{grid-column:3;grid-row:1}.load-node{grid-column:2;grid-row:1}.load-node svg{color:#7c5cf3}.battery-node{grid-column:2;grid-row:2;padding:8px}.battery-node svg{color:#ed9f22}.flow-center{display:contents}.flow-center .energy-line{height:2px;background:repeating-linear-gradient(90deg,#31b9ba,#31b9ba 7px,transparent 7px,transparent 13px);animation:march 3s linear infinite;align-self:center;z-index:0}.energy-line.one{grid-column:1/3;grid-row:1;margin-left:80%;margin-right:68%;}.energy-line.two{grid-column:2/4;grid-row:1;margin-left:68%;margin-right:80%}.flow-line-down{grid-column:2;grid-row:1/3;width:2px;height:50px;justify-self:center;align-self:center;background:repeating-linear-gradient(180deg,#29a6ed,#29a6ed 7px,transparent 7px,transparent 13px)}@keyframes march{to{background-position:52px 0}}.balance-note{font-size:9px;color:var(--muted);background:var(--panel-soft);padding:9px;border-radius:8px;text-align:center;margin-top:12px}.card-foot-link{color:var(--blue);font-size:11px;font-weight:700;margin-top:12px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:13px}.grid-map{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(295px,.7fr);gap:15px;margin-bottom:16px}.right-panels{display:flex;flex-direction:column;gap:15px}.right-panels .card{flex:1;min-height:0}.map-layout{display:grid;grid-template-columns:1fr 190px;gap:13px}.stylized-map{background:linear-gradient(156deg,#e4f7f7,#b2dded);min-height:287px;border:1px solid #c8e4ed;position:relative;border-radius:9px;overflow:hidden}.stylized-map svg{display:block;width:100%;height:290px}.map-watermark{position:absolute;top:11px;left:12px;font-weight:900;font-size:10px;letter-spacing:1px;color:#418aab;z-index:1}.map-area{font-size:9px;fill:#67a6bb;letter-spacing:1.2px;font-weight:bold}.map-callout-label{fill:#8194a9;font-size:9px}.map-callout-title{fill:var(--ink);font-size:10px;font-weight:bold}.map-pin{cursor:pointer}.map-pin:hover circle{stroke:#133770;stroke-width:3}.map-legend{position:absolute;bottom:8px;left:8px;display:flex;gap:12px;background:rgba(255,255,255,.94);border-radius:8px;padding:6px 8px;color:#58718f;font-size:9px}.green-dot,.orange-dot,.red-dot,.blue-dot,.purple-dot{width:8px;height:8px;border-radius:50%;display:inline-block;vertical-align:middle;background:#15b879}.orange-dot{background:#ffb343}.red-dot{background:#ed4b65}.blue-dot{background:#198af1}.purple-dot{background:#8a5bed}.site-mini{display:flex;gap:8px;align-items:center;border:1px solid transparent;background:var(--panel-soft);width:100%;margin-bottom:7px;padding:5px;border-radius:8px;text-align:left}.site-mini:hover,.site-mini.selected{border-color:#aac8fc;background:var(--panel)}.site-mini img{width:47px;height:40px;object-fit:cover;border-radius:5px}.site-mini span{display:flex;flex:1;flex-direction:column;min-width:0}.site-mini b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-mini small{font-size:9px;color:var(--muted)}.site-mini i{height:7px;width:7px;flex-shrink:0;border-radius:50%;background:#17bd7d}.site-mini i.warning{background:#f7a62c}.site-mini i.offline{background:var(--red)}.map-view-all{display:flex;align-items:center;justify-content:flex-end}.mini-link{color:var(--blue);font-size:10px;display:inline-flex;align-items:center;gap:5px;font-weight:800}.chip{border-radius:20px;padding:5px 10px;font-weight:700;font-size:10px;white-space:nowrap}.blue-chip{color:#1167d7;background:#e8f1ff}.warn-chip{color:#ab6b00;background:#fff0ce}.outline-chip{color:var(--muted);background:var(--panel-soft);border:1px solid var(--border)}.weather-card{position:relative;background:linear-gradient(130deg,var(--panel) 45%,rgba(169,226,255,.28))}.weather-main{display:flex;align-items:center;justify-content:space-between;padding:2px 0 12px}.weather-main>div{display:flex;flex-direction:column;gap:4px;color:#ffb531}.weather-main>div span{color:var(--muted);font-size:10px}.weather-main strong{font-size:40px;line-height:1}.weather-main strong small{font-size:20px}.weather-stats{display:flex;gap:7px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:12px}.weather-stats span{font-size:10px;color:var(--muted)}.health-card{display:grid;grid-template-columns:1fr 1fr;align-items:center;column-gap:9px}.health-card .card-header{grid-column:1/3}.donut{width:160px;height:160px;border-radius:50%;background:var(--donut);display:grid;place-items:center;margin:12px auto 8px;position:relative}.donut-hole{height:112px;width:112px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--panel)}.donut-hole strong{font-size:22px}.donut-hole span{font-size:10px;color:var(--muted)}.health-card .donut{height:130px;width:130px}.health-card .donut-hole{height:91px;width:91px}.health-card .donut-hole strong{font-size:20px}.health-details,.mix-legend{display:flex;flex-direction:column;gap:12px}.health-details span,.mix-legend span{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.health-details b,.mix-legend b{margin-left:auto;color:var(--ink);font-weight:800}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:20px}.grid-3>.card{min-height:300px}.grid-3>.card>.donut{margin:5px auto 6px}.mix-legend{gap:6px}.incident-list{display:flex;flex-direction:column}.incident-row{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--border);align-items:center;min-width:0}.incident-row:last-child{border:0}.incident-icon{display:grid;place-items:center;height:31px;width:31px;border-radius:9px;background:#fff0d9;color:#eaa022;flex-shrink:0}.incident-icon.danger{background:#ffe8ec;color:#e84961}.incident-row>div:nth-child(2){display:flex;flex-direction:column;flex:1;min-width:0}.incident-row b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.incident-row small{font-size:9px;color:var(--muted)}.ack-label,.new-label{font-size:8px;letter-spacing:.45px;color:#10a16b;background:#e8f9ef;border-radius:5px;padding:4px 5px;font-weight:800;white-space:nowrap}.new-label{color:#e16a2f;background:#fff0e5}.ai-insight{display:flex;gap:12px;padding:16px;background:linear-gradient(125deg,#142f58,#076abb);border-radius:10px;color:#fff;align-items:flex-start}.ai-insight p{font-size:11px;line-height:1.8}.ai-orb{height:35px;width:35px;flex-shrink:0;border-radius:11px;background:linear-gradient(135deg,#04d6e7,#7454ff);display:grid;place-items:center;font-size:21px}.suggestion{margin:12px 0;background:var(--panel-soft);padding:10px 12px;border-radius:8px;display:flex;flex-direction:column}.suggestion b{color:var(--muted);font-size:10px}.suggestion strong{font-size:23px;color:var(--green)}.suggestion small{color:var(--muted);font-size:9px}.footer{margin-top:22px;border-top:1px solid var(--border);padding:17px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px}.footer b{color:var(--blue)}.footer .status-led{margin-left:8px}
/* lab */
.sim-banner{border-radius:14px;padding:21px 26px;background:linear-gradient(105deg,#071f41,#0b548d);color:#fff;display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:20px}.sim-banner h2{font-size:21px;margin:6px 0}.sim-banner p{font-size:11px;color:#a6cbe6}.demo-light{font-size:10px;color:#7ce8fd;letter-spacing:1px;font-weight:800}.sim-clock{display:flex;align-items:center;gap:10px;white-space:nowrap}.sim-clock b{font-size:30px;font-weight:800}.sim-clock span{font-size:10px;color:#9ed2ff}.control-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}.range-control{display:flex;flex-direction:column;gap:7px}.range-control>span{display:flex;justify-content:space-between;gap:10px;font-size:11px}.range-control>span b{font-weight:800}.range-control em{font-style:normal;font-weight:800;color:var(--blue)}.range-control input{width:100%;height:7px;border:0;padding:0;appearance:none;background:linear-gradient(90deg,#149af1,#08b79f);border-radius:9px;min-height:7px;cursor:pointer}.range-control input::-webkit-slider-thumb{appearance:none;background:#fff;border:3px solid #1c7eea;height:17px;width:17px;border-radius:50%;box-shadow:0 2px 7px #4475a84b}.range-control small{color:var(--muted);font-size:9px}.preset-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:25px;padding-top:16px;border-top:1px solid var(--border)}.preset-row>span{font-size:11px;color:var(--muted);font-weight:800;margin-right:4px}.preset-btn{border:1px solid var(--border);background:var(--panel-soft);border-radius:8px;color:var(--ink);padding:8px;font-size:10px}.preset-btn:hover{color:var(--blue);border-color:#90c1ff}.sim-grid .flow-graphic{min-height:230px}.sim-compare{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.sim-compare>div{background:var(--panel-soft);padding:9px;border-radius:8px;display:flex;flex-direction:column}.sim-compare small{color:var(--muted)}.sim-compare b{font-size:14px}.sim-battery-row{display:flex;gap:22px;align-items:center}.soc-large{height:130px;width:130px;flex:0 0 130px;border:11px solid #b7e6cf;border-top-color:#16b874;border-right-color:#16b874;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;align-content:center;font-size:39px;font-weight:800}.soc-large span{font-size:17px}.soc-large small{font-size:9px;color:var(--muted);flex:0 0 100%;text-align:center;font-weight:400}.battery-controls{flex:1;min-width:0}.battery-controls label,.field-label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:800;margin:0 0 15px}.battery-controls .range-control{margin-top:10px}.battery-controls .range-control span{font-weight:800}.fault-status{display:flex;align-items:center;gap:9px;padding:10px 0}.fault-status>span:last-child{font-size:11px;font-weight:700}.fault-actions,.charge-buttons{display:flex;gap:8px;flex-wrap:wrap}.muted-note{font-size:10px;color:var(--muted);line-height:1.8;margin:12px 0 0}.monitor-hero{position:relative;display:flex;justify-content:space-between;align-items:center;padding:24px 0 24px 28px!important;margin-bottom:15px;min-height:165px;background:linear-gradient(115deg,var(--panel) 60%,var(--panel-soft))}.monitor-hero h2{font-size:26px;margin:9px 0}.monitor-hero p{color:var(--muted);font-size:11px}.monitor-hero>img{width:240px;height:158px;object-fit:cover;border-radius:12px 0 0 12px}.monitor-statrow{display:flex;align-items:center;gap:16px;margin-top:17px;font-size:11px}.monitor-statrow b{font-size:13px}.choose-card{display:flex;gap:14px;justify-content:space-between;align-items:center;margin-bottom:15px}.choose-card label{display:flex;align-items:center;gap:15px;font-size:11px;font-weight:800;flex:1}.choose-card select{flex:1;max-width:480px}.choose-actions{display:flex;gap:9px}.spec-list{display:flex;flex-direction:column}.spec-list>div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border);padding:10px 0;font-size:11px}.spec-list>div:last-child{border:0}.spec-list span{color:var(--muted)}.spec-list b{text-align:right;font-weight:750}.plant-toolbar{margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:13px}.plant-search{display:flex;align-items:center;gap:8px;border:1px solid var(--border);padding:0 12px;border-radius:9px;flex:1;max-width:490px;color:var(--muted)}.plant-search input{border:0;box-shadow:none;background:transparent;width:100%;font-size:11px}.toolbar-right{display:flex;gap:8px}.plants-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.plant-card{min-width:0}.plant-card>img{width:100%;height:141px;object-fit:cover;display:block}.plant-card-body{padding:14px}.plant-top{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:11px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;font-size:9px;font-weight:800;border-radius:30px;white-space:nowrap}.badge i{width:6px;height:6px;border-radius:50%;background:currentColor}.badge-green{color:#0d9e63;background:#e0f7eb}.badge-orange{color:#be7600;background:#fff2dc}.badge-red{color:#df3e59;background:#ffe8ed}.site-code{font-size:9px;color:var(--muted)}.plant-card h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plant-card p{font-size:10px;color:var(--muted);margin:5px 0 12px;display:flex;gap:4px;align-items:center;overflow:hidden;white-space:nowrap}.plant-info-row{display:flex;justify-content:space-between;gap:8px;padding:12px 0;border-top:1px solid var(--border)}.plant-info-row>div{display:flex;flex-direction:column}.plant-info-row small{color:var(--muted)}.plant-info-row b{font-size:12px}.plant-detail{width:100%}.bottom-page-actions{display:flex;justify-content:center;margin:20px}.empty-state{padding:60px;color:var(--muted);text-align:center}.big-flow{margin-bottom:16px}.big-flow .flow-graphic{max-width:790px;margin:auto;min-height:315px;grid-template-rows:120px 115px;gap:24px}.big-flow .flow-node{padding:16px}.big-flow .flow-node b{font-size:20px}.flow-equation{text-align:center;border-top:1px solid var(--border);padding-top:15px;margin-top:10px;font-size:13px}.flow-equation span{color:var(--blue);font-weight:800}.flow-equation b{color:var(--green)}
/* tables & speciality pages */
.table-scroll{overflow-x:auto;scrollbar-width:thin}.table-scroll table{border-collapse:collapse;width:100%;min-width:640px;text-align:left}.table-scroll th{color:var(--muted);font-size:10px;font-weight:800;background:var(--panel-soft);padding:13px 11px;white-space:nowrap}.table-scroll td{padding:11px;border-bottom:1px solid var(--border);color:var(--ink);font-size:11px;white-space:nowrap}.table-scroll td b{font-weight:800}.table-scroll td small{display:block;color:var(--muted);font-size:9px}.table-scroll tr:hover td{background:var(--panel-soft)}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px}.table-link{border:0;background:transparent;color:var(--blue);font-size:11px;font-weight:800}.protocol-item{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--border);padding:10px 0}.protocol-item span:nth-child(2){display:flex;flex-direction:column;flex:1}.protocol-item b{font-size:11px}.protocol-item small{color:var(--muted);font-size:9px}.protocol-item a{color:var(--blue);font-size:10px;display:flex;align-items:center}.protocol-dot{height:33px;width:33px;border-radius:9px;display:grid;place-items:center;background:#eaf2ff;color:#1d77d9}.protocol-dot.purple{background:#f0eaff;color:#7f58ef}.battery-hero{display:grid;grid-template-columns:35% 1fr;min-height:214px;margin-bottom:15px}.battery-photo>img{width:100%;height:100%;min-height:214px;object-fit:cover;display:block}.battery-info{padding:23px}.battery-info .eyebrow{color:var(--blue)}.battery-info h2{font-size:23px;margin:8px 0}.battery-info p{color:var(--muted);font-size:11px}.big-soc{margin-top:16px;display:flex;align-items:center;gap:25px}.big-soc>strong{font-size:43px}.big-soc>strong small{font-size:18px}.big-soc>div{flex:1;display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted)}.progress{height:8px;border-radius:10px;background:#e4edf7;overflow:hidden;width:100%}.progress i{height:100%;background:linear-gradient(90deg,#11b17b,#23ceba);display:block;border-radius:10px;transition:width .2s}.ev-cover{height:230px;position:relative;margin-bottom:15px}.ev-cover>img{width:100%;height:100%;object-fit:cover;filter:brightness(.65)}.ev-cover>div{position:absolute;left:30px;bottom:33px;color:white}.ev-cover h2{font-size:30px;margin:8px 0}.ev-cover p{color:#d4eaff}.charger-meter{padding:18px;background:var(--panel-soft);border-radius:10px;margin-bottom:13px}.charger-meter strong{font-size:32px;display:block;margin-bottom:15px}.charger-meter strong small{font-size:13px;color:var(--muted)}.charge-row{display:flex;align-items:center;justify-content:space-between;gap:5px;border-bottom:1px solid var(--border);padding:10px 0;font-size:11px}.charge-row:last-child{border:0}.charger-id{font-weight:800}.invoice-estimate{margin-top:25px;background:var(--panel-soft);padding:18px;border-radius:9px;display:flex;flex-direction:column;gap:6px}.invoice-estimate span,.invoice-estimate small{font-size:11px;color:var(--muted)}.invoice-estimate strong{color:var(--green);font-size:28px}.forecast-bars>div{margin:16px 0}.forecast-bars>div>div:first-child{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px;font-size:11px}.forecast-bars b{font-weight:800}.trade-hero{background:linear-gradient(125deg,#0c2752,#125d9d);margin-bottom:15px;padding:22px 27px;display:flex;align-items:center;gap:18px;color:white}.trade-bubble{width:78px;height:78px;flex:0 0 78px;border-radius:20px;background:rgba(132,202,255,.17);display:grid;place-items:center;color:#71d5ff}.trade-hero h2{font-size:24px;margin:4px 0}.trade-hero p{color:#c5e2fa;font-size:11px}.trade-duo{display:flex;align-items:center;gap:12px}.party-card{flex:1;background:var(--panel-soft);border:1px solid var(--border);padding:13px;border-radius:11px;display:flex;flex-direction:column;gap:6px;min-width:0}.party-card span{font-size:9px;letter-spacing:1px;color:var(--blue);font-weight:800}.party-card b{font-size:12px}.party-card small{color:var(--muted);font-size:9px}.trade-arrows{color:var(--blue)}.trade-list{margin-top:18px}.workflow>div{display:flex;gap:13px;align-items:center;border-bottom:1px solid var(--border);padding:12px 0}.workflow>div>span{height:33px;width:33px;border-radius:50%;display:grid;place-items:center;background:#e2f0ff;color:#2071d3;font-size:12px;font-weight:800}.workflow section{display:flex;flex-direction:column;flex:1}.workflow section b{font-size:12px}.workflow section small{color:var(--muted);font-size:10px}.workflow svg{color:var(--green)}.carbon-hero{padding:28px;background:linear-gradient(110deg,#084c49,#087c66);color:white;display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.carbon-hero h2{font-size:26px;margin:9px 0}.carbon-hero p{color:#b0e5dc;font-size:12px}.carbon-leaf{height:95px;width:95px;display:grid;place-items:center;background:rgba(255,255,255,.12);border-radius:23px}.carbon-circle{margin:auto;background:radial-gradient(circle,#baf2dd,#e8fff5);border:16px solid #2ac78a;color:#087e55;border-radius:50%;height:230px;width:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.carbon-circle strong{font-size:27px}.carbon-circle span{font-size:10px;text-align:center;max-width:150px}.priority{font-size:9px;font-weight:800;padding:5px;border-radius:6px}.priority.danger{color:var(--red);background:#ffedf0}.priority.warning{color:#d5951a;background:#fff3da}.reports-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:15px}.report-card{padding:19px;display:flex;flex-direction:column;align-items:start;min-height:232px}.report-card h3{font-size:15px;margin:11px 0 8px}.report-card p{font-size:11px;color:var(--muted);flex:1}.report-card>.btn{margin-top:19px}.report-icon{height:48px;width:48px;display:grid;place-items:center;border-radius:13px}.report-icon.green{background:#e0f9ec;color:#10a36d}.report-icon.blue{background:#e2f0ff;color:#1775e2}.report-icon.purple{background:#eee9ff;color:#805cea}.printable-report{margin-bottom:12px}.summary-report-head{display:flex;align-items:center;gap:18px;margin:15px 0 20px}.summary-report-head img{height:94px;max-width:110px;object-fit:contain}.summary-report-head h2{font-size:19px}.summary-report-head span{font-size:11px;color:var(--muted)}.integration-intro{display:flex;align-items:center;gap:22px;padding:25px;margin-bottom:16px}.integration-intro h2{font-size:23px;margin-bottom:6px}.integration-intro p{font-size:11px;color:var(--muted);margin-bottom:11px}.integration-visual{border-radius:17px;color:white;display:grid;place-items:center;background:linear-gradient(135deg,#1c87ec,#6641de);height:88px;width:88px;flex:0 0 88px}.connector-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.connector-card{padding:15px!important}.connector-head{display:flex;align-items:center;justify-content:space-between}.vendor-ico{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;background:#e6f9ef;color:#11a375}.vendor-ico.blue{background:#e6f2ff;color:#1d77db}.vendor-ico.purple{background:#f0ebff;color:#8159ee}.connector-card h3{margin-top:14px;font-size:13px}.connector-card p{font-size:10px;color:var(--muted);min-height:42px;margin:7px 0}.connector-card>div:nth-last-child(2){display:flex;flex-direction:column;gap:3px;border-top:1px solid var(--border);padding-top:9px}.connector-card small{color:var(--muted)}.connector-card b{font-size:10px}.connector-card .btn{margin-top:12px;width:100%}.code-snippet{font:11px/1.7 Consolas,monospace;background:#10243c;color:#d2f0ff;border-radius:10px;padding:18px;overflow:auto}.check-items>div{display:flex;gap:10px;align-items:start;margin:10px 0;font-size:11px}.check-items svg{color:var(--green)}.setting-note{padding:13px;border-radius:9px;background:var(--panel-soft);display:flex;gap:9px;color:var(--muted);font-size:11px}.about-brand{display:flex;align-items:center;gap:27px}.about-brand img{width:132px;max-height:137px;object-fit:contain}.about-brand p{font-size:12px;color:var(--muted);line-height:1.85}.modal-backdrop{position:fixed;z-index:100;inset:0;background:rgba(3,15,32,.64);display:grid;place-items:center;padding:20px}.modal-window{width:min(450px,95vw);max-height:90vh;overflow:auto;background:var(--panel);padding:23px;border-radius:15px;box-shadow:0 25px 80px rgba(0,0,0,.23)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-head h3{font-size:19px}.modal-actions{display:flex;gap:9px;justify-content:flex-end}.modal-window>p{line-height:1.9;color:var(--muted)}.toast-area{position:fixed;bottom:19px;right:20px;z-index:120;display:flex;flex-direction:column;gap:9px}.toast{background:#11395f;color:#fff;box-shadow:0 12px 30px #0e275447;border:1px solid #3672a3;padding:13px 17px;border-radius:10px;display:flex;align-items:center;gap:9px;font-size:12px;max-width:320px}.toast.error{background:#a72847;border-color:#df6180}.mobile-overlay{display:none}
/* dark theme nuance */
:root[data-theme="dark"] .stylized-map{background:linear-gradient(155deg,#16415b,#265b66);border-color:#31617a}:root[data-theme="dark"] .map-legend{background:#172f44}:root[data-theme="dark"] .live-indicator{background:#144338;color:#56dbad}:root[data-theme="dark"] .badge-green{background:#194534}:root[data-theme="dark"] .badge-orange{background:#453419}:root[data-theme="dark"] .badge-red{background:#4c2031}:root[data-theme="dark"] .metric-icon.blue{background:#1a3557}:root[data-theme="dark"] .metric-icon.green{background:#204838}:root[data-theme="dark"] .metric-icon.purple{background:#352958}:root[data-theme="dark"] .metric-icon.orange{background:#4d371c}:root[data-theme="dark"] .btn-danger{background:#401f31;border-color:#75384b}:root[data-theme="dark"] .progress{background:#263c51}
/* responsive */
@media(max-width:1500px){.kpi-grid{grid-template-columns:repeat(3,1fr)}.plants-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.connector-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{height:219px}.metric-value{font-size:25px}}
@media(min-width:1600px){.page-content{padding-left:37px;padding-right:37px}.kpi{padding:17px}.hero{height:240px}}
@media(max-width:1160px){.sidebar{width:223px;flex-basis:223px}.work-area{width:calc(100% - 223px)}.page-content{padding:22px 17px 8px}.topbar{padding:0 18px}.grid-map{grid-template-columns:1fr}.right-panels{display:grid;grid-template-columns:1fr 1fr}.grid-main{grid-template-columns:1fr}.grid-3{grid-template-columns:1fr 1fr}.map-layout{grid-template-columns:1fr 220px}.connector-grid{grid-template-columns:repeat(3,1fr)}.plants-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.sidebar{position:fixed;left:-266px;width:258px;height:100dvh;transition:left .2s;box-shadow:0 8px 30px rgba(0,0,0,.18)}.sidebar.mobile-visible{left:0}.mobile-overlay{display:block;position:fixed;inset:0;background:#04132194;z-index:27}.work-area{width:100%}.hamburger{display:inline-flex}.topbar{height:63px}.page-content{padding:20px 15px 4px}.page-topline{align-items:flex-start}.topline-actions{display:none}.hero{height:218px}.hero h1{font-size:28px}.hero-mark{font-size:180px}.kpi-grid,.kpi-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:1fr 1fr}.reports-grid{grid-template-columns:repeat(2,1fr)}.connector-grid{grid-template-columns:repeat(2,1fr)}.time-chip{display:none}.profile-lines{display:none}.profile svg{display:none}.notifications{right:15px}.grid-main{grid-template-columns:1fr}.map-layout{grid-template-columns:1fr 160px}}
@media(max-width:560px){.topbar{padding:0 11px}.top-right{gap:7px}.breadcrumb{font-size:11px;max-width:180px;overflow:hidden;text-overflow:ellipsis}.profile{padding-left:4px}.avatar{width:30px;height:30px}.page-content{padding:16px 11px 2px}.welcome h1{font-size:21px}.welcome p{font-size:10px;line-height:1.8}.welcome p span{margin:0 3px}.section-heading{align-items:start;flex-direction:column}.section-heading h2{font-size:16px}.section-actions .btn{font-size:10px}.hero{height:225px;background-position:65% center}.hero-text{margin:0 15px}.hero h1{font-size:27px}.hero p{font-size:10px}.hero-tags span{font-size:8px;padding:5px 7px}.eyebrow{font-size:9px}.kpi-grid,.kpi-grid.four{gap:8px}.kpi{padding:10px}.metric-icon{height:34px;width:34px}.metric-icon svg{width:19px}.metric-badge{font-size:8px;padding:3px 5px}.metric-value{font-size:19px}.metric-value span{font-size:9px}.metric-footer span{font-size:8px}.spark{width:40px}.card:not(.kpi):not(.hero):not(.plant-card):not(.monitor-hero):not(.ev-cover):not(.battery-hero):not(.trade-hero):not(.carbon-hero):not(.integration-intro):not(.report-card){padding:13px}.chart-card,.flow-card{min-height:0}.chart-card .card-header{flex-wrap:wrap}.energy-chart{height:190px}.seg-tabs button{font-size:9px;padding:5px 8px}.map-layout{grid-template-columns:1fr}.stylized-map svg{height:250px}.stylized-map{min-height:245px}.map-side-list{display:grid;grid-template-columns:1fr 1fr;gap:5px}.map-side-list .site-mini{margin:0}.map-side-list .site-mini img{width:32px;height:32px}.map-side-list .site-mini b{font-size:9px}.map-view-all{grid-column:1/3;padding:7px 0}.right-panels{grid-template-columns:1fr}.health-card{grid-template-columns:1fr 1fr}.grid-3,.reports-grid{grid-template-columns:1fr}.grid-3>.card{min-height:0}.plant-toolbar{align-items:stretch;flex-direction:column}.plant-search{max-width:none}.toolbar-right{flex-wrap:wrap}.toolbar-right select{flex:1}.plants-grid{grid-template-columns:1fr 1fr;gap:9px}.plant-card>img{height:94px}.plant-card-body{padding:9px}.plant-card h3{font-size:11px}.plant-info-row b{font-size:10px}.plant-card p{font-size:9px}.plant-card .badge{font-size:8px;padding:3px 5px}.site-code{font-size:8px}.plant-detail{font-size:9px;padding:7px 4px}.control-grid{grid-template-columns:1fr}.sim-banner{padding:16px}.sim-banner h2{font-size:16px}.sim-banner p{font-size:10px}.sim-clock{flex-direction:column;gap:0}.sim-clock b{font-size:22px}.sim-clock span{font-size:8px}.sim-clock svg{display:none}.sim-battery-row{flex-direction:column;align-items:stretch}.soc-large{align-self:center}.monitor-hero{padding:16px!important;min-height:145px}.monitor-hero h2{font-size:19px}.monitor-hero img{width:110px;height:125px;object-fit:cover;border-radius:9px}.choose-card{align-items:stretch;flex-direction:column}.choose-card label{display:block}.choose-card select{width:100%;margin-top:7px}.battery-hero{grid-template-columns:1fr}.battery-photo img{height:140px;min-height:140px}.battery-info{padding:15px}.battery-info h2{font-size:19px}.ev-cover{height:180px}.ev-cover h2{font-size:20px}.ev-cover>div{left:18px;bottom:20px}.trade-duo{gap:6px}.party-card{padding:8px}.party-card b{font-size:10px}.party-card small{font-size:8px}.trade-arrows svg{width:16px}.trade-hero{padding:15px}.trade-hero h2{font-size:19px}.trade-bubble{height:45px;width:45px;flex-basis:45px}.carbon-hero h2{font-size:21px}.carbon-leaf{width:60px;height:60px}.footer{flex-direction:column;align-items:flex-start;gap:6px}.about-brand{flex-direction:column;align-items:start}.notifications{right:8px;width:calc(100vw - 16px)}.connector-grid{grid-template-columns:1fr 1fr;gap:9px}.connector-card{padding:10px!important}.connector-card h3{font-size:11px}.connector-card .btn{font-size:9px}.table-scroll table{min-width:550px}}
@media(max-width:365px){.plants-grid,.connector-grid{grid-template-columns:1fr}.kpi-grid,.kpi-grid.four{grid-template-columns:1fr 1fr}.live-indicator{font-size:8px;padding:5px}.top-right{gap:3px}}
@media print{.sidebar,.topbar,.page-topline .topline-actions,.footer,.section-actions,.btn,.notifications,.modal-backdrop{display:none!important}.work-area{width:100%}.page-content{padding:0}.card{box-shadow:none;break-inside:avoid}.app-shell{display:block}.page-content>*{break-inside:avoid}body{background:#fff;color:#182b44}}

/* AETHERA V3 | Premium interactive energy-flow + global language control */
.language-switch{display:inline-flex;flex:0 0 auto;padding:3px;gap:2px;background:#f1f5fb;border:1px solid #dce7f5;border-radius:10px;box-shadow:inset 0 1px 2px #10366e09}.language-switch button{appearance:none;border:0;min-width:45px;height:31px;padding:5px 10px;border-radius:7px;background:transparent;color:#627b9b;font-size:11px;font-weight:800;transition:all .18s}.language-switch button.active{background:#146ef0;color:#fff;box-shadow:0 3px 10px #166deb3b}.language-switch button:focus-visible{outline:2px solid #15aaf7;outline-offset:2px}
:root[data-theme="dark"] .language-switch{background:#1c314f;border-color:#2f4a6b}:root[data-theme="dark"] .language-switch button{color:#b1c6df}:root[data-theme="dark"] .language-switch button.active{color:#fff}
body[data-route="flow"] .page-topline{display:none}body[data-route="flow"] .page-content{padding-top:26px}.flow-premium{max-width:100%;padding:0}.flow-premium>.section-heading{margin:0 0 17px;align-items:center}.flow-premium>.section-heading h2{font-size:27px;letter-spacing:-.9px}.flow-premium>.section-heading p{font-size:12px;margin-top:6px}.flow-premium>.section-heading .btn{height:40px;padding:8px 16px;font-size:12px}
.flow-scene{--flow-stage-height:518px;position:relative;isolation:isolate;min-height:var(--flow-stage-height);border:1px solid #a8d6fa;border-radius:18px;overflow:hidden;background:linear-gradient(90deg,rgba(219,240,255,.6),rgba(236,248,255,.25)),url('assets/solar-campus.webp') center 52%/cover;box-shadow:0 18px 40px rgba(24,103,173,.13)}
.flow-scene:before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(220,239,255,.75) 0%,rgba(235,247,255,.36) 51%,rgba(222,247,236,.40) 100%)}.flow-scene-wash{position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse 45% 58% at 51% 50%,rgba(10,93,166,.37),transparent 74%)}
.flow-cards{position:absolute;z-index:2;inset:18px 20px 21px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:193px 193px;align-content:space-between;column-gap:16%;pointer-events:none}
.flow-visual-card{pointer-events:auto;position:relative;display:block;text-align:left;width:100%;height:193px;overflow:hidden;border:1px solid rgba(255,255,255,.91);border-radius:15px;background:linear-gradient(118deg,rgba(255,255,255,.97) 2%,rgba(244,252,255,.91) 45%,rgba(237,247,255,.73));color:#0c294a;box-shadow:0 10px 34px rgba(12,77,139,.14),inset 0 1px 0 #fff;padding:15px 17px;transition:transform .18s,border-color .18s,box-shadow .18s}
.flow-visual-card:hover{transform:translateY(-3px);box-shadow:0 15px 37px rgba(16,92,167,.24);border-color:#80b9fb}.flow-visual-card.is-selected{outline:2px solid #348ef9;outline-offset:0}.flow-visual-card:focus-visible{outline:3px solid #1268ed;outline-offset:1px}
.flow-card-grid{background:linear-gradient(122deg,rgba(255,255,255,.98),rgba(228,242,255,.81))}.flow-card-battery{background:linear-gradient(122deg,rgba(255,255,255,.98),rgba(229,253,245,.84))}
.flow-visual-copy{width:61%;min-width:0;position:relative;z-index:3}.flow-name{font-size:13px;font-weight:850;margin-bottom:4px;text-shadow:0 1px 0 #fff;white-space:nowrap}.flow-number{font-size:29px;font-weight:900;letter-spacing:-1.25px;line-height:1.13;margin-bottom:8px}.flow-number small{font-size:12px;color:#2d5070;letter-spacing:0;font-weight:700}.flow-activity{display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:800;border-radius:16px;padding:4px 8px;background:#e9f7ff;color:#167edc}.flow-activity i{height:6px;width:6px;background:currentColor;border-radius:50%;animation:flow-pulse 1.6s ease-in-out infinite}.flow-state-green{background:#e0f9ec;color:#08a06d}.flow-state-violet{background:#eeeaff;color:#7553da}.flow-state-blue{background:#e5f1ff;color:#177ce4}
.flow-asset{position:absolute;right:-12px;bottom:-19px;width:58%;height:166px;object-fit:contain;object-position:center;filter:drop-shadow(0 10px 11px rgba(35,91,147,.16));z-index:2;transition:transform .2s;pointer-events:none}.flow-visual-card:hover .flow-asset{transform:translateY(-5px) scale(1.04)}
.flow-tiny-curve{display:block;width:100%;height:29px;max-width:165px;margin-top:6px;overflow:visible}.flow-curve-block{width:min(100%,155px)}.flow-curve-block>span{display:flex;justify-content:space-between;width:100%;font-size:7.5px;color:#6a90b1}.flow-tap-hint{position:absolute;right:8px;top:8px;border:1px solid #c4dfff;border-radius:12px;padding:2px 6px;background:#f6fbff;color:#367ebe;font-size:8px;font-weight:750;opacity:.85}
.flow-wires{position:absolute;z-index:1;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.flow-wire{transition:opacity .3s}.flow-wire-idle{opacity:.13}.electric-stream{stroke-dasharray:17 10;animation:flow-stream 1.35s linear infinite}.electric-spark{animation:flow-stream 1.7s linear infinite}.flow-scene.is-paused .electric-stream,.flow-scene.is-paused .electric-spark{animation-play-state:paused}.flow-hub{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);height:94px;min-width:188px;border-radius:16px;padding:15px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;background:linear-gradient(132deg,rgba(12,35,113,.97),rgba(8,94,187,.97));border:2px solid #88d8ff;box-shadow:0 0 0 7px rgba(50,161,250,.17),0 0 28px #159fffbb,0 13px 34px #0a4d84b5;text-align:center}.flow-hub span{font-size:11px;letter-spacing:.3px;font-weight:750;color:#b8e7ff}.flow-hub strong{font-size:24px;white-space:nowrap}.flow-hub strong small{font-size:13px}.flow-hub i{position:absolute;bottom:0;left:12%;right:12%;height:2px;background:linear-gradient(90deg,transparent,#80ffff,transparent);box-shadow:0 0 12px #5ce8ff}.flow-scene-stamp{position:absolute;z-index:3;bottom:5px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#19619d;background:rgba(238,250,255,.87);border:1px solid #b5dcf8;border-radius:11px;padding:2px 12px;font-size:8px;font-weight:800;letter-spacing:.5px}
@keyframes flow-stream{to{stroke-dashoffset:-108}}@keyframes flow-pulse{0%,100%{opacity:1}50%{opacity:.35}}
.flow-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:10px 0 14px;padding:8px 12px;background:#f5faff;border-radius:10px;border:1px solid #dfeefa;color:#527591;min-height:43px;font-size:10px}.flow-controls>span{display:inline-flex;gap:6px;align-items:center}.flow-controls>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.flow-scenario{border:1px solid #cfe1f7;border-radius:7px;padding:5px 9px;background:#fff;color:#255e96;font-size:10px;font-weight:800}.flow-scenario:hover{background:#e7f5ff;color:#115bcd}
.flow-analytics-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.flow-premium .flow-summary-tile{min-width:0;padding:14px!important;min-height:174px}.flow-summary-tile h3{font-size:12px;letter-spacing:-.2px;margin-bottom:9px}.flow-summary-tile .card-header{margin-bottom:7px}.flow-summary-tile .card-header h3{font-size:12px}.flow-mix-body{display:flex;align-items:center;gap:10px}.flow-ring{--ring-value:0%;--ring-color:#168df2;width:112px;height:112px;min-width:88px;flex:0 0 44%;max-width:112px;max-height:112px;border-radius:50%;aspect-ratio:1;display:grid;place-items:center;background:conic-gradient(var(--ring-color) 0% var(--ring-value),#ddeaf6 var(--ring-value) 100%);box-shadow:inset 0 1px 3px #20537b18}.flow-ring>div{border-radius:50%;width:73%;aspect-ratio:1;background:var(--panel);display:grid;place-items:center}.flow-ring strong{font-size:17px;letter-spacing:-.5px}.flow-mix-list{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}.flow-mix-list>span{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--muted);white-space:nowrap}.flow-mix-list b{margin-left:auto;color:var(--ink);font-size:10px}.flow-mix-list small{font-size:9px;color:var(--muted)}.dot-pill{width:7px;height:7px;border-radius:50%;flex:0 0 7px}.flow-link-mini{border:1px solid var(--border);border-radius:7px;background:var(--panel-soft);color:var(--blue);font-size:10px;padding:5px;align-self:flex-start;font-weight:750}.flow-trend-tile .seg-tabs button{padding:3px 5px;min-width:28px;font-size:8px}.flow-trend-tile .chart-canvas{height:99px}.flow-trend-tile .chart-canvas svg,.flow-trend-tile .energy-chart{height:100px;width:100%}.flow-trend-tile .legend{font-size:9px}.flow-trend-tile .chart-tick{font-size:10px}
.flow-inspection{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border:1px solid var(--border);border-top:0;border-radius:0 0 12px 12px;margin:0 6px 9px;gap:16px;background:var(--panel)}.flow-inspection>div{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.flow-inspection small{font-size:10px;color:var(--muted)}.flow-inspection strong{font-size:11px;color:var(--blue)}.flow-inspection p{font-size:10px;color:var(--muted)}
.flow-formula{border:1px solid #d9e7f5;border-radius:12px;background:linear-gradient(120deg,#f8fbff,#eff8ff);padding:13px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.flow-formula>span{font-weight:800;font-size:11px;color:#44709a}.flow-formula>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:#156df1}.flow-formula>div i{color:#6480a3;font-size:15px;font-style:normal}.flow-formula>div b:nth-of-type(3){color:#03b77d}.flow-formula>div strong{color:#0c9d6d}.flow-formula>small{font-size:9px;color:#7995b0}
:root[data-theme="dark"] .flow-scene{background-color:#13283a;filter:saturate(.9)}:root[data-theme="dark"] .flow-scene:before{background:linear-gradient(135deg,rgba(0,28,49,.52),rgba(7,46,73,.12))}:root[data-theme="dark"] .flow-controls{background:#1c2b45;border-color:#304a62;color:#b2cee6}:root[data-theme="dark"] .flow-scenario{background:#1c3550;border-color:#365b7e;color:#d0e5ff}:root[data-theme="dark"] .flow-formula{background:linear-gradient(120deg,#122c49,#193d55);border-color:#2d4f70}:root[data-theme="dark"] .flow-formula>span{color:#a6c6e5}:root[data-theme="dark"] .flow-formula>small{color:#a7c2da}
@media(min-width:1600px){.flow-scene{--flow-stage-height:543px}.flow-cards{grid-template-rows:205px 205px}.flow-visual-card{height:205px}.flow-asset{height:180px}.flow-number{font-size:34px}}
@media(max-width:1290px){.flow-scene{--flow-stage-height:490px}.flow-cards{column-gap:13%;grid-template-rows:185px 185px}.flow-visual-card{height:185px;padding:13px 12px}.flow-asset{width:57%;height:146px}.flow-visual-copy{width:63%}.flow-number{font-size:25px}.flow-name{font-size:12px}.flow-premium>.section-heading h2{font-size:23px}.flow-ring{width:90px}.flow-mix-body{gap:5px}.flow-mix-list>span{font-size:8px}.flow-mix-list b{font-size:9px}}
@media(max-width:1090px){.flow-scene{--flow-stage-height:465px}.flow-cards{inset:16px;column-gap:14%;grid-template-rows:169px 169px}.flow-visual-card{height:169px}.flow-number{font-size:21px}.flow-name{font-size:11px}.flow-asset{height:130px;right:-16px;bottom:-13px}.flow-analytics-row{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-premium .flow-summary-tile{min-height:164px}.flow-ring{width:104px;flex-basis:39%}.flow-mix-list>span{font-size:10px}.flow-mix-list b{font-size:10px}}
@media(max-width:800px){.flow-scene{--flow-stage-height:480px}.flow-cards{column-gap:16%;grid-template-rows:177px 177px}.flow-visual-card{height:177px}.flow-asset{height:140px}.flow-premium>.section-heading h2{font-size:21px}.top-right{gap:10px}.language-switch button{min-width:38px;padding:4px 7px;font-size:10px}}
@media(max-width:560px){.language-switch{padding:2px;gap:1px;border-radius:8px}.language-switch button{min-width:32px;height:29px;padding:4px;font-size:9px}.top-right>.icon-button.tooltip{display:none}.top-right .profile{display:none}.flow-scene{--flow-stage-height:665px}.flow-premium>.section-heading h2{font-size:19px}.flow-cards{inset:13px 10px 13px;grid-template-rows:repeat(4,138px);grid-template-columns:1fr;gap:13px;align-content:initial}.flow-visual-card{height:138px;padding:10px 13px}.flow-visual-card.is-selected{outline-width:1px}.flow-asset{height:137px;width:56%;right:-13px;bottom:-7px}.flow-visual-copy{width:56%}.flow-name{font-size:12px}.flow-number{font-size:23px}.flow-activity{font-size:9px}.flow-curve-block{max-width:128px}.flow-tiny-curve{height:22px}.flow-hub{display:none}.flow-wires{display:none}.flow-scene-stamp{display:none}.flow-controls{align-items:flex-start;flex-direction:column}.flow-controls>div{gap:4px}.flow-scenario{font-size:9px;padding:5px 6px}.flow-analytics-row{grid-template-columns:1fr 1fr;gap:8px}.flow-premium .flow-summary-tile{min-height:175px;padding:11px!important}.flow-mix-body{flex-direction:column;align-items:stretch}.flow-ring{width:80px;flex:0 0 80px;align-self:center}.flow-ring strong{font-size:13px}.flow-mix-list{gap:5px}.flow-mix-list>span{font-size:9px}.flow-mix-list b{font-size:9px}.flow-trend-tile .card-header{flex-wrap:wrap}.flow-trend-tile .seg-tabs{max-width:100%}.flow-trend-tile .chart-tick{font-size:9px}.flow-inspection{align-items:flex-start;flex-direction:column;gap:9px}.flow-formula{gap:6px;padding:12px}.flow-formula>div{gap:7px;font-size:12px}.flow-formula>small{line-height:1.4}}
@media(prefers-reduced-motion:reduce){.electric-stream,.electric-spark,.flow-activity i{animation:none!important}.flow-visual-card,.flow-asset{transition:none}}
@media(max-width:560px){.topbar{gap:6px}.top-left{gap:6px;min-width:0;flex:1;overflow:hidden}.breadcrumb{max-width:80px!important;font-size:10px;flex-shrink:1}.top-right{gap:3px;flex-shrink:0}.live-indicator{font-size:8px;padding:5px 6px;letter-spacing:0}.notification-icon{min-width:27px;width:27px}.language-switch button{min-width:30px}}
@media(max-width:370px){.live-indicator{display:none}.breadcrumb{max-width:92px!important}}
@media(min-width:801px) and (max-width:1100px){.topbar{gap:8px}.profile-lines,.profile>.icon{display:none}.profile{padding-left:5px}.top-right{gap:9px}.breadcrumb{max-width:175px;overflow:hidden;text-overflow:ellipsis}.top-left{gap:8px}}
/* V6: high-fidelity interactive reconstruction of approved Aethera mockup. */
body[data-route="flow"]{background:linear-gradient(180deg,#f2f7fd,#e9f3fe 70%,#f6f9ff)}
@media(min-width:1100px){body[data-route="flow"] .sidebar{width:276px;flex-basis:276px}body[data-route="flow"] .work-area{width:calc(100% - 276px)}body[data-route="flow"] .topbar{height:58px}}
body[data-route="flow"] .page-content{max-width:none;padding:24px 29px 8px;background:transparent}
.flow-premium>.section-heading{margin:0 2px 15px;min-height:64px;align-items:flex-start}
.flow-premium>.section-heading h2{font-size:30px;line-height:1.17;letter-spacing:-1.05px;color:#0c2553;font-weight:900}
.flow-premium>.section-heading p{font-size:12px;color:#7289ae;margin-top:8px}
.flow-premium>.section-heading .btn{min-height:45px;height:45px;padding:11px 22px;font-size:12px;border-radius:10px}
.flow-scene{--flow-stage-height:505px;position:relative;min-height:var(--flow-stage-height);border-radius:18px;overflow:hidden;border:1px solid #b8ddfa;background:linear-gradient(180deg,rgba(202,231,255,.06),rgba(203,241,255,.04)),url('assets/flow-panorama.webp') center 48%/cover;box-shadow:0 6px 18px rgba(19,99,180,.07);isolation:isolate}
.flow-scene:before{position:absolute;inset:0;background:linear-gradient(180deg,rgba(221,241,255,.05),rgba(33,149,234,.03));z-index:0;pointer-events:none}
.flow-scene-wash{position:absolute;inset:0;background:radial-gradient(ellipse 27% 28% at 49% 51%,rgba(53,163,252,.25),transparent 85%);pointer-events:none;z-index:0}
.flow-cards{position:absolute;z-index:3;inset:20px 18px 17px;display:grid;grid-template-columns:37.7% 37.7%;grid-template-rows:193px 193px;align-content:space-between;justify-content:space-between;pointer-events:none;gap:0}
.flow-visual-card{height:193px;min-width:0;overflow:hidden;text-align:left;pointer-events:auto;position:relative;padding:18px 18px 13px;border-radius:15px;border:1px solid rgba(255,255,255,.96);background:linear-gradient(104deg,rgba(255,255,255,.95) 1%,rgba(245,251,255,.94) 43%,rgba(234,247,255,.78));box-shadow:0 13px 30px rgba(11,83,151,.17),inset 0 1px 2px white;color:#101f40;transition:transform .2s,box-shadow .2s,border-color .2s}
.flow-visual-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(20,95,184,.24);border-color:#8dc8ff}
.flow-visual-card.is-selected{outline:0;border-color:#add7ff;box-shadow:0 11px 29px rgba(35,100,167,.17),inset 0 0 0 1px rgba(190,230,255,.65)}
.flow-card-pv{grid-column:1;grid-row:1}.flow-card-load{grid-column:2;grid-row:1}.flow-card-grid{grid-column:1;grid-row:2}.flow-card-battery{grid-column:2;grid-row:2}
.flow-visual-copy{width:51%;z-index:2;position:relative;pointer-events:none}
.flow-name{font-size:15px;font-weight:850;letter-spacing:-.3px;display:flex;align-items:center;gap:10px;margin:0 0 7px;white-space:nowrap}
.flow-label-icon{display:inline-flex;align-items:center;justify-content:center;height:30px;width:30px;color:#1786ff}
.flow-icon-pv{color:#f5a716}.flow-icon-load{color:#8150ff}.flow-icon-grid{color:#1076f5}.flow-icon-battery{color:#02b87e}
.flow-number{font-size:35px;line-height:1.08;letter-spacing:-1.15px;font-weight:900;color:#0a2044;margin:0 0 6px;white-space:nowrap}
.flow-card-pv .flow-number{color:#116fe9}
.flow-number small{font-size:17px;letter-spacing:0;font-weight:850;color:inherit;margin-left:4px}
.flow-delta{color:#10a56c;font-size:12px;font-weight:900;display:flex;align-items:center;gap:6px;margin-bottom:6px;white-space:nowrap}
.flow-delta.is-down{color:#e95048}
.flow-delta small{font-size:9px;color:#687f9e;font-weight:600}
.flow-curve-block{width:min(98%,188px);position:relative;z-index:5}
.flow-spark{display:block;height:36px;width:100%;overflow:visible}
.flow-axis{display:flex;justify-content:space-between;color:#6485a8;font-size:7px;margin-top:-1px}
.flow-asset{position:absolute;pointer-events:none;z-index:1;right:-4px;bottom:-4px;width:63%;height:178px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 7px 10px rgba(18,75,127,.08));transition:transform .25s ease}
.flow-visual-card:hover .flow-asset{transform:translateY(-5px) scale(1.025)}
.flow-card-battery .flow-asset{right:-1px;bottom:-4px;width:62%;height:172px}
.flow-card-load .flow-asset{right:0;width:64%;height:180px}
.flow-card-grid .flow-asset{right:-2px;width:60%;height:181px}
.flow-status-chip{position:absolute;top:12px;right:13px;z-index:4;background:#d7f7ea;color:#007e56;border-radius:22px;padding:6px 11px;font-size:10px;font-weight:900;line-height:1;white-space:nowrap;box-shadow:0 1px 4px #ffffffbb}
.flow-status-chip.consumption{background:#ffe7e5;color:#dc4135}
.flow-status-chip.importer{background:#ddebff;color:#006ae9;top:auto;bottom:10px;right:15px}
.flow-wires{position:absolute;z-index:2;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.flow-wire{transition:opacity .25s ease}.flow-wire-idle{opacity:.08}
.electric-stream{animation:flow-stream 1.5s linear infinite}
.flow-particle{filter:drop-shadow(0 0 9px #fff)}
.flow-scene.is-paused .electric-stream{animation-play-state:paused}.flow-scene.is-paused .flow-particle{opacity:0}
.flow-hub{position:absolute;z-index:5;top:50%;left:50%;transform:translate(-50%,-50%);width:224px;height:89px;padding:12px 8px;border-radius:16px;background:linear-gradient(115deg,#142e8a,#0752cc 72%,#0b8ee1);color:white;display:flex;align-items:center;justify-content:center;flex-direction:column;border:2px solid #93dfff;box-shadow:0 0 0 5px rgba(7,103,245,.18),0 0 27px rgba(0,176,255,.89),0 6px 18px rgba(11,64,173,.38);text-align:center}
.flow-hub span{font-size:12px;color:#daefff;font-weight:800}.flow-hub strong{font-size:28px;letter-spacing:-.5px;white-space:nowrap}.flow-hub strong small{font-size:17px}
.flow-scene-stamp{position:absolute;left:50%;bottom:5px;z-index:4;transform:translateX(-50%);background:#dcf6ffb5;color:#1778ad;border-radius:20px;padding:2px 12px;font-size:8px;letter-spacing:.5px;white-space:nowrap;border:1px solid #bde3f5}
.flow-analytics-row{display:grid;grid-template-columns:1.05fr 1.12fr 1fr 1fr;gap:11px;margin-top:11px}
.flow-premium .flow-summary-tile{padding:12px 15px!important;min-height:173px;height:173px;border-radius:12px;border:1px solid #e2ecf8;background:linear-gradient(180deg,#fff,#fcfdff);box-shadow:0 3px 10px #437ab10d;min-width:0}
.flow-summary-tile h3{font-size:13px;margin:0 0 12px;font-weight:800;color:#153258;white-space:nowrap}
.flow-tile-inner{display:flex;align-items:center;gap:14px;min-width:0;height:123px}
.flow-mix-donut{flex:0 0 125px;width:125px;height:125px;border-radius:50%;background:var(--mix);display:grid;place-items:center}
.flow-mix-donut>div{background:white;width:75%;height:75%;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}
.flow-mix-donut strong{font-size:22px;line-height:1.05;color:#10284e}
.flow-mix-donut b{font-size:11px;line-height:1.2;color:#213c5c}
.flow-mix-donut span{font-size:9px;color:#5b7394}
.flow-mix-list{min-width:0;flex:1;display:flex;flex-direction:column;gap:10px}
.mix-row{display:flex;align-items:center;gap:5px;font-size:10px;white-space:nowrap;color:#153055}
.mix-row i{width:8px;height:8px;border-radius:50%;flex:0 0 8px}
.mix-row b{margin-left:auto;font-size:10px;font-weight:850}.mix-row em{font-style:normal;font-size:9px;font-weight:800;color:#7589aa;margin-left:2px}
.flow-tile-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.flow-tile-head h3{margin:0;font-size:12px}
.flow-period-buttons{display:flex;gap:3px;align-items:center}
.flow-period-buttons button{padding:3px 8px;font-size:9px;color:#577192;border:1px solid #d5e4fa;border-radius:4px;line-height:1.35;background:#fff;font-weight:800}
.flow-period-buttons button.active{background:#176cf6;color:white;border-color:#176cf6}
.flow-big-chart{height:128px;width:100%;display:block;overflow:visible}
.flow-ring{flex:0 0 122px;width:122px;height:122px;max-width:122px;max-height:122px;aspect-ratio:1;background:conic-gradient(var(--ring-color) 0 var(--ring-value),#dce7f4 var(--ring-value) 100%);border-radius:50%;display:grid;place-items:center}
.flow-ring-inner{width:73%;height:73%;background:white;border-radius:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;color:#143357}
.flow-ring-inner strong{font-size:23px;letter-spacing:-.6px;line-height:1.15}
.flow-ring-inner span{font-size:9px;color:#5d7594;text-align:center;line-height:1.25}
.flow-grid-cells{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.flow-grid-cells>div{border-radius:8px;padding:7px 5px;text-align:center;background:#eff6fd;color:#1368ef;display:flex;flex-direction:column}
.flow-grid-cells strong{font-size:15px;line-height:1.1;white-space:nowrap}
.flow-grid-cells span{font-size:10px;margin-top:3px}
.flow-battery-stats{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}
.flow-battery-stats>div{position:relative;padding-left:30px;display:flex;flex-direction:column;line-height:1.2;white-space:nowrap}
.flow-battery-stats i{position:absolute;top:4px;left:0;color:#10bb84;font-style:normal}
.flow-battery-stats strong{font-size:12px;font-weight:800;color:#0f315c}
.flow-battery-stats span{font-size:9px;color:#5c7ca7;margin-top:2px}
.flow-formula{margin-top:11px;border-radius:12px;background:linear-gradient(135deg,rgba(255,255,255,.93),rgba(231,244,255,.78));min-height:52px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #cde4f8;box-shadow:0 1px 4px #cee3f469}
.flow-formula>span{color:#52789e;font-size:12px;min-width:250px;white-space:nowrap}.flow-formula>span b{font-size:23px;font-weight:400;margin-right:8px;vertical-align:-2px}
.flow-formula>div{justify-content:center;flex:1;gap:16px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;letter-spacing:.3px;color:#196ee9;font-weight:900}
.flow-formula>div i{font-style:normal;color:#557a9b}
.flow-formula .color-pv{color:#117bf3}.flow-formula .color-grid{color:#2071e8}.flow-formula .color-bess{color:#08a875}.flow-formula .color-load{color:#079e6b}
.flow-controls{margin:13px 0 7px;display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #dcecf9;background:rgba(255,255,255,.75);color:#6f8eaa;border-radius:9px;padding:7px 9px;font-size:10px}
.flow-controls>div{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.flow-scenario{border:1px solid #cce1f9;background:white;border-radius:6px;color:#2266a8;padding:5px 8px;font-size:10px;font-weight:800}
.flow-selected-caption{padding-right:8px;color:#3998c3;font-size:10px;font-weight:700}
:root[data-theme="dark"] body[data-route="flow"],body[data-route="flow"]:has(:root[data-theme="dark"]){background:#0d1529}
:root[data-theme="dark"] .flow-summary-tile{background:#142339!important;border-color:#305072!important}
:root[data-theme="dark"] .flow-summary-tile h3,:root[data-theme="dark"] .flow-formula>span{color:#d7e7fb}
:root[data-theme="dark"] .flow-ring-inner,:root[data-theme="dark"] .flow-mix-donut>div{background:#172943;color:#dce9ff}
:root[data-theme="dark"] .flow-grid-cells>div{background:#203b60}
:root[data-theme="dark"] .flow-formula{background:#1a2f4a}
:root[data-theme="dark"] .flow-premium>.section-heading h2{color:#edf6ff}
@media(max-width:1390px){.flow-scene{--flow-stage-height:475px}.flow-cards{grid-template-rows:180px 180px}.flow-visual-card{height:180px;padding:12px}.flow-number{font-size:29px}.flow-name{font-size:12px}.flow-asset{height:153px}.flow-card-load .flow-asset{height:158px}.flow-card-grid .flow-asset{height:159px}.flow-hub{width:181px;height:84px}.flow-mix-donut{flex-basis:95px;width:95px;height:95px}.flow-ring{flex-basis:94px;width:94px;height:94px}.flow-tile-inner{gap:7px}.mix-row{font-size:9px}.mix-row b{font-size:9px}.mix-row em{font-size:8px}.flow-battery-stats strong{font-size:10px}.flow-big-chart{height:126px}}
@media(max-width:1120px){.flow-scene{--flow-stage-height:445px}.flow-cards{grid-template-rows:168px 168px;inset:14px}.flow-visual-card{height:168px}.flow-name{font-size:12px}.flow-number{font-size:26px}.flow-delta{font-size:10px}.flow-delta small{font-size:8px}.flow-asset,.flow-card-load .flow-asset,.flow-card-grid .flow-asset{height:140px}.flow-hub{width:153px;height:78px}.flow-hub strong{font-size:23px}.flow-summary-tile h3{font-size:11px}.flow-analytics-row{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-premium .flow-summary-tile{height:171px}.flow-mix-donut{width:123px;flex-basis:123px;height:123px}.flow-ring{width:123px;flex-basis:123px;height:123px}.mix-row{font-size:10px}}
@media(max-width:790px){body[data-route="flow"] .page-content{padding:15px 12px}.flow-premium>.section-heading h2{font-size:22px}.flow-scene{--flow-stage-height:460px}.flow-cards{grid-template-columns:39% 39%;grid-template-rows:174px 174px}.flow-visual-card{height:174px;padding:10px}.flow-name{font-size:10px;gap:3px}.flow-label-icon{width:20px;height:23px}.flow-label-icon svg{width:18px}.flow-number{font-size:23px}.flow-number small{font-size:11px}.flow-visual-copy{width:55%}.flow-delta small{display:none}.flow-spark{height:25px}.flow-asset,.flow-card-load .flow-asset,.flow-card-grid .flow-asset{height:122px;width:59%}.flow-hub{width:138px;height:73px}.flow-status-chip{font-size:8px;padding:5px}.flow-tile-inner{gap:10px}.flow-formula{flex-direction:column;align-items:flex-start}.flow-formula>span{min-width:0}}
@media(max-width:560px){.flow-scene{--flow-stage-height:747px}.flow-cards{position:absolute;inset:10px 9px 35px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(4,152px);gap:18px 10px;align-content:start}.flow-card-pv,.flow-card-grid{grid-column:1 / -1}.flow-card-load,.flow-card-battery{grid-column:1 / -1}.flow-card-pv{grid-row:1}.flow-card-load{grid-row:2}.flow-card-grid{grid-row:3}.flow-card-battery{grid-row:4}.flow-visual-card{height:152px;padding:12px 14px}.flow-visual-copy{width:55%}.flow-name{font-size:13px}.flow-number{font-size:25px}.flow-delta small{display:inline;font-size:8px}.flow-asset,.flow-card-load .flow-asset,.flow-card-grid .flow-asset,.flow-card-battery .flow-asset{height:144px;width:58%;bottom:-5px;right:1px}.flow-status-chip{font-size:9px}.flow-wires{display:none}.flow-hub{display:none}.flow-scene-stamp{bottom:6px}.flow-analytics-row{grid-template-columns:1fr}.flow-premium .flow-summary-tile{height:182px;min-height:182px;padding:14px!important}.flow-tile-inner{height:129px;gap:18px}.flow-mix-donut{width:125px;flex-basis:125px;height:125px}.flow-ring{width:125px;flex-basis:125px;height:125px}.flow-formula{padding:12px}.flow-formula>div{font-size:12px;gap:7px}.flow-controls{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.electric-stream{animation:none}.flow-particle{display:none}.flow-visual-card,.flow-asset{transition:none}}
