.homey-energy {
	box-sizing: border-box;
	padding: 16px;
	border-radius: 16px;
	background: #1f2937;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
/* Widget altijd de volle breedte van de kolom, ook in flex-containers van Elementor. */
.elementor-widget-homey_energy { width: 100%; max-width: 100%; min-width: 0; }
.homey-energy { width: 100%; min-width: 0; overflow: hidden; }
/* Thema-knopstijlen neutraliseren. */
.homey-energy button {
	font-family: inherit; font-weight: 400; line-height: 1.2; letter-spacing: normal; text-transform: none;
	min-height: 0; height: auto; box-shadow: none; text-shadow: none; margin: 0; cursor: pointer;
}
.homey-energy__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.homey-energy__title { font-size: 18px; }
.homey-energy__periods { display: inline-flex; background: rgba(255, 255, 255, .12); border-radius: 8px; padding: 2px; }
.homey-energy .homey-energy__pbtn { font-size: 12px; border: 0; background: transparent; color: inherit; padding: 4px 10px; border-radius: 6px; font-size: 12px; opacity: .8; }
.homey-energy__pbtn.is-active { background: rgba(255, 255, 255, .25); opacity: 1; }
.homey-energy__nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 6px; }
.homey-energy__date { font-size: 13px; opacity: .85; min-width: 140px; text-align: center; text-transform: capitalize; }
.homey-energy .homey-energy__arrow { font-size: 18px; border: 0; background: rgba(255, 255, 255, .12); color: inherit; width: 28px; height: 28px; border-radius: 50%; line-height: 1; padding: 0; }
.homey-energy__arrow:disabled { opacity: .3; cursor: default; }
.homey-energy__sum { display: flex; gap: 20px; flex-wrap: wrap; min-height: 38px; }
.homey-energy__stat { display: flex; flex-direction: column; }
.homey-energy__statv { font-size: 20px; font-weight: 700; }
.homey-energy__statl { font-size: 12px; opacity: .75; }
.homey-energy__plot { width: 100%; height: 220px; }
.homey-energy__plot svg { display: block; width: 100%; height: 100%; }
.homey-energy__legend { display: flex; gap: 8px; flex-wrap: wrap; }
.homey-energy .homey-energy__chip { font-size: 12px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(255, 255, 255, .1); color: inherit; padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.homey-energy__chip.is-off { opacity: .45; }
.homey-energy__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid transparent; box-sizing: border-box; }
.homey-energy__dot.is-dotted { border-style: dotted; }
.homey-energy__msg { font-size: 12px; opacity: .8; }
.homey-energy__msg[hidden] { display: none; }

/* Even hoog als de hoogste in de rij: de grafiek rekt mee. */
.homey-eq-on { align-self: stretch; }
.homey-eq-on > .elementor-widget-container { height: 100%; }
.homey-eq-on .homey-energy { height: 100%; }
.homey-eq-on .homey-energy__plot { flex: 1 1 auto; }
