/* Carnet de progression — identité BmyBEST « Sarcelle » (lot 18-B) : jetons tirés du logo,
   voir docs/marque/PALETTE-BMYBEST.md (couleurs mesurées, contrastes AA). Mode sombre dérivé. */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('polices/sora-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('polices/manrope-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  /* Jetons de marque (logo « Sarcelle ») */
  --navy: #072539;          /* bleu pétrole sombre (« Bmy ») : titres, tuiles, notification */
  --blue: #08758D;          /* bleu océan d’action : liens, focus, bordures actives (5,3:1 sur blanc) */
  --sky: #0294AA;
  --cyan: #3CDDE6;          /* turquoise : décor seulement */
  --corail: #FD6750;        /* point du logo : bouton +, accents décoratifs (jamais en texte sur blanc) */
  --corail-texte: #B93A25;  /* corail lisible en texte (5,7:1) */
  --sur-corail: #072539;    /* icône ou texte posé sur le corail */
  --ink: #1B3A4B;
  --muted: #4E6875;
  --line: #DDEAF0;
  --bg: #F2F8FB;
  --card: #FFFFFF;
  --tint: #E3F2F8;
  --tint-line: #BCDDEA;
  --tint-ink: #05465C;
  --ok: #0E9F6E;
  --ok-bg: #E7F7EF;
  --ok-line: #B7E4CD;
  --ok-ink: #0B6B4A;
  --err: #B42318;
  --err-bg: #FEF3F2;
  --err-line: #FBD5D0;
  /* Dégradés du logo : symbole (décor), bouton (texte blanc ≥ 5,9:1), ronds (initiales blanches ≥ 5,9:1). */
  --grad: linear-gradient(90deg, #06283C 0%, #026E86 32%, #0EC0CF 59%, #3CDDE6 73%, #72F2F6 100%);
  --grad-texte: linear-gradient(90deg, #072539 0%, #0B6F86 33%, #06ABBD 55%, #31D7E1 76%, #7CF5F8 100%);
  --grad-btn: linear-gradient(120deg, #08758D 0%, #0A8AA2 100%);
  --grad-rond: linear-gradient(135deg, #072539 0%, #05465C 45%, #026E86 100%);
  --shadow: 0 1px 2px rgba(7, 37, 57, .06), 0 8px 24px rgba(7, 37, 57, .08);
  --radius: 18px;
  /* Dérivés pour l'application */
  --titre: var(--navy);
  --champ: #FAFDFD;
  --tete: #E3F2F8;          /* en-tête de bloc */
  --tete-ligne: #C4E0EC;
  --piste: #E2EFF2;
  --hausse: #0B6B4A;
  --baisse: #B42318;
  --courbe-moyenne: #072539;
  --focus: #08758D;
  --nav: 74px;
  --ombre-bouton: 0 6px 16px rgba(8, 117, 141, .30);
  --lien: #08758D;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #E8F7F9;
    --grad-texte: linear-gradient(90deg, #C9F7FA 0%, #3CDDE6 50%, #72F2F6 100%); /* lisible sur fond sombre */
    --muted: #9DBAC4;
    --line: #1A4A5B;
    --bg: #011219;
    --card: #04202B;   /* sombre assez pour garder les pastilles de domaine à 3:1 */
    --tint: #08303E;
    --tint-line: #14505F;
    --tint-ink: #BFF3F6;
    --blue: #5FE3EC;
    --navy: #0A3E50;
    --ok-bg: #0E3A2C;
    --ok-line: #1F6B50;
    --ok-ink: #8FE3BF;
    --err: #FF8A80;
    --err-bg: #3A1418;
    --err-line: #6B2A2A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .35);
    --titre: #E8F7F9;
    --champ: #031A23;
    --tete: #082F3D;
    --tete-ligne: #134A5C;
    --piste: #0B3746;
    --hausse: #5BDDA8;
    --baisse: #FF8A80;
    --courbe-moyenne: #E8F7F9;
    --focus: #5FE3EC;
    --lien: #5FE3EC;

    --ombre-bouton: 0 6px 16px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
a, button, label, summary, input, textarea { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Sora', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(10px + env(safe-area-inset-top)) 10px calc(var(--nav) + 24px + env(safe-area-inset-bottom));
}
body::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top); z-index: 30;
  background: var(--bg); pointer-events: none;
}
a { color: var(--blue); }
@media (prefers-color-scheme: dark) { a { color: #5FE3EC; } }
h1, h2, h3 { line-height: 1.2; color: var(--titre); font-weight: 800; }
h2 { font-size: 1rem; margin: 1.4rem 0 .6rem; }
h2 small, .titre-vue small { color: var(--muted); font-weight: 700; margin-left: .35rem; font-size: .85em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Carte de page (style « Espace club ») ---------- */
.carte {
  max-width: 480px; margin: 0 auto; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.carte::before { content: ""; display: block; height: 5px; background: var(--grad); }
.brand { padding: 18px 20px 14px; text-align: center; border-bottom: 1px solid var(--line); }
/* Logo BmyBEST (lot 18-B) : version horizontale (symbole + mot), clair ou sombre selon le thème (<picture>). */
.logo { margin: 0 0 6px; line-height: 0; }
.logo img { display: inline-block; height: 36px; width: auto; }

.powered { margin: 3px 0 0; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); line-height: 1.2; }
.signature { margin: 2px 0 0; font-size: .95rem; font-weight: 700; color: var(--titre); }
/* Bande club : logo (ou initiales) dans un rond de 40 px et nom du club. */
.bande-club { display: flex; align-items: center; gap: .75rem; padding: 10px 18px; background: var(--card); border-bottom: 1px solid var(--line); }
.logo-club { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); }
.logo-club img { width: 100%; height: 100%; object-fit: cover; }
.logo-club.initiales { background: var(--grad-rond); border: 0; color: #fff; font-weight: 800; font-size: .9rem; letter-spacing: .02em; text-shadow: 0 1px 2px rgba(7, 37, 57, .35); }
.lien-club { font-size: .8rem; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; letter-spacing: 0; }
.nom-club { min-width: 0; font-size: 1.15rem; line-height: 1.2; margin: 0; color: var(--titre); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
body.mode-saisie .bande-club { display: none; }
/* Synchronisation (V2-3) : point minuscule dans la bande club, ligne d'état dans Réglages. */
.point-sync { flex: none; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: #9AA3B5; }
.point-sync[data-etat="a-jour"] { background: #12A150; }
.point-sync[data-etat="attente"] { background: #F08C00; }
.indicateur-sync { display: flex; align-items: center; gap: .5rem; margin: 0 0 .3rem; font-weight: 800; color: var(--titre); }
.indicateur-sync .point-sync { margin-left: 0; }
.journal-conflits { margin-top: .8rem; }
.journal-conflits summary { cursor: pointer; font-weight: 800; color: var(--titre); }
.journal-conflits ul { margin: .5rem 0 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .9rem; }
main { padding: 12px 18px 22px; outline: none; }
.pied { text-align: center; font-size: .78rem; color: var(--muted); padding: 0 18px 18px; margin: 0; }

/* ---------- Navigation basse ---------- */
.barre-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; margin: 0 auto; max-width: 480px;
  height: calc(var(--nav) + env(safe-area-inset-bottom));
  display: flex; justify-content: space-around; padding: .3rem 0 env(safe-area-inset-bottom);
  background: linear-gradient(120deg, #08758D, #0A8AA2); border-top: 1px solid #08758D; box-shadow: 0 -6px 18px rgba(8, 117, 141, .25);
}
@media (min-width: 500px) { .barre-nav { border: 1px solid #08758D; border-bottom: 0; border-radius: 18px 18px 0 0; } }
.barre-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #fff; text-decoration: none; font-size: .78rem; font-weight: 800; position: relative;
}
.barre-nav svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.barre-nav a[aria-current="page"] { color: #FFFFFF; }
.barre-nav .pastille-nav { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
.barre-nav a[aria-current="page"] .pastille-nav { background: #fff; color: #08758D; box-shadow: 0 2px 8px rgba(7, 37, 57, .25); }
.barre-nav svg { width: 22px; height: 22px; stroke-width: 2.2; }
body.mode-saisie .barre-nav { display: none; }

/* ---------- Titres d'écran, liens ---------- */
.titre-vue { font-size: 1.3rem; margin: .3rem 0 .9rem; letter-spacing: -.01em; }
@media (max-width: 519px) {
  .titre-vue small { display: block; margin: .15rem 0 0; font-size: .95rem; color: var(--muted); }
  .titre-vue small.compte { display: inline; margin-left: .35rem; font-size: .85em; }
}
.chargement, .a-venir, .version, .discret { color: var(--muted); }
.discret { font-size: .85rem; }
.a-venir { border: 1.5px dashed var(--line); border-radius: 14px; padding: .9rem 1rem; }
.version { font-size: .78rem; text-align: center; margin-top: 1.2rem; }
.barre-retour { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.retour, .lien-action { font-weight: 800; text-decoration: none; color: var(--blue); }
@media (prefers-color-scheme: dark) { .retour, .lien-action { color: #5FE3EC; } }
.retour { padding: .5rem 0; }
.lien-action { background: none; border: 0; font: inherit; font-weight: 800; padding: .5rem 0; cursor: pointer; min-height: 44px; }
.titre-bloc { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.titre-bloc .titre-vue { margin-right: auto; }
.lien-suite { display: block; text-align: right; font-weight: 800; text-decoration: none; padding: .1rem 0; }

/* ---------- Blocs de section : bordure dégradée 2,5 px, en-tête teinté, icône ronde ---------- */
/* Structure posée par structurerBlocs() (js/ui.js) : .panneau > .panneau-corps > h2.tete-bloc > span.t.
   Le dégradé est le fond du bloc, visible à travers 2,5 px de marge : pas de double arrière-plan,
   rendu net sur Safari iOS, y compris aux coins. */
.panneau { background: var(--navy); background: var(--grad); padding: 2.5px; border-radius: var(--radius); margin: 0 0 14px; }
.panneau-corps {
  background: var(--card); border-radius: calc(var(--radius) - 2.5px);
  padding: 0 14px 14px; display: grid; gap: .7rem; overflow: hidden;
}
.panneau-corps.sans-tete { padding-top: 14px; }
.tete-bloc {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; column-gap: .5rem; row-gap: 0;
  margin: 0 -14px; padding: 10px 14px 10px 52px; min-height: 50px; font-size: 1rem;
  background: var(--tete); border-bottom: 1.5px solid var(--tete-ligne);
  border-radius: calc(var(--radius) - 2.5px) calc(var(--radius) - 2.5px) 0 0;
}
.tete-bloc::before {
  content: ""; position: absolute; left: 14px; top: 50%; margin-top: -14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--pic, none) center / 15px no-repeat, var(--grad-rond);
}
/* Le titre ne se coupe pas (sauf s'il dépasse seul la ligne) ; le complément passe dessous si besoin. */
.tete-bloc .t { flex: 0 0 auto; max-width: 100%; display: inline-flex; align-items: center; gap: .45rem; }
.tete-bloc small { margin-left: 0; font-size: .85em; }
.tete-bloc .lien-tete { margin-left: auto; font-size: .85rem; font-weight: 800; text-decoration: none; min-height: 0; padding: .1rem 0; }
.panneau.sans-icone .tete-bloc { padding-left: 14px; }
.panneau.sans-icone .tete-bloc::before { display: none; }
.panneau-corps > p { margin: 0; color: var(--muted); }
/* Icônes des blocs (SVG blanc), à poser avec data-icone="…" sur le bloc. */
[data-icone="evaluation"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223.5%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%203.5h6v3H9z%22%2F%3E%3Cpath%20d%3D%22m8.5%2013%202.5%202.5%204.5-5%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="historique"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Cpath%20d%3D%22M12%207.5V12l3%202%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="progression"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2018l5-6%204%203%207-8%22%2F%3E%3Cpath%20d%3D%22M15%207h5v5%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="objectif"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%221%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="bilan"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203.5h8l4%204v13H6z%22%2F%3E%3Cpath%20d%3D%22M14%203.5v4h4M9%2012h6M9%2015.5h6M9%209h2%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="reglages"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M12%203v2.5M12%2018.5V21M3%2012h2.5M18.5%2012H21M5.6%205.6l1.8%201.8M16.6%2016.6l1.8%201.8M5.6%2018.4l1.8-1.8M16.6%207.4l1.8-1.8%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="groupe"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228.5%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3.5%2019c.6-3.3%202.8-5%205.5-5s4.9%201.7%205.5%205%22%2F%3E%3Ccircle%20cx%3D%2216.5%22%20cy%3D%229.5%22%20r%3D%222.4%22%2F%3E%3Cpath%20d%3D%22M15.5%2014.3c2.6.1%204.4%201.6%205%204.4%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="joueur"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228.5%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M5%2020c.8-4%203.6-6%207-6s6.2%202%207%206%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="sauvegarde"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204v11M7%2010l5%205%205-5%22%2F%3E%3Cpath%20d%3D%22M4.5%2016v3.5h15V16%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="ia"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l2.4%205.6L20%2011l-5.6%202.4L12%2019l-2.4-5.6L4%2011l5.6-2.4z%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="installation"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%227%22%20y%3D%222.5%22%20width%3D%2210%22%20height%3D%2219%22%20rx%3D%222.2%22%2F%3E%3Cpath%20d%3D%22M12%207v7M9.5%2011.5%2012%2014l2.5-2.5%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="archive"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%224.5%22%20width%3D%2217%22%20height%3D%224%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M5%208.5v11h14v-11M10%2012.5h4%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="demo"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Cpath%20d%3D%22M10%208.5v7l5.5-3.5z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="grille"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.2%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%224%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.2%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2213%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.2%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%2213%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.2%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="danger"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203.5%2021%2019.5H3z%22%2F%3E%3Cpath%20d%3D%22M12%2010v4.5M12%2017.2v.3%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="points"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l2.6%205.6%206.1.7-4.5%204.2%201.2%206L12%2016.6%206.6%2019.5l1.2-6-4.5-4.2%206.1-.7z%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="notes"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020h4L19%209l-4-4L4%2016z%22%2F%3E%3Cpath%20d%3D%22m13.5%206.5%204%204%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="rappel"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2016V11a6%206%200%200%201%2012%200v5l1.5%202h-15z%22%2F%3E%3Cpath%20d%3D%22M10%2020.5a2%202%200%200%200%204%200%22%2F%3E%3C%2Fsvg%3E"); }
[data-icone="club"] { --pic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020V9l8-5%208%205v11%22%2F%3E%3Cpath%20d%3D%22M9.5%2020v-6h5v6%22%2F%3E%3C%2Fsvg%3E"); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 1.1rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--titre);
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .08s ease;
}
.bouton:active { transform: scale(.985); }
.bouton.principal { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: var(--ombre-bouton); }
.bouton.principal:disabled { background: #B4CDD3; box-shadow: none; cursor: not-allowed; }
@media (prefers-color-scheme: dark) { .bouton.principal:disabled { background: #1E4A5A; color: #A9C6CE; } }
.bouton.danger { color: var(--err); border-color: var(--err-line); }
.bouton.petit { min-height: 40px; padding: 0 .9rem; font-size: .88rem; }
.bouton.large { width: 100%; }
.bouton.large + * { margin-top: 16px; }

/* ---------- Pastilles (puces de groupe, segments de période et de contexte) ---------- */
.puces-cadre { position: relative; margin: 0 -18px .9rem; }
.puces { display: flex; gap: .45rem; overflow-x: auto; padding: 0 18px .2rem; scrollbar-width: none; }
.puces::-webkit-scrollbar { display: none; }
.puces-cadre.a-suivre .puces { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.puce, .segment span {
  flex: none; display: grid; place-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px;
  border: 1px solid var(--tint-line); background: var(--tint); color: var(--tint-ink);
  font: inherit; font-size: .85rem; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.puce[aria-pressed="true"], .segment input:checked + span {
  background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(2, 110, 134, .22);
}
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.segments.periodes { grid-template-columns: repeat(4, 1fr); margin-bottom: .9rem; }
.segment { display: block; position: relative; }
.segment input { position: absolute; opacity: 0; inset: 0; min-height: 0; margin: 0; }
.segment span { padding: 0 .4rem; }

/* ---------- Liste des joueurs ---------- */
.liste-joueurs, .liste-simple, .liste-domaines, .liste-archives, .liste-criteres, .barres, .legende,
.liste-deltas, .liste-points, .liste-classement, .liste-rappel, .liste-objectifs, .liste-bilans { list-style: none; margin: 0; padding: 0; }
.liste-joueurs { display: grid; gap: .55rem; padding-bottom: calc(58px + 24px); }
.carte-joueur {
  display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem; min-height: 66px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  color: inherit; text-decoration: none; transition: transform .08s ease;
}
.carte-joueur:active { transform: scale(.99); }
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--grad-rond); color: #fff; font-weight: 800; letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(7, 37, 57, .35);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.grand { width: 64px; height: 64px; font-size: 1.35rem; }
.infos { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.infos strong { color: var(--titre); font-weight: 800; }
.infos small { color: var(--muted); }
.note {
  flex: none; min-width: 3rem; text-align: center; padding: .3rem .55rem; border-radius: 999px;
  background: var(--tint); border: 1px solid var(--tint-line); color: var(--tint-ink);
  font-weight: 800; font-size: 1.02rem; font-variant-numeric: tabular-nums;
}
.badge-progresse {
  display: inline-block; margin-top: .25rem; padding: .08rem .55rem; border-radius: 999px; width: fit-content;
  background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-ink); font-size: .72rem; font-weight: 800;
}
.fab {
  position: fixed; right: max(16px, calc((100% - 480px) / 2 + 16px)); bottom: calc(var(--nav) + 16px + env(safe-area-inset-bottom)); z-index: 6;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--corail); color: var(--sur-corail); box-shadow: 0 8px 20px rgba(253, 103, 80, .38); transition: transform .2s;
}
.fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
body:has(#toast:not([hidden])) .fab { transform: translateY(-58px); }

/* ---------- Fiche joueur ---------- */
.entete-joueur { display: flex; align-items: center; gap: 1rem; margin: .3rem 0 1rem; }
.entete-joueur h1 { margin: 0; font-size: 1.35rem; }
.entete-joueur p { margin: .2rem 0 0; color: var(--muted); }
.actions-joueur { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem; }
.derniere { display: grid; gap: .75rem; color: inherit; text-decoration: none; }
.ligne-meta { display: flex; align-items: center; gap: .6rem; }
.ligne-meta > span:first-child, .ligne-meta > strong:first-child { flex: 1; font-weight: 700; }
.moyenne { font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; color: var(--titre); }
.moyenne small { font-size: .8rem; color: var(--muted); font-weight: 700; }
.barres { display: grid; gap: .55rem; }
.barre-domaine { display: grid; grid-template-columns: 7.2rem 1fr; grid-template-areas: "libelle valeur" "piste piste"; gap: .25rem .6rem; align-items: center; }
.barre-domaine .libelle { grid-area: libelle; display: flex; align-items: center; gap: .45rem; font-weight: 700; }
.barre-domaine .valeur { grid-area: valeur; text-align: right; font-variant-numeric: tabular-nums; }
.barre-domaine .valeur strong { color: var(--titre); }
.barre-domaine .valeur small { color: var(--muted); }
.piste { grid-area: piste; display: block; height: 10px; border-radius: 99px; background: var(--piste); overflow: hidden; }
.remplissage { display: block; height: 100%; width: var(--v); background: var(--c); border-radius: 99px; }
.non-evalue .valeur { color: var(--muted); font-style: italic; }
.liste-simple li { border-bottom: 1px solid var(--line); }
.liste-simple li:last-child { border-bottom: 0; }
.liste-simple li > a { display: flex; align-items: center; gap: .6rem; padding: .7rem 0; min-height: 50px; color: inherit; text-decoration: none; }
.liste-simple a > span:first-child { flex: 1; font-weight: 700; }
.liste-simple strong { font-variant-numeric: tabular-nums; color: var(--titre); }
.chevron { color: #8FAAB4; font-size: 1.3rem; }
.etiquette { font-size: .75rem; font-weight: 800; padding: .12rem .55rem; border-radius: 999px; background: var(--tint); border: 1px solid var(--tint-line); color: var(--tint-ink); }
.etiquette.alerte { display: inline-block; background: var(--err-bg); border-color: var(--err-line); color: var(--err); margin-top: .4rem; }
.notes { white-space: pre-wrap; margin: 0; }
.ligne-bilan { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .6rem; margin: 0; color: var(--muted); }
.ligne-bilan a:first-of-type:not(.lien-action) { font-weight: 800; }

/* ---------- Domaines ---------- */
.liste-domaines li { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; }
.liste-domaines small { color: var(--muted); margin-left: auto; }
.pastille { width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; display: inline-block; }

/* ---------- Champs ---------- */
label { display: grid; gap: .3rem; font-weight: 800; font-size: .85rem; color: var(--titre); }
label small { font-weight: 700; color: var(--muted); }
input, textarea {
  font: inherit; font-size: .95rem; min-height: 48px; padding: .6rem .85rem; border-radius: 12px; width: 100%;
  border: 1.5px solid var(--line); background: var(--champ); color: var(--ink);
}
textarea { resize: vertical; line-height: 1.55; }
input[type="date"] {
  -webkit-appearance: none; appearance: none; display: block; min-height: 48px; line-height: 1.3;
  text-align: left; border: 1.5px solid var(--line); border-radius: 12px;
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2, 110, 134, .15); }
input:disabled { opacity: .55; }
.formulaire { display: grid; gap: 1rem; }
.photo-champ { display: flex; align-items: center; gap: 1rem; }
.photo-actions { display: grid; gap: .2rem; justify-items: start; }
.photo-actions label { display: inline-flex; }
.champ { display: grid; gap: .4rem; }
.suggestion {
  justify-self: start; border: 1.5px dashed var(--blue); background: var(--tint);
  color: var(--tint-ink); border-radius: 12px; padding: .55rem .85rem; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px;
}
.erreur { color: var(--err); font-weight: 800; margin: 0; }
.zone-danger { margin-top: .4rem; }
.liste-archives li { display: flex; align-items: center; gap: .7rem; padding: .4rem 0; }
.liste-archives a { flex: 1; font-weight: 800; text-decoration: none; color: inherit; }
label.case { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; }
label.case input { width: 22px; height: 22px; min-height: 0; margin: .1rem 0 0; flex: none; accent-color: var(--blue); }
label.case span { font-weight: 500; }
label.case .libelle-case { font-weight: 800; }
label.case .libelle-case small { font-weight: 500; }

/* ---------- Évaluation rapide ---------- */
.form-eval { display: grid; gap: .8rem; padding-bottom: 84px; }
.entete-eval { display: grid; gap: .7rem; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.champs-match { margin-top: .6rem; }
.champs-match[hidden] { display: none; }
.bandeau {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .35rem .9rem;
  border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-line); color: var(--tint-ink); font-weight: 700; margin-bottom: .6rem;
}
.domaine { background: var(--card); border: 1.5px solid var(--line); border-left: 5px solid var(--c); border-radius: 14px; overflow: hidden; }
.domaine summary {
  display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; min-height: 52px; background: var(--tete);
  font-weight: 800; font-size: 1rem; color: var(--titre); cursor: pointer; list-style: none;
}
.domaine:not([open]) summary { background: var(--card); }
.domaine summary::-webkit-details-marker { display: none; }
.domaine summary::after { content: "›"; margin-left: .3rem; font-size: 1.4rem; line-height: 1; color: var(--muted); transform: rotate(90deg); transition: transform .15s; }
.domaine:not([open]) summary::after { transform: rotate(0deg); }
.domaine-nom { flex: 1; }
.domaine-compte { font-size: .82rem; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.domaine-corps { padding: 0 1rem .6rem; }
.reprendre { font-size: .85rem; padding: 0; min-height: 36px; }
.critere { display: grid; gap: .35rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.critere-libelle {
  justify-self: start; text-align: left; background: none; border: 0; padding: .1rem 0; font: inherit; font-weight: 700;
  color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.critere-libelle .info {
  flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--muted); color: var(--muted); font-size: .66rem; font-weight: 800; line-height: 1; font-family: Georgia, serif; font-style: italic;
}
.critere-libelle[aria-expanded="true"] .info { background: var(--blue); border-color: var(--blue); color: var(--card); }
.critere .notes { display: grid; grid-template-columns: repeat(5, 48px); justify-content: space-between; gap: 4px; white-space: normal; }
.pastille-note {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--card); color: var(--titre);
  font: inherit; font-weight: 800; font-size: 1.05rem; line-height: 1; cursor: pointer; touch-action: manipulation;
  display: grid; place-items: center; padding: 0 0 2px;
}
.pastille-note[aria-checked="true"] { background: var(--c); border-color: var(--c); color: var(--c-texte); transform: scale(1.06); }
.pastille-note.precedente { border-style: dashed; border-width: 2px; border-color: var(--c); }
.pastille-note.precedente::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--c); pointer-events: none; }
.pastille-note.precedente[aria-checked="true"]::after { background: var(--c-texte); }
.critere-aide { background: var(--tint); border: 1px solid var(--tint-line); border-radius: 12px; padding: .6rem .8rem; font-size: .88rem; }
.critere-aide p { margin: 0 0 .4rem; }
.legende { display: grid; gap: .15rem; color: var(--muted); }
.legende b { display: inline-block; width: 1.2rem; color: var(--titre); }
.commentaire textarea { overflow: hidden; resize: none; }
.barre-enregistrer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; margin: 0 auto; max-width: 480px;
  display: flex; align-items: center; gap: 1rem;
  padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(7, 37, 57, .08);
}
@media (min-width: 500px) { .barre-enregistrer { border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; } }
.barre-enregistrer .compteur { flex: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.barre-enregistrer .compteur b { color: var(--titre); font-size: 1.2rem; }
.barre-enregistrer .bouton { min-width: 9rem; min-height: 52px; }

/* ---------- Notation rapide (lot 10) ---------- */
.segments.modes-eval { grid-template-columns: repeat(3, 1fr); }
.ligne-domaine { display: grid; gap: .45rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.zone-rapide .panneau-corps > p + .ligne-domaine { border-top: 0; }
.tete-ligne-domaine { display: flex; align-items: center; gap: .55rem; }
.tete-ligne-domaine .nom { font-weight: 800; color: var(--titre); }
.etat-domaine { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--muted); }
.ligne-domaine .notes, .note-domaine .notes { display: grid; grid-template-columns: repeat(5, 48px); justify-content: space-between; gap: 4px; }
.note-domaine { display: grid; gap: .35rem; padding: .7rem 0 .5rem; }
.libelle-note-domaine { font-size: .8rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.etiquette.rapide { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }
/* Lot 13 : note de séance, en tête de l’évaluation dans les trois modes. */
.etiquette.seance { background: var(--tint); border-color: var(--tint-line); color: var(--tint-ink); }
.zone-seance { --c: #026E86; --c-texte: #FFFFFF; }
.zone-seance .tete-bloc small.etat-seance { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--muted); }
.notes-seance { display: grid; grid-template-columns: repeat(5, 48px); justify-content: space-between; gap: 4px; margin-top: .2rem; }
.libelle-niveau-seance { margin: .5rem 0 0; min-height: 1.2em; font-weight: 700; }
.ligne-seance { display: block; font-size: .9rem; color: var(--muted); }
.ligne-seance strong { color: var(--titre); font-size: 1.05rem; }
.note-seance-detail .grande-note { display: flex; align-items: baseline; gap: .35rem; margin: .2rem 0 .4rem; }
.note-seance-detail .grande-note strong { font-size: 3.2rem; line-height: 1; font-weight: 800; color: var(--titre); font-variant-numeric: tabular-nums; }
.note-seance-detail .grande-note small { font-size: 1.1rem; font-weight: 800; color: var(--muted); }
.note-seance-detail .grande-note span { margin-left: .5rem; font-weight: 800; color: var(--tint-ink); }
.trait-seances { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 4 4; opacity: .7; }
.point-seance { stroke: var(--card); stroke-width: 2; }
.legende-seances { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .4rem 0 0; font-size: .85rem; font-weight: 700; color: var(--muted); }
.legende-seances > span { display: inline-flex; align-items: center; gap: .4rem; }
.legende-seances .rond { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
@media (min-width: 520px) {
  .ligne-domaine { grid-template-columns: 1fr auto; align-items: center; }
  .note-domaine { grid-template-columns: 1fr auto; align-items: center; }
  .ligne-domaine .notes, .note-domaine .notes, .notes-seance { gap: 8px; }
}

/* ---------- Détail d'une évaluation ---------- */
.resume-eval > .panneau-corps { grid-template-columns: 1fr auto; align-items: center; }
.resume-eval .etiquettes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem; }
.resume-eval p { grid-column: 1 / -1; margin: 0; }
.commentaire-eval { margin: 0 0 1rem; padding: .7rem 1rem; border-left: 4px solid var(--blue); background: var(--tint); color: var(--ink); border-radius: 0 12px 12px 0; white-space: pre-wrap; }
.bloc-domaine .tete-bloc .pastille { width: 16px; height: 16px; }
.bloc-domaine .tete-bloc small { margin-left: auto; }
.liste-criteres li { display: grid; grid-template-columns: 1fr 2.4rem 4.2rem; align-items: center; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.liste-criteres li:last-child { border-bottom: 0; }
.liste-criteres .score {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--tint); background: color-mix(in srgb, var(--c) 16%, var(--card)); color: var(--titre); font-weight: 800;
}
.variation { font-weight: 800; font-size: .88rem; text-align: right; font-variant-numeric: tabular-nums; }
.variation.hausse { color: var(--hausse); }
.variation.baisse { color: var(--baisse); }
.variation.stable, .variation.neutre { color: var(--muted); }
.actions-bas { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }

/* ---------- Progression ---------- */
.graphique { width: 100%; min-height: 200px; }
.graphique svg { display: block; width: 100%; height: auto; max-width: 100%; overflow: visible; }
.graphique.radar { display: grid; justify-items: center; min-height: 240px; }
.graphique.radar svg { width: auto; }
.axe-grille { stroke: var(--line); stroke-width: 1; }
.axe-texte { fill: var(--muted); font-size: 12px; font-family: inherit; font-weight: 700; }
.serie polyline { stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.serie.moyenne polyline { stroke: var(--courbe-moyenne); stroke-width: 4.5; }
.serie.moyenne circle { fill: var(--courbe-moyenne); }
.radar-anneau, .radar-axe { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-libelle { fill: var(--ink); font-size: 12.5px; font-weight: 800; font-family: inherit; }
.radar-apres { fill: rgba(2, 110, 134, .24); fill: color-mix(in srgb, var(--blue) 24%, transparent); stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; }
.radar-avant { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 5 4; stroke-linejoin: round; }
.radar-point { fill: var(--blue); }
.ligne-score { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.score-progression { display: inline-flex; align-items: baseline; gap: .4rem; font-size: 1.1rem; }
.score-progression small { font-size: .82rem; color: var(--muted); font-weight: 500; }
.legende-courbe { display: flex; flex-wrap: wrap; gap: .4rem; }
.legende-item {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .75rem; border-radius: 999px;
  border: 1px solid var(--tint-line); background: var(--tint); color: var(--tint-ink); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer;
}
.legende-item .trait { width: 16px; height: 4px; border-radius: 2px; background: var(--c, var(--courbe-moyenne)); }
.legende-item.moyenne .trait { height: 6px; }
.legende-item[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.legende-radar { display: grid; gap: .3rem; font-size: .85rem; margin: 0; color: var(--muted); }
.legende-radar > span { display: flex; align-items: center; gap: .5rem; }
.cle-apres, .cle-avant { display: inline-block; width: 18px; height: 12px; border-radius: 3px; }
.cle-apres { background: rgba(2, 110, 134, .24); background: color-mix(in srgb, var(--blue) 24%, transparent); border: 2px solid var(--blue); }
.cle-avant { border: 2px dashed var(--muted); }
.liste-deltas li { display: grid; grid-template-columns: auto 1fr auto 4.2rem; align-items: center; gap: .6rem; padding: .5rem 0; border-top: 1px solid var(--line); }
.liste-deltas .nom { font-weight: 700; }
.liste-deltas .valeurs { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .9rem; }
.sous-titre { font-size: .92rem; margin: .2rem 0 0; }
.sous-titre.hausse { color: var(--hausse); }
.sous-titre.baisse { color: var(--baisse); }
.liste-points li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .3rem .6rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.liste-points li .bouton { grid-column: 2 / -1; justify-self: start; }
.liste-points .nom { display: flex; flex-direction: column; font-weight: 800; color: var(--titre); }
.liste-points .nom small { font-weight: 500; color: var(--muted); }
.score-mini { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; color: var(--titre); }
.score-mini small { font-size: .75rem; color: var(--muted); font-weight: 700; }
.message-info .bouton { justify-self: start; }

/* ---------- Groupe : tuiles de chiffres, classement, rappels ---------- */
.tuiles { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; align-items: stretch; gap: .6rem; margin: 0 0 14px; }
.tuile {
  position: relative; display: grid; grid-template-rows: auto 1fr; gap: .1rem; padding: .85rem .9rem; border-radius: 14px; color: #fff; overflow: hidden; min-height: 96px;
  background: var(--navy); box-shadow: var(--ombre-bouton);
}
.tuile + .tuile { background: var(--grad-btn); }
.tuile .n { font-size: 1.7rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tuile .l { font-size: .78rem; font-weight: 700; color: #BFEFF3; align-self: end; padding-right: 1.6rem; }
.tuile .ico { position: absolute; top: .7rem; right: .7rem; width: 28px; height: 28px; border-radius: 50%; background: var(--pic) center / 15px no-repeat, rgba(255, 255, 255, .16); }
.ligne-classement { display: grid; grid-template-columns: 1.4rem 38px 1fr 4.4rem; grid-template-areas: "rang avatar infos score" "rang barre barre barre"; align-items: center; gap: .3rem .6rem; padding: .6rem 0; color: inherit; text-decoration: none; border-top: 1px solid var(--line); }
.liste-classement li:first-child .ligne-classement { border-top: 0; }
.ligne-classement .rang { grid-area: rang; font-weight: 800; color: var(--muted); text-align: center; }
.ligne-classement .avatar { grid-area: avatar; width: 38px; height: 38px; font-size: .88rem; }
.ligne-classement .infos { grid-area: infos; }
.ligne-classement .barre-signee { grid-area: barre; }
.ligne-classement .score { grid-area: score; text-align: right; }
.barre-signee { position: relative; display: block; height: 10px; border-radius: 99px; background: var(--piste); overflow: hidden; }
.barre-signee .axe { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--muted); z-index: 1; }
.barre-signee .barre { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.barre-signee .barre.positif { left: 50%; background: var(--ok); }
.barre-signee .barre.negatif { right: 50%; background: var(--err); }
.liste-rappel li { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.liste-rappel li:first-child { border-top: 0; }
.liste-rappel .avatar { width: 38px; height: 38px; font-size: .88rem; }
.liste-rappel strong { color: var(--titre); }

/* ---------- Objectifs ---------- */
.liste-objectifs { display: grid; gap: .6rem; }
.carte-objectif { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem .95rem; display: grid; gap: .35rem; }
.carte-objectif.statut-atteint { border-left: 5px solid var(--ok); }
.carte-objectif.statut-abandonne { opacity: .75; }
.libelle-objectif { margin: 0; font-weight: 800; color: var(--titre); }
.meta-objectif { margin: 0; display: flex; flex-wrap: wrap; gap: .3rem .8rem; font-size: .83rem; color: var(--muted); }
.etiquette-domaine { display: inline-flex; align-items: center; gap: .35rem; }
.etiquette-domaine .pastille { width: 10px; height: 10px; }
.echeance.depassee { color: var(--err); font-weight: 800; }
.meta-objectif .statut-atteint { color: var(--hausse); font-weight: 800; }
.commentaire-objectif { margin: 0; font-size: .9rem; white-space: pre-wrap; }
.actions-objectif { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.liste-objectifs.compacte .carte-objectif { padding: .6rem .85rem; }
.termines summary { font-weight: 800; color: var(--blue); cursor: pointer; padding: .3rem 0; min-height: 40px; display: flex; align-items: center; }
.termines .liste-objectifs { margin-top: .4rem; }
.choix-domaine { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.choix-domaine legend { font-weight: 800; font-size: .85rem; color: var(--titre); margin-bottom: .35rem; padding: 0; }
.option-domaine { position: relative; display: block; }
.option-domaine input { position: absolute; opacity: 0; inset: 0; min-height: 0; }
.option-domaine > span {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: 0 .95rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--titre); font-weight: 800; font-size: .88rem; cursor: pointer;
}
.option-domaine input:checked + span { border-color: var(--c); background: var(--tint); background: color-mix(in srgb, var(--c) 14%, var(--card)); }
.liste-suggestions { display: grid; gap: .45rem; }
.liste-suggestions .suggestion { display: flex; align-items: center; gap: .5rem; width: 100%; text-align: left; justify-self: stretch; }
.liste-suggestions .suggestion[aria-pressed="true"] { border-style: solid; }

/* ---------- Bilan ---------- */
.actions-bilan { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; }
.editeur-bilan textarea { min-height: 220px; resize: none; overflow: hidden; }
.editeur-bilan label.ligne-meta { display: flex; }
.editeur-bilan label.ligne-meta > span:first-child { flex: 1; }
.editeur-bilan .bandeau { margin: 0; }
.bandeau-info { margin: 0 0 .8rem; padding: .55rem .9rem; border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-line); color: var(--tint-ink); font-weight: 700; }
.panneau-corps > .bandeau-info, .editeur-bilan .bandeau-info { margin: 0; }
.bouton.en-attente { position: relative; padding-left: 2.4rem; opacity: .9; cursor: progress; }
.bouton.en-attente::before {
  content: ""; position: absolute; left: 1rem; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: tourner .7s linear infinite;
}
@keyframes tourner { to { transform: rotate(360deg); } }
.liste-bilans { display: grid; gap: .6rem; }
.carte-bilan { display: grid; gap: .25rem; padding: .8rem .95rem; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; }
.carte-bilan strong { color: var(--titre); }
.carte-bilan small { color: var(--muted); }
.carte-bilan .extrait { font-size: .88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta-bilan { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; color: var(--muted); margin: -.4rem 0 1rem; }
.texte-bilan { line-height: 1.65; font-size: 1rem; }
.texte-bilan p { margin: 0; color: var(--ink); }

/* ---------- Réglages ---------- */
.panneau-corps > .avertissement, .avertissement { margin: 0; padding: .6rem .85rem; border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-line); color: var(--tint-ink); font-weight: 700; }
.rappel-sauvegarde { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 .9rem; padding: .6rem .85rem; border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-line); color: var(--tint-ink); font-weight: 700; }
.rappel-sauvegarde.urgent { background: var(--err-bg); border-color: var(--err-line); color: var(--err); }
.rappel-sauvegarde .bouton { flex-shrink: 0; }
.separateur { height: 1px; background: var(--line); margin: .2rem 0; }
#choisir-import { justify-self: start; }
.etapes { margin: 0; padding-left: 1.3rem; display: grid; gap: .35rem; color: var(--muted); }
.etapes .lien-action { min-height: 0; padding: 0; }
.etapes label { display: inline; font-weight: 500; font-size: inherit; color: inherit; }
#coche-export { color: var(--hausse); font-weight: 800; margin-left: .3rem; }
.apercu-import { display: grid; gap: .7rem; padding: .9rem; border-radius: 14px; border: 1.5px solid var(--tint-line); background: var(--tint); }
.apercu-import h3 { margin: 0; font-size: .98rem; overflow-wrap: anywhere; }
.resume-import { display: grid; grid-template-columns: auto 1fr; gap: .25rem .9rem; margin: 0; }
.resume-import dt { color: var(--muted); }
.resume-import dd { margin: 0; font-weight: 800; color: var(--titre); font-variant-numeric: tabular-nums; }
.choix-import { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.choix-import legend { font-weight: 800; color: var(--titre); margin-bottom: .3rem; padding: 0; }
#mot-effacer { max-width: 16rem; letter-spacing: .08em; }

/* ---------- États vides, notifications ---------- */
.vide { text-align: center; padding: 2rem .5rem; }
.vide p { color: var(--muted); }
.vide .bouton { margin: 6px; }
.vide-petit { color: var(--muted); padding: .4rem 0; margin: 0; }
#toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--nav) + 10px + env(safe-area-inset-bottom)); z-index: 10;
  max-width: 448px; margin: 0 auto; padding: .75rem 1rem; border-radius: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--navy); color: #fff; font-weight: 700; box-shadow: 0 8px 24px rgba(7, 37, 57, .3);
}
@media (prefers-color-scheme: dark) { #toast { background: #E8F7F9; color: #072539; } }
body.mode-saisie #toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
#bandeau-maj, #bandeau-sync {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .5rem .6rem .5rem 18px; background: var(--grad-btn); color: #fff; font-weight: 800; font-size: .9rem;
}
#bandeau-sync { background: var(--tint); color: var(--tint-ink); border-bottom: 1px solid var(--tint-line); }
#bandeau-maj[hidden], #bandeau-sync[hidden] { display: none; }
#bandeau-maj span, #bandeau-sync span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#bandeau-sync span { white-space: normal; }
#bandeau-maj button, #bandeau-sync button { flex: none; min-height: 40px; padding: 0 1rem; border-radius: 10px; border: 0; background: #fff; color: #072539; font: inherit; font-weight: 800; cursor: pointer; }

/* ---------- Profils et grilles (lot 11) ---------- */
.puces-profil { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-bottom: .9rem; }
.puces-profil .puce { padding: 0 .3rem; }
.pastille-profil {
  display: inline-block; width: fit-content; margin-top: .2rem; padding: .05rem .5rem; border-radius: 999px;
  background: var(--tint); border: 1px solid var(--tint-line); color: var(--tint-ink); font-size: .72rem; font-weight: 800;
}
.champ-profil { border: 0; padding: 0; margin: 0; display: grid; gap: .4rem; min-width: 0; }
.champ-profil legend { font-weight: 800; font-size: .85rem; color: var(--titre); margin-bottom: .35rem; padding: 0; }
.champ-profil legend small { font-weight: 700; color: var(--muted); }
.aide-profil { margin: 0; }
.liste-grilles { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .5rem; }
.carte-grille {
  display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; min-height: 58px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); color: inherit; text-decoration: none;
}
.grille-utilisee { margin: 0; }
.bouton-icone {
  flex: none; width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--titre); font: inherit; font-weight: 800; cursor: pointer;
}
.bouton-icone:disabled { opacity: .35; cursor: default; }
.form-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: .6rem; }
.form-ligne input { flex: 1 1 100%; min-width: 0; }
.form-ligne .bouton { margin-right: auto; }
.liste-criteres-edition { list-style: none; margin: 0 0 .8rem; padding: 0; }
.ligne-critere { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.ligne-critere:last-child { border-bottom: 0; }
.ligne-critere.archive .infos { opacity: .6; }
.vue-critere { display: grid; gap: .45rem; }
.vue-critere .outils { display: flex; flex-wrap: wrap; gap: .4rem; }
.vue-critere[hidden], .form-critere[hidden] { display: none; }
.form-critere, .form-ajout { display: grid; gap: .6rem; }
.form-ajout { padding-top: .6rem; border-top: 1px dashed var(--line); }
.form-ajout > .bouton { justify-self: start; }
.choix-couleur { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.choix-couleur legend { font-weight: 800; font-size: .85rem; color: var(--titre); margin-bottom: .35rem; padding: 0; }
.option-couleur { position: relative; display: block; }
.option-couleur input { position: absolute; opacity: 0; inset: 0; min-height: 0; margin: 0; }
.option-couleur span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c);
  border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer;
}
.option-couleur input:checked + span { box-shadow: 0 0 0 3px var(--c); }
.option-couleur input:checked + span::after { content: "✓"; color: var(--c-texte); font-weight: 800; }
.option-couleur input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Dictée vocale */
.champ-dictee { position: relative; display: block; }
.champ-dictee textarea { padding-right: 3.4rem; }
.bouton-micro {
  position: absolute; right: .45rem; top: .45rem; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid var(--line); background: var(--card); color: var(--blue); cursor: pointer;
}
.bouton-micro svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bouton-micro[hidden] { display: none; }
.bouton-micro.ecoute { background: var(--err); border-color: var(--err); color: #fff; animation: pulsation-micro 1.2s ease-in-out infinite; }
@keyframes pulsation-micro { 0%, 100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, .45); } 50% { box-shadow: 0 0 0 8px rgba(180, 35, 24, 0); } }

/* ---------- Accessibilité ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible,
summary:focus-visible, [tabindex]:focus-visible, .segment input:focus-visible + span, .option-domaine input:focus-visible + span {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
/* Le routeur focalise <main id="vue" tabindex="-1"> à chaque écran (accessibilité) : jamais d'anneau dessus.
   Règle plus spécifique que [tabindex]:focus-visible, sinon Safari dessine deux lignes bleues (haut et bas). */
main#vue:focus, main#vue:focus-visible, [tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .carte-joueur:active, .pastille-note[aria-checked="true"], .bouton:active { transform: none; }
}

/* ---------- Écrans larges ---------- */
@media (min-width: 520px) {
  body { padding-top: calc(24px + env(safe-area-inset-top)); }
  .critere { grid-template-columns: 1fr auto; align-items: center; }
  .critere-aide { grid-column: 1 / -1; }
  .critere .notes { gap: 8px; }
}

/* Lot 14 : logo du club dans Réglages → Club. */
.champ-logo { display: grid; gap: .45rem; }
.champ-logo-titre { font-weight: 800; font-size: .85rem; color: var(--titre); }
.champ-logo .logo-club { width: 64px; height: 64px; font-size: 1.3rem; }
.champ-logo .discret { margin: 0; }

/* ---------- Lot 15 : import CSV, couleurs du club, bilan illustré, impression ---------- */
.apercu-import-csv { display: grid; gap: .7rem; margin-top: .8rem; }
.apercu-import-csv p { margin: 0; }
.bandeau-erreurs { padding: .6rem .85rem; border-radius: 12px; background: var(--err-bg); border: 1px solid var(--err-line); color: var(--err); }
.bandeau-erreurs ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.choix-import { border: 1px solid var(--line); border-radius: 12px; padding: .6rem .85rem; margin: 0; display: grid; gap: .3rem; }
.choix-import legend { font-weight: 800; font-size: .88rem; color: var(--titre); padding: 0 .3rem; }
.tableau-defilant { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tableau-apercu { width: 100%; border-collapse: collapse; font-size: .85rem; }
.tableau-apercu caption { text-align: left; font-weight: 800; padding: .55rem .7rem; color: var(--titre); }
.tableau-apercu th, .tableau-apercu td { text-align: left; padding: .45rem .7rem; border-top: 1px solid var(--line); white-space: nowrap; }
.tableau-apercu th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.couleurs-club { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.couleurs-club legend { font-weight: 800; font-size: .85rem; color: var(--titre); margin-bottom: .4rem; padding: 0; }
.couleurs-club legend small { font-weight: 700; color: var(--muted); }
.champ-couleur .ligne-couleur { display: flex; gap: .5rem; align-items: center; }
.champ-couleur input[type="color"] { width: 56px; min-height: 48px; padding: 4px; flex: none; cursor: pointer; }
.champ-couleur input[aria-invalid="true"] { border-color: var(--err); }
.apercu-couleurs { display: inline-block; padding: .2rem .7rem; border-radius: 8px; background: var(--fond); color: var(--texte); border-bottom: 4px solid var(--second); font-weight: 800; }
.apercu-image img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); margin: .3rem 0 .8rem; }
.actions-documents { display: grid; gap: .5rem; margin-bottom: .5rem; }

/* Bilan de saison imprimable (A4). À l'écran : une feuille blanche ; à l'impression : rien d'autre. */
body.mode-impression .bande-club { display: none; }
.feuille { --club: #026E86; --club-texte: #FFFFFF; --club-2: #072539; --blue: #036B82; --navy: #072539; --lien: #036B82; --tint-line: #BEE7EC; --tint-ink: #05465C;
  /* Toujours en clair, même en mode sombre : c’est une feuille à imprimer. */
  color-scheme: light; --ink: #1B3A4B; --muted: #4E6875; --line: #D3E4E8; --titre: #072539; --piste: #E2EFF2; --card: #FFFFFF; --courbe-moyenne: #072539; --tint: #E6F6F8;
  background: #FFFFFF; color: #1B3A4B; border: 1px solid var(--line); border-radius: 12px; padding: 0 0 1rem; overflow: hidden; }
.feuille-tete { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--club); color: var(--club-texte); border-bottom: 6px solid var(--club-2); }
.feuille-tete .logo-club { width: 56px; height: 56px; font-size: 1.2rem; border: 2px solid #FFFFFF; }
.feuille-club { margin: 0; font-size: 1.3rem; font-weight: 800; }
.feuille-sous-titre { margin: 0; font-weight: 700; opacity: .9; }
.feuille-joueur { margin: 1rem 1.2rem 0; font-size: 1.6rem; color: #072539; }
.feuille-identite, .feuille-periode { margin: .25rem 1.2rem 0; color: #4E6875; font-size: .92rem; }
.bloc-impression { margin: 1rem 1.2rem 0; break-inside: avoid; }
.bloc-impression h2 { font-size: 1.05rem; color: #072539; border-bottom: 2px solid var(--club); padding-bottom: .25rem; margin: 0 0 .5rem; }
.bloc-impression h2 small { color: #4E6875; font-weight: 700; }
.tableau-impression { width: 100%; border-collapse: collapse; font-size: .8rem; }
.tableau-impression th, .tableau-impression td { padding: .3rem .35rem; border-bottom: 1px solid #D3E4E8; text-align: left; vertical-align: top; }
.tableau-impression th { color: #4E6875; font-size: .72rem; }
.tableau-impression .nombre { text-align: right; font-variant-numeric: tabular-nums; }
.tableau-impression .pastille { width: 8px; height: 8px; margin-right: 3px; }
.deux-graphiques { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.deux-graphiques svg, .bloc-impression svg { max-width: 100%; height: auto; }
.legende-impression { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .8rem; margin: .3rem 0 0; }
.legende-impression > span { display: inline-flex; align-items: center; gap: .3rem; }
.liste-impression { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.bilan-impression p { font-size: .9rem; line-height: 1.5; margin: 0 0 .5rem; }
.feuille-pied { margin: 1.2rem 1.2rem 0; padding-top: .6rem; border-top: 1px solid #D3E4E8; font-size: .75rem; color: #4E6875; text-align: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem .7rem; }
.logo-pied { height: 22px; width: auto; }
@media (min-width: 700px) { .deux-graphiques { grid-template-columns: 1.4fr 1fr; align-items: center; } }

@page { size: A4; margin: 12mm; }
@media print {
  html, body { background: #FFFFFF !important; color: #1B3A4B; }
  body { padding: 0 !important; }
  body::before, .carte::before { display: none !important; }
  .brand, .bande-club, #bandeau-maj, #bandeau-sync, .barre-nav, .pied, #toast, .sans-impression, .fab { display: none !important; }
  .carte { max-width: none; box-shadow: none; border-radius: 0; background: #FFFFFF; }
  main { padding: 0 !important; }
  .feuille { border: 0; border-radius: 0; padding: 0; }
  .feuille-tete { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .deux-graphiques { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .bloc-impression, .tableau-impression tr { break-inside: avoid; }
  .tableau-impression thead { display: table-header-group; }
  .svg-courbe .axe-texte, .svg-radar text { fill: #4E6875; }
}

/* Boutons photo : caméra directe, galerie, retirer (fiche, formulaire, logo du club). */
.boutons-photo { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .9rem; }
.boutons-photo .lien-action { min-height: 40px; padding: .4rem 0; }
.bouton-camera { gap: .45rem; }
.icone-camera { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.photo-fiche { margin: -.4rem 0 1rem; }

/* ---------- V2-2 : club relié, groupes ---------- */
.bandeau-liaison { margin: 0 0 .4rem; padding: .55rem .85rem; border-radius: 12px; background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-ink); font-weight: 700; }
.champ-groupes { border: 0; padding: 0; margin: 0; display: grid; gap: .45rem; min-width: 0; }
.champ-groupes legend { font-weight: 800; font-size: .85rem; color: var(--titre); margin-bottom: .35rem; padding: 0; }
.champ-groupes legend small { font-weight: 700; color: var(--muted); }
.choix-groupes { display: flex; flex-wrap: wrap; gap: .4rem; }
.option-groupe > span { --c: var(--blue); }
.nouveau-groupe { display: flex; gap: .45rem; }
.nouveau-groupe input { flex: 1; min-width: 0; }
.groupes-fiche { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.4rem 0 1rem; }
.bloc-gestion-groupe { border-top: 1px solid var(--line); padding: .55rem 0; }
.bloc-gestion-groupe:first-of-type { border-top: 0; }
.bloc-gestion-groupe summary { display: flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer; font-weight: 800; color: var(--titre); }
.bloc-gestion-groupe summary small { margin-left: auto; color: var(--muted); font-weight: 700; }
.bloc-gestion-groupe .form-ligne { margin: .4rem 0 .6rem; }
.joueurs-groupe { border: 0; padding: 0; margin: 0; display: grid; gap: .2rem; }
.joueurs-groupe legend { font-weight: 800; font-size: .82rem; color: var(--muted); margin-bottom: .3rem; padding: 0; }

/* ---------- V2-2 : équipe, invitations, synchronisation ---------- */
.liste-membres { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.carte-membre { border: 1.5px solid var(--line); border-radius: 14px; padding: .7rem .85rem; display: grid; gap: .4rem; }
.carte-membre.retire { opacity: .6; }
.carte-membre .infos small { display: block; }
.edition-membre summary { font-weight: 800; color: var(--blue); cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.edition-membre .formulaire { gap: .7rem; margin-top: .4rem; }
.segments.roles-equipe { grid-template-columns: repeat(3, 1fr); }
.segments.roles-equipe .segment span { font-size: .78rem; line-height: 1.15; padding: .2rem .3rem; text-align: center; white-space: normal; min-height: 44px; }
.invitation-creee { margin-top: .8rem; padding: .8rem .9rem; border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-line); display: grid; gap: .45rem; }
.invitation-creee p { margin: 0; }
.code-invitation { font: 800 1.6rem/1.1 ui-monospace, 'Cascadia Mono', monospace; letter-spacing: .12em; color: var(--titre); }
.lien-invitation { font-size: .8rem; color: var(--muted); word-break: break-all; }
.ligne-invitation { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; }
.ligne-invitation > span { flex: 1; min-width: 0; }
.ligne-invitation small { display: block; color: var(--muted); }
.bloc-sync { display: grid; gap: .5rem; margin: .6rem 0; padding-top: .6rem; border-top: 1px dashed var(--line); }
.etat-sync { margin: 0; font-size: .9rem; color: var(--muted); }
.etat-sync strong { color: var(--titre); }
.premiere-sync p { margin: 0 0 .4rem; }
@media (prefers-color-scheme: dark) { .liste-simple .ligne-invitation { border-color: var(--line); } }

/* ---------- Présences (lot 17) ---------- */
.actions-titre { display: flex; flex-wrap: wrap; gap: .4rem; }
.liste-appel { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .2rem; }
.ligne-appel { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: .45rem .6rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.ligne-appel .motif-appel { grid-column: 1 / -1; }
.nom-appel { display: grid; min-width: 0; }
.nom-appel small { white-space: nowrap; }
.ligne-appel .avatar { width: 34px; height: 34px; font-size: .75rem; flex: none; }
.nom-appel small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.nom-appel small.alerte-appel { color: var(--corail-texte); }
.ligne-appel:first-child { border-top: 0; }
.tete-appel { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.tete-appel strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.etats-appel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.etats-appel .etat-appel { min-height: 46px; padding: 0 .2rem; font-size: .92rem; }
.ligne-seance { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 0 0 .6rem; padding: .2rem .2rem .2rem 0; }
.ligne-seance .lien-action { padding: .3rem .2rem; }
.etat-appel {
  min-height: 48px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--titre);
  font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; padding: 0 .3rem;
}
.etat-appel.etat-present { border-color: #0E7A3E; color: #0E7A3E; }
.etat-appel.etat-absent { border-color: #B42318; color: #B42318; }
.etat-appel.etat-excuse { border-color: #B07D00; color: #8A6100; }
/* Choisi : fond plein (blanc sur vert / rouge, marine sur jaune : contraste AA). */
.etat-appel.etat-present[aria-checked="true"] { background: #0E7A3E; color: #FFFFFF; }
.etat-appel.etat-absent[aria-checked="true"] { background: #B42318; color: #FFFFFF; }
.etat-appel.etat-excuse[aria-checked="true"] { background: #F5C518; border-color: #F5C518; color: #072539; }
.motif-appel input { width: 100%; }
#tout-present { width: 100%; }
.zone-absence { margin-top: .8rem; display: grid; gap: .6rem; }
.bouton-absent { justify-self: start; border-color: #B42318; color: #B42318; }
.panneau-absence { display: grid; gap: .6rem; padding: .8rem; border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-line); }
.repere-suggere { margin: .2rem 0 0; font-size: .85rem; color: var(--muted); }
.pastille-note.suggeree:not(.precedente) { border-style: dotted; border-width: 2px; border-color: var(--c); }
.ligne-presence { margin: .2rem 0 0; font-weight: 700; color: var(--titre); font-size: .92rem; }
.etiquette.presence-insuffisante { display: block; width: fit-content; margin: .25rem 0 0; white-space: nowrap; font-size: .75rem; }
.tableau-presence { width: 100%; border-collapse: collapse; margin-top: .7rem; font-size: .92rem; }
.tableau-presence th, .tableau-presence td { text-align: left; padding: .45rem .3rem; border-top: 1px solid var(--line); }
.tableau-presence thead th { border-top: 0; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.tableau-presence td:last-child, .tableau-presence th:last-child { text-align: right; }
.tableau-presence tr.sous-seuil td strong { color: #B42318; }
.segments.tri-presence { grid-template-columns: repeat(2, 1fr); margin-top: .5rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .etat-appel.etat-present:not([aria-checked="true"]) { color: #5FD08F; border-color: #3FA56B; }
  :root:not([data-theme="light"]) .etat-appel.etat-absent:not([aria-checked="true"]) { color: #FF8A80; border-color: #E5534B; }
  :root:not([data-theme="light"]) .etat-appel.etat-excuse:not([aria-checked="true"]) { color: #F5C518; border-color: #C9A013; }
  :root:not([data-theme="light"]) .bouton-absent { color: #FF8A80; border-color: #E5534B; }
  :root:not([data-theme="light"]) .tableau-presence tr.sous-seuil td strong { color: #FF8A80; }
}

/* Documents du club à imprimer (accord de transfert, information des familles). */
.texte-document p { margin: .45rem 0; line-height: 1.5; color: #1B3A4B; }
.a-remplir { display: inline-block; min-width: 12em; border-bottom: 1px dotted #4E6875; height: 1em; vertical-align: baseline; }
.case-vide { display: inline-block; width: .9em; height: .9em; border: 1.5px solid #1B3A4B; border-radius: 2px; vertical-align: -0.1em; margin-right: .3em; }
.zone-signature { min-height: 5.5rem; }
.reserve-club { border-top: 2px dashed #D3E4E8; padding-top: .4rem; }

/* Lot 16 : rappel d'anonymat sous les commentaires, case « remarque interne ». */
.rappel-noms { margin: .25rem 0 .2rem; font-size: .82rem; }
.case-interne { margin: 0 0 1rem; font-size: .9rem; }

/* ---------- Bilans : types, validation, IA anonyme, bilans à faire (lot 16) ---------- */
.etiquette.type-interne { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.etiquette.valide { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }
.etiquette.a-valider { background: #FFF4D6; border-color: #F0D58A; color: #6B4E00; }
.meta-bilan .etiquette { margin-right: .3rem; }
.segments.type-bilan { grid-template-columns: repeat(2, 1fr); margin-bottom: .5rem; }
.validation-bilan .bouton { margin-top: .6rem; }
.valide-le .lien-action { margin-left: .4rem; }
.mention-ia { margin: .6rem 0 0; font-size: .85rem; }
.noms-detectes p { margin: 0 0 .5rem; }
.liste-noms { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.liste-noms li { display: grid; gap: .35rem; }
.choix-noms { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; }
.reglages-bilans { display: grid; gap: .8rem; margin-top: .9rem; }
.segments.frequences { grid-template-columns: repeat(4, 1fr); }
.retard { color: var(--err); font-weight: 800; }
.pastille-compte { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; margin-left: .3rem; padding: 0 .3em;
  border-radius: 999px; background: var(--corail); color: var(--sur-corail); font-size: .78rem; font-weight: 800; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .etiquette.a-valider { background: #3A2E0A; border-color: #6B5512; color: #F5D77A; }
}

/* ---------- PDF de saison (lot 16) : page de garde, pages avec en-tête et pied aux couleurs du club ---------- */
.page-pdf + .page-pdf { border-top: 2px dashed #D3E4E8; margin-top: 1.2rem; }
.entete-pdf { display: flex; align-items: center; gap: .6rem; padding: .5rem 1.2rem; background: var(--club); color: var(--club-texte); border-bottom: 4px solid var(--club-2); }
.entete-pdf .logo-club { width: 30px; height: 30px; font-size: .7rem; border: 1.5px solid #FFFFFF; }
.entete-club { font-weight: 800; font-size: .95rem; }
.entete-titre { margin-left: auto; font-weight: 700; font-size: .82rem; opacity: .92; text-align: right; }
.garde-corps { padding: 2.2rem 1.6rem 1.4rem; }
.garde-surtitre { margin: 0 0 .4rem; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #4E6875; }
.garde-joueur { margin: 0 0 .4rem; font-size: 2.6rem; line-height: 1.05; letter-spacing: -.01em; }
.garde-corps .feuille-identite, .garde-corps .feuille-periode { margin: .2rem 0 0; font-size: 1rem; }
.garde-tendance { display: inline-block; margin: 1rem 0 0; padding: .35rem .9rem; border-radius: 999px; font-weight: 800; font-size: 1rem; background: #E6F6F8; color: #05465C; }
.garde-tendance.tendance-progresse, .garde-tendance.tendance-progresse-nettement { background: #E5F4EC; color: #0B6B4A; }
.garde-tendance.tendance-en-retrait { background: #FDECEA; color: #B42318; }
.garde-tendance.tendance-insuffisant { background: #F2F4F5; color: #4E6875; }
.garde-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .6rem; margin: 1.6rem 0 0; }
.garde-chiffres div { padding: .7rem .8rem; border-radius: 12px; border: 1px solid #D3E4E8; border-top: 4px solid var(--club); }
.garde-chiffres dt { font-size: .75rem; font-weight: 800; color: #4E6875; text-transform: uppercase; letter-spacing: .04em; }
.garde-chiffres dd { margin: .2rem 0 0; font-size: 1.5rem; font-weight: 800; color: #072539; }
.garde-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .8rem; margin: 0 1.6rem; padding: .8rem 0 0; border-top: 1px solid #D3E4E8; font-size: .78rem; color: #4E6875; }
.logo-garde { height: 30px; width: auto; }
@media print {
  .page-pdf { break-after: page; }
  .page-pdf:last-child { break-after: auto; }
  .page-pdf + .page-pdf { border-top: 0; margin-top: 0; }
  .page-garde { min-height: 268mm; display: flex; flex-direction: column; }
  .page-garde .garde-corps { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .garde-chiffres { grid-template-columns: repeat(4, 1fr); }
  .entete-pdf, .garde-tendance, .garde-chiffres div { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Nouvelle façade (mandat club pilote, maquettes du 28/11/2026) ---------- */
/* En-tête : la marque complète seulement sur « Aujourd'hui » ; ailleurs, la bande club porte seulement le symbole (chevrons). */
body:not([data-onglet="aujourdhui"]) .brand { display: none; }
body[data-onglet="aujourdhui"] .brand { padding: 10px 20px 8px; }
body[data-onglet="aujourdhui"] .logo img { height: 26px; }
body[data-onglet="aujourdhui"] .signature { display: inline; font-size: .8rem; }
body[data-onglet="aujourdhui"] .powered { display: inline; font-size: .66rem; margin-left: .4rem; }
body:not([data-onglet="aujourdhui"]) .bande-club::after {
  content: ""; margin-left: auto; width: 26px; height: 26px; flex: none;
  background: url("../img/symbole-bmybest.svg") center / contain no-repeat;
}
.bande-club { padding: 8px 18px; }
.logo-club { width: 34px; height: 34px; }
.nom-club { font-size: 1.02rem; }

/* Écran « Aujourd'hui » */
.date-du-jour { margin: .2rem 0 0; font-size: .9rem; font-weight: 700; color: var(--muted); }
.titre-accueil { font-size: 1.3rem; margin: 0 0 .7rem; }
.carte-seance {
  margin: .4rem 0 14px; padding: 18px; border-radius: 22px; color: var(--ink);
  background: var(--tint); border: 1px solid var(--tint-line); box-shadow: 0 8px 22px rgba(7, 37, 57, .10); display: grid; gap: 10px;
}
.carte-seance h2 { margin: 0; font-size: 1.35rem; color: var(--titre); }
.etiquette-seance { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tint-ink); }
.detail-seance { margin: 0; font-size: .9rem; color: var(--muted); }
.bouton-seance {
  display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 14px;
  border-radius: 16px; border: 1px solid var(--tint-line); background: var(--card); color: var(--tint-ink); font-weight: 800; text-decoration: none;
}
.bouton-seance.plein { background: var(--grad-btn); color: #fff; border-color: transparent; min-height: 56px; font-size: 1.2rem; box-shadow: var(--ombre-bouton); }
.bouton-seance .avatar, .bouton-seance .logo-club { width: 28px; height: 28px; font-size: .7rem; }
.a-evaluer { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bloc-a-faire { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 4px 16px; margin: 0 0 14px; }
.bloc-a-faire h2 { margin: 12px 0 2px; font-size: 1rem; color: var(--titre); }
.bloc-a-faire ul { list-style: none; margin: 0; padding: 0; }
.bloc-a-faire li + li .ligne-a-faire { border-top: 1px solid var(--piste); }
.ligne-a-faire { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-height: 44px; color: var(--ink); text-decoration: none; }
.texte-a-faire { flex: 1; display: grid; }
.texte-a-faire small { color: var(--muted); font-size: .85rem; }
.point-a-faire { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.point-a-faire.corail { background: var(--corail); }
.point-a-faire.orange { background: #E8650A; }
.point-a-faire.rouge { background: var(--err); }
.chevron { color: var(--blue); font-size: 1.3rem; font-weight: 700; }
.tuiles-jour { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tuile-jour { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 8px; text-align: center; display: grid; }
.tuile-jour strong { font-size: 1.35rem; color: var(--titre); }
.tuile-jour small { font-size: .78rem; font-weight: 600; color: var(--muted); }
.discret.centre { text-align: center; margin-top: .5rem; }

/* Fiche (nouvelle façade) : dates sur une ligne dans l'historique et la dernière évaluation. */
.liste-simple.liens .date { white-space: nowrap; }
.derniere .ligne-meta { flex-wrap: wrap; row-gap: .3rem; }
.derniere .ligne-meta > .date { flex: 1 0 100%; white-space: nowrap; }

/* ---------- Réglages en rubriques, accueil de bienvenue (maquette du 02/12/2026) ---------- */
.liste-rubriques { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.rubrique { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; }
.rubrique:active { transform: scale(.99); }
.ico-rubrique { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--tint); font-size: 1.35rem; }
.texte-rubrique { flex: 1; min-width: 0; display: grid; gap: 1px; }
.texte-rubrique strong { color: var(--titre); font-size: 1.05rem; }
.texte-rubrique small { color: var(--muted); font-size: .85rem; }
.rubrique .chevron { color: var(--muted); font-size: 1.4rem; font-weight: 800; }
.retour-rubrique { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--blue); text-decoration: none; }
.bienvenue { padding-top: 3rem; }
.grand-emoji { font-size: 3rem; margin: 0; }
.gros-bouton { display: block; margin: 1.4rem auto .6rem; padding: 1rem; font-size: 1.05rem; }

/* Évaluation : bouts de l'échelle sous la note de la séance */
.legende-extremes { display: flex; justify-content: space-between; gap: .6rem; margin: .4rem 0 0; font-size: .82rem; font-weight: 700; color: var(--muted); }
.aide-pointilles { margin: .3rem 0 0; }

/* ---------- Façade pour un nouveau bénévole (maquette du 03/12/2026) ---------- */
/* Un seul bandeau : le club, avec le symbole, sur tous les écrans (plus de slogan ni de « powered by »). */
.brand { display: none !important; }
.bande-club::after {
  content: ""; margin-left: auto; width: 26px; height: 26px; flex: none;
  background: url("../img/symbole-bmybest.svg") center / contain no-repeat;
}
/* Groupes : tous visibles sur plusieurs lignes, rien ne défile sur le côté. */
.puces-cadre { margin: 0 0 .9rem; }
.puces { flex-wrap: wrap; overflow: visible; padding: 0 0 .2rem; }
.puces-cadre.a-suivre .puces { -webkit-mask-image: none; mask-image: none; }
/* Joueurs : recherche, lignes simples */
.recherche { display: block; margin: 0 0 .8rem; }
.recherche input { width: 100%; min-height: 48px; padding: 0 1rem; border-radius: 16px; border: 1px solid var(--line); background: var(--card); font: inherit; color: var(--ink); }
.carte-joueur .note { display: grid; justify-items: end; font-weight: 800; }
.carte-joueur .note small { font-weight: 600; color: var(--muted); font-size: .72rem; }
.liste-joueurs li[hidden] { display: none; }
.centre { text-align: center; }
/* Fiche : un gros bouton, des liens, le reste à la demande */
.liens-fiche { display: grid; margin: 0 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.liens-fiche a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 52px; padding: 0 16px; color: var(--ink); font-weight: 700; text-decoration: none; }
.liens-fiche a + a { border-top: 1px solid var(--line); }
.liens-fiche small { color: var(--muted); font-weight: 600; }
.liens-fiche .chevron { color: var(--muted); font-size: 1.3rem; }
.repli summary { cursor: pointer; font-weight: 800; color: var(--blue); min-height: 44px; display: flex; align-items: center; }
.repli-bloc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 16px 12px; margin: 0 0 14px; }
details.repli:not(.repli-bloc) { margin: .4rem 0 14px; }
/* Historique : l'étiquette longue (« Match vs … · 3-1 ») passe sur sa ligne */
.liste-simple.liens a { flex-wrap: wrap; }
.liste-simple.liens .etiquette { white-space: normal; border-radius: 12px; margin-right: auto; }
/* Bilans : tout est à jour */
.a-jour { text-align: center; }
.a-jour .grand-emoji { font-size: 2.4rem; margin: .4rem 0 0; }
