.overview-views {
  display:inline-flex; align-items:center; gap:3px; padding:3px;
  margin-bottom:14px; border:1px solid #d4dcce; background:#e9eee3; border-radius:16px;
}
.overview-views button {
  display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px;
  padding:7px 16px; border:0; border-radius:12px; background:transparent;
  font-size:13px; font-weight:650; line-height:1.2; color:#526a5b;
  transition:background .18s,color .18s;
}
.overview-views button:hover{color:var(--pine)}
.overview-views button[aria-selected=true]{background:var(--card);box-shadow:0 1px 4px #183c3020;color:var(--pine)}
.overview-views button .icon{width:18px;height:18px}
#overview-deck{touch-action:pan-y pinch-zoom}
.energy-flow {
  --instrument:#143f39; --night:#0e312e; --rim:#45665c; --warm-white:#f0f3e7;
  overflow:hidden; padding:clamp(18px,2.2vw,30px); color:var(--warm-white);
  border:1px solid #244b42; border-radius:var(--round);
  background:radial-gradient(ellipse at 100% 0,#245046,transparent 60%),var(--night);
}
.energy-flow-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.energy-flow-head h2{font-size:clamp(24px,2.8vw,36px);letter-spacing:-.05em}
.energy-flow-head .eyebrow{color:#c3d3bd;margin-bottom:3px}
.motion-button {
  display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;
  background:#244b43;color:#edf5e4;border:1px solid #6e8679;
}
.motion-button:hover{background:#34594f}
.motion-button .icon{width:17px;height:17px}
.energy-flow-layout {
  display:grid;grid-template-columns:minmax(0,1.75fr) minmax(244px,1fr);
  align-items:stretch;gap:clamp(15px,2.4vw,34px)
}
.energy-diagram {
  display:grid;place-items:center;min-width:0;overflow:hidden;border-radius:17px;
  border:1px solid var(--rim);background:#123b36;
}
.energy-art{display:block;width:100%;height:auto;max-height:420px;overflow:visible;font-family:inherit}
.energy-art [data-flow-node]{cursor:pointer;outline:0;touch-action:pan-y pinch-zoom}
.energy-art [data-flow-node]:is([aria-pressed=true],:focus-visible) .flow-node-outline{opacity:1;stroke-width:2}
.energy-art [data-flow-node]:focus-visible .flow-node-outline{stroke:white;stroke-width:3}
@media(hover:hover){.energy-art [data-flow-node]:hover .flow-node-outline{opacity:.75}}
.energy-art .flow-track{fill:none;stroke:#6d9185;stroke-opacity:.54;stroke-width:2.75}
.energy-art .flow-trace{
  display:none;fill:none;stroke:currentColor;stroke-width:3.2;stroke-linecap:round;
  stroke-dasharray:3 9;pointer-events:none;
}
.energy-art [data-forward=true] .flow-trace.forward,
.energy-art [data-reverse=true] .flow-trace.reverse{display:inline;opacity:1}
.energy-flow[data-animate=true] [data-forward=true] .flow-trace.forward{animation:trace-energy 1.2s linear infinite}
.energy-flow[data-animate=true] [data-reverse=true] .flow-trace.reverse{animation:trace-energy 1.2s linear infinite reverse}
@keyframes trace-energy{from{stroke-dashoffset:12}to{stroke-dashoffset:0}}
.energy-focus {
  display:flex;flex-direction:column;min-width:0;padding:clamp(18px,2.2vw,30px);
  background:linear-gradient(155deg,#fffef7,#edf0e3);border-radius:17px;color:var(--ink);
}
.energy-focus .eyebrow{color:var(--muted)}
#energy-focus-title{font-size:clamp(20px,2vw,30px);margin:3px 0 7px}
#energy-focus-value{font-size:clamp(30px,3.7vw,48px);letter-spacing:-.063em;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.1}
#energy-focus-note{font-size:14px;line-height:1.5;color:var(--muted);margin:6px 0 18px}
#energy-focus-details{padding:0;margin:0;display:grid}
#energy-focus-details>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid #d3ddce;padding:9px 0;font-size:13px;line-height:1.4}
#energy-focus-details :is(dt,dd){margin:0}
#energy-focus-details :is(dd,strong){text-align:right;font-variant-numeric:tabular-nums}
.energy-flow-stamp{margin-top:14px;font-size:12px;color:#cedfd3;line-height:1.45}
#overview-deck [role=tabpanel]:not([hidden]){animation:reveal-energy .23s ease-out}
@keyframes reveal-energy{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(min-width:941px){.energy-diagram{min-height:360px}}
@media(max-width:850px){.energy-flow-layout{grid-template-columns:minmax(0,1.38fr) minmax(230px,1fr)}}
@media(max-width:660px){
  .overview-views{margin-bottom:12px}
  .overview-views button{min-height:44px}
  .energy-flow{padding:14px;border-radius:19px}
  .energy-flow-head{margin:1px 3px 12px}.energy-flow-head h2{font-size:24px}
  .energy-flow-layout{grid-template-columns:minmax(0,1fr);gap:12px}
  .energy-diagram{border-radius:12px;margin-inline:-4px}
  .energy-focus{padding:16px;border-radius:13px}
  #energy-focus-note{margin:4px 0 10px;font-size:13px}
  #energy-focus-title{font-size:19px}
  #energy-focus-value{font-size:29px}
  #energy-focus-details>div{padding:6px 0}
  .energy-flow-stamp{margin:11px 3px 0;font-size:11px}
}
@media(max-width:365px){.energy-flow{padding:12px}.energy-diagram{margin-inline:-7px}}
@media(prefers-reduced-motion:reduce){.energy-flow .flow-trace,#overview-deck [role=tabpanel]:not([hidden]){animation:none!important}}
html[data-motion=off] #overview-deck [role=tabpanel]:not([hidden]){animation:none}

