:root { --portal-nav-bg: #102a34; --portal-focus: #367ee4; }
.portal-energy .portal-settings { margin-inline: 16px; }
.portal-energy .portal-nav { --portal-nav-items: 5; }
.energy-spotlight { margin-bottom: 14px; }
.energy-spotlight .metric { min-height: 0; }
.price-picker { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.price-picker input { flex: 1; min-width: 95px; }
.price-picker output { flex-basis: 100%; }
html[data-portal-layout="mobile"] .portal-energy .shell { padding: 14px; }
html[data-portal-layout="mobile"] .portal-energy :is(.topbar, .topactions, .panelhead, .chartfooter) { flex-wrap: wrap; }
html[data-portal-layout="mobile"] .portal-energy :is(.columns, .home-fields, .home-selection-grid, .compare-fields) { grid-template-columns: minmax(0, 1fr); }
html[data-portal-layout="mobile"] .portal-energy .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html[data-portal-layout="mobile"] .portal-energy .metric { padding: 12px; min-height: 0; }
html[data-portal-layout="mobile"] .portal-energy .metric strong { font-size: clamp(17px, 5vw, 24px); overflow-wrap: anywhere; }
html[data-portal-layout="mobile"] .portal-energy :is(.controls label, .controls select, .topactions) { min-width: 0; max-width: 100%; }
html[data-portal-layout="mobile"] .portal-energy .chartwrap { overflow-x: auto; }
html[data-portal-layout="mobile"] .portal-energy #chart { min-width: 520px; }
html[data-portal-layout="tablet"] .portal-energy :is(.metrics, .bill-metrics) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-portal-layout="tablet"] .portal-energy .columns { grid-template-columns: minmax(0, 1fr); }
.portal-energy .portal-nav:has([data-portal-section][hidden]) { --portal-nav-items: 1; }
.energy-spotlight.metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
