/* Dashboard callout shell (shared by PUE and WUE widgets). */
.footprint-dashboard-widget {
	padding: 16px;
	margin: 18px 0 40px;
}

.footprint-dashboard-widget .notion-callout__content {
	width: 100%;
}

/* Vertical stack that controls the spacing between both widgets. */
.footprint-dashboard-widget-stack {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.footprint-dashboard-widget-stack > .footprint-dashboard-widget {
	margin: 0;
}

/* Header row with badge and live value. */
.footprint-dashboard-widget__header {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.footprint-dashboard-widget__badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 20px;
	border-radius: 999px;
	background: var(--color-bg-gray, #f3f3f3);
	color: var(--color-text-black, #666);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

/* Optional meta text kept for future use. */
.footprint-dashboard-widget__meta {
	font-size: 12px;
	color: var(--color-text-gray, #666);
}

.footprint-dashboard-widget__live-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #21c55d;
	box-shadow: 0 0 0 0 rgba(33, 197, 93, 0.5);
	animation: footprint-live-blink 2.2s ease-in-out infinite;
}

.footprint-dashboard-widget__live-value {
	font-variant-numeric: tabular-nums;
	font-size: 40px;
}


@keyframes footprint-live-blink {
	0% {
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(33, 197, 93, 0.55);
	}
	70% {
		opacity: 0.45;
		box-shadow: 0 0 0 8px rgba(33, 197, 93, 0);
	}
	100% {
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(33, 197, 93, 0);
	}
}

.footprint-dashboard-widget__live-icon {
	font-size: 33px;
	line-height: 1;
}

/* Chart layout block. */
.footprint-chart {
	position: relative;
}

.footprint-chart__viewport {
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.footprint-chart__slide {
	min-width: 100%;
	padding: 14px 14px 10px;
}

.footprint-chart__top {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	column-gap: 24px;
	row-gap: 8px;
	align-items: start;
	margin-bottom: 10px;
}

.footprint-chart__title {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 4px;
	font-size: 17px;
	line-height: 1.3;
}

.footprint-chart__title-main {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.footprint-chart__title-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #fff;
	color: var(--color-text-default, #444);
	white-space: nowrap;
}

/* KPI summary cards below each chart. */
.footprint-chart__kpis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 10px;
}

.footprint-chart__kpi {
	border: 1px solid var(--color-border-default, #e5e5e5);
	border-radius: 8px;
	padding: 8px;
	background: #fff;
}

.footprint-chart__kpi-label {
	display: block;
	margin-bottom: 3px;
	font-size: 11px;
	color: var(--color-text-gray, #666);
}

.footprint-chart__kpi-value {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

/* "Essentials" and methodology metadata above each chart. */
.footprint-chart__essentials {
	display: flex;
	flex-wrap: wrap;
	justify-content:flex-end;
	align-items: flex-start;
	gap: 50px;
	text-align: left;
	margin-top: 8px;
	border: 0;
	background: transparent;
	padding: 0;
	border-radius: 0;
}

.footprint-chart__essential {
	border: 0;
	border-radius: 0;
	padding: 0;
	background: transparent;
	max-width: 180px;
}

.footprint-chart__essential-label {
	display: block;
	margin-bottom: 3px;
	font-size: 11px;
	color: var(--color-text-gray, #666);
}

.footprint-chart__essential-value {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--color-text-default, #444);
}

.footprint-chart__methodology {
	grid-column: 1;
	margin-top: 0;
}

.footprint-chart__methodology p {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.45;
	color: #252525;
}

/* Fixed-height chart mount area to prevent resize feedback loops. */
.footprint-chart__plot {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
}

.footprint-chart__canvas {
	width: 100%;
	height: 100%;
	display: block;
}


.footprint-grid-line {
	stroke: #ececec;
	stroke-width: 1;
}

.footprint-axis-label {
	font-size: 11px;
	fill: #7f7f7f;
}

.footprint-series-line {
	fill: none;
	stroke: #327da9;
	stroke-width: 3;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.footprint-series-area {
	fill: rgba(50, 125, 169, 0.12);
}

.footprint-ref-line {
	stroke: #c64141;
	stroke-width: 2;
	stroke-dasharray: 6 4;
}

.footprint-ref-label {
	font-size: 11px;
	font-weight: 600;
	fill: #c64141;
}

.footprint-dot {
	fill: #327da9;
}

/* Spacing before the "Data Center KPIs" section title. */
#block-130a00104a40809ba3ede4822b635ff2 {
	margin-top: 0 !important;
}

#block-130a00104a408033934cc7e3570178dc.notion-divider {
	margin: 4px 0 2px !important;
}

#block-21ca00104a408030ac77f25ba335970e.notion-text {
	display: none !important;
}

#block-footprint.has-footer + .super-footer {
	padding-top: 10px !important;
}

#block-footprint.has-footer {
	padding-bottom: 0 !important;
}

/* Mobile adjustments for density and readability. */
@media (max-width: 700px) {
	.footprint-dashboard-widget {
		padding: 14px;
		margin: 14px 0 28px;
	}

	.footprint-dashboard-widget__header {
		flex-wrap: nowrap;
		gap: 8px;
	}

	.footprint-dashboard-widget__badge {
		padding: 6px 12px;
		font-size: 11px;
		letter-spacing: 0.06em;
		white-space: nowrap;
	}

	#block-130a00104a40809ba3ede4822b635ff2 {
		margin-top: 16px;
	}

	#block-130a00104a408033934cc7e3570178dc.notion-divider {
		margin: 3px 0 1px !important;
	}

	#block-footprint.has-footer + .super-footer {
		padding-top: 8px !important;
	}

	#block-footprint.has-footer {
		padding-bottom: 0 !important;
	}

	.footprint-chart__kpis {
		grid-template-columns: 1fr;
	}

	.footprint-chart__top {
		grid-template-columns: 1fr;
		row-gap: 10px;
	}

	.footprint-chart__title {
		flex-wrap: wrap;
	}

	.footprint-chart__title-live {
		padding: 4px 10px;
		
	}

	.footprint-chart__methodology,
	.footprint-chart__essentials {
		grid-column: 1;
	}

	.footprint-chart__essentials {
		justify-content: flex-start;
		text-align: left;
		gap: 8px;
	}
}
