/* Le téléphone, comme l'appli (Habillage.kt, MainActivity.kt, GuideScreen.kt, OutilsScreen.kt) : 411 px de large, comme l'écran du A52s. */

.tel {
    position: relative;
    width: 425px;
    height: 927px;
    overflow: hidden;
    border: 7px solid #1D1D1F;
    border-radius: 26px;
    background: #F9F9FA;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.tel button {
    color: inherit;
    font-family: inherit;
}

.tel_ecran {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
}

.tel_statut {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 33px;
    padding: 0 20px 0 28px;
    background: #747378;
    color: #fff;
    font-size: 14px;
}

.tel_statut_droite {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tel_statut_reseau {
    display: flex;
    align-items: flex-end;
    gap: 1.5px;
    height: 11px;
}

.tel_statut_reseau i {
    width: 2.5px;
    background: #fff;
}

.tel_statut_reseau i:nth-child(1) {
    height: 4px;
}

.tel_statut_reseau i:nth-child(2) {
    height: 6px;
}

.tel_statut_reseau i:nth-child(3) {
    height: 8.5px;
}

.tel_statut_reseau i:nth-child(4) {
    height: 11px;
    opacity: 0.4;
}

.tel_systeme {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 48px;
    padding: 0 40px;
    background: #F4F3F6;
    color: #6B6A70;
}

/* La barre d'une ligne : le badge, la maison, le fil, l'état du GPS. */

.tel_barre {
    flex: none;
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 14px 0 12px;
    color: #fff;
}

/* Les écarts de l'appli (Barre, Habillage.kt) : 4 dp avant la maison et 2 après ; sans maison, 10 dp avant le fil. */

.tel_badge + .tel_fil {
    margin-left: 10px;
}

.tel_barre_chrono {
    background: var(--chrono);
}

.tel_barre_test {
    background: var(--test);
}

.tel_barre_outils {
    background: var(--outils);
}

.tel_barre_journal {
    background: var(--journal);
}

.tel_badge {
    flex: none;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 4px 9px;
    border: none;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    font-size: 13.8px;
    font-weight: 900;
    letter-spacing: 1.15px;
    cursor: pointer;
}

.tel .tel_barre_chrono .tel_badge {
    color: var(--chrono);
}

.tel .tel_barre_test .tel_badge {
    color: var(--test);
}

.tel .tel_barre_outils .tel_badge {
    color: var(--outils);
}

.tel .tel_barre_journal .tel_badge {
    color: var(--journal);
}

.tel_maison {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 2px 0 4px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: none;
    cursor: pointer;
}

.tel .tel_maison {
    color: #fff;
}

.tel_maison:hover {
    background: rgba(255, 255, 255, 0.14);
}

.tel_fil {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    font-size: 19.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tel_fil b {
    color: #fff;
    font-weight: 800;
}

.tel_fil i {
    margin: 0 3px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.45);
}

.tel_etat {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: none;
    font-size: 13.8px;
    font-weight: 700;
    cursor: pointer;
}

.tel .tel_etat {
    color: #fff;
}

.tel_etat:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* L'état, en parts séparées d'un trait : le GPS et sa précision | la liaison | la batterie (la RaceBox seulement). */
.tel_etat_part {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tel_etat_part.selon_source_racebox { gap: 5px; }
/* Une largeur fixe ; sans distance, un petit trait. */
.tel_precision { min-width: 35px; font-weight: 700; white-space: nowrap; text-align: center; }
.tel_point, .tel_attente_barre { flex: none; }

/* La RaceBox pas encore connectée : la liaison seule,
   ses barres qui s'allument l'une après l'autre, en boucle. */
.tel_bt_cherche { display: none; align-items: flex-end; gap: 2.5px; height: 14px; }
.tel_bt_cherche i { width: 4px; border-radius: 1.5px; background: #fff; opacity: 0.25; animation: tel_bt_vague 2s infinite; }
.tel_bt_cherche i:nth-child(1) { height: 6.5px; }
.tel_bt_cherche i:nth-child(2) { height: 9px; animation-delay: 0.3s; }
.tel_bt_cherche i:nth-child(3) { height: 11.5px; animation-delay: 0.6s; }
.tel_bt_cherche i:nth-child(4) { height: 14px; animation-delay: 0.9s; }
/* Les barres s'allument l'une après l'autre, restent un moment, puis s'éteignent dans le même ordre. */
@keyframes tel_bt_vague { 0%, 6% { opacity: 0.25; } 10%, 50% { opacity: 1; } 54%, 100% { opacity: 0.25; } }
.interaction[data-source="racebox"][data-box="cherche"] .tel_etat > :not(.tel_bt_cherche),
.interaction[data-source="racebox"][data-box="perdue"] .tel_etat > :not(.tel_bt_cherche) { display: none !important; }
.interaction[data-source="racebox"][data-box="cherche"] .tel_bt_cherche,
.interaction[data-source="racebox"][data-box="perdue"] .tel_bt_cherche { display: flex; }
/* Les états du Bluetooth seul, la même largeur : les barres qui cherchent, le Bluetooth barré, le Bluetooth et « ? », chacun dans la même place, centré. */
.tel_bt_cherche, .tel_bt_coupe, .tel_bt_aucune { min-width: 30px; justify-content: center; }
/* La liaison perdue en route : la même recherche, en orange (« elle était là, elle revient »). */
.interaction[data-box="perdue"] .tel_bt_cherche i { background: #F08C00; }

/* Ce qui empêche de chercher : un symbole seul, barré de rouge (le Bluetooth, la position), ou suivi d'un « ? » (aucune box). */
.tel_bt_coupe, .tel_bt_aucune, .tel_gps_coupe { display: none; align-items: center; gap: 4px; }
.tel_bt_aucune b, .tel_gps_coupe b { font-weight: 800; }
.tel_gps_coupe b { min-width: 35px; text-align: center; }
.interaction[data-source="racebox"][data-box="coupe"] .tel_etat > :not(.tel_bt_coupe),
.interaction[data-source="racebox"][data-box="aucune"] .tel_etat > :not(.tel_bt_aucune),
.interaction[data-source="telephone"][data-gps="coupe"] .tel_etat > :not(.tel_gps_coupe) { display: none !important; }
.interaction[data-source="racebox"][data-box="coupe"] .tel_bt_coupe,
.interaction[data-source="racebox"][data-box="aucune"] .tel_bt_aucune,
.interaction[data-source="telephone"][data-gps="coupe"] .tel_gps_coupe { display: flex; }
.tel_etat_part .tel_point { margin: 0 1.5px; }   /* la place du cercle qui tourne (13 px) : rien ne bouge quand il devient point */
.tel_etat_trait {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.35);
}

.tel_point {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D32F2F;
}

.tel_liaison {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
}

.tel_liaison i {
    width: 4px;
    border-radius: 1.5px;
    background: #3DBE6A;
}

.tel_liaison i:nth-child(1) {
    height: 6.5px;
}

.tel_liaison i:nth-child(2) {
    height: 9px;
}

.tel_liaison i:nth-child(3) {
    height: 11.5px;
}

.tel_liaison i:nth-child(4) {
    height: 14px;
}

.tel_pile {
    display: flex;
    width: 20px;
    height: 11px;
    padding: 1.5px;
    border: 1.6px solid #3DBE6A;
    border-radius: 2px;
}

.tel_pile span {
    width: 100%;
    background: #3DBE6A;
}

/* Le menu du bas : des places qu'on touche. */

.tel_nav {
    flex: none;
    display: flex;
    height: 60px;
    border-top: 1px solid #E3E2E7;
    background: #F4F3F6;
}

.tel_onglet {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px 0 0;
    border: none;
    background: none;
    font-size: 13.8px;
}

.tel .tel_onglet {
    color: var(--gris-texte);
}

button.tel_onglet {
    cursor: pointer;
}

.tel_onglet_pastille {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 26px;
    border-radius: 13px;
}

button.tel_onglet:hover .tel_onglet_pastille {
    background: #E4E3E8;
}

.tel_onglet_choisi {
    font-weight: 800;
}

.tel .tel_nav_chrono .tel_onglet_choisi {
    color: var(--chrono);
}

.tel .tel_nav_chrono .tel_onglet_choisi .tel_onglet_pastille {
    background: var(--chrono-pale);
}

.tel .tel_nav_outils .tel_onglet_choisi {
    color: var(--outils);
}

.tel .tel_nav_outils .tel_onglet_choisi .tel_onglet_pastille {
    background: var(--outils-pale);
}

.tel .tel_onglet_vif {
    font-weight: 800;
    color: var(--vert);
}

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

/* Le menu des espaces, sous le badge. */

.tel_menu_espaces {
    position: absolute;
    top: 96px;
    left: 12px;
    z-index: 5;
    width: 280px;
    padding: 6px 0;
    border-radius: 8px;
    background: #F3F2F6;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.tel_menu_espace {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 13px 18px;
    border: none;
    background: none;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
}

.tel_menu_espace span {
    flex: 1;
}

.tel_menu_ici {
    visibility: hidden;
    font-size: 17px;
}

.tel_menu_espace:hover {
    background: #E7E6EB;
}

.tel .tel_menu_espace_chrono {
    color: var(--encre);
}

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

.tel .tel_menu_espace_outils {
    color: var(--outils);
}

.tel .tel_menu_espace_journal {
    color: var(--journal);
}

.tel_menu_verrou {
    margin: 4px 16px 6px;
    font-size: 13px;
    color: var(--rouge);
}

/* Par-dessus l'écran : le voile, les fenêtres, la fenêtre « État du GPS » qui monte du bas, le message qui flotte en haut. */

.tel_voile {
    position: absolute;
    inset: 0;
    z-index: 4;
}

.tel_voile[data-voile="fenetre"] {
    background: rgba(0, 0, 0, 0.32);
}

/* Une fenêtre qui monte du bas : le voile commence sous la barre d'Android (33 px) et la barre de l'appli (60 px). */

.tel_voile[data-sous-barre] {
    top: 93px;
}

.tel_fenetre {
    position: absolute;
    top: 50%;
    left: 28px;
    right: 28px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 22px 12px;
    border-radius: 26px;
    background: #F4F2F7;
    transform: translateY(-50%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.tel_fenetre_titre {
    display: block;
    font-size: 22px;
    font-weight: 500;
}

.tel_fenetre p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--gris-texte);
}

.tel_fenetre_boutons {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.tel_fenetre_boutons button {
    padding: 10px 12px;
    border: none;
    border-radius: 20px;
    background: none;
    font-size: 15px;
    cursor: pointer;
}

.tel .tel_fenetre_boutons button {
    color: #5A4AA6;
}

.tel_fenetre_boutons button:hover {
    background: rgba(90, 74, 166, 0.1);
}

.tel_centre {
    text-align: center;
}

.tel_suite_lignes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 30px;
}

.tel_suite_lignes i {
    width: 40px;
    height: 2px;
    background: var(--filet);
}

.tel_suite_lignes span {
    color: var(--gris);
}

.tel_etape {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
}

.tel_etape_rond {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--gris);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    color: var(--gris);
}

.tel_feuille {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 18px 28px;
    border-radius: 28px 28px 0 0;
    background: #fff;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.2);
}

.tel_feuille_poignee {
    align-self: center;
    width: 34px;
    height: 4px;
    margin-bottom: 8px;
    border-radius: 2px;
    background: #C9C8CE;
}

.tel_feuille_titre {
    font-size: 20px;
    font-weight: 800;
}

.tel_feuille_sous {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

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

.tel_feuille_cases > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    border-radius: 10px;
    background: #EFEEF2;
}

.tel_feuille_cases span {
    font-size: 12.5px;
    color: var(--gris-texte);
}

.tel_feuille_cases b {
    font-size: 20px;
    font-weight: 800;
}

.tel_feuille_cases b span {
    font-size: inherit;
    color: inherit;
}

.tel_feuille_liste {
    padding: 6px 12px;
    border: 1px solid var(--filet);
    border-radius: 12px;
}

.tel_feuille_liste > div {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14.5px;
}

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

/* Le sélecteur de la source, dans « État du GPS ». */

.tel_feuille_verrou {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
}

.tel_toast {
    position: absolute;
    top: 104px;
    left: 12px;
    right: 12px;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 6px 11px 13px;
    border-radius: 12px;
    background: #2B2930;
    color: #F5EFF7;
    font-size: 13px;
    line-height: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.tel_toast span {
    flex: 1;
}

.tel_toast button {
    padding: 2px 10px;
    border: none;
    background: none;
    font-size: 15px;
    cursor: pointer;
}

.tel .tel_toast button {
    color: #C9C2CE;
}

/* Le corps des écrans. */

.tel_corps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    overflow: hidden;
    padding: 14px 16px;
}

/* Pas de barre de défilement qui prend de la place : sur le téléphone, elle passe par-dessus. Avec elle, une page qui
   défile était 10 px moins large qu'une autre (le bienvenue des tests contre le bandeau d'un test). */
.tel_defile {
    overflow-y: auto;
    scrollbar-width: none;
}

.tel_defile::-webkit-scrollbar {
    display: none;
}

.tel_defile > * {
    flex: none;
}

.tel_pied {
    flex: none;
    display: flex;
    flex-direction: column;
    padding: 6px 16px 16px;
}

.tel_vert {
    color: var(--vert);
}

.tel_orange {
    color: var(--orange);
}

.tel_rouge {
    color: var(--rouge);
}

.tel_gris {
    color: var(--gris);
}

.tel_pale {
    color: #A6A5AB;
}

/* La bande du signal, fine (les outils). */

.tel_bande {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
}

.tel_bande_recherche {
    background: #F6E3E6;
    color: var(--rouge);
}

.tel_bande_pret {
    background: var(--vert);
    color: #fff;
}

/* La carte du signal (Mesure, Réglages) : la source, la liaison, la batterie, la vitesse ; le bandeau et sa jauge. */

.tel_signal {
    overflow: hidden;
    border-radius: 12px;
    background: #F1EFF4;
}

.tel_signal_haut {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 12px;
}

/* La carte A2 : la source et, à droite, la liaison et la batterie ; dessous les voyants. */
.tel_signal_rang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 0;
}

.tel_signal_rang .tel_place_source { display: inline-flex; align-items: center; font-size: 16px; }
.tel_signal_rang .tel_place_source b { font-size: 16px; }
.tel_signal_rang .tel_place_source small { font-size: 13px; color: var(--gris-texte); }

.tel_signal_droite {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
}

.tel_signal_voyants {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 14px 10px;
    font-size: 13.5px;
    font-weight: 700;
}

.tel_signal_voyants > span { display: inline-flex; align-items: center; }

.tel_voyant {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 5px;
    border-radius: 50%;
}

.tel_voyant_vert { background: var(--vert); }
.tel_voyant_orange { background: var(--orange); }

.tel_signal_places {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tel_place {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 21px;
    font-size: 14.4px;
}

.tel_place_source {
    min-height: 26px;
    font-size: 17px;
}

.tel_place_source b {
    font-size: 18.4px;
}

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

/* Le symbole de la source (telSymboleSource), devant son nom : dans la carte du signal et dans le sélecteur Téléphone | RaceBox. */
.tel_place_source > span,
.tel .tel_segment button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tel_symbole_source {
    flex: none;
    margin-right: 6px;
}

.tel_place_liaison {
    display: flex;
    align-items: center;
    gap: 7px;
}

.tel_barres {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    width: 26px;
    height: 14px;
}

.tel_barres i {
    width: 4px;
    border-radius: 1.5px;
    background: var(--vert);
}

.tel_barres i:nth-child(1) {
    height: 6.5px;
}

.tel_barres i:nth-child(2) {
    height: 9px;
}

.tel_barres i:nth-child(3) {
    height: 11.5px;
}

.tel_barres i:nth-child(4) {
    height: 14px;
}

/* La liaison dans « État du GPS » : ses barres, puis le mot. */
.tel_liaison_case {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tel_pile_place {
    border-color: var(--vert);
}

.tel_pile_place span {
    background: var(--vert);
}

.tel_pile_place {
    margin-right: 6px;
}

.tel_cadran {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border: 3px solid var(--chrono);
    border-radius: 50%;
}

.tel_cadran b {
    font-size: 30px;
}

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

.tel_bandeau {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    height: 64px;
    padding: 0 14px;
    font-size: 17.2px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

/* Dans la carte du signal A2 : plus fin, l'état seul. */
.tel_signal .tel_bandeau { gap: 6px; height: 44px; font-size: 15px; }
.tel_signal .tel_jauge { height: 6px; }

.tel_bandeau_recherche {
    background: #F6E3E6;
    color: var(--rouge);
}

.tel_bandeau_pret {
    background: var(--vert);
    color: #fff;
}

.tel_jauge {
    display: flex;
    height: 10px;
    overflow: hidden;
    border-radius: 5px;
}

.tel_bandeau_recherche .tel_jauge {
    background: rgba(176, 0, 32, 0.22);
}

.tel_bandeau_pret .tel_jauge {
    background: rgba(255, 255, 255, 0.3);
}

.tel_jauge i {
    border-radius: 5px;
    background: #fff;
}

/* Les satellites qui changent. */
.tel_bandeau_saute { background: rgba(224, 122, 0, 0.14); color: var(--orange); }
.tel_bandeau_saute .tel_jauge { background: rgba(224, 122, 0, 0.22); }
.tel_bandeau_saute .tel_jauge i { background: var(--orange); }

/* Les réglages de Mesure : un titre, et sa rangée de boutons. */

.tel_reglage {
    font-size: 12.6px;
    font-weight: 800;
    letter-spacing: 1.7px;
    color: var(--gris-texte);
}

.tel_choix {
    display: flex;
    gap: 7px;
}

.tel_choix > * {
    flex: 1;
    min-width: 0;
    padding: 10px 0;
    border: 1.5px solid #D4D3D9;
    border-radius: 24px;
    background: #fff;
    font-size: 15px;
    text-align: center;
    white-space: nowrap;
}

.tel_choix button {
    cursor: pointer;
}

.tel .tel_choix_pris,
.tel .tel_puce.tel_choix_pris {
    border-color: var(--chrono);
    background: var(--chrono);
    color: #fff;
}

.tel_grand {
    margin-top: auto;
    min-height: 62px;
    padding: 17px 0;
    border: none;
    border-radius: 31px;
    font-size: 21.8px;
    font-weight: 800;
    text-align: center;
}

.tel_grand_attente {
    background: #E8E8EA;
    color: #9C9BA1;
}

.tel .tel_grand_pret {
    background: var(--chrono);
    color: #fff;
    cursor: pointer;
}

.tel .tel_grand_demarrer {
    background: var(--vert);
    color: #fff;
    cursor: pointer;
}

.tel_carte {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1.5px solid #D4D3D9;
    border-radius: 14px;
    background: #fff;
    text-align: left;
}

button.tel_carte {
    cursor: pointer;
}

.tel_carte b {
    font-size: 17px;
}

.tel_carte span {
    font-size: 13px;
    color: var(--gris-texte);
}

.tel_note {
    margin: 0;
    font-size: 15px;
    text-align: center;
    color: var(--gris-texte);
}

/* La séance : le passage, les pastilles, l'annonce, les cases, les boutons. */

.tel_titre {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 41px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 1px;
}

.tel_titre_serie {
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--gris-texte);
}

.tel_pastilles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.tel_pastille {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.tel_pastille_entrainement {
    background: #E3EEFB;
    color: #1565C0;
}

.tel_pastille_examen {
    background: #FDECEE;
    color: #E30613;
}

.tel_pastille_affichage {
    background: #D3ECD8;
    color: #17612A;
}

.tel_pastille_force {
    background: #FBE3CC;
    color: #8A4A00;
}

.tel_pastille_force i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--rouge);
}

.tel_annonce {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tel_annonce_mot {
    font-size: 64px;
    font-weight: 800;
}

.tel_annonce_sous {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
}

.tel_enregistrement b {
    font-size: 58px;
    letter-spacing: 2px;
}

.tel_enregistrement_rond {
    width: 58px;
    height: 58px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: var(--rouge);
}

.tel_enregistrement_mot {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--gris-texte);
}

.tel_cases {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6px;
}

.tel_case {
    display: block;
    width: 100%;
    padding: 14px 0;
    border: none;
    border-top: 1px solid var(--filet);
    background: none;
    text-align: center;
    cursor: pointer;
}

.tel_case:hover {
    background: rgba(0, 0, 0, 0.03);
}

.tel_case:last-child {
    border-bottom: 1px solid var(--filet);
}

.tel_case_nom {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gris-texte);
}

.tel_ecart {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 8px;
    font-size: 14px;
    font-style: normal;
    letter-spacing: 0;
}

.tel_ecart_vert {
    background: #E5F2E8;
    color: var(--vert);
}

.tel_ecart_orange {
    background: #FFF4E5;
    color: var(--orange);
}

.tel_ecart_rouge {
    background: #FBE9EC;
    color: var(--rouge);
}

.tel_case_chiffre {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.05;
}

.tel_boutons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tel_rangee {
    display: flex;
    gap: 8px;
}

.tel_resultat {
    min-height: 58px;
    border: 2px solid var(--vert);
    border-radius: 30px;
    background: #fff;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.4;
}

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

.tel_pilule {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 4px;
    border: 2px solid #C9C8CE;
    border-radius: 30px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.tel .tel_pilule {
    color: var(--chrono);
}

.tel_pilule_rec {
    flex: 1;
}

.tel_pilule_recommencer {
    flex: 1.5;
}

.tel_pilule_retour {
    flex: 1.15;
}

.tel_pilule_rec i {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--rouge);
}

/* Les Relevés : les filtres et la corbeille, le jour, les cartes de passage et leurs tuiles. */

.tel_releves_haut {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tel_puces {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tel_puce {
    padding: 7px 12px;
    border: 1px solid #CAC4D0;
    border-radius: 18px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.tel .tel_puce {
    color: var(--gris-texte);
}

.tel_corbeille {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid #C9C8CE;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.tel .tel_corbeille {
    color: #7A7980;
}

/* Le haut des Relevés sur deux lignes : les filtres élargis d'un bord à l'autre,
   une petite barre entre Tous, les entraînements et Exam., la corbeille au bout ; puis Progression et PDF moitié-moitié. Tout à
   38 px de haut, le même bord. */
.tel_releves_deux {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tel_releves_filtres {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tel_releves_filtres .tel_puce {
    flex: 1 1 auto;
    height: 38px;
    padding: 0 8px;
    border: 1.5px solid #C9C8CE;
    border-radius: 19px;
    white-space: nowrap;
}

.tel_releves_filtres .tel_corbeille {
    width: 38px;
    height: 38px;
}

.tel_releves_barre {
    flex: none;
    width: 1.5px;
    height: 22px;
    background: #C9C8CE;
}

.tel_releves_boutons_bas {
    display: flex;
    gap: 8px;
}

.tel_releves_bouton {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    border: 1.5px solid #C9C8CE;
    border-radius: 19px;
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.tel .tel_releves_bouton {
    color: #45444C;
}

.tel_releves_aide {
    margin: 0;
    font-size: 12px;
    color: var(--gris-texte);
}

.tel_jour {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gris-texte);
}

.tel_jour i {
    flex: 1;
    height: 1px;
    background: var(--filet);
}

.tel_releves_liste {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Relevés › Tous des tests : une seule liste, les cartes rangées par leur arrivée (style.order). */
.tel_releves_tous { display: flex; flex-direction: column; gap: 12px; }
.tel_releves_tous > .tel_releves_liste:not([hidden]) { display: contents; }

.tel_passage {
    padding: 13px;
    /* Un cadre autour de chaque passage, celui des cartes ; PassageCard. */
    border: 1.5px solid #D4D3D9;
    border-radius: 12px;
    background: #F1EFF4;
}

.tel_passage_haut {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-bottom: 8px;
}

.tel_passage_haut b {
    font-size: 15px;
}

.tel_passage_haut small {
    flex: 1;
    font-size: 12px;
    color: var(--gris-texte);
}

.tel_parcours {
    padding: 2px 7px;
    border-radius: 12px;
    background: var(--gris-texte);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tel_parcours_1 {
    background: #2A78D6;
}

.tel_parcours_2 {
    background: #8E24AA;
}

.tel_tuiles_passage {
    display: flex;
    gap: 8px;
}

.tel_tuile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 6px;
    /* Un fin cadre gris ; avant : sans cadre. */
    border: 1px solid #CFCCD6;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.tel_tuile_nom {
    font-size: 13px;
    font-weight: 700;
    color: var(--gris-texte);
}

.tel_tuile_nom i {
    font-style: normal;
    opacity: 0.6;
}

.tel_tuile_ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
}

.tel_tuile_ligne b {
    font-size: 20px;
}

.tel_tuile_ligne .tel_ecart {
    margin: 0;
    font-size: 11px;
}

/* Réglages : le signal en haut, fixe ; la source, les pistes. */

.tel_source {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 12px;
    background: #F1EFF4;
}

.tel_piste {
    padding: 4px 14px 10px;
    border: 1px solid #CAC4D0;
    border-radius: 12px;
    background: #fff;
}

.tel_piste_haut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
}

.tel_piste_haut button {
    padding: 6px 10px;
    border: none;
    background: none;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.tel_piste_ligne {
    display: flex;
    gap: 8px;
    padding-top: 4px;
    font-size: 13px;
    font-weight: 700;
}

.tel_piste_ligne b {
    width: 30px;
}

/* La date de la ligne, comme l'appli ; l'ⓘ du Point de Contrôle sous la carte des lignes des tests. */
.tel_piste_ligne small { font-size: 11px; font-weight: 400; color: var(--gris-texte); }
.tel_info_ligne { display: flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; background: none; font: inherit;
    font-size: 14px; font-weight: 700; color: #4A4950; text-align: left; cursor: pointer; }

.tel_piste .tel_bouton_contour {
    width: 100%;
    margin-top: 10px;
}

/* RECALIBRER et VOIR LA DÉRIVE côte à côte. */
.tel_piste_deux { display: flex; gap: 8px; margin-top: 10px; }
.tel_piste_deux .tel_bouton_contour { flex: 1 1 0; margin-top: 0; padding-left: 4px; padding-right: 4px; font-size: 12px; }

.tel_bouton_contour {
    padding: 10px;
    border: 1px solid #79747E;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.tel .tel_bouton_contour {
    color: #5A4AA6;
}

/* La boîte à outils. */

.tel_connexion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tel_connexion_bandeau {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 2px solid var(--orange);
    border-radius: 14px;
    background: #FFF4E5;
    font-size: 15px;
}

.tel_connexion_bandeau b {
    font-size: 18px;
    color: var(--orange);
}

.tel_methode {
    padding: 14px;
    border-radius: 14px;
    background: #EFEEF2;
}

.tel_methode > span {
    font-size: 12.6px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--gris-texte);
}

.tel_methode p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.4;
}

.tel_methode_etape {
    display: flex;
}

.tel_methode_etape > b {
    flex: none;
    width: 24px;
}

.tel_pret_bloc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.tel_pret_bloc .tel_bande {
    align-self: stretch;
}

.tel_pret {
    padding: 8px 22px;
    border: 2px solid var(--vert);
    border-radius: 24px;
    background: #E5F2E8;
    color: var(--vert);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.tel_rond {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 230px;
    border: 6px solid #46454C;
    border-radius: 50%;
    background: #fff;
}

.tel_rond b {
    font-size: 96px;
    line-height: 1;
}

.tel_rond span {
    font-size: 20px;
    color: var(--gris-texte);
}

.tel_entete {
    display: flex;
    padding: 9px 0;
    border: 2px solid #47454D;
    border-radius: 12px;
    background: #fff;
}

.tel_entete > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tel_entete > div + div {
    border-left: 1px solid var(--filet);
}

.tel_entete b {
    font-size: 23px;
}

.tel_entete span {
    font-size: 12px;
    color: var(--gris-texte);
}

.tel_dessin {
    padding: 4px;
    border: 1px solid var(--filet);
    border-radius: 12px;
    background: #fff;
}

.tel_dessin .dessin {
    display: block;
    width: 100%;
    height: auto;
}

.tel_vues {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.tel_vue {
    padding: 4px 9px;
    border: none;
    border-bottom: 2.5px solid transparent;
    background: none;
    font-size: 14px;
    cursor: pointer;
}

.tel .tel_vue {
    color: var(--gris);
}

.tel .tel_vue_choisie {
    border-bottom-color: var(--encre);
    color: var(--encre);
    font-weight: 800;
}

.tel_lignes {
    padding: 6px 12px;
    border: 1px solid var(--filet);
    border-radius: 12px;
    background: #fff;
}

.tel_lignes > div {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14.5px;
}

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

.tel_deux {
    display: flex;
    align-items: flex-end;
}

.tel_deux > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tel_deux > div + div {
    border-left: 1px solid var(--filet);
}

.tel_deux b {
    font-size: 58px;
    line-height: 1;
}

.tel_deux span {
    font-size: 16px;
    color: var(--gris-texte);
}

.tel_cadre {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tel_tuiles {
    display: flex;
    gap: 8px;
}

.tel_tuiles > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    border-radius: 10px;
    background: #EFEEF2;
}

.tel_tuiles span {
    font-size: 13px;
    color: var(--gris-texte);
}

.tel_tuiles b {
    font-size: 22px;
}

/* Le Guide (GuideScreen.kt), ses tailles en sp × 1,15 : ses couleurs sont celles du site, le rouge du logo pour la mise en page. */

.guide {
    --guide-rouge: #E30613;
    --guide-noir: #47454D;
    --guide-boite: #F4F3F6;
    --guide-filet: #E4E1E8;
    --guide-pale: #A9A5AE;
    --guide-contour: #CFCFD4;
}

.guide_sommaire {
    display: flex;
    flex-direction: column;
}

.guide_sommaire button {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--guide-filet);
    background: none;
    text-align: left;
    cursor: pointer;
}

.guide_sommaire i {
    flex: none;
    width: 36px;
    font-size: 29.9px;
    font-weight: 900;
    color: var(--guide-rouge);
}

.guide_sommaire b {
    flex: 1;
    font-size: 18.4px;
    line-height: 23px;
}

.guide_sommaire span {
    font-size: 23px;
    color: var(--guide-pale);
}

.guide_pdf {
    min-height: 50px;
    margin-top: 4px;
    border: none;
    border-radius: 25px;
    background: var(--chrono);
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}

.tel .guide_pdf {
    color: #fff;
}

.guide_haut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16.1px;
    font-weight: 600;
    color: var(--gris-texte);
}

.guide_haut button {
    padding: 6px 0;
    border: none;
    background: none;
    font-size: 17.3px;
    font-weight: 600;
    cursor: pointer;
}

.tel .guide_haut button {
    color: #5A4AA6;
}

.guide_titre {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--guide-filet);
}

.guide_titre i {
    font-size: 39.1px;
    font-weight: 900;
    color: var(--guide-rouge);
}

.guide_titre h2 {
    margin: 0;
    font-size: 27.6px;
    font-weight: 900;
    line-height: 32.2px;
}

.guide_texte,
.guide_puce {
    margin: 0;
    font-size: 18.4px;
    line-height: 26.5px;
}

.guide_texte_premier {
    font-size: 19.5px;
    line-height: 27.6px;
}

.guide_puce {
    position: relative;
    padding-left: 16px;
}

.guide_puce::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--guide-rouge);
}

.guide_intertitre {
    margin: 14px 0 0;
    padding-left: 12px;
    border-left: 4px solid var(--guide-rouge);
    font-size: 21.8px;
    font-weight: 800;
    line-height: 27.6px;
}

.guide_boite {
    overflow: hidden;
    border-radius: 14px;
    background: var(--guide-boite);
}

.guide_boite > div {
    padding: 10px 12px;
}

.guide_boite > div + div {
    border-top: 1px solid var(--guide-filet);
}

.guide_choix span {
    display: inline-block;
    min-width: 44px;
    padding: 2px 12px;
    border: 1px solid var(--guide-contour);
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.guide_choix p {
    margin: 5px 0 0;
    font-size: 17.3px;
    line-height: 24.2px;
}

.guide_tableau_ligne {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    align-items: center;
    font-size: 16.1px;
    line-height: 20.7px;
}

.guide_tableau_ligne span {
    text-align: center;
}

.guide_tableau_entete span {
    font-size: 12.6px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--gris-texte);
}

.guide_tableau_entete span:first-child {
    text-align: left;
}

.guide_suivant {
    display: flex;
    align-items: center;
    margin-top: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 14px;
    background: var(--guide-noir);
    text-align: left;
    cursor: pointer;
}

.guide_suivant span {
    flex: 1;
    font-size: 18.4px;
    font-weight: 700;
}

.tel .guide_suivant span {
    color: #fff;
}

.guide_suivant small {
    display: block;
    font-size: 12.6px;
    letter-spacing: 1.4px;
    color: #B9B5BF;
}

.guide_suivant b {
    font-size: 29.9px;
    color: var(--guide-rouge);
}

.guide_v {
    color: #1B7F32;
}

.guide_o {
    color: #E07A00;
}

.guide_r {
    color: #B00020;
}

.guide_b {
    color: #1565C0;
}

/* La fenêtre guidée d'une ligne (FenetreLignes.kt) : la suite C7 · C6 · PC, les trois étapes reliées par un fil, ENREGISTRER. */

.ligne_suite {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #DDD8E3;
    font-size: 18.4px;
    font-weight: 700;
    color: #A9A4AF;
}

.ligne_suite i {
    width: 22px;
    height: 2px;
    background: #CFCAD5;
}

.ligne_suite b {
    font-size: 46px;
    font-weight: 800;
    line-height: 46px;
    color: var(--encre);
}

.ligne_suite .ligne_suite_faite {
    font-weight: 800;
    color: var(--vert);
}

.ligne_etapes {
    display: flex;
    flex-direction: column;
    padding-top: 4px;
}

.ligne_etape {
    display: flex;
    gap: 12px;
}

.ligne_rond {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid #B9B4BF;
    border-radius: 50%;
    background: #fff;
    color: #6E6A74;
    font-size: 17.2px;
    font-weight: 800;
}

.ligne_etape:not(:nth-last-child(2)) .ligne_rond::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 12px;
    width: 2px;
    height: 200px;
    background: #D8D3DE;
}

.ligne_etape {
    overflow: hidden;
}

.ligne_etape_encours .ligne_rond {
    border-color: var(--encre);
    color: var(--encre);
}

.ligne_etape_fait .ligne_rond {
    border-color: var(--vert);
    background: var(--vert);
    color: #fff;
}

.ligne_etape > div {
    flex: 1;
    padding: 3px 0 14px;
}

.ligne_etape p {
    margin: 0 0 6px;
    font-size: 18.4px;
    font-weight: 700;
    line-height: 24px;
    color: var(--encre);
}

.ligne_etape_fait p {
    font-weight: 400;
    color: var(--gris-texte);
}

.ligne_pastille {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 12px;
    background: #ECE8F0;
    color: #6E6A74;
    font-size: 15px;
    font-weight: 700;
}

.ligne_etape_fait .ligne_pastille {
    background: #E5F2E8;
    color: var(--vert);
}

.ligne_pastille i {
    width: 12px;
    height: 12px;
    border: 2px solid #C9C4CF;
    border-top-color: var(--encre);
    border-radius: 50%;
    animation: ligne_tourne 0.8s linear infinite;
}

@keyframes ligne_tourne {
    to {
        transform: rotate(360deg);
    }
}

.ligne_enregistrer {
    min-height: 64px;
    margin-top: 12px;
    border: none;
    border-radius: 32px;
    background: var(--vert);
    font-size: 21.8px;
    font-weight: 700;
    cursor: pointer;
}

.tel .ligne_enregistrer {
    color: #fff;
}

.tel .ligne_enregistrer:disabled {
    background: #E3E1E6;
    color: #A6A3AA;
    cursor: default;
}

/* ⓘ : le Point de Contrôle, en trois cadres qui défilent. */

.tel_fenetre_pc {
    top: 24px;
    bottom: 24px;
    transform: none;
}

.pc_defile {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
}

.pc_cadre {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid #DCD7E2;
    border-radius: 14px;
    background: #fff;
}

.pc_cadre b {
    font-size: 18.4px;
    font-weight: 800;
}

.pc_cadre p {
    margin: 0;
    font-size: 17.2px;
    line-height: 24px;
    color: var(--encre);
}

.pc_cadre svg {
    width: 100%;
    height: auto;
}

/* ===== La navigation (maquette « Les écrans, harmonisés ») ===== */

/* Le menu du bas à cinq places : les mots en plus petit pour tenir. */

.tel .tel_nav_cinq .tel_onglet {
    font-size: 12px;
}

.tel .tel_nav_cinq .tel_onglet_pastille {
    width: 46px;
}

/* L'encadré du haut (le passage, l'outil, l'essai) : de même hauteur partout ; le toucher ouvre ses choix ; son ▾. */

.tel_encadre {
    position: relative;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    height: 112px;
    overflow: hidden;
    padding: 10px 14px;
    border: 1px solid var(--filet);
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
    color: var(--gris-texte);
    cursor: pointer;
}

.tel_encadre > span:not(.tel_encadre_fleche) {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tel_encadre b {
    font-size: 18px;
    color: var(--encre);
}

.tel_encadre_fleche {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 16px;
    color: var(--gris);
}

.tel_encadre_texte {
    font-size: 14px;
    line-height: 1.35;
}

/* L'encadré des outils : du texte seulement, en entier ; il ne se touche pas. */

.tel_encadre_texte_seul {
    justify-content: center;
    cursor: default;
}

.tel_encadre_texte_seul .tel_encadre_texte {
    font-size: 15px;
    color: var(--encre);
}

/* Le sous-titre, centré sous la barre, plus dans la barre : l'exercice, l'outil, le réglage ; et le Guide. */

.tel_titre_page {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 12px 16px 2px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    color: var(--encre);
}

/* La piste, dans la barre : son nom en gras et le ▾ ; la toucher fait monter les pistes. */

.tel_fil_piste {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 19.5px;
    text-align: left;
    cursor: pointer;
}

.tel_fil_piste b {
    overflow: hidden;
    text-overflow: ellipsis;
}

.tel_fil_piste i {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.tel_fenetre_note {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--gris-texte);
}

.interaction[data-rec="oui"] [data-piste-choix] {
    opacity: 0.45;
    pointer-events: none;
}

.tel_pastilles_gauche {
    flex-direction: row;
    justify-content: flex-start;
}

.tel_pastille_moto {
    background: #E3EEFB;
    color: #1565C0;
}

/* La place de PRÊT, la même partout : juste sous l'encadré, à la même distance. */

/*
 * ⚠️ **Les vitesses au milieu de l'écran, comme l'appli** : la zone prend toute la place entre le bandeau et les boutons du bas, ses lignes sont centrées en
 * hauteur, chacune un tiers de la zone (MainActivity : `maxHeight / 3`, `Arrangement.Center`), un filet au-dessus et au-dessous.
 * Avant : collées en haut, sous le bandeau.
 */
.tel_zone_mesure {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.tel_zone_mesure .tel_cases {
    padding: 0;
}

.tel_zone_mesure .tel_case {
    flex: 0 0 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tel_zone_mesure .tel_case:last-child {
    border-bottom: 1px solid var(--filet);
}

/*
 * Les tailles de l'appli sur le Samsung A52s (411 × 913, police 1,15) : le chiffre = 0,46 × la hauteur d'une ligne, 78 sp au plus,
 * le nom 0,10 ×, 15 sp au plus (MainActivity) ; ici la ligne fait ~190 px, les deux plafonds sont atteints : 78 × 1,15 = 90 px,
 * 15 × 1,15 = 17 px.
 */
.tel_zone_mesure .tel_case_chiffre {
    font-size: 90px;
    line-height: 1;
}

.tel_zone_mesure .tel_case_nom {
    font-size: 17px;
}

/* L'écart, à la taille du nom, une pastille ronde (PastilleEcart : la taille du nom, 8 dp de marge dedans, 10 dehors). */
.tel_zone_mesure .tel_ecart {
    margin-left: 10px;
    padding: 1px 8px;
    border-radius: 99px;
    font-size: 17px;
    font-weight: 700;
}

/* La ligne du bas : REC · RÉSULTAT · C6 (la séance, 18/11/2026) ; REC · NOUVEL ESSAI (les tests) ; RECOMMENCER (les outils). */

.tel_ligne_bas {
    flex: none;
    align-items: center;
    padding: 6px 16px 10px;
}

.tel_ligne_bas .tel_pilule_rec {
    flex: none;
    padding: 11px 16px;
}

/* La séance : trois boutons de la même largeur et de la même hauteur (LigneSeance de l'appli, 52 dp). */

.tel_ligne_seance > * {
    flex: 1 1 0;
    min-width: 0;
    height: 52px;
    min-height: 0;
    box-sizing: border-box;
    justify-content: center;
}

.tel_ligne_seance .tel_pilule_rec {
    flex: 1 1 0;
    padding: 0 8px;
}

.tel_ligne_seance .tel_resultat_ligne {
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* Le bouton C6 de la séance (BoutonSeance de l'appli) : vert plein ; il s'éclaire un instant quand on le touche. */

.tel_bouton_c6 {
    white-space: nowrap;
    display: flex;
    align-items: center;
    border: 0;
    border-radius: 30px;
    background: var(--vert);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}

.tel_bouton_c6_pris {
    background: #fff;
    color: var(--vert);
}

/* À côté du chiffre du freinage, ce que le bouton C6 a donné (MarqueBoutonC6 de l'appli) ; la même, invisible, de l'autre côté. */

.tel_case_bouton {
    display: inline-flex;
    margin: 0 16px;
    font-size: 15px;
    font-weight: 700;
    vertical-align: middle;
}

.tel_case_bouton.tel_invisible {
    visibility: hidden;
}

/* La petite main du relevé au bouton C6 (IconeMainBouton de l'appli) : 36 à côté du chiffre de la case, 15 à côté du nom d'une tuile. */

.tel_main_bouton {
    color: var(--vert);
    vertical-align: middle;
}

.tel_main_case {
    width: 36px;
    height: 36px;
}

.tel_main_tuile {
    width: 15px;
    height: 15px;
    margin-left: 5px;
}

.tel_resultat_ligne {
    flex: 1;
    min-height: 48px;
    font-size: 18px;
}

.tel .tel_pilule_large {
    flex: 1;
}

/* Une ligne résumée (les Accueils) : un petit titre, la valeur, un bouton. */

.tel_ligne_resume {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--filet);
    border-radius: 14px;
    background: #fff;
}

.tel_resume_texte {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

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

.tel_resume_texte small {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gris-texte);
}

.tel_resume_bouton {
    flex: none;
    padding: 8px 12px;
    border: 1px solid #79747E;
    border-radius: 18px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.tel .tel_resume_bouton {
    color: #5A4AA6;
}

.tel_note_appui {
    margin: 4px 0 0;
    font-size: 13px;
    text-align: center;
    color: var(--gris);
}

/*
 * La bande d'une place du menu du bas : soudée au menu (sa couleur, posée 1 px plus bas pour couvrir son trait, une ombre au-dessus
 * seulement), de grandes cases, la case en cours en gras, un chevron fin au-dessus de la place, posé au centre de la place en
 * pourcentage de la largeur (cinq places : 30, 50, 90 % ; quatre places, les tests : 37,5, 87,5 %), moins la moitié du chevron.
 */

.tel_bande_menu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 107px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 12px 26px;
    border-radius: 18px 18px 0 0;
    background: #F4F3F6;
    box-shadow: 0 -10px 18px -8px rgba(0, 0, 0, 0.22);
}

.tel_bande_titre {
    padding-left: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--gris);
}

.tel_bande_cases {
    display: flex;
    gap: 8px;
}

.tel_bande_case {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 86px;
    padding: 0 4px;
    border: 1px solid #DDDCE2;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
}

.tel .tel_bande_case {
    color: var(--gris-texte);
}

.tel .tel_bande_case.tel_choix_pris {
    border: 2px solid var(--chrono);
    background: var(--chrono-pale);
    font-weight: 800;
    color: var(--chrono);
}

.tel .tel_bande_menu_t1 .tel_bande_case.tel_choix_pris,
.tel .tel_bande_menu_t3 .tel_bande_case.tel_choix_pris {
    border-color: var(--test);
    background: var(--test-pale);
    color: var(--test);
}

/* Les fenêtres de l'encadré, qui montent du bas : leurs cartes (le nom, le petit texte), la prise encadrée. */

.tel_fenetre_bas {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    gap: 10px;
    padding: 10px 18px 24px;
    border-radius: 28px 28px 0 0;
    background: #fff;
    transform: none;
}

.tel_cartes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tel_cartes_cote {
    flex-direction: row;
}

.tel_cartes_cote .tel_carte_choix {
    flex: 1;
}

.tel_carte_choix {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 14px;
    border: 1px solid var(--filet);
    border-radius: 12px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.tel_carte_choix b {
    font-size: 17px;
}

.tel_carte_choix small {
    font-size: 14px;
    line-height: 1.35;
    color: var(--gris-texte);
}

.tel .tel_carte_choix.tel_choix_pris {
    border: 2px solid var(--chrono);
    background: var(--chrono-pale);
    color: var(--encre);
}

/* L'encadré d'un test est posé avant le corps de la page : les mêmes marges, pour que PRÊT tombe au même endroit qu'ailleurs. */

.tel_encadre_test {
    box-sizing: border-box;
    width: calc(100% - 32px);  /* sur toute la largeur, même sans la phrase du test */
    margin: 14px 16px 20px;
}

/* Le voile des bandes : il couvre l'écran mais pas le menu du bas (60 px + la barre d'Android, 48 px), qu'on peut toucher à travers. */

.tel_voile_bande {
    bottom: 108px;
    /* Le voile léger de l'appli (BandeMenu, noir à 18 %), sous la barre d'Android et la barre de l'appli. */
    top: 93px;
    background: rgba(0, 0, 0, 0.18);
}

/* La carte du signal se touche : elle ouvre « État du GPS ». */

.tel_signal {
    cursor: pointer;
}

/* Un petit encart qui explique (Réglages des tests : pourquoi des lignes à part). Bordure simple, pas de liseré à gauche. */

.tel_explication {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    padding: 10px 14px;
    border: 1px solid var(--filet);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    line-height: 1.4;
    color: var(--gris);
}

.tel_explication b {
    font-size: 15px;
    color: var(--encre);
}

/* ⓘ : la méthode d'un test. Dans l'encadré, en haut à droite, à gauche de ▾. */

.tel_info {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    cursor: pointer;
}

.tel_encadre_bloc {
    position: relative;
    flex: none;
}

.test_info_ligne {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
}

/* Les accordéons de la méthode : la page Méthode (un par test) et la fenêtre de l'ⓘ (un par partie). */

.tel_accordeon {
    flex: none;
    border: 1px solid var(--filet);
    border-radius: 12px;
    background: #fff;
}

.tel_accordeon summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--gris-texte);
    list-style: none;
    cursor: pointer;
}

.tel_accordeon summary::-webkit-details-marker {
    display: none;
}

.tel_accordeon summary::after {
    content: "▾";
    flex: none;
    font-size: 16px;
    color: var(--gris);
    transition: transform 0.15s;
}

.tel_accordeon[open] summary::after {
    transform: rotate(180deg);
}

.tel_accordeon > .tel_methode {
    margin: 0 8px 8px;
}

.tel_fenetre_methode {
    max-height: 82%;
}

.tel_fenetre_defile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
}

/* « Ça cherche » : un petit cercle qui tourne à la place du chiffre, pendant la recherche des satellites. */
.tel_attente {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid #D9D8DE;
    border-top-color: #4A4950;
    border-radius: 50%;
    animation: tel_tourne 0.9s linear infinite;
}

@keyframes tel_tourne {
    to { transform: rotate(360deg); }
}

/* Le bandeau du signal pendant la recherche : le cercle qui tourne au bout de la ligne. */
.tel_bandeau_ligne {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tel_attente_bandeau {
    border-color: rgba(176, 0, 32, 0.25);
    border-top-color: currentColor;
}

/* ---- L'Accueil ---- */

/* Le bienvenue : le logo, le nom, à quoi sert l'appli, la moto en petit. */
.tel_bienvenue {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #46454C 0%, #2B2A30 70%, #5A2A32 100%);
    color: #fff;
}

.tel_bienvenue_logo {
    display: flex;
    padding: 7px;
    border-radius: 12px;
    background: #fff;
}

.tel_bienvenue_texte {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.tel_bienvenue_texte b {
    font-size: 18px;
    line-height: 1.2;
}

.tel_bienvenue_texte small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.tel_bienvenue_moto {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
}

/* Les quatre portes. */
.tel_portes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tel_porte {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 92px;
    padding: 12px 12px 10px;
    border: 1px solid var(--filet);
    border-radius: 14px;
    background: #fff;
    /* Plates, sans ombre. */
}

.tel_porte i {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    border-radius: 12px;
    background: var(--chrono-pale);
    color: var(--chrono);
}

.tel_porte b {
    font-size: 16px;
    color: var(--encre);
}

.tel_porte small {
    font-size: 12.5px;
    line-height: 1.3;
    color: var(--gris-texte);
}

/* Deux grandes portes : Entraînement, Examen. */
.tel_porte {
    min-height: 150px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.tel_porte i {
    width: 58px;
    height: 58px;
    border-radius: 16px;
}

.tel_porte b {
    font-size: 19px;
}

/* L'Accueil des tests : les mêmes portes, aux couleurs de l'espace TEST ; la fiole à la place du logo. */
.tel_porte_test i { background: var(--test-pale, #EEE8F6); color: var(--test); }
.tel_bienvenue_logo_test { color: var(--test); }

/* Les portes et la moto sont des boutons, dans le téléphone cliquable. */
button.tel_porte {
    width: 100%;
    font: inherit;
    cursor: pointer;
}

button.tel_bienvenue_moto {
    background: none;
    font-family: inherit;
    color: #fff;
    cursor: pointer;
}

/* Le cercle qui tourne à la place du point, dans la barre. */
.tel_attente_barre {
    width: 13px;
    height: 13px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
}

/* ---- Le PDF des relevés : le bouton rond, sa fenêtre, Réglages › Envoi ---- */
.tel_releves_boutons {
    display: flex;
    gap: 8px;
}

.tel_bouton_pdf {
    width: 44px;
    height: 44px;
    border: 1.5px solid #C9C8CE;
    border-radius: 50%;
    background: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #7A7980;
    cursor: pointer;
}

.tel_fenetre_pdf .tel_question {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--chrono);
}

.tel_coche {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    font-size: 15px;
}

.tel_coche span {
    flex: 1;
}

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

.tel_champ {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--filet);
    border-radius: 6px;
    font: inherit;
    font-size: 15px;
}

/* L'aide d'un champ vide : gris clair, partie dès qu'on touche le champ. */
.tel_champ::placeholder { color: #B4B3BA; }
.tel_champ:focus::placeholder { color: transparent; }

/* D'abord ce qu'on fait : Télécharger | Par mail, deux cases côte à côte ; l'adresse seulement avec « Par mail » ;
   un seul gros bouton en bas, dont le nom suit le choix ; Annuler dessous. */
.tel_choix_pdf {
    display: flex; margin: 4px 0 6px; padding: 3px; border-radius: 24px; background: #E6E5EA;
}
.tel_choix_pdf button {
    flex: 1; height: 40px; border: 0; border-radius: 21px; background: none;
    font: inherit; font-size: 15px; font-weight: 700; color: #6A6970; cursor: pointer;
}
.tel_choix_pdf[data-choix-pdf="telecharger"] [data-choix="telecharger"],
.tel_choix_pdf[data-choix-pdf="mail"] [data-choix="mail"] {
    background: #45444C; color: #fff;
}
.tel_fenetre_pdf:has([data-choix-pdf="telecharger"]) .selon_choix_mail,
.tel_fenetre_pdf:has([data-choix-pdf="mail"]) .selon_choix_telecharger { display: none; }
.tel_fenetre .tel_bouton_pdf_action {
    width: 100%; height: 52px; margin-top: 14px; border: 0; border-radius: 26px;
    background: #45444C; color: #fff; font: inherit; font-size: 15px; font-weight: 800; letter-spacing: 0.5px; cursor: pointer;
}
.tel_annuler_centre { justify-content: center; }
/* Les jours serrés l'un sous l'autre, comme une liste ; le titre de l'adresse au même écart de son champ que les autres. */
.tel_jours { display: flex; flex-direction: column; }
.selon_choix_mail { display: flex; flex-direction: column; gap: 12px; }

/* Réglages › Source GPS, l'encadré « Connexion » : le Bluetooth du téléphone, l'autorisation, la
   box (CarteBox : son nom, son état, son bouton sur toute la largeur). DÉCONNECTER : data-box="libre". */
.tel_cnx { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; padding: 12px; border: 1.5px solid #D4D3D9; border-radius: 12px; background: #fff; }
.tel_cnx_box { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid #D4D3D9; border-radius: 10px;
    background: #FAFAFB; cursor: pointer; }
.tel_cnx_haut { display: flex; align-items: center; gap: 8px; min-height: 30px; }   /* la même hauteur, ⋮ ou pas : rien ne bouge en changeant de source */
.tel_cnx_haut b { font-size: 16px; font-weight: 900; }
.tel_cnx_haut small { flex: 1; font-size: 12px; color: var(--gris-texte); }
.tel_cnx_haut i { margin-left: auto; font-size: 20px; font-style: normal; font-weight: 900; color: #8E8D94; }   /* ⋮ au bord droit */
.tel_cnx_etat { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--gris-texte); }
.tel_cnx_bouton { width: 100%; padding: 8px 0; border: 1.5px solid var(--chrono); border-radius: 20px; background: var(--chrono);
    color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.tel_cnx_deconnecter { background: #fff; color: var(--chrono); }
.tel_cnx_ajouter { align-self: center; padding: 8px 18px; border: 1.5px solid var(--chrono); border-radius: 20px; background: #fff;
    color: var(--chrono); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.interaction[data-box="libre"] .tel_cnx_si_liee,
.interaction:not([data-box="libre"]) .tel_cnx_si_libre { display: none; }
/* La box déconnectée, en haut : le Bluetooth et « — », rien ne cherche. */
.tel_bt_libre { display: none; align-items: center; gap: 4px; min-width: 30px; justify-content: center; }
.tel_bt_libre b { font-weight: 800; }
.interaction[data-source="racebox"][data-box="libre"] .tel_etat > :not(.tel_bt_libre) { display: none !important; }
.interaction[data-source="racebox"][data-box="libre"] .tel_bt_libre { display: flex; }

/* « État du GPS » avec la RaceBox : un seul encadré — le nom de la box, ses six cases, DÉCONNECTER ou SE CONNECTER en bas ;
   la box qui enregistre : le point rouge qui clignote dans la case Mémoire. Avec le téléphone, les cases seules, sans encadré. */
.tel_feuille_box { gap: 8px; background: #fff; border-width: 1.5px; border-radius: 12px; }
.tel_feuille_box .tel_feuille_cases > div { padding: 6px 0; }
.tel_feuille_box .tel_feuille_cases b { font-size: 18px; }

.tel_case_rec { display: inline-flex; align-items: center; gap: 5px; }
.tel_case_rec i { width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; animation: tel_case_clignote 1.2s infinite; }
@keyframes tel_case_clignote { 50% { opacity: 0.15; } }

/* Le bienvenue : la moto sous le logo, le texte a toute la largeur. */
.tel_bienvenue_gauche { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tel_bienvenue_texte { gap: 3px; }
.tel_bienvenue_texte small { line-height: 1.3; }

/* Le GPS du téléphone, DÉCONNECTER / SE CONNECTER. */
.interaction[data-tel="coupe"] .tel_tel_si_ok,
.interaction:not([data-tel="coupe"]) .tel_tel_si_coupe { display: none; }

/* Déconnecté à la main : « GPS DÉCONNECTÉ » en gris, on ne cherche
   rien — à la place de « RECHERCHE DU SIGNAL ». */
.tel_si_deconnecte { display: none; }
.tel_bande_deconnecte, .tel_bandeau_deconnecte { background: #ECEBEF; color: #8E8D94; }
.interaction[data-source="telephone"][data-tel="coupe"] .tel_si_deconnecte,
.interaction[data-source="racebox"][data-box="libre"] .tel_si_deconnecte { display: flex; }
.interaction[data-source="telephone"][data-tel="coupe"] .tel_bande_recherche,
.interaction[data-source="telephone"][data-tel="coupe"] .tel_bandeau_recherche,
.interaction[data-source="racebox"][data-box="libre"] .tel_bande_recherche,
.interaction[data-source="racebox"][data-box="libre"] .tel_bandeau_recherche { display: none; }

/* Le bienvenue, proposition D : le logo et le texte sur une ligne ; dessous, un trait, puis « Moto » et les deux
   motos côte à côte, la choisie pleine (blanche). */
.tel_bienvenue_d { flex-direction: column; align-items: stretch; gap: 12px; }
.tel_bienvenue_haut { display: flex; align-items: center; gap: 12px; }
.tel_bienvenue_motos { display: flex; align-items: center; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.tel_bienvenue_motos > span:first-child { flex: 1; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.8); }
.tel_bienvenue_choix { display: flex; padding: 2px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 16px; }
.tel_bienvenue_choix .tel_choix_bouton { min-width: 54px; padding: 4px 12px; border: 0; border-radius: 14px; background: transparent;
    color: #fff; font-size: 13px; font-weight: 800; }
.tel_bienvenue_choix .tel_choix_bouton.tel_choix_pris { background: #fff; color: #2B2A30; }

/* Le haut de Parcours : le bandeau sombre. */
.tel_bandeau_parcours { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 14px;
    background: linear-gradient(135deg, #46454C 0%, #2B2A30 70%, #5A2A32 100%); color: #fff; }
.tel_bp_gauche { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.25; }
.tel_bp_gauche b { font-size: 17px; font-weight: 900; letter-spacing: 1px; }
.tel_bp_gauche small { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
/* « .tel_bandeau_parcours » devant : sinon « .tel button » (la couleur du parent, ici le blanc du bandeau) passait avant, blanc sur blanc. */
.tel_bandeau_parcours .tel_bp_pilule { display: inline-flex; align-items: center; gap: 2px; padding: 7px 10px 7px 12px; border: 0; border-radius: 18px; background: #fff;
    color: #2B2A30; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.tel_bp_pilule svg { margin-left: 6px; }
/* Le bandeau des tests : l'ⓘ de la méthode juste après « TEST FREINAGE », en clair sur le sombre. */
.tel_bandeau_test { flex: none; margin: 14px 16px 0; }
/* En deux parties : le titre, un trait, la pilule sur toute la largeur. */
.tel_bandeau_deux { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 12px 12px 16px; }
.tel_bp_trait { display: block; height: 1px; background: rgba(255, 255, 255, 0.18); }
.tel_bandeau_deux .tel_bp_pilule { justify-content: space-between; }
/* « ● prêt », « ● en cours » : un vert clair, lisible sur le sombre (le même que l'appli, 8EE09B). */
.tel_bandeau_test .tel_vert, .tel_bandeau_test .test_freinage_pret, .tel_vert_clair { color: #8EE09B; font-weight: 800; }
.tel_bandeau_test .tel_bp_gauche b { display: flex; align-items: center; gap: 2px; }
/* Le rond garde sa taille de 40 px ailleurs : ici, juste la taille du dessin, collé au titre et centré sur sa ligne. */
.tel_bandeau_test .tel_info { display: grid; place-items: center; width: 24px; height: 24px; margin-left: 4px; padding: 0; border: 0;
    background: none; filter: invert(1) brightness(1.4); cursor: pointer; }
.tel_bandeau_test .tel_info svg { width: 20px; height: 20px; }
.hp_orange_tel { color: var(--orange); }

/* Fermé pendant REC : l'encadré rose en haut de l'Accueil, et la question ; box loin, se connecter. */
.interaction:not([data-recferme="la"]):not([data-recferme="loin"]) .selon_recferme_oui,
.interaction:not([data-recferme="la"]) .selon_recferme_la,
.interaction:not([data-recferme="loin"]) .selon_recferme_loin { display: none !important; }
.tel_rec_coupe { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #FDECEE; }
.tel_rec_coupe b { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: 0.5px; color: var(--rouge); }
.tel_rec_coupe b i { width: 12px; height: 12px; border-radius: 50%; background: var(--rouge); }
.tel_rec_coupe p { margin: 0; font-size: 13px; line-height: 1.3; color: var(--encre); }
.tel_rec_coupe_boutons { display: flex; gap: 8px; margin-top: 6px; }
.tel_rec_coupe_boutons button { padding: 8px 14px; border: 1.5px solid #45444C; border-radius: 20px; background: #fff; color: #45444C;
    font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.tel_rec_coupe_boutons .tel_rec_coupe_dl { flex: 1; background: #45444C; color: #fff; }
.interaction[data-recferme="loin"] .tel_rec_coupe_dl { opacity: 0.4; pointer-events: none; }

/* Les outils sans RaceBox : un bouton direct à la place de la carte de la source. */
.tel_connexion_bouton { width: 100%; padding: 14px 0; border: 0; border-radius: 24px; background: #45444C; color: #fff; font: inherit;
    font-size: 16px; font-weight: 800; cursor: pointer; }
.tel_connexion_bandeau .tel_connexion_bouton { margin: 12px 0 10px; } .tel_connexion_bandeau .tel_note { display: block; text-align: center; }

/* Les incidents de la liaison : le mot et le bouton qui règle, à la place des habituels. */
.selon_incident_bt, .selon_incident_refusee, .selon_incident_introuvable, .selon_incident_loc { display: none !important; }
.interaction[data-incident="bt"] .selon_incident_bt,
.interaction[data-incident="refusee"] .selon_incident_refusee,
.interaction[data-incident="introuvable"] .selon_incident_introuvable,
.interaction[data-incident="loc"] .selon_incident_loc { display: flex !important; }
.interaction[data-incident="bt"] .tel_cnx_box .tel_cnx_si_liee, .interaction[data-incident="bt"] .tel_cnx_box .tel_cnx_si_libre,
.interaction[data-incident="refusee"] .tel_cnx_box .tel_cnx_si_liee, .interaction[data-incident="refusee"] .tel_cnx_box .tel_cnx_si_libre,
.interaction[data-incident="introuvable"] .tel_cnx_box .tel_cnx_si_liee, .interaction[data-incident="introuvable"] .tel_cnx_box .tel_cnx_si_libre,
.interaction[data-incident="loc"] .tel_cnx_box .tel_tel_si_ok, .interaction[data-incident="loc"] .tel_cnx_box .tel_tel_si_coupe { display: none !important; }
button.tel_cnx_bouton.selon_incident_bt, button.tel_cnx_bouton.selon_incident_refusee, button.tel_cnx_bouton.selon_incident_introuvable,
button.tel_cnx_bouton.selon_incident_loc { justify-content: center; }
.tel_cnx_chemin { font-size: 12.5px; color: var(--gris-texte); }
.tel_barres_cherche i { background: var(--orange) !important; animation: tel_bt_vague 2s infinite; opacity: 0.25; }
.tel_barres_cherche i:nth-child(2) { animation-delay: 0.3s; }
.tel_barres_cherche i:nth-child(3) { animation-delay: 0.6s; }
.tel_barres_cherche i:nth-child(4) { animation-delay: 0.9s; }
button.tel_cnx_bouton.selon_incident_bt, button.tel_cnx_bouton.selon_incident_refusee, button.tel_cnx_bouton.selon_incident_loc { color: #fff !important; opacity: 1; }
button.tel_cnx_bouton.tel_cnx_deconnecter.selon_incident_introuvable { color: var(--chrono) !important; }

/* Téléphone | RaceBox, le sélecteur gauche-droite. */
.tel_segment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px;
    border: 1.5px solid #D4D3D9;
    border-radius: 14px;
    background: #F1EFF4;
}

.tel .tel_segment button {
    padding: 9px 0;
    border: 0;
    border-radius: 11px;
    background: transparent;
    font-size: 15px;
    font-weight: 800;
    color: #6A6970;
    cursor: pointer;
}

.tel .tel_segment button.tel_choix_pris {
    background: #45444C;
    color: #fff;
}

/* Réglages › Source GPS : le sélecteur fixe, collé au titre ; seul le dessous défile. */
.tel_source_haut {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 16px 8px;
}

.tel_source_corps {
    padding-top: 4px;
}

.tel_source_corps .tel_cnx,
.tel_source_bloc,
.tel_source_bloc .tel_cnx {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: none;
}

.tel_source_bloc .tel_cnx {
    margin-top: 6px;
}

/* Noter dans le journal : le crayon, à la place de l'icône d'un espace ; jamais coché. */
.tel_menu_crayon {
    width: 22px;
    font-size: 19px;
    color: var(--journal);
    text-align: center;
}

/* La page Méthode des tests : une carte par test, qui ouvre la fenêtre de l'ⓘ. */
.tel_carte_methode { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 14px; border: 1px solid #DCDCE0;
    border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.tel_carte_methode span { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.tel_carte_methode b { font-size: 17px; }
.tel_carte_methode small { font-size: 13px; color: gray; }
.tel_carte_methode i { font-size: 24px; font-style: normal; color: #4A4950; }

/* ⚠️ Le cadre en deux parties, les mêmes mesures pour le bienvenue (Accueil, tests) et le bandeau des tests : 12 × 14 de marge, le haut sur 48, un trait, le bas sur 34. Un peu plus compact qu'avant (logo 32). */
.tel_bienvenue_d, .tel_bandeau_deux { padding: 12px 14px; gap: 10px; border-radius: 16px; }
.tel_bienvenue_d .tel_bienvenue_haut, .tel_bandeau_deux .tel_bp_gauche { flex: none; height: 48px; justify-content: center; }
.tel_bienvenue_d .tel_bienvenue_logo { padding: 6px; border-radius: 10px; }
.tel_bienvenue_d .tel_bienvenue_texte b { font-size: 17px; }
.tel_bienvenue_d .tel_bienvenue_motos { box-sizing: border-box; height: 45px; padding-top: 10px; }
.tel_bandeau_deux .tel_bp_trait { margin: 0; }
.tel_bandeau_deux .tel_bp_pilule { box-sizing: border-box; height: 34px; padding: 5px 10px 5px 12px; }

/* Le sélecteur de la moto, une taille moyenne : entre la première (14, 72) et la petite
   (13, 54), comme l'appli ; le bas du cadre en deux parties passe à 38 (le bienvenue et le bandeau des tests, ensemble). */
.tel_bienvenue_choix { padding: 2.5px; border-radius: 17px; }
.tel_bienvenue_choix .tel_choix_bouton { min-width: 63px; padding: 5px 13px; border-radius: 14.5px; font-size: 13.5px; line-height: 17px; }
.tel_bienvenue_d .tel_bienvenue_motos { height: 49px; }
.tel_bandeau_deux .tel_bp_pilule { height: 36px; margin: 1px 0; }   /* la hauteur du sélecteur de la moto */

/* Le badge du haut, carré et le même pour les trois espaces : 36 × 36, l'icône à 22, le logo CP à 24. */
.tel_barre .tel_badge { justify-content: center; width: 36px; height: 36px; min-height: 0; padding: 0; }

/* Les Relevés des tests : la ligne des filtres de ChronoPiste, le filtre pris à la couleur de l'espace TEST. */
.tel .tel_releves_filtres_test .tel_puce.tel_choix_pris {
    border-color: var(--test);
    background: var(--test);
    color: #fff;
}

/* PAS PRÊT : la vraie raison — une seule visible, selon la simulation ; ÉTAT DU GPS ›
   seulement quand il y a quelque chose à faire (pas pendant la recherche du signal). */
.tel_raison > span { display: none; }
.interaction[data-incident="bt"] .tel_raison_bt,
.interaction[data-incident="refusee"] .tel_raison_refusee,
.interaction[data-incident="introuvable"] .tel_raison_introuvable,
.interaction[data-incident="loc"] .tel_raison_loc,
.interaction[data-incident="aucun"][data-source="racebox"][data-box="libre"] .tel_raison_libre,
.interaction[data-incident="aucun"]:not([data-box="libre"]) .tel_raison_signal,
.interaction[data-incident="aucun"][data-source="telephone"] .tel_raison_signal { display: inline; }
.interaction[data-incident="aucun"][data-source="telephone"] .tel_raison_libre { display: none; }
.tel_raison_bouton { margin: 10px auto 0; padding: 9px 22px; border: 1.5px solid var(--rouge); border-radius: 20px; background: #fff;
    color: var(--rouge); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; }
.interaction[data-incident="aucun"]:not([data-box="libre"]) .tel_raison_bouton,
.interaction[data-incident="aucun"][data-source="telephone"] .tel_raison_bouton { display: none !important; }

/* Box déconnectée : plus de satellites, batterie ni mémoire — les dernières valeurs ne restent pas. */
.interaction[data-source="racebox"][data-box="libre"] .tel_feuille_cases > div:not(.selon_source_telephone):not(:has(.tel_liaison_case)) b { font-size: 0 !important; }
.interaction[data-source="racebox"][data-box="libre"] .tel_feuille_cases > div:not(.selon_source_telephone):not(:has(.tel_liaison_case)) b::after { content: "—"; font-size: 18px; }

/* + AJOUTER UNE PISTE : deux cartes au même cadre gris ; la piste test, son titre en rouge seulement. */
.tel .tel_choix_piste { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 12px 14px;
    border: 1.5px solid #D9D8DE; border-radius: 12px; background: #fff; text-align: left; font: inherit; cursor: pointer; }
.tel .tel_choix_piste b { font-size: 17px; color: #1D1B20; }
.tel .tel_choix_piste span { font-size: 14px; font-weight: 700; color: #47454D; }
.tel .tel_choix_piste small { font-size: 13px; color: #4A4950; line-height: 1.3; }

/* SBAS et PDOP sous les cases d'État du GPS. */
.tel_voyants_etat { display: flex; justify-content: center; gap: 12px; padding: 8px 0 2px; font-size: 13px; font-weight: 700; }
.tel_voyants_etat > span { display: inline-flex; align-items: center; }

/* SBAS et PDOP sur la ligne du nom de la box. */
.tel_voyants_nom { margin-left: auto; display: inline-flex; gap: 10px; font-size: 12.5px; font-weight: 700; }
.tel_voyants_nom > span { display: inline-flex; align-items: center; }

/* La fenêtre d'une ligne : d'abord le signal, s'il manque quelque chose. */
.tel .derive_box.ligne_signal_carte { margin: 6px 0 0; border-color: var(--orange); background: #FFF8EF; }
.tel .ligne_ko, .tel .derive_box_titre.ligne_ko, .tel .derive_box_ok.ligne_ko { color: var(--orange); }
.tel .ligne_signal_aide { margin: 8px 2px 4px; font-size: 13px; color: var(--gris-texte); }

/* VOIR LA DÉRIVE (FenetreVoirLaDerive) : centré ; la distance en gros, en rouge ; les quatre cases du GPS ; la piste dessinée ; ARRÊTER. */
.tel_voir_derive {
    align-items: stretch;
    text-align: center;
}

.tel_voir_derive .tel_feuille_titre {
    font-size: 18px;
}

.voir_derive_distance {
    font-size: 34px;
    font-weight: 900;
    color: #E30613;
}

.voir_derive_cases {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.voir_derive_cases span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--gris-texte);
}

.voir_derive_cases b {
    font-size: 15px;
    font-weight: 800;
}

.voir_derive_piste {
    width: 100%;
    height: auto;
}

.voir_derive_m {
    font-size: 10px;
    font-weight: 700;
    fill: rgba(255, 255, 255, 0.8);
}

.voir_derive_ligne {
    font-size: 12px;
    font-weight: 800;
    fill: #fff;
}

.voir_derive_arreter {
    height: 48px;
    font-size: 14px;
    font-weight: 800;
}

/* Les Relevés, Passages | Progression (18/11/2026, RelevesScreen) : le bouton rond du bout de la rangée (la corbeille ou le PDF) et
   sa petite barre devant ; la carte touchée en entier, son › ; la courbe de progression sur la page, sa barre de défilement. */
.tel_releves_bout { display: contents; }
.tel_pdf_rond { flex: none; width: 38px; height: 38px; font: inherit; font-size: 11px; font-weight: 800; color: #45444C; }
.tel_passage[data-action="releve"] { cursor: pointer; }
.tel_passage_chevron { flex: none; margin-left: 6px; font-style: normal; font-size: 20px; line-height: 1; color: #8A8990; align-self: center; }
.tel_courbe_progression { margin-top: 10px; }
.tel_courbe_cadre { display: flex; padding: 8px 6px 6px 2px; border: 1px solid #DCDCE0; border-radius: 12px; }
.tel_courbe_echelle { flex: none; width: 30px; height: 180px; }
.tel_courbe_defile { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #8A8990 #E6E5EA; }
.tel_courbe_defile svg { display: block; flex: none; max-width: none; }   /* sa vraie largeur : 46 px entre deux points, comme l'appli (7 à 8 visibles) */
.tel_courbe_chiffre { font-size: 11px; fill: #6E6D74; }
.tel_courbe_objectif_chiffre { font-size: 12px; font-weight: 800; fill: #2E9D4A; }
.tel_courbe_grille { stroke: #ECEBEF; stroke-width: 1; }
.tel_courbe_objectif { stroke: #2E9D4A; stroke-width: 2; stroke-dasharray: 7 5; }
.tel_courbe_trait { stroke: #B9B8BE; stroke-width: 2; }
.tel_courbe_vitesse { font-size: 13px; font-weight: 800; fill: #1D1B20; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.tel_courbe_passage { font-size: 11px; fill: #6E6D74; }
.tel_courbe_legende { margin: 4px 0 0 8px; font-size: 11px; color: #6E6D74; }
/* Un téléphone figé (le site) : la courbe ouverte sur la fin, calée à droite ; sa barre de défilement, la part visible à droite. */
.tel_courbe_fin { display: flex; justify-content: flex-end; overflow: hidden; }
.tel_courbe_cadre_fige { flex-wrap: wrap; }
.tel_courbe_barre { display: flex; justify-content: flex-end; flex-basis: 100%; height: 4px; margin: 4px 0 0 30px; border-radius: 2px; background: #E6E5EA; }
.tel_courbe_barre i { height: 100%; border-radius: 2px; background: #8A8990; }
.tel_passage_source { flex: none; align-self: center; display: inline-flex; }

/* Le Point de Contrôle sur chaque piste (19/11/2026, comme l'appli) : la pastille « ↔ Dérive » du bandeau, les deux choix de la fenêtre
   « Ajouter une piste » séparés, la petite fenêtre « Relever la dérive ». */
.tel_bandeau_parcours .tel_bp_derive { flex: none; padding: 7px 10px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, 0.16);
    color: #fff; font: inherit; font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.tel_fenetre_pistes .tel_choix_piste + .tel_choix_piste { margin-top: 14px; }
.tel_fenetre_derive .tel_derive_consigne { margin: 10px 0 8px; font-size: 15px; line-height: 1.4; text-align: center; }
.tel_fenetre_derive .tel_derive_etat { margin: 0 0 6px; padding: 8px; border-radius: 10px; background: #E4F2E5; color: var(--vert);
    font-size: 15px; font-weight: 800; text-align: center; }