:root {
    --fond: #0f1419;
    --fond-carte: #1a2027;
    --fond-eleve: #222b34;
    --bordure: #2d3843;
    --texte: #e6edf3;
    --texte-doux: #8b98a5;
    --accent: #d4a24c;
    --accent-clair: #e8bf74;
    --cash: #4a9d7f;
    --carte: #5b8dd6;
    --erreur: #d65b5b;
    --avertissement: #d69b4a;
    --info: #5b8dd6;
    --ok: #4a9d7f;
    --rayon: 10px;
    /* Hauteur au-dela de laquelle tableaux et grilles defilent dans leur
       cadre au lieu d'etirer la page. */
    --hauteur-defilante: 420px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--fond);
    color: var(--texte);
    font-size: 14px;
    line-height: 1.5;
}

/* --- Connexion --- */
.connexion-fond {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
/* [hidden] doit l'emporter sur le display:flex ci-dessus, sinon l'ecran
   de connexion reste dans le flux une fois l'utilisateur authentifie. */
[hidden] { display: none !important; }
.connexion-carte {
    background: var(--fond-carte);
    border: 1px solid var(--bordure);
    border-radius: var(--rayon);
    padding: 32px;
    width: 100%;
    max-width: 380px;
}
.connexion-carte h1 {
    margin: 0 0 4px;
    font-size: 22px;
    letter-spacing: -0.3px;
}
.connexion-carte .sous-titre {
    color: var(--texte-doux);
    margin: 0 0 24px;
    font-size: 13px;
}

label {
    display: block;
    font-size: 12px;
    color: var(--texte-doux);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
input, select {
    width: 100%;
    padding: 10px 12px;
    background: var(--fond);
    border: 1px solid var(--bordure);
    border-radius: 6px;
    color: var(--texte);
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 16px;
}
input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
}
input[type="date"] { color-scheme: dark; }

button {
    background: var(--accent);
    color: #1a1208;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
button:hover { background: var(--accent-clair); }
button:disabled { opacity: 0.5; cursor: default; }
button.secondaire {
    background: transparent;
    color: var(--texte-doux);
    border: 1px solid var(--bordure);
}
button.secondaire:hover { color: var(--texte); border-color: var(--texte-doux); }
button.pleine-largeur { width: 100%; }

.message-erreur {
    background: rgba(214, 91, 91, 0.12);
    border: 1px solid rgba(214, 91, 91, 0.35);
    color: #f0a0a0;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* --- Structure --- */
header {
    background: var(--fond-carte);
    border-bottom: 1px solid var(--bordure);
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 10;
}
header h1 {
    font-size: 16px;
    margin: 0;
    padding: 16px 0;
    letter-spacing: -0.2px;
    white-space: nowrap;
}
header h1 .pastille { color: var(--accent); }

nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
nav button {
    background: transparent;
    color: var(--texte-doux);
    padding: 16px 14px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    font-weight: 500;
}
nav button:hover { background: transparent; color: var(--texte); }
nav button.actif {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: transparent;
}

.entete-droite { display: flex; align-items: center; gap: 12px; }
.entete-droite .utilisateur { color: var(--texte-doux); font-size: 13px; }

main { padding: 24px; max-width: 1500px; margin: 0 auto; }

/* La barre reste accessible pendant le defilement des longs tableaux.
   Le decalage correspond a la hauteur de l'en-tete, lui-meme sticky. */
.barre-filtres {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position: sticky;
    top: 57px;
    z-index: 9;
    background: var(--fond);
    padding: 12px 0;
    margin-top: -12px;
    border-bottom: 1px solid var(--bordure);
}
.barre-filtres .champ { min-width: 150px; }
.barre-filtres input, .barre-filtres select { margin-bottom: 0; }
.barre-filtres .espace { flex: 1; }
/* Le choix d'export se dimensionne a son contenu : etire comme les
   champs de date, il deséquilibrerait la barre. */
.barre-filtres .champ-export { min-width: 0; }
.barre-filtres #choix-export { width: auto; max-width: 220px; }

/* --- Cartes --- */
/* Intitule d'une famille de cartes (chiffre d'affaires, clients...). */
.groupe-titre {
    font-size: 11px;
    color: var(--texte-doux);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin: 0 0 8px;
}
.grille-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.carte {
    background: var(--fond-carte);
    border: 1px solid var(--bordure);
    border-radius: var(--rayon);
    padding: 18px;
}
.carte-titre {
    font-size: 11px;
    color: var(--texte-doux);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

/* Bulle « ? » : la definition d'un indicateur, au survol ou au focus.
   Le focus la rend accessible au clavier, et au toucher sur mobile. */
.info {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1px solid var(--bordure);
    border-radius: 50%;
    font-size: 10px;
    letter-spacing: 0;
    color: var(--texte-doux);
    cursor: help;
}
.info:hover, .info:focus { color: var(--texte); border-color: var(--texte-doux); outline: none; }
.info::after {
    content: attr(data-aide);
    position: absolute;
    top: calc(100% + 6px);
    right: -6px;
    width: max-content;
    max-width: 260px;
    padding: 8px 10px;
    background: var(--fond-eleve);
    border: 1px solid var(--bordure);
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    color: var(--texte);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.12s ease-out;
}
.info:hover::after, .info:focus::after { opacity: 1; visibility: visible; }
.carte-valeur {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}
.carte-detail { font-size: 12px; color: var(--texte-doux); margin-top: 6px; }
.hausse { color: var(--ok); }
.baisse { color: var(--erreur); }

.section { margin-bottom: 26px; }
.section-titre {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.section-titre .aide {
    font-size: 12px;
    font-weight: 400;
    color: var(--texte-doux);
}

/* Annotation d'une cellule de tableau : le detail du calcul est dans
   l'infobulle, pour ne pas alourdir la colonne. */
.aide-inline {
    font-size: 11px;
    color: var(--texte-doux);
    border-bottom: 1px dotted var(--bordure);
    cursor: help;
}

.bloc-graphe { background: var(--fond-carte); border: 1px solid var(--bordure);
    border-radius: var(--rayon); padding: 18px; }
.bloc-graphe canvas { max-height: 320px; }

/* « min(380px, 100%) » plutot que « 380px » : sous cette largeur, une
   piste rigide de 380px depassait le viewport et provoquait un
   defilement horizontal de toute la page. */
.deux-colonnes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    gap: 16px;
}

/* --- Tableaux --- */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
    text-align: left;
    color: var(--texte-doux);
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--bordure);
    white-space: nowrap;
}
td {
    padding: 7px 12px;
    border-bottom: 1px solid rgba(45, 56, 67, 0.5);
    font-variant-numeric: tabular-nums;
}
/* Un bouton d'action dans une ligne (Retirer, Classer, Reafficher) prend
   la hauteur de la ligne, pas celle d'un bouton de formulaire : sans cela
   chaque ligne doublait de hauteur. */
td button { padding: 4px 10px; font-size: 12px; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.num { text-align: right; }
.table-bloc {
    background: var(--fond-carte);
    border: 1px solid var(--bordure);
    border-radius: var(--rayon);
    overflow: auto;
    max-height: var(--hauteur-defilante);
}

/* En-tete colle en haut du cadre qui defile : sans lui, on ne sait plus
   a quelle colonne appartient un chiffre. En « border-collapse », la
   bordure du th ne suit pas la cellule collee : une ombre la remplace. */
.table-bloc thead th,
.liste-defilante thead th {
    position: sticky;
    top: 0;
    background: var(--fond-carte);
    box-shadow: inset 0 -1px 0 var(--bordure);
    z-index: 1;
}

/* --- Heatmap --- */
.heatmap-defilante { overflow: auto; max-height: var(--hauteur-defilante); }
/* La grille reste calee a gauche : etiree sur toute la largeur, la
   colonne des creneaux se retrouvait a des centaines de pixels des
   cases qu'elle designe. */
.heatmap table { border-collapse: separate; border-spacing: 3px; width: auto; }
.heatmap th { padding: 6px 8px; font-size: 10px; }
/* Les noms de salles restent visibles au defilement. L'ombre bouche
   l'espacement de 3px entre les cases, ou les cellules defilantes
   transparaitraient. */
.heatmap thead th {
    position: sticky;
    top: 0;
    background: var(--fond-carte);
    box-shadow: 0 0 0 3px var(--fond-carte);
    z-index: 1;
}
.heatmap th.creneau { text-align: right; white-space: nowrap; width: 1px; }
/* Cases compactes : les huit creneaux tiennent dans le cadre sans
   defilement. */
.heatmap td {
    border: none;
    padding: 0;
    width: 90px;
    height: 38px;
}
.cellule {
    height: 100%;
    border-radius: 5px;
    padding: 3px 7px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 11px;
    line-height: 1.3;
    cursor: default;
}
.cellule .valeur { font-weight: 600; font-size: 13px; }
.cellule .sous { opacity: 0.75; font-size: 10px; }
.cellule.vide { background: rgba(255,255,255,0.03); color: var(--texte-doux); }
.marqueur-creuse td:first-child { border-left: 2px solid transparent; }
.legende {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 11px;
    color: var(--texte-doux);
    margin-top: 12px;
    flex-wrap: wrap;
}
.legende .echelle { display: flex; gap: 3px; align-items: center; }
.legende .case { width: 22px; height: 12px; border-radius: 3px; }

/* --- Anomalies --- */
.anomalie {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(45, 56, 67, 0.5);
    align-items: flex-start;
}
.anomalie:last-child { border-bottom: none; }
.pastille-sev {
    width: 8px; height: 8px; border-radius: 50%;
    margin-top: 6px; flex-shrink: 0;
}
.sev-erreur { background: var(--erreur); }
.sev-avertissement { background: var(--avertissement); }
.sev-info { background: var(--info); }
.anomalie .corps { flex: 1; }
.anomalie .meta { font-size: 11px; color: var(--texte-doux); margin-top: 3px; }

/* Repli natif des anomalies regroupees : cinquante lignes pour une
   seule cause noyaient le signal, le detail reste a un clic. */
.anomalie details summary {
    cursor: pointer;
    list-style: none;
}
.anomalie details summary::-webkit-details-marker { display: none; }
.anomalie details summary::before {
    content: '▸';
    display: inline-block;
    width: 14px;
    color: var(--texte-doux);
}
.anomalie details[open] summary::before { content: '▾'; }
.anomalie details .repli {
    margin: 6px 0 0 14px;
    font-size: 12.5px;
    color: var(--texte-doux);
}

.etiquette {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: var(--fond-eleve);
    color: var(--texte-doux);
}
.etiquette.perso { background: rgba(214, 155, 74, 0.18); color: var(--avertissement); }
.etiquette.alerte { background: rgba(214, 91, 91, 0.18); color: var(--erreur); }
/* Creneaux a revoir : la demande depasse l'offre (sature) ou ne paie pas
   l'ouverture (creux). Le mot accompagne toujours la couleur. */
.etiquette.sature { background: rgba(74, 157, 127, 0.18); color: var(--ok); }
.etiquette.creux { background: rgba(214, 155, 74, 0.18); color: var(--avertissement); }

/* --- Objectifs mensuels --- */
.objectifs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}
.objectif-titre {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.objectif-titre span {
    font-weight: 400;
    color: var(--texte-doux);
    font-variant-numeric: tabular-nums;
}
/* Jauge en CSS pur : un graphique serait disproportionne pour une
   barre de progression. */
.jauge {
    height: 8px;
    background: var(--fond);
    border-radius: 4px;
    overflow: hidden;
}
.jauge-remplie {
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
}
.objectif-detail {
    font-size: 12px;
    color: var(--texte-doux);
    margin-top: 8px;
}

.vide-message {
    padding: 36px;
    text-align: center;
    color: var(--texte-doux);
    font-size: 13px;
}
/* Dans une carte deja encadree, « rien a afficher » n'a pas besoin de
   la place d'un ecran vide. */
.carte .vide-message, .carte.vide-message,
.liste-defilante .vide-message { padding: 14px; }

.note {
    background: rgba(91, 141, 214, 0.08);
    border-left: 3px solid var(--info);
    padding: 11px 14px;
    border-radius: 0 6px 6px 0;
    font-size: 12.5px;
    color: var(--texte-doux);
    margin-bottom: 16px;
}

.ligne-formulaire {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.ligne-formulaire .champ { flex: 1; min-width: 130px; }
.ligne-formulaire input { margin-bottom: 0; }

.chargement { padding: 36px; text-align: center; color: var(--texte-doux); }

/* Rendu en cours : le contenu precedent reste lisible, estompe, plutot
   que de laisser la place a une page blanche a chaque navigation. */
.en-chargement {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.12s ease-out;
}

/* --- Sparklines --- */
.sparkline {
    display: block;
    width: 100%;
    height: 28px;
    margin-top: 10px;
}

/* --- Carte en alerte --- */
.carte-alerte { border-color: rgba(214, 155, 74, 0.45); }
.carte-alerte .carte-valeur { color: var(--avertissement); }

.note-alerte {
    background: rgba(214, 155, 74, 0.1);
    border-left-color: var(--avertissement);
    color: var(--texte);
}

/* --- Barres de proportion dans les tableaux --- */
.barre-fond {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 90px;
}
.barre-fond .barre {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    background: rgba(212, 162, 76, 0.18);
    border-radius: 3px;
}
.barre-fond span { position: relative; }

/* --- Detail d'une cellule de heatmap --- */
.cellule.cliquable { cursor: pointer; }
.cellule.cliquable:hover { outline: 1px solid var(--texte-doux); }
.cellule.cliquable:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}
.cellule.selectionnee { outline: 2px solid var(--accent); }

.detail-cellule {
    margin-top: 14px;
    padding: 14px;
    background: var(--fond-eleve);
    border: 1px solid var(--bordure);
    border-radius: 8px;
}
.detail-entete { font-size: 14px; margin-bottom: 10px; }
.detail-grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}
/* Cent anomalies ne doivent pas produire une page de dix ecrans :
   la liste defile dans son cadre. */
.liste-anomalies {
    max-height: var(--hauteur-defilante);
    overflow-y: auto;
    padding: 0;
}

/* Longue liste dans une carte (regles, mouvements a categoriser...) :
   bornee en hauteur pour ne pas etirer la page, son en-tete reste
   visible au defilement (voir .table-bloc). */
.liste-defilante {
    overflow: auto;
    max-height: var(--hauteur-defilante);
}

.detail-grille span {
    display: block;
    font-size: 11px;
    color: var(--texte-doux);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

@media (max-width: 720px) {
    main { padding: 14px; }
    .carte-valeur { font-size: 21px; }

    /* En petite largeur, l'en-tete sticky se repliait sur trois lignes
       qui se chevauchaient : il redevient un bloc normal, empile. */
    header {
        position: static;
        padding: 10px 14px;
        gap: 8px;
        align-items: stretch;
    }
    header h1 { padding: 4px 0; }
    nav { flex: 1 1 100%; justify-content: flex-start; }
    nav button { padding: 10px 12px; }
    .entete-droite { flex-wrap: wrap; }
    /* L'en-tete se replie sur plusieurs lignes en petite largeur : une
       barre collante y masquerait le contenu plus qu'elle n'aiderait. */
    .barre-filtres {
        position: static;
        padding: 0;
        margin-top: 0;
        border-bottom: none;
    }
    .grille-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

/* Le bloc de dates disparait sur les vues mensuelles ; une mention
   prend sa place pour que la barre ne paraisse pas vide. */
.champs-periode { display: flex; gap: 12px; align-items: flex-end; }
.champs-periode[hidden] { display: none; }
.mention-periode {
    font-size: 12px;
    color: var(--texte-doux);
    padding-bottom: 10px;
}

/* Bouton d'action a droite d'une anomalie : discret tant qu'on ne
   survole pas la ligne, pour ne pas concurrencer le texte. */
.anomalie .actions { flex-shrink: 0; align-self: center; }
.anomalie .actions button { opacity: 0.35; font-size: 12px; padding: 5px 10px; }
.anomalie:hover .actions button { opacity: 1; }
.anomalie .actions button:focus-visible { opacity: 1; }

/* Champs compacts glisses dans un titre de section ou une carte : la
   largeur pleine et la marge des formulaires y deborderaient. */
.select-compact {
    width: auto;
    margin: 0 0 0 10px;
    padding: 4px 8px;
    font-size: 12px;
}

/* Legende des bandes et reperes de la courbe de CA. */
.legende-calendrier {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.puce-calendrier {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    border-left: 3px solid var(--texte-doux);
    background: var(--fond-eleve);
    color: var(--texte-doux);
}
.puce-evenement { border-left-color: var(--info); }
.puce-fermeture { border-left-color: var(--erreur); }
.puce-repere { border-left-style: dashed; }

/* Case a cocher alignee avec son libelle, qui reste cliquable : la
   case seule demanderait une precision inutile. Le libelle echappe au
   style des <label> de formulaire, en majuscules et en gris. */
.case-a-cocher {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    margin: 0;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--texte);
}
.case-a-cocher input {
    width: auto;
    margin: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

/* --- Comparaison des salles --- */
.controles-salles { margin-bottom: 20px; }
/* Graphique principal de la vue : une hauteur fixe, sinon Chart.js le
   tasse a la hauteur par defaut de son canevas. */
.zone-graphe-haute { position: relative; height: 340px; }
.zone-graphe-moyenne { position: relative; height: 260px; }
.zone-graphe-haute canvas, .zone-graphe-moyenne canvas { max-height: none; }
.controles-salles .ligne-formulaire .champ { flex: 0 1 220px; }
.controles-salles select { margin-bottom: 0; }
.groupe-choix {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin-top: 12px;
}
.choix-libelle {
    flex: 0 0 70px;
    font-size: 12px;
    color: var(--texte-doux);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.puces { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.puces .separateur {
    width: 1px;
    height: 18px;
    background: var(--bordure);
    margin: 0 4px;
}
/* Puce a bascule : discrete eteinte, en relief une fois choisie. */
.puce-choix {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--texte-doux);
    border: 1px solid var(--bordure);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
}
.puce-choix:hover { background: var(--fond-eleve); color: var(--texte); }
.puce-choix[aria-pressed="true"] {
    background: var(--fond-eleve);
    color: var(--texte);
    border-color: var(--texte-doux);
}
.puce-choix[aria-pressed="false"] .pastille-couleur { opacity: 0.35; }
.puce-choix:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.pastille-couleur {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    vertical-align: middle;
}
td .pastille-couleur { margin-right: 8px; }
.colonne-choisie { color: var(--texte); background: rgba(255, 255, 255, 0.025); }
th.colonne-choisie { color: var(--accent); }

@media (max-width: 720px) {
    .groupe-choix { flex-direction: column; gap: 6px; }
    .choix-libelle { flex: none; }
}

/* --- Courbe d'une carte --- */
.carte-cliquable { cursor: pointer; transition: border-color 0.12s ease-out; }
.carte-cliquable:hover { border-color: var(--texte-doux); }
.carte-cliquable:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dialogue-courbe {
    width: min(960px, calc(100vw - 32px));
    padding: 18px 20px 20px;
    background: var(--fond-carte);
    color: var(--texte);
    border: 1px solid var(--bordure);
    border-radius: var(--rayon);
}
.dialogue-courbe::backdrop { background: rgba(5, 8, 11, 0.7); }
.dialogue-entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.dialogue-entete h2 { font-size: 15px; margin: 0; }
.dialogue-entete button { padding: 6px 12px; font-size: 13px; }
