#energy-flow { margin-block:16px 20px; color:#233b30; }
.energy-flow-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-block:0 10px; }
.energy-flow-heading h2 { margin:2px 0 0; font-size:21px; font-weight:650; letter-spacing:-.4px; line-height:1.2; }
.energy-flow-eyebrow { margin:0; color:#7b8d80; font:600 9px/1.4 Arial,sans-serif; letter-spacing:1.7px; }
.energy-flow-tools { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.energy-data-status { display:inline-flex; align-items:center; gap:5px; color:#51745e; font-size:11px; }
.energy-data-status i { width:6px; height:6px; border-radius:50%; background:#71927a; }
.energy-data-status.is-stale { color:#805624; }.energy-data-status.is-stale i { background:#b7894e; }
.energy-animation-toggle { border:1px solid #d8dfd3; background:#fff; color:#647467; border-radius:7px; padding:6px 8px; font-family:inherit; font-weight:500; font-size:11px; line-height:1.4; }
.energy-animation-toggle:hover { color:#263d2f; border-color:#9cad9c; }
.energy-animation-toggle:disabled { cursor:default; opacity:.48; }
.energy-flow-stage { padding:14px 18px 0; border:1px solid #dfe5d9; border-radius:14px; background:linear-gradient(155deg,#fff 14%,#f8faf4 66%,#f0f4eb); overflow:hidden; }
.energy-total-row { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:14px; direction:ltr; position:relative; z-index:1; }
.energy-total { display:flex; align-items:center; gap:9px; justify-self:center; text-align:center; }
.energy-total-steam { justify-self:center; }
.energy-total-icon { width:32px; height:32px; flex-shrink:0; display:grid; place-items:center; border-radius:9px; background:#eaf2f4; color:#2b7197; }
.energy-total-steam .energy-total-icon { color:#b46730; background:#fbecd9; }
.energy-total-icon svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.energy-total h3 { margin:0 0 3px; color:#586d60; font-size:11px; font-weight:500; }
.energy-total p { display:flex; justify-content:center; align-items:baseline; gap:6px; margin:0; direction:ltr; }
.energy-total strong { font-size:26px; line-height:1.1; font-weight:700; letter-spacing:-.7px; font-variant-numeric:tabular-nums; color:#28668a; }
.energy-total-steam strong { color:#a65c28; }
.energy-total p span { color:#586d60; font:500 11px Arial,sans-serif; }
.energy-total small { display:block; color:#586d60; font-size:10px; margin-top:3px; }
.energy-storage-label { text-align:center; }.energy-storage-label span { display:block; color:#586d60; font-size:10px; margin-bottom:3px; }.energy-storage-label strong { color:#4d6b50; font:600 12px Arial,sans-serif; letter-spacing:.4px; }
.energy-flow-scene { width:100%; max-width:none; margin:0 auto; direction:ltr; }
.energy-scene-svg { display:block; width:100%; max-height:none; height:auto; overflow:visible; font-family:Arial,sans-serif; }
.energy-scene-compact { display:none; }
.energy-pipe { stroke-width:8; stroke-linejoin:round; stroke-linecap:round; fill:none; }
.energy-pipe-power { stroke:#467f9e; }.energy-pipe-steam { stroke:#c78549; }
.energy-particle { fill:none; stroke-width:3; stroke-linecap:round; stroke-dasharray:3 32; stroke-dashoffset:0; pointer-events:none; animation:energy-flow-travel 3s linear infinite; }
.energy-particle-power { stroke:#c6e6f2; }.energy-particle-steam { stroke:#fff1ce; animation-duration:3.8s; }
.energy-flow-paused .energy-particle { animation-play-state:paused; }
.energy-flow-caption { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px 15px; padding:3px 0 10px; color:#586d60; font-size:10px; position:relative; z-index:1; }
.energy-flow-caption span { display:inline-flex; align-items:center; gap:5px; }.energy-flow-caption i { width:14px; height:3px; border-radius:2px; display:inline-block; }.energy-legend-power { background:#467f9e; }.energy-legend-steam { background:#c78549; }
.energy-module-table-wrap { margin-inline:-18px; padding:0 18px 9px; border-top:1px solid #dfe5d9; background:#ffffffd9; }
.energy-module-table { width:100%; border-collapse:collapse; table-layout:fixed; font-variant-numeric:tabular-nums; font-size:13px; }
.energy-module-table caption { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.energy-module-table th,.energy-module-table td { padding:7px 10px; border-bottom:1px solid #edf0e8; vertical-align:middle; text-align:center; overflow-wrap:anywhere; }
.energy-module-table th:first-child { width:29%; padding-inline-start:0; text-align:start; }
.energy-module-table thead th { padding-block:10px 8px; font-weight:650; color:#365b46; }
.energy-module-table tbody th { color:#586d60; font-size:12px; font-weight:400; }
.energy-module-table td { color:#365b46; font-weight:600; }
.energy-module-table tbody tr:last-child>* { border-bottom:0; }
.energy-module-table [data-energy-metric="power"] td { color:#28668a; }
.energy-module-table [data-energy-metric="flow"] td { color:#a65c28; }
.energy-table-unit { display:inline-block; color:#7a897d; font:400 10px Arial,sans-serif; margin-inline-start:3px; }
.energy-module-quality { display:block; margin-top:3px; color:#718276; font-size:10px; font-weight:400; line-height:1.3; }
.energy-module-quality.is-stale,.energy-table-partial { color:#805624; }
.energy-table-partial { display:block; font-size:10px; font-weight:400; margin-top:2px; }
.energy-table-soc { display:block; width:52px; max-width:90%; height:3px; margin:4px auto 0; overflow:hidden; border-radius:3px; background:#edf0e5; direction:ltr; }
.energy-table-soc i { display:block; height:100%; background:#bd8b51; }
.energy-table-times td { color:#718276; font-size:10px; font-weight:400; }.energy-table-times small { display:block; font-size:9px; }
.energy-instrument-time,.energy-module-alert { color:#718276; font-size:10px; line-height:1.4; margin:5px 0 0; }
.energy-module-alert { color:#805624; }
.energy-flow-notes { margin-top:7px; color:#718276; font-size:11px; }
.energy-flow-notes summary { cursor:pointer; width:fit-content; padding-block:3px; }
.energy-flow-method { color:#586d60; font-size:11px; line-height:1.6; margin:5px 0; max-width:80ch; }
@keyframes energy-flow-travel { to { stroke-dashoffset:-70; } }
@media(max-width:760px) {
  #energy-flow { margin-block:14px; }.energy-flow-heading { gap:10px; align-items:flex-start; }.energy-flow-heading h2 { font-size:19px; }.energy-flow-tools { gap:5px; justify-content:flex-end; }.energy-data-status { font-size:10px; }
  .energy-flow-stage { padding:12px 10px 0; border-radius:11px; }.energy-total-row { gap:10px; grid-template-columns:1fr 1fr; }.energy-storage-label { display:none; }.energy-total { gap:6px; }.energy-total-icon { width:26px; height:26px; border-radius:7px; }.energy-total-icon svg { width:16px; height:16px; }.energy-total h3 { font-size:10px; }.energy-total strong { font-size:23px; }.energy-total small { font-size:10px; }
  .energy-flow-scene { max-width:540px; margin:2px auto; }.energy-scene-wide { display:none; }.energy-scene-compact { display:block; max-height:none; }.energy-flow-caption { gap:4px 9px; padding-bottom:8px; }
  .energy-module-table-wrap { margin-inline:-10px; padding-inline:10px; }.energy-module-table th,.energy-module-table td { padding:7px 4px; }.energy-module-table th:first-child { width:33%; }.energy-module-table tbody th { font-size:11px; line-height:1.35; }.energy-module-table thead th { font-size:12px; }.energy-module-quality { font-size:9px; }.energy-table-unit { font-size:10px; }.energy-table-times td { font-size:9px; }
}
@media(max-width:390px) { .energy-total-icon { display:none; }.energy-flow-heading h2 { font-size:18px; }.energy-animation-toggle { font-size:10px; padding:4px 6px; }.energy-flow-tools { max-width:125px; }.energy-module-table { font-size:12px; } }
@media(prefers-reduced-motion:reduce) { .energy-particle { animation:none!important; }.energy-animation-toggle { display:none; } }
@media(forced-colors:active) { .energy-flow-stage,.energy-module-table-wrap,.energy-module-table th,.energy-module-table td { border-color:CanvasText; }.energy-particle { display:none; }.energy-table-soc i { background:Highlight; }.energy-data-status i { background:CanvasText; } }

.energy-flow-scene { position:relative; }
.energy-process-inline { position:absolute; z-index:2; display:flex; flex-direction:column; align-items:center; gap:1px; width:max-content; max-width:90px; transform:translateX(-50%); color:#895324; font:500 11px/1.25 Arial,sans-serif; font-variant-numeric:tabular-nums; direction:ltr; text-shadow:0 0 3px #fff,0 0 5px #fff; }
.energy-process-inline-header { left:77%; top:14%; }
.energy-process-inline-water { left:24.4%; top:57%; color:#327b87; }
.energy-inline-value { display:flex; align-items:baseline; gap:3px; white-space:nowrap; }.energy-inline-value small { font-size:9px; font-weight:400; }
.energy-inline-caption { font-size:9px; font-weight:400; white-space:nowrap; }
.energy-process-accessible { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.energy-legend-water { background:#409eaa; }
@media(max-width:760px) { .energy-process-inline-header { left:88.2%; top:0; }.energy-process-inline-water { left:10%; top:48%; } }
