/* Operating performance KPI structure — v1.0.67 */

body.ep-portal-page .ep-financial-kpi-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 18px !important;
	align-items: stretch !important;
}

body.ep-portal-page .ep-financial-kpi-grid .ep-kpi-card {
	min-width: 0 !important;
	min-height: 190px !important;
	height: 100% !important;
}

body.ep-portal-page .ep-profit-calculation-preview {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 12px !important;
}

body.ep-portal-page .ep-profit-calculation-preview > div {
	min-width: 0 !important;
}

@media (max-width: 1280px) {
	body.ep-portal-page .ep-financial-kpi-grid,
	body.ep-portal-page .ep-profit-calculation-preview {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 650px) {
	body.ep-portal-page .ep-financial-kpi-grid,
	body.ep-portal-page .ep-profit-calculation-preview {
		grid-template-columns: 1fr !important;
	}
}
