/**
 * Écrans d'administration de admin.my-judo.ch - charte « Administration
 * my·judo » (2026-11-20), commune à tous les écrans migrés (premier :
 * « Listes d'émargement », [choix-club]).
 *
 * Même base que css/inscription.css (dont elle réutilise les polices
 * @font-face « MJ DM Sans » / « MJ Fraunces ») : vert jade + encre, fond
 * « brume ». Tout est sous .mja, préfixé « body .mja » pour passer devant
 * Twenty Twenty et le kit Elementor (chargés après) ; tailles en px
 * (Twenty Twenty : 1 rem = 10 px).
 *
 * Structure d'un écran :
 *   <div class="mja">
 *     <div class="mja-tete"> surtitre, <h1>, intro </div>
 *     <div class="mja-message ok|ko"> retour d'une action (?status=&msg=) </div>
 *     <form class="mja-carte"> <section class="mja-bloc"> ... </section> ... <div class="mja-actions"> </form>
 *   </div>
 */

body:has(.mja) { background: #F2F5F4; }

.mja {
  --jade: #0F5D4F; --jade-fonce: #0A4238; --jade-clair: #E3F0EC;
  --lavande: #6E5CE6; --lavande-clair: #EEEBFD;
  --encre: #16212B; --ardoise: #55636F; --brume: #F2F5F4; --ligne: #DCE3E1; --ligne-forte: #B9C5C2;
  --succes: #16794C; --succes-fond: #E4F4EC;
  --alerte: #8A5A00; --alerte-fond: #FFF4D6;
  --erreur: #B42318; --erreur-fond: #FDECEA;
  --info: #5442D2; --info-fond: #EEEBFD;
  --ombre: 0 1px 2px rgba(22,33,43,.06), 0 8px 24px rgba(22,33,43,.06);
  --focus: 0 0 0 3px rgba(110,92,230,.35);
  --f-titre: "MJ Fraunces", Georgia, serif;
  --f-texte: "MJ DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body .mja {
  width: min(880px, 100%); margin: 0 auto; padding: 8px 0 48px;
  color: var(--encre); font-family: var(--f-texte); font-size: 16px; line-height: 1.55;
  font-weight: 400; letter-spacing: normal; text-align: left;
}
body .mja *, body .mja *::before, body .mja *::after { box-sizing: border-box; }
body .mja p { margin: 0; }
body .mja a { color: var(--jade); text-underline-offset: 3px; }
body .mja h1, body .mja h2, body .mja h3 { margin: 0; color: var(--encre); text-transform: none; letter-spacing: -.01em; line-height: 1.15; }
body .mja h1 { font-family: var(--f-titre); font-weight: 600; font-size: clamp(30px, 4vw, 40px); }
body .mja h2 { font-family: var(--f-titre); font-weight: 600; font-size: 22px; }
body .mja h3 { font-family: var(--f-texte); font-weight: 700; font-size: 16px; letter-spacing: 0; }

/* En-tête d'écran */
body .mja .mja-tete { margin: 24px 0 20px; }
body .mja .mja-surtitre { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--jade); }
body .mja .mja-surtitre a { color: inherit; text-decoration: none; }
body .mja .mja-surtitre a:hover { text-decoration: underline; }
body .mja .mja-tete h1 { margin: 6px 0 8px; }
body .mja .mja-tete p { color: var(--ardoise); max-width: 64ch; }

/* Message de retour */
body .mja .mja-message { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 15px; }
body .mja .mja-message svg { flex: none; width: 22px; height: 22px; }
body .mja .mja-message.ok { background: var(--succes-fond); } body .mja .mja-message.ok svg { color: var(--succes); }
body .mja .mja-message.ko { background: var(--erreur-fond); } body .mja .mja-message.ko svg { color: var(--erreur); }

/* Carte et blocs numérotés */
body .mja .mja-carte {
  background: #fff; border: 1px solid var(--ligne); border-radius: 18px; box-shadow: var(--ombre);
  padding: clamp(20px, 3.5vw, 32px); margin: 0;
}
/* Twenty Twenty donne un grand padding à tout <section> : remis à zéro */
body .mja .mja-bloc { padding: 0; margin: 0; width: auto; }
body .mja .mja-bloc + .mja-bloc { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--ligne); }
body .mja .mja-bloc-tete { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
body .mja .mja-num {
  flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--jade-clair); color: var(--jade);
  display: grid; place-items: center; font-family: var(--f-titre); font-weight: 700; font-size: 16px;
}
body .mja .mja-bloc-tete p { margin-top: 3px; color: var(--ardoise); font-size: 14.5px; }
body .mja .mja-oblig { color: var(--erreur); margin-left: 2px; }

/* Champs */
body .mja label { font-weight: 400; margin: 0; letter-spacing: normal; }
body .mja select.mja-saisie, body .mja input.mja-saisie {
  display: block; width: 100%; max-width: 420px; min-height: 46px; margin: 0; padding: 10px 40px 10px 14px;
  border: 1px solid var(--ligne-forte); border-radius: 8px; background-color: #fff; box-shadow: none;
  font-family: var(--f-texte); font-size: 16px; line-height: 1.3; color: var(--encre); letter-spacing: normal;
}
body .mja select.mja-saisie {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2355636F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
body .mja .mja-saisie:hover { border-color: var(--ardoise); }
body .mja .mja-saisie:focus { outline: none; border-color: var(--lavande); box-shadow: var(--focus); }

/* Cases en pastilles (choix multiples) */
body .mja .mja-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
body .mja .mja-case { position: relative; display: block; cursor: pointer; }
body .mja .mja-case input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; display: inline-block !important; }
body .mja .mja-case span {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--ligne-forte); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 500;
  transition: border-color .15s, background .15s;
}
body .mja .mja-case span::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--ligne-forte); background: #fff center / 12px no-repeat;
}
body .mja .mja-case:hover span { border-color: var(--jade); }
body .mja .mja-case input:checked + span { border-color: var(--jade); background: var(--jade-clair); }
body .mja .mja-case input:checked + span::before {
  border-color: var(--jade); background-color: var(--jade);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
body .mja .mja-case input:focus-visible + span { box-shadow: var(--focus); }
body .mja .mja-aide { font-size: 14px; color: var(--ardoise); margin-top: 8px; }
body .mja .mja-erreur { font-size: 14px; color: var(--erreur); margin-top: 8px; font-weight: 600; }

/* Choix en cartes (radio) */
body .mja .mja-choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 620px; }
body .mja .mja-carte-choix { position: relative; display: block; cursor: pointer; }
body .mja .mja-carte-choix input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; display: inline-block !important; }
body .mja .mja-carte-choix .mja-corps {
  display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px 16px;
  border: 1px solid var(--ligne-forte); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s;
}
body .mja .mja-carte-choix .mja-puce { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--ligne-forte); background: #fff; }
body .mja .mja-carte-choix b { display: block; font-weight: 600; }
body .mja .mja-carte-choix small { display: block; font-size: 14px; color: var(--ardoise); margin-top: 2px; }
body .mja .mja-carte-choix:hover .mja-corps { border-color: var(--jade); }
body .mja .mja-carte-choix input:checked + .mja-corps { border-color: var(--jade); background: var(--jade-clair); box-shadow: inset 0 0 0 1px var(--jade); }
body .mja .mja-carte-choix input:checked + .mja-corps .mja-puce { border-color: var(--jade); background: var(--jade); box-shadow: inset 0 0 0 4px #fff; }
body .mja .mja-carte-choix input:focus-visible + .mja-corps { box-shadow: var(--focus); }

/* Champs en grille + résumé (bandeau de chiffres) */
body .mja .mja-grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; max-width: 620px; }
body .mja .mja-champ { display: flex; flex-direction: column; gap: 6px; }
body .mja .mja-champ > label { display: block; font-weight: 600; font-size: 15px; color: var(--encre); }
body .mja input.mja-saisie[type="date"] { padding-right: 14px; max-width: none; }
body .mja .mja-resume { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
body .mja .mja-resume > div { background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 14px 16px; }
body .mja .mja-resume-libelle { display: block; font-size: 13px; color: var(--ardoise); }
body .mja .mja-resume b { display: block; font-family: var(--f-titre); font-weight: 600; font-size: 22px; line-height: 1.2; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* Liste explicative, avertissement, case de confirmation pleine largeur */
body .mja .mja-liste { margin: 0 0 16px; padding-left: 22px; color: var(--encre); font-size: 15px; }
body .mja .mja-liste li { margin: 6px 0; }
body .mja .mja-avert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--alerte-fond); font-size: 15px; }
body .mja .mja-avert svg { flex: none; width: 22px; height: 22px; color: var(--alerte); }
body .mja .mja-case-large span { font-weight: 500; max-width: 620px; }

/* Actions */
body .mja .mja-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--ligne); }
body .mja .mja-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 0; padding: 0 22px;
  border: 1px solid transparent; border-radius: 8px; cursor: pointer; box-shadow: none;
  font-family: var(--f-texte); font-size: 15.5px; font-weight: 600; line-height: 1; letter-spacing: normal; text-transform: none; text-decoration: none;
}
body .mja .mja-btn-principal { background: var(--jade) !important; color: #fff !important; }
body .mja .mja-btn-principal:hover { background: var(--jade-fonce) !important; color: #fff !important; text-decoration: none !important; }
body .mja .mja-btn-danger { background: var(--erreur) !important; color: #fff !important; }
body .mja .mja-btn-danger:hover { background: #8F1B12 !important; color: #fff !important; text-decoration: none !important; }
body .mja .mja-btn-secondaire { background: #fff; color: var(--jade); border-color: var(--ligne-forte); }
body .mja .mja-btn-secondaire:hover { border-color: var(--jade); color: var(--jade-fonce); text-decoration: none; }
body .mja .mja-btn:focus-visible { outline: none; box-shadow: var(--focus); }
body .mja .mja-actions p { font-size: 14px; color: var(--ardoise); }
/* reCAPTCHA insère un bloc invisible à côté du bouton : hors de la rangée */
body .mja .mja-actions > :not(button):not(p):not(a) { position: absolute; }

@media (max-width: 600px) {
  body .mja { padding: 0 16px 36px; }
  body .mja .mja-choix, body .mja .mja-grille-2, body .mja .mja-resume { grid-template-columns: 1fr; }
  body .mja .mja-btn { width: 100%; }
}

/* ==========================================================================
   Liste des membres ([lister-membres], 2026-11-20)
   ========================================================================== */
body .mja.mja-large { width: min(1200px, 100% - 32px); }
body .mja .mja-resume.mja-resume-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body .mja .mja-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body .mja .mja-discret { color: var(--ardoise); font-size: 13.5px; }
body .mja .mja-txt-ok { color: var(--succes); font-weight: 600; }
body .mja .mja-txt-ko { color: var(--erreur); font-weight: 600; }
body .mja .mja-txt-attente { color: #B54708; font-weight: 600; }

/* Outils : filtres, recherche, légende */
body .mja .mja-outils { margin-bottom: 20px; padding: 20px 22px; }
body .mja .mja-filtres { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: flex-end; margin: 0; }
body .mja .mja-filtres .mja-champ { flex: 1 1 200px; }
body .mja .mja-filtres .mja-champ > label { font-size: 13px; color: var(--ardoise); font-weight: 600; }
body .mja .mja-filtres select.mja-saisie { max-width: none; min-height: 42px; font-size: 15px; }
body .mja .mja-filtres .mja-btn { min-height: 42px; }
body .mja .mja-outils > .mja-aide { margin-top: 8px; }
body .mja .mja-recherche { position: relative; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ligne); }
body .mja .mja-recherche input.mja-saisie { max-width: none; padding-left: 40px; padding-right: 110px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2355636F' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 13px center; }
body .mja .mja-recherche-compte { position: absolute; right: 14px; bottom: 13px; font-size: 13.5px; color: var(--ardoise); font-variant-numeric: tabular-nums; }
body .mja .mja-legende { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
body .mja .mja-puce-statut {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin: 0; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--ligne-forte); background: #fff; color: var(--encre); cursor: pointer; box-shadow: none;
  font-family: var(--f-texte); font-size: 14px; font-weight: 500; letter-spacing: normal; text-transform: none; line-height: 1;
}
body .mja .mja-puce-statut b { font-weight: 700; color: var(--ardoise); font-variant-numeric: tabular-nums; }
body .mja .mja-puce-statut:hover { border-color: var(--jade); background: #fff; color: var(--encre); text-decoration: none; }
body .mja .mja-puce-statut.actif { background: var(--encre); border-color: var(--encre); color: #fff; }
body .mja .mja-puce-statut.actif b { color: #fff; }
body .mja .mja-puce-statut i, body .mja .mja-statut i { width: 10px; height: 10px; border-radius: 50%; background: var(--st); flex: none; }
body .mja .mja-puce-statut:focus-visible { outline: none; box-shadow: var(--focus); }

/* Couleurs de statut (mêmes significations que l'ancienne légende) */
body .mja .st-rouge { --st: #B42318; --st-fond: #FDECEA; }
body .mja .st-orange { --st: #B54708; --st-fond: #FEF0E1; }
body .mja .st-bleu { --st: #2E6FD8; --st-fond: #E8F0FC; }
body .mja .st-vert { --st: #16794C; --st-fond: #E4F4EC; }
body .mja .st-noir { --st: #16212B; --st-fond: #E9ECEE; }

/* Fiche d'un membre */
body .mja .mja-liste-membres { display: flex; flex-direction: column; gap: 14px; }
body .mja .mja-membre[hidden] { display: none; }
body .mja .mja-membre {
  background: #fff; border: 1px solid var(--ligne); border-left: 5px solid var(--st); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(22,33,43,.05); padding: 16px 18px 14px;
}
body .mja .mja-membre-tete { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
body .mja .mja-membre-tete h2 { font-size: 20px; }
body .mja .mja-membre-tete p { color: var(--ardoise); font-size: 14px; margin-top: 2px; }
body .mja .mja-statut {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px;
  background: var(--st-fond); color: var(--st); font-size: 13px; font-weight: 700; white-space: nowrap;
}
body .mja .mja-membre-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
body .mja .mja-form-fiche { display: contents; margin: 0; }
body .mja .mja-btn-fiche {
  display: inline-flex; align-items: center; min-height: 32px; margin: 0; padding: 0 11px; border-radius: 7px;
  border: 1px solid var(--ligne-forte); background: #fff; color: var(--jade-fonce); box-shadow: none; cursor: pointer;
  font-family: var(--f-texte); font-size: 13.5px; font-weight: 600; line-height: 1; letter-spacing: normal; text-transform: none; text-decoration: none;
}
body .mja .mja-btn-fiche:hover { border-color: var(--jade); background: var(--jade-clair); color: var(--jade-fonce); text-decoration: none; }
body .mja .mja-btn-fiche:focus-visible { outline: none; box-shadow: var(--focus); }
body .mja .mja-btn-fiche.principal { background: var(--jade); border-color: var(--jade); color: #fff; }
body .mja .mja-btn-fiche.principal:hover { background: var(--jade-fonce); color: #fff; }
body .mja .mja-btn-fiche.danger { color: var(--erreur); border-color: #F1B8B2; margin-left: auto; }
body .mja .mja-btn-fiche.danger:hover { background: var(--erreur-fond); color: var(--erreur); }
body .mja .mja-btn-fiche.inactif { color: #9AA6AE; background: var(--brume); border-color: var(--ligne); cursor: not-allowed; }
body .mja .mja-membre-blocs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--ligne); }
body .mja .mja-membre-blocs section { padding: 12px 14px 4px; margin: 0; width: auto; }
body .mja .mja-membre-blocs section + section { border-left: 1px solid var(--ligne); }
body .mja .mja-membre-blocs section:first-child { padding-left: 0; }
body .mja .mja-membre-blocs h3 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jade); margin-bottom: 8px; }
body .mja .mja-membre-blocs dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; margin: 0; font-size: 14px; }
body .mja .mja-membre-blocs dt { color: var(--ardoise); font-weight: 400; margin: 0; }
body .mja .mja-membre-blocs dd { margin: 0; color: var(--encre); overflow-wrap: break-word; min-width: 0; }
body .mja .mja-haut { margin-top: 20px; text-align: right; font-size: 14px; }

@media (max-width: 1000px) {
  body .mja .mja-membre-blocs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .mja .mja-membre-blocs section:nth-child(3) { border-left: 0; padding-left: 0; }
  body .mja .mja-membre-blocs section:nth-child(n+3) { border-top: 1px solid var(--ligne); }
  body .mja .mja-resume.mja-resume-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body .mja.mja-large { width: 100%; }
  body .mja .mja-membre-blocs { grid-template-columns: 1fr; }
  body .mja .mja-membre-blocs section { border-left: 0 !important; padding-left: 0; }
  body .mja .mja-membre-blocs section + section { border-top: 1px solid var(--ligne); }
  body .mja .mja-btn-fiche.danger { margin-left: 0; }
}

/* ==========================================================================
   Gestion des fratries ([gestion-fratries], 2026-11-20) et tableaux
   ========================================================================== */
body .mja .mja-recherche.mja-recherche-seule { margin-top: 0; padding-top: 0; border-top: 0; }
body .mja .mja-tableau-defile { overflow-x: auto; margin-top: 12px; border-top: 1px solid var(--ligne); }
body .mja table.mja-tableau { width: 100%; margin: 0; border-collapse: collapse; border: 0; font-size: 14.5px; }
body .mja .mja-tableau th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ardoise); padding: 10px 10px 8px; border: 0; border-bottom: 1px solid var(--ligne); background: none; white-space: nowrap; }
body .mja .mja-tableau td { padding: 9px 10px; border: 0; border-bottom: 1px solid var(--ligne); vertical-align: middle; background: none; }
body .mja .mja-tableau tr:last-child td { border-bottom: 0; }
body .mja .mja-tableau th:first-child, body .mja .mja-tableau td:first-child { padding-left: 0; }
body .mja .mja-tableau .mja-nombre { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
body .mja select.mja-saisie.mja-saisie-compacte { min-height: 36px; padding-top: 4px; padding-bottom: 4px; font-size: 14.5px; width: auto; min-width: 110px; }
body .mja .mja-actions.mja-actions-compactes { margin-top: 12px; padding-top: 14px; }
body .mja .mja-fratrie { margin: 0; }

/* ==========================================================================
   E-mail aux membres ([mail-general-par-membres], 2026-11-20)
   ========================================================================== */
body .mja input.mja-saisie.mja-saisie-large, body .mja textarea.mja-saisie { max-width: none; padding-right: 14px; }
body .mja textarea.mja-saisie.mja-texte { display: block; width: 100%; min-height: 220px; margin: 0; padding: 12px 14px; border: 1px solid var(--ligne-forte); border-radius: 8px; background: #fff; box-shadow: none; resize: vertical;
  font-family: var(--f-texte); font-size: 15.5px; line-height: 1.55; color: var(--encre); letter-spacing: normal; }
body .mja .mja-fichier { display: block; width: 100%; font-family: var(--f-texte); font-size: 14px; color: var(--ardoise); padding: 8px; border: 1px dashed var(--ligne-forte); border-radius: 8px; background: var(--brume); }
body .mja .mja-dest-outils { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
body .mja .mja-dest-outils .mja-recherche { flex: 1 1 260px; }
body .mja .mja-dest-outils .mja-recherche input.mja-saisie { padding-right: 14px; min-height: 40px; }
body .mja .mja-bascule { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; cursor: pointer; }
body .mja .mja-bascule input { display: inline-block !important; width: 18px; height: 18px; margin: 0; accent-color: var(--jade); }
body .mja .mja-dest-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
body .mja .mja-dest-compte { margin-left: auto; font-weight: 700; color: var(--jade-fonce); font-variant-numeric: tabular-nums; }
body .mja .mja-dest-liste { max-height: 520px; overflow-y: auto; border: 1px solid var(--ligne); border-radius: 12px; padding: 0 12px; }
body .mja .mja-dest-liste thead th { position: sticky; top: 0; background: #fff; z-index: 1; }
body .mja .mja-dest[hidden] { display: none; }
body .mja .mja-case-seule { display: inline-flex; cursor: pointer; }
body .mja .mja-case-seule input { display: inline-block !important; width: 20px; height: 20px; margin: 0; accent-color: var(--jade); cursor: pointer; }
body .mja .mja-dest td label { cursor: pointer; font-weight: 400; }

/* Tableau seul dans une carte (factures en attente, 2026-11-20) */
body .mja .mja-carte.mja-carte-tableau { padding: 6px 22px 10px; }
body .mja .mja-tableau-defile.mja-sans-bord { margin-top: 0; border-top: 0; }
body .mja .mja-tableau tr.mja-ligne[hidden] { display: none; }
body .mja .mja-tableau .mja-statut { font-size: 12.5px; }
body .mja .mja-actions-ligne { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
body .mja .mja-actions-ligne .mja-btn-fiche.danger { margin-left: 0; }
body .mja .mja-barre-selection { margin: 10px 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--ligne); }
body .mja .mja-barre-selection .mja-dest-compte { margin-left: auto; }
body .mja .mja-barre-selection .mja-btn-fiche.danger { margin-left: 0; }
body .mja .mja-btn-fiche[disabled] { opacity: .45; cursor: not-allowed; }

/* Rapprochement des cotisations ([rapprochement-bancaire], 2026-11-20) */
body .mja .mja-rappro td { vertical-align: top; }
body .mja .mja-rappro input.mja-saisie.mja-saisie-compacte { display: inline-block; width: auto; min-height: 36px; padding: 4px 8px; font-size: 14.5px; max-width: none; }
body .mja .mja-rappro input.mja-saisie.mja-saisie-compacte.mja-montant { width: 100px; text-align: right; }
body .mja .mja-rappro td:nth-child(n+3) { white-space: nowrap; }
body .mja .mja-rappro td:first-child, body .mja .mja-rappro td.mja-facture { white-space: normal; }
body .mja .mja-btn-fiche { white-space: nowrap; }
body .mja .mja-rappro tr.mja-suite td { border-top: 1px dashed var(--ligne); }
body .mja .mja-petit { font-size: 13px; }

/* Envoyer une newsletter ([envoyer-newsletter], 2026-11-20) */
body .mja .mja-nl-fichiers { max-width: none; }
body .mja .mja-nl-fichiers small { overflow-wrap: anywhere; }
body .mja .mja-nl-apercu { margin-top: 16px; border: 1px solid var(--ligne); border-radius: 12px; overflow: hidden; background: var(--brume); }
body .mja .mja-nl-apercu-barre { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; font-size: 13px; font-weight: 700; color: var(--ardoise); border-bottom: 1px solid var(--ligne); background: #fff; }
body .mja .mja-nl-apercu iframe { display: block; width: 100%; height: 640px; border: 0; background: #fff; }
body .mja .mja-nl-raccourcis { display: flex; flex-wrap: wrap; gap: 8px; }
body .mja .mja-case input:indeterminate + span { border-color: var(--jade); }
body .mja .mja-case input:indeterminate + span::before { border-color: var(--jade); background: linear-gradient(var(--jade), var(--jade)) center / 10px 2px no-repeat #fff; }
body .mja .mja-nl-clubs { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
body .mja code { font-size: .9em; background: var(--brume); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 600px) { body .mja .mja-nl-apercu iframe { height: 520px; } }

/* ==========================================================================
   Écrans à étapes (2026-11-21, d'abord [creer-un-stage]) : même principe que
   le formulaire [ajouter-membre] — colonne des étapes collante à gauche,
   barre de progression collante sous 900 px, une carte par étape ; l'étape
   en cours suit le défilement (js/admin-ecrans.js).
     <div class="mja mja-a-etapes"> … <div class="mja-disposition">
       <aside class="mja-etapes"><ol><li><a href="#…"><span class="mja-rond">1</span>…</a></li>…</ol></aside>
       <div><div class="mja-progression">…</div>
         <form> <section class="mja-bloc mja-etape" id="…" data-mja-nom="…">…</section> … <div class="mja-actions mja-actions-etapes">…</div></form>
   En-tête du site collant : 68 px, environ 100 px sous 900 px pour un administrateur connecté (menu sur
   deux lignes) ; + barre d'administration WordPress (32 px, 46 px sous 783 px, non fixe sous 601 px).
   ========================================================================== */
body .mja.mja-a-etapes { width: min(1120px, 100% - 32px); }
body .mja .mja-disposition { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
body .mja .mja-etapes { position: sticky; top: 92px; }
body.admin-bar .mja .mja-etapes { top: 124px; }
body .mja .mja-etapes ol { list-style: none; margin: 0; padding: 0; position: relative; }
body .mja .mja-etapes ol::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: var(--ligne); }
body .mja .mja-etapes li { margin: 0; padding: 0; }
body .mja .mja-etapes li a { position: relative; display: flex; gap: 12px; align-items: center; padding: 8px 0; text-decoration: none; color: var(--ardoise); font-weight: 500; font-size: 15px; }
body .mja .mja-etapes li a:hover { color: var(--encre); }
body .mja .mja-rond { width: 32px; height: 32px; border-radius: 50%; background: var(--brume); border: 2px solid var(--ligne-forte); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--ardoise); z-index: 1; transition: all .2s; }
body .mja .mja-etapes li.faite .mja-rond { background: var(--jade); border-color: var(--jade); color: #fff; }
body .mja .mja-etapes li.active a { color: var(--encre); font-weight: 700; }
body .mja .mja-etapes li.active .mja-rond { background: #fff; border-color: var(--lavande); color: #5442D2; box-shadow: 0 0 0 4px var(--lavande-clair); }
body .mja .mja-aide-etapes { margin-top: 22px; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--ligne); font-size: 14px; color: var(--ardoise); }
body .mja .mja-aide-etapes strong { color: var(--encre); display: block; margin-bottom: 4px; }
body .mja .mja-aide-etapes p + p { margin-top: 8px; }
body .mja .mja-progression { display: none; }
/* Une carte par étape */
body .mja .mja-bloc.mja-etape { background: #fff; border: 1px solid var(--ligne); border-radius: 18px; box-shadow: var(--ombre); padding: clamp(20px, 3.5vw, 32px); }
body .mja .mja-bloc.mja-etape + .mja-bloc.mja-etape { margin-top: 20px; padding-top: clamp(20px, 3.5vw, 32px); border-top: 1px solid var(--ligne); }
body .mja .mja-actions.mja-actions-etapes { margin-top: 20px; padding-top: 0; border-top: 0; }
@media (max-width: 900px) {
  body .mja .mja-disposition { grid-template-columns: 1fr; gap: 0; }
  body .mja .mja-etapes { display: none; }
  body .mja .mja-progression { display: block; position: sticky; top: 102px; z-index: 6; background: var(--brume); padding: 10px 0 12px; margin-bottom: 8px; }
  body.admin-bar .mja .mja-progression { top: 134px; }
  body .mja .mja-progression .mja-libelle { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
  body .mja .mja-progression .mja-rail { height: 6px; border-radius: 99px; background: var(--ligne); overflow: hidden; }
  body .mja .mja-progression .mja-rail i { display: block; height: 100%; background: var(--jade); border-radius: 99px; transition: width .3s; }
}
@media (max-width: 782px) { body.admin-bar .mja .mja-progression { top: 148px; } }
@media (max-width: 600px) {
  body.admin-bar .mja .mja-progression { top: 98px; }
  body .mja .mja-progression { top: 98px; }
  body .mja.mja-a-etapes { width: 100%; }
}

/* Désactiver un stage ([supprimer-un-stage], 2026-11-21) : une carte par stage actif */
body .mja .mja-stages { display: grid; gap: 16px; }
body .mja .mja-stage-tete { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
body .mja .mja-stage-tete h2 { margin-top: 8px; }
body .mja .mja-stage-tete p { margin-top: 4px; color: var(--ardoise); font-size: 15px; }
body .mja .mja-stage-type { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--jade-clair); color: var(--jade-fonce); font-size: 12.5px; font-weight: 700; }
body .mja .mja-stage-action { margin: 0; flex: none; }
body .mja .mja-stage-infos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 20px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--ligne); }
body .mja .mja-stage-infos dt { font-size: 13px; color: var(--ardoise); font-weight: 400; margin: 0; }
body .mja .mja-stage-infos dd { margin: 2px 0 0; font-size: 15px; overflow-wrap: anywhere; }
body .mja .mja-jauge { display: block; height: 6px; margin-top: 6px; border-radius: 99px; background: var(--ligne); overflow: hidden; max-width: 160px; }
body .mja .mja-jauge i { display: block; height: 100%; background: var(--jade); border-radius: 99px; }
body .mja .mja-jauge.complet i { background: var(--alerte); }
body .mja .mja-stage-vide { text-align: center; }
body .mja .mja-stage-vide p { margin-top: 8px; color: var(--ardoise); }
body .mja .mja-stage-vide .mja-btn { margin-top: 8px; }
@media (max-width: 720px) { body .mja .mja-stage-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body .mja .mja-stage-action { width: 100%; } }

/* Inscrits aux stages ([stage-liste-des-inscrits], 2026-11-21) : un tableau modifiable par stage */
body .mja .mja-inscrits-recherche { margin-bottom: 16px; }
body .mja .mja-stages-inscrits, body .mja .mja-inscrits + .mja-inscrits { margin-top: 16px; }
body .mja .mja-inscrits .mja-stage-infos { grid-template-columns: 1fr 3fr; }
body .mja .mja-inscrits-vide { margin-top: 16px; color: var(--ardoise); font-size: 15px; }
body .mja .mja-tableau-inscrits input.mja-saisie.mja-saisie-compacte { display: block; width: 100%; min-width: 92px; min-height: 36px; padding: 4px 7px; font-size: 14.5px; max-width: none; }
body .mja .mja-tableau-inscrits input.mja-saisie.mja-age { min-width: 52px; width: 56px; }
body .mja .mja-tableau-inscrits input.mja-saisie.mja-email { min-width: 165px; }
body .mja .mja-tableau-inscrits input.mja-saisie.mja-tel { min-width: 108px; }
body .mja .mja-tableau-inscrits input.mja-saisie.mja-paye { min-width: 80px; width: 84px; }
body .mja .mja-tableau-inscrits td, body .mja .mja-tableau-inscrits th { padding-left: 3px; padding-right: 3px; }
body .mja .mja-tableau-inscrits .mja-jour { text-align: center; width: 36px; letter-spacing: .02em; }
body .mja .mja-case-jour { display: inline-grid; place-items: center; width: 30px; height: 32px; cursor: pointer; }
body .mja .mja-case-jour input { width: 18px; height: 18px; margin: 0; accent-color: var(--jade); cursor: pointer; }
body .mja .mja-inscrit-actions { white-space: nowrap; text-align: right; }
body .mja .mja-inscrit-actions form { display: inline-block; margin: 0 0 0 4px; }
body .mja .mja-inscrit-actions .mja-btn-fiche { padding-left: 10px; padding-right: 10px; }
body .mja .mja-inscrit-actions .mja-btn-fiche.danger { margin-left: 0; }
body .mja .mja-inscrits .mja-stage-action { text-align: right; }
body .mja .mja-inscrits .mja-stage-action .mja-aide { margin-top: 4px; font-size: 13px; }
@media (max-width: 720px) { body .mja .mja-inscrits .mja-stage-infos { grid-template-columns: 1fr; } body .mja .mja-inscrits .mja-stage-action { text-align: left; } }

/* Professeurs ([gerer-liste-professeurs], 2026-11-21) */
body .mja .mja-profs-ajout { margin-top: 20px; }
body .mja .mja-grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 20px; }
body .mja .mja-grille-3 input.mja-saisie { max-width: none; }
body .mja .mja-tableau-profs input.mja-saisie.mja-saisie-compacte { display: block; width: 100%; min-width: 120px; min-height: 38px; padding: 5px 9px; font-size: 15px; max-width: none; }
body .mja .mja-tableau-profs input.mja-saisie.mja-email { min-width: 220px; }
body .mja .mja-tableau-profs td { padding-left: 4px; padding-right: 4px; }
body .mja .mja-tableau-profs tr.mja-modifiee td { background: var(--alerte-fond); }
body .mja .mja-tableau-profs input.mja-saisie:invalid { border-color: var(--erreur); }
@media (max-width: 720px) { body .mja .mja-grille-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  body .mja .mja-profs .mja-tableau-defile { overflow: visible; }
  body .mja .mja-tableau-profs, body .mja .mja-tableau-profs tbody { display: block; }
  body .mja .mja-tableau-profs thead { display: none; }
  body .mja .mja-tableau-profs tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
  body .mja .mja-tableau-profs td { display: block; padding: 0; border: 0; }
  body .mja .mja-tableau-profs td:nth-child(3) { grid-column: 1 / -1; }
  body .mja .mja-tableau-profs td.mja-inscrit-actions { grid-column: 1 / -1; text-align: left; }
  body .mja .mja-tableau-profs input.mja-saisie.mja-saisie-compacte { min-width: 0; }
}

/* Sections ([gerer-les-sections], 2026-11-21) */
body .mja .mja-sections-outils { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 12px; align-items: end; }
body .mja .mja-sections-outils select.mja-saisie { max-width: none; }
body .mja .mja-sections .mja-legende { margin-bottom: 4px; }
body .mja .mja-tableau-sections input.mja-saisie.mja-saisie-compacte, body .mja .mja-tableau-sections select.mja-saisie.mja-saisie-compacte { display: block; width: 100%; min-height: 38px; padding: 5px 9px; font-size: 15px; max-width: none; }
body .mja .mja-tableau-sections select.mja-saisie.mja-saisie-compacte { padding-right: 30px; background-position: right 10px center; }
body .mja .mja-tableau-sections td:nth-child(1) { min-width: 260px; }
body .mja .mja-tableau-sections td:nth-child(2) { min-width: 190px; }
body .mja .mja-tableau-sections td:nth-child(3) { min-width: 120px; }
body .mja .mja-tableau-sections td { padding-left: 4px; padding-right: 4px; }
body .mja .mja-tableau-sections tr.mja-inactive td:not(.mja-inscrit-actions) { opacity: .6; }
body .mja .mja-tableau-sections tr.mja-modifiee td { background: var(--alerte-fond); opacity: 1; }
@media (max-width: 720px) { body .mja .mja-sections-outils { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  body .mja .mja-sections .mja-tableau-defile { overflow: visible; }
  body .mja .mja-tableau-sections, body .mja .mja-tableau-sections tbody { display: block; }
  body .mja .mja-tableau-sections thead { display: none; }
  body .mja .mja-tableau-sections tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
  body .mja .mja-tableau-sections tr[hidden] { display: none; }
  body .mja .mja-tableau-sections td { display: block; padding: 0; border: 0; min-width: 0 !important; }
  body .mja .mja-tableau-sections td:first-child { grid-column: 1 / -1; }
  body .mja .mja-tableau-sections td.mja-nombre { text-align: left; align-self: center; color: var(--ardoise); font-size: 14px; }
  body .mja .mja-tableau-sections td.mja-nombre::before { content: "Membres (cours 2-3) : "; color: var(--ardoise); font-weight: 400; }
  body .mja .mja-tableau-sections td.mja-inscrit-actions { text-align: right; }
}
body .mja .mja-membres-section { color: var(--encre); font-weight: 600; }
body .mja .mja-cours23 { color: var(--succes); font-weight: 600; }
body .mja .mja-tableau-sections th .mja-cours23 { letter-spacing: 0; }
body .mja .mja-tableau-sections td.mja-membres-section > span:first-child { color: var(--encre); font-weight: 600; }

/* Clubs et tarifs ([gerer-tarifs-des-clubs], 2026-11-21) */
body .mja .mja-btn.mja-btn-petit { min-height: 36px; padding: 6px 14px; font-size: 14px; }
body .mja .mja-clubs-outils { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
body .mja .mja-clubs-groupe { margin: 22px 0 10px; font-family: var(--f-titre); font-size: 18px; font-weight: 600; }
body .mja .mja-clubs-groupe span { font-family: var(--f-texte); font-size: 13px; font-weight: 500; color: var(--ardoise); margin-left: 6px; }
body .mja .mja-club { border: 1px solid var(--ligne); border-radius: 12px; background: #fff; margin: 0 0 8px; }
body .mja .mja-club[open] { border-color: var(--ligne-forte); box-shadow: var(--ombre); }
body .mja .mja-club.mja-modifiee { border-color: #E9B45A; background: var(--alerte-fond); }
body .mja .mja-club > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 16px 12px 40px; cursor: pointer; list-style: none; position: relative; }
body .mja .mja-club > summary::-webkit-details-marker { display: none; }
body .mja .mja-club > summary::before { content: ""; position: absolute; left: 17px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--jade); border-bottom: 2px solid var(--jade); transform: translateY(-70%) rotate(-45deg); transition: transform .15s; }
body .mja .mja-club[open] > summary::before { transform: translateY(-70%) rotate(45deg); }
body .mja .mja-club > summary:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 12px; }
body .mja .mja-club-nom { display: flex; align-items: baseline; gap: 10px; }
body .mja .mja-club-nom b { font-size: 16px; }
body .mja .mja-club-nom code { font-size: 12.5px; color: var(--ardoise); }
body .mja .mja-club-resume { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: var(--ardoise); font-variant-numeric: tabular-nums; }
body .mja .mja-club-modif { font-weight: 700; color: #B54708; }
body .mja .mja-club-corps { padding: 4px 16px 18px; }
body .mja .mja-club-corps fieldset { border: 0; margin: 0; padding: 14px 0 0; min-width: 0; }
body .mja .mja-club-corps fieldset + fieldset { border-top: 1px solid var(--ligne); margin-top: 16px; }
body .mja .mja-club-corps legend { padding: 0; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jade); float: left; width: 100%; }
body .mja .mja-grille-auto { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px 18px; }
body .mja .mja-grille-auto .mja-saisie { max-width: none; }
body .mja .mja-grille-auto .mja-champ > label { font-size: 14px; }
body .mja input.mja-saisie.mja-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14.5px; letter-spacing: .02em; }
body .mja .mja-form-clubs .mja-actions { position: sticky; bottom: 0; background: #fff; z-index: 2; margin-top: 16px; padding-bottom: 12px; }
body .mja .mja-repli { margin-top: 20px; padding: 0; }
body .mja .mja-repli > summary { display: flex; align-items: center; gap: 12px; padding: clamp(18px, 3vw, 26px) clamp(20px, 3.5vw, 32px); cursor: pointer; list-style: none; }
body .mja .mja-repli > summary::-webkit-details-marker { display: none; }
body .mja .mja-repli > summary b { display: block; font-family: var(--f-titre); font-size: 22px; font-weight: 600; }
body .mja .mja-repli > summary small { display: block; color: var(--ardoise); font-size: 14.5px; }
body .mja .mja-repli > summary::after { content: "+"; margin-left: auto; font-size: 24px; line-height: 1; color: var(--jade); }
body .mja .mja-repli[open] > summary::after { content: "–"; }
body .mja .mja-repli > .mja-club-corps { padding: 0 clamp(20px, 3.5vw, 32px) clamp(20px, 3.5vw, 28px); }
body .mja .mja-supers { margin-top: 20px; }
body .mja .mja-tableau-supers input.mja-saisie.mja-saisie-compacte { display: block; width: 100%; min-width: 150px; min-height: 38px; padding: 5px 9px; font-size: 14.5px; max-width: none; }
body .mja .mja-tableau-supers td { padding-left: 4px; padding-right: 4px; }
body .mja .mja-repli.mja-repli-interne { margin-top: 18px; border-top: 1px solid var(--ligne); }
body .mja .mja-repli.mja-repli-interne > summary { padding: 16px 0 6px; }
body .mja .mja-repli.mja-repli-interne > summary b { font-size: 18px; }
body .mja .mja-repli.mja-repli-interne > .mja-club-corps { padding: 6px 0 0; }
@media (max-width: 600px) {
  body .mja .mja-club > summary { padding-left: 36px; }
  body .mja .mja-club-corps { padding: 0 12px 14px; }
}
body .mja .mja-grille-auto.mja-grille-paiement { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 600px) { body .mja .mja-grille-auto.mja-grille-paiement { grid-template-columns: 1fr; } }
@media (max-width: 600px) { body .mja .mja-clubs-outils .mja-btn { width: auto; } body .mja .mja-club-nom { flex-direction: column; gap: 2px; } }
/* Suppression d'un club disparu (2026-11-21) */
body .mja .mja-club-danger { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 18px; padding: 12px 14px; border: 1px dashed #F1B8B2; border-radius: 10px; background: #FFFBFA; }
body .mja .mja-club-danger p { font-size: 14px; font-weight: 600; color: var(--encre); }
body .mja .mja-club-danger p span { display: block; font-weight: 400; color: var(--ardoise); font-size: 13.5px; }
body .mja .mja-club-danger .mja-btn-fiche.danger { margin-left: 0; }

/* Horaires des cours ([gerer-les-horaires], 2026-11-21) */
body .mja .mja-horaires-outils { display: grid; grid-template-columns: minmax(0, 1fr) 240px 200px; gap: 12px; align-items: end; margin-bottom: 16px; }
body .mja .mja-horaires-outils select.mja-saisie { max-width: none; }
/* Groupés par super club puis club, cartes repliables comme « Clubs et tarifs » */
body .mja .mja-horaires .mja-club-corps { padding-top: 0; }
body .mja .mja-horaires .mja-tableau-defile { margin-top: 0; }
body .mja .mja-horaires .mja-club.mja-modifiee .mja-tableau-horaires tr:not(.mja-modifiee) td { background: #fff; }
body .mja .mja-tableau-horaires td { padding-left: 3px; padding-right: 3px; }
body .mja .mja-tableau-horaires .mja-saisie.mja-saisie-compacte { display: block; width: 100%; min-height: 36px; padding: 4px 26px 4px 8px; font-size: 14.5px; max-width: none; background-position: right 8px center; }
body .mja .mja-tableau-horaires input.mja-saisie.mja-saisie-compacte { padding-right: 8px; min-width: 170px; }
body .mja .mja-tableau-horaires td:nth-child(1) { min-width: 118px; }
body .mja .mja-tableau-horaires td:nth-child(5) { min-width: 180px; }
body .mja .mja-tableau-horaires td:nth-child(6) { min-width: 140px; }
body .mja .mja-heure { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
body .mja td.mja-heure { display: table-cell; }
body .mja td.mja-heure > select, body .mja td.mja-heure > span { display: inline-block; vertical-align: middle; }
body .mja .mja-tableau-horaires td.mja-heure select.mja-saisie.mja-saisie-compacte { width: 60px; min-width: 0; display: inline-block; padding-right: 22px; background-position: right 6px center; }
body .mja .mja-tableau-horaires select.mja-saisie.mja-saisie-compacte { min-width: 0; }
body .mja .mja-tableau-horaires td { vertical-align: top; }
body .mja .mja-tableau-horaires td.mja-inscrit-actions { padding-top: 12px; }
body .mja .mja-heure > span { font-weight: 700; color: var(--ardoise); padding: 0 1px; }
body .mja .mja-duree { display: block; font-size: 12px; color: var(--ardoise); margin-top: 2px; }
body .mja .mja-tableau-horaires tr.mja-modifiee td { background: var(--alerte-fond); }
body .mja .mja-champ-titre { display: block; font-weight: 600; font-size: 14px; color: var(--encre); }
body .mja .mja-grille-auto .mja-heure .mja-saisie { width: 80px; }
@media (max-width: 760px) { body .mja .mja-horaires-outils { grid-template-columns: 1fr; } }
/* Sections groupées par super club puis club (2026-11-21) */
body .mja .mja-sections .mja-club-corps { padding-top: 0; }
body .mja .mja-sections .mja-tableau-defile { margin-top: 0; }
body .mja .mja-sections > .mja-actions { position: sticky; bottom: 0; background: #fff; z-index: 2; padding-bottom: 12px; }
body .mja .mja-sections .mja-legende { margin-bottom: 8px; }

/* Listes d'émargement ([choix-club], 2026-11-21) : clubs par super club, choix unique */
body .mja .mja-cases-radio .mja-case span::before { border-radius: 50%; }
body .mja .mja-cases-radio .mja-case input:checked + span::before { background-image: none; background-color: #fff; border-color: var(--jade); box-shadow: inset 0 0 0 4px var(--jade); }
body .mja #mja-clubs-choix .mja-clubs-groupe:first-child { margin-top: 0; }
body .mja #mja-clubs-choix .mja-clubs-groupe { margin: 18px 0 8px; font-size: 16px; }
body .mja .mja-aide-etapes b { color: var(--encre); font-weight: 600; }
/* Un groupe radio sans choix est « :indeterminate » : pas le style « partiel » des cases à cocher */
body .mja .mja-cases-radio .mja-case input:indeterminate + span { border-color: var(--ligne-forte); }
body .mja .mja-cases-radio .mja-case input:indeterminate + span::before { background: #fff; border-color: var(--ligne-forte); }
body .mja .mja-cases-radio .mja-case:hover span { border-color: var(--jade); }
body .mja .mja-nl-clubs .mja-case span small { white-space: nowrap; }

/* Ouverture des inscriptions ([gestion-inscription], 2026-11-21) : une carte par super club */
body .mja .mja-inscr { margin-bottom: 16px; border-left: 5px solid var(--ligne-forte); }
body .mja .mja-inscr.mja-inscr-ouvert { border-left-color: var(--succes); }
body .mja .mja-inscr-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
body .mja .mja-inscr-tete h2 code { font-size: 12.5px; font-weight: 400; color: var(--ardoise); margin-left: 6px; letter-spacing: 0; }
body .mja .mja-inscr-tete p { margin-top: 4px; color: var(--ardoise); font-size: 14.5px; }
body .mja .mja-saison .mja-saisie { width: 100px; max-width: 100px; padding-right: 10px; }
body .mja .mja-saison > span { padding: 0 6px; }
body .mja .mja-inscr .mja-actions { margin-top: 20px; padding-top: 16px; }
/* Ouverture des inscriptions : « Comment ça fonctionne » (2026-11-21) */
body .mja .mja-inscr-infos { margin-bottom: 18px; }
body .mja .mja-inscr-etapes { list-style: none; margin: 0; padding: 0; counter-reset: inscr; }
body .mja .mja-inscr-etapes li { counter-increment: inscr; position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 16px; padding: 12px 0 12px 40px; border-top: 1px solid var(--ligne); font-size: 15px; margin: 0; }
body .mja .mja-inscr-etapes li:first-child { border-top: 0; padding-top: 4px; }
body .mja .mja-inscr-etapes li::before { content: counter(inscr); position: absolute; left: 0; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--jade-clair); color: var(--jade); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
body .mja .mja-inscr-etapes li:first-child::before { top: 2px; }
body .mja .mja-inscr-etapes li b { color: var(--encre); }
body .mja .mja-inscr-etapes li span { color: var(--ardoise); }
@media (max-width: 600px) { body .mja .mja-inscr-etapes li { grid-template-columns: 1fr; } }

/* Messages envoyés par e-mail ([config-messages], 2026-11-21) */
body .mja .mja-variables { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; }
body.admin-bar .mja .mja-variables { top: 124px; max-height: calc(100vh - 142px); }
body .mja .mja-variables .mja-aide-etapes { margin-top: 0; }
body .mja .mja-var-groupe { margin: 12px 0 6px !important; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jade); }
body .mja .mja-var-liste { display: flex; flex-wrap: wrap; gap: 4px; }
body .mja button.mja-var { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; padding: 3px 6px; border: 1px solid var(--ligne-forte); border-radius: 6px; background: var(--brume); color: var(--encre); cursor: pointer; line-height: 1.3; text-transform: none; letter-spacing: 0; font-weight: 500; }
body .mja button.mja-var:hover, body .mja button.mja-var:focus { background: var(--jade-clair); border-color: var(--jade); color: var(--jade-fonce); }
body .mja #mja-var-etat { margin-top: 12px; color: var(--jade-fonce); }
body .mja .mja-message-carte > summary { flex-wrap: wrap; }
body .mja .mja-message-desc { flex: 1 1 100%; font-size: 14px; color: var(--ardoise); font-weight: 400; }
body .mja .mja-var-utilisees { font-size: 13.5px; color: var(--ardoise); margin: 4px 0 12px !important; line-height: 2; }
body .mja .mja-var-utilisees code { font-size: 12px; }
body .mja .mja-var-utilisees code.mja-var-inconnue { background: var(--alerte-fond); color: var(--alerte); font-weight: 700; }
body .mja .mja-message-carte .mja-avert { margin-bottom: 12px; }
body .mja textarea.mja-editeur { width: 100%; min-height: 360px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
body .mja .mja-message-carte .tox-tinymce { border-radius: 10px; border-color: var(--ligne-forte); }
@media (max-width: 900px) { body .mja .mja-variables { position: static; max-height: none; margin-bottom: 16px; } }

/* Statistiques des inscriptions ([stats-comment-connu], 2026-11-21) */
body .mja .mja-resume b small { font-family: var(--f-texte); font-size: 14px; font-weight: 600; color: var(--ardoise); margin-left: 4px; }
body .mja .mja-stat-sous { margin-top: 4px !important; font-size: 14px; color: var(--ardoise); }
body .mja .mja-stat-vide { color: var(--ardoise); }
body .mja ul.mja-stat-barres { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
body .mja .mja-stat-barres li { display: grid; grid-template-columns: 190px minmax(0, 1fr) 118px; align-items: center; gap: 14px; margin: 0; font-size: 15px; }
body .mja .mja-stat-libelle { font-weight: 600; }
body .mja .mja-stat-piste { display: block; height: 14px; border-radius: 999px; background: var(--brume); overflow: hidden; }
body .mja .mja-stat-barre { display: block; height: 100%; min-width: 4px; border-radius: 999px; background: var(--jade); }
body .mja .mja-stat-reinscr .mja-stat-barre { background: var(--lavande); }
body .mja .mja-stat-nr .mja-stat-barre { background: var(--ligne-forte); }
body .mja .mja-stat-nr .mja-stat-libelle { color: var(--ardoise); font-weight: 500; }
body .mja .mja-stat-valeur { text-align: right; font-variant-numeric: tabular-nums; color: var(--ardoise); white-space: nowrap; }
body .mja .mja-stat-valeur b { color: var(--encre); margin-right: 6px; }
body .mja .mja-stat-tableau tbody th, body .mja .mja-stat-tableau tfoot th { text-align: left; font-weight: 600; padding: 9px 10px 9px 0; border: 0; border-bottom: 1px solid var(--ligne); background: none; text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--encre); }
body .mja .mja-stat-tableau thead th.mja-nombre { text-align: right; white-space: normal; min-width: 92px; }
body .mja .mja-stat-tableau tfoot th, body .mja .mja-stat-tableau tfoot td { border-top: 2px solid var(--ligne-forte); border-bottom: 0; }
body .mja .mja-stat-pct { display: block; font-size: 12px; color: var(--ardoise); }
@media (max-width: 600px) {
  body .mja .mja-stat-barres li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  body .mja .mja-stat-piste { grid-column: 1 / -1; grid-row: 2; }
}

/* File d'attente des e-mails ([file-attente-emails], 2026-11-21) */
body .mja .mja-file-statuts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
body .mja a.mja-file-statut { display: block; background: #fff; border: 1px solid var(--ligne); border-top: 4px solid var(--st); border-radius: 12px; padding: 12px 14px; color: var(--encre); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
body .mja a.mja-file-statut:hover { border-color: var(--st); box-shadow: var(--ombre); text-decoration: none; color: var(--encre); }
body .mja a.mja-file-statut:focus-visible { outline: none; box-shadow: var(--focus); }
body .mja a.mja-file-statut.actif { background: var(--st-fond); border-color: var(--st); }
body .mja a.mja-file-statut.alerte b { color: var(--st); }
body .mja .mja-file-statut .mja-resume-libelle { display: flex; align-items: center; gap: 7px; }
body .mja .mja-file-statut .mja-resume-libelle i { width: 9px; height: 9px; border-radius: 50%; background: var(--st); flex: none; }
body .mja .mja-file-statut b { display: block; font-family: var(--f-titre); font-weight: 600; font-size: 26px; line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
body .mja .mja-file-statut small { display: block; font-size: 12.5px; color: var(--ardoise); margin-top: 2px; }
body .mja .mja-file-envoi { margin-bottom: 18px; }
body .mja .mja-file-jauges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
body .mja .mja-file-jauges section, body .mja .mja-file-detail, body .mja .mja-file-rejetes { padding: 0; margin: 0; width: auto; }
body .mja .mja-file-jauges h2 { font-size: 19px; margin-bottom: 8px; }
body .mja .mja-file-jauges h2 .mja-discret { font-family: var(--f-texte); font-weight: 400; }
body .mja .mja-file-chiffre { font-size: 15px; color: var(--ardoise); }
body .mja .mja-file-chiffre b { font-family: var(--f-titre); font-size: 24px; font-weight: 600; color: var(--encre); font-variant-numeric: tabular-nums; }
body .mja .mja-file-jauge { position: relative; display: block; height: 10px; margin: 10px 0 2px; border-radius: 999px; background: var(--brume); box-shadow: inset 0 0 0 1px var(--ligne); }
body .mja .mja-file-jauge > span { display: block; height: 100%; min-width: 3px; border-radius: 999px; background: var(--jade); }
body .mja .mja-file-jauge.plein > span { background: #B54708; }
body .mja .mja-file-jauge em { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--lavande); border-radius: 2px; }
body .mja .mja-file-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ligne); }
body .mja .mja-file-actions form { margin: 0; }
body .mja .mja-file-actions .mja-aide { margin-top: 2px; }
body .mja .mja-file-boutons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
body .mja .mja-file-detail { margin-bottom: 18px; padding: clamp(20px, 3.5vw, 32px); border-color: var(--lavande); box-shadow: 0 0 0 3px var(--lavande-clair), var(--ombre); scroll-margin-top: 110px; }
body .mja .mja-file-detail-tete { display: flex; gap: 12px 20px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
body .mja .mja-file-detail-tete h2 { margin: 4px 0 8px; overflow-wrap: anywhere; }
body .mja .mja-file-detail .mja-avert { margin-bottom: 16px; overflow-wrap: anywhere; }
body .mja dl.mja-file-champs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; margin: 0; padding: 14px 0; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); font-size: 14.5px; }
body .mja .mja-file-champs dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ardoise); margin: 0; }
body .mja .mja-file-champs dd { margin: 2px 0 0; overflow-wrap: anywhere; }
body .mja .mja-file-sous-titre { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jade); }
body .mja ul.mja-file-pj { margin: 0; padding-left: 20px; font-size: 14.5px; }
body .mja iframe.mja-file-corps { display: block; width: 100%; height: 600px; border: 1px solid var(--ligne); border-radius: 12px; background: #fff; }
body .mja pre.mja-file-brut { white-space: pre-wrap; max-height: 600px; overflow: auto; margin: 0; padding: 14px; border: 1px solid var(--ligne); border-radius: 12px; background: var(--brume); font-size: 12.5px; }
body .mja .mja-file-titre-outils { font-size: 19px; margin-bottom: 12px; }
body .mja .mja-filtres input.mja-saisie { max-width: none; min-height: 42px; font-size: 15px; padding-right: 14px; }
body .mja.mja-file .mja-filtres .mja-champ { flex: 1 1 150px; }
body .mja.mja-file .mja-filtres .mja-champ-date { flex: 0 1 160px; }
body .mja.mja-file .mja-filtres .mja-btn { padding: 0 18px; }
body .mja .mja-file-tableau .mja-actions-ligne { flex-wrap: nowrap; }
body .mja #mja-liste { scroll-margin-top: 110px; }
body .mja .mja-file-compte { margin: 0 0 8px; font-size: 14px; color: var(--ardoise); }
body .mja .mja-file-tableau td { vertical-align: top; }
body .mja .mja-file-tableau td.mja-file-dest { overflow-wrap: anywhere; min-width: 190px; max-width: 280px; }
body .mja .mja-file-tableau td.mja-file-titre { min-width: 200px; }
body .mja .mja-file-titre small { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; color: var(--ardoise); margin-top: 2px; }
body .mja .mja-file-date { white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 13.5px; }
body .mja .mja-file-tableau tr.mja-file-courant td { background: var(--lavande-clair); }
body .mja .mja-file-urgent { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--alerte-fond); color: var(--alerte); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; vertical-align: 1px; white-space: nowrap; }
body .mja details.mja-file-rejetes { margin-top: 18px; padding: 0; }
body .mja .mja-file-rejetes > summary { display: flex; align-items: center; gap: 12px; padding: 18px 22px; cursor: pointer; list-style: none; }
body .mja .mja-file-rejetes > summary::-webkit-details-marker { display: none; }
body .mja .mja-file-rejetes > summary::after { content: ""; margin-left: auto; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ardoise); border-bottom: 2px solid var(--ardoise); transform: rotate(45deg); transition: transform .15s; }
body .mja .mja-file-rejetes[open] > summary::after { transform: rotate(-135deg); }
body .mja .mja-file-rejetes > summary h2 { font-size: 19px; }
body .mja .mja-file-rejetes > summary small { display: block; font-size: 14px; color: var(--ardoise); margin-top: 2px; }
body .mja .mja-file-rejetes-corps { padding: 0 22px 22px; }
body .mja .mja-file-rejetes-corps > p { color: var(--ardoise); font-size: 15px; max-width: 75ch; margin: 0 0 14px; }
body .mja .mja-file-rejetes-corps .mja-tableau-defile { margin-bottom: 14px; }
body .mja .mja-file-rejetes-form { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin: 0; }
body .mja .mja-file-rejetes-form .mja-champ { flex: 1 1 320px; }
body .mja .mja-file-rejetes-form .mja-champ > label { font-size: 13px; color: var(--ardoise); }
body .mja details.mja-file-rejetes.mja-file-rejetes-haut { margin: 0 0 18px; }
@media (max-width: 1000px) {
  body .mja .mja-file-statuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body .mja dl.mja-file-champs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body .mja .mja-file-statuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .mja .mja-file-jauges, body .mja .mja-file-actions, body .mja dl.mja-file-champs { grid-template-columns: 1fr; }
  body .mja .mja-file-detail .mja-btn-fiche, body .mja .mja-file-boutons .mja-btn-fiche { min-height: 38px; }
}

/* Historique des actions ([historique-actions], 2026-11-21) */
body .mja.mja-histo .mja-filtres .mja-champ-date { flex: 0 1 165px; }
body .mja.mja-histo .mja-filtres .mja-histo-texte { flex: 1 1 260px; }
body .mja.mja-histo .mja-filtres input.mja-saisie { max-width: none; min-height: 42px; font-size: 15px; padding-right: 14px; }
body .mja.mja-histo .mja-filtres .mja-btn { padding: 0 18px; }
body .mja .mja-histo-bascule { margin-top: 14px; flex-wrap: wrap; }
body .mja .mja-histo-bascule .mja-discret { font-size: 13px; }
body .mja .mja-histo-gravites { margin: 0 0 14px; scroll-margin-top: 110px; }
body .mja a.mja-puce-statut { text-decoration: none; }
body .mja a.mja-puce-statut.actif:hover { color: #fff; }
body .mja .mja-histo-pages { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin: 0 0 8px; font-size: 14px; color: var(--ardoise); font-variant-numeric: tabular-nums; }
body .mja .mja-carte-tableau + .mja-histo-pages { margin: 10px 0 0; }
body .mja .mja-histo-pages .mja-actions-ligne { align-items: center; }
body .mja .mja-histo-page { padding: 0 6px; }
body .mja .mja-histo-tableau td { vertical-align: top; font-size: 14px; }
body .mja .mja-histo-tableau tr.mja-histo-jour th { padding: 14px 0 6px; background: #fff; border-bottom: 1px solid var(--ligne-forte); font-family: var(--f-titre); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--encre); }
body .mja .mja-histo-tableau tbody tr:first-child.mja-histo-jour th { padding-top: 8px; }
body .mja .mja-histo-heure { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ardoise); }
body .mja .mja-histo-action { font-weight: 600; min-width: 180px; max-width: 300px; overflow-wrap: anywhere; }
body .mja .mja-histo-action i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--st); margin-right: 8px; vertical-align: 1px; }
body .mja .mja-histo-tableau tr.st-rouge .mja-histo-action { color: var(--st); }
body .mja .mja-histo-quoi { min-width: 220px; max-width: 420px; overflow-wrap: anywhere; color: var(--encre); }
body .mja .mja-histo-qui { white-space: nowrap; }
body .mja .mja-histo-fct { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--ardoise); overflow-wrap: anywhere; max-width: 200px; }
body .mja .mja-histo-ip { font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
