/* Precio de la luz PVPC: mismos colores que las herramientas. */
.vi-pl {
	border: 1px solid #cfe2dc;
	border-radius: 16px;
	padding: 20px;
	margin: 1.5em 0;
	background: #fff;
	color: #10202c;
}

.vi-pl-title {
	font-weight: 700;
	font-size: 1.2em;
	margin-bottom: 10px;
}

.vi-pl-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.vi-pl-tab {
	border: 1px solid #cfe2dc;
	background: #f2faf7;
	color: #005747;
	border-radius: 999px;
	padding: 6px 16px;
	font: inherit;
	cursor: pointer;
}

.vi-pl-tab[aria-pressed="true"] {
	background: #005747;
	border-color: #005747;
	color: #fff;
}

.vi-pl-summary {
	color: #526171;
	margin-bottom: 12px;
}

.vi-pl-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 8px;
}

.vi-pl-stat {
	border: 1px solid #cfe2dc;
	border-radius: 10px;
	padding: 8px 10px;
	display: grid;
	gap: 2px;
	color: #10202c;
}

.vi-pl-stat.is-low {
	background: #e3f5ee;
}

.vi-pl-stat.is-high {
	background: #fdecea;
}

.vi-pl-stat-label {
	font-size: 0.8em;
	color: #526171;
}

.vi-pl-cheap {
	font-size: 0.92em;
}

.vi-pl-chart {
	display: grid;
	gap: 3px;
	font-variant-numeric: tabular-nums;
}

.vi-pl-row {
	display: grid;
	grid-template-columns: 3.2em 1fr 9.5em;
	gap: 8px;
	align-items: center;
	font-size: 0.9em;
	padding: 1px 4px;
	border-radius: 6px;
}

.vi-pl-row.is-now {
	background: #fff7ed;
	font-weight: 700;
}

.vi-pl-track {
	background: #f2f4f5;
	border-radius: 4px;
	height: 12px;
	overflow: hidden;
}

.vi-pl-bar {
	display: block;
	height: 100%;
	border-radius: 4px;
}

.vi-pl-row.is-low .vi-pl-bar {
	background: #2e9e74;
}

.vi-pl-row.is-mid .vi-pl-bar {
	background: #e0a43a;
}

.vi-pl-row.is-high .vi-pl-bar {
	background: #c8553d;
}

.vi-pl-price {
	text-align: right;
}

.vi-pl-source {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px dashed #cfe2dc;
	font-size: 0.85em;
	color: #526171;
}

.vi-pl-source a {
	color: #005747;
}

@media (max-width: 600px) {
	.vi-pl {
		padding: 14px;
	}

	.vi-pl-stats {
		grid-template-columns: 1fr;
	}

	.vi-pl-row {
		grid-template-columns: 3em 1fr 8.5em;
		font-size: 0.85em;
	}
}
