/* =====================================================================================================
   Coque de l'espace d'une association, apparence « A — Clair » (maquettes du 07/11/2026, NOTE.md).
   Ordinateur (80rem et plus) : menu de gauche compact sur le fond gris-vert, contenu sur un grand panneau blanc
   avec une barre fine « AssoRH / Planning ». Téléphone et tablette : barre du haut, barre d'onglets en bas,
   « Menu » ouvre le menu complet. Couleurs : jetons.css. Même seuil qu'avant (80rem) : la largeur laissée aux
   écrans d'AssoRH ne change pas.
   ===================================================================================================== */
/* Menu de l'association dans l'en-tête du site (pages hors de l'espace : « Changer mon mot de passe »…). */
.espace-menu-title { margin: .9rem .6rem .35rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.espace-menu-list { list-style: none; margin: 0; padding: 0; }
.espace-menu-link { display: flex; align-items: center; min-height: 44px; padding: .55rem .6rem; border-radius: .6rem; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.espace-menu-link:hover { background: var(--accent-soft); color: var(--accent-strong); }
.espace-menu-link.is-current { background: var(--accent-soft); color: var(--accent-strong); box-shadow: inset 3px 0 0 var(--accent); }
.espace-menu-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.espace-mobile-menu .espace-menu-title { margin-inline: 1rem; }

.espace-a { background: var(--canvas); }
.espace-a .espace-shell { flex: 1; display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; color: var(--ink); }
.espace-ico { width: 16px; height: 16px; flex: none; }

/* --- Menu de gauche --- */
.espace-a .espace-sidebar { position: sticky; top: 0; height: 100vh; align-self: start; display: flex; flex-direction: column; padding: 10px 10px 12px 12px; background: none; border: 0; border-radius: 0; }
.espace-org { display: flex; align-items: center; gap: 2px; margin-bottom: 4px; }
.espace-org-lien { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; min-height: 44px; padding: 6px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.espace-org-lien:hover { background: rgba(17, 25, 21, .04); }
.espace-org-logo { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(180deg, #15955D, #0B7A4A); color: #fff; font-size: 12px; font-weight: 650; letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 1px 2px rgba(11, 122, 74, .35); }
.espace-a .espace-menu-club { display: flex; flex-direction: column; gap: 0; min-width: 0; padding: 0; margin: 0; border: 0; line-height: 1.25; }
.espace-a .espace-menu-club-name { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.espace-a .espace-menu-club-role { font-size: 12px; color: var(--ink-3); }
.espace-org-changer { display: grid; place-items: center; width: 36px; height: 44px; flex: none; border-radius: 8px; color: var(--ink-4); }
.espace-org-changer:hover { background: rgba(17, 25, 21, .05); color: var(--ink-2); }
.espace-sidebar-menu { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -6px; padding: 0 6px 20px; scrollbar-width: thin; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 18px), transparent); }
.espace-a .espace-menu-title { margin: 0; padding: 16px 10px 6px; font-size: 12px; font-weight: 550; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.espace-a .espace-menu-list { display: flex; flex-direction: column; gap: 1px; list-style: none; margin: 0; padding: 0; }
.espace-a .espace-menu-link { display: flex; align-items: center; gap: 10px; min-height: 32px; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; line-height: 1.25; text-decoration: none; box-shadow: none; background: none; }
.espace-a .espace-menu-link::before { content: ''; width: 16px; height: 16px; flex: none; background: var(--ink-3); -webkit-mask: var(--ico) center / 16px 16px no-repeat; mask: var(--ico) center / 16px 16px no-repeat; }
.espace-a .espace-menu-link:hover { background: rgba(17, 25, 21, .045); color: var(--ink); }
.espace-a .espace-menu-link.is-current { background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow-xs); }
.espace-a .espace-menu-link.is-current::before { background: var(--accent); }
.espace-a .espace-menu-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* Obligations de l'employeur : intitulé de groupe, entrées en retrait sans icône. */
.espace-menu-groupe { padding: 10px 10px 4px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.espace-menu-groupe[hidden] { display: none; }
.espace-a .espace-menu-groupe ~ li > .espace-menu-link { padding-left: 36px; font-size: 13px; min-height: 30px; }
.espace-a .espace-menu-groupe ~ li > .espace-menu-link::before { display: none; }
/* Nombre de choses à traiter (« Tableau de bord ») et notifications non lues. */
.espace-menu-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--accent-soft-2); color: var(--accent-ink); font-size: 11.5px; font-weight: 600; line-height: 1; }
.espace-menu-count[hidden] { display: none; }
.espace-sidebar-pied { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.espace-sidebar-aide { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: 8px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.espace-sidebar-aide .espace-ico { color: var(--ink-3); }
.espace-sidebar-aide:hover { background: rgba(17, 25, 21, .045); color: var(--ink); }

/* Au doigt (grand écran tactile) : 44 px au moins. */
@media (pointer: coarse) {
    .espace-a .espace-menu-link, .espace-a .espace-menu-groupe ~ li > .espace-menu-link, .espace-sidebar-aide, .espace-compte-action { min-height: 44px; }
}

/* --- Compte (menu « Mon compte ») --- */
.espace-compte { position: relative; }
.espace-compte-bouton { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px; border-radius: 10px; cursor: pointer; list-style: none; color: var(--ink); }
.espace-compte-bouton::-webkit-details-marker { display: none; }
.espace-compte-bouton::marker { content: ''; }
.espace-compte-bouton:hover, .espace-compte[open] > .espace-compte-bouton { background: rgba(17, 25, 21, .05); }
.espace-compte-bouton:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.espace-compte-bouton > .espace-ico { color: var(--ink-4); }
.espace-avatar { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 11.5px; font-weight: 650; letter-spacing: .01em; box-shadow: inset 0 0 0 1px #CFE7DA; }
.espace-compte-texte { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.espace-compte-nom { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.espace-compte-mail { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.espace-compte-menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 30; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); }
.espace-compte-qui { display: flex; flex-direction: column; padding: 6px 8px 8px; margin: 0 0 4px; border-bottom: 1px solid var(--line-soft); font-size: 12px; color: var(--ink-3); line-height: 1.35; overflow-wrap: anywhere; }
.espace-compte-qui span:first-child { font-size: 13px; font-weight: 600; color: var(--ink); }
.espace-compte-action { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 0 8px; border: 0; border-radius: 7px; background: none; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
.espace-compte-action .espace-ico { color: var(--ink-3); }
.espace-compte-action:hover { background: var(--neutral-bg); color: var(--ink); }
.espace-compte-action:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.espace-compte-qui span:first-child, .espace-compte-qui span:last-child { display: block; }

/* --- Panneau blanc du contenu --- */
.espace-main { min-width: 0; padding: 8px 8px 8px 0; display: flex; flex-direction: column; }
.espace-a main.espace-panel { padding-top: 0; }
.espace-panel { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: calc(100vh - 16px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-xs); }
.espace-topbar { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px 0 28px; border-bottom: 1px solid var(--line-soft); }
.espace-fil { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; font-size: 13px; color: var(--ink-3); }
.espace-fil .espace-ico { width: 15px; height: 15px; color: var(--ink-4); }
.espace-fil-sep { color: var(--line-strong); }
.espace-fil strong { color: var(--ink); font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.espace-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.espace-topbar-lien { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 10px; border-radius: 8px; color: var(--ink-2); font-size: 13px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.espace-topbar-lien .espace-ico { color: var(--ink-3); }
.espace-topbar-lien:hover { background: var(--neutral-bg); color: var(--ink); }
.espace-a .espace-content { flex: 1; min-width: 0; padding: 28px 32px 40px; }
.espace-flash { margin: 16px 32px 0; padding: 10px 14px; border: 1px solid; border-radius: 10px; font-size: 13.5px; font-weight: 500; line-height: 1.45; }
.espace-flash a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.espace-flash--ok { background: var(--accent-soft); border-color: #B5DCC6; color: var(--accent-ink); }
.espace-flash--erreur { background: var(--red-bg); border-color: var(--red-line); color: var(--red); }
.espace-flash--info { background: var(--blue-bg); border-color: var(--blue-line); color: var(--blue); }
.espace-flash--attention { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber); }
/* Les pages de l'espace gardent leur balisage : dans le panneau, plus de marge propre ni de largeur bornée. */
.espace-a .espace-content .customer-container { width: auto; max-width: none; margin-inline: 0; }
.espace-a .espace-content .customer-page { padding-block: 0; }
.espace-a .espace-content > section, .espace-a .espace-content > div > section.customer-container { padding-top: 0; }
.espace-a .espace-content .rh-app .content { padding: 0; }
.espace-a .espace-content .onboarding-checklist { width: auto; margin-inline: 0; }
.espace-a .customer-footer { border-top: 1px solid var(--line-soft); background: none; border-radius: 0 0 12px 12px; }
.espace-a .customer-footer .customer-container { width: auto; padding-inline: 32px; }

/* --- Téléphone et tablette : barre du haut, onglets en bas, panneau « Menu » --- */
.espace-mtop, .espace-onglets { display: none; }
@media (max-width: 79.99rem) {
    .espace-a .espace-shell { display: block; min-height: 0; }
    .espace-a .espace-sidebar { display: none; }
    .espace-main { padding: 0; }
    .espace-panel { min-height: calc(100vh - 56px); border: 0; border-radius: 0; box-shadow: none; padding-bottom: 76px; }
    .espace-topbar { display: none; }
    .espace-mtop { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 8px 0 12px; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
    .espace-mtop .espace-org { flex: 1; min-width: 0; margin: 0; }
    .espace-mtop .espace-org-lien { padding: 4px 6px; }
    .espace-mtop .espace-org-logo { width: 30px; height: 30px; }
    .espace-mtop .espace-org-changer { width: 44px; }
    .espace-compte--mobile .espace-compte-bouton { padding: 0; width: 44px; justify-content: center; }
    .espace-compte--mobile .espace-avatar { width: 34px; height: 34px; font-size: 12px; }
    .espace-compte--mobile .espace-compte-menu { left: auto; right: 0; bottom: auto; top: calc(100% + 6px); width: min(18rem, calc(100vw - 24px)); }
    .espace-compte-action { min-height: 44px; font-size: 15px; }
    .espace-a .espace-content { padding: 20px 16px 24px; }
    .espace-flash { margin: 12px 16px 0; }
    .espace-a .customer-footer .customer-container { padding-inline: 16px; }
    .espace-onglets { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--panel); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
    .espace-onglets-liste { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 40rem; margin-inline: auto; height: 64px; padding: 4px 4px 6px; }
    .espace-onglet { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; padding: 0 2px; border: 0; border-radius: 10px; background: none; color: var(--ink-3); font: inherit; font-size: 11px; font-weight: 550; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
    .espace-onglet .espace-ico { width: 22px; height: 22px; stroke-width: 1.6; }
    .espace-onglet span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .espace-onglet.is-current, .espace-onglet[aria-expanded="true"] { color: var(--accent-ink); }
    .espace-onglet:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
    .espace-panneau { display: none; position: fixed; left: 0; right: 0; top: 56px; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 44; background: var(--panel); border-top: 1px solid var(--line-soft); }
    .espace-panneau.is-ouvert { display: block; }
    .espace-panneau-defile { height: 100%; max-height: 100%; padding: 4px 12px 24px; }
    .espace-a .espace-mobile-menu .espace-menu-title { padding: 16px 8px 6px; margin: 0; }
    .espace-a .espace-mobile-menu .espace-menu-link { min-height: 44px; font-size: 15px; }
    .espace-a .espace-mobile-menu .espace-menu-groupe ~ li > .espace-menu-link { min-height: 44px; font-size: 14.5px; }
    .espace-panneau-compte { margin-top: 8px; padding-top: 4px; border-top: 1px solid var(--line-soft); }
    .espace-panneau-compte .espace-menu-title { padding: 14px 8px 6px; }
    .espace-panneau-qui { display: flex; flex-direction: column; margin: 0 8px 6px; font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
    .espace-panneau-qui span:first-child { font-size: 14.5px; font-weight: 600; color: var(--ink); }
    .espace-panneau-lien { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
    .espace-panneau-lien .espace-ico { color: var(--ink-3); }
    .espace-panneau-lien:hover { background: var(--neutral-bg); }
    .espace-panneau-lien:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
}
@media (min-width: 48rem) and (max-width: 79.99rem) {
    .espace-a .espace-content { padding: 24px 28px 32px; }
}
.espace-mobile-menu { padding-bottom: .5rem; }

/* Icônes des entrées du menu (dessins Lucide), en masques : aucun changement dans le balisage du menu ; une
   entrée nouvelle prend un point. */
.espace-menu-link { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[href="/espace-client"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[href="/espace-client/utilisateurs"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[href="/espace-client/contrats"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cline x1='2' x2='22' y1='10' y2='10'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[href="/espace-client/facturation"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/tableau-de-bord"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='9' x='3' y='3' rx='1'/%3E%3Crect width='7' height='5' x='14' y='3' rx='1'/%3E%3Crect width='7' height='9' x='14' y='12' rx='1'/%3E%3Crect width='7' height='5' x='3' y='16' rx='1'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/equipe"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M17 14h-6'/%3E%3Cpath d='M13 18H7'/%3E%3Cpath d='M7 14h.01'/%3E%3Cpath d='M17 18h.01'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/notifications"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/planning"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/conges"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='m4.93 4.93 1.41 1.41'/%3E%3Cpath d='m17.66 17.66 1.41 1.41'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3Cpath d='m6.34 17.66-1.41 1.41'/%3E%3Cpath d='m19.07 4.93-1.41 1.41'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/salaries"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10h2'/%3E%3Cpath d='M16 14h2'/%3E%3Cpath d='M6.17 15a3 3 0 0 1 5.66 0'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/heures"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/validations"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/planifie-realise"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 16V9'/%3E%3Cpath d='M12 16V5'/%3E%3Cpath d='M17 16v-4'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/export-heures"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/suivi-modulation"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/suivi-forfait-jours"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='m9 16 2 2 4-4'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/mon-espace"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/mon-planning"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/mes-conges"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='m4.93 4.93 1.41 1.41'/%3E%3Cpath d='m17.66 17.66 1.41 1.41'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3Cpath d='m6.34 17.66-1.41 1.41'/%3E%3Cpath d='m19.07 4.93-1.41 1.41'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/mon-dossier"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/mes-heures"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/ma-modulation"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/mon-forfait-jours"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='m9 16 2 2 4-4'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/reglages/assistant"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/reglages/types-activite"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z'/%3E%3Ccircle cx='7.5' cy='7.5' r='.5'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/reglages/notifications"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/reglages/valeurs-par-defaut"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-9'/%3E%3Cpath d='M14 17H5'/%3E%3Ccircle cx='17' cy='17' r='3'/%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/reglages/engagements"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/reglages/journal"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/reglages/reversibilite"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E"); }
.espace-menu-link:is(a[data-rh-link="/reglages/roles"]) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3C/svg%3E"); }

/* Connexion, mot de passe oublié, définir le mot de passe. */
.auth-page { min-height: calc(100vh - 5rem); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2.5rem 1rem 4rem; background: #f4f8f6; color: #20372e; }
.auth-card { width: min(100%, 28rem); background: #fff; border: 1px solid #d5e1db; border-radius: 1.1rem; padding: clamp(1.5rem, 5vw, 2.25rem); box-shadow: 0 8px 30px #173f290d; }
.auth-title { font-size: 1.6rem; line-height: 1.25; font-weight: 750; color: #17392b; margin: 0 0 .5rem; }
.auth-lead { color: #3d5247; line-height: 1.55; margin: 0 0 1.25rem; overflow-wrap: anywhere; }
.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }
.auth-field { display: flex; flex-direction: column; gap: .4rem; }
.auth-field label { font-weight: 650; color: #20372e; }
.auth-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.auth-label-row a, .auth-note a { color: #00673d; text-decoration: underline; text-underline-offset: .2em; font-size: .95rem; }
.auth-field input { width: 100%; min-height: 48px; border: 1px solid #9fb5a8; border-radius: .7rem; padding: .7rem .85rem; font-size: 1rem; color: #17392b; background: #fff; }
.auth-field input:focus { outline: 3px solid #1d6fd1; outline-offset: 1px; border-color: #1d6fd1; }
.auth-help { margin: 0; font-size: .875rem; color: #52635a; line-height: 1.5; }
.auth-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 0; border-radius: .7rem; padding: .75rem 1rem; background: #007140; color: #fff; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.auth-button:hover { background: #005831; }
.auth-button:focus-visible { outline: 3px solid #1d6fd1; outline-offset: 2px; }
.auth-alert { background: #fdf0f2; border: 1px solid #ebc4cb; border-left: 4px solid #a01932; color: #7c1226; border-radius: .7rem; padding: .8rem 1rem; margin-bottom: 1.1rem; line-height: 1.5; }
.auth-alert p { margin: 0; }
.auth-alert p + p { margin-top: .35rem; }
.auth-note { width: min(100%, 28rem); text-align: center; color: #3d5247; font-size: .95rem; line-height: 1.5; margin: 0; }

/* « Quelle association ? » */
.choice-page { width: min(100% - 2rem, 42rem); margin: 0 auto; padding: 3rem 0 4rem; color: var(--ink); }
.choice-page h1 { font-size: 1.75rem; font-weight: 750; color: var(--ink); margin-bottom: .75rem; }
.choice-page > p { line-height: 1.6; color: var(--ink-2); }
.choice-list { list-style: none; margin: 1.5rem 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.choice-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; background: #fff; border: 1px solid var(--line); border-radius: .9rem; padding: 1rem 1.1rem; }
.choice-name { display: flex; flex-direction: column; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.choice-role { font-weight: 500; font-size: .9rem; color: var(--ink-3); }
.choice-button { min-height: 44px; min-width: 7rem; border: 0; border-radius: .7rem; padding: .6rem 1rem; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }
.choice-button:hover { background: var(--accent-strong); }
.choice-note { font-size: .9rem; color: var(--ink-3); }

/* « Mon équipe » */
.team-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.team-member { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, 1.6fr); align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: .9rem; padding: 1rem 1.15rem; }
.team-member > * { min-width: 0; }
.team-member-identity h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; color: var(--ink); }
.team-member-identity small { font-weight: 400; color: var(--ink-3); }
.team-member-identity p { margin: 0; color: var(--ink-3); overflow-wrap: anywhere; }
.team-member-state { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.team-member-state .customer-badge { margin: 0; }
.team-status { font-size: .875rem; color: var(--ink-3); }
.team-status--waiting { color: var(--amber); }
.team-member-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.team-form-card { max-width: 36rem; }
.team-form { display: flex; flex-direction: column; gap: 1.1rem; }
@media (max-width: 48rem) {
    .team-member { grid-template-columns: minmax(0, 1fr); }
    .team-member-actions { justify-content: flex-start; }
}

/* Case de confirmation (passation) : assez grande pour le doigt. */
.customer-presidency-confirm { display: flex; align-items: flex-start; gap: .6rem; margin-block: .5rem 1rem; line-height: 1.5; }
.customer-presidency-confirm input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; flex: none; accent-color: var(--accent); }
