/* Hallmark · component: energy detail panel · shape: app screen · genre: modern-minimal · theme: Horizon v2 (project) · v2.0.0 */
/* Critique: separate model time, scan time and monthly energy; use flat rows instead of duplicate metrics. */
/* Hallmark · finish-review: subagent · ship · 0 findings · gap: none */
:root {
  --ep-detail-gap: var(--space-3);
  --ep-detail-muted: var(--lab-muted);
  --ep-detail-line: var(--lab-line);
  --ep-detail-font: var(--font-family);
}
html, body { overflow-x: clip; }
body.experience-electric-power-body { overflow-x: clip; }
.ep-panel h1, .ep-panel h2 { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
.ep-panel :is(dt, .ep-control-label, .ep-snapshot-meta) {
  font-family: var(--ep-detail-font);
  letter-spacing: normal;
  font-variant-caps: normal;
}
.ep-panel [hidden] { display: none !important; }
.ep-overview-section { gap: var(--space-2); }
.ep-overview-section .ep-power-readout { margin: 0; }
.ep-panel :is(dt, output) { font-size: var(--fs-xs); font-weight: 600; }
.ep-panel :is(h1, h2, button, .ep-control-label, .ep-range-control span, .ep-heat-scale span) { font-weight: 700; }
.ep-overview-section > .ep-snapshot-stats {
  gap: var(--ep-detail-gap);
  padding-block: var(--space-2);
  border-block-start: 1px solid var(--ep-detail-line);
}
.ep-overview-section > .ep-snapshot-stats > div {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.ep-overview-section > .ep-snapshot-stats dd { font-size: var(--fs-sm); }
.ep-solar-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ep-detail-gap);
  margin: 0;
  padding-block: var(--space-2);
}
.ep-solar-metrics dt { color: var(--ep-detail-muted); font-size: var(--fs-sm); }
.ep-solar-metrics dd { margin: var(--space-1) 0 0; font-size: var(--fs-h4); font-weight: 600; font-variant-numeric: tabular-nums; }
.ep-solar-basis, .ep-solar-peak { margin: 0; font-size: var(--fs-sm); }
.ep-solar-basis { color: var(--ep-detail-muted); }
.ep-solar-peak { padding-block: var(--space-2); border-block-start: 1px solid var(--ep-detail-line); }
.ep-solar-peak strong, .ep-solar-peak time, .ep-solar-peak small { display: block; }
.ep-solar-peak time, .ep-solar-peak small { color: var(--ep-detail-muted); font-size: var(--fs-sm); }
.ep-overview-section .ep-snapshot-meta { margin-block: var(--space-2) 0; font-size: var(--fs-sm); font-weight: 400; }
.ep-overview-section .ep-snapshot-meta { white-space: pre-line; }
.ep-balance-heading { flex-wrap: wrap; gap: var(--space-1); }
.ep-history-window { margin-block: 0 var(--space-2); color: var(--ep-detail-muted); font-size: var(--fs-xs); }
.ep-overview-section .ep-live-at { font-family: var(--ep-detail-font); font-size: var(--fs-sm); font-weight: 400; }
.ep-panel :is(button, select, a):focus-visible { outline: 2px solid var(--lab-accent); outline-offset: 2px; }
.ep-panel button:active:not(:disabled) { border-color: var(--lab-accent); }
@media (prefers-reduced-motion: reduce) {
  .ep-panel *, .ep-panel *::before, .ep-panel *::after { animation: none !important; transition: none !important; }
}
