/* Suivi séquence · Vue d'ensemble (D1) */

.choix-sequence {
    min-width: 0;
    max-width: 100%;
    font-weight: 600;
}

.tableau-de-bord__haut {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
    gap: 20px;
    align-items: start;
}

/* Une carte = une question posée à l'enseignant, sa réponse chiffrée, puis le détail */

.bilan {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    padding: 24px;
}

@media (max-width: 799px) {
    .bilan {
        padding: 20px 16px;
    }
}

.bilan__entete {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bilan__entete--actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    justify-content: space-between;
}

.bilan__question {
    margin: 0;
    color: var(--texte-secondaire);
    font-size: 14px;
    font-weight: 600;
}

.bilan__chiffre {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.bilan__detail,
.bilan__vide {
    margin: 0;
    color: var(--texte-secondaire);
    font-size: 14px;
}

.bilan__note {
    margin: 0;
    color: var(--texte-secondaire);
    font-size: 13px;
}

.bilan__lien {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* Jauges : la valeur est toujours écrite à côté */

.jauge {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: var(--separateur);
}

.jauge__valeur {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent-moyen);
}

.jauge--fragile {
    height: 8px;
    border-radius: 4px;
    background: var(--a-reprendre-bordure);
}

.jauge--fragile .jauge__valeur {
    background: var(--a-reprendre-repere);
}

/* Compétence sous le seuil : encart ocre, jamais rouge */

.notion-fragile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--a-reprendre-bordure);
    border-radius: 12px;
    background: var(--a-reprendre-fond);
}

.notion-fragile__entete {
    display: flex;
    gap: 12px;
    align-items: baseline;
    justify-content: space-between;
}

.notion-fragile__intitule {
    font-size: 15px;
    font-weight: 600;
}

.notion-fragile__taux {
    color: var(--a-reprendre-texte);
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.reussites {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.reussites__notion {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reussites__ligne {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    font-size: 14px;
}

.reussites__taux {
    font-weight: 600;
    white-space: nowrap;
}

.reussites__vide {
    color: var(--texte-secondaire);
    white-space: nowrap;
}

/* Questions au tuteur, anonymes et regroupées */

.questions-tuteur {
    margin: 0;
    padding: 0;
    list-style: none;
}

.questions-tuteur__question {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid var(--separateur);
}

.questions-tuteur__texte {
    font-size: 15px;
    line-height: 1.45;
}

.questions-tuteur__detail {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: center;
    color: var(--texte-secondaire);
    font-size: 12px;
}

/* Longueur proportionnelle au nombre d'élèves, sans piste */
.questions-tuteur__barre {
    display: block;
    width: 110px;
    height: 6px;
    border-radius: 3px;
}

.questions-tuteur__eleves {
    color: var(--encre);
    font-weight: 600;
}

/* Élèves qui ne rendent pas leurs devoirs */

.devoirs-rendus {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.devoirs-rendus__eleve {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--bordure);
    border-radius: 12px;
    font-size: 14px;
}

.pastille-neutre {
    padding: 3px 10px;
    border-radius: var(--rayon-pastille);
    background: var(--separateur);
    color: var(--texte-secondaire);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
