.energy-page{--energy-blue:#9babff;--energy-green:#72d6b6;max-width:1480px;margin:auto;color:var(--ink);font-variant-numeric:tabular-nums}
.energy-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:8px 0 20px}.energy-heading h1{font-size:clamp(24px,3vw,34px);letter-spacing:-.035em;margin:0}.energy-eyebrow{font-size:10px;letter-spacing:.18em;color:var(--ink-3);margin:0 0 7px}
.energy-shortcuts,.energy-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.energy-card-actions{justify-content:space-between;margin-bottom:16px}.energy-action{min-height:42px;padding:9px 13px!important;font-size:12px!important}
.energy-shortcuts{justify-content:flex-end;max-width:680px}.energy-shortcuts .btn,.energy-card-actions .btn{display:inline-flex;align-items:center;justify-content:center;width:auto;flex:0 0 auto;margin:0}
.energy-live-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--line)}.energy-live-strip .energy-metric{padding:16px 22px;background:var(--surface);margin:0}
.energy-sections{--energy-card-gap:20px;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px!important;align-items:start}.energy-sections>.sec{min-width:0;margin:0!important;grid-column:auto}.energy-sections>.sec[data-sec=energy-prices]{grid-column:1/-1}.energy-sections .sec-head{margin:0 0 10px}.energy-sections .sec-head h2{font-size:18px}.energy-card{border:1px solid var(--line);border-radius:16px;padding:20px;background:var(--surface);min-width:0;overflow:hidden}
.energy-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.energy-metric{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.energy-label{font-size:11px;color:var(--ink-3);line-height:1.4}.energy-metric strong{font-size:clamp(19px,2.1vw,29px);font-weight:620;letter-spacing:-.035em;line-height:1.15;overflow-wrap:anywhere}.energy-metric small{font-size:11px;color:var(--ink-3);line-height:1.4}.energy-accent strong{color:var(--energy-blue)}.energy-uncertain strong{opacity:.8}
.energy-caption,.energy-empty,.energy-warning{font-size:11px;line-height:1.6;color:var(--ink-3);margin:14px 0 0}.energy-empty{padding:16px 0}.energy-warning{color:var(--warn,var(--ink));border-left:2px solid currentColor;padding-left:10px}.energy-price-scroll{display:flex;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;padding:16px 0 10px;scrollbar-width:thin}.energy-hour{flex:1 0 56px;min-width:56px;max-width:92px;display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:10px 7px 8px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ink);font:inherit;cursor:pointer}.energy-hour b{font-size:13px;white-space:nowrap}.energy-hour>span:not(.energy-bar-area){font-size:11px}.energy-hour>small{font-size:10px;color:var(--ink-3)}.energy-hour[aria-pressed=true]{border-color:var(--energy-blue);background:color-mix(in srgb,var(--energy-blue) 10%,transparent)}.energy-hour:hover{background:color-mix(in srgb,var(--energy-blue) 7%,transparent)}.energy-bar-area{height:90px;position:relative;display:block;margin:1px 8px}.energy-price-bar{position:absolute;left:0;right:0;border-radius:4px;background:linear-gradient(0deg,#677ae0,#a3affc)}.energy-cheapest .energy-price-bar{background:linear-gradient(0deg,#398e7a,#85debd)}.energy-past{opacity:.5}.energy-price-bar.energy-negative{background:#6da9c9}.energy-zero{position:absolute;left:-5px;right:-5px;border-top:1px solid var(--ink-3);opacity:.5;z-index:2}.energy-sell-mark{position:absolute;left:-5px;right:-5px;border-top:3px solid var(--energy-green);z-index:3}
.energy-price-detail{margin-top:15px;padding-top:14px;border-top:1px solid var(--line)}.energy-detail-title{display:flex;align-items:baseline;gap:12px;justify-content:space-between;margin-bottom:9px}.energy-detail-title strong{font-size:14px}.energy-detail-title span{font-size:11px;color:var(--ink-3)}.energy-table-scroll{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%}.energy-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.energy-table th{text-align:left;color:var(--ink-3);font-size:10px;font-weight:500}.energy-table th,.energy-table td{padding:9px 12px;border-bottom:1px solid var(--line)}.energy-table th:first-child,.energy-table td:first-child{padding-left:0}.energy-table th:last-child,.energy-table td:last-child{padding-right:0}.energy-table tr:last-child td{border-bottom:0}
.energy-sections [data-sec=energy-solar] .energy-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-roofs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.energy-roof{display:flex;flex-direction:column;gap:7px}.energy-roof strong{font-size:22px;letter-spacing:-.03em}.energy-roof small{font-size:10px;color:var(--ink-3)}.energy-roof-track{height:4px;background:var(--line);border-radius:4px;overflow:hidden}.energy-roof-track i{display:block;height:100%;background:#e8be78;border-radius:4px}.energy-more{border-top:1px solid var(--line);margin-top:16px;padding-top:3px}.energy-more>summary{padding:12px 0;min-height:44px;font-size:12px;cursor:pointer;color:var(--ink-2,var(--ink))}.energy-more p{font-size:12px;line-height:1.65;color:var(--ink-2,var(--ink));white-space:pre-wrap}.energy-more .row,.energy-money-facts .row{font-size:12px;padding:9px 0}.energy-battery-track{height:12px;border-radius:8px;background:var(--line);margin-top:20px;position:relative}.energy-battery-track>i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#429c86,#7ae0ba)}.energy-battery-track>span{position:absolute;top:-4px;bottom:-4px;width:2px;background:var(--ink);opacity:.7}.energy-narrative{font-size:13px;line-height:1.65;margin:16px 0}.energy-segment{display:flex;padding:3px;border:1px solid var(--line);border-radius:10px;gap:2px}.energy-segment button{min-width:55px;min-height:36px;border:0;border-radius:7px;background:transparent;color:var(--ink);font:inherit;font-size:12px;cursor:pointer}.energy-segment button[aria-pressed=true]{background:color-mix(in srgb,var(--energy-blue) 22%,transparent)}.energy-money-facts{margin-top:16px}
.energy-page button:focus-visible,.energy-more summary:focus-visible{outline:2px solid var(--energy-blue);outline-offset:3px}
@media(max-width:950px){.energy-heading{align-items:flex-start;flex-direction:column}.energy-sections{--energy-card-gap:16px;gap:16px!important}.energy-card{padding:16px}.energy-metric strong{font-size:22px}.energy-sections [data-sec=energy-battery] .energy-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-sections [data-sec=energy-battery] .energy-metric:last-child{grid-column:1/-1}.energy-detail-title{align-items:flex-start;flex-direction:column;gap:4px}}
@media(max-width:650px){.energy-sections{grid-template-columns:minmax(0,1fr)}.energy-live-strip .energy-metric{padding:13px 10px}.energy-live-strip strong{font-size:20px}.energy-live-strip small{font-size:10px}.energy-metrics{gap:12px}.energy-sections [data-sec=energy-prices] .energy-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-sections [data-sec=energy-prices] .energy-metric:last-child{grid-column:1/-1}.energy-sections [data-sec=energy-money] .energy-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-sections [data-sec=energy-money] .energy-metric:last-child{grid-column:1/-1}.energy-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.energy-shortcuts .btn{width:100%}.energy-heading{margin-bottom:16px}.energy-table{font-size:11px}.energy-card-actions{gap:10px}}
@media(min-width:651px) and (max-width:950px){.energy-shortcuts{justify-content:flex-start;max-width:100%}}

.energy-sections.energy-packed{grid-auto-rows:1px;row-gap:0!important}.energy-sections.energy-packed>.sr-only{position:absolute}
/* Calendar-day price charts shared by Energy, Home and the grid panel. */
.forecast-pilot{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:12px;max-width:100%;overflow-wrap:anywhere}
.price-days .forecast-pilot h5{font-size:15px;margin:0 0 8px}.forecast-pilot .energy-caption{margin-top:8px}
.forecast-pilot-duration{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}
.forecast-pilot-duration button{flex:1 1 54px;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;cursor:pointer}
.forecast-pilot-duration button[aria-pressed="true"]{border-color:var(--heat);background:var(--heat-wash);color:var(--heat-ink)}
.forecast-pilot-day{padding:14px 0;border-top:1px solid var(--line)}.forecast-pilot-day p{font-size:13px;line-height:1.5;margin:8px 0}.forecast-pilot-day .energy-caption{font-size:11px}
.price-days{--energy-blue:#9babff;--energy-green:#72d6b6;min-width:0;max-width:100%;font-variant-numeric:tabular-nums}
.price-day,.price-forecast{min-width:0;border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.price-days h4{font-size:17px;margin:0 0 5px}.price-days h5{font-size:13px;margin:20px 0 4px}.price-day>.energy-caption{margin-top:5px}.price-days .energy-hour{flex:0 0 56px;width:56px;box-sizing:border-box}.price-days .energy-price-scroll{min-width:0;max-width:100%;overflow-anchor:none}.price-days .energy-hour[data-hscroll-ted]{outline:1px solid var(--energy-blue);outline-offset:-1px}.price-days .energy-hour[data-hscroll-ted]>span:last-of-type{color:var(--energy-blue);font-weight:700}.price-days button:focus-visible,.price-days [tabindex]:focus-visible{outline:2px solid var(--energy-blue);outline-offset:-2px}.price-experimental{display:inline-block;font-size:10px;letter-spacing:.03em;padding:4px 8px;border:1px solid #dcb47b80;border-radius:5px;color:#dcb47b;margin-top:4px}.price-forecast-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;margin-top:10px;overflow-anchor:none}.price-forecast-scroll svg{display:block;max-width:none}.price-forecast-band{fill:#dcb47b;opacity:.16}.price-forecast-line{fill:none;stroke:#dcb47b;stroke-width:2;stroke-dasharray:5 4}.price-forecast-zero{stroke:var(--ink-3);stroke-width:.5}.price-forecast-label{fill:var(--ink-2,var(--ink));font:11px system-ui}.price-history{border-top:1px solid var(--line);margin-top:22px;padding-top:12px}.price-history>summary{font-size:13px;min-height:40px;cursor:pointer;padding:10px 0}.price-days .energy-price-detail{margin-top:8px}.price-days .energy-caption{max-width:85ch}
