/* sankey.css — energy flow (Sankey) diagram (see sankey.js). */
.sk-svg { display: block; width: 100%; height: auto; }
.sk-in { fill: rgba(56, 189, 248, 0.22); stroke: #38bdf8; stroke-width: 1.5; }
.sk-inlab { fill: #bae6fd; font-size: 11px; font-weight: 700; }
.sk-use { fill: rgba(52, 211, 153, 0.30); stroke: #34d399; stroke-width: 1.2; }
.sk-waste { fill: rgba(251, 191, 36, 0.26); stroke: #fbbf24; stroke-width: 1.2; }
.sk-flab { font-size: 10.5px; font-weight: 700; paint-order: stroke; stroke: #0a0f1a; stroke-width: 2.4px; stroke-linejoin: round; }
.sk-use-t { fill: #6ee7b7; }
.sk-waste-t { fill: #fcd34d; }
.sk-arrow { stroke-width: 2; fill: none; }
.sk-use-ar { stroke: #34d399; color: #34d399; }
.sk-waste-ar { stroke: #fbbf24; color: #fbbf24; }

/* The accounting mode has separate, scoped surfaces and does not restyle legacy diagrams. */
[data-viz-type="sankey"] .ebm-root .lv-stage{padding:1rem;background:var(--reading-surface,#01040e);--lv-ink:#e2e8f0;--ebm-in:#38bdf8;--ebm-use:#34d399;--ebm-other:#fbbf24;}
[data-viz-type="sankey"] .ebm-root .ebm-graph{width:100%;max-width:32rem;height:auto;display:block;margin-inline:auto;}
[data-viz-type="sankey"] .ebm-root .lv-sliders{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;}
:root[data-theme="light"] [data-viz-type="sankey"] .ebm-root .lv-stage{background:var(--reading-surface,#fcfcfd);--lv-ink:#0f172a;--ebm-in:#0369a1;--ebm-use:#047857;--ebm-other:#a16207;}
@media(max-width:540px){[data-viz-type="sankey"] .ebm-root .lv-sliders{grid-template-columns:1fr;}}
