/* La VIGILANCE (1_Socles/CDC_Panneau_Moderation.md §11 ; /commun/vigilance.js) — partagée par vmodo et le panneau. Un fichier à part
   (chargé après /commun/style.css) : rien à fusionner dans le style commun. Téléphone : tout passe à la ligne, rien ne déborde. */
.liste-alertes { display: flex; flex-direction: column; gap: 8px; }
.alerte-vigilance { border: 1px solid var(--bord); border-left: 3px solid var(--bord-fort); border-radius: var(--rayon); background: var(--surface);
  padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.alerte-vigilance.gravite-2 { border-left-color: var(--avert); }
.alerte-vigilance.gravite-3 { border-left-color: var(--danger); }
.alerte-vigilance.close { opacity: .62; }
.alerte-tete, .alerte-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.alerte-titre { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.alerte-quand { font-size: 12px; white-space: nowrap; }
.alerte-ligne { font-size: 13px; }
.alerte-ligne .exemple-alerte { font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.genre-alerte { color: var(--texte); }
.pastille.statut-nouvelle { color: var(--avert); border-color: #fbbf2466; }
.pastille.statut-prise { color: var(--accent); border-color: var(--accent); }
.pastille.statut-classee, .pastille.statut-sanctionnee { color: var(--tres-doux); }
.pastille.gravite-1 { color: var(--doux); }
.pastille.gravite-2 { color: var(--avert); border-color: #fbbf2466; }
.pastille.gravite-3 { color: var(--danger); border-color: #f8717166; }
.texte-alerte { margin: 0; padding: 6px 10px; border-left: 2px solid var(--bord-fort); background: var(--champ); border-radius: 4px; font-size: 13px;
  white-space: pre-wrap; overflow-wrap: anywhere; }
.alerte-boutons { margin-top: 2px; }
.contexte-alerte { display: flex; flex-direction: column; gap: 2px; padding: 6px 8px; border: 1px dashed var(--bord-fort); border-radius: 6px; font-size: 12.5px; }
.ligne-contexte { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; padding: 2px 4px; border-radius: 4px; }
.ligne-contexte.repere { background: var(--accent-fond); outline: 1px solid var(--accent); }
.texte-contexte { overflow-wrap: anywhere; min-width: 0; }
.liste-alertes.compacte .alerte-vigilance { padding: 6px 10px; }
.liste-alertes.compacte .texte-alerte { font-size: 12.5px; padding: 4px 8px; }
.bulle-vigilance { margin-left: auto; font-size: 11px; font-weight: 700; min-width: 20px; padding: 1px 7px; border-radius: 999px; text-align: center;
  color: #fff; background: var(--danger); }
.lien-chat + .lien-vigilance { margin-top: 0; }
.liste-surveilles .surveille { padding: 6px 4px; }
.liste-surveilles .surveille.echue { opacity: .6; }
.motif-surveille { overflow-wrap: anywhere; min-width: 0; }
.point-presence { width: 9px; height: 9px; border-radius: 50%; background: var(--tres-doux); flex: 0 0 auto; }
.point-presence.en-ligne { background: var(--ok); box-shadow: 0 0 0 3px #4ade8033; }
.filtres-vigilance { margin-bottom: 12px; }
/* Le panneau : les règles et les mots repérés (onglet « Vigilance » de « Staff de modération »). */
.regles-vigilance { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.regles-vigilance fieldset { border: 1px solid var(--bord); border-radius: var(--rayon); padding: 8px 12px 12px; margin: 0; min-width: 0; }
.regles-vigilance legend { padding: 0 6px; color: var(--doux); font-size: 12.5px; font-weight: 600; }
.regles-vigilance label { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 13px; }
.regles-vigilance label.case { flex-direction: row; align-items: center; gap: 8px; }
.regles-vigilance input[type=number] { width: 100%; max-width: 200px; }
@media (max-width: 600px) {
  .alerte-quand { margin-left: 0; }
  .alerte-tete .espace { display: none; }
  .alerte-boutons > button { flex: 1 1 auto; }
}
