/* platform/stats.html — moved out of the template's inline <style> */
/* ── Page-level layout ── */
.pi-kpi-row    { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .85rem; margin-bottom: 1.5rem; }
.pi-grid-2     { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.pi-grid-3     { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; }
.pi-grid-full  { margin-bottom: 1rem; }

@media (max-width: 992px) {
    .pi-grid-2, .pi-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .pi-kpi-row { grid-template-columns: repeat(2, 1fr); }
}

/* ── KPI card override (compact) ── */
.ud-kpi-card { cursor: default; }

/* ── Loading overlay ── */
.pi-loading {
    display: flex; align-items: center; justify-content: center;
    min-height: 300px; color: var(--subtle-text-color);
    flex-direction: column; gap: 1rem;
}
