/* =========================================================================
   BIOPOINT - L'ESPACE SALARIE : NAVIGATION ET PAGES UNIQUES
   (espace_salarie.css)
   =========================================================================
   UN SEUL MENU : celui de gauche (le tiroir « Menu » sur telephone), en
   accordeon. Sur la page, le titre, une ligne d'aide et, s'il y a lieu, un
   bouton « Plus ▾ » dans la barre de titre - aucune rangee de navigation de
   plus. Le tout lisible sur 375 px, au pouce, sans jamais faire defiler la page
   en largeur : un tableau devient une pile de cartes.
   ========================================================================= */

/* --- Le menu : neuf rubriques en accordeon -------------------------------- */
.es-rubriques { display: flex; flex-direction: column; gap: var(--bp-1); margin: 0 0 var(--bp-4); padding: 0; list-style: none; }
.es-rubrique { position: relative; }
.es-rubriques .nav-link-custom { margin-bottom: 0; }
/* La place du chevron, a droite de la rubrique qui a plusieurs pages. */
.es-rubrique.es-a-pages > .nav-link-custom { padding-inline-end: calc(var(--bp-tap) + var(--bp-1)); }
/* La rubrique ouverte qui a plusieurs pages ne s'allume pas en bloc : c'est sa page
   qui s'allume, une seule ligne vive dans le menu (comme .esp-rub, biopoint.css). */
.es-rubrique.es-a-pages > .nav-link-custom.active { color: var(--bp-text); background: transparent; }
.es-rubrique.es-a-pages > .nav-link-custom.active:hover { background: var(--bp-surface-2); }
.es-rubriques .es-libelle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Le compteur d'une rubrique : ce qui est a traiter, sur une pastille neutre. */
.es-rubriques .es-total {
    flex: 0 0 auto; margin-inline-start: auto; min-width: 22px; padding: 0.125rem var(--bp-2); border-radius: var(--bp-r-pill);
    background: var(--bp-surface-3); box-shadow: inset 0 0 0 1px var(--bp-border-strong); color: var(--bp-text-2);
    font-size: var(--bp-fs-micro); font-weight: 600; font-variant-numeric: tabular-nums; text-align: center;
}

/* Le chevron : un <details> dont le <summary> se pose au bout de la rubrique.
   Ferme, il ne prend aucune hauteur ; ouvert, ses pages s'alignent dessous. */
.es-depli > summary {
    position: absolute; top: 0; inset-inline-end: 0; display: flex; align-items: center; justify-content: center;
    width: var(--bp-tap); height: var(--bp-tap); border-radius: var(--bp-r-sm);
    color: var(--bp-text-3); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent;
}
@media (min-width: 992px) { .es-depli > summary { height: 40px; } }
.es-depli > summary::-webkit-details-marker { display: none; }
.es-depli > summary::marker { content: ""; }
.es-depli > summary:hover { color: var(--bp-text); background: var(--bp-surface-2); }
.es-depli > summary:focus-visible { outline: 2px solid var(--bp-focus); outline-offset: -2px; }
.es-depli > summary i { font-size: var(--bp-fs-micro); transition: transform var(--bp-duree-2) var(--bp-courbe); }
.es-depli[open] > summary i { transform: rotate(180deg); }

/* Les pages d'une rubrique : un filet les relie a l'icone de leur rubrique, et la
   page ouverte pose sa barre sur le filet (comme .esp-pages, biopoint.css). */
.es-pages {
    margin: 2px 0 var(--bp-2); margin-inline-start: 1.4375rem; padding: 0;
    list-style: none; border-inline-start: 1px solid var(--bp-border);
}
.es-page {
    display: flex; align-items: center; gap: var(--bp-2); min-height: 40px; margin-inline-start: -1px;
    padding: var(--bp-1) var(--bp-2h); padding-inline-start: var(--bp-4);
    border-start-end-radius: var(--bp-r-sm); border-end-end-radius: var(--bp-r-sm);
    color: var(--bp-text-2); font-size: var(--bp-fs-small); font-weight: 500;
    text-decoration: none; -webkit-tap-highlight-color: transparent;
    transition: background-color var(--bp-duree-1) var(--bp-courbe), color var(--bp-duree-1) var(--bp-courbe);
}
@media (max-width: 991.98px) { .es-page { min-height: var(--bp-tap); } }
.es-page:hover { color: var(--bp-text); background: var(--bp-surface-2); }
.es-page.active { color: var(--bp-actif-texte); background: var(--bp-actif-fond); font-weight: 600;
    box-shadow: inset 2px 0 0 var(--bp-actif-trait); }
[dir="rtl"] .es-page.active { box-shadow: inset -2px 0 0 var(--bp-actif-trait); }
.es-page .es-total { margin-inline-start: auto; }

/* --- « Plus ▾ » : les vues secondaires de la page, dans la barre de titre --- */
.es-vues { position: relative; flex: 0 0 auto; }
.es-vues > summary {
    position: relative; display: inline-flex; align-items: center; gap: var(--bp-1); min-height: 36px; padding: 0 var(--bp-2h);
    border: 1px solid var(--bp-border-strong); border-radius: var(--bp-r-pill); background: var(--bp-second-fond);
    color: var(--bp-text); font-size: var(--bp-fs-small); font-weight: 600; white-space: nowrap;
    cursor: pointer; list-style: none; user-select: none; -webkit-tap-highlight-color: transparent;
    transition: background-color var(--bp-duree-1) var(--bp-courbe), border-color var(--bp-duree-1) var(--bp-courbe),
                color var(--bp-duree-1) var(--bp-courbe);
}
/* 36 px a l'ecran, 44 px sous le doigt. */
.es-vues > summary::after { content: ""; position: absolute; inset: -4px 0; }
.es-vues > summary::-webkit-details-marker { display: none; }
.es-vues > summary::marker { content: ""; }
.es-vues > summary:hover, .es-vues[open] > summary { color: var(--bp-second-encre); background: var(--bp-second-survol);
    border-color: var(--bp-second-filet); }
.es-vues > summary:focus-visible { outline: 2px solid var(--bp-focus); outline-offset: 2px; }
.es-vues > summary .es-fleche { font-size: var(--bp-fs-micro); line-height: 1; color: var(--bp-text-3);
    transition: transform var(--bp-duree-2) var(--bp-courbe); }
.es-vues[open] > summary .es-fleche { transform: rotate(180deg); }
.es-vues > summary .es-total, .es-vues-liste .es-total {
    min-width: 22px; padding: 0.125rem var(--bp-2); border-radius: var(--bp-r-pill); text-align: center;
    background: var(--bp-surface-3); box-shadow: inset 0 0 0 1px var(--bp-border-strong); color: var(--bp-text-2);
    font-size: var(--bp-fs-micro); font-weight: 600; font-variant-numeric: tabular-nums;
}
.es-vues-liste {
    position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 1050;
    width: max-content; min-width: 230px; max-width: 340px; margin: 0; padding: var(--bp-1); list-style: none;
    border: 1px solid var(--bp-border-strong); border-radius: var(--bp-r); background: var(--bp-flottant-fond);
    box-shadow: var(--bp-shadow);
}
.es-vues[open] > .es-vues-liste { animation: bp-entree var(--bp-duree-2) var(--bp-courbe); }
.es-vues-liste a {
    display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: var(--bp-tap); padding: var(--bp-2) var(--bp-2h);
    border-radius: var(--bp-r-sm); color: var(--bp-text); text-decoration: none;
}
.es-vues-liste a:hover, .es-vues-liste a:focus-visible { background: var(--bp-border); }
/* Le trait droit de la ligne ouverte (comme .esp-plus-entree.active, biopoint.css). */
.es-vues-liste a.active {
    background: linear-gradient(var(--bp-primary-soft), var(--bp-primary-soft)) left center / 2px calc(100% - 1rem) no-repeat,
                var(--bp-primary-glow);
}
[dir="rtl"] .es-vues-liste a.active { background-position: right center, 0 0; }
.es-vue-titre { display: flex; align-items: center; gap: var(--bp-2); font-size: var(--bp-fs-ui); font-weight: 500; }
.es-vues-liste a.active .es-vue-titre { font-weight: 600; }
.es-vue-aide { color: var(--bp-text-3); font-size: var(--bp-fs-small); line-height: 1.35; white-space: normal; }
/* Sur telephone, la liste prend la largeur de la barre de titre (elle s'y
   accroche) : jamais coupee par le bord de l'ecran. */
@media (max-width: 575.98px) {
    .es-vues { position: static; }
    .es-vues > summary { padding-inline: .7rem; }
    .es-vues-liste { inset-inline: var(--bp-3); top: calc(100% - 2px); width: auto; min-width: 0; max-width: none; }
}

/* --- La barre de titre sur telephone : la ligne d'aide en entier ------------
   Entre le bouton du menu, « Plus ▾ » et la cloche, il ne reste au titre
   qu'une centaine de pixels : la ligne d'aide - la seule explication de la
   page - s'y couperait au tiers. Sur telephone, elle passe sous le titre, sur
   toute la largeur, en deux lignes au plus. Le bouton du compte a sa propre
   case, entre « Plus ▾ » et la cloche : sans elle, il tomberait sous la ligne
   d'aide des que « Plus ▾ » occupe la sienne (le planning). */
@media (max-width: 575.98px) {
    .es-barre-titre {
        display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto;
        grid-template-areas: "menu titre plus compte cloche" "aide aide aide aide aide";
        align-items: center; column-gap: var(--bp-2); row-gap: .2rem; padding-block: .45rem .55rem;
    }
    .es-barre-titre > .mobile-toggle-btn { grid-area: menu; }
    .es-barre-titre > .bp-topbar-title { display: contents; }
    .es-barre-titre h1 { grid-area: titre; }
    .es-barre-titre .bp-topbar-title p {
        grid-area: aide; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; line-height: 1.35;
    }
    .es-barre-titre > .es-vues { grid-area: plus; }
    .es-barre-titre > [data-lien-mon-compte] { grid-area: compte; margin-inline-end: 0 !important; }
    .es-barre-titre > .es-cloche { grid-area: cloche; margin-inline-end: 0 !important; }
}
/* Les plus petits ecrans (320 px) : des marges plus serrees laissent au titre
   la place de son mot. */
@media (max-width: 359.98px) {
    .es-barre-titre { column-gap: .3rem; }
    .es-vues > summary { padding-inline: .45rem; }
}

/* --- « En savoir plus » : le detail, replie --------------------------------- */
.es-plus { margin: 0 0 var(--bp-3); }
.es-plus > summary {
    display: inline-flex; align-items: center; gap: var(--bp-1); cursor: pointer; list-style: none;
    color: var(--bp-primary-soft); font-size: var(--bp-fs-small); font-weight: 600; min-height: var(--bp-tap);
}
.es-plus > summary::-webkit-details-marker { display: none; }
.es-plus > summary::before { content: "\25B8"; font-size: var(--bp-fs-micro); color: var(--bp-text-3); }
.es-plus[open] > summary::before { content: "\25BE"; }
.es-plus > div {
    margin-top: var(--bp-1); padding: var(--bp-2h) var(--bp-3); border: 1px solid var(--bp-border);
    background: var(--bp-surface-2); border-radius: var(--bp-r-sm);
    color: var(--bp-text-2); font-size: var(--bp-fs-small);
}
.es-plus > div p:last-child { margin-bottom: 0; }
.es-plus.es-calcul > div { padding: 0; border: 0; background: transparent; }

/* --- La barre d'action de la page : UN bouton principal --------------------- */
.es-barre { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bp-2); margin: 0 0 var(--bp-3); }
.es-barre .es-grand { min-height: 48px; padding-inline: var(--bp-4); font-weight: 600; }
.es-barre .form-select { width: auto; min-height: var(--bp-tap); }

/* --- Pastilles de statut : un mot, une couleur de sens (charte § 5.8) ------- */
.es-pastille {
    display: inline-flex; align-items: center; gap: var(--bp-1); min-height: 22px; padding: 0 var(--bp-2); border-radius: var(--bp-r-pill);
    font-size: var(--bp-fs-micro); font-weight: 600; line-height: 1.35; border: 0; max-width: 100%;
    background: var(--bp-surface-3); color: var(--bp-text-2);
}
.es-pastille::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.es-pastille--success   { color: var(--bp-success-soft); background: var(--bp-success-fond); }
.es-pastille--warning   { color: var(--bp-warning); background: var(--bp-warning-fond); }
.es-pastille--danger    { color: var(--bp-danger-soft); background: var(--bp-danger-fond); }
.es-pastille--info      { color: var(--bp-info); background: var(--bp-info-fond); }
.es-pastille--secondary { color: var(--bp-text-2); background: var(--bp-surface-3); }

/* --- Les tuiles de chiffres (charte § 5.4, indicateur) ---------------------- */
.es-tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bp-2h); margin: 0 0 var(--bp-4); }
@media (min-width: 768px) { .es-tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--bp-3); } }
.es-tuile {
    display: flex; flex-direction: column; gap: var(--bp-1); min-width: 0; padding: var(--bp-3);
    border-radius: var(--bp-r); border: 1px solid var(--bp-border); background: var(--bp-surface);
    color: inherit; text-decoration: none;
    transition: background-color var(--bp-duree-1) var(--bp-courbe);
}
.es-tuile .es-etiquette { color: var(--bp-text-3); font-size: var(--bp-fs-small); font-weight: 500; }
/* « 172 h 30 » tient sur une ligne d'une demi-largeur de telephone :
   chiffres tabulaires dans la police du texte, taille qui suit l'ecran. */
.es-tuile .es-valeur { color: var(--bp-text); font-weight: 600; font-variant-numeric: tabular-nums;
    font-size: clamp(1.375rem, 6.4vw, var(--bp-fs-chiffre)); line-height: 1.15; letter-spacing: -0.02em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-tuile .es-note { color: var(--bp-text-3); font-size: var(--bp-fs-small); }
a.es-tuile:hover { background: var(--bp-surface-2); }
a.es-tuile:focus-visible { outline: 2px solid var(--bp-focus); outline-offset: 2px; }

/* --- Le motif « Tableau + Detail » ------------------------------------------ */
.es-bloc { padding: var(--bp-3); margin: 0 0 var(--bp-4); border-radius: var(--bp-r); border: 1px solid var(--bp-border); background: var(--bp-surface); }
@media (min-width: 992px) { .es-bloc { padding: var(--bp-4); } }
.es-bloc > h2 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bp-2); margin: 0 0 var(--bp-2h); font-size: var(--bp-fs-h2); font-weight: 600; line-height: 1.3; }
.es-bloc > h2 > i { color: var(--bp-text-3); font-size: 1rem; }
.es-bloc > h2 .es-suite { margin-inline-start: auto; font-size: var(--bp-fs-small); font-weight: 500; }

.es-table { width: 100%; border-collapse: collapse; font-size: var(--bp-fs-ui); }
.es-table th {
    padding: var(--bp-2) var(--bp-2h); text-align: start; color: var(--bp-text-3); font-size: var(--bp-fs-micro);
    font-weight: 600; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--bp-border-strong);
}
.es-table td { padding: var(--bp-2) var(--bp-2h); height: var(--bp-tap); border-bottom: 1px solid var(--bp-border); vertical-align: middle; }
.es-table td.es-nombre, .es-table th.es-nombre { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.es-table tfoot td { font-weight: 600; border-top: 1px solid var(--bp-border-strong); border-bottom: 0; }
.es-table tr.es-ouvert > td { background: var(--bp-surface-2); }
.es-table tr.es-detail > td { padding: var(--bp-1) var(--bp-2h) var(--bp-3); background: var(--bp-surface-2); }
.es-table .es-bouton-detail { min-height: var(--bp-tap); white-space: nowrap; }
.es-panneau { display: flex; flex-direction: column; gap: var(--bp-2h); padding: var(--bp-3); border-radius: var(--bp-r-sm); border: 1px solid var(--bp-border); background: var(--bp-bg); }
.es-panneau h3 { margin: 0; font-size: var(--bp-fs-h3); font-weight: 600; }
.es-ligne-info { display: flex; flex-wrap: wrap; gap: var(--bp-1) var(--bp-3); color: var(--bp-text-2); font-size: var(--bp-fs-small); }
.es-ligne-info b { color: var(--bp-text); font-weight: 600; }
.es-citation { margin: 0; padding: var(--bp-2) var(--bp-2h); border: 1px solid var(--bp-border); background: var(--bp-surface-2); border-radius: var(--bp-r-sm); color: var(--bp-text); font-size: var(--bp-fs-small); }
.es-citation.es-gerant { background: var(--bp-surface-3); }
.es-actions { display: flex; flex-wrap: wrap; gap: var(--bp-2); align-items: center; }
.es-actions .btn { min-height: var(--bp-tap); }
/* Un resume depliable qui porte des actions : toute la ligne s'ouvre au doigt. */
.es-resume { cursor: pointer; min-height: var(--bp-tap); }
.es-vide { margin: 0; padding: var(--bp-5) var(--bp-3); text-align: center; color: var(--bp-text-3); font-size: var(--bp-fs-small); }

/* SUR TELEPHONE, LE TABLEAU DEVIENT UNE PILE DE CARTES : chaque ligne est une
   carte, chaque cellule une ligne « en-tete : valeur ». Aucun defilement
   lateral, aucune colonne ecrasee. */
@media (max-width: 720px) {
    .es-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .es-table, .es-table tbody, .es-table tfoot, .es-table tr, .es-table td { display: block; width: 100%; }
    /* Une carte compacte : le titre sur toute la largeur, les chiffres deux par
       ligne (l'en-tete au-dessus de la valeur), le bouton en bas. Un mois de
       trente lignes reste une page qu'on parcourt du pouce. */
    .es-table tr:not(.es-detail) {
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bp-1) var(--bp-2h);
        margin: 0 0 var(--bp-2); padding: var(--bp-2h); border-radius: var(--bp-r);
        border: 1px solid var(--bp-border); background: var(--bp-surface);
    }
    .es-table tr.es-detail { margin: calc(-1 * var(--bp-2)) 0 var(--bp-2); }
    .es-table tr.es-detail > td { padding: var(--bp-1) 0 0; background: transparent; }
    .es-table td { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: auto;
        min-width: 0; padding: 0; border: 0; text-align: start; overflow-wrap: anywhere; }
    .es-table td.es-nombre { text-align: start; white-space: normal; }
    .es-table td:empty { display: none; }
    .es-table td[data-label]::before {
        content: attr(data-label); color: var(--bp-text-3); font-size: var(--bp-fs-small);
        font-weight: 500; font-family: var(--bp-font);
    }
    .es-table td.es-titre-carte, .es-table td.es-large, .es-table td.es-cellule-action { grid-column: 1 / -1; }
    .es-table td.es-titre-carte { font-weight: 600; font-size: var(--bp-fs-h3); }
    .es-table td.es-cellule-action { align-items: stretch; margin-top: var(--bp-1); }
    .es-table td.es-cellule-action .btn { width: 100%; }
    .es-table tfoot tr { border-color: var(--bp-border-strong); }
}

/* --- L'accueil : des cartes courtes, une action chacune --------------------- */
.es-cartes { display: grid; grid-template-columns: 1fr; gap: var(--bp-2h); margin: 0 0 var(--bp-4); }
@media (min-width: 640px) { .es-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bp-3); } }
@media (min-width: 1200px) { .es-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.es-carte {
    display: flex; flex-direction: column; gap: var(--bp-1); min-width: 0; padding: var(--bp-3);
    border-radius: var(--bp-r); border: 1px solid var(--bp-border); background: var(--bp-surface);
}
/* Ce qui attend le salarie : la carte reste neutre, l'icone de son titre dit
   « a faire » (charte § 5.4 : l'etat par un signe, pas par une carte coloree). */
.es-carte.es-carte--attention { border-color: rgba(var(--bp-warning-rgb), 0.35); }
.es-carte.es-carte--attention .es-carte-titre i { color: var(--bp-warning) !important; }
.es-carte .es-carte-titre { display: flex; align-items: center; gap: var(--bp-2); color: var(--bp-text-3); font-size: var(--bp-fs-small); font-weight: 500; }
.es-carte .es-carte-titre i { color: var(--bp-text-3) !important; width: 1rem; text-align: center; }
.es-carte .es-carte-valeur { color: var(--bp-text); font-size: var(--bp-fs-h2); font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.es-carte .es-carte-note { color: var(--bp-text-2); font-size: var(--bp-fs-small); }
.es-carte .btn { align-self: flex-start; min-height: var(--bp-tap); margin-top: auto; font-weight: 600; }
.es-carte > :last-child.btn { margin-top: var(--bp-2h); }

/* --- Le choix du type de demande -------------------------------------------- */
.es-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bp-2); margin: 0 0 var(--bp-3); }
@media (min-width: 768px) { .es-types { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.es-types a, .es-types button {
    display: flex; align-items: center; gap: var(--bp-2); min-height: 52px; padding: var(--bp-2) var(--bp-2h);
    border-radius: var(--bp-r-sm); border: 1px solid var(--bp-border-strong); background: var(--bp-surface);
    color: var(--bp-text); font: inherit; font-size: var(--bp-fs-ui); font-weight: 500; text-align: start;
    text-decoration: none; cursor: pointer;
    transition: background-color var(--bp-duree-1) var(--bp-courbe);
}
.es-types a:hover, .es-types button:hover { background: var(--bp-surface-2); }
.es-types i { color: var(--bp-text-3); width: 1.2rem; text-align: center; }

/* --- Le profil -------------------------------------------------------------- */
.es-avatar {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 56px; height: 56px; border-radius: 50%; background: var(--bp-surface-3);
    color: var(--bp-text); font-size: 1.25rem; font-weight: 600;
}
.es-champs { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.es-champs > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--bp-1) var(--bp-3); padding: var(--bp-2h) 0; border-bottom: 1px solid var(--bp-border); }
.es-champs dt { color: var(--bp-text-3); font-weight: 500; font-size: var(--bp-fs-small); }
.es-champs dd { margin: 0; color: var(--bp-text); font-weight: 500; overflow-wrap: anywhere; }

/* --- La barre du telephone : le bouton « Menu » (il ouvre LE menu) ---------- */
.bp-tabbar .es-tabbar-menu {
    position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: var(--bp-1); width: auto; height: auto; min-height: var(--bp-tabbar-h); padding: var(--bp-1) 2px;
    border: 0; border-radius: 0; background: transparent; color: var(--bp-text-3);
    font: inherit; font-size: var(--bp-fs-micro); font-weight: 600; line-height: 1.15;
}
.bp-tabbar .es-tabbar-menu:hover { background: transparent; }
.bp-tabbar .es-tabbar-menu i { font-size: 1.375rem; }
/* Le compteur d'un onglet : ce qui attend, en blanc sur l'aplat rouge. */
.bp-tabbar .es-tabbar-menu .es-total {
    position: absolute; top: 4px; inset-inline-end: calc(50% - 24px); min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: var(--bp-r-pill); background: var(--bp-danger); color: #fff;
    font-size: var(--bp-fs-micro); font-weight: 700; line-height: 18px; font-variant-numeric: tabular-nums;
}
.bp-tabbar a { position: relative; }
.bp-tabbar a .es-total {
    position: absolute; top: 4px; inset-inline-end: calc(50% - 24px); min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: var(--bp-r-pill); background: var(--bp-danger); color: #fff;
    font-size: var(--bp-fs-micro); font-weight: 700; line-height: 18px; font-variant-numeric: tabular-nums;
}
@media (min-width: 992px) { .bp-tabbar .es-tabbar-menu { display: none; } }

/* --- Accueil : une alerte tient en trois lignes sur telephone (le detail est dans Notifications) */
@media (max-width: 720px) {
    .es-salarie .tb-ligne .tb-corps small { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
        -webkit-box-orient: vertical; overflow: hidden; }
}

/* --- L'accueil du salarie : le tableau partage (tableau.css), a la charte -----
   Portee : la seule interface du salarie (body.es-salarie, employe_layout.html). */
.es-salarie .tb-bandeau { gap: var(--bp-3); padding: var(--bp-3); border-left-width: 1px; border-left-color: var(--bp-border); border-radius: var(--bp-r); margin-bottom: var(--bp-4); }
.es-salarie .tb-bandeau.tb-en-poste, .es-salarie .tb-bandeau.tb-hors-poste { border-left-color: var(--bp-border); }
.es-salarie .tb-bandeau .tb-pictogramme { width: 44px; height: 44px; border-radius: var(--bp-r-sm); font-size: 1.125rem; background: var(--bp-surface-3); color: var(--bp-text-3); }
.es-salarie .tb-bandeau.tb-en-poste .tb-pictogramme { background: var(--bp-success-fond); color: var(--bp-success-soft); }
.es-salarie .tb-bandeau .tb-dit strong { font-size: var(--bp-fs-h2); font-weight: 600; font-variant-numeric: tabular-nums; }
.es-salarie .tb-bandeau .tb-dit span { font-size: var(--bp-fs-small); }
.es-salarie .tb-bandeau .tb-horloge { font-family: var(--bp-font); font-size: var(--bp-fs-h1); font-weight: 600; letter-spacing: -0.01em; color: var(--bp-text-2); }
.es-salarie .tb-cles { gap: var(--bp-2h); margin-bottom: var(--bp-4); }
@media (min-width: 768px) { .es-salarie .tb-cles { gap: var(--bp-3); } }
.es-salarie .tb-cle { padding: var(--bp-3); border-radius: var(--bp-r); transition: background-color var(--bp-duree-1) var(--bp-courbe); }
.es-salarie a.tb-cle:hover { transform: none; border-color: var(--bp-border); background: var(--bp-surface-2); }
.es-salarie a.tb-cle:focus-visible { outline: 2px solid var(--bp-focus); outline-offset: 2px; }
.es-salarie .tb-cle.tb-bien, .es-salarie .tb-cle.tb-phare { border-left: 1px solid var(--bp-border); }
.es-salarie .tb-cle.tb-bien .tb-valeur { color: var(--bp-text); }
.es-salarie .tb-cle .tb-etiquette { gap: var(--bp-2); font-size: var(--bp-fs-small); font-weight: 500; letter-spacing: 0; text-transform: none; margin-bottom: var(--bp-1); }
.es-salarie .tb-cle .tb-valeur { font-size: var(--bp-fs-chiffre); font-weight: 600; letter-spacing: -0.02em; }
.es-salarie .tb-dashboard .tb-cle .tb-valeur.tb-duree, .es-salarie .tb-cle .tb-valeur.tb-duree { font-size: var(--bp-fs-chiffre); }
.es-salarie .tb-cle .tb-valeur .tb-unite { font-size: var(--bp-fs-ui); font-weight: 500; margin-left: var(--bp-1); }
.es-salarie .tb-cle .tb-note { margin-top: var(--bp-1); font-size: var(--bp-fs-small); }
.es-salarie .tb-grille { gap: var(--bp-4); }
.es-salarie .tb-bloc { padding: var(--bp-3); border-radius: var(--bp-r); margin-bottom: var(--bp-4); }
@media (min-width: 992px) { .es-salarie .tb-bloc { padding: var(--bp-4); } }
.es-salarie .tb-bloc > h2 { gap: var(--bp-2); margin-bottom: var(--bp-2); font-size: var(--bp-fs-h2); font-weight: 600; }
.es-salarie .tb-bloc > h2 > i { color: var(--bp-text-3) !important; font-size: 1rem; }
.es-salarie .tb-bloc > h2 .tb-suite { display: inline-flex; align-items: center; min-height: var(--bp-tap); margin-left: auto; font-size: var(--bp-fs-small); font-weight: 500; color: var(--bp-primary-soft); }
.es-salarie .tb-bloc > .tb-sous { font-size: var(--bp-fs-small); color: var(--bp-text-3); }
/* Pas de carte dans une carte : les lignes d'un bloc sont une liste a filets. */
.es-salarie .tb-ligne { gap: var(--bp-1) var(--bp-2h); min-height: 56px; padding: var(--bp-2h) var(--bp-2); margin: 0; border: 0; border-bottom: 1px solid var(--bp-border); border-radius: 0; background: transparent; }
.es-salarie .tb-ligne:last-child { border-bottom: 0; }
.es-salarie a.tb-ligne:hover { border-color: var(--bp-border); background: var(--bp-surface-2); }
.es-salarie a.tb-ligne:focus-visible { outline: 2px solid var(--bp-focus); outline-offset: -2px; }
.es-salarie .tb-ligne .tb-rond { width: 32px; height: 32px; border-radius: 50%; font-size: .875rem; background: var(--bp-surface-3); color: var(--bp-text-3); }
.es-salarie .tb-ligne .tb-rond.tb-r-vert, .es-salarie .tb-ligne .tb-rond.tb-r-bleu { background: var(--bp-surface-3); color: var(--bp-text-3); }
.es-salarie .tb-ligne .tb-rond.tb-r-orange { background: var(--bp-warning-fond); color: var(--bp-warning); }
.es-salarie .tb-ligne .tb-rond.tb-r-rouge { background: var(--bp-danger-fond); color: var(--bp-danger-soft); }
.es-salarie .tb-ligne .tb-corps b { font-size: var(--bp-fs-ui); font-weight: 600; font-variant-numeric: tabular-nums; }
.es-salarie .tb-ligne .tb-corps small { font-size: var(--bp-fs-small); color: var(--bp-text-3); }
.es-salarie .tb-ligne .tb-fin { font-size: var(--bp-fs-small); color: var(--bp-text-3); font-variant-numeric: tabular-nums; }
.es-salarie .tb-ligne .tb-lu { display: inline-flex; align-items: center; justify-content: center; width: var(--bp-tap); height: var(--bp-tap); }
.es-salarie .tb-etat { font-size: var(--bp-fs-micro); font-weight: 600; }
.es-salarie .tb-etat.tb-e-vert { background: var(--bp-primary-glow); color: var(--bp-primary-soft); }
.es-salarie .tb-etat.tb-e-bleu { background: var(--bp-info-fond); color: var(--bp-info); }
.es-salarie .tb-etat.tb-e-orange { background: var(--bp-warning-fond); color: var(--bp-warning); }
.es-salarie .tb-etat.tb-e-rouge { background: var(--bp-danger-fond); color: var(--bp-danger-soft); }
.es-salarie .tb-vide { padding: var(--bp-4) var(--bp-3); text-align: center; color: var(--bp-text-3); font-size: var(--bp-fs-small); }
.es-salarie .tb-pied { gap: var(--bp-2) var(--bp-3); font-size: var(--bp-fs-small); color: var(--bp-text-2); }
.es-salarie .tb-pied i { color: var(--bp-text-3); }
/* Telephone : l'icone et le texte sur une ligne, l'heure de la barre d'etat suffit ;
   la date et « lu » passent sous le texte d'une alerte. */
.es-salarie .tb-bandeau .tb-dit { flex: 1 1 0; }
@media (max-width: 575.98px) {
    .es-salarie .tb-bandeau { flex-wrap: nowrap; align-items: flex-start; }
    .es-salarie .tb-bandeau .tb-horloge { display: none; }
    .es-salarie .tb-ligne .tb-corps { flex: 1 1 calc(100% - 3rem); }
}

/* --- Pages C (lot 6) --- */
/* Les pages secondaires du salarie (acompte, arrivee, compteurs, frais,
   mutuelle, signalement, titres, voeux, taches, espace syndical...) : un
   chiffre, des lignes, un texte, une liste a filets. Aucune carte dans une
   carte, aucune couleur sans sens, des chiffres tabulaires. */
.c-chiffre { padding: var(--bp-3); margin: 0 0 var(--bp-4); border-radius: var(--bp-r); border: 1px solid var(--bp-border); background: var(--bp-surface); }
@media (min-width: 992px) { .c-chiffre { padding: var(--bp-4); } }
.c-etiquette { display: block; color: var(--bp-text-3); font-size: var(--bp-fs-small); font-weight: 500; }
.c-valeur { display: block; margin: var(--bp-1) 0; color: var(--bp-text); font-size: var(--bp-fs-chiffre); font-weight: 600;
    line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.c-texte { max-width: 68ch; margin: 0 0 var(--bp-2h); color: var(--bp-text-2); font-size: var(--bp-fs-small); line-height: 1.6; text-wrap: pretty; }
.c-texte:last-child { margin-bottom: 0; }
.c-texte strong, .c-texte b { color: var(--bp-text); font-weight: 600; }
.c-note { margin: 0; color: var(--bp-text-3); font-size: var(--bp-fs-small); line-height: 1.5; font-variant-numeric: tabular-nums; }
.c-ref { color: var(--bp-text-3); font-size: var(--bp-fs-small); font-variant-numeric: tabular-nums; }
.c-code { font-family: var(--bp-font-mono); font-size: var(--bp-fs-small); color: var(--bp-text-2); }
.c-chiffres { font-variant-numeric: tabular-nums; }

/* Lignes « libelle : valeur » (le detail d'un calcul). */
.c-lignes { margin: 0; padding: 0; list-style: none; }
.c-lignes > * { display: flex; justify-content: space-between; align-items: baseline; gap: var(--bp-3);
    padding: var(--bp-2h) 0; border-bottom: 1px solid var(--bp-border); font-size: var(--bp-fs-ui); }
.c-lignes > :last-child { border-bottom: 0; }
.c-lignes .c-cle, .c-lignes dt { color: var(--bp-text-3); font-weight: 400; }
.c-lignes .c-val, .c-lignes dd { margin: 0; color: var(--bp-text); font-weight: 600; text-align: end; font-variant-numeric: tabular-nums; }
.c-lignes .c-total { border-top: 1px solid var(--bp-border-strong); }
.c-lignes .c-total .c-cle { color: var(--bp-text); font-weight: 600; }

/* Liste a filets : une ligne par element, dans la carte (pas de carte dedans). */
.c-liste { margin: 0; padding: 0; list-style: none; }
.c-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--bp-2) var(--bp-3);
    padding: var(--bp-2h) 0; border-top: 1px solid var(--bp-border); }
.c-liste > .c-item:first-child { border-top: 0; padding-top: 0; }
.c-liste > .c-item:last-child { padding-bottom: 0; }
.c-item-corps { flex: 1 1 16rem; min-width: 0; }
.c-titre { display: block; color: var(--bp-text); font-size: var(--bp-fs-ui); font-weight: 600; overflow-wrap: anywhere; }
.c-montant { color: var(--bp-text); font-size: var(--bp-fs-h3); font-weight: 600; font-variant-numeric: tabular-nums; }
.c-meta { display: block; color: var(--bp-text-3); font-size: var(--bp-fs-small); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.c-item .es-citation, .c-item .c-texte { flex: 1 1 100%; margin-top: var(--bp-1); }
.c-item.c-marque { border-top-color: var(--bp-border-strong); }
.c-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bp-2); margin-top: var(--bp-2h); }
.c-actions form { margin: 0; }
.c-actions .btn { min-height: var(--bp-tap); }

/* Une sous-partie de carte : titre de niveau 3 et filet au-dessus. */
.c-partie { margin-top: var(--bp-3); padding-top: var(--bp-3); border-top: 1px solid var(--bp-border); }
.c-partie > h3 { margin: 0 0 var(--bp-2); color: var(--bp-text); font-size: var(--bp-fs-h3); font-weight: 600; }

/* Formulaires des pages C : libelles lisibles, champs de 44 px. */
.c-form .form-label { color: var(--bp-text-2); font-size: var(--bp-fs-small); font-weight: 500; margin-bottom: var(--bp-1); }
.c-form .form-control, .c-form .form-select { min-height: var(--bp-tap); }
.c-form .form-check { min-height: var(--bp-tap); display: flex; align-items: center; gap: var(--bp-2); padding-left: 0; }
.c-form .form-check-input { float: none; margin: 0; width: 1.25rem; height: 1.25rem; flex: none; }
.c-form .form-check-label { color: var(--bp-text-2); font-size: var(--bp-fs-small); }

/* Barre de progression neutre (etapes faites). */
progress.c-progres { display: block; width: 100%; height: 8px; border: 0; border-radius: var(--bp-r-pill); overflow: hidden;
    background: var(--bp-surface-3); color: var(--bp-primary-soft); -webkit-appearance: none; appearance: none; }
progress.c-progres::-webkit-progress-bar { background: var(--bp-surface-3); border-radius: var(--bp-r-pill); }
progress.c-progres::-webkit-progress-value { background: var(--bp-primary-soft); border-radius: var(--bp-r-pill); }
progress.c-progres::-moz-progress-bar { background: var(--bp-primary-soft); border-radius: var(--bp-r-pill); }

/* Etapes numerotees (arrivee, formation). */
.c-etapes { margin: 0; padding: 0; list-style: none; }
.c-etape { display: flex; align-items: flex-start; gap: var(--bp-2h); padding: var(--bp-2h) 0; border-top: 1px solid var(--bp-border); }
.c-etapes > .c-etape:first-child { border-top: 0; padding-top: 0; }
.c-etape-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
    background: var(--bp-surface-3); color: var(--bp-text-2); font-size: var(--bp-fs-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.c-etape-num.c-fait { color: var(--bp-success-soft); background: var(--bp-success-fond); }
.c-etape-corps { flex: 1 1 auto; min-width: 0; }
.c-etape-fin { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: var(--bp-1); }

/* Grille de chiffres sans cadre, a l'interieur d'une carte. */
.c-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bp-3); margin: 0; }
@media (min-width: 768px) { .c-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.c-grille > div { min-width: 0; }
.c-grille .c-nombre { display: block; color: var(--bp-text); font-size: var(--bp-fs-h2); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Le titre de carte : l'icone reste devant le texte quand il passe a la ligne. */
.c-page .es-bloc > h2 { flex-wrap: nowrap; align-items: flex-start; }
.c-page .es-bloc > h2 > i { flex: none; margin-top: .3em; }
.c-page .es-bloc > h2 > .es-pastille, .c-page .es-bloc > h2 > .c-ref { flex: none; align-self: center; }
.c-item > .text-end { margin-left: auto; }

/* Au telephone, toute cible de contenu fait 44 px. */
@media (max-width: 991.98px) {
    .c-page a:not(.btn):not(.es-tuile):not(.bp-liste-ligne), .c-lien { display: inline-flex; align-items: center; min-height: var(--bp-tap); }
    .c-page .form-check-input { width: 1.5rem; height: 1.5rem; }
    /* Un interrupteur garde sa piste de 44 x 24 px (biopoint.css) : l'etiquette entiere se touche. */
    .c-page .form-switch .form-check-input { width: 44px; height: 24px; }
}
/* --- Fin des pages C --- */

/* --- Pages B (lot 6) --- */
/* Le parcours « Mon dossier » (_mon_dossier_styles.html, partage avec le gerant) :
   dans l'espace salarie, les memes classes passent aux jetons. Le prefixe
   .main-content l'emporte sur le bloc <style> du gabarit, charge apres. */
.main-content .md-carte { padding: var(--bp-3); margin: 0 0 var(--bp-4); border-radius: var(--bp-r);
    border: 1px solid var(--bp-border); background: var(--bp-surface); }
@media (min-width: 992px) { .main-content .md-carte { padding: var(--bp-4); } }
.main-content .md-etat { gap: var(--bp-2h); }
.main-content .md-etat > i { font-size: 1.125rem; margin-top: var(--bp-1); }
.main-content .md-carte h2 { margin: 0 0 var(--bp-2h); font-size: var(--bp-fs-h2); font-weight: 600; color: var(--bp-text); }
.main-content .md-carte h3 { margin: var(--bp-3) 0 var(--bp-2); font-size: var(--bp-fs-h3); font-weight: 600; color: var(--bp-text); }
.main-content .md-etapes li { gap: var(--bp-2h); min-height: 56px; padding: var(--bp-2) 0; border-bottom: 1px solid var(--bp-border); }
.main-content .md-etapes li:last-child { border-bottom: 0; }
.main-content .md-num { width: 32px; height: 32px; font-weight: 600; font-size: var(--bp-fs-small); font-variant-numeric: tabular-nums;
    background: var(--bp-surface-3); color: var(--bp-text-2); }
.main-content .md-etapes li.faite .md-num { background: var(--bp-success-fond); color: var(--bp-success-soft); }
.main-content .md-progression { gap: var(--bp-1); margin: var(--bp-2h) 0 var(--bp-3); }
.main-content .md-progression span { height: 6px; background: var(--bp-surface-3); }
.main-content .md-progression span.faite { background: var(--bp-success-soft); }
.main-content .md-progression span.ici { background: var(--bp-primary-soft); }
.main-content .md-info { max-width: 68ch; padding-left: 0; border-left: 0; color: var(--bp-text-3); font-size: var(--bp-fs-small); line-height: 1.6; }
.main-content .md-loi { max-width: 68ch; padding: var(--bp-2h) var(--bp-3); border: 1px solid rgba(var(--bp-warning-rgb), .35);
    border-radius: var(--bp-r); background: var(--bp-warning-fond); color: var(--bp-text-2); font-size: var(--bp-fs-small); line-height: 1.6; }
.main-content .md-champ { margin-bottom: var(--bp-4); }
.main-content .md-champ label { margin-bottom: var(--bp-1); color: var(--bp-text-2); font-size: var(--bp-fs-small); font-weight: 600; }
.main-content .md-champ .form-control, .main-content .md-champ .form-select { background: var(--bp-bg); color: var(--bp-text); border-color: var(--bp-border-control); }
.main-content .md-aide { margin-top: var(--bp-1); color: var(--bp-text-3); font-size: var(--bp-fs-small); }
.main-content .md-choix { gap: var(--bp-2); }
.main-content .md-choix label { min-height: var(--bp-tap); gap: var(--bp-2); padding: 0 var(--bp-3); border: 1px solid var(--bp-border-control);
    border-radius: var(--bp-r-sm); color: var(--bp-text); }
.main-content .md-choix label:has(input:checked) { border: 2px solid var(--bp-primary-soft); background: var(--bp-primary-glow); padding: 0 calc(var(--bp-3) - 1px); }
.main-content .md-mono { font-family: var(--bp-font-mono); letter-spacing: .04em; }
.main-content .md-recap { font-size: var(--bp-fs-ui); }
.main-content .md-recap th { padding: var(--bp-2) var(--bp-2) var(--bp-2) 0; color: var(--bp-text-3); font-weight: 500; border-bottom: 1px solid var(--bp-border); }
.main-content .md-recap td { padding: var(--bp-2) 0; color: var(--bp-text); border-bottom: 1px solid var(--bp-border); }
.main-content .md-recap tr:last-child > * { border-bottom: 0; }
.main-content .md-certif { padding: var(--bp-3); border: 1px solid var(--bp-border-strong); border-radius: var(--bp-r); background: var(--bp-surface-2); }
.main-content .md-certif label { color: var(--bp-text); font-weight: 600; gap: var(--bp-2h); min-height: var(--bp-tap); align-items: flex-start; }
.main-content .md-certif input { width: 20px; height: 20px; margin-top: 2px; }
.main-content .md-actions { gap: var(--bp-2); margin-top: var(--bp-4); }
.main-content .md-actions .btn { min-height: var(--bp-tap); }
.main-content .md-histo { padding-left: var(--bp-3); color: var(--bp-text-2); font-size: var(--bp-fs-small); font-variant-numeric: tabular-nums; }
.main-content .md-histo li { margin-bottom: var(--bp-2); }
/* --- Fin des pages B --- */

/* --- Le centre d'aide (_aide_centre.html, commun) dans cet espace, a la charte :
   aucun degrade, jetons du site, questions de 44 px au doigt. --- */
.es-salarie .ca { --ca-fond: var(--bp-surface); --ca-bord: var(--bp-border); --ca-texte: var(--bp-text-2);
        --ca-doux: var(--bp-text-3); --ca-accent: var(--bp-primary-soft); --ca-vif: var(--bp-primary); }
.es-salarie .ca-hero { text-align: start; padding: var(--bp-4) var(--bp-3); border-radius: var(--bp-r); margin-bottom: var(--bp-4);
             background: var(--bp-surface); border: 1px solid var(--bp-border); }
.es-salarie .ca-hero h2 { font-size: var(--bp-fs-h2); font-weight: 600; color: var(--bp-text); margin: 0 0 var(--bp-2h); }
.es-salarie .ca-cherche { margin: 0; max-width: 640px; }
.es-salarie .ca-cherche input { min-height: var(--bp-tap); padding: var(--bp-2) var(--bp-2h); border-radius: var(--bp-r-sm);
             border: 1px solid var(--bp-border-control); background: var(--bp-bg); color: var(--bp-text); }
.es-salarie .ca-cherche input:focus { outline: 2px solid var(--bp-focus); }
.es-salarie .ca-cherche button { min-height: var(--bp-tap); border-radius: var(--bp-r-sm); padding: 0 var(--bp-3); font-weight: 600; }
.es-salarie .ca-cherche button:hover { background: var(--bp-primary-hover); }
.es-salarie .ca-indice { color: var(--bp-text-3); font-size: var(--bp-fs-small); margin: var(--bp-2h) 0 0; }
.es-salarie .ca-francais { color: var(--bp-warning); font-size: var(--bp-fs-small); }
.es-salarie .ca-h { font-size: var(--bp-fs-h2); font-weight: 600; color: var(--bp-text); margin: var(--bp-4h) 0 var(--bp-2h); }
.es-salarie .ca-cartes { gap: var(--bp-2h); }
.es-salarie .ca-carte { padding: var(--bp-3); border-radius: var(--bp-r); transition: background-color var(--bp-duree-1) var(--bp-courbe); }
.es-salarie .ca-carte:hover, .es-salarie .ca-carte:focus { border-color: var(--bp-border); background: var(--bp-surface-2); color: var(--bp-text); }
.es-salarie .ca-carte i { color: var(--bp-text-3); font-size: 1.125rem; }
.es-salarie .ca-carte strong { color: var(--bp-text); font-size: var(--bp-fs-ui); font-weight: 600; margin: var(--bp-2) 0 var(--bp-1); }
.es-salarie .ca-carte span { font-size: var(--bp-fs-small); }
.es-salarie .ca-populaires a { display: inline-flex; align-items: center; min-height: var(--bp-tap); font-size: var(--bp-fs-ui); }
.es-salarie .ca-theme > p { font-size: var(--bp-fs-small); }
.es-salarie .ca-q { border-radius: var(--bp-r-sm); margin-bottom: var(--bp-2); }
.es-salarie .ca-q > summary { display: flex; align-items: center; min-height: var(--bp-tap); padding: var(--bp-2) 2.5rem var(--bp-2) var(--bp-3);
             font-weight: 500; color: var(--bp-text); font-size: var(--bp-fs-ui); }
.es-salarie .ca-q > summary::after { top: 50%; transform: translateY(-50%); right: var(--bp-3); color: var(--bp-text-3); font-weight: 400; }
.es-salarie .ca-q > summary:focus-visible { outline: 2px solid var(--bp-focus); border-radius: var(--bp-r-sm); }
.es-salarie .ca-etiquette { padding: 0 var(--bp-2); font-size: var(--bp-fs-micro); font-weight: 600; background: var(--bp-warning-fond); color: var(--bp-warning); }
.es-salarie .ca-r { padding: 0 var(--bp-3) var(--bp-3); color: var(--bp-text-2); font-size: var(--bp-fs-ui); }
.es-salarie .ca-note { font-size: var(--bp-fs-small); }
.es-salarie .ca-bouton { display: inline-flex; align-items: center; gap: var(--bp-1); min-height: var(--bp-tap); padding: 0 var(--bp-3);
             border-radius: var(--bp-r-sm); background: transparent; border: 1px solid var(--bp-border-strong);
             color: var(--bp-text); font-size: var(--bp-fs-small); }
.es-salarie .ca-bouton:hover, .es-salarie .ca-bouton:focus { background: var(--bp-surface-2); color: var(--bp-text); }
.es-salarie .ca-effacer { min-height: var(--bp-tap); font-size: var(--bp-fs-small); }
.es-salarie .aide-section > summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bp-1); min-height: var(--bp-tap); cursor: pointer; }
.es-salarie .aide-entree > a { display: inline-flex; align-items: center; min-height: var(--bp-tap); }
