/* CFT-2287 : Mes castings et la feuille des préférences.
 *
 * La page porte `.cfc` et `.cfh` : la typographie, le fond, le bandeau et les boutons viennent
 * de castings.css, refonte.css et styles.css, inchangés. Ici, seulement ce que cette page a en
 * propre, sous le préfixe `mc-`.
 *
 * LE DESSIN EST CELUI DE TROIS CADRES. Fichier Figma fO5wlLtZJMNxOpn9UHKj9a, à 1440 px :
 * 547:12626 (un membre Pro), 547:13490 (la feuille ouverte) et 547:16290 (un membre gratuit).
 * Chaque bloc ci-dessous porte le numéro du cadre et ses chiffres, et
 * server/mes-castings.selftest.js les relit : une valeur qui bouge est une décision, pas une
 * dérive (Charbel, 2026-11-29).
 *
 * LES CARTES NE SONT PAS ICI. Un casting se dessine avec `hubCardHtml` et les règles `.cfk-*` de
 * castings.css : une carte de Mes castings a exactement le dessin de la même carte sur le hub.
 * La GRILLE, elle, est celle du cadre : quatre colonnes de 16 px d'écart au-dessus de 1240 px,
 * là où le hub en pose trois. Le verrou d'un compte gratuit (carte floutée sous un cadenas) est
 * aussi une règle de CETTE page, `pro.css` gardant le dessin sombre du hub.
 *
 * RIEN NE DÉBORDE. Toutes les largeurs sont en `min()` ou en `1fr`, la feuille se replie en une
 * colonne et les fenêtres se bornent à la fenêtre du navigateur moins 24 px. Mesuré par
 * server/debordement.selftest.js à 320, 360, 390 et 430 px.
 */

.mc{--mc-encre:#111110; --mc-gris:#6b747c; --mc-filet:#e5e8eb; --mc-teal:#007692;
  --mc-teal-clair:#dff0f4}
.mc .rf-section__in{min-width:0}
/* Une phrase lue par un lecteur d'ecran seulement : le verrou Pro d'une puce fixe, et le
   compte d'une pastille (le nombre s'imprime « 3 », il se dit « 3 castings »). */
.mc-sr{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0}
/* `hidden` doit gagner contre `display:flex` : sans cette ligne, une pastille ou une ligne
   cachée par le script reste visible (même piège que sur le reste du site). */
.mc [hidden]{display:none !important}

/* ── Le titre et la pastille ─────────────────────────────────────────────── */
/* Cadre 547:12659 : 44 px au-dessus, 44 px de titre, 28 px en dessous. */
.mc-tete{padding-bottom:28px}
.mc-h1{display:flex; align-items:center; flex-wrap:wrap; gap:16px}
/* Cadre 547:12664 : 31 px de haut, 14 px de marge, Unbounded 12 px sur #e3f1f5. */
.mc-badge{display:inline-flex; align-items:center; height:31px; padding:0 14px; border-radius:999px;
  background:#e3f1f5; color:var(--mc-teal); font-family:Unbounded, Geist, sans-serif;
  font-size:12px; font-weight:600; line-height:1; letter-spacing:0; white-space:nowrap}

/* ── La barre des préférences ────────────────────────────────────────────── */
/* Cadre 547:12667 : 72 px de haut (18 + 36 + 18), 40 px à gauche, 28 à droite, rayon 28. */
.mc-prefs{margin-top:0}
.mc-barre{display:flex; align-items:center; gap:16px; flex-wrap:wrap;
  padding:18px 28px 18px 40px; background:#fff; border-radius:28px}
.mc-barre__titre{font-size:16px; font-weight:600; line-height:normal; white-space:nowrap}
.mc-barre__puces{list-style:none; display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  margin:0; padding:0; min-width:0; flex:1 1 260px}
.mc-barre__puce{display:inline-flex; align-items:center; height:28px; padding:0 12px; border-radius:14px;
  background:var(--mc-teal-clair); color:var(--mc-teal); font-size:13px; font-weight:500;
  line-height:normal; white-space:nowrap; max-width:100%; overflow:hidden; text-overflow:ellipsis}
.mc-barre__plus{font-size:13px; font-weight:500; color:var(--mc-gris); white-space:nowrap}
.mc-barre__b{flex:none}

/* ── Les boutons de la page ──────────────────────────────────────────────── */
.mc-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; height:38px;
  padding:0 18px; border:1px solid transparent; border-radius:999px; font-size:14px; font-weight:500;
  line-height:1; cursor:pointer; text-decoration:none; white-space:nowrap; max-width:100%}
.mc-btn--noir{background:var(--mc-encre); color:#fff}
.mc-btn--noir:hover{background:#242424}
.mc-btn--blanc{background:#fff; color:var(--mc-encre); border-color:var(--mc-filet)}
.mc-btn--blanc:hover{border-color:rgba(0,0,0,.22)}
.mc-btn:focus-visible{outline:2px solid var(--mc-teal); outline-offset:2px}
.mc-btn[disabled]{opacity:.5; cursor:not-allowed}
.mc-chev{width:12px; height:12px; flex:none}
.mc-rond{display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px;
  border-radius:50%; background:currentColor; color:#fff; flex:none}
.mc-btn--blanc .mc-rond{background:var(--mc-encre)}
.mc-rond svg{width:15px; height:15px; color:#fff}
/* Le bouton de la barre et celui de la feuille sont des rectangles de 10 px, pas des pilules,
   et leur chevron dit le sens : vers le bas pour ouvrir, vers le haut pour fermer. */
.mc-barre__b.mc-btn, .mc-feuille__b.mc-btn{height:36px; padding:0 12px 0 16px; border-radius:10px;
  font-size:13px; font-weight:600; gap:8px}
.mc-barre__b .mc-chev{transform:rotate(90deg)}
.mc-feuille__b .mc-chev{transform:rotate(-90deg)}

/* ── La feuille des préférences ──────────────────────────────────────────── */
/* Cadre 547:13532 : 457 px de haut, rayon 28, 40 px de marge, 16 en haut et 20 en bas. */
.mc-feuille{margin-top:86px; padding:16px 40px 20px; background:#fff; border-radius:28px}
.mc-feuille__haut{display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:8px 0 12px}
.mc-feuille__titre{margin:0; font-size:16px; font-weight:600; line-height:normal}
.mc-filet{height:1px; background:var(--mc-filet)}
.mc-lignes{display:grid; grid-template-columns:minmax(0,1fr); grid-auto-flow:row}
.mc-ligne{display:grid; grid-template-columns:minmax(0,1fr) 12px; grid-template-areas:"l c" "v c";
  align-items:center; gap:6px 16px; width:100%; padding:20px 0; background:none; border:0;
  border-bottom:1px solid var(--mc-filet); text-align:left; font:inherit; color:inherit; cursor:pointer}
.mc-ligne:last-child{border-bottom:0}
.mc-ligne:hover .mc-ligne__v{color:var(--mc-teal)}
.mc-ligne:focus-visible{outline:2px solid var(--mc-teal); outline-offset:-2px; border-radius:8px}
.mc-ligne__l{grid-area:l; font-size:11px; font-weight:600; line-height:14px; letter-spacing:.66px;
  text-transform:uppercase; color:var(--mc-gris)}
.mc-ligne__v{grid-area:v; font-size:15px; font-weight:500; line-height:20px; color:var(--mc-encre);
  min-width:0; overflow-wrap:anywhere}
.mc-ligne__v[data-mc-etat="vide"]{color:var(--mc-gris); font-weight:400}
.mc-ligne > .mc-chev{grid-area:c; align-self:center; color:var(--mc-gris); width:10px; height:10px}
.mc-note{margin:14px 0 0; font-size:12.5px; line-height:1.5; color:var(--mc-gris)}
.mc-note a{color:var(--mc-teal); text-decoration:underline}

@media (min-width:900px){
  /* Cadre 547:13540 : deux colonnes de 552 px, 64 px entre elles, remplies par le HAUT.
     Le filet de chaque ligne tient la largeur de SA colonne, et la dernière de chaque colonne
     n'en porte pas : c'est ce que le cadre dessine, sans filet vertical entre les colonnes. */
  .mc-lignes{grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:repeat(5, auto);
    column-gap:64px; grid-auto-flow:column}
  .mc-ligne{grid-template-columns:130px minmax(0,1fr) 12px; grid-template-areas:"l v c"; gap:16px}
  .mc-ligne:nth-child(5n){border-bottom:0}
}

/* ── La porte du visiteur ────────────────────────────────────────────────── */
.mc-porte{margin-top:24px; padding-bottom:96px}
.mc-porte__carte{padding:40px 24px; background:#fff; border-radius:24px; text-align:center}
.mc-porte__titre{margin:0; font-size:24px; font-weight:600; letter-spacing:-.025em}
.mc-porte__texte{max-width:520px; margin:12px auto 0; font-size:15px; line-height:1.5; color:var(--mc-gris)}
.mc-porte__boutons{display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:22px}
@media (min-width:768px){ .mc-porte__carte{padding:56px 40px} .mc-porte__titre{font-size:30px} }

/* ── Les envois, groupés par date ────────────────────────────────────────── */
/* Cadre 547:12689 : la frise commence 40 px sous la barre des préférences, et la page laisse
   96 px sous le dernier bouton avant le pied de page. */
.mc-envois{margin-top:40px; padding-bottom:96px}
.mc-etat, .mc-vide{margin:8px 0 0; font-size:15px; line-height:1.5; color:var(--mc-gris)}
.mc-vide b{color:var(--mc-encre); font-weight:600}
.mc-lien{background:none; border:0; padding:0; font:inherit; color:var(--mc-teal); text-decoration:underline; cursor:pointer}

/* La barre noire d'un compte gratuit (cadre 547:16353) : 64 px de haut, rayon 16, 24 px à
   gauche, 12 à droite, le bouton blanc de 40 px. */
.mc-bandeau{display:flex; align-items:center; justify-content:space-between; gap:16px;
  margin-bottom:40px; padding:12px 12px 12px 24px; background:var(--mc-encre); border-radius:16px}
.mc-bandeau__txt{display:flex; flex-direction:column; gap:2px; min-width:0}
.mc-bandeau__t{margin:0; font-size:16px; font-weight:600; line-height:21px; color:#fff}
.mc-bandeau__p{margin:0; font-size:13px; font-weight:500; line-height:17px; color:#b8c0c7}
.mc-bandeau__b{display:inline-flex; align-items:center; justify-content:center; flex:none; height:40px;
  padding:0 18px; border-radius:10px; background:#fff; color:var(--mc-encre); font-size:14px;
  font-weight:600; line-height:1; text-decoration:none; white-space:nowrap}
.mc-bandeau__b:hover{background:#eceff0}
.mc-bandeau__b:focus-visible{outline:2px solid #fff; outline-offset:2px}

.mc-groupe{margin-top:40px}
.mc-groupe:first-child{margin-top:0}
/* Cadre 547:12691 : 40 px de pastille, 16 px, puis le titre de 20 px et sa ligne de 15 px. */
.mc-groupe__tete{display:flex; align-items:center; gap:16px; margin:0}
.mc-groupe__pastille{display:inline-flex; align-items:center; justify-content:center; width:40px;
  height:40px; border-radius:20px; background:var(--mc-teal); color:#fff; flex:none}
.mc-groupe__pastille svg{width:18px; height:14.73px}
.mc-groupe__t{display:flex; flex-direction:column; gap:4px; padding-top:6px; min-width:0}
.mc-groupe__date{font-size:20px; font-weight:600; line-height:26px; letter-spacing:0}
.mc-groupe__sous{display:flex; align-items:center; gap:8px; font-size:15px; font-weight:500;
  line-height:21px; color:rgba(17,17,16,.5)}
.mc-groupe__n{display:inline-flex; align-items:center; padding:2px 8px; border-radius:999px;
  background:#fff; font-size:13px; font-weight:500; line-height:17px; color:var(--mc-encre)}

/* ── Les expirés ─────────────────────────────────────────────────────────── */
/* Cadre 547:13359 : même tête que les envois, pastille éteinte, lignes de 70 px sur #f3f4f5. */
.mc-expires{margin-top:40px}
.mc-expires__tete{display:flex; align-items:center; gap:16px}
.mc-expires__pastille{display:inline-flex; align-items:center; justify-content:center; width:40px;
  height:40px; border-radius:20px; background:#f3f4f5; opacity:.6; color:#fff; flex:none}
.mc-expires__pastille svg{width:18px; height:14.73px}
.mc-expires__t{display:flex; flex-direction:column; gap:4px; padding-top:6px; min-width:0}
.mc-expires__t b{font-size:20px; font-weight:600; line-height:26px}
.mc-expires__sous{display:flex; align-items:center; gap:8px; font-size:15px; font-weight:500;
  line-height:21px; color:rgba(17,17,16,.5)}
.mc-expires__liste{list-style:none; margin:16px 0 0; padding:0; display:flex; flex-direction:column; gap:8px}
.mc-expire{display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:16px;
  padding:14px 20px; background:rgba(255,255,255,.6); border:1px solid rgba(17,17,16,.06);
  border-radius:16px}
.mc-expire__ic{height:28px; width:auto; flex:none; opacity:.4}
.mc-expire__t{display:flex; flex-direction:column; gap:2px; min-width:0}
.mc-expire__titre{font-size:16px; font-weight:600; line-height:21px; color:rgba(17,17,16,.55);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.mc-expire__type{font-size:13px; line-height:17px; color:rgba(17,17,16,.4);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.mc-expire__quand{padding:4px 10px; border-radius:999px; background:#f3f4f5; font-size:13px;
  font-weight:500; line-height:17px; color:rgba(17,17,16,.5); white-space:nowrap}

/* Cadre 547:13434 : 54 px de haut, pilule, 26 px à gauche, 8 à droite, le rond noir de 36.
   Le cadre laisse 24 px sous le bouton avant la fin de la frise. */
.mc-historique{margin-top:8px; padding-bottom:24px}
.mc-historique__b.mc-btn{height:54px; padding:8px 8px 8px 26px; border-radius:999px; gap:16px;
  font-size:16px; font-weight:500; letter-spacing:-.16px; border-color:rgba(17,17,16,.12)}
.mc-historique__b .mc-rond{width:36px; height:36px; background:var(--mc-encre)}
.mc-historique__b .mc-rond svg{width:16px; height:16px}
.mc-historique .mc-note{margin-top:8px}

/* ── Les fenêtres ────────────────────────────────────────────────────────── */
.mc-f{width:min(590px, calc(100vw - 24px)); max-height:calc(100vh - 32px); margin:auto; padding:0;
  border:0; border-radius:28px; background:#fff; color:var(--mc-encre);
  box-shadow:0 12px 40px rgba(0,0,0,.14); overflow:visible}
.mc-f::backdrop{background:rgba(12,20,24,.45)}
.mc-f__forme{display:flex; flex-direction:column; gap:20px; max-height:calc(100vh - 32px); padding:24px 28px 28px}
.mc-f__haut{display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.mc-f__titre{margin:2px 0 0; font-size:20px; font-weight:600; letter-spacing:-.02em}
.mc-f__x{display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px;
  border:0; border-radius:50%; background:#eef1f2; color:#3f4750; font-size:17px; line-height:1; cursor:pointer; flex:none}
.mc-f__x:hover{background:#e2e6e8}
.mc-f__x:focus-visible{outline:2px solid var(--mc-teal); outline-offset:2px}
/* Le cadre du Sexe dessine un select de 200 px, pas une ligne entiere. */
.mc-f[data-mc-f="sexe"] .mc-select{width:200px}
.mc-f__corps{display:flex; flex-direction:column; gap:20px; padding:0; overflow:auto; min-height:0}
.mc-f__fini{width:100%; height:44px; font-size:14px; font-weight:600; border-radius:12px; flex:none}

/* Les libellés de champ et les champs */
.mc-champ{display:flex; flex-direction:column; gap:8px}
.mc-champ__l{margin:0; font-size:11px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; color:var(--mc-gris)}
.mc-champ__boite{display:flex; align-items:center; gap:10px; height:44px; padding:0 14px;
  border:1px solid #e5e8eb; border-radius:10px; background:#fff; min-width:0}
.mc-champ__boite:focus-within{border-color:var(--mc-teal); box-shadow:0 0 0 3px rgba(0,118,146,.12)}
.mc-pin{width:16px; height:16px; color:var(--mc-teal); flex:none}
.mc-champ__c{flex:1 1 auto; min-width:0; height:100%; border:0; outline:0; background:none; font:inherit; font-size:15px}
.mc-select{width:100%; height:44px; padding:0 38px 0 14px; font:inherit; font-size:14px; color:inherit;
  border:1px solid #e5e8eb; border-radius:10px; background:#fff; appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6.25 8 10.25l4-4' stroke='%233f4750' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:16px}
.mc-select:focus-visible{outline:2px solid var(--mc-teal); outline-offset:1px}
.mc-aide{margin:0; font-size:12.5px; line-height:1.5; color:var(--mc-gris)}
/* Le moment se lit a cote de son select, pas au-dessus : les cadres des Courriels et de la
   Distance en font une ligne. */
.mc-champ--moment{flex-direction:row; align-items:center; gap:12px}
.mc-champ--moment .mc-champ__l{text-transform:none; letter-spacing:0; font-size:15px; font-weight:400}
.mc-champ--moment .mc-select{width:160px; flex:none}
.mc-deux{display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:end; gap:12px}
.mc-deux__a{font-size:14px; color:var(--mc-gris); padding-bottom:12px; text-align:center}

/* Un nombre avec ses deux boutons (les cadres : 44, 88, 44, rayon 10) */
.mc-nombre{display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap}
.mc-nombre__b{display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px;
  border:1px solid #e5e8eb; border-radius:10px; background:#fff; color:inherit;
  font-size:18px; line-height:1; cursor:pointer; flex:none}
.mc-nombre__b:hover{border-color:rgba(0,0,0,.3)}
.mc-nombre__b:focus-visible{outline:2px solid var(--mc-teal); outline-offset:2px}
.mc-nombre__c{width:88px; height:44px; padding:0 6px; text-align:center; font:inherit; font-size:18px; font-weight:600;
  border:1px solid var(--mc-teal); border-radius:10px; background:#fff; color:inherit; appearance:textfield}
.mc-nombre__c::-webkit-outer-spin-button, .mc-nombre__c::-webkit-inner-spin-button{-webkit-appearance:none; margin:0}
.mc-nombre__c:focus-visible{outline:2px solid var(--mc-teal); outline-offset:2px}
.mc-nombre__s{font-size:15px; color:var(--mc-gris)}
/* L'interrupteur du cachet minimum ferme : la ligne reste la, a moitie effacee et non cliquable. */
.mc-nombre--off{opacity:.5}
.mc-nombre--off .mc-nombre__c{border-color:#e5e8eb}

/* Une bascule */
.mc-bascule{display:flex; align-items:center; gap:12px; font-size:14px; cursor:pointer}
.mc-bascule--titre{justify-content:space-between}
.mc-bascule--titre > span{font-weight:500}
.mc-bascule input{appearance:none; width:40px; height:24px; border-radius:999px; background:#dfe3e5;
  position:relative; cursor:pointer; flex:none; transition:background .15s}
.mc-bascule input::after{content:""; position:absolute; top:3px; left:3px; width:18px; height:18px;
  border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.2); transition:transform .15s}
.mc-bascule input:checked{background:var(--mc-teal)}
.mc-bascule input:checked::after{transform:translateX(16px)}
.mc-bascule input:focus-visible{outline:2px solid var(--mc-teal); outline-offset:2px}

/* Les puces cochables */
.mc-puces{display:flex; flex-wrap:wrap; gap:8px; min-width:0}
.mc-puce{display:inline-flex; min-width:0; max-width:100%}
.mc-puce input{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0}
.mc-puce label{display:inline-flex; flex-direction:column; gap:2px; justify-content:center; min-height:32px;
  padding:5px 14px; border-radius:16px; border:1px solid #e5e8eb; background:#fff;
  font-size:13px; font-weight:500; line-height:1.2; color:#3f4750; cursor:pointer; max-width:100%; overflow-wrap:anywhere}
.mc-puce label:hover{border-color:rgba(0,0,0,.28)}
.mc-puce input:checked + label{border-color:var(--mc-teal); background:#dff0f4; color:var(--mc-teal)}
.mc-puce input:focus-visible + label{outline:2px solid var(--mc-teal); outline-offset:2px}
/* Une puce verrouillée garde le dessin d'une puce cochee (le cadre dessine « Castflow » et
   « Courriels (directeurs) » comme les autres) : elle ne se clique simplement pas, et la
   phrase « Reserve a Castflow Pro » est lue par un lecteur d'ecran. */
.mc-puce input:disabled + label{cursor:default}

/* La ligne Pro d'une fenêtre verrouillée */
.mc-verrou{display:flex; align-items:center; gap:8px; margin:0 0 8px; padding:10px 12px;
  background:#f4f6f7; border-radius:12px; font-size:12.5px; color:#3f4750}
.mc-verrou a{color:var(--mc-teal); font-weight:500; text-decoration:underline; margin-left:auto}
.mc-lock{width:16px; height:16px; flex:none}
.mc-f[data-mc-verrouille] .mc-f__corps{opacity:.55}

/* ── Les cartes restent celles du hub ────────────────────────────────────── */
/* Cadre 547:12700 : quatre colonnes de 299 px, 16 px entre elles, 16 px sous la tête du
   groupe et 56 px sous la dernière rangée. La carte elle-même ne change pas : c'est
   `hubCardHtml` et les règles `.cfk-*` de castings.css, inchangées. */
.mc .cfh-cartes{margin:16px 0 0; gap:16px; padding-bottom:56px}
@media (min-width:1240px){
  .mc .cfh-cartes{grid-template-columns:repeat(4, minmax(0, 1fr))}
}

/* Le verrou d'une carte pour un compte gratuit (cadre 547:16290) : la carte ouverte garde son
   dessin, et une carte fermée est la MÊME carte bleue, floutée, sous l'autocollant cadenas.
   Le dessin sombre du paywall (assets/css/pro.css) reste celui du hub : ici, sous `.mc`
   seulement, la carte fermée reprend la carte bleue et son autocollant, sans couronne, parce
   que c'est ce que le cadre de cette page dessine. Rien de tout cela ne sort de `.mc`. */
.mc .cfk-item--verrou{position:relative}
.mc .cfk-item--verrou .cfk{filter:blur(5px); box-shadow:none}
.mc .cfk-item--verrou .cfk__haut{background:linear-gradient(180deg, #258fba, #1f5e7b)}
.mc .cfk-item--verrou .cfk__sticker{display:block}
.mc .cfk-item--verrou .cfpro-couronne{display:none}
.mc .cfk-item--verrou::after{content:""; position:absolute; left:50%; top:43%; width:46px; height:59px;
  transform:translate(-50%, -50%) rotate(-4deg); pointer-events:none;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 59' fill='none'%3E%3Crect x='5' y='24' width='36' height='28' rx='8' stroke='%23ffffff' stroke-width='4'/%3E%3Cpath d='M13 24V17a10 10 0 0 1 20 0v7' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='23' cy='38' r='3' fill='%23ffffff'/%3E%3C/svg%3E")}

@media (max-width:639px){
  .mc-barre{padding:14px; border-radius:18px}
  .mc-barre__puces{flex:1 1 100%}
  .mc-bandeau{flex-direction:column; align-items:stretch; gap:12px; padding:16px; border-radius:14px}
  .mc-bandeau__b{width:100%}
  .mc-feuille{margin-top:24px; padding:14px 16px 18px; border-radius:18px}
  .mc-feuille__haut{flex-wrap:wrap}
  .mc-f__forme{padding:20px 16px 16px; gap:16px}
  .mc-groupe__tete, .mc-expires__tete{gap:12px}
  .mc-groupe__date, .mc-expires__t b{font-size:17px; line-height:22px}
  .mc-groupe__sous, .mc-expires__sous{font-size:13.5px; line-height:19px}
  .mc-expire{grid-template-columns:minmax(0,1fr); gap:6px; padding:12px 14px}
  .mc-expire__ic{display:none}
  .mc-expire__quand{justify-self:start}
  .mc-historique__b.mc-btn{height:48px; font-size:15px}
  .mc-historique__b .mc-rond{width:32px; height:32px}
}

/* Charbel, 2026-11-29 : la feuille des preferences prend la page, la barre du site
   s'efface pendant qu'elle est ouverte (mes-castings.js pose la classe). */
html.mc-feuille-ouverte .cf-nav,
html.mc-feuille-ouverte .cf-tiroir,
html.mc-feuille-ouverte .cf-menu { display: none; }
