/* Priorité des tâches et tâches en retard (v1.2). Couleurs : variables de styles.css (thèmes clair et sombre). */
.priorite {
  display: inline-block; border: 1px solid currentColor; border-radius: 999px; padding: 0 8px; margin: 0 4px;
  font-size: 12px; font-weight: 700; line-height: 18px; white-space: nowrap; vertical-align: middle;
}
.priorite.p-haute { color: var(--retard); }
.priorite.p-normale { color: var(--gris); }
.priorite.p-basse { color: var(--gris); border-style: dashed; font-weight: 600; }
.plus-retard { color: var(--retard); font-weight: 700; white-space: nowrap; }
.t-etat .plus-retard { color: inherit; }
td.tache .priorite { margin-left: 0; }

.bandeau-retards {
  margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--filet);
  border-left: 4px solid var(--retard); background: var(--blanc); color: var(--encre); font-weight: 600;
}
.bandeau-retards a { color: var(--retard); }
.bandeau-retards .hors { color: var(--gris); font-weight: 400; }
.coquille.collab .bandeau-retards { margin: 10px 12px 0; }

.note-retards { color: var(--gris); margin: 0 0 12px; }
.liste-retards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.retard-ligne {
  background: var(--blanc); color: var(--encre); border: 1px solid var(--filet); border-left: 4px solid var(--retard);
  border-radius: 12px; padding: 10px 12px;
}
.retard-ligne .titre {
  display: block; border: 0; background: none; padding: 0; text-align: left; font-weight: 700; color: var(--encre);
  cursor: pointer; overflow-wrap: anywhere;
}
.retard-infos { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 13.5px; }
.retard-infos .priorite { margin: 0; }
.retard-infos .ou { color: var(--gris); }
.filtre-retards { margin-bottom: 6px; }
