/* ─── Stats ── */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 1.25rem;
}
@media (max-width: 900px) { .dash-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }

.dash-stat {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex; flex-direction: column; gap: 4px;
}
.dash-stat__value {
    font-size: 28px; font-weight: 700; line-height: 1;
    color: var(--color-text);
}
.dash-stat__value--green { color: #059669; }
.dash-stat__value--blue  { color: #2563EB; }
.dash-stat__value--red   { color: #DC2626; }
.dash-stat__label { font-size: 13px; color: var(--color-muted); }

/* ─── Grid 2 colonnes ─── */
.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}
@media (max-width: 768px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-col { display: flex; flex-direction: column; }

/* ─── Cards ─── */
.dash-card__header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: .75rem;
}
.dash-card__label { font-size: 13px; font-weight: 600; color: var(--color-muted); text-transform: uppercase; letter-spacing: .04em; }
.dash-card__link  { font-size: 13px; color: var(--color-primary); text-decoration: none; }
.dash-card__link:hover { text-decoration: underline; }

.dash-card--reunion { border-left: 3px solid #4F46E5; }
.dash-card--alert   { border-left: 3px solid #DC2626; }

/* ─── Prochaine réunion ─── */
.dash-reunion__title { font-size: 17px; font-weight: 600; margin-bottom: .35rem; }
.dash-reunion__meta  { font-size: 13px; color: var(--color-muted); display: flex; gap: 6px; flex-wrap: wrap; }

/* ─── Tickets dans le dashboard ─── */
.dash-ticket {
    display: flex; align-items: center; gap: 8px;
    padding: .5rem 0;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none; color: var(--color-text);
    font-size: 14px;
}
.dash-ticket:last-child { border-bottom: none; }
.dash-ticket:hover .dash-ticket__title { color: var(--color-primary); }
.dash-ticket__title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-ticket__col   { font-size: 12px; color: var(--color-muted); flex-shrink: 0; }
.dash-ticket__meta  { font-size: 12px; color: var(--color-muted); flex-shrink: 0; }

.priority-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.priority-dot--urgente { background: #EF4444; }
.priority-dot--haute   { background: #F59E0B; }
.priority-dot--normale { background: #3B82F6; }
.priority-dot--basse   { background: #D1D5DB; }

/* ─── Messages non lus ─── */
.dash-unread { display: flex; align-items: baseline; gap: 8px; }
.dash-unread__count {
    font-size: 36px; font-weight: 700; color: #DC2626; line-height: 1;
}
.dash-unread__label { font-size: 15px; color: var(--color-muted); }

/* ─── Sondages ─── */
.dash-sondage {
    display: flex; flex-direction: column; gap: 4px;
    padding: .5rem 0; border-bottom: 1px solid var(--color-border);
    text-decoration: none; color: var(--color-text);
}
.dash-sondage:last-child { border-bottom: none; }
.dash-sondage:hover .dash-sondage__title { color: var(--color-primary); }
.dash-sondage__title { font-size: 14px; font-weight: 500; }
.dash-sondage__meta  { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-muted); }

/* ─── Activité récente ─── */
.dash-activity {
    display: flex; gap: 10px; align-items: flex-start;
    padding: .45rem 0; border-bottom: 1px solid var(--color-border);
}
.dash-activity:last-child { border-bottom: none; }
.dash-activity__icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.dash-activity__body { flex: 1; min-width: 0; }
.dash-activity__title {
    display: block; font-size: 13px; font-weight: 500;
    color: var(--color-text); text-decoration: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-activity__title:hover { color: var(--color-primary); }
.dash-activity__meta { font-size: 12px; color: var(--color-muted); }
