/* Accueil : tableau de bord « À faire » et raccourcis. S'appuie sur le design system (/lafabrik/). */
[hidden] { display: none !important; }
.aide { font-size: 13px; line-height: 18px; color: var(--encre-douce); }
.accueil section { margin-top: var(--espace-8); }
.accueil__titre { margin: 0 0 var(--espace-3); font-size: 16px; line-height: 22px; font-weight: 600; }

/* Tâches : une carte par chose à faire, la plus urgente en haut */
.taches { display: grid; gap: var(--espace-3); }
.tache { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-4); padding: 18px var(--espace-5); }
.tache--attente { min-height: 80px; }
.tache__icone {
    flex: none; display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--arrondi-bouton);
    background: var(--rouge-clair); color: var(--rouge);
}
.tache__icone svg { width: 22px; height: 22px; }
.tache--alerte .tache__icone { background: var(--erreur-clair); color: var(--erreur-fonce); }
.tache--suivi .tache__icone { background: var(--piste); color: var(--encre); }
.tache__texte { flex: 1 1 320px; min-width: 0; display: grid; gap: 2px; }
.tache__titre { margin: 0; font-size: 17px; line-height: 24px; font-weight: 600; }
.tache--alerte .tache__titre { color: var(--erreur-fonce); }
.tache__detail { margin: 0; font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.tache__actions { display: flex; flex-wrap: wrap; gap: var(--espace-2); }
.tache--fini { justify-content: flex-start; }
.tache--fini .lf-coche { width: 36px; height: 36px; }
.indisponible { margin: var(--espace-3) 0 0; }

/* Raccourcis : commencer une tâche courante en un clic */
.raccourcis { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--espace-3); }
a.raccourci { flex-direction: row; align-items: center; gap: var(--espace-3); padding: 16px 18px; }
.raccourci svg { width: 22px; height: 22px; flex: none; color: var(--rouge); }
.raccourci strong { display: block; font-weight: 500; }
