/* GENEROVÁNO website/build.py z CSS aplikace (web/v2) — needitovat ručně. */
:root .a-scope { --font: 'Sora', 'Segoe UI', system-ui, sans-serif; --bg: #f4f8f5; --card: #ffffff; --border: #dbe7e1; --text: #0c2321; --muted: #3d5a53; --accent: #0f6e56; --accent-hover: #00564a; --accent-bg: #e7f6ef; --mint: #4adda0; --gold: #ffd27a; --row-hover: #f1f7f4; --header-bg: #eef4f1; --sun: #f59e0b; --sun-bg: #fff6e0; --home: #2563eb; --home-bg: #e8effd; --batt: #16a34a; --batt-bg: #e6f6ec; --grid: #64748b; --grid-bg: #eef1f5; --buy: #dc2626; --sell: #0d9488; --warn: #d97706; --warn-bg: #fff4e0; --err-bg: #fdecec; --faint: #5a756e; --shadow-sm: 0 1px 2px rgba(12, 35, 33, .06); --shadow: 0 1px 2px rgba(12, 35, 33, .05), 0 6px 24px -8px rgba(12, 35, 33, .12); --shadow-lg: 0 12px 40px -12px rgba(12, 35, 33, .28); --radius: 14px; --radius-lg: 22px; --pill: 999px; --tap: 44px; --safe-b: env(safe-area-inset-bottom, 0px); }
:root[data-theme="dark"] .a-scope { --bg: #07191a; --card: #0e2527; --border: #1d3b3a; --text: #e6f2ee; --muted: #9dbab2; --faint: #7d9a93; --accent: #4adda0; --accent-hover: #6ee7b7; --accent-bg: #123a33; --row-hover: #132e2f; --header-bg: #0b2123; --sun: #fbbf24; --sun-bg: #2b2410; --home: #60a5fa; --home-bg: #10233f; --batt: #4ade80; --batt-bg: #0f2e1d; --grid: #94a3b8; --grid-bg: #172430; --buy: #f87171; --sell: #2dd4bf; --warn: #fbbf24; --warn-bg: #2a2410; --err-bg: #3a1616; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px -10px rgba(0,0,0,.6); --shadow-lg: 0 16px 48px -12px rgba(0,0,0,.7); }
:root .a-scope { --nav-h: 64px; --rail-w: 228px; --gap: 14px; --sun-ink: #b45309; --home-ink: #1d4ed8; --batt-ink: #15803d; --buy-ink: #c81e1e; --sell-ink: #0f766e; --warn-ink: #a35204; --sell-bg: color-mix(in srgb, var(--sell) 12%, var(--card)); }
:root[data-theme="dark"] .a-scope { --sun-ink: var(--sun); --home-ink: var(--home); --batt-ink: var(--batt); --buy-ink: var(--buy); --sell-ink: var(--sell); --warn-ink: var(--warn); }
@media (max-width: 560px) {
:root .a-scope { --gap: 10px; }
}
:root .a-scope { --a-buy: #dc2626; --a-sell: #16a34a; --a-pvsell: #86efac; --a-off: #f59e0b; --a-chg: #0ea5e9; --a-frz: #8b5cf6; --a-solar: #fcd89a; --a-home: #b6c6dc; --a-grid: #e2e8f0; --a-gridbuy: #94a3b8; --lab-pos: #0d9488; --lab-neg: #dc2626; }
:root[data-theme="dark"] .a-scope { --a-buy: #f87171; --a-sell: #22c55e; --a-pvsell: #86efac; --a-off: #fbbf24; --a-chg: #38bdf8; --a-frz: #a78bfa; --a-solar: #7a5f22; --a-home: #3b4f6b; --a-grid: #273445; --a-gridbuy: #64748b; --lab-pos: #2dd4bf; --lab-neg: #f87171; }
:root .a-scope { --c-energy: #64748b; --c-trader: #a78bfa; --c-dist: #f59e0b; --c-reg: #94a3b8; --c-vat: #cbd5e1; }
:root[data-theme="dark"] .a-scope { --c-energy: #94a3b8; --c-trader: #c4b5fd; --c-dist: #fbbf24; --c-reg: #64748b; --c-vat: #475569; }
.a-scope .seg { display: inline-flex; background: var(--header-bg); border-radius: var(--pill); padding: 3px; gap: 2px; }
.a-scope .seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: var(--pill); font-size: 13px; font-weight: 600; color: var(--muted); min-height: 34px; }
.a-scope .seg button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: var(--shadow-sm); }
.a-scope .seg button:not(.a-scope *) { min-height: 36px; }
.a-scope .seg button[aria-pressed="true"]:not(.a-scope *) { color: var(--accent); }
:root[data-theme="dark"] .a-scope .seg button[aria-pressed="true"] { background: var(--accent-bg); }
.a-scope .seg-wide { display: flex; width: 100%; }
.a-scope .seg-wide button { flex: 1; min-height: 42px; padding: 7px 8px; white-space: nowrap; }
.a-scope .tl-ctrls .seg button:not(.a-scope *) { padding: 6px 10px; min-height: 36px; font-size: 12.5px; }
.a-scope .seg-sm button:not(.a-scope *) { min-height: 30px; padding: 4px 10px; font-size: 12px; white-space: nowrap; }
.a-scope .seg-wide { margin-top: 4px; }
.a-scope .tl-card { grid-area: tl; }
.a-scope .tl-card { padding: 14px 0 12px; overflow: hidden; }
.a-scope .tl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 0 14px; flex-wrap: wrap; }
.a-scope .tl-head h2 { margin: 0; font-size: 17px; }
.a-scope .tl-planline { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.a-scope .tl-planline b { color: var(--text); font-weight: 650; }
.a-scope .tl-ctrls { display: flex; align-items: center; gap: 4px; }
.a-scope .tl-ctrls .icon-btn { width: 40px; height: 40px; border-radius: 12px; border-color: transparent; background: transparent; }
.a-scope .tl-ctrls .icon-btn:hover { background: var(--row-hover); }
.a-scope .tl-ctrls .seg button:not(.a-scope *) { padding: 6px 10px; min-height: 36px; font-size: 12.5px; }
@media (max-width: 380px) {
.a-scope .tl-ctrls { width: 100%; justify-content: space-between; }
}
.a-scope .tl-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; }
.a-scope .tl-chips[hidden] { display: none; }
.a-scope .tl-host { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: crosshair; outline: none; border-radius: 4px; }
.a-scope .tl-host:focus-visible { box-shadow: inset 0 0 0 2.5px var(--accent); }
.a-scope .tl-host.is-panning { cursor: grabbing; }
.a-scope .tl-svg svg, .a-scope .tl-cur { display: block; }
.a-scope .tl-cur { position: absolute; left: 0; top: 0; pointer-events: none; }
.a-scope .tl-bubble { position: absolute; left: 0; top: 0; pointer-events: none; display: flex; flex-direction: column; gap: 0; padding: 4px 9px 5px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 11.5px; line-height: 1.3; white-space: nowrap; box-shadow: var(--shadow-lg); z-index: 2; }
.a-scope .tl-bubble[hidden] { display: none; }
.a-scope .tl-bubble b { font-size: 12px; }
.a-scope .tl-bubble span { display: flex; align-items: center; gap: 3px; opacity: .9; }
.a-scope .tl-bubble .ic:not(.a-scope *) { width: 12px; height: 12px; }
.a-scope .tl-night { fill: color-mix(in srgb, var(--text) 5%, transparent); }
:root[data-theme="dark"] .a-scope .tl-night { fill: rgba(0, 0, 0, .28); }
.a-scope .tl-grid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 2 4; }
.a-scope .tl-vgrid { stroke: var(--border); stroke-width: 1; opacity: .6; }
.a-scope .tl-base { stroke: var(--border); stroke-width: 1.2; }
.a-scope .tl-pv-area { fill: color-mix(in srgb, var(--sun) 32%, transparent); }
.a-scope .tl-pv-area.is-fut { fill: color-mix(in srgb, var(--sun) 11%, transparent); }
.a-scope .tl-pv-line { fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linejoin: round; }
.a-scope .tl-pv-line.is-fut { stroke-dasharray: 4 4; stroke-width: 1.6; }
.a-scope .tl-load { fill: none; stroke: var(--home); stroke-width: 2; stroke-linejoin: round; }
.a-scope .tl-load.is-fut { stroke-dasharray: 4 4; stroke-width: 1.6; opacity: .85; }
.a-scope .tl-soc { fill: none; stroke: var(--batt); stroke-width: 2.4; stroke-linejoin: round; }
.a-scope .tl-soc.is-fut { stroke-dasharray: 2 4; stroke-linecap: round; }
.a-scope .tl-soc-sug { fill: none; stroke: var(--batt); stroke-width: 1.4; stroke-dasharray: 1 5; stroke-linecap: round; opacity: .55; }
.a-scope .tl-plan-sug { fill: transparent; stroke-width: 1.4; stroke-dasharray: 4 3; }
.a-scope .tl-plan-sug.tl-sug-charge { stroke: var(--a-buy, #dc2626); fill: color-mix(in srgb, var(--a-buy, #dc2626) 8%, transparent); }
.a-scope .tl-plan-sug.tl-sug-sell { stroke: var(--a-sell, #16a34a); fill: color-mix(in srgb, var(--a-sell, #16a34a) 8%, transparent); }
.a-scope .tl-plan-sugt { font-size: 10px; font-weight: 700; paint-order: stroke; stroke: var(--card); stroke-width: 3px; }
.a-scope .tl-plan-sugt.tl-sug-charge { fill: var(--a-buy, #dc2626); }
.a-scope .tl-plan-sugt.tl-sug-sell { fill: var(--a-sell, #16a34a); }
.a-scope .tl-gridpick { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 8px 14px 0; font-size: 12px; color: var(--muted); }
.a-scope .tl-gp-l { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.a-scope .tl-gp-l .ic:not(.a-scope *) { width: 15px; height: 15px; }
.a-scope .tl-g-bg { fill: color-mix(in srgb, var(--grid) 7%, transparent); }
.a-scope .tl-g-bg.is-mirror { fill: color-mix(in srgb, var(--grid) 5%, transparent); }
.a-scope .tl-g-mid { stroke: color-mix(in srgb, var(--grid) 40%, transparent); stroke-width: 1; stroke-dasharray: 2 3; }
.a-scope .tl-g-exp { fill: color-mix(in srgb, var(--sell) 40%, transparent); }
.a-scope .tl-g-imp { fill: color-mix(in srgb, var(--buy) 34%, transparent); }
.a-scope .tl-g-exp.is-fut { fill: color-mix(in srgb, var(--sell) 15%, transparent); }
.a-scope .tl-g-imp.is-fut { fill: color-mix(in srgb, var(--buy) 13%, transparent); }
.a-scope .tl-g-exp-ln, .a-scope .tl-g-imp-ln { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.a-scope .tl-g-exp-ln { stroke: var(--sell); }
.a-scope .tl-g-imp-ln { stroke: var(--buy); }
.a-scope .tl-g-exp-ln.is-fut, .a-scope .tl-g-imp-ln.is-fut { stroke-dasharray: 4 4; stroke-width: 1.3; }
.a-scope .tl-g-cell.tl-g-exp { fill: var(--sell); }
.a-scope .tl-g-cell.tl-g-imp { fill: var(--buy); }
.a-scope .tl-g-lab { font-size: 9.5px; }
.a-scope .tl-g-lab.is-exp, .a-scope .tl-g-lab .is-exp { fill: var(--sell); }
.a-scope .tl-g-lab.is-imp, .a-scope .tl-g-lab .is-imp { fill: var(--buy); }
.a-scope .tl-dot-exp { fill: var(--sell); }
.a-scope .tl-dot-imp { fill: var(--buy); }
.a-scope .tl-s-home { fill: color-mix(in srgb, var(--sun) 32%, transparent); }
.a-scope .tl-s-batt { fill: color-mix(in srgb, var(--batt) 34%, transparent); }
.a-scope .tl-s-grid { fill: color-mix(in srgb, var(--sell) 40%, transparent); }
.a-scope .tl-s-imp { fill: color-mix(in srgb, var(--buy) 24%, transparent); }
.a-scope .tl-s-home.is-fut { fill: color-mix(in srgb, var(--sun) 11%, transparent); }
.a-scope .tl-s-batt.is-fut { fill: color-mix(in srgb, var(--batt) 12%, transparent); }
.a-scope .tl-s-grid.is-fut { fill: color-mix(in srgb, var(--sell) 14%, transparent); }
.a-scope .tl-s-imp.is-fut { fill: color-mix(in srgb, var(--buy) 10%, transparent); }
.a-scope .tl-legend-grid { display: contents; }
.a-scope .tl-ylab { font-size: 10px; fill: var(--faint); font-weight: 600; paint-order: stroke; stroke: var(--card); stroke-width: 3px; }
.a-scope .tl-ylab-soc { fill: var(--batt); }
.a-scope .tl-xlab { font-size: 10.5px; fill: var(--muted); font-weight: 600; }
.a-scope .tl-xlab.is-mid { fill: var(--text); font-weight: 700; }
.a-scope .tl-midnight { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.a-scope .tl-daylab { font-size: 10.5px; font-weight: 700; fill: var(--muted); letter-spacing: .02em; }
.a-scope .tl-now { stroke: var(--accent); stroke-width: 2; }
.a-scope .tl-nowtag rect { fill: var(--accent); }
.a-scope .tl-nowtag text { fill: #fff; font-size: 10.5px; font-weight: 700; }
:root[data-theme="dark"] .a-scope .tl-nowtag text { fill: #062019; }
.a-scope .tl-nowedge text { fill: var(--accent); font-size: 11px; font-weight: 700; }
.a-scope .tl-grip circle { fill: var(--card); stroke: var(--accent); stroke-width: 1.6; }
.a-scope .tl-grip path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.a-scope .tl-grip.is-cur circle { stroke: var(--text); }
.a-scope .tl-grip.is-cur path { stroke: var(--text); }
.a-scope .tl-cursor { stroke: var(--text); stroke-width: 1.5; }
.a-scope .tl-dot { stroke: var(--card); stroke-width: 2; }
.a-scope .tl-dot-pv { fill: var(--sun); }
.a-scope .tl-dot-load { fill: var(--home); }
.a-scope .tl-dot-soc { fill: var(--batt); }
.a-scope .tl-pmark { fill: var(--muted); }
.a-scope .tl-plab { font-size: 10px; font-weight: 700; fill: var(--text); paint-order: stroke; stroke: var(--card); stroke-width: 3px; }
.a-scope .tl-band { fill: color-mix(in srgb, var(--batt) 9%, transparent); }
.a-scope .tl-band-car, .a-scope .tl-band-extra { fill: color-mix(in srgb, var(--home) 10%, transparent); }
.a-scope .tl-band.is-preview { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 3; }
.a-scope .tl-hatch { fill: var(--batt); }
.a-scope .tl-band-hatch.tl-band-car, .a-scope .tl-band-hatch.tl-band-extra { opacity: 1; }
.a-scope .tl-band-label { font-size: 10.5px; font-weight: 700; fill: var(--batt); paint-order: stroke; stroke: var(--card); stroke-width: 3px; }
.a-scope .tl-band-t-car, .a-scope .tl-band-t-extra { fill: var(--home); }
.a-scope .tl-band-charge { fill: color-mix(in srgb, var(--grid) 12%, transparent); }
.a-scope .tl-band-hatch.tl-band-charge { opacity: 1; }
.a-scope .tl-band-t-charge { fill: color-mix(in srgb, var(--grid) 75%, var(--text)); }
.a-scope .tl-band-appl { fill: color-mix(in srgb, var(--sun) 12%, transparent); }
.a-scope .tl-band-hatch.tl-band-appl { opacity: 1; }
.a-scope .tl-band-t-appl { fill: color-mix(in srgb, var(--sun) 70%, var(--text)); }
.a-scope .tl-plan-bg { fill: var(--header-bg); }
.a-scope .tl-plan.tl-a-charge, .a-scope .sw-plan.tl-a-charge { fill: var(--a-buy, #dc2626); background: var(--a-buy, #dc2626); }
.a-scope .tl-plan.tl-a-sell, .a-scope .sw-plan.tl-a-sell { fill: var(--a-sell, #16a34a); background: var(--a-sell, #16a34a); }
.a-scope .tl-plan.tl-a-home, .a-scope .sw-plan.tl-a-home { fill: color-mix(in srgb, var(--batt) 32%, var(--card)); background: color-mix(in srgb, var(--batt) 32%, var(--card)); }
.a-scope .tl-plan.tl-a-solar, .a-scope .sw-plan.tl-a-solar { fill: color-mix(in srgb, var(--sun) 45%, var(--card)); background: color-mix(in srgb, var(--sun) 45%, var(--card)); }
.a-scope .tl-plan.tl-a-hold, .a-scope .sw-plan.tl-a-hold { fill: color-mix(in srgb, var(--a-frz, #8b5cf6) 40%, var(--card)); background: color-mix(in srgb, var(--a-frz, #8b5cf6) 40%, var(--card)); }
.a-scope .tl-plan.tl-a-idle, .a-scope .sw-plan.tl-a-idle { fill: transparent; background: var(--border); }
.a-scope .sw-plan.tl-a-noexport { background: repeating-linear-gradient(-45deg, var(--a-off, #f59e0b) 0 3px, color-mix(in srgb, var(--a-off, #f59e0b) 30%, var(--card)) 3px 6px); }
.a-scope .tl-noexp-bg { fill: color-mix(in srgb, var(--a-off, #f59e0b) 28%, var(--card)); }
.a-scope .tl-plan.tl-a-nocharge { fill: color-mix(in srgb, var(--grid) 30%, var(--card)); stroke: var(--grid); stroke-width: 1; stroke-dasharray: 3 2; }
.a-scope .sw-plan.tl-a-nocharge { background: color-mix(in srgb, var(--grid) 30%, var(--card)); border: 1px dashed var(--grid); }
.a-scope .tl-noexp-ln { fill: var(--a-off, #f59e0b); }
.a-scope .tl-plan.is-act { stroke: var(--card); stroke-width: 1; }
.a-scope .tl-plan.is-past { opacity: .5; }
.a-scope .tl-plan-t { font-size: 10.5px; font-weight: 800; fill: #fff; pointer-events: none; letter-spacing: .01em; }
.a-scope .tl-plan-t.is-past { opacity: .75; }
.a-scope .tl-act-bg { opacity: .10; }
.a-scope .tl-act-bg.tl-act-charge { fill: var(--a-buy, #dc2626); }
.a-scope .tl-act-bg.tl-act-sell { fill: var(--a-sell, #16a34a); }
.a-scope .tl-act-bg.is-past { opacity: .06; }
.a-scope .tl-trades { display: grid; gap: 6px; padding: 10px 14px 2px; }
@media (min-width: 760px) {
.a-scope .tl-trades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
.a-scope .tl-trades { padding-left: 20px; padding-right: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.a-scope .tl-legend, .a-scope .tl-plan-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 14px 0; font-size: 11.5px; color: var(--muted); }
.a-scope .tl-plan-legend { padding-top: 4px; }
.a-scope .tl-help { margin: 8px 14px 0; font-size: 12px; color: var(--faint); }
.a-scope .tl-more { margin: 4px 14px 0; }
.a-scope .tl-more .tl-legend, .a-scope .tl-more .tl-plan-legend { padding-left: 0; padding-right: 0; }
.a-scope .tl-more .tl-help { margin: 8px 0 4px; }
.a-scope .tl-trades-note .tr-none { margin: 8px 0 0; }
@media (min-width: 1024px) {
.a-scope .tl-card { padding-top: 16px; }
.a-scope .tl-head, .a-scope .tl-chips, .a-scope .tl-legend, .a-scope .tl-plan-legend { padding-left: 20px; padding-right: 20px; }
.a-scope .tl-help { margin-left: 20px; }
.a-scope .tl-more { margin-left: 20px; margin-right: 20px; }
.a-scope .tl-gridpick { padding-left: 20px; padding-right: 20px; }
}
.a-scope .flow { position: relative; aspect-ratio: 360 / 556; width: 100%; max-width: 430px; margin: 4px auto 0; }
@media (min-width: 1024px) {
.a-scope .flow { max-width: 480px; }
}
.a-scope .flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.a-scope .flow-halo { fill: none; stroke: var(--border); stroke-width: 1; stroke-dasharray: 1 7; stroke-linecap: round; }
.a-scope .track { fill: none; stroke: var(--border); stroke-width: 3; stroke-linecap: round; opacity: .8; }
.a-scope .flowp { fill: none; stroke-linecap: round; stroke-dasharray: 0 14; stroke-width: 4; opacity: 0; transition: opacity .5s, stroke-width .5s; animation: flowmove var(--dur, 1.2s) linear infinite; }
.a-scope .flowp.on { opacity: 1; }
.a-scope .flowp.rev { animation-direction: reverse; }
@keyframes flowmove { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -14; } }
.a-scope .fp-pv { stroke: var(--sun); }
.a-scope .fp-batt { stroke: var(--batt); }
.a-scope .fp-home { stroke: var(--home); }
.a-scope .fp-grid.c-buy { stroke: var(--buy); }
.a-scope .fp-grid.c-sell { stroke: var(--sell); }
.a-scope .chev { display: none; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.a-scope .chev[data-chev="pv"] { stroke: var(--sun); }
.a-scope .chev[data-chev="batt"] { stroke: var(--batt); }
.a-scope .chev[data-chev="home"] { stroke: var(--home); }
.a-scope .chev.c-buy { stroke: var(--buy); }
.a-scope .chev.c-sell { stroke: var(--sell); }
@media (prefers-reduced-motion: reduce) {
.a-scope .flowp { animation: none; stroke-dasharray: none; }
.a-scope .flowp.on { opacity: .45; }
.a-scope .chev.on { display: inline; }
.a-scope .fnode-pv .fn-ic { animation: none !important; }
}
.a-scope .fnode { position: absolute; transform: translate(-50%, -28px);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; color: inherit; text-align: center; border-radius: 18px; width: 118px; }
.a-scope .fnode-pv { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 28px)); }
.a-scope .fn-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  transition: transform .2s, filter .3s, opacity .3s; }
.a-scope .fnode:hover .fn-ic { transform: scale(1.06); }
.a-scope .fn-ic .ic { width: 26px; height: 26px; }
.a-scope .fnode-pv .fn-ic { background: var(--sun-bg); color: var(--sun-ink); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--sun) 40%, transparent), var(--shadow); }
.a-scope .fnode-batt .fn-ic { background: var(--batt-bg); color: var(--batt-ink); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--batt) 40%, transparent), var(--shadow); }
.a-scope .fnode-grid .fn-ic { background: var(--grid-bg); color: var(--grid); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--grid) 40%, transparent), var(--shadow); }
.a-scope .fnode-home .fn-ic { background: var(--home-bg); color: var(--home-ink); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--home) 40%, transparent), var(--shadow); }
.a-scope .fnode-pv:not(.is-off) .fn-ic { animation: sunglow 3.2s ease-in-out infinite; }
@keyframes sunglow { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--sun) 16%, transparent), var(--shadow); } }
.a-scope .fnode.is-off .fn-ic { filter: saturate(.25); opacity: .75; }
.a-scope .fn-txt { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.a-scope .fn-l { font-size: 12px; color: var(--muted); font-weight: 600; }
.a-scope .fn-v { font-size: 21px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.a-scope .fn-s { font-size: 12px; font-weight: 600; color: var(--muted); max-width: 118px; }
.a-scope .fnode-pv:not(.is-off) .fn-s { color: var(--sun-ink); }
.a-scope .fnode-batt:not(.is-off) .fn-s { color: var(--batt-ink); }
.a-scope .fnode-home .fn-s { color: var(--home-ink); }
.a-scope .fnode-grid.is-buy .fn-s { color: var(--buy-ink); }
.a-scope .fnode-grid.is-sell .fn-s { color: var(--sell-ink); }
.a-scope .fhub { position: absolute; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center; background: var(--card); color: var(--accent);
  border: 1px solid var(--border); box-shadow: var(--shadow); padding: 0; }
.a-scope .fhub:hover { border-color: var(--accent); }
.a-scope .fhub .ic { width: 24px; height: 24px; }
.a-scope .fhub-n { position: absolute; top: -8px; right: -10px; background: var(--accent); color: var(--card); font-size: 10.5px; font-weight: 800; border-radius: var(--pill); padding: 1px 6px; }
.a-scope .fn-day { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-top: 2px; padding: 4px 9px 5px; border-radius: 10px; background: color-mix(in srgb, var(--card) 70%, var(--header-bg)); border: 1px solid var(--border); font-size: 11.5px; line-height: 1.3; color: var(--muted); font-weight: 600; white-space: nowrap; min-width: 96px; }
.a-scope .fn-day > span:empty { display: none; }
.a-scope .fn-d1 { color: var(--text); font-weight: 700; }
.a-scope .fnode-pv .fn-day { margin: 0 0 2px; order: 1; }
.a-scope .fnode-pv .fn-txt { order: 2; }
.a-scope .fn-bar { display: block; width: 100%; height: 4px; border-radius: 3px; background: color-mix(in srgb, var(--sun) 18%, transparent); overflow: hidden; margin: 1px 0 3px; }
.a-scope .fn-bar b { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--sun); transition: width .6s; }
.a-scope .fn-day-grid .fn-d1 { color: var(--sell-ink); }
.a-scope .fn-day-grid .fn-d2 { color: var(--buy-ink); font-weight: 700; }
.a-scope .fn-day-batt .fn-d1 { color: var(--batt-ink); }
.a-scope .flow-hint { text-align: center; font-size: 12px; color: var(--faint); margin: 0 0 6px; }
.a-scope .flow:not(.has-car) .fcar, .a-scope .flow:not(.has-car) [data-track="car"], .a-scope .flow:not(.has-car) [data-flow="car"], .a-scope .flow:not(.has-car) [data-chev="car"] { display: none; }
.a-scope .fp-car, .a-scope .chev[data-chev="car"] { stroke: var(--home); }
.a-scope .flow.flow-b { aspect-ratio: 360 / 400; }
.a-scope .flow-b .flow-halo { display: none; }
.a-scope .flow-b .fnode-home { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 28px)); }
.a-scope .flow-b .fnode-home .fn-day { margin: 0 0 2px; order: 1; }
.a-scope .flow-b .fnode-home .fn-txt { order: 2; }
@media (min-width: 1024px) {
.a-scope .fn-v { font-size: 23px; }
}
.a-scope .set-row .chev { color: var(--faint); }
.a-scope .fn-socbar { position: relative; display: block; width: 100%; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--batt) 16%, transparent); overflow: hidden; margin: 1px 0 4px; }
.a-scope .fn-socbar b { display: block; height: 100%; border-radius: 4px; background: var(--batt); transition: width .6s, background .3s; }
.a-scope .fn-socbar.is-mid b { background: var(--warn); }
.a-scope .fn-socbar.is-low b { background: var(--buy); }
.a-scope .fn-socbar.is-chg b { background-image: linear-gradient(90deg, transparent 0 60%, rgba(255,255,255,.45) 80%, transparent 100%); background-size: 40px 100%; animation: socflow 1.4s linear infinite; }
@keyframes socflow { from { background-position: -40px 0; } to { background-position: 40px 0; } }
.a-scope .fn-socbar u { position: absolute; left: 10%; top: 0; bottom: 0; width: 1.5px; background: color-mix(in srgb, var(--text) 45%, transparent); }
.a-scope .fn-day-batt, .a-scope .fn-day-home { white-space: normal; max-width: 136px; text-align: center; }
.a-scope .fn-day-batt .fn-d2 { font-weight: 600; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
.a-scope .fn-socbar.is-chg b { animation: none; }
}
@media (min-width: 1024px) {
.a-scope .flow.flow-b { max-width: 480px; }
}
