/* Compact secondary dashboard summaries. Main KPI cards keep their existing style. */
.stats.dashboard-type-summary,#dashboard-retention .stats{display:grid;gap:10px;margin:12px 0;align-items:stretch}
.stats.dashboard-type-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
#dashboard-retention .stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.stats.dashboard-type-summary>.stat,#dashboard-retention .stats>.stat{min-width:0;min-height:0;padding:12px 14px;border-radius:12px;gap:4px;display:flex;flex-direction:column}
.stats.dashboard-type-summary>.stat>span,#dashboard-retention .stats>.stat>span{font-size:13px;line-height:1.3;margin:0}
.stats.dashboard-type-summary>.stat>strong,#dashboard-retention .stats>.stat>strong{font-size:24px;line-height:1.15;margin:2px 0;font-weight:700}
.stats.dashboard-type-summary>.stat>small,#dashboard-retention .stats>.stat>small{font-size:11px;line-height:1.35;margin:0}
#dashboard-retention>.muted.small{font-size:12px;margin:6px 0}
@media(max-width:700px){.stats.dashboard-type-summary,#dashboard-retention .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

#retention-calculation #contract-reminders{display:none !important}