/* Marathon 2027 · les pages membre. Le socle (jetons, boutons, cartes, champs) est dans style.css : ici, seulement ce qui manque.
   Mobile d'abord (375 px), puis ordinateur (≥ 900 px). Blanc cassé, gris, noir. Pas de dégradé, pas de couleur. */

.chargement { padding-top: 96px; text-align: center; }
.sans-js { padding-top: 40px; }
.centre { text-align: center; }
.droite { text-align: right; }
.casse { overflow-wrap: anywhere; word-break: break-word; }
.coupe { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coupe1 { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ligne.serre { gap: 8px; }
.ligne.bas { align-items: flex-end; }
.ligne.haut-l { align-items: flex-start; gap: 14px; }
.pile.serre-pile { gap: 6px; }
.pile.large-pile { gap: 28px; }
.ico { flex: none; display: block; }
.btn.rond { width: 48px; min-width: 48px; min-height: 48px; padding: 0; font-size: 22px; }
.texte-long { white-space: pre-wrap; overflow-wrap: anywhere; }
.signe { padding-top: 4px; }
audio, video { width: 100%; max-width: 100%; display: block; border-radius: var(--rayon-p); }
video { background: var(--encre); max-height: 70vh; }
.piece-img { width: 100%; border-radius: var(--rayon-p); border: 1px solid var(--trait); }
textarea.saisie.basse, .champ textarea.basse { min-height: 92px; }
.sur-large { display: none; }

/* ───── la barre du haut (entrée, parcours, attente) ───── */
.haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 16px/1.1 var(--police); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.marque::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--encre); flex: none; }
.cloche { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--encre); }
.cloche:hover { background: rgba(11, 11, 11, .06); }
.compteur { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--encre); color: var(--fond);
  font: 600 11px/18px var(--police); text-align: center; letter-spacing: 0; }

/* ───── l'accueil ───── */
.accueil { padding-top: 34px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 22px; }
.accueil h1 { max-width: 15em; }
.accroche { font-size: 18px; max-width: 34em; }
.actions { margin-top: 6px; }
.actions .btn { flex: 1 1 230px; }
.trois { display: grid; gap: 12px; margin-top: 30px; }
.trois .carte { display: flex; flex-direction: column; gap: 10px; }
.trois .num { font-size: 15px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(11, 11, 11, .25); display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; margin-bottom: 6px; }
.pied { margin-top: 26px; }

/* ───── créer un compte, se connecter ───── */
.auth { padding-top: 26px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 14px; }
.auth form { margin-top: 12px; }
.auth .btn.large { margin-top: 6px; }

/* ───── les écrans calmes (attente, refus, liste d'attente) ───── */
.calme { padding-top: 12vh; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.calme h2 { margin-bottom: 4px; }
.attend { display: flex; gap: 7px; margin-top: 18px; }
.attend i { width: 8px; height: 8px; border-radius: 50%; background: var(--encre); animation: respire 1.8s ease-in-out infinite; }
.attend i:nth-child(2) { animation-delay: .25s; } .attend i:nth-child(3) { animation-delay: .5s; }
@keyframes respire { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.calme-c { padding: 34px 22px; align-items: flex-start; }
.visage.creux { background: none; border: 1.5px dashed var(--gris3); }

/* ───── le parcours d'arrivée ───── */
.parcours { display: flex; flex-direction: column; min-height: calc(100dvh - 68px); padding-bottom: 0; }
.p-haut { display: flex; flex-direction: column; gap: 10px; padding: 6px 0 0; }
.p-corps { flex: 1; padding: 30px 0 28px; gap: 18px; }
.p-corps h2 { font-size: clamp(27px, 7vw, 38px); }
.aide { margin-top: -6px; }
.p-bas { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); background: var(--fond); border-top: 1px solid var(--trait); }
.p-bas .btn.noir { flex: 1; }
.p-bas .btn:not(.noir) { width: 52px; padding: 0; flex: none; }

.onglets { display: flex; gap: 8px; }
.onglets .choix { flex: 1; gap: 8px; min-height: 48px; }
.vocal { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; background: var(--blanc); }
.vocal .btn { align-self: stretch; }
.vocal .ligne.coule .btn { flex: 1 1 140px; }
.chrono { font-size: 56px; }
.pouls { width: 12px; height: 12px; border-radius: 50%; background: var(--encre); animation: respire 1.1s ease-in-out infinite; }

.rond-etat { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--gris3); display: inline-flex; align-items: center; justify-content: center; color: var(--fond); }
.rond-etat.fait { background: var(--encre); border-color: var(--encre); }
.rond-etat.g { width: 36px; height: 36px; }
.rond-etat.g:not(.fait) { border-color: var(--encre); }

.vignettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vignette { position: relative; aspect-ratio: 1; border-radius: var(--rayon-p); overflow: hidden; background: var(--creux); display: block; }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.vignette.creuse { background: none; border: 1.5px dashed var(--gris3); }
.retirer { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: flex; align-items: flex-start; justify-content: flex-end; }
.retirer .ico { margin: 6px; padding: 5px; width: 28px; height: 28px; border-radius: 50%; background: var(--encre); color: var(--fond); }
.retirer[disabled] { opacity: .4; }

.arobase { display: flex; align-items: center; border: 1px solid rgba(11, 11, 11, .16); border-radius: var(--rayon-p); background: var(--blanc); padding-left: 16px; }
.arobase:focus-within { border-color: var(--encre); }
.arobase span { color: var(--gris2); font-size: 17px; }
.arobase .saisie { border: 0; background: none; padding-left: 4px; }

.grille-h { display: flex; flex-direction: column; gap: 8px; }
.gh-ligne { display: grid; grid-template-columns: 1fr repeat(4, auto); gap: 5px; align-items: center; }
.gh-jour { font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gh-ligne .choix { padding: 0 10px; font-size: 13.5px; min-width: 56px; }
.pas-a-pas { gap: 10px; }
.saisie.nb { width: 84px; text-align: center; font-weight: 500; font-size: 20px; }

.deja { padding: 4px 22px; }
.deja-l { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.deja-l:last-child { border-bottom: 0; }
.deja-l .choix { min-width: 62px; }
.champ .ligne.coule { margin-bottom: 2px; }

.centre-bloc { align-items: center; padding: 10px 0; gap: 20px; }
.profil-rond .visage { --t: 148px; }

.recap { padding: 4px 6px; }
.recap li + li { border-top: 1px solid var(--trait); }
.recap-l { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 12px; text-decoration: none; }
.recap-t { flex: 1; min-width: 0; font-size: 15.5px; line-height: 1.3; }
.a-faire { font-weight: 600; white-space: nowrap; }
.recap-l .mini { white-space: nowrap; }

/* ───── mises en page communes ───── */
.grille2 { display: grid; gap: 14px; }
.col, .grille2 > * { min-width: 0; }
.retour-l { gap: 8px; text-decoration: none; align-self: flex-start; }
.espace-h { margin-top: 18px; }

/* ───── mon espace ───── */
.kit-attend { padding: 26px 22px; gap: 18px; container-type: inline-size; }
.kit-attend .rebours { flex-wrap: wrap; }
.kit-attend .rebours b { font-size: clamp(44px, 17cqi, 88px); font-weight: 500; }
.kit-attend .rebours span { color: #a9a7a1; font-size: 15px; }
.rebours > div { display: flex; align-items: baseline; }
.pieces { display: flex; flex-direction: column; border-top: 1px solid var(--trait); }
.piece { border-bottom: 1px solid var(--trait); }
.piece-t { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 8px 0; border: 0; background: none; text-align: left; cursor: pointer; font-weight: 500; }
.piece-t .ico { margin-left: auto; color: var(--gris2); transition: transform .25s var(--doux); }
.piece-t[aria-expanded="true"] .ico { transform: rotate(180deg); }
.piece-n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(11, 11, 11, .22); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 0; flex: none; }
.piece-nom { min-width: 0; }
.piece-c { padding: 2px 0 20px 40px; align-items: flex-start; }
.piece-c > * { max-width: 100%; }
.piece-c audio, .piece-c video, .piece-c > a:not(.btn) { align-self: stretch; }

.etat-preuve { gap: 14px; }
.retour { padding: 12px 14px; background: var(--creux); border-radius: var(--rayon-p); white-space: pre-wrap; overflow-wrap: anywhere; }
.preuve-photo .vignette { width: 64px; }
.preuve-photo:empty { display: none; }
.preuve-vue .piece-img { max-width: 220px; }

.taches { display: flex; flex-direction: column; }
.taches li + li { border-top: 1px solid var(--trait); }
.tache { display: flex; align-items: flex-start; gap: 14px; width: 100%; min-height: 56px; padding: 14px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.tache[disabled] { opacity: .5; }
.coche-c { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--gris2); display: inline-flex; align-items: center; justify-content: center; color: transparent; transition: background .15s, border-color .15s; }
.tache[aria-checked="true"] .coche-c { background: var(--encre); border-color: var(--encre); color: var(--fond); }
.tache-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tache-n { font-weight: 500; line-height: 1.3; }
.tache[aria-checked="true"] .tache-n { color: var(--gris2); text-decoration: line-through; text-decoration-color: var(--gris3); }

.cases5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.case5 { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0; }
.case5 .mini { max-width: 100%; white-space: nowrap; font-weight: 500; font-size: 12px; letter-spacing: -.02em; }
.case5 .mini.gris { font-weight: 400; font-size: 11.5px; }
.c5 { width: 100%; max-width: 64px; aspect-ratio: 1; border-radius: 16px; background: var(--creux); border: 1.5px solid transparent; display: flex; align-items: center; justify-content: center; color: var(--fond); margin-bottom: 4px; position: relative; }
.c5.attente { background: none; border-color: var(--encre); }
.c5.validee { background: var(--encre); }
.c5.joker { background: repeating-linear-gradient(45deg, var(--encre) 0 2px, transparent 2px 7px); border-color: var(--encre); }
.c5.manquee { background: none; border-color: var(--gris3); }
.c5.manquee::after { content: ""; position: absolute; left: 22%; right: 22%; top: 50%; height: 1.5px; background: var(--gris2); }

.gros { font-size: 64px; }
.points-l { display: flex; flex-direction: column; border-top: 1px solid var(--trait); }
.points-l li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--trait); }
.points-l li > b { min-width: 40px; font-size: 17px; }
.points-r { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.dernier-bloque { padding: 12px 14px; background: var(--creux); border-radius: var(--rayon-p); overflow-wrap: anywhere; }
a.pastille { text-decoration: none; height: 44px; padding: 0 16px; font-size: 14px; }
.preuve-vue a { display: inline-flex; align-items: center; min-height: 44px; }

/* ───── drops ───── */
.liste-drops { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.drop { display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: border-color .2s; }
.drop:hover { border-color: rgba(11, 11, 11, .4); }
.drop.neuf { background: var(--blanc); border-color: rgba(11, 11, 11, .45); }
.drop-ouvert { max-width: 720px; gap: 18px; padding: 26px 22px; align-items: flex-start; }
.drop-ouvert > audio, .drop-ouvert > video, .drop-ouvert > a:not(.btn) { align-self: stretch; }

/* ───── la promo ───── */
.rebs { display: grid; gap: 10px; }
.reb { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
.compte { font-size: 24px; }
.visages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 6px; }
.v-case { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.v-case .visage { --t: 50px; }
.v-case.moi .visage { box-shadow: 0 0 0 2px var(--carte), 0 0 0 4px var(--encre); }
.v-nom { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.titres { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.titre-d { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.titre-d b { font-size: 18px; letter-spacing: -.02em; }
.sans-bord { padding: 22px 12px 10px; }
.sans-bord > .inter { padding: 0 10px; }
.classement { display: flex; flex-direction: column; }
.rang-l { text-decoration: none; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; min-height: 64px; }
.classement li + li .rang-l { border-top: 1px solid var(--trait); }
.rang-l.moi { background: var(--encre); color: var(--fond); border-top-color: transparent; }
.classement li:has(.rang-l.moi) + li .rang-l { border-top-color: transparent; }
.rang-l.moi .gris { color: #a9a7a1; }
.rang-l.moi .pastille.pleine { background: var(--fond); color: var(--encre); border-color: var(--fond); }
.rang-l.moi .cases > i { background: #3a3a38; }
.rang-l.moi .cases > i.validee { background: var(--fond); }
.rang-l.moi .cases > i.attente { background: none; border-color: var(--fond); }
.rang-l.moi .cases > i.joker { background: repeating-linear-gradient(45deg, var(--fond) 0 2px, transparent 2px 5px); border-color: var(--fond); }
.rang-l.moi .cases > i.manquee { background: none; border-color: #6a6a66; }
.rang-n { width: 22px; text-align: center; font-size: 15px; flex: none; }
.rang-qui { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rang-qui .ligne { min-width: 0; }
.rang-qui b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rang-qui .pastille { height: 20px; padding: 0 8px; font-size: 11px; }
.rang-d { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.rang-d b { font-size: 19px; }
.rang-d .cases { gap: 3px; } .rang-d .cases > i { width: 11px; height: 11px; border-radius: 3px; }
.fil { display: flex; flex-direction: column; gap: 14px; }
.fil li { display: flex; gap: 10px; align-items: flex-start; }
.fil-t { display: flex; flex-direction: column; gap: 1px; font-size: 14.5px; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.bientot { border-style: dashed; border-color: var(--gris3); }

/* ───── mon binôme ───── */
.fiche .vignettes.lecture { grid-template-columns: repeat(4, 1fr); }
.avancee { display: flex; flex-direction: column; margin: 0; }
.avancee > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--trait); min-height: 50px; }
.avancee > div:last-child { border-bottom: 0; }
.avancee dt { flex: none; } .avancee dd { margin: 0; text-align: right; font-weight: 500; }
.avancee dd b { font-size: 22px; }
.celle-de { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--trait); }

/* ───── calendrier ───── */
.etroit-g { max-width: 720px; }
.appel { display: flex; gap: 18px; align-items: flex-start; }
.appel.passe { background: none; }
.appel-date { flex: none; width: 54px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 2px; }
.appel-date b { font-size: 34px; }
.appel-c { min-width: 0; align-items: flex-start; }

/* ───── profil, notifications ───── */
.binome-l { text-decoration: none; min-height: 56px; }
.notifs { padding: 4px 8px; max-width: 720px; }
.notifs li + li { border-top: 1px solid var(--trait); }
.notif { display: flex; align-items: flex-start; gap: 12px; padding: 14px 10px; min-height: 56px; text-decoration: none; overflow-wrap: anywhere; }
.notif .point-nouveau { margin-top: 8px; }
.notif .point-nouveau.eteint { background: none; }
.notif.neuve { font-weight: 500; }
.notif .mini { font-weight: 400; }
.notifs-seul { padding-top: 10px; padding-bottom: 60px; }

/* ───── à partir de 560 px : un peu plus d'air ───── */
@media (min-width: 560px) {
  .trois { grid-template-columns: repeat(3, 1fr); }
  .actions .btn { flex: 0 0 auto; }
  .vignettes { grid-template-columns: repeat(5, 1fr); }
  .rebs { grid-template-columns: repeat(3, 1fr); }
  .visages { grid-template-columns: repeat(10, 1fr); }
  .gh-ligne { gap: 8px; } .gh-ligne .choix { min-width: 84px; font-size: 15px; }
  .p-bas .btn:not(.noir) { width: auto; padding: 0 24px; }
  .sur-large { display: inline; }
  .titres { grid-template-columns: repeat(4, 1fr); }
  .vocal .btn { align-self: flex-start; }
}

/* ───── ordinateur ───── */
@media (min-width: 900px) {
  :root { --marge: 40px; }
  .haut { min-height: 84px; }
  .accueil { padding-top: 8vh; gap: 28px; }
  .accroche { font-size: 20px; }
  .trois { margin-top: 64px; gap: 16px; }
  .trois .carte { padding: 28px; }
  .auth { padding-top: 6vh; }
  .parcours { min-height: calc(100dvh - 84px); }
  .p-corps { padding-top: 56px; }
  .p-bas { justify-content: space-between; padding-bottom: 28px; padding-top: 18px; }
  .p-bas .btn.noir { flex: 0 0 auto; min-width: 220px; margin-left: auto; }

  .grille2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .col { gap: 18px; }
  .carte { padding: 28px; }
  .kit-attend { padding: 36px 32px; }
  .kit-attend .rebours b { font-size: clamp(44px, 15cqi, 96px); }
  .kit-attend .rebours { gap: 22px; }
  .visages { gap: 20px 8px; } .v-case .visage { --t: 64px; }
  .sans-bord { padding: 28px 16px 12px; } .sans-bord > .inter { padding: 0 12px; }
  .deja { padding: 6px 28px; }
  .recap { padding: 6px 10px; }
  .notifs { padding: 6px 12px; }
}



/* ════════ Le cadre du membre accepté et les écrans du 25 nov. (CONTRAT §12) ════════
   Ici : la mise en page et un look neutre (jetons de style.css). Le look « verre » est dans theme-verre.css. */
body.membre { --boite: var(--carte); --dedans: var(--blanc); --ombre-d: none; --puce: var(--creux); --brume: var(--creux);
  --vert-f: var(--creux); --vert-t: var(--encre); --lilas-f: var(--creux); --lilas-t: var(--encre); --bleu-f: var(--creux); --bleu-b: transparent;
  --vert-f2: var(--carte); --lilas-f2: var(--carte); --bleu-f2: var(--carte); --ligne-d: var(--trait); }
.nowrap { white-space: nowrap; }
.fort { font-weight: 500; }
.sur-ordi { display: none; }

/* la coquille : sur téléphone, le panneau prend l'écran et la barre flotte en bas */
.coquille { min-height: 100dvh; }
.panneau { display: block; min-height: 100dvh; padding: 0 max(16px, env(safe-area-inset-right)) calc(112px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.p-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-top: env(safe-area-inset-top); }
.p-tete .marque { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.retour-m { gap: 8px; } .retour-m::before { display: none; }
.c-droite { gap: 8px; flex: none; }
.contenu { display: flex; flex-direction: column; gap: 16px; }
.contenu > * { min-width: 0; }
.vue-pile { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.rail { position: fixed; z-index: 40; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-around; height: 66px; padding: 0 6px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--trait); }
.rail .logo, .rail .r-calendrier { display: none; }
.rb { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; border: 0; padding: 0;
  background: none; color: var(--gris2); cursor: pointer; text-decoration: none; transition: background .15s, color .15s; }
.rb.on { background: var(--encre); color: #fff; }
.rb .visage { --t: 36px; }
.rb .point-nouveau, .c-moi .point-nouveau { position: absolute; top: 5px; right: 5px; box-shadow: 0 0 0 2px var(--blanc); }
.c-moi { display: none; position: relative; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; }
.c-moi .visage { --t: 44px; }

.menu-moi { position: fixed; z-index: 60; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: calc(88px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; padding: 8px; border-radius: 24px; background: var(--blanc); border: 1px solid var(--trait); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35); }
.mm-tete { display: flex; align-items: center; gap: 12px; padding: 8px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--trait); min-width: 0; }
.mm-qui { display: flex; flex-direction: column; min-width: 0; }
.mm-l { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 0 12px; border: 0; border-radius: 14px;
  background: none; color: var(--encre); font: 500 16px/1.2 var(--police); text-align: left; text-decoration: none; cursor: pointer; }
.mm-l:hover, .mm-l.on { background: var(--creux); }
.mm-l.sortir { color: var(--gris); margin-top: 4px; }

/* le haut d'une vue */
.tete { display: flex; flex-direction: column; gap: 16px; padding: 4px 0 2px; }
.tete-g { min-width: 0; }
.tete h1 { font-size: 32px; letter-spacing: -.035em; line-height: 1.08; overflow-wrap: anywhere; }
.tete h1 .puce { vertical-align: 10px; margin-left: 8px; }
.sous { color: var(--gris); font-size: 15.5px; line-height: 1.45; margin-top: 6px; overflow-wrap: anywhere; }
.tete-d { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 22px; }
.tete-d > .btn { flex: 1 1 100%; }
.tete-d > .segment { flex: 1 1 100%; }
.stats { display: flex; gap: 30px; align-items: flex-end; }
.stat > span { display: block; color: var(--gris); font-size: 14px; }
.stat b { display: block; font-weight: 500; font-size: 32px; letter-spacing: -.04em; line-height: 1.1; white-space: nowrap; }
.stat small { font-size: 15px; color: var(--gris); font-weight: 400; letter-spacing: 0; margin-left: 6px; }

/* boîtes et cartes */
.g2 { display: grid; gap: 16px; }
.g2 > * { min-width: 0; }
.boite { background: var(--boite); border-radius: 24px; padding: 10px; min-width: 0; }
.bt { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; padding: 8px 8px 14px; }
.bt-g { min-width: 0; }
.bt h3 { font-weight: 500; font-size: 17px; letter-spacing: -.02em; line-height: 1.25; }
.bt p { color: var(--gris); font-size: 12.5px; margin-top: 2px; }
.dedans { display: block; min-width: 0; background: var(--dedans); border-radius: 18px; padding: 16px; box-shadow: var(--ombre-d); color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.dedans + .dedans, .dedans + .a-suivre, .a-suivre .dedans + .dedans { margin-top: 10px; }
.dedans.vert { background: var(--vert-f2); }
a.dedans { transition: transform .15s var(--doux); }
a.dedans:active { transform: scale(.99); }
.d-texte { display: -webkit-box; margin-top: 6px; }
.rond-l { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blanc); color: var(--gris); text-decoration: none; }
.puce { display: inline-flex; align-items: center; flex: none; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--puce); color: var(--gris);
  font: 500 11.5px/1 var(--police); letter-spacing: 0; white-space: nowrap; }
.puce.v { background: var(--vert-f); color: var(--vert-t); }
.puce.k { background: var(--lilas-f); color: var(--lilas-t); }
.puce.demo { height: 19px; padding: 0 8px; font-size: 11px; font-weight: 400; }
.pts { flex: none; margin-left: auto; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--puce); color: var(--gris); }
.segment { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--creux); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segment::-webkit-scrollbar { display: none; }
.segment button { flex: 1 0 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--gris);
  font: 500 14.5px/1 var(--police); white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.segment button.on { background: var(--blanc); color: var(--encre); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .25); }
.btn.pt { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn.gris-b { background: var(--creux); border-color: transparent; }
.btn .ico { flex: none; }

/* l'accueil : la semaine en barres */
.sem { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.sem span { font-size: 12px; color: var(--gris2); text-align: center; padding-bottom: 14px; white-space: nowrap; }
.sem span.auj { color: var(--encre); font-weight: 600; }
.pistes { position: relative; background: linear-gradient(90deg, transparent calc(100% - 1px), var(--ligne-d) 0) 0 0 / calc(100% / 7) 100% repeat-x; }
.bj { border-radius: 13px; padding: 6px 12px; font-size: 13px; line-height: 1.25; background: var(--brume); color: var(--encre); overflow: hidden; min-width: 0; }
.pistes .bj { position: absolute; height: 44px; }
.bj-t, .bj small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bj small { font-size: 11.5px; opacity: .7; }
.bj.vert { background: var(--vert-f); } .bj.lilas { background: var(--lilas-f); } .bj.noir { background: var(--encre); color: #fff; }
.bj.bleu { background: var(--bleu-f); box-shadow: inset 0 0 0 1px var(--bleu-b); }
.auj-l { position: absolute; top: -8px; bottom: 0; width: 1.5px; margin-left: -.75px; background: var(--encre); z-index: 2; }
.auj-l::before { content: ""; position: absolute; top: -3px; left: -3px; width: 7.5px; height: 7.5px; border-radius: 50%; background: var(--encre); }
.sem-barres { display: none; }
.sem-liste li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--ligne-d); }
.sem-liste li:first-child { border-top: 0; padding-top: 0; }
.sem-liste li:last-child { padding-bottom: 0; }
.sl-j { flex: none; width: 92px; padding-top: 8px; font-size: 13.5px; color: var(--gris); }
.sem-liste li.auj .sl-j { color: var(--encre); font-weight: 600; }
.sl-i { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sl-i > .mini { padding-top: 9px; }

/* l'accueil : à faire, l'avancée */
.af { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 0; border: 0; border-top: 1px solid var(--ligne-d); background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer; }
.af:first-child { border-top: 0; padding-top: 0; min-height: 44px; }
.af:last-child { padding-bottom: 0; min-height: 44px; }
.af[disabled] { opacity: .5; }
.coche-r { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gris3); display: inline-flex; align-items: center; justify-content: center; color: transparent; transition: background .15s; }
.af[aria-checked="true"] .coche-r { background: var(--encre); border-color: var(--encre); color: #fff; }
.af-t { flex: 1; min-width: 0; font-size: 15px; line-height: 1.35; }
.af[aria-checked="true"] .af-t { color: var(--gris2); text-decoration: line-through; }
.bt .cases.g { gap: 6px; }
.bt .cases.g > i { width: 26px; height: 26px; border-radius: 9px; }
.courbe-d { padding: 10px 12px 10px; }
.courbe { display: block; width: 100%; height: auto; overflow: visible; }
.c-grille path { stroke: var(--ligne-d); stroke-width: 1; }
.c-ligne { fill: none; stroke: var(--encre); stroke-width: 1.8; stroke-linecap: round; }
.c-pt { fill: #fff; stroke: var(--encre); stroke-width: 1.5; }
.c-best { fill: var(--vert-f); stroke: var(--encre); stroke-width: 1.5; }
.c-etiq { fill: var(--encre); }
.c-etiq-t { fill: #fff; font: 500 12px var(--police); }
.courbe-b { display: flex; justify-content: space-between; gap: 12px; padding: 4px 2px 0; }

/* mes tâches : le tableau */
.seg-tel { width: 100%; }
.seg-tel button { padding: 0 10px; }
.kanban-b { padding: 10px; }
.kanban { display: grid; gap: 16px; }
.col-k { min-width: 0; border-radius: 18px; transition: background .15s; }
.col-k:not(.montre) { display: none; }
.col-k.survol { background: rgba(17, 17, 19, .05); }
.col-k h3 { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 8px 12px; font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.col-k h3 small { color: var(--gris); font-weight: 400; font-size: 13px; }
.col-c { display: flex; flex-direction: column; gap: 10px; min-height: 60px; }
.col-vide { padding: 14px 8px; }
.ct { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 16px; border: 0; border-radius: 20px; background: var(--bleu-f2); color: inherit; font: inherit;
  text-align: left; text-decoration: none; cursor: pointer; transition: transform .15s var(--doux), opacity .15s; }
.ct:active { transform: scale(.99); }
.ct.toi { background: var(--dedans); box-shadow: 0 0 0 1px rgba(17, 17, 19, .06); }
.ct.en_cours { background: var(--lilas-f2); }
.ct.fait { background: var(--vert-f2); }
.ct.glisse { opacity: .45; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tag { font-size: 11.5px; line-height: 1; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .75); color: var(--gris); white-space: nowrap; }
.ct.toi .tag { background: var(--puce); }
.ct-t { font-weight: 500; font-size: 15.5px; line-height: 1.3; letter-spacing: -.01em; }
.ct-d { font-size: 13px; line-height: 1.45; color: var(--gris); }
.choix-etat { display: flex; gap: 6px; padding: 6px; margin-top: -4px; border-radius: 16px; background: var(--blanc); box-shadow: 0 0 0 1px rgba(17, 17, 19, .06), 0 16px 30px -18px rgba(0, 0, 0, .4); }
.choix-etat button { flex: 1; min-height: 44px; padding: 0 8px; border: 0; border-radius: 12px; background: var(--creux); color: var(--encre); font: 500 14px/1 var(--police); cursor: pointer; }
.choix-etat button[aria-pressed="true"] { background: var(--encre); color: #fff; }

/* les gens */
.g-pers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pers { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border-radius: 18px; background: var(--dedans); box-shadow: var(--ombre-d); }
.pers-l { display: flex; flex-direction: column; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.pers-l .ligne { min-width: 0; }
.pers-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pers-n b { font-weight: 500; font-size: 16px; }
.vic { display: block; font-size: 12.5px; line-height: 1.35; padding: 8px 10px; border-radius: 12px; background: var(--vert-f); color: var(--vert-t); }
.vic.vide { background: var(--creux); color: var(--gris); }
.pers > .btn { justify-content: flex-start; }
.direct li + li { border-top: 1px solid var(--ligne-d); }
.direct-l { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; color: inherit; text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.direct li:first-child .direct-l { padding-top: 0; }
.direct li:last-child .direct-l { padding-bottom: 0; }
.direct-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.lien-n { min-width: 0; flex: 1; color: inherit; text-decoration: none; }

/* le profil d'une personne */
.tete-p .tp-g { gap: 18px; align-items: center; min-width: 0; }
.visage.xl { --t: 76px; }
.lien-i { color: inherit; text-decoration: underline; text-decoration-color: rgba(17, 17, 19, .25); }
.photos4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.photos4 a { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--dedans); }
.photos4 img { width: 100%; height: 100%; object-fit: cover; }
.activ li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--ligne-d); font-size: 14.5px; line-height: 1.4; }
.activ li:first-child { border-top: 0; padding-top: 0; }
.activ li:last-child { padding-bottom: 0; }
.activ li > .puce { margin-top: 1px; }
.activ-t { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; min-width: 0; overflow-wrap: anywhere; }

/* le fil */
.haut-c { align-items: flex-start; }
.ecrire { flex: 1; min-width: 0; min-height: 48px; max-height: 260px; padding: 12px 18px; border: 0; border-radius: 24px; background: var(--creux); color: var(--encre);
  font: 400 16px/1.45 var(--police); resize: none; outline: none; }
.ecrire::placeholder { color: var(--gris); }
.ecrire:focus { box-shadow: 0 0 0 1.5px var(--encre); }
.c-apercu:empty { display: none; }
.c-apercu { margin-top: 12px; }
.c-apercu .vignette { width: 96px; }
.c-actions { margin-top: 14px; gap: 8px; }
.tag-b { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--creux); color: var(--gris);
  font: 500 13.5px/1 var(--police); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.tag-b[aria-pressed="true"], .tag-b.on { background: var(--encre); color: #fff; }
.tag-b.v[aria-pressed="true"] { background: var(--vert-f); color: var(--vert-t); box-shadow: inset 0 0 0 1.5px var(--vert-t); }
.tag-b.nu { background: none; }
.tag-b.sur { color: var(--encre); background: var(--creux); }
.c-actions .btn.noir { margin-left: auto; }
.post-h { align-items: flex-start; }
.post-q { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.post-t { margin: 14px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.post-img { display: block; margin-top: 14px; border-radius: 16px; overflow: hidden; background: var(--creux); }
.post-img img { width: 100%; max-height: 440px; object-fit: cover; }
.post-a { margin-top: 14px; gap: 6px; }
.lien-v { display: inline-flex; border-radius: 50%; flex: none; }
.visage.curt { background: var(--encre); color: #fff; }
.reps { display: flex; flex-direction: column; margin-top: 12px; border-top: 1px solid var(--ligne-d); }
.rep { display: flex; gap: 10px; align-items: flex-start; padding-top: 12px; }
.rep .visage { --t: 30px; }
.rep-t { min-width: 0; font-size: 14.5px; line-height: 1.45; padding-top: 4px; overflow-wrap: anywhere; }
.mini-l { display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none; color: var(--gris); font: 500 12.5px/1 var(--police);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mini-l.voir { align-self: flex-start; min-height: 44px; margin-top: 2px; }
.rep-zone { margin-top: 12px; gap: 8px; }
.rep-zone .saisie { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; border-radius: 999px; font-size: 16px; }
.rep-zone .btn { flex: none; }

/* les feuilles (entrée, parcours, attente) : rien de spécial sans thème */
.feuille, .feuille-in { min-width: 0; }

/* ───── à partir de 560 px ───── */
@media (min-width: 560px) {
  .g-pers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tete-d > .btn { flex: 0 0 auto; }
  .tete-d > .segment { flex: 0 1 auto; }
}

/* ───── ordinateur : le grand cadre, le rail à gauche ───── */
@media (min-width: 900px) {
  .sur-ordi { display: inline; } .sur-tel { display: none; }
  .coquille { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); width: min(1340px, calc(100vw - 80px)); height: calc(100dvh - 56px); min-height: 560px;
    margin: 28px auto; padding: 12px; border-radius: 34px; }
  .rail { position: static; flex-direction: column; justify-content: flex-start; gap: 14px; height: auto; padding: 14px 0 6px; border: 0; border-radius: 0; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; }
  .rail .logo { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--blanc); margin-bottom: 16px; flex: none; }
  .rail .r-calendrier { display: inline-flex; }
  .rb { width: 42px; height: 42px; }
  .rb.on { background: none; color: var(--encre); }
  .rb:hover { color: var(--encre); }
  .moi-rail { margin-top: auto; }
  .panneau { min-height: 0; overflow: auto; padding: 22px 34px 34px; border-radius: 26px; background: var(--blanc); scrollbar-width: none; }
  .panneau::-webkit-scrollbar { display: none; }
  .p-tete { min-height: 44px; margin-bottom: 18px; padding-top: 0; }
  .c-moi { display: inline-flex; }
  .menu-moi { position: absolute; left: 72px; right: auto; bottom: 16px; width: 290px; }
  .m-calendrier { display: none; }
  .contenu { gap: 20px; }
  .vue-pile { gap: 20px; }
  .tete { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0; margin-bottom: 2px; }
  .tete h1 { font-size: 34px; letter-spacing: -.03em; }
  .sous { font-size: 15px; }
  .tete-d { flex-wrap: nowrap; gap: 44px; flex: none; }
  .tete-d > .btn, .tete-d > .segment { flex: none; }
  .stats { gap: 44px; }
  .stat b { font-size: 34px; }
  .g2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 20px; }
  .boite { padding: 14px; }
  .dedans { padding: 16px 18px; }
  .rond-l { width: 40px; height: 40px; }
  .segment button { min-height: 40px; padding: 0 18px; font-size: 14px; }
  .btn.pt { min-height: 40px; }
  .tag-b { min-height: 34px; padding: 0 12px; font-size: 12.5px; }
  .bt .cases.g > i { width: 34px; height: 34px; border-radius: 11px; }
  .sem-barres { display: block; }
  .sem-liste { display: none; }
  .seg-tel { display: none; }
  .kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .col-k:not(.montre) { display: block; }
  .g-gens { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); align-items: start; }
  .g-perso { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr); align-items: start; }
  .g-fil { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
  .tete-p { align-items: center; }
  .visage.xl { --t: 104px; font-size: 40px; }
  .tete-p .tp-g { gap: 26px; }
  .tete-p h1 { font-size: 34px; }
  .mini-l.voir { min-height: 32px; }
  .rep-zone .saisie { min-height: 40px; }
}
@media (min-width: 1180px) { .g-pers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* le message qui passe : au-dessus de la barre du bas sur téléphone */
@media (max-width: 899px) { body:has(.coquille) .toast { bottom: calc(92px + env(safe-area-inset-bottom)); } }
.btn.noir-s { background: var(--encre); border-color: var(--encre); color: #fff; }
@media (max-width: 899px) {
  .tete-d > .segment button { flex: 1 1 auto; padding: 0 10px; font-size: 13.5px; }
}
.lien-v, .lien-v:hover, .direct-l, .pers-l, .lien-n, .v-case, .rang-l { text-decoration: none; }

/* ════════ Les pages simplifiées (26 nov.) : l'accueil en un grand bloc, « Déposé par Curt », le classement dans « Les gens »,
   la feuille de la preuve, et le texte un peu plus gros partout (rien sous 13 px sur téléphone, titres de cartes 16–17 px). ════════ */

/* le texte, plus gros */
.mini { font-size: 13px; }
.puce { height: 24px; padding: 0 10px; font-size: 13px; }
.puce.demo { height: 22px; font-size: 12.5px; }
.tag { font-size: 13px; padding: 6px 10px; }
.bt p { font-size: 13.5px; line-height: 1.4; }
.pts { font-size: 13px; }
.vic { font-size: 13.5px; }
.mini-l { font-size: 13.5px; }
.sem span { font-size: 13px; }
.bj { font-size: 14px; }
.bj small { font-size: 13px; }
.af-t { font-size: 16px; }
.ct-t { font-size: 16px; }
.ct-d { font-size: 14px; }
.stat > span { font-size: 14.5px; }
.compteur { font-size: 12px; }
.tag-b { font-size: 14px; }
.segment button { font-size: 15px; }
.direct-l, .activ li, .fil-t, .rep-t { font-size: 15px; }
.rang-qui .puce { height: 22px; }

/* les titres : on va à la ligne (2 lignes au plus) au lieu de couper par « … » */
.d-titre { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; font-size: 16.5px; line-height: 1.3; letter-spacing: -.01em; margin-top: 8px; }
.d-texte { margin-top: 4px; }
.pistes .bj { height: 56px; }
.pistes .bj-t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; }
.pistes .bj small { white-space: nowrap; }
.sl-i .bj-t { white-space: normal; }

/* le grand bloc du haut de l'accueil */
.heros { display: flex; flex-direction: column; gap: 22px; padding: 24px 20px; border-radius: 28px; background: var(--boite); container-type: inline-size; }
.h-g { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.h-d { display: flex; flex-direction: column; gap: 18px; align-items: stretch; min-width: 0; }
.h-etiq { font-size: 14px; color: var(--gris); }
.h-titre { font-size: 26px; line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere; }
.h-sous { font-size: 15.5px; line-height: 1.45; color: var(--gris); max-width: 520px; }
.h-dit { font-size: 14px; color: var(--gris); }
.heros .rebours { flex-wrap: wrap; gap: 6px 16px; }
.heros .rebours b { font-size: clamp(48px, 17cqi, 104px); letter-spacing: -.05em; }
.heros .rebours span { font-size: 15px; }
.h-envoyee { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.h-gagne { display: flex; align-items: baseline; gap: 10px; }
.h-gagne b { font-size: clamp(56px, 18cqi, 104px); }
.h-gagne span { font-size: 16px; }
.heros .btn.noir { width: 100%; }

/* les 3 blocs calmes */
.g3 { display: grid; gap: 16px; }
.g3 > * { min-width: 0; }
.g-vivant { display: grid; gap: 16px; } .g-vivant > * { min-width: 0; }
.tout-voir { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--blanc); color: var(--encre);
  font: 500 14px/1 var(--police); text-decoration: none; }
.b-ligne { gap: 14px; align-items: center; }
.b-texte { font-size: 16px; line-height: 1.35; min-width: 0; }
.lien-d { display: block; }

/* la course, en petit */
.course { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.c-titre { font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.g-course { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.c-item { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: var(--boite); box-shadow: none; }
.c-item > .ligne { align-self: stretch; }
.c-etiq { font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.c-gros { font-size: 40px; }
.c-ligne-p { gap: 14px; }
.notes { display: flex; gap: 6px; }
.note-b { width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--blanc); color: var(--encre); font: 500 16px/1 var(--police); cursor: pointer; }
.note-b[aria-pressed="true"] { background: var(--encre); color: #fff; }
.c-item .dernier-bloque { align-self: stretch; }
.c-item .points-l { align-self: stretch; }

/* Déposé par Curt */
.d-ligne + .d-ligne { margin-top: 10px; }

/* les gens : le classement en haut */
.g-cl { display: grid; gap: 16px; }
.g-cl > * { min-width: 0; }
.rang-sep { height: 14px; margin: 4px 0; background: radial-gradient(circle, var(--gris3) 1.5px, transparent 2px) center / 10px 6px repeat-x; }
.rebs { display: grid; gap: 10px; }
.reb .compte { font-size: 22px; }
.titres { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.discussion { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ligne-d); }
.g-filtre { gap: 12px; margin-top: 6px; }

/* la feuille qui s'ouvre (la preuve) : du bas sur téléphone, au milieu sur ordinateur */
body.f-ouverte { overflow: hidden; }
.f-fond { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; background: rgba(17, 17, 19, .32); opacity: 0; transition: opacity .2s; }
.f-fond.vu { opacity: 1; }
.f-panneau { width: 100%; max-height: 92dvh; overflow: auto; padding: 20px max(18px, env(safe-area-inset-left)) calc(24px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0;
  background: var(--blanc); transform: translateY(24px); transition: transform .25s var(--doux); }
.f-fond.vu .f-panneau { transform: none; }
.f-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.f-titres { min-width: 0; }
.f-titres h2 { font-size: 24px; letter-spacing: -.03em; line-height: 1.15; }
.f-fermer { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--creux); color: var(--encre); cursor: pointer; }

@media (min-width: 560px) {
  .rebs { grid-template-columns: repeat(3, 1fr); }
  .g-course { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heros .btn.noir { width: auto; align-self: flex-start; }
}
@media (min-width: 900px) {
  .heros { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding: 34px 38px; }
  .h-g { flex: 1 1 auto; }
  .h-titre { font-size: 32px; }
  .h-d { flex: none; align-items: flex-end; max-width: 56%; }
  .heros .rebours b { font-size: clamp(56px, 8.5cqi, 104px); }
  .heros .btn.noir { align-self: flex-end; }
  .h-envoyee { font-size: 26px; text-align: right; max-width: 360px; }
  .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
  .g-vivant { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
  .g-course { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .g-cl { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .g-cl .rebs { grid-template-columns: minmax(0, 1fr); }
  .tout-voir { min-height: 36px; }
  .f-fond { align-items: center; padding: 24px; }
  .f-panneau { width: min(560px, 100%); max-height: calc(100dvh - 48px); padding: 28px 30px 30px; border-radius: 28px; transform: translateY(12px) scale(.98); }
}
@media (max-width: 899px) {
  .g-filtre .segment { flex: 1 1 100%; }
  .g-filtre .segment button { flex: 1 1 auto; padding: 0 10px; font-size: 14.5px; }
}
.b-calme .bt { flex-wrap: nowrap; align-items: flex-start; }
a.b-ligne, .b-ligne { display: flex; }
.c-item { padding: 14px 16px; gap: 8px; }
.c-gros { font-size: 32px; }
.c-item .cases.g > i { width: 22px; height: 22px; border-radius: 7px; }
@media (min-width: 900px) { .g-course { grid-template-columns: repeat(4, minmax(0, 1fr)); } .c-item { padding: 16px 18px; } }
.compteur, .puce.demo, .pastille { font-size: 13px; }
.visage { font-size: max(13px, calc(var(--t) * .36)); }

/* 25 nov. : les points ne se cassent plus en deux, les cases passent dessous si la tuile est étroite */
.c-ligne-p { flex-wrap: wrap; row-gap: 10px; } .c-ligne-p .c-gros, .c-ligne-p .lien { white-space: nowrap; }

/* §12.7 la fiche d'une personne : sa phrase, son parcours, ses victoires en cartes, son activité par jour, « Bravo » */
.phrase-p { margin-top: 6px; font-size: 17px; line-height: 1.4; color: var(--encre); overflow-wrap: anywhere; }
.phrase-vide { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; min-height: 32px; font-size: 15px; color: var(--gris); text-decoration: underline; text-decoration-color: var(--gris3); }
.actions-p { gap: 10px; flex: 1 1 100%; }
.actions-p > .btn { flex: 1 1 0; }
.bravo-b.envoye { background: var(--vert-f); color: var(--vert-t); border-color: transparent; box-shadow: none; cursor: default; }
ol.parcours { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 4px 0 2px; }
.etape { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.etape:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; border-radius: 2px; background: var(--ligne-d); }
.etape.relie::after { background: var(--vert-t); opacity: .35; }
.etape-r { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--creux); color: var(--gris2); font-size: 13px; font-weight: 500; }
.etape b { font-weight: 500; font-size: 12.5px; line-height: 1.2; color: var(--gris); overflow-wrap: anywhere; }
.etape-e { font-size: 11.5px; color: var(--gris2); }
.etape.fait .etape-r { background: var(--vert-f); color: var(--vert-t); }
.etape.fait b, .etape.cours b { color: var(--encre); }
.etape.fait .etape-e { color: var(--vert-t); }
.etape.cours .etape-r { background: var(--dedans); color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.etape.cours .etape-e { color: var(--encre); }
.etape.joker .etape-r, .etape.manquee .etape-r { background: var(--dedans); box-shadow: inset 0 0 0 1.5px var(--gris3); }
.vics { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.vic-c { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 18px; background: var(--dedans); box-shadow: var(--ombre-d); color: inherit; text-decoration: none; }
.vic-c.vert { background: var(--vert-f2, var(--vert-f)); }
a.vic-c { transition: transform .15s var(--doux); }
a.vic-c:active { transform: scale(.99); }
.vic-img { display: block; aspect-ratio: 16 / 10; background: var(--creux); }
.vic-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vic-c-t { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px 16px; overflow-wrap: anywhere; }
.vic-c-t b { font-size: 16px; line-height: 1.35; }
.boite > .mini-l.voir { margin-top: 8px; }
.jours { display: flex; flex-direction: column; gap: 18px; }
.jour-t { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--gris); }
.jour-g + .jour-g { padding-top: 16px; border-top: 1px solid var(--ligne-d); }
.jour-g .activ li { padding: 8px 0; border-top: 0; }
.jour-g .activ li:first-child { padding-top: 0; }
.citation { display: block; margin-top: 2px; }
.activ-taches { width: 100%; }
.activ-taches summary { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; cursor: pointer; list-style: none; }
.activ-taches summary::-webkit-details-marker { display: none; }
.activ-taches summary svg { transform: rotate(90deg); color: var(--gris); transition: transform .15s; }
.activ-taches[open] summary svg { transform: rotate(-90deg); }
.activ-taches ul { margin: 4px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--ligne-d); display: flex; flex-direction: column; gap: 4px; }
.fil-seul { max-width: 720px; }
@media (min-width: 560px) {
  .etape b { font-size: 14px; }
  .etape-e { font-size: 12.5px; }
  .etape-r { width: 36px; height: 36px; }
  .etape:not(:last-child)::after { top: 17px; left: calc(50% + 22px); right: calc(-50% + 22px); }
  .vics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vics .vic-c.ph, .vics .vic-c:first-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .actions-p { flex: 0 0 auto; }
  .actions-p > .btn { flex: 0 0 auto; }
  .tete-p .tete-d { flex-wrap: wrap; justify-content: flex-end; gap: 16px 36px; }
}

.onglets-commu { margin-bottom: 4px; } .onglets-commu .segment { display: inline-flex; }

/* 26 nov. : les tâches de l'accueil ne se coupent plus en morceaux */
.af { align-items: flex-start; }
.af-c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.af-t { overflow-wrap: normal; word-break: normal; hyphens: none; }
.af-tags { display: flex; gap: 6px; flex-wrap: wrap; }
/* 26 nov. : le carrousel d'un drop */
.carrousel { display: flex; flex-direction: column; gap: 10px; margin: 6px 0; }
.car-piste { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.car-piste::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 82%; max-width: 420px; margin: 0; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; scroll-snap-align: start; background: #eceef2; box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .45); }
.car-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-n { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .car-slide { flex-basis: 300px; } }

/* 26 nov. : la fiche du binôme */
.bin-haut { display: flex; gap: 22px; align-items: center; }
.bin-haut .visage.xg { --t: 120px; }
.bin-id h2 { font-size: 30px; letter-spacing: -.03em; }
.bin-phrase { font-size: 16px; line-height: 1.4; }
.bin-actions { gap: 8px; margin-top: 6px; }
.bin-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bin-c { display: flex; flex-direction: column; gap: 6px; }
.bin-c .chiffre { font-size: 26px; }
.bin-defi { font-size: 15px; line-height: 1.3; }
.barre-t { height: 5px; border-radius: 9px; background: rgba(17, 17, 19, .08); overflow: hidden; } .barre-t i { display: block; height: 100%; background: var(--encre); border-radius: 9px; }
.a-deux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.a-deux-c { display: flex; flex-direction: column; gap: 8px; }
.ok-v { color: #2148e0; font-weight: 500; }
@media (max-width: 600px) { .bin-haut { flex-direction: column; align-items: flex-start; } .bin-chiffres, .a-deux { grid-template-columns: 1fr; } }

/* 26 nov. : « Ta progression » en 2 colonnes larges, rien de serré */
@media (min-width: 900px) { .g-course { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.c-etiq2 { margin-top: 10px; }
.notes { display: flex; flex-wrap: wrap; gap: 8px; } .note-b { flex: 1 1 44px; min-width: 44px; }
.c-item .parcours { margin-top: 2px; }
.g-course { align-items: start; }
.drop-ouvert { overflow: hidden; min-width: 0; } .carrousel { width: 100%; min-width: 0; }

/* 26 nov. (Curt : « plus visuel ») : Mes tâches */
.bandeau-s { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 20px 24px; border-radius: 22px; background: #111113; color: #fff; }
.bandeau-s .gris { color: #a3a4ab; }
.bs-grand { font-size: 17px; margin-top: 4px; } .bs-grand .chiffre { font-size: 40px; }
.bs-cases { display: flex; gap: 8px; } .bs-cases i { flex: 1; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.bs-cases i.en_cours { background: #b9c6ff; } .bs-cases i.fait { background: #7d97ff; } .bs-cases i.defi { flex: 1.6; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.bs-d { text-align: right; display: flex; flex-direction: column; } .bs-d .chiffre { font-size: 32px; color: #7d97ff; }
.ct { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; text-align: left; }
.ct-haut { display: flex; align-items: center; gap: 8px; }
.ct-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #111113; box-shadow: 0 0 0 1px rgba(17, 17, 19, .06); flex: none; }
.ct-ico.noir { background: #111113; color: #fff; }
.ct-rond { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: transparent; box-shadow: inset 0 0 0 1.5px rgba(17, 17, 19, .25); background: #fff; cursor: pointer; flex: none; transition: background .15s; }
.ct-rond:hover { color: #a3a4ab; } .ct-rond.ok { background: #111113; color: #fff; box-shadow: none; }
.ct-t { font-size: 17px; font-weight: 500; line-height: 1.3; }
.ct-pts { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: #fff; }
.ct.fait .ct-pts { background: #e7edff; color: #2148e0; } .ct.fait .ct-t { color: #6e6f76; }
.tag.fort-t { background: #111113; color: #fff; }
.col-k h3 span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: #c9cbd3; vertical-align: 1px; }
.col-k[data-etat="en_cours"] h3 span::before { background: #b9c6ff; } .col-k[data-etat="fait"] h3 span::before { background: #2f5bff; }
.col-k h3 small { min-width: 26px; height: 26px; border-radius: 99px; background: #fff; display: inline-grid; place-items: center; font-weight: 600; }
.col-vide { border: 1.5px dashed rgba(17, 17, 19, .12); border-radius: 16px; padding: 22px; text-align: center; }
@media (max-width: 700px) { .bandeau-s { grid-template-columns: 1fr; gap: 14px; } .bs-d { text-align: left; } }

/* 26 nov. : le plan de semaine visuel */
.plan-s { display: flex; flex-direction: column; gap: 16px; }
.plan-total { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; border-radius: 18px; background: #111113; color: #fff; }
.plan-total .chiffre { font-size: 34px; } .plan-total span { color: #c9cad0; font-size: 15px; }
.plan-j { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.pj { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(17, 17, 19, .06), 0 12px 26px -22px rgba(0, 0, 0, .4); }
.pj.auj { box-shadow: 0 0 0 2px #111113; }
.pj-haut { display: flex; align-items: center; justify-content: space-between; }
.pj-jour { font-size: 13px; font-weight: 600; color: #6e6f76; text-transform: none; }
.pj-auj { font-size: 11px; padding: 3px 8px; border-radius: 99px; background: #111113; color: #fff; }
.pj-t { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.pj-d { font-size: 14px; color: #5d5f6b; line-height: 1.4; }
.pj-duree { margin-top: auto; align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: #f1f2f6; }
/* le prompt à copier */
.prompt-b { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(17, 17, 19, .06); }
.prompt-t { margin: 0; white-space: pre-wrap; font: 400 14px/1.5 var(--police); background: #f5f5f7; padding: 14px; border-radius: 12px; max-height: 240px; overflow: auto; }
/* les flèches du carrousel */
.car-fl { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #111113; color: #fff; display: grid; place-items: center; cursor: pointer; }
.car-fl:hover { background: #333; }

/* 26 nov. : le parcours en 5 étapes ne prend plus la hauteur du parcours d arrivée (même nom de classe) */
body.membre ol.etapes-p, ol.etapes-p { min-height: 0 !important; display: grid !important; }
