/* Page « Statistiques » : tableau de bord, tableau par motif, alerte et carte des heures. Le reste vient de page-synchronisation-google-agenda.css et feature-bands.css. */
.stats-feature .stats-feature-preview { display: flex; justify-content: center; padding: 1.6rem; }
.stats-feature-dash { width: min(100%, 26rem); display: flex; flex-direction: column; gap: .9rem; background: #fff; border: 1px solid #e3e1ef; border-radius: 1rem; padding: 1.2rem; box-shadow: 0 18px 40px rgba(20, 18, 58, .12); color: #14123a; }
.stats-feature-from { display: flex; align-items: center; gap: .55rem; padding-bottom: .7rem; border-bottom: 1px solid #eeedf5; font-weight: 600; font-size: .95rem; }
.stats-feature-from img { border-radius: 50%; }
.stats-feature-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.stats-feature-kpis div { display: flex; flex-direction: column; gap: .2rem; padding: .8rem; border: 1px solid #eeedf5; border-radius: .75rem; background: #faf9ff; }
.stats-feature-kpis span { color: #6b7088; font-size: .82rem; font-weight: 600; }
.stats-feature-kpis strong { font-size: 1.5rem; }
.stats-feature-kpis small { color: #6b7088; font-size: .8rem; }
.stats-feature-kpis small.is-up { color: #1f7a4d; font-weight: 700; }
.stats-feature-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.stats-feature-table th { text-align: left; color: #6b7088; font-weight: 600; font-size: .82rem; padding: 0 .4rem .5rem; border-bottom: 1px solid #eeedf5; }
.stats-feature-table td { padding: .6rem .4rem; border-bottom: 1px solid #f2f1f8; color: #14123a; }
.stats-feature-table tr:last-child td { border-bottom: 0; }
.stats-feature-table tr.is-alert td { background: #fff4e5; }
.stats-feature-table tr.is-alert td:nth-child(3) { color: #b54708; font-weight: 700; }
.stats-feature-alert { margin: 0; padding: .75rem .85rem; border-radius: .7rem; background: #fff4e5; color: #7a3d06; font-size: .92rem; line-height: 1.45; align-items: flex-start; }
.stats-feature-grid { display: grid; grid-template-columns: 2.6rem repeat(5, 1fr); gap: .35rem; align-items: center; }
.stats-feature-hour { text-align: center; color: #6b7088; font-size: .78rem; font-weight: 600; }
.stats-feature-day { color: #4b5068; font-size: .85rem; font-weight: 600; }
.stats-feature-cell { height: 1.9rem; border-radius: .4rem; background: #f1efff; }
.stats-feature-cell.level-0 { background: #f7f6fc; }
.stats-feature-cell.level-2 { background: #d6cffd; }
.stats-feature-cell.level-3 { background: #9b8cf6; }
.stats-feature-cell.level-4 { background: #3b2bd6; }
/* Lot D : carte « Vos clients » (fidélité, perdus de vue) et e-mail de relance. */
.stats-feature-client-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.stats-feature-client-tiles div { display: flex; flex-direction: column; gap: .2rem; min-width: 0; padding: .8rem; border: 1px solid #eeedf5; border-radius: .75rem; background: #faf9ff; }
.stats-feature-client-tiles span { color: #6b7088; font-size: .82rem; font-weight: 600; }
.stats-feature-client-tiles strong { font-size: 1.5rem; color: #14123a; }
.stats-feature-client-tiles small { color: #6b7088; font-size: .8rem; line-height: 1.35; }
.stats-feature-client-tiles div.is-lost { background: #fff4e5; border-color: #fde3c0; }
.stats-feature-client-tiles div.is-lost strong { color: #b54708; }
.stats-feature-client-mail { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid #eeedf5; }
.feature-band .stats-feature-client-mail p { margin: .55rem 0 0; color: #4b5068; font-size: .9rem; line-height: 1.45; }
@media (max-width: 520px) { .stats-feature-client-tiles { grid-template-columns: 1fr; } }
