/* Le mode test, ce qui est commun aux quatre tests (TestCommun.kt, PointDeControle.kt, Habillage.kt). Chaque test a sa feuille. */

.tel .tel_nav_test .tel_onglet_choisi {
    color: var(--test);
}

.tel .tel_nav_test .tel_onglet_choisi .tel_onglet_pastille {
    background: var(--test-pale);
}

.tel .tel_nav_test .tel_onglet_vif {
    color: var(--vert);
}

.tel .tel_nav_test .tel_onglet_vif .tel_onglet_pastille {
    background: #DCEFE1;
}

.test_section {
    margin-top: 6px;
    font-size: 15px;
}

.test_carte_lignes {
    font-size: 13.8px;
    font-style: normal;
    font-weight: 700;
}

/* Le test attend le signal (AttenteDuSignal) : la phrase sous les satellites. */

.test_pret_attente {
    margin: 6px 0 0;
    font-size: 14px;
    text-align: center;
    color: #4A4950;
}

/* Les réglages du test en cours, en cases. */

.test_cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.test_cases > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid var(--filet);
    border-radius: 10px;
    background: #fff;
}

.test_cases span {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--gris);
    white-space: nowrap;
}

.test_cases b {
    overflow: hidden;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* PRÊT : comme la séance. */

.test_pret {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
}

.test_pret > b {
    font-size: 55px;
    letter-spacing: 2px;
}

.test_pret > span {
    font-size: 19.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.test_pret_rond {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 210px;
    margin-top: 18px;
    border: 5px solid #46454C;
    border-radius: 50%;
    background: #fff;
}

.test_pret_rond b {
    font-size: 87px;
    line-height: 1;
}

.test_pret_rond small {
    font-size: 19.5px;
    color: var(--gris-texte);
}

.test_pret_rec {
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 700;
}

.test_pret_sat {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    font-size: 17px;
}

.test_pret_sat > span {
    color: var(--gris-texte);
}

.test_pret_sat i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--vert);
}

.test_pret_sat i.test_pret_rouge {
    background: var(--rouge);
}

/* La capsule de l'essai, sous la barre. */

.test_capsule {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    margin: 8px 16px 4px;
    padding: 0 20px;
    border-radius: 24px;
    background: #EEEDF1;
}

.test_capsule_navigable {
    padding: 0 4px;
}

.test_capsule b {
    flex: 1;
    overflow: hidden;
    font-size: 20.7px;
    font-weight: 800;
    white-space: nowrap;
}

.test_capsule > span {
    font-size: 17.2px;
    color: var(--gris-texte);
}

.test_capsule button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
}

/* La rangée du bas pendant le test. */

.test_rangee {
    flex: none;
    padding: 8px 16px 12px;
}

/* ⚠️ Les cartes des essais et leurs tuiles : les cadres de ChronoPiste, les mêmes que .tel_passage et .tel_tuile. Une seule règle pour les trois tests. */
.test_freinage_essai,
.test_derive_essai,
.test_passage_carte {
    border: 1.5px solid #D4D3D9;
}

.test_freinage_tuile,
.test_derive_tuile,
.test_passage_tuile {
    border: 1px solid #CFCCD6;
}

/* NOUVEL ESSAI grisé tant qu'il n'y a pas de résultat (sur PRÊT), comme dans l'appli. */

[data-ecran$="-encours"] .test_nouvel {
    opacity: 0.38;
    pointer-events: none;
}
