/* =====================================================================
   frontend/css/style.css
   ABCD EMF — Feuille de style unique pour l'ensemble de l'application.
   Approche : pas de framework, peu de variables, du CSS lisible et
   linéaire pour un apprenti CFC.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Réinitialisation minimale + box model
   --------------------------------------------------------------------- */
   * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1c1c2b;
    background-color: #f5f6fa;
}

a {
    color: #4255ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------------------
   2. Mise en page générale
   --------------------------------------------------------------------- */
.application {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100%;
    background-color: #ffffff;
    padding-bottom: 80px;   /* place pour la barre de navigation */
    position: relative;
}

@media (min-width: 768px) {
    .application {
        max-width: 480px;
        margin: 24px auto;
        border-radius: 16px;
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }
}

/* ---------------------------------------------------------------------
   3. En-tête de page
   --------------------------------------------------------------------- */
.entete {
    padding: 16px 20px;
    border-bottom: 1px solid #e6e8f0;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.entete-titre {
    font-size: 20px;
    font-weight: 700;
    color: #1c1c2b;
}

.entete-sous-titre {
    font-size: 12px;
    color: #7c8499;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------------------------------------------------------------------
   4. Contenu principal
   --------------------------------------------------------------------- */
.contenu {
    padding: 20px;
}

.titre-page {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.sous-titre-page {
    color: #5b6378;
    margin-bottom: 20px;
}

.section {
    margin-bottom: 28px;
}

.section-titre {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1c1c2b;
}

/* ---------------------------------------------------------------------
   5. Boutons
   --------------------------------------------------------------------- */
.bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    background-color: #4255ff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s;
}

.bouton:hover {
    background-color: #2e3fb8;
}

.bouton:disabled {
    background-color: #c2c7d6;
    cursor: not-allowed;
}

.bouton-secondaire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #c2c7d6;
    border-radius: 999px;
    background-color: #ffffff;
    color: #1c1c2b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.bouton-secondaire:hover {
    background-color: #f5f6fa;
}

.bouton-danger {
    background-color: #fde8e6;
    color: #c0392b;
    border: 1px solid #f5b7b1;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.bouton-large {
    padding: 14px 22px;
    font-size: 16px;
}

.bouton-bloc {
    display: block;
    width: 100%;
}

/* ---------------------------------------------------------------------
   6. Barre de navigation du bas (sur mobile)
   --------------------------------------------------------------------- */
.barre-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: #ffffff;
    border-top: 1px solid #e6e8f0;
    display: flex;
    z-index: 50;
}

@media (min-width: 768px) {
    .barre-navigation {
        position: absolute;
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }
}

.barre-navigation a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #7c8499;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    gap: 4px;
}

.barre-navigation a.actif {
    color: #4255ff;
}

.barre-navigation .icone-onglet {
    font-size: 20px;
    line-height: 1;
}

/* ---------------------------------------------------------------------
   7. Carte d'invitation sur l'accueil (hero)
   --------------------------------------------------------------------- */
.invitation {
    background: linear-gradient(135deg, #4255ff 0%, #6b5bff 100%);
    color: #ffffff;
    border-radius: 22px;
    padding: 22px 20px;
    margin-bottom: 24px;
    box-shadow: 0 10px 28px rgba(66, 85, 255, 0.25);
}

.invitation-petit-titre {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 6px;
}

.invitation-grand-titre {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.invitation .bouton {
    background-color: #ffffff;
    color: #4255ff;
}

.invitation .bouton:hover {
    background-color: #f0f0f5;
}

/* ---------------------------------------------------------------------
   8. Tuiles de statistiques (accueil)
   --------------------------------------------------------------------- */
.grille-statistiques {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.tuile-statistique {
    background-color: #ffffff;
    border: 1px solid #e6e8f0;
    border-radius: 14px;
    padding: 14px;
}

.tuile-statistique-libelle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7c8499;
    font-weight: 600;
}

.tuile-statistique-valeur {
    font-size: 24px;
    font-weight: 700;
    margin-top: 4px;
}

.tuile-statistique-unite {
    font-size: 12px;
    font-weight: 600;
    color: #7c8499;
    margin-left: 4px;
}

/* ---------------------------------------------------------------------
   9. Conversation (chatbot)
   --------------------------------------------------------------------- */

/* Layout dédié à la vue conversation : pleine hauteur, flex column,
   pour que la zone messages occupe l'espace restant entre en-tête
   et zone de saisie — sans calc() figé. 100dvh = dynamic viewport
   height, qui s'ajuste à l'apparition du clavier mobile. */
.application-chat {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    padding-bottom: 0;   /* pas de barre de nav du bas sur cette vue */
}

@media (min-width: 768px) {
    .application-chat {
        height: calc(100vh - 48px);
        height: calc(100dvh - 48px);
    }
}

.application-chat .entete {
    flex-shrink: 0;
    position: relative;   /* pas besoin de sticky en flex */
    top: auto;
}

.application-chat .zone-messages {
    flex: 1;
    height: auto;
    min-height: 0;        /* permet au flex de rétrécir correctement */
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.application-chat .zone-saisie {
    flex-shrink: 0;
}

/* Hauteur de zone-messages pour les éventuels usages hors application-chat
   (ne devrait plus arriver avec la nouvelle structure mais on garde par sécurité). */
.zone-messages {
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 85%;
    padding: 11px 15px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.45;
    word-break: break-word;
}

.message-assistant {
    align-self: flex-start;
    background-color: #f5f6fa;
    color: #1c1c2b;
    border-bottom-left-radius: 4px;
}

.message-utilisateur {
    align-self: flex-end;
    background-color: #4255ff;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.indicateur-chargement {
    align-self: flex-start;
    background-color: #f5f6fa;
    padding: 14px 18px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    display: none;
    gap: 4px;
}

.indicateur-chargement span {
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #7c8499;
    border-radius: 50%;
    animation: clignote 1.3s infinite;
}

.indicateur-chargement span:nth-child(2) { animation-delay: 0.18s; }
.indicateur-chargement span:nth-child(3) { animation-delay: 0.36s; }

@keyframes clignote {
    0%, 80%, 100% { opacity: 0.3; }
    40%           { opacity: 1; }
}

.zone-erreur {
    display: none;
    background-color: #fde8e6;
    color: #c0392b;
    padding: 10px 14px;
    margin: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.zone-saisie {
    border-top: 1px solid #e6e8f0;
    padding: 12px 14px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background-color: #ffffff;
}

.champ-message {
    flex: 1;
    border: 1.5px solid #e6e8f0;
    border-radius: 22px;
    padding: 11px 16px;
    /* 16px minimum pour éviter le zoom automatique iOS sur focus. */
    font-size: 16px;
    font-family: inherit;
    resize: none;
    min-height: 44px;
    max-height: 110px;
    outline: none;
}

.champ-message:focus {
    border-color: #4255ff;
}

.bouton-micro,
.bouton-envoyer {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.bouton-micro {
    background-color: #ffffff;
    border: 1.5px solid #e6e8f0;
    color: #1c1c2b;
}

.bouton-micro.enregistrement {
    background-color: #f44336;
    color: #ffffff;
    border-color: #f44336;
    animation: pulsationEnregistrement 1.4s infinite;
}

@keyframes pulsationEnregistrement {
    0%, 100% { box-shadow: 0 0 0 0   rgba(244, 67, 54, 0.4); }
    50%      { box-shadow: 0 0 0 8px rgba(244, 67, 54, 0); }
}

.bouton-envoyer {
    background-color: #4255ff;
    color: #ffffff;
}

.bouton-envoyer:disabled {
    background-color: #c2c7d6;
    cursor: not-allowed;
}

/* ---------------------------------------------------------------------
   10. Modales (validation, édition)
   --------------------------------------------------------------------- */
.modale-fond {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(28, 28, 43, 0.55);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modale-contenu {
    background-color: #ffffff;
    border-radius: 22px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 22px 20px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.modale-titre {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.modale-progression {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7c8499;
    text-align: center;
    margin-bottom: 12px;
}

.modale-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 18px;
}

/* ---------------------------------------------------------------------
   11. Carte de validation (modale extraction)
   --------------------------------------------------------------------- */
.fiche-validation {
    border: 1px solid #e6e8f0;
    border-radius: 16px;
    padding: 18px;
    background-color: #fafbff;
}

.fiche-validation .etiquette-en-tete {
    display: inline-block;
    background-color: #eef0ff;
    color: #4255ff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.fiche-validation .terme-en-grand {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 14px;
}

.fiche-validation .ligne-traduction {
    margin-bottom: 6px;
    font-size: 15px;
}

.fiche-validation .libelle-langue {
    display: inline-block;
    width: 32px;
    font-family: "Consolas", monospace;
    font-size: 11px;
    font-weight: 700;
    color: #7c8499;
}

.fiche-validation .exemple {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e6e8f0;
    font-size: 13px;
    color: #5b6378;
    font-style: italic;
}

/* ---------------------------------------------------------------------
   12. Liste / grille de flashcards (page viewFlashcards.html)
   --------------------------------------------------------------------- */
.barre-recherche {
    display: flex;
    align-items: center;
    background-color: #f5f6fa;
    border-radius: 999px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.barre-recherche input {
    flex: 1;
    border: none;
    background-color: transparent;
    font-size: 16px;   /* min 16px pour éviter le zoom iOS au focus */
    outline: none;
}

.zone-filtres-etiquettes {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 14px;
}

.filtre-etiquette {
    flex-shrink: 0;
    padding: 7px 14px;
    border: none;
    border-radius: 999px;
    background-color: #f5f6fa;
    color: #1c1c2b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.filtre-etiquette.actif {
    background-color: #1c1c2b;
    color: #ffffff;
}

.select-tri {
    border: 1px solid #e6e8f0;
    border-radius: 999px;
    padding: 8px 14px;
    background-color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    cursor: pointer;
}

.zone-flashcards {
    display: grid;
    gap: 12px;
}

.flashcard {
    background-color: #ffffff;
    border: 1px solid #e6e8f0;
    border-radius: 14px;
    padding: 14px 16px;
}

.flashcard-terme {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.flashcard-traduction {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 14px;
}

.flashcard-libelle-langue {
    font-family: "Consolas", monospace;
    font-size: 11px;
    font-weight: 700;
    color: #7c8499;
    min-width: 24px;
}

.flashcard-texte-traduction {
    flex: 1;
    color: #4255ff;
    font-weight: 600;
}

.bouton-audio {
    background-color: #eef0ff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 13px;
}

.flashcard-exemple {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e6e8f0;
    font-size: 12.5px;
    color: #5b6378;
    font-style: italic;
}

.flashcard-etiquettes {
    margin-top: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.puce {
    background-color: #f5f6fa;
    color: #1c1c2b;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

.flashcard-boite {
    margin-top: 8px;
    font-family: "Consolas", monospace;
    font-size: 11px;
    color: #7c8499;
}

.flashcard .bouton-secondaire {
    margin-top: 10px;
}

.zone-vide {
    text-align: center;
    padding: 40px 20px;
    color: #7c8499;
}

/* ---------------------------------------------------------------------
   13. Quiz (page viewQuiz.html)
   --------------------------------------------------------------------- */
.bandeau-progression {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-family: "Consolas", monospace;
    font-size: 13px;
    color: #5b6378;
}

.fiche-quiz {
    background-color: #ffffff;
    border-radius: 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    padding: 24px 20px;
    text-align: center;
}

.libelle-question {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7c8499;
    font-weight: 700;
}

.texte-question {
    font-size: 32px;
    font-weight: 800;
    margin: 12px 0 22px;
}

.champ-reponse {
    width: 100%;
    border: none;
    border-bottom: 2px solid #e6e8f0;
    background-color: transparent;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    padding: 10px 0;
    outline: none;
    font-family: "Consolas", monospace;
}

.champ-reponse:focus {
    border-bottom-color: #4255ff;
}

.zone-reponse-revelee {
    display: none;
    margin-top: 16px;
}

.libelle-reponse {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7c8499;
    font-weight: 700;
    margin-bottom: 6px;
}

.texte-reponse-attendue {
    font-size: 22px;
    font-weight: 700;
    color: #4255ff;
    font-family: "Consolas", monospace;
}

.indicateur {
    margin-top: 10px;
    font-size: 14px;
}

.indicateur-juste {
    color: #2bcd7f;
}

.indicateur-faute {
    color: #f44336;
}

.zone-boutons-grade {
    display: none;
    gap: 10px;
    margin-top: 18px;
}

.zone-boutons-grade .bouton {
    flex: 1;
}

.bouton-faute {
    background-color: #fde8e6;
    color: #c0392b;
}

.bouton-faute:hover {
    background-color: #f5b7b1;
}

.bouton-juste {
    background-color: #2bcd7f;
}

.bouton-juste:hover {
    background-color: #25b06d;
}

.ecran-fin {
    display: none;
    text-align: center;
    padding-top: 30px;
}

.score-pourcentage-grand {
    font-size: 64px;
    font-weight: 800;
    color: #4255ff;
    line-height: 1;
}

.score-details {
    font-size: 14px;
    color: #5b6378;
    margin-top: 8px;
}

/* ---------------------------------------------------------------------
   14. Formulaires (modales d'édition)
   --------------------------------------------------------------------- */
.champ-formulaire {
    display: block;
    width: 100%;
    border: 1.5px solid #e6e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 16px;   /* min 16px pour éviter le zoom iOS au focus */
    font-family: inherit;
    margin-bottom: 12px;
    outline: none;
}

.champ-formulaire:focus {
    border-color: #4255ff;
}

.libelle-formulaire {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #5b6378;
    margin-bottom: 4px;
}

/* ---------------------------------------------------------------------
   15. Liens, états spécifiques
   --------------------------------------------------------------------- */
.liste-cartes-recentes {
    background-color: #ffffff;
    border: 1px solid #e6e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.ligne-carte-recente {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #e6e8f0;
}

.ligne-carte-recente:last-child {
    border-bottom: none;
}

.ligne-carte-recente .terme {
    font-weight: 700;
    flex: 1;
}

.ligne-carte-recente .traduction {
    color: #4255ff;
    font-family: "Consolas", monospace;
    font-size: 13px;
}

/* ---------------------------------------------------------------------
   15. Page de statistiques (streak, heatmap, totaux)
   --------------------------------------------------------------------- */

/* Carte « streak » mise en avant en haut de la page. */
.carte-streak {
    background: linear-gradient(135deg, #ff7a00 0%, #ff3d00 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.25);
}

/* Variante horizontale compacte (utilisée sur l'accueil comme bouton-lien
   vers la page stats : icône à gauche, valeur + libellé au centre,
   chevron à droite). Animée au survol pour suggérer la cliquabilité. */
.carte-streak.compacte {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    text-align: left;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.carte-streak.compacte:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 90, 0, 0.35);
}

.carte-streak.compacte .valeur {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.carte-streak.compacte .libelle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-top: 4px;
}

.carte-streak.compacte .chevron {
    margin-left: auto;
    opacity: 0.8;
}

.carte-streak-flamme {
    font-size: 48px;
    line-height: 1;
}

.carte-streak-valeur {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    margin-top: 4px;
}

.carte-streak-libelle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-top: 6px;
}

/* Titre de section sur la page stats (« Cette semaine », « Activité »…). */
.titre-section-stats {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7c8499;
    font-weight: 700;
    margin: 22px 0 10px;
}

/* Heatmap façon Duolingo : 30 cases (1 par jour), couleur selon l'intensité. */
.heatmap {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
    background-color: #ffffff;
    border: 1px solid #e6e8f0;
    border-radius: 14px;
    padding: 14px;
}

.case-heatmap {
    aspect-ratio: 1;
    border-radius: 4px;
    background-color: #eef0f6;
}

.case-heatmap.niveau-1 { background-color: #c7d0ff; }
.case-heatmap.niveau-2 { background-color: #8a9bff; }
.case-heatmap.niveau-3 { background-color: #4255ff; }
.case-heatmap.niveau-4 { background-color: #1d2db8; }

.legende-heatmap {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #7c8499;
    margin-top: 6px;
}

/* Barre de composition Leitner : 5 segments empilés en horizontal. */
.barre-leitner {
    display: flex;
    height: 28px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #eef0f6;
    margin-bottom: 8px;
}

.segment-leitner {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    min-width: 0;
}

.segment-leitner.boite-1 { background-color: #ff5a5f; }
.segment-leitner.boite-2 { background-color: #ff9d3a; }
.segment-leitner.boite-3 { background-color: #ffc233; }
.segment-leitner.boite-4 { background-color: #65c466; }
.segment-leitner.boite-5 { background-color: #2aa84a; }

.legende-leitner {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #7c8499;
}

/* ---------------------------------------------------------------------
   16. Icônes Lucide (SVG injectés par lucide.createIcons())
   --------------------------------------------------------------------- */

/* Taille par défaut. Les SVG injectés héritent de la couleur du texte
   (currentColor) → ils prennent la couleur du bouton, de l'onglet, etc.
   Possibilité de surcharger via style inline pour les cas particuliers
   (ex. la flamme du streak qui doit être très grosse). */
i[data-lucide],
svg.lucide {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    flex-shrink: 0;
    vertical-align: -0.2em;
}

/* Petite puce de couleur (légende leitner) — alternative pro aux
   emojis 🔴 🟢. Background à fournir en style inline. */
.puce-couleur {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}
