/* fiche-jour.css — Parcours du vendeur (v230). Chargé par index.html après styles.css.
   Écran « Grille d'accompagnement » (public/js/fiche.js, grilleAccompagnement) : badge de phase,
   « Fiche du jour » du formateur, « Avant la tournée », compteurs, « Fait observé », passage de phase.
   Préfixe fj- partout ; thème sombre de l'application, accents dorés (#d7a25d) et vert profond
   (#174f42) empruntés à Normbel Coaching. Couleurs de phase : 1 bleu, 2 ambre, 3 vert, 4 doré. */

.grille-acc {
  --fj-or: #d7a25d;
  --fj-or-clair: #f1cf9a;
  --fj-or-bg: rgba(215, 162, 93, .12);
  --fj-or-bord: rgba(215, 162, 93, .34);
  --fj-vert: #174f42;
  --fj-vert-bg: rgba(23, 79, 66, .34);
  --fj-c: var(--blue);
  --fj-c-bg: rgba(59, 130, 246, .14);
  --fj-c-bord: rgba(59, 130, 246, .4);
}
.fj-phase-1 { --fj-c: #60a5fa; --fj-c-bg: rgba(59, 130, 246, .14); --fj-c-bord: rgba(59, 130, 246, .45); }
.fj-phase-2 { --fj-c: #fbbf24; --fj-c-bg: rgba(245, 158, 11, .14); --fj-c-bord: rgba(245, 158, 11, .45); }
.fj-phase-3 { --fj-c: #34d399; --fj-c-bg: rgba(16, 185, 129, .14); --fj-c-bord: rgba(16, 185, 129, .45); }
.fj-phase-4 { --fj-c: #e0b071; --fj-c-bg: rgba(215, 162, 93, .16); --fj-c-bord: rgba(215, 162, 93, .5); }
/* v240 : phases 5 et 6 — mêmes teintes que la carte « Mon parcours » (mp-badge-c5 / c6), audit du 28/10/2026 */
.fj-phase-5 { --fj-c: #e9b949; --fj-c-bg: rgba(233, 185, 73, .16); --fj-c-bord: rgba(233, 185, 73, .5); }
.fj-phase-6 { --fj-c: #c084fc; --fj-c-bg: rgba(168, 85, 247, .16); --fj-c-bord: rgba(168, 85, 247, .5); }
/* Compteur « n / 600 » sous les textes libres de la clôture (audit 28/10/2026, E-D3) */
.fj-compte { display: block; text-align: right; font-size: .72rem; color: var(--text3, #898781); margin-top: 2px; }

/* ── Eyebrow : petit libellé en majuscules espacées (signature « Coaching ») ── */
.fj-eyebrow {
  margin: 0;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fj-or);
}
.fj-eyebrow-section { margin: 10px 0 -2px; color: var(--text2); letter-spacing: .12em; }

/* ── En-tête : badge de phase + journée ── */
.fj-entete { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -2px 0 0; }
.fj-phase {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  border: 1px solid var(--fj-c-bord); background: var(--fj-c-bg);
  font-size: .8rem; line-height: 1.2; color: var(--text);
}
.fj-phase b { color: var(--fj-c); font-weight: 700; white-space: nowrap; }
.fj-phase > span { color: var(--text2); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fj-journee {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--fj-or-bord); background: var(--fj-or-bg);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--fj-or-clair); white-space: nowrap;
}
.fj-journee-plus { border-style: dashed; opacity: .85; }

/* ── Fiche du jour ── */
.fj-fiche {
  position: relative; overflow: hidden;
  margin: 4px 0 0; padding: 16px 16px 14px;
  border-radius: var(--radius, 14px);
  border: 1px solid var(--fj-or-bord);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(215, 162, 93, .10), transparent 55%),
    linear-gradient(165deg, var(--fj-vert-bg), rgba(17, 24, 39, .9) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.fj-fiche::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--fj-c), var(--fj-or));
}
.fj-titre {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin: 8px 0 6px;
  font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 1.42rem; line-height: 1.15; letter-spacing: .005em;
  color: var(--text);
}
.fj-num {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--fj-or); color: #1a1408;
  font-family: var(--font, 'DM Sans', sans-serif); font-size: .9rem; font-weight: 700;
}
.fj-pill {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--fj-or-bord); background: var(--fj-or-bg);
  font-family: var(--font, 'DM Sans', sans-serif); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fj-or-clair);
}
.fj-objectif { margin: 0 0 12px; font-size: .95rem; line-height: 1.45; color: rgba(240, 244, 255, .9); }
.fj-fiche > .fj-ligne-titre { margin-bottom: 4px; }
.fj-questions { list-style: none; counter-reset: fjq; margin: 0; padding: 0; display: grid; gap: 6px; }
.fj-questions li {
  counter-increment: fjq; position: relative;
  padding: 9px 12px 9px 40px; border-radius: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07);
  font-size: .9rem; line-height: 1.35; color: var(--text);
}
.fj-questions li::before {
  content: counter(fjq); position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fj-c-bg); border: 1px solid var(--fj-c-bord); color: var(--fj-c);
  font-size: .72rem; font-weight: 700;
}

/* Dépliables (fiche complète, avant la tournée) : rangée tactile ≥ 44 px, marqueur ▸/▾ */
.fj-details, .fj-avant { margin: 0; }
.fj-details > summary, .fj-avant > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 12px; border-radius: 10px;
  font-size: .84rem; font-weight: 600; color: var(--text);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .15s ease;
}
.fj-details > summary::-webkit-details-marker, .fj-avant > summary::-webkit-details-marker { display: none; }
.fj-details > summary::before, .fj-avant > summary::before { content: '▸'; flex: 0 0 auto; color: var(--fj-or); font-size: .9em; }
.fj-details[open] > summary::before, .fj-avant[open] > summary::before { content: '▾'; }
.fj-details > summary:hover, .fj-avant > summary:hover { background: rgba(255, 255, 255, .09); }
.fj-details > summary:focus-visible, .fj-avant > summary:focus-visible { outline: 2px solid var(--fj-or); outline-offset: 2px; }
.fj-details { margin-top: 12px; }
.fj-corps { display: grid; gap: 12px; padding: 12px 2px 2px; }
.fj-grille2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fj-ligne { min-width: 0; }
.fj-ligne p { margin: 3px 0 0; font-size: .88rem; line-height: 1.45; color: rgba(240, 244, 255, .88); overflow-wrap: anywhere; }
.fj-ligne-titre {
  display: block; margin: 0;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text2);
}
.fj-phrase {
  margin: 0; padding: 10px 14px; border-left: 3px solid var(--fj-or); border-radius: 0 10px 10px 0;
  background: var(--fj-or-bg); font-size: .92rem; line-height: 1.45; font-style: italic; color: var(--fj-or-clair);
}
.fj-phrase .fj-ligne-titre { font-style: normal; margin-bottom: 3px; color: var(--fj-or); }
.fj-reperes { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.fj-reperes li { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; line-height: 1.4; color: rgba(240, 244, 255, .88); }
.fj-niv {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: .78rem; font-weight: 800; border: 1px solid rgba(255, 255, 255, .25);
}
.fj-niv-1 { background: rgba(239, 68, 68, .28); color: #fecaca; }
.fj-niv-3 { background: rgba(245, 158, 11, .28); color: #fde68a; }
.fj-niv-5 { background: rgba(34, 197, 94, .35); color: #dcfce7; }
.fj-autre { display: flex; flex-direction: column; gap: 5px; margin: 12px 0 0; font-size: .74rem; font-weight: 600; color: var(--text2); }
.fj-autre select {
  width: 100%; max-width: 100%; min-height: 44px; padding: 8px 36px 8px 12px; border-radius: 10px;
  border: 1px solid var(--border2, rgba(255, 255, 255, .12)); background-color: var(--card, #111827); color: var(--text);
  font: inherit; font-size: .9rem; font-weight: 500;
}
.fj-autre select:focus-visible { outline: 2px solid var(--fj-or); outline-offset: 1px; }

/* ── Avant la tournée ── */
.fj-avant > summary { background: rgba(255, 255, 255, .04); }
.fj-avant-liste { margin: 8px 0 2px; padding: 0 0 0 4px; list-style: none; counter-reset: fja; display: grid; gap: 6px; }
.fj-avant-liste li {
  counter-increment: fja; position: relative; padding: 8px 10px 8px 34px; border-radius: 10px;
  background: rgba(255, 255, 255, .035); font-size: .88rem; line-height: 1.4; color: var(--text);
}
.fj-avant-liste li::before {
  content: counter(fja); position: absolute; left: 8px; top: 9px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--fj-or-bg); border: 1px solid var(--fj-or-bord);
  color: var(--fj-or-clair); font-size: .7rem; font-weight: 700;
}

/* ── Rapport : 8 compteurs (2 colonnes au téléphone, 4 au-delà) ── */
.fj-compteurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 10px; min-width: 0; }
.fj-compteur { min-width: 0; }
.fj-compteur > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .74rem; }
.grille-acc .fj-compteur input { min-height: 44px; }
.grille-acc .fj-compteur input:focus { border-color: var(--fj-or); outline: none; box-shadow: 0 0 0 2px var(--fj-or-bg); }

/* ── Fait observé ── */
.fj-faits {
  position: relative; margin: 12px 0 10px; padding: 10px 12px 10px 14px; border-radius: 10px;
  background: var(--fj-or-bg); border: 1px solid var(--fj-or-bord);
}
.fj-faits::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--fj-or); }
.fj-faits-titre { font-size: .84rem; font-weight: 700; color: var(--fj-or-clair); }
.fj-ast { color: var(--yellow, #f59e0b); font-weight: 800; }
.fj-faits-aide { display: block; margin: 0 0 4px; font-size: .76rem; font-weight: 400; line-height: 1.35; color: var(--text2); }
.grille-acc .fj-faits textarea { min-height: 64px; }
.fj-faits.fj-requis textarea:placeholder-shown,
.fj-faits.fj-faits-bloque textarea { border-color: var(--yellow, #f59e0b); box-shadow: 0 0 0 1px rgba(245, 158, 11, .35); }
.fj-msg {
  display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px;
  background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .45);
  font-size: .8rem; font-weight: 500; line-height: 1.35; color: #fde68a;
}
.fj-msg[hidden] { display: none; }

/* ── Passage de phase : critères atteints, quelque chose bloque encore ── */
.fj-parcours-info {
  margin: 4px 0 0; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--fj-or-bord); background: var(--fj-or-bg); font-size: .84rem; color: var(--text);
}
.fj-parcours-titre { margin: 0 0 4px; font-weight: 700; color: var(--fj-or-clair); }
.fj-parcours-info ul { margin: 0; padding-left: 20px; }
.fj-parcours-info li { margin: 2px 0; line-height: 1.4; }

/* ── Grand écran ── */
@media (min-width: 640px) {
  .fj-grille2 { grid-template-columns: 1fr 1fr; }
  .fj-compteurs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fj-fiche { padding: 20px 22px 18px; }
  .fj-titre { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .fj-details > summary, .fj-avant > summary { transition: none; } }

/* ═══ v235 « Journée du formateur » (23/10/2026) : 👀 Observer, 🌙 Clôturer la journée, Affiner les notes.
   Téléphone d'abord (1 pouce) : pastilles ≥ 44 px, 5 par ligne ; couleurs ❌ rouge, 🟡 ambre, ✅ vert,
   ⭐ vert profond / or, ⏭ gris — contrastes lisibles sur le thème sombre de l'application. ═══ */

/* ── Observer ── */
.ob-bloc { margin: 10px 0 0; }
.ob-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ob-tete .fj-eyebrow-section { margin: 0; }
.ob-compteur {
  flex: 0 0 auto; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--fj-or-bord); background: var(--fj-or-bg);
  font-size: .76rem; font-weight: 700; color: var(--fj-or-clair); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.ob-hint { margin: 6px 0 2px; }
.ob-ligne { padding: 12px 0 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ob-ligne:first-of-type { border-top: 0; }
.ob-question { margin: 0 0 8px; font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--text); overflow-wrap: anywhere; }
.ob-question small { display: inline-block; margin-left: 6px; font-size: .74rem; font-weight: 400; color: var(--text2); }
.ob-pastilles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; min-width: 0; }
.ob-pastille {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 56px; min-width: 0; padding: 6px 2px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05);
  color: var(--text2); font: inherit; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.ob-pastille .ob-ico { font-size: 1.15rem; line-height: 1; }
.ob-pastille small { font-size: .62rem; line-height: 1.1; font-weight: 600; text-align: center; overflow-wrap: normal; hyphens: none; }   /* 24/10/2026 : jamais de mot coupé (« Beaucou-p ») */
.ob-pastille:hover { background: rgba(255, 255, 255, .1); color: var(--text); }
.ob-pastille:active { transform: scale(.96); }
.ob-pastille:focus-visible { outline: 2px solid var(--fj-or); outline-offset: 2px; }
.ob-pastille:disabled { opacity: .55; cursor: default; }
.ob-pastille.actif { color: var(--text); font-weight: 700; }
.ob-pastille.actif.ob-n1 { background: rgba(239, 68, 68, .34); border-color: #ef4444; color: #fecaca; }
.ob-pastille.actif.ob-n2 { background: rgba(245, 158, 11, .34); border-color: #f59e0b; color: #fde68a; }
.ob-pastille.actif.ob-n3 { background: rgba(34, 197, 94, .36); border-color: #22c55e; color: #dcfce7; }
.ob-pastille.actif.ob-n4 { background: linear-gradient(135deg, rgba(23, 79, 66, .95), rgba(215, 162, 93, .6)); border-color: var(--fj-or); color: #fff3dc; }
.ob-pastille.actif.ob-so { background: rgba(148, 163, 184, .3); border-color: #94a3b8; color: #e2e8f0; }
.ob-etat { margin: 5px 0 0; font-size: .74rem; line-height: 1.3; color: var(--text2); font-style: italic; }
.ob-etat-vide { display: none; }
.ob-etat-ok { color: #86efac; font-style: normal; font-weight: 600; }
.ob-aide { margin: 4px 0 0; }
.ob-aide > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 8px 6px 0; font-size: .8rem; font-weight: 600; color: var(--fj-or-clair);
}
.ob-aide > summary::-webkit-details-marker { display: none; }
.ob-aide > summary::before { content: '▸'; color: var(--fj-or); }
.ob-aide[open] > summary::before { content: '▾'; }
.ob-aide > summary:focus-visible { outline: 2px solid var(--fj-or); outline-offset: 2px; border-radius: 6px; }
.ob-aide-corps { padding: 2px 0 4px 10px; border-left: 2px solid var(--fj-or-bord); font-size: .82rem; color: var(--text2); }
.ob-aide-txt { margin: 0 0 4px; line-height: 1.45; }
.ob-aide-txt b { color: var(--text); }
.ob-aide-corps .ga-reperes, .ob-aide-corps .ga-questions { font-size: .8rem; }

/* ── Clôturer la journée ── */
.cl-bloc {
  margin: 14px 0 0; padding: 12px; border-radius: var(--radius, 14px);
  border: 1px solid rgba(96, 165, 250, .35);
  background: linear-gradient(165deg, rgba(30, 41, 59, .72), rgba(17, 24, 39, .92));
}
.cl-faite { border-color: rgba(34, 197, 94, .45); }
.cl-ouverte { border-color: rgba(129, 140, 248, .5); }
.cl-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.cl-tete .fj-eyebrow-section { margin: 0; color: #c7d2fe; }
.cl-etat { margin: 0 0 8px; font-size: .9rem; font-weight: 700; color: #bbf7d0; }
.cl-tete .cl-etat { margin: 0; }
.cl-ouvrir {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px;
  padding: 10px 14px; border-radius: 14px; border: 0;
  background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff;
  font: inherit; font-size: 1.02rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(37, 99, 235, .25);
}
.cl-ouvrir small { font-size: .82rem; font-weight: 500; opacity: .85; }
.cl-ouvrir:hover { filter: brightness(1.08); }
.cl-ouvrir:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cl-ouvrir.cl-ouvrir-modif { min-height: 44px; background: rgba(255, 255, 255, .06); border: 1px solid var(--border2, rgba(255, 255, 255, .12)); color: var(--text); box-shadow: none; font-size: .9rem; }
.cl-sous { margin: 10px 0 6px; font-size: .86rem; font-weight: 700; color: var(--text); }
.cl-sous small { font-weight: 400; color: var(--text2); }
.cl-recap { display: grid; gap: 7px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.cl-cat { display: grid; gap: 2px; min-width: 0; }
.cl-cat-titre { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cl-cat-titre small { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text2); }
.cl-cat-liste { font-size: .88rem; line-height: 1.4; color: var(--text); overflow-wrap: anywhere; }
.cl-cat-fort .cl-cat-titre { color: var(--fj-or-clair); }
.cl-cat-reussi .cl-cat-titre { color: #bbf7d0; }
.cl-cat-consolider .cl-cat-titre { color: #fde68a; }
.cl-cat-travailler .cl-cat-titre { color: #fecaca; }
.cl-cat-pas .cl-cat-titre, .cl-cat-pas .cl-cat-liste { color: var(--text2); }
.cl-trancher { margin-top: 6px; padding-top: 8px; border-top: 1px dashed rgba(255, 255, 255, .12); }
.cl-trancher .ob-question { font-size: .92rem; }
.cl-q { margin: 14px 0 0; }
.cl-question { margin: 0 0 6px; font-size: .95rem; font-weight: 600; line-height: 1.35; color: var(--text); }
.cl-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.cl-choix {
  min-height: 48px; min-width: 0; padding: 6px 8px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05);
  color: var(--text2); font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2; cursor: pointer; overflow-wrap: anywhere;
}
.cl-choix:hover { background: rgba(255, 255, 255, .1); color: var(--text); }
.cl-choix:focus-visible { outline: 2px solid var(--fj-or); outline-offset: 2px; }
.cl-choix:disabled { opacity: .55; cursor: default; }
.cl-choix.actif { background: linear-gradient(135deg, #2563eb, #4f46e5); border-color: transparent; color: #fff; }
.cl-seg-journee .cl-choix { font-size: .95rem; min-height: 52px; }
.cl-seg-journee .cl-choix-bonne.actif { background: rgba(34, 197, 94, .42); border-color: #22c55e; color: #f0fdf4; }
.cl-seg-journee .cl-choix-moyenne.actif { background: rgba(245, 158, 11, .42); border-color: #f59e0b; color: #fffbeb; }
.cl-seg-journee .cl-choix-difficile.actif { background: rgba(239, 68, 68, .42); border-color: #ef4444; color: #fef2f2; }
.cl-seg-ouinon { max-width: 320px; }
.cl-seg-pour { margin-top: 6px; }
.cl-seg-pour .cl-choix { font-size: .82rem; }
.cl-soir { margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(99, 102, 241, .12); border: 1px solid rgba(99, 102, 241, .35); }
.cl-soir > .note-hint { margin: 0 0 6px; }
.cl-soir-q { padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.cl-soir-q:first-of-type { border-top: 0; }
.cl-soir-q .ob-question { font-size: .92rem; }
.cl-soir-journee { font-weight: 400; }
.cl-ok { border-radius: 10px; box-shadow: 0 0 0 2px rgba(34, 197, 94, .55); transition: box-shadow .3s ease; }
.cl-details { margin-top: 10px; }
.cl-details > summary small { font-weight: 400; color: var(--text2); }
.cl-details .fj-compteurs { margin: 8px 0 4px; }
.cl-details .rt-diff-liste { padding: 8px 2px 2px; }
.cl-bloc .rt-champ { margin: 10px 0 0; }
.cl-bloc .rt-champ small { font-weight: 400; font-size: .74rem; }
.cl-remarque { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(23, 79, 66, .3); border: 1px solid rgba(23, 79, 66, .7); }
.cl-remarque .rt-champ { margin: 0; }
.cl-visible { color: #a7f3d0; }
.cl-direction { margin-top: 12px !important; padding: 10px 12px; border-radius: 12px; background: rgba(215, 162, 93, .08); border: 1px dashed rgba(215, 162, 93, .5); }
.cl-privee { color: var(--fj-or-clair); }
.grille-acc .cl-remarque textarea, .grille-acc .cl-direction textarea { width: 100%; min-height: 60px; font-weight: 400; }
.cl-bloc .fj-msg { margin-top: 8px; }
.cl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.grille-acc .cl-actions .btn-sm { align-self: auto; }
.cl-cloturer { flex: 1 1 200px; min-height: 52px; justify-content: center; font-size: 1rem; font-weight: 700; }
.cl-fermer { min-height: 44px; color: var(--text2); border: 1px solid var(--border2, rgba(255, 255, 255, .12)); }

/* ── Affiner les notes (replié) ── */
.ga-affiner { margin-top: 14px; }
.ga-affiner > summary small { font-weight: 400; color: var(--text2); }
.ga-affiner-corps { padding: 8px 2px 2px; }
.ga-affiner-corps > .note-hint { margin: 0 0 4px; }
.grille-acc .ga-affiner-corps .btn-sm { margin-top: 8px; }

@media (min-width: 640px) {
  .ob-pastilles { max-width: 620px; }
  .ob-pastille small { font-size: .7rem; }
  .cl-bloc { padding: 16px 18px; }
  .cl-seg-journee, .cl-seg-pour { max-width: 620px; }
  .cl-recap { grid-template-columns: 1fr 1fr; }
  .cl-cat-pas { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .ob-pastille, .cl-ok { transition: none; } }
/* Dans le bloc Clôturer (deux cadres emboîtés, moins de largeur) : pastilles plus serrées, texte plus
   petit, pour que « Beaucoup » et « l'occasion » ne se coupent pas au milieu du mot (vérifié à 390 px) */
.cl-bloc .ob-pastilles { gap: 4px; }
.cl-bloc .ob-pastille { padding: 5px 0; min-height: 54px; }
.cl-bloc .ob-pastille small { font-size: .52rem; letter-spacing: -.03em; }
.cl-recap { padding: 10px 9px; }
/* Relecture QA (24/10/2026) : libellé des pastilles du débrief lisible sur 2 lignes, jamais coupé au milieu
   d'un mot ; lien d'aide ≥ 44 px ; message « autre grille » sous le titre Observer */
.cl-bloc .ob-pastille small { font-size: .6rem; line-height: 1.05; letter-spacing: -.01em; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.ob-pastille { overflow: hidden; }
.ob-aide > summary { min-height: 44px; }
.ob-autre-grille { margin: 6px 0 2px; }
.ob-autre-grille { padding: 8px 10px; border-radius: 10px; border: 1px dashed rgba(245, 158, 11, .55); background: rgba(245, 158, 11, .1); font-size: .82rem; line-height: 1.4; color: #fde68a; }
