.energy-history{margin-top:20px}.eh-explorer{background:#eef3eb;padding:18px;border-radius:16px;margin-bottom:20px}.eh-explorer>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.eh-explorer output{font-weight:700;color:#173e31}.eh-explorer input{width:100%;accent-color:#215b45;min-height:44px;margin:8px 0 0;padding:0;cursor:pointer}.eh-explorer p,.eh-note{font-size:14px;line-height:1.5;color:#5a6c60;margin:6px 0}.eh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.eh-panel{min-width:0;border:1px solid #dce6df;border-radius:16px;padding:18px;background:#fbfcfa}.eh-panel h3{font-size:18px;margin:0 0 16px}.eh-legends{display:flex;gap:16px;flex-wrap:wrap}.eh-legend{display:grid;grid-template-columns:10px 1fr;gap:4px 8px;font-size:14px}.eh-legend>span:first-child{width:9px;height:9px;border-radius:50%;align-self:center}.eh-legend strong{grid-column:2;font-size:22px;font-variant-numeric:tabular-nums}.eh-plot{display:block;width:100%;height:auto;margin-top:12px;overflow:visible}.eh-plot text{font:14px system-ui;fill:#526558}.eh-empty{min-height:100px;display:flex;align-items:center;color:#647568;line-height:1.5}.eh-note{margin-top:18px}.energy-history-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.energy-history-heading h2{margin:0}.energy-history-heading select{width:auto;min-height:44px}@media(max-width:900px){.eh-grid{grid-template-columns:1fr}}@media(max-width:540px){.eh-panel{padding:14px}.eh-plot{min-height:175px}.eh-plot text{font-size:17px}.eh-explorer{padding:14px}.eh-legend strong{font-size:23px}}

.eh-panel .eh-explorer{margin:16px 0 0}.eh-panel .eh-explorer output{font-variant-numeric:tabular-nums}

/* Scala percentuale distinta dalle potenze; i testi spiegano anche il segno. */
.eh-plot .eh-soc-axis text{fill:#267ca1}.eh-chart-help{font-size:13px;line-height:1.5;color:#526558;margin:6px 0 0}.eh-battery-panel .eh-legends{column-gap:18px;row-gap:12px}.eh-battery-panel .eh-plot text{font-size:20px}
@media(max-width:540px){.eh-battery-panel .eh-plot{min-height:0}.eh-battery-panel .eh-plot text{font-size:26px}.eh-battery-panel .eh-legend{font-size:13px}.eh-battery-panel .eh-legend strong{font-size:21px}}
