.energy-page { max-width: 1160px; padding-block: 1.3rem clamp(2.5rem, 6vw, 5rem); }
.energy-back a, .energy-notes a { color: #ffd58d; text-underline-offset: .18em; }
.energy-hero { margin: 1.4rem 0 1.2rem; }
.energy-hero h1 { font-size: clamp(2.5rem, 6vw, 4.65rem); max-width: 17ch; }
.energy-lead { color: #d4dfea; font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 67ch; margin: .65rem 0 0; }
.energy-banner { width: 100%; height: auto; border-radius: .9rem; border: 1px solid #827154; background: #263a45; }
.energy-dashboard { margin-top: 1.45rem; }
.energy-metrics:not([hidden]) { display: flex; flex-wrap: wrap; gap: .45rem; }
.energy-metrics button {
  padding: .52rem .82rem; border-radius: .5rem; border: 1px solid #497272; background: #142f38;
  color: #e3f2e6; font: 700 .95rem/1.35 var(--sans); cursor: pointer;
}
.energy-metrics button[aria-pressed="true"] { background: #d4edb7; border-color: #d4edb7; color: #17291d; }
.energy-sliders:not([hidden]) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; margin-top: .85rem; }
.energy-sliders label {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: .32rem .55rem; color: #dce8ee;
  padding: .72rem .85rem; border: 1px solid #304b55; border-radius: .7rem; background: #102632;
}
.energy-sliders output { color: #e3f7bc; font-weight: 800; font-variant-numeric: tabular-nums; }
.energy-sliders input { grid-column: 1/-1; width: 100%; min-height: 26px; margin: 0; accent-color: #c1e39d; }
.energy-page :is(button,a,input):focus-visible { outline: 2px solid #ffe3a8; outline-offset: 3px; }
.energy-description { margin: .8rem 0 1.05rem; color: #d2deea; }
.energy-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); grid-template-areas: "board focus"; gap: .8rem; align-items: start; }
.energy-board, .energy-focus, .energy-notes { min-width: 0; padding: clamp(.82rem,2vw,1.3rem); border: 1px solid #334957; border-radius: .8rem; background: #102237; }
.energy-board { grid-area: board; }
.energy-focus { grid-area: focus; }
.energy-board h2, .energy-focus h2, .energy-notes h2 { font-size: clamp(1.25rem,2.5vw,1.85rem); }
.energy-board h2 span + span { color: #c6e7a2; }
.energy-coverage { color: #c5d5dc; font-size: .88rem; margin: .3rem 0 .6rem; }
.energy-board table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.energy-board :is(th,td) { text-align: left; padding: .44rem .35rem; border-bottom: 1px solid #344759; overflow-wrap: anywhere; }
.energy-board thead th { color: #c7d6df; font-size: .8rem; }
.energy-board tbody th { font-weight: 620; }
.energy-board tbody td:first-child { width: 3.2rem; color: #c7d6df; }
.energy-score { width: 30%; font-weight: 750; }
.energy-score > span:first-child { white-space: nowrap; }
.energy-meter { display: block; height: 4px; margin: .23rem 0 .1rem; border-radius: .4rem; background: #2d4654; overflow: hidden; }
.energy-meter::before { content: ""; display: block; width: var(--energy-value, 0%); height: 100%; background: #a2cf88; }
.energy-focus-row { background: #213b3b; color: #e2f4cb; }
.energy-focus-card { display: grid; gap: .15rem; border: 1px solid #536a58; border-radius: .6rem; padding: .65rem .8rem; margin-top: .7rem; background: #193234; }
.energy-focus-card span { font-size: .9rem; color: #e4e9e1; }
.energy-focus-card strong { color: #e1f3b8; font-size: clamp(1.28rem,3vw,1.85rem); line-height: 1.15; }
.energy-focus-card small { color: #c5d5cf; font-size: .83rem; }
.energy-notes { margin-top: 1rem; color: #d6e1ea; }
.energy-notes h2 { color: var(--ivory); }
.energy-notes h2:not(:first-child) { margin-top: 1.3rem; }
.energy-notes p { margin: .45rem 0 .75rem; }
@media (max-width: 670px) {
  .energy-layout { grid-template-columns: 1fr; grid-template-areas: "focus" "board"; }
  .energy-focus { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem; }
  .energy-focus h2 { grid-column: 1/-1; }
  .energy-focus-card { margin-top: .2rem; }
}
