/* web/styles/mon-compte.css — page « Mon compte » (web/mon-compte.html) SEULEMENT.
   Rendu repris au pixel de la maquette C (scratchpad/audit/compte_propre/reference/).
   Les composants réutilisables sont dans jl.css § 28 (préfixe jl-) ; ici restent
   les classes propres à la page, par espace de noms :
     cm-   composants d'un dossier (carte d'élément, notes, écart, fiche, en-tête)
     cmc-  mise en page du dossier (deux colonnes, sous-dossiers, volet, stats)
     cma-  volet « Mes dossiers »
     cmp-  écran Paramètres
   Uniquement des jetons de jl.css ; aucune couleur en dur hors #fff sur teal. */
.cm-mono{font-family:var(--font-mono);font-size:var(--text-sm)}
.cm-n{font-family:var(--font-sans);font-variant-numeric:tabular-nums;font-size:var(--text-xs);color:var(--muted);font-weight:400;margin-left:4px}
.cm-h2{font-family:var(--font-serif);font-weight:400;font-size:var(--text-xl);color:var(--ink);line-height:var(--lh-tight)}
.cm-h3{font-size:var(--text-3xs);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600;margin:var(--space-5) 0 var(--space-2)}
.cm-aide{font-size:var(--text-sm);color:var(--muted);margin:0 0 var(--space-3)}
.cm-vide{font-size:var(--text-sm)}
.cm-lien{background:none;border:0;padding:0;font:inherit;font-size:var(--text-sm);color:var(--teal);cursor:pointer;font-weight:600}
.cm-lien:hover{text-decoration:underline}
.cm-lien--discret{color:var(--muted);font-weight:500;margin-left:auto}
.cm-lien--discret:hover{color:var(--teal)}
.cm-actions{display:flex;gap:var(--space-2);justify-content:flex-end;margin-top:var(--space-2);flex-wrap:wrap}
.cm-spacer{flex:1}
.cm-proto{margin:0 0 var(--space-5)}
/* Bouton discret de pied d'élément */
.cm-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:1px solid transparent;
  border-radius:var(--radius-md);padding:5px var(--space-2);font:inherit;font-size:var(--text-sm);
  color:var(--muted);cursor:pointer;font-weight:500;white-space:nowrap}
.cm-btn:hover{color:var(--teal);background:var(--teal-xl);text-decoration:none}
.cm-btn.is-on{color:var(--teal);border-color:var(--teal-xl);background:var(--teal-xl)}
/* ── En-tête de dossier ── */
.cm-tete{display:flex;gap:var(--space-6);align-items:flex-end;justify-content:space-between;flex-wrap:wrap;
  padding-bottom:var(--space-5);margin-bottom:var(--space-6);border-bottom:1px solid var(--line)}
.cm-tete__l{min-width:0;flex:1 1 520px}
.cm-tete__sous{color:var(--body);font-size:var(--text-md);margin:2px 0 var(--space-3)}
.cm-tete__chiffres{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-4);font-size:var(--text-sm);color:var(--muted)}
.cm-tete__chiffres span+span::before{content:"·";margin-right:var(--space-4);color:var(--line)}
.cm-alerte-n{color:var(--warn);font-weight:600}
.cm-tete__outils{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap}
/* ── Élément (article / décision) ── */
.cm-groupe{margin-bottom:var(--space-7)}
.cm-groupe>.cm-h2{margin-bottom:var(--space-3)}
.cm-el{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-xl);
  padding:var(--space-4) var(--space-5);margin-bottom:var(--space-3);position:relative}
.cm-el--warn{border-left:3px solid var(--warn)}
.cm-el--bad{border-left:3px solid var(--bad)}
.cm-el__tete{display:flex;align-items:flex-start;gap:var(--space-3)}
.cm-el__tete .jl-tag{margin-top:3px;flex:none}
.cm-el__titre{flex:1;min-width:0}
.cm-el__titre h3{font-family:var(--font-serif);font-weight:400;font-size:var(--text-lg);color:var(--ink);line-height:var(--lh-snug)}
.cm-el__code{font-size:var(--text-sm);color:var(--muted)}
.cm-fige{color:var(--body);font-weight:500}
.cm-extrait{margin:var(--space-3) 0 0;padding-left:var(--space-3);border-left:2px solid var(--line);
  color:var(--body);font-size:var(--text-base);line-height:var(--lh-normal)}
.cm-etat{display:flex;align-items:flex-start;gap:var(--space-2);flex-wrap:wrap;margin-top:var(--space-3);
  padding:var(--space-2) var(--space-3);border-radius:var(--radius-lg);font-size:var(--text-sm)}
.cm-etat .jl-ico{margin-top:2px}
.cm-etat span{flex:1 1 300px}
.cm-etat--warn{background:var(--warn-bg);color:var(--ink)}
.cm-etat--warn .jl-ico{color:var(--warn)}
.cm-etat--bad{background:var(--bad-bg);color:var(--ink)}
.cm-etat--bad .jl-ico{color:var(--bad)}
.cm-etat--muted{background:var(--cream);border:1px dashed var(--line);color:var(--body)}
.cm-el__pied{display:flex;align-items:center;gap:var(--space-1);flex-wrap:wrap;margin-top:var(--space-3);
  padding-top:var(--space-2);border-top:1px solid var(--line)}
.cm-verif{font-size:var(--text-xs);color:var(--muted);display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}
/* Écarté : reste visible, grisé, replié */
.cm-el.is-ecarte{background:var(--cream);border-style:dashed;border-left-width:1px;border-left-color:var(--line)}
.cm-el.is-ecarte .cm-el__titre h3{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--line)}
.cm-el.is-ecarte .cm-extrait,.cm-el.is-ecarte .cm-el__tete .jl-tag{opacity:.6}
.cm-ecarte{display:flex;align-items:flex-start;gap:var(--space-2);flex-wrap:wrap;font-size:var(--text-sm);color:var(--body);
  margin-bottom:var(--space-2)}
.cm-ecarte .jl-ico{color:var(--muted);margin-top:2px}
.cm-ecarte__t{flex:1 1 260px;min-width:0}
.cm-ecarte__t b{color:var(--muted);font-weight:600}
/* Formulaire « pourquoi écarter » */
.cm-ecform{margin-top:var(--space-3);padding:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--cream)}
.cm-ecform__lbl{font-weight:600;font-size:var(--text-sm);display:block}
.cm-ecform__aide{font-size:var(--text-xs);color:var(--muted);margin:2px 0 var(--space-2)}
.cm-ecform textarea,.cm-noteform textarea{width:100%;font:inherit;font-size:var(--text-base);color:var(--ink);
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-2);resize:vertical}
.cm-ecform textarea:focus,.cm-noteform textarea:focus{outline:2px solid var(--teal-xl);border-color:var(--teal)}
.cm-ecform textarea.is-vide{border-color:var(--bad)}
/* Notes sous l'élément */
.cm-notes{margin-top:var(--space-3);padding:var(--space-3) 0 0 var(--space-4);border-left:2px solid var(--teal-xl);display:flex;flex-direction:column;gap:var(--space-3)}
.cm-note{font-size:var(--text-base)}
.cm-note__meta,.cm-noteia__meta{display:flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted);margin-bottom:2px}
.cm-note__meta .jl-ico{width:13px;height:13px}
.cm-note__haut,.cm-note__bas{color:var(--ink)}
.cm-note__bas{color:var(--body);font-style:italic}
.cm-trait{display:flex;align-items:center;gap:var(--space-2);margin:6px 0 4px;font-size:var(--text-3xs);letter-spacing:.1em;
  text-transform:uppercase;color:var(--muted);font-weight:600}
.cm-trait::before,.cm-trait::after{content:"";height:1px;background:var(--muted);opacity:.5;flex:1}
.cm-trait::before{flex:0 0 18px}
.cm-note.is-ecarte>p,.cm-note.is-ecarte .cm-trait{opacity:.5;text-decoration:line-through;text-decoration-color:var(--line)}
.cm-noteform{display:flex;flex-direction:column;gap:var(--space-2)}
.cm-check{font-size:var(--text-sm);color:var(--body);display:flex;gap:6px;align-items:center;cursor:pointer}
/* Notes générales */
.cm-ng{margin-bottom:var(--space-6)}
.cm-ng .cm-note{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-3);margin-bottom:var(--space-2)}
.cm-ng .cm-note.is-ecarte{background:var(--cream);border-style:dashed}
/* Note écrite par l'IA : filet pointillé couleur --doc, en-tête marqué. Jamais teal (teal = vous / l'action). */
.cm-noteia{border:1px dashed var(--doc);border-left:3px solid var(--doc);border-radius:var(--radius-lg);
  padding:var(--space-3);margin-bottom:var(--space-2);background:var(--white);font-size:var(--text-base)}
.cm-noteia__meta{color:var(--doc)}
.cm-noteia__meta b{font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:var(--text-3xs)}
.cm-noteia__meta span{color:var(--muted)}
.cm-noteia p{color:var(--ink)}
.cm-noteia.is-ecarte{border-color:var(--line);background:var(--cream)}
.cm-noteia.is-ecarte>p{opacity:.5;text-decoration:line-through;text-decoration-color:var(--line)}
/* ── Fiche de contexte ── */
.cm-fiche{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-4) var(--space-5);margin-bottom:var(--space-6)}
.cm-fiche__hd{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-3)}
.cm-dl{display:grid;grid-template-columns:96px 1fr;gap:var(--space-2) var(--space-3);font-size:var(--text-base)}
.cm-dl dt{font-size:var(--text-3xs);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600;padding-top:3px}
.cm-dl dd{color:var(--ink);min-width:0}
.cm-partie{display:block}
.cm-partie b{font-weight:600}
.cm-partie{color:var(--body)}
.cm-alias{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-4);padding-top:var(--space-2);border-top:1px solid var(--line)}
.cm-fiche__grille{display:grid;grid-template-columns:1.1fr 1fr 1.2fr;gap:var(--space-6)}
.cm-fiche__grille .cm-h3{margin-top:0}
.cm-ech{list-style:none;display:flex;flex-direction:column;gap:var(--space-2)}
.cm-ech li{display:grid;grid-template-columns:52px 1fr auto;gap:var(--space-3);align-items:start;font-size:var(--text-sm)}
.cm-ech__date{display:flex;flex-direction:column;align-items:center;border:1px solid var(--line);border-radius:var(--radius-md);padding:2px 0;line-height:1.15;background:var(--cream)}
.cm-ech__date b{font-size:var(--text-sm);color:var(--ink)}
.cm-ech__date small{font-family:var(--font-mono);font-size:var(--text-3xs);color:var(--muted)}
.cm-ech__txt{color:var(--ink);padding-top:2px}
.cm-ech__j{font-family:var(--font-mono);font-size:var(--text-xs);color:var(--muted);white-space:nowrap;padding-top:3px}
.cm-ech__j.is-proche{color:var(--warn);font-weight:600}
.cm-theses{list-style:none;display:flex;flex-direction:column;gap:var(--space-2)}
.cm-these{display:flex;gap:var(--space-2);font-size:var(--text-sm);color:var(--ink)}
.cm-these>.jl-ico{color:var(--ok);margin-top:2px}
.cm-these>div{flex:1;min-width:0;display:flex;flex-wrap:wrap;gap:2px var(--space-2)}
.cm-these>div>p{flex:1 1 100%}
.cm-these .cm-lien--discret{margin-left:0;font-size:var(--text-xs)}
.cm-these.is-ecarte>.jl-ico{color:var(--muted)}
.cm-these.is-ecarte>div>p:first-child{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--line)}
.cm-these__raison{font-size:var(--text-xs);color:var(--body)}
.cm-these .cm-ecform{flex:1 1 100%}
/* Légende des états */
.cm-legende{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-4);font-size:var(--text-xs);color:var(--muted);align-items:center}
@media (max-width:1100px){
  .cm-fiche__grille{grid-template-columns:1fr}
}
@media (max-width:600px){
  .cm-el{padding:var(--space-3)}
  .cm-el__tete{flex-wrap:wrap}
  .cm-el__titre{flex:1 1 calc(100% - 90px)}
  .cm-el__tete .jl-drapeau{order:3}
  .cm-dl{grid-template-columns:1fr;gap:0}
  .cm-dl dd{margin-bottom:var(--space-2)}
  .cm-tete__outils{width:100%;justify-content:space-between}
  .cm-notes{padding-left:var(--space-3)}
}
.cm-check input{accent-color:var(--teal)}
/* ── Version C « Deux colonnes » : contenu à gauche, fiche + notes de l'IA collantes à droite ── */
.cmc-main{max-width:1320px;margin-inline:auto}
.cmc-choix{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-5)}
.cmc-choix .jl-surtitre{margin-right:var(--space-2)}
.cmc-dos{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:var(--text-sm);padding:6px var(--space-3);
  border:1px solid var(--line);background:var(--white);border-radius:var(--radius-pill);color:var(--body);cursor:pointer;max-width:100%}
.cmc-dos span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cmc-dos:hover{border-color:var(--teal);color:var(--teal)}
.cmc-dos.is-on{background:var(--teal-xl);border-color:var(--teal);color:var(--teal);font-weight:600}
.cmc-dos i{font-style:normal;font-family:var(--font-mono);font-size:var(--text-3xs);color:var(--warn);font-weight:600}
.cmc-nouveau{color:var(--teal);border-style:dashed}
.cmc-grille{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:var(--space-7);align-items:start}
.cmc-cote{position:sticky;top:calc(var(--topbar-h) + var(--space-4));max-height:calc(100vh - var(--topbar-h) - var(--space-6));
  overflow:auto;padding-right:4px;scrollbar-width:thin}
.cmc-cote .cm-fiche{margin-bottom:var(--space-4)}
.cmc-cote .cm-ng{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-4) var(--space-5);margin-bottom:var(--space-4)}
.cmc-cote .cm-h2{font-size:var(--text-lg)}
.cmc-cote .cm-dl{grid-template-columns:84px 1fr;font-size:var(--text-sm)}
.cmc-filtres{display:flex;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-4);align-items:center}
.cmc-filtres .jl-filtre b{font-family:var(--font-sans);font-variant-numeric:tabular-nums;font-weight:400;opacity:.8}
.cmc-vide{padding:var(--space-6);text-align:center;border:1px dashed var(--line);border-radius:var(--radius-xl);color:var(--muted)}
/* Volet de la version A (dossiers à gauche) — « Chercher dans le site » en haut */
.cma-rail{width:var(--jl-rail-w)}   /* 13/11 : largeur unique, définie dans jl.css */
.cma-rail.jl-rail--mini{width:60px}   /* 13/11 : volet réduit (avant, .cma-rail l'emportait : volet vide de 288 px) */
.cma-nouveau{margin:var(--space-1) var(--space-2) var(--space-2);justify-content:flex-start}
.cma-cherche{position:relative;margin:0 var(--space-2) var(--space-2)}
.cma-cherche .jl-ico{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--muted);width:14px;height:14px}
.cma-cherche input{width:100%;font:inherit;font-size:var(--text-sm);color:var(--ink);background:var(--cream);
  border:1px solid var(--line);border-radius:var(--radius-lg);padding:7px 10px 7px 30px}
.cma-cherche input:focus{outline:2px solid var(--teal-xl);border-color:var(--teal)}
.cma-dos{align-items:flex-start}
.cma-dos .jl-ico{margin-top:2px}
.cma-dos__t{display:flex;flex-direction:column;min-width:0;flex:1}
.cma-dos__t b{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jl-ri.is-on .cma-dos__t b{font-weight:400}   /* 13/11 : pas de gras, même rendu que le volet du site */
.cma-dos__t small{font-size:var(--text-xs);color:var(--muted);font-weight:400;display:flex;gap:6px;align-items:center}
.cma-dos__t small i{font-style:normal;color:var(--warn);font-weight:600}
.cma-vide{font-size:var(--text-sm);color:var(--muted);padding:var(--space-2) var(--space-3)}
.cma-site{border-bottom:1px solid var(--line);margin-bottom:var(--space-2);padding-bottom:var(--space-1)}
.cma-site summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between}
.cma-site summary::-webkit-details-marker{display:none}
/* 4/10 : même règle que « Notes générales » : vers le bas replié, vers le haut ouvert */
.cma-site summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--body);border-bottom:2px solid var(--body);
  transform:translateY(-2px) rotate(45deg);margin-right:var(--space-3);transition:transform .15s}
.cma-site[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.cma-compte{max-width:720px;margin-inline:auto}
.cma-compte .jl-carte{margin-bottom:var(--space-4)}
.cma-compte h2{margin-bottom:var(--space-2)}
.cma-compte p{color:var(--body);margin-bottom:var(--space-3)}
@media (max-width:900px){.cma-rail{width:52px}}
/* « Nouveau dossier » discret : une ligne du volet, un rond vert et un plus blanc */
.cmc-nouveau{background:none;border:0;font:inherit;cursor:pointer;width:100%;text-align:left;color:var(--body)}
.cmc-nouveau:hover .jl-rond-plus{filter:brightness(1.12)}
/* Sous-dossiers */
.cmc-filtres .jl-filtre .jl-ico{width:13px;height:13px;margin-right:4px;vertical-align:-2px}
.cmc-cl{display:inline-flex;align-items:center;gap:2px}
.cmc-cl__x{border:0;background:none;color:var(--muted);font-size:16px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:50%}
.cmc-cl__x:hover{background:var(--line);color:var(--bad)}
.cmc-cl__plus{display:inline-flex;align-items:center;gap:6px;border:0;background:none;font:inherit;font-size:var(--text-sm);color:var(--body);cursor:pointer;padding:4px 6px}
.cmc-cl__plus .jl-rond-plus{width:18px;height:18px}
.cmc-cl__plus .jl-rond-plus .jl-ico{width:11px;height:11px}
.cmc-cl__in{font:inherit;font-size:var(--text-sm);padding:5px 10px;border:1px solid var(--teal);border-radius:var(--radius-pill);outline:2px solid var(--teal-xl);background:var(--white);color:var(--ink);min-width:200px}
.cmc-range{display:flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted);border-top:1px dashed var(--line);margin-top:var(--space-3);padding-top:var(--space-2)}
.cmc-range .jl-ico{width:13px;height:13px}
.cmc-range select{font:inherit;font-size:var(--text-xs);color:var(--ink);background:var(--cream);border:1px solid var(--line);border-radius:var(--radius-md,6px);padding:2px 6px;margin-left:4px}
/* Consignes pour l'IA */
.cmc-consignes{background:var(--white);border:1px solid var(--line);border-left:3px solid var(--doc,var(--teal));border-radius:var(--radius-xl);padding:var(--space-4) var(--space-5);margin-bottom:var(--space-4)}
.cmc-consignes__hd{display:flex;justify-content:space-between;align-items:baseline}
.cmc-consignes__dit{display:flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted);margin:var(--space-1) 0 var(--space-2)}
.cmc-consignes__dit .jl-ico{width:13px;height:13px}
.cmc-consignes__txt{white-space:pre-wrap;font-family:var(--font-sans);font-size:var(--text-sm);color:var(--body);line-height:1.5;margin:0;max-height:180px;overflow:auto}
.cmc-consignes__vide{font-size:var(--text-sm);color:var(--muted)}
.cmc-consignes__note{font-size:var(--text-xs);color:var(--muted);margin:var(--space-3) 0 0;line-height:1.45}
.cmc-consignes__modes{display:flex;flex-direction:column;gap:6px;margin:var(--space-2) 0;font-size:var(--text-sm)}
.cmc-consignes__ta{width:100%;font:inherit;font-size:var(--text-sm);line-height:1.5;color:var(--ink);background:var(--cream);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-3);margin:var(--space-2) 0;resize:vertical}
.cmc-consignes__ta[readonly]{opacity:.8}
/* Choix de destination des liens */
.cmp-radios{display:flex;flex-direction:column;gap:var(--space-3);padding:0 var(--space-5) var(--space-4);margin-top:var(--space-3)}
.cmp-radio{display:flex;gap:10px;align-items:flex-start;padding:var(--space-1) 0;cursor:pointer}
.cmp-radio input{margin-top:3px;accent-color:var(--teal)}
.cmp-radio b{display:block;font-weight:600;color:var(--ink);font-size:var(--text-sm)}
.cmp-radio small{display:block;color:var(--muted);font-size:var(--text-xs);margin-top:2px}
.cmp-kbd{font-family:var(--font-mono);font-size:var(--text-3xs);border:1px solid var(--line);border-bottom-width:2px;border-radius:4px;padding:0 4px}
/* Export du dossier : bouton plein, vert */
.cmc-outils [data-act="export"]{background:var(--teal);border-color:var(--teal);color:#fff;padding-top:5px;padding-bottom:3px}
  /* majuscules sans jambage : le texte paraît trop haut, on le descend d'un pixel */
.cmc-outils [data-act="export"]:hover{background:var(--teal-l);border-color:var(--teal-l);color:#fff}
/* Renommage sur place */
.cmc-dosl--edit{padding:4px var(--space-2)}
.cmc-renom{width:100%;font:inherit;font-size:var(--text-sm);font-weight:500;color:var(--ink);background:var(--white);
  border:1px solid var(--teal);border-radius:var(--radius-md,6px);padding:7px 10px;outline:2px solid var(--teal-xl)}
/* ⋮ au survol d'un dossier */
.cmc-dosl{position:relative}
.cmc-dosl .cma-dos{padding-right:34px}
/* 23/10/2026 : volet ouvert sur téléphone, la règle .jl-rail--ouvert .jl-ri (jl.css) écrasait cette marge : pastille et « … » passaient sous « ⋮ » (toujours visible au tactile). */
.jl-rail.jl-rail--ouvert .cmc-dosl .cma-dos{padding-right:40px}
.cmc-dosl:hover .jl-kebab,.jl-kebab:focus-visible,.cmc-dosl.is-menu .jl-kebab{opacity:1}
.jl-kebab:hover,.cmc-dosl.is-menu .jl-kebab{background:var(--line);color:var(--ink)}
.jl-rail--mini .jl-kebab{display:none}
/* Sous-dossier dans le contenu : icône en retrait, filet vertical jusqu'en bas */
.cmc-gr{position:relative;padding-left:36px;margin-bottom:var(--space-7)}
.cmc-gr__ic{position:absolute;left:0;top:0;width:26px;height:30px;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.cmc-gr__ic .jl-ico{width:24px;height:24px;stroke-width:1.6}
.cmc-gr::before{content:"";position:absolute;left:12.5px;top:38px;bottom:4px;width:1px;background:var(--line)}
/* Titre : nom — filet horizontal — compteur dans une bulle */
.cmc-gr__t{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-1);min-height:30px}
.cmc-gr__fil{flex:1;height:1px;background:var(--line)}
/* Note écartée : la note (grisée, barrée) puis sa raison dans un encadré distinct */
.cm-raison{display:flex;align-items:flex-start;gap:10px;margin-top:var(--space-3);padding:var(--space-2) var(--space-3);
  border-left:2px solid color-mix(in srgb,var(--bad) 55%,transparent);background:none;border-radius:0}
.cm-raison>.jl-ico{width:15px;height:15px;flex:none;margin-top:2px;color:var(--bad);opacity:.8}
.cm-raison>div{flex:1}
.cm-raison__t{display:block;font-size:var(--text-3xs);text-transform:uppercase;letter-spacing:.06em;font-weight:600;color:var(--bad);opacity:.85;margin-bottom:2px}
.cm-raison p{margin:0;font-size:var(--text-sm);color:var(--ink);font-style:italic}
.cm-note.is-ecarte .cm-note__corps{opacity:.55}
.cm-note.is-ecarte .cm-note__corps p{text-decoration:line-through;text-decoration-color:var(--muted)}
.cm-note.is-ecarte>p{opacity:1;text-decoration:none}
.cm-note--ia .cm-note__meta>.jl-ico{color:var(--doc,var(--teal))}
.cm-note--ia .cm-note__meta b{color:var(--doc,var(--teal));font-weight:600}
/* Écarter / Rétablir : gris au repos ; rouge (écarter) ou vert (rétablir) au survol */
.cm-note__meta [data-act="ecart"],.cm-note__meta [data-act="retablir"]{color:var(--muted);font-weight:500;text-decoration:none}
.cm-note__meta [data-act="ecart"]:hover,.cm-note__meta [data-act="ecart"]:focus-visible{color:var(--bad)}
.cm-note__meta [data-act="retablir"]:hover,.cm-note__meta [data-act="retablir"]:focus-visible{color:var(--teal)}
.cm-crayon-n{margin-left:auto;width:26px;height:26px;border:0;background:none;color:var(--muted);border-radius:var(--radius-md);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.cm-crayon-n .jl-ico{width:14px;height:14px}
.cm-crayon-n:hover,.cm-crayon-n:focus-visible{color:var(--teal);background:var(--teal-xl)}
.cm-note__meta .cm-crayon-n+.cm-lien{margin-left:var(--space-2)}
.cm-note__meta [data-act="ecart"]:hover,.cm-note__meta [data-act="retablir"]:hover{text-decoration:none}
.cm-poubelle-n:hover,.cm-poubelle-n:focus-visible{color:var(--bad);background:color-mix(in srgb,var(--bad) 10%,transparent)}
.cm-crayon-n+.cm-poubelle-n{margin-left:2px}
/* Crayon et corbeille : visibles seulement au survol de la note (ou au clavier) */
.cm-note .cm-crayon-n,.cm-note .cm-poubelle-n{opacity:0;transition:opacity .12s}
.cm-note:hover .cm-crayon-n,.cm-note:hover .cm-poubelle-n,.cm-note:focus-within .cm-crayon-n,.cm-note:focus-within .cm-poubelle-n{opacity:1}
@media (hover:none){.cm-note .cm-crayon-n,.cm-note .cm-poubelle-n{opacity:1}}
.cm-suppconf{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin:0 0 var(--space-2);padding:var(--space-2) var(--space-3);
  border-left:2px solid var(--bad);font-size:var(--text-sm);color:var(--ink)}
.cm-suppconf span{flex:1;min-width:220px}
.cm-suppconf__oui{background:var(--bad);border-color:var(--bad)}
.cm-suppconf__oui:hover{background:var(--bad);border-color:var(--bad);filter:brightness(1.08)}
/* Notes : qu'elles respirent (cartes espacées), formulaire soigné, ligne « rétabli » */
.cmc-gr .cm-note{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-3)}
.cmc-gr .cm-note.is-ecarte{background:var(--cream);border-style:dashed}
.cm-note__meta{display:flex;align-items:center;gap:6px;margin-bottom:var(--space-2)}
.cm-note__meta .cm-lien{margin-left:auto}
.cm-note .cm-ecarte,.cm-retabli{margin:0 0 var(--space-2)}
.cm-el .cm-notes .cm-note{padding:var(--space-3) 0;border-bottom:1px solid var(--line)}
.cm-el .cm-notes .cm-note:last-of-type{border-bottom:0}
.cm-retabli{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:var(--text-xs);color:var(--muted);
  background:var(--cream);border-radius:var(--radius-md);padding:6px 10px}
.cm-retabli .jl-ico{width:13px;height:13px;flex:none}
.cm-retabli span{flex:1;min-width:200px}
.cm-noteform{background:var(--white);border:1px solid var(--teal);border-radius:var(--radius-lg);padding:var(--space-4);margin:var(--space-2) 0 var(--space-3);
  box-shadow:0 0 0 3px var(--teal-xl)}
.cm-noteform__t{display:flex;align-items:center;gap:6px;font-weight:600;font-size:var(--text-sm);color:var(--ink);margin:0 0 var(--space-2)}
.cm-noteform__t .jl-ico{width:15px;height:15px;color:var(--teal)}
.cm-noteform textarea{width:100%;font:inherit;font-size:var(--text-sm);line-height:1.5;color:var(--ink);background:var(--cream);border:1px solid var(--line);
  border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);margin-bottom:var(--space-2);resize:vertical}
.cm-noteform textarea:focus{outline:2px solid var(--teal-xl);border-color:var(--teal)}
.cm-noteform .cm-actions{display:flex;justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-2)}
/* Notes DANS une carte : pas de carte dans la carte. Fond crème léger, pas de bordure, pas de filet à gauche. */
.cm-el .cm-notes{border-left:0;padding:var(--space-3) 0 0;gap:var(--space-2)}
.cmc-gr .cm-el .cm-notes .cm-note{background:var(--cream);border:0;border-radius:var(--radius-md);padding:var(--space-3);margin:0}
.cm-el .cm-noteform{box-shadow:none;border:1px solid var(--line);background:var(--cream);padding:var(--space-3);margin:0}
.cm-el .cm-noteform textarea{background:var(--white)}
.cm-plusnote{display:none}
 /* le « + » rond du pied suffit */
/* 3/10 : marquer que c'est une NOTE sans casser le lien avec la carte :
   petit intitulé « Notes » + filet pointillé, et chaque note porte un liseré vert à gauche (le teal = l'humain). */
.cm-synthese{white-space:pre-wrap;font-size:var(--text-sm);line-height:1.6;color:var(--ink)}
.cmc-fe__synth{width:100%;font:inherit;font-size:var(--text-sm);line-height:1.5;resize:vertical;min-height:120px}
.cmc-nt{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px dashed var(--line)}
.cmc-nt__t{font-size:var(--text-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.cmc-nt .cmc-gr__fil{flex:1}
.cm-el .cmc-nt+.cm-notes{padding-top:var(--space-2)}
.cm-el .cm-notes:not(.cmc-nt+.cm-notes){margin-top:var(--space-3);border-top:1px dashed var(--line)}
.cmc-gr .cm-el .cm-notes .cm-note{border-left:3px solid var(--teal);border-radius:0 var(--radius-md) var(--radius-md) 0;background:color-mix(in srgb,var(--teal) 5%,var(--white))}
.cm-ecform{margin:var(--space-2) 0 var(--space-3)}
.cmc-gr__plus{flex:none;border:0;background:none;padding:0;cursor:pointer;display:inline-flex;margin-left:calc(-1 * var(--space-1))}
.cmc-gr__plus .jl-rond-plus{width:26px;height:26px}
.cmc-gr__plus .jl-rond-plus .jl-ico{width:14px;height:14px}
.cmc-gr__plus:hover .jl-rond-plus{background:var(--teal-l)}
.cmc-gr__plus:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:50%}
.cmc-gr__n{flex:none;min-width:26px;height:26px;padding:0 7px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:13px;font-family:var(--font-sans);font-variant-numeric:tabular-nums;font-size:var(--text-xs);font-weight:600;color:var(--body);background:var(--white)}
.cmc-gr__aide{margin:0 0 var(--space-3)}
.cmc-gr__corps{margin-top:var(--space-3)}
@media (max-width:640px){.cmc-gr{padding-left:24px}.cmc-gr__ic{width:18px}.cmc-gr::before{left:8.5px}}
/* Rangée de statistiques du dossier */
.cmc-stats{display:flex;flex-wrap:wrap;align-items:center;row-gap:var(--space-1);margin-top:var(--space-3)}
.cmc-stat{display:inline-flex;align-items:center;gap:6px;padding:0 var(--space-3);font-size:var(--text-xs);color:var(--muted)}
.cmc-stat:first-child{padding-left:0}
button.cmc-stat{font:inherit;font-size:var(--text-xs);background:none;border-top:0;border-right:0;border-bottom:0;cursor:pointer;line-height:1.6}
button.cmc-stat:first-child{border-left:0}
button.cmc-stat:hover span,button.cmc-stat:hover{color:var(--teal)}
button.cmc-stat:hover{text-decoration:underline;text-underline-offset:3px}
.cmc-stat.is-on{color:var(--teal);font-weight:600;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.cmc-stat.is-on .jl-ico,.cmc-stat.is-on b{color:var(--teal)}
.cmc-stat--alerte.is-on,.cmc-stat--alerte.is-on b,.cmc-stat--alerte.is-on .jl-ico,.cmc-stat--alerte:hover{color:var(--bad)}
button.cmc-stat:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:2px}
.cmc-repli{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;display:flex;align-items:center;gap:var(--space-3);flex:1;min-width:0;text-align:left}
.cmc-repli > span:first-child{flex:none}
.cmc-repli:hover{color:var(--teal)}
.cmc-repli:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:2px}
/* 4/10 : chevron lisible (taille du titre), vers le BAS replié, vers le HAUT ouvert (icône « chev » = vers le haut) */
.cmc-repli__ch{display:inline-flex;flex:none;color:var(--body);transform:rotate(180deg);transition:transform .15s;margin-left:calc(-1 * var(--space-3))}
.cmc-repli__ch .jl-ico{width:1.5em;height:1.5em;stroke-width:2.2}
.cmc-repli__ch.is-ouv{transform:rotate(0deg)}
.cmc-repli:hover .cmc-repli__ch{color:var(--teal)}
.cmc-filtrestat{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);color:var(--body);margin:0 0 var(--space-3)}
.cmc-filtrestat .jl-ico{width:14px;height:14px;color:var(--muted)}
.cmc-stat+.cmc-stat{border-left:1px solid var(--line)}
.cmc-stat .jl-ico{width:14px;height:14px;color:var(--muted)}
.cmc-stat b{font-family:var(--font-sans);font-variant-numeric:tabular-nums;font-weight:600;color:var(--ink);font-size:var(--text-xs)}
.cmc-stat--alerte{color:var(--bad)}
.cmc-stat--alerte .jl-ico{color:var(--bad);fill:none}
.cmc-stat--alerte b{color:var(--bad)}
/* « à revoir » : triangle d'avertissement en contour, rouge sourd */
.cma-dos{align-items:center}
/* 13/11/2026 : .cmc-avert (pastille « à revoir » du volet) déplacée dans jl.css : elle sert aussi au volet du site. */
.cmc-sec-dos{display:flex;align-items:center;gap:8px}
.cmc-sec-dos .jl-ico{width:14px;height:14px;flex:none;transform:translateY(-1.5px)}
  /* majuscules sans jambage : le texte paraît plus haut que sa boîte */
/* 13/11/2026 : plus de retrait propre aux dossiers (.cma-dos{padding-left:calc(var(--space-3) + 22px)}) : même alignement
   que le volet du site ; seul l'arbre du dossier ouvert (.cmc-arbre) reste en retrait. */
@media (max-width:1180px){.cmc-grille{grid-template-columns:minmax(0,1fr) 340px;gap:var(--space-5)}}
@media (max-width:980px){
  .cmc-grille{grid-template-columns:1fr}
  .cmc-cote{position:static;max-height:none;overflow:visible;order:-1;padding-right:0}
}
/* la règle « .cmp-l__t span » (bloc, petit, gris) écrasait l'avatar dans Paramètres › Profil */
.cmp-l__t span.jl-avatar{display:inline-flex;line-height:1;color:#fff;font-size:var(--text-lg);font-weight:600}
/* ── Page Paramètres ── */
.cmp{max-width:1080px;margin-inline:auto}
.cmp-hd{margin-bottom:var(--space-6)}
.cmp-l__t span.cmc-profil{display:flex;align-items:center;gap:var(--space-4);margin-bottom:var(--space-3)}
.cmp-l__t span.cmc-profil__nom{font-size:var(--text-lg);font-weight:600;color:var(--ink)}
.cmp-l__t:has(.cmc-profil){padding:var(--space-2) 0}
.mail-r{white-space:nowrap}
.mail-r .jl-ico{display:inline-block;width:13px;height:13px;vertical-align:-2px;margin-right:4px}
.cmp-gauche{position:sticky;top:calc(var(--topbar-h) + var(--space-4))}
.cmp-gauche .cmp-nav{position:static}
.cmp-gauche .cmp-hd{margin-bottom:var(--space-4)}
@media (max-width:980px){.cmp-gauche{position:static}}
.cmp-grille{display:grid;grid-template-columns:220px minmax(0,1fr);gap:var(--space-8);align-items:start}
.cmp-nav{position:sticky;top:calc(var(--topbar-h) + var(--space-4));display:flex;flex-direction:column;gap:2px}
.cmp-nav a{display:flex;align-items:center;gap:var(--space-3);padding:8px var(--space-3);border-radius:var(--radius-lg);
  font-size:var(--text-base);color:var(--body);text-decoration:none}
.cmp-nav a:hover{background:var(--white);color:var(--ink)}
.cmp-nav a[aria-current=page]{background:var(--teal-xl);color:var(--teal);font-weight:600}
.cmp-nav a.cmp-nav__danger{color:var(--bad)}
.cmp-nav a.cmp-nav__danger[aria-current=page]{background:var(--bad-bg);color:var(--bad)}
.cmp-nav hr{border:0;border-top:1px solid var(--line);margin:var(--space-2) var(--space-3)}
.cmp-corps{min-width:0;max-width:760px}
.cmp-corps>h2.jl-titre{margin-bottom:var(--space-2)}
.cmp-intro{color:var(--body);margin:0 0 var(--space-6);font-size:var(--text-base);line-height:var(--lh-normal)}
.cmp-bloc{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-xl);margin-bottom:var(--space-5)}
.cmp-bloc>h3{font-size:var(--text-md);font-weight:600;color:var(--ink);padding:var(--space-4) var(--space-5) 0}
.cmp-bloc>.cmp-aide{padding:4px var(--space-5) 0}
.cmp-aide{font-size:var(--text-sm);color:var(--muted);line-height:var(--lh-normal);margin:0}
.cmp-l{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-5);border-top:1px solid var(--line)}
.cmp-bloc>h3+.cmp-l,.cmp-bloc>.cmp-aide+.cmp-l{margin-top:var(--space-3)}
.cmp-bloc>.cmp-l:first-child{border-top:0}
.cmp-l__t{flex:1;min-width:0}
.cmp-l__t .jl-etiquette{display:inline-flex;margin-left:4px}
.cmp-l__t b{display:block;font-weight:500;color:var(--ink);font-size:var(--text-base)}
.cmp-l__t span{display:block;font-size:var(--text-sm);color:var(--muted);line-height:var(--lh-normal)}
.cmp-l__t code,.cmp-code{font-family:var(--font-mono);font-size:var(--text-sm);color:var(--ink);overflow-wrap:anywhere}
.cmp-l>.jl-ico{color:var(--muted);width:20px;height:20px}
.cmp-l__a{display:flex;gap:var(--space-2);flex:none;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.cmp-in{font:inherit;font-size:var(--text-base);color:var(--ink);background:var(--cream);border:1px solid var(--line);border-radius:var(--radius-lg);padding:8px 10px;width:100%;max-width:360px}
.cmp-in:focus{outline:2px solid var(--teal-xl);border-color:var(--teal)}
.cmp-attente{margin:0 var(--space-5) var(--space-4);padding:var(--space-3);border-radius:var(--radius-lg);background:var(--teal-xl);color:var(--ink);font-size:var(--text-sm);line-height:var(--lh-normal)}
.cmp-attente .cmp-l__a{justify-content:flex-start;margin-top:var(--space-2)}
.cmp-form{padding:0 var(--space-5) var(--space-4);display:flex;gap:var(--space-2);flex-wrap:wrap;align-items:center}
.cmp-tab{width:100%;border-collapse:collapse;font-size:var(--text-sm)}
.cmp-tab th{text-align:left;font-size:var(--text-3xs);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600;padding:var(--space-3) var(--space-5) var(--space-2)}
.cmp-tab td{border-top:1px solid var(--line);padding:var(--space-3) var(--space-5);vertical-align:top;color:var(--body)}
.cmp-tab td:first-child{color:var(--ink);font-weight:500}
.cmp-liste{list-style:none;padding:var(--space-3) var(--space-5) var(--space-4);display:flex;flex-direction:column;gap:var(--space-2);font-size:var(--text-sm);color:var(--body);line-height:var(--lh-normal)}
.cmp-liste li{display:flex;gap:var(--space-2)}
.cmp-liste li>.jl-ico{color:var(--teal);margin-top:2px}
.cmp-liste--non li>.jl-ico{color:var(--bad,#b3261e)}
.cmp-liste b{color:var(--ink);font-weight:600}
.cmp-danger{border-color:var(--bad)}
.cmp-danger>h3{color:var(--bad)}
.cmp-source{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-2)}
.cmp-copie{display:flex;gap:var(--space-2);align-items:center;padding:0 var(--space-5) var(--space-4);flex-wrap:wrap}
.cmp-copie code{flex:1 1 240px;min-width:0;background:var(--cream);border:1px solid var(--line);border-radius:var(--radius-lg);padding:8px 10px}
.cmp-fait{padding:var(--space-7);text-align:center}
.cmp-fait p{color:var(--body);margin-top:var(--space-2)}
.jl-dialogue .cmp-in{max-width:none;margin-bottom:var(--space-4)}
/* 11/10/2026 : champ mot de passe enveloppé par l'œil (topbar.js) : la marge passe à l'enveloppe, sinon l'œil est décentré */
.jl-dialogue .jl-oeil-w{margin-bottom:var(--space-4)}.jl-dialogue .jl-oeil-w>.cmp-in{margin-bottom:0}
.jl-dialogue .cmp-copie{padding:0 0 var(--space-4)}
@media (max-width:980px){
  .cmp-grille{grid-template-columns:1fr;gap:var(--space-4)}
  .cmp-nav{position:static;flex-direction:row;flex-wrap:wrap;gap:6px}
  .cmp-nav a{padding:5px 10px;border:1px solid var(--line);border-radius:var(--radius-pill);font-size:var(--text-sm);background:var(--white)}
  .cmp-nav a .jl-ico{display:none}
  .cmp-nav hr{display:none}
}
@media (max-width:600px){
  .cmp-l{flex-wrap:wrap;padding:var(--space-3) var(--space-4)}
  .cmp-l__a{justify-content:flex-start;width:100%}
  .cmp-bloc>h3,.cmp-bloc>.cmp-aide,.cmp-bloc .cmp-radios{padding-left:var(--space-4);padding-right:var(--space-4)}
  .cmp-tab thead{display:none}
  .cmp-tab tr{display:block;border-top:1px solid var(--line);padding:var(--space-2) var(--space-4)}
  .cmp-tab td{display:block;border:0;padding:2px 0}
  .cmp-form,.cmp-copie{padding-left:var(--space-4);padding-right:var(--space-4)}
}
/* ── Arbre des sous-dossiers sous le dossier ouvert (volet), « À ranger », glisser-déposer ── */
/* 13/11/2026 : barre de l'arbre calée sous le début du nom du dossier (même retrait --jl-ri-x que la ligne, jl.css) */
.cmc-arbre{display:flex;flex-direction:column;gap:1px;margin:2px 0 var(--space-2) var(--jl-ri-x);padding-left:var(--space-2);border-left:1px solid var(--line)}
.cmc-ab{position:relative}
.cmc-ab__b{display:flex;align-items:center;gap:8px;width:100%;font:inherit;font-size:var(--text-sm);color:var(--body);background:none;border:1px solid transparent;
  border-radius:var(--radius-lg);padding:5px 34px 5px 8px;text-align:left;cursor:pointer}
.cmc-ab__b .jl-ico{width:15px;height:15px;color:var(--muted)}
.cmc-ab__b:hover{background:var(--cream);color:var(--ink)}
.cmc-ab__b:focus-visible,.cmc-ab__plus:focus-visible,.jl-kebab:focus-visible{outline:2px solid var(--teal);outline-offset:1px}
.cmc-ab__b.is-on{color:var(--ink);font-weight:600}
.cmc-ab__b.is-on .jl-ico{color:var(--ink)}
.cmc-ab__n{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Compteur : même boîte pour tous (alignés), cercle vert foncé = sous-dossier choisi */
.cmc-ab__c{flex:none;min-width:22px;height:22px;padding:0 5px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  border-radius:11px;font-family:var(--font-sans);font-variant-numeric:tabular-nums;font-size:var(--text-3xs);color:var(--muted);font-weight:400;font-variant-numeric:tabular-nums}
.cmc-ab__b.is-boite .cmc-ab__c{background:var(--warn-bg);color:var(--warn);font-weight:600}
.cmc-ab__b.is-on .cmc-ab__c{background:var(--teal);color:#fff;font-weight:600}
.cmc-ab .jl-kebab{right:2px;width:24px;height:24px}
.cmc-ab:hover .jl-kebab,.cmc-ab.is-menu .jl-kebab{opacity:1}
.cmc-ab .jl-menu-actions{top:calc(100% - 2px)}
.cmc-ab--edit{padding:2px 0}
.cmc-renomcl{width:100%;font:inherit;font-size:var(--text-sm);color:var(--ink);background:var(--white);border:1px solid var(--teal);border-radius:var(--radius-md);padding:5px 8px;outline:2px solid var(--teal-xl)}
.cmc-ab__plus{display:flex;align-items:center;gap:8px;font:inherit;font-size:var(--text-sm);color:var(--muted);background:none;border:0;padding:5px 8px;border-radius:var(--radius-lg);cursor:pointer;text-align:left}
.cmc-ab__plus .jl-ico{width:15px;height:15px}
.cmc-ab__plus:hover{color:var(--teal);background:var(--cream)}
.jl-rail--mini .cmc-arbre{display:none}
/* Enrouler / dérouler les sous-dossiers du dossier ouvert (6/10/2026) */
/* 14/11/2026 (audit3) : plus d'animation depuis max-height:0 / opacité 0 (suspect des sous-dossiers « disparus ») :
   l'arbre s'affiche ou se masque, sans transition. */
.cmc-arbre.is-replie{display:none}
@media (prefers-reduced-motion:reduce){.cmc-arbre{transition:none}.cmc-arbre.is-neuf{animation:none}}
.cmc-arbre--mobile{display:none}
@media (max-width:900px){
  .cmc-arbre--mobile{display:flex;margin:0 0 var(--space-4);border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--white);padding:var(--space-2)}
  .cmc-arbre--mobile .jl-surtitre{padding:2px 8px 4px}
  .cmc-arbre--mobile .jl-kebab{opacity:1}
  .cmc-aide-glisse{display:none}
}
.cmc-astuce{display:flex;align-items:flex-start;gap:10px}
.cmc-astuce .jl-ico{width:18px;height:18px;flex:none;color:var(--warn);margin-top:1px}
.cmc-aide-glisse{display:flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted);margin:0 0 var(--space-4)}
.cmc-aide-glisse .jl-ico{width:13px;height:13px}
.cmc-vue-t{display:flex;align-items:center;gap:8px;margin-bottom:var(--space-2)}
.cm-groupe>.cm-h2 .jl-ico{width:18px;height:18px;vertical-align:-2px;color:var(--muted)}
.cmc-glissable{cursor:grab}
.cmc-glissable.is-glisse{opacity:.45}
.cmc-glisse-en-cours [data-cible]{outline:1px dashed var(--teal);outline-offset:-1px}
[data-depot-dos].is-cible,[data-cible].is-cible{background:var(--teal-xl)!important;outline:2px solid var(--teal)!important;color:var(--teal)}
.cmc-elk{position:absolute;top:10px;right:10px;z-index:3}
.cmc-elk .jl-kebab{position:static;transform:none;opacity:.7}
.cmc-glissable:hover .cmc-elk .jl-kebab,.cmc-elk.is-menu .jl-kebab{opacity:1}
.cmc-elk .jl-menu-actions{right:0;top:calc(100% + 2px);min-width:220px}
.cmc-elk .jl-menu-actions button{display:flex;align-items:center;gap:8px}
.cmc-elk .jl-menu-actions .jl-ico{width:14px;height:14px;color:var(--muted)}
.cmc-glissable .cm-el__tete{padding-right:30px}
.cmc-arrive{display:flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--doc);margin:0 0 var(--space-2)}
.cmc-arrive .jl-ico{width:13px;height:13px}
/* Carte : titre cliquable (ouvre la fenêtre), extrait court, pied refait (provenance discrète | vrais boutons) */
.cmc-titre{font:inherit;color:inherit;background:none;border:0;padding:0;text-align:left;cursor:pointer;line-height:inherit}
.cmc-titre:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;color:var(--teal)}
.cmc-titre:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:2px}
.cmc-court{display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cmc-pied{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap;margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--line)}
.cmc-prov .cm-verif{font-size:var(--text-xs);color:var(--muted)}
.cmc-pied__a{display:flex;gap:var(--space-2);margin-left:auto}
.cmc-act{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:var(--text-sm);font-weight:500;color:var(--ink);background:var(--white);
  border:1px solid var(--line);border-radius:var(--radius-lg);padding:5px 10px;cursor:pointer;white-space:nowrap}
.cmc-act .jl-ico{width:14px;height:14px;color:var(--muted)}
.cmc-act:hover{border-color:var(--teal);color:var(--teal)}
.cmc-act:hover .jl-ico{color:var(--teal)}
.cmc-act:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.cmc-act--notes.a-des-notes{border-color:var(--teal);color:var(--teal)}
.cmc-act--notes.a-des-notes .jl-ico{color:var(--teal)}
.cmc-act--notes.is-on{background:var(--teal);border-color:var(--teal);color:#fff}
.cmc-act--notes.is-on .jl-ico{color:#fff}
.cmc-nb{cursor:pointer;font-family:var(--font-sans);font-variant-numeric:tabular-nums}
.cmc-nb:hover{border-color:var(--teal);color:var(--teal)}
.cmc-nb:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.cmc-act--note0{background:var(--teal);border-color:var(--teal);color:#fff}
.cmc-act--note0 .jl-ico{color:#fff}
.cmc-act--note0:hover{filter:brightness(1.1);color:#fff}
.cmc-act--note0:hover .jl-ico{color:#fff}
.cmc-pied__a{align-items:center}
.cmc-act__n{font-family:var(--font-sans);font-variant-numeric:tabular-nums;font-size:var(--text-xs);background:var(--teal-xl);color:var(--teal);border-radius:var(--radius-pill);padding:0 6px}
.cmc-act--notes.is-on .cmc-act__n{background:rgba(255,255,255,.2);color:#fff}
.cmc-vo__tag{font-family:var(--font-sans);font-size:var(--text-3xs);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}
.cmc-vo__liens{display:flex;gap:var(--space-2);flex-wrap:wrap;margin-right:auto}
.cmc-vo__meta{margin-bottom:var(--space-2)}
.cmc-vo__txt p{margin:0 0 .7em}.cmc-vo__txt p:last-child{margin-bottom:0}
.cmc-vo__txt{white-space:normal;font-size:var(--text-md);line-height:var(--lh-relaxed);color:var(--ink);border-left:2px solid var(--line);padding-left:var(--space-4)}
.cmc-vo__nota{font-size:var(--text-sm);color:var(--body);background:var(--cream);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-3);margin-top:var(--space-3)}
.cmc-vo__note{border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-3);margin-bottom:var(--space-2)}
.jl-dialogue .cmc-vo__note p{margin:0 0 var(--space-2)}  /* le bas vient de .jl-dialogue--xl .jl-dialogue__c p (jl.css § 28) dans la maquette */
@media (max-width:600px){.jl-dialogue--xl .jl-dialogue__hd,.jl-dialogue--xl .jl-dialogue__c,.jl-dialogue--xl .jl-dialogue__b{padding-left:var(--space-4);padding-right:var(--space-4)}.cmc-pied__a{margin-left:0}}
/* Bouton rond « étincelles » (skills du dossier) au-dessus de l'export ; crayon de la fiche ; édition de la fiche */
.cmc-outils{flex-direction:column;align-items:flex-end;gap:var(--space-2);align-self:stretch;justify-content:space-between}
  /* étincelles en haut, à la hauteur du surtitre ; export en bas */
.cmc-etin{position:relative;width:40px;height:40px;border-radius:50%;border:1px solid var(--teal);background:var(--white);color:var(--teal);
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.cmc-etin:hover{background:var(--teal-xl)}
.cmc-etin:focus-visible,.cmc-crayon:focus-visible,.cmc-fe__x:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.cmc-etin .jl-ico{width:20px;height:20px}
.cmc-etin__n{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;border-radius:9px;background:var(--teal);color:#fff;
  font-family:var(--font-sans);font-variant-numeric:tabular-nums;font-size:var(--text-3xs);display:flex;align-items:center;justify-content:center;padding:0 4px}
.cmc-crayon{width:30px;height:30px;border-radius:var(--radius-lg);border:0;background:none;color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.cmc-crayon:hover{background:var(--teal-xl);color:var(--teal)}
.cmc-fe{border-color:var(--teal)}
.cmc-fe__l{display:block;font-size:var(--text-3xs);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600;margin:var(--space-3) 0 4px}
.cmc-fe .cmp-in{max-width:none;font-size:var(--text-sm);padding:6px 8px}
.cmc-fe__ligne{display:flex;gap:6px;align-items:center;margin-bottom:6px;list-style:none}
.cmc-fe__ligne .cmp-in{flex:1;min-width:0}
.cmc-fe__ligne .cmc-fe__date{flex:0 0 140px}
.cmc-fe__x{flex:none;width:28px;height:28px;border:0;background:none;color:var(--muted);border-radius:50%;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.cmc-fe__x:hover{background:var(--bad-bg);color:var(--bad)}
.cmp-off{opacity:.5}
@media (max-width:980px){.cmc-outils{flex-direction:row-reverse;align-items:center}}/* Guide « Brancher votre IA » (4/10/2026) */
.cmp-etapes{margin:var(--space-2) 0 0 var(--space-5);padding:0;font-size:var(--text-sm);color:var(--body);line-height:var(--lh-normal)}
.cmp-etapes li{margin-bottom:var(--space-2)}
.cmp-guide .cm-h3{margin-top:var(--space-4)}
.cmp-guide .cmp-code{word-break:break-all}
/* 4/10 : avertissement discret à côté d'une permission (création de jeton) ; infobulle au survol et au focus */
.cmp-avert{position:relative;display:inline-flex;align-items:center}
.cmp-avert__b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:none;color:var(--muted);cursor:help}
.cmp-avert__b svg{width:15px;height:15px}
.cmp-avert__b:hover,.cmp-avert__b:focus-visible{color:var(--bad)}
.cmp-avert__b:focus-visible{outline:2px solid var(--teal);outline-offset:1px}
.cmp-avert__bulle{position:absolute;right:0;bottom:calc(100% + 6px);width:max-content;max-width:260px;padding:6px 10px;border-radius:6px;background:var(--ink);color:var(--white);font-size:var(--text-xs, 12px);line-height:1.4;font-weight:400;white-space:normal;z-index:5;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s}
.cmp-avert:hover .cmp-avert__bulle,.cmp-avert__b:focus-visible + .cmp-avert__bulle,.cmp-avert__b:focus + .cmp-avert__bulle{opacity:1;visibility:visible}
.cmc-vo__off{display:contents}
/* Notes épinglées (6/10/2026) : punaise vide au survol (épingler), pleine et visible (désépingler) */
.cm-note .cm-pin-n{opacity:0;transition:opacity .12s}
.cm-note:hover .cm-pin-n,.cm-note:focus-within .cm-pin-n{opacity:1}
@media (hover:none){.cm-note .cm-pin-n{opacity:1}}
.cm-note__meta .cm-pin-n+.cm-crayon-n{margin-left:2px}
.cm-note.is-epinglee .cm-note__meta .cm-crayon-n:not(.cm-pin-n){margin-left:auto}
.cm-note.is-epinglee .cm-note__meta .cm-crayon-n+.cm-poubelle-n{margin-left:2px}
.cm-epingle{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:0;background:none;padding:0;color:var(--teal);border-radius:var(--radius-md);cursor:pointer}
.cm-epingle .jl-ico{width:13px;height:13px;fill:currentColor}
.cm-epingle:hover,.cm-epingle:focus-visible{background:var(--teal-xl)}
.cm-origine{color:var(--muted);font-size:var(--text-xs);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.cm-desep{border:1px solid var(--line);background:var(--white);border-radius:var(--radius-md);padding:var(--space-3);margin:6px 0;font-size:var(--text-sm);display:flex;flex-direction:column;gap:6px}
.cm-desep p{margin:0}
.cm-desep label{display:flex;align-items:center;gap:6px;cursor:pointer}
.cm-desep input[type=radio]{accent-color:var(--teal)}
.cm-desep .cm-actions{display:flex;gap:8px;justify-content:flex-end}
/* 6/10/2026 : une fenêtre plus haute que l'écran (guide de connexion avec capture) débordait,
   coupée et impossible à faire défiler. Hauteur bornée, défilement dans la fenêtre, centrée. */
.jl-fenetre-voile .jl-dialogue{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.jl-fenetre-voile .jl-dialogue--xl{overflow:hidden}

/* Skill proposé par l'IA dans ce dossier, à valider (6/10/2026) : pastille ambre en bas, le compteur des actifs reste en haut. */
.cmc-etin__att{position:absolute;bottom:-4px;right:-4px;min-width:17px;height:17px;border-radius:9px;background:var(--warn);color:var(--warn-bg);
  font-size:var(--text-3xs);font-weight:700;display:inline-flex;align-items:center;justify-content:center;padding:0 4px;box-shadow:0 0 0 2px var(--white)}
.cmp-nav a .jl-pastille-att{margin-left:auto}

/* 9/10 : toute la rangée « NOTES ─── (n) » ouvre/ferme les notes, pas seulement la bulle */
.cmc-nt[data-act]{cursor:pointer}
.cmc-nt[data-act]:hover .cmc-nt__t{color:var(--teal)}
.cmc-nt[data-act]:hover .cmc-gr__fil{background:var(--teal)}
.cmc-nt[data-act]:hover .cmc-nb{border-color:var(--teal);color:var(--teal)}

/* ═════════ Tickets (9/10/2026, web/v2/mon-compte.tickets.js) ═════════ */
.tk .cmp-hd h1 em{font-style:italic;color:var(--teal)}
.tk-stats{margin:var(--space-5) 0 var(--space-4)}
.tk-liste{display:flex;flex-direction:column;gap:var(--space-2)}
.tk-l{--c:var(--muted);background:var(--white);border:1px solid var(--line);border-left:3px solid var(--c);border-radius:0 var(--radius-xl) var(--radius-xl) 0;padding:var(--space-3) var(--space-4);position:relative}
.tk-l:hover{border-color:var(--teal);border-left-color:var(--c)}
/* 10/10/2026 : une couleur par étape — reçu gris, en attente doré, en cours vert du site, traité vert, fermé en retrait */
.tk-l--recu{--c:var(--muted)}.tk-l--attente{--c:var(--gold)}.tk-l--cours{--c:var(--teal)}.tk-l--traite{--c:var(--ok)}
.tk-l--ferme{--c:color-mix(in srgb,var(--muted) 55%,var(--line));background:transparent}
.tk-l--ferme .tk-l__titre{font-weight:500;color:var(--muted)}
.tk-l__h{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:var(--text-xs);color:var(--muted)}
.tk-num{font-family:var(--font-mono)}
.tk-st{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--c)}
.tk-jauge{width:14px;height:14px;display:block;flex:none}
.tk-st--btn{font-family:inherit;background:none;border:0;padding:0;cursor:pointer;position:relative;z-index:1}
.tk-st--btn:hover span{text-decoration:underline;text-underline-offset:3px}
.tk-sep{opacity:.6}
.tk-type{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.tk-nmsg{margin-left:auto;font-family:var(--font-mono)}
.tk-l__titre{display:inline;font-weight:600;color:var(--ink);text-decoration:none;font-size:var(--text-base);margin-top:6px}
.tk-l__titre::after{content:"";position:absolute;inset:0}
.tk-l__titre:hover{color:var(--teal)}
.tk-l__h .tk-stw{position:relative;z-index:1}
.tk-l > .tk-l__titre{display:inline-block}
.tk-nouveau{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--teal);margin-left:8px;vertical-align:2px}
.tk-cible{font-family:var(--font-mono);font-size:var(--text-xs);color:var(--muted);margin-top:3px}
.tk-extrait{font-size:var(--text-sm);color:var(--body);margin:var(--space-2) 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tk-stw{position:relative}
.tk-stw .jl-menu-actions{top:100%;left:var(--space-3);z-index:5}
.tk-nouveau{color:var(--teal);font-weight:600}
.tk-sourd{color:var(--muted);font-style:italic}
.tk-ferme{margin:0 0 var(--space-4);border-left:3px solid var(--red);padding-left:var(--space-3)}
.tk-vide{color:var(--muted);text-align:center;padding:var(--space-6);border:1px dashed var(--line);border-radius:var(--radius-xl)}
.tk-form{padding:var(--space-5)}
.tk-form h3{margin:0 0 var(--space-3);padding:0}
.tk-lbl{display:block;font-size:var(--text-sm);font-weight:600;margin:var(--space-3) 0 var(--space-1)}
.tk-in{max-width:none}
.tk-ta{min-height:130px;resize:vertical;font-size:var(--text-sm);line-height:1.55}
.tk-aide{font-size:var(--text-xs);color:var(--muted);font-weight:400}
.tk-types{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.tk-type-choix{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-sm);border:1px solid var(--line);border-radius:var(--radius-lg);padding:4px 10px;cursor:pointer}
.tk-type-choix:has(input:checked){border-color:var(--teal);color:var(--teal)}
.tk-type-choix input{accent-color:var(--teal);margin:0}
.tk-pieces{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3);margin-top:var(--space-3)}
.tk-joindre{cursor:pointer}
.tk-pj{list-style:none;margin:0;padding:0;width:100%;display:flex;flex-direction:column;gap:4px;font-size:var(--text-sm)}
.tk-x{background:none;border:0;color:var(--muted);cursor:pointer;padding:2px;vertical-align:middle;line-height:0}
.tk-x:hover{color:var(--bad)}
.tk-x .jl-ico{width:14px;height:14px}
.tk-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-4)}
.tk-actions .tk-danger{margin-left:auto}
.tk-danger:hover{color:var(--bad);border-color:var(--bad)}
.tk-retour{margin:0 0 var(--space-3)}
.tk-retour a{display:inline-flex;align-items:center;gap:4px;color:var(--teal);text-decoration:none;font-size:var(--text-sm)}
.tk-retour .jl-ico{width:16px;height:16px}
.tk-meta{margin-top:var(--space-2)}
.tk-statuts{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:0 0 var(--space-5)}
.tk-fil{border-left:2px solid var(--line);margin-left:var(--space-2);padding-left:var(--space-5);margin-bottom:var(--space-5)}
.tk-msg{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-xl);margin-bottom:var(--space-3);overflow:hidden}
.tk-msg--jl{border-color:var(--teal)}
.tk-msg__tete{display:flex;align-items:center;gap:var(--space-3);padding:6px var(--space-4);background:var(--cream);border-bottom:1px solid var(--line);font-size:var(--text-xs)}
.tk-msg--jl .tk-msg__tete{background:var(--teal-xl,var(--cream))}
.tk-msg__tete .tk-quand{margin-left:auto;color:var(--muted)}
.tk-msg__corps{padding:var(--space-3) var(--space-4);font-size:var(--text-sm);line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.tk-evt{font-size:var(--text-xs);color:var(--muted);margin:0 0 var(--space-3)}
.tk-evt b{color:var(--ink)}
.tk-fichiers{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--space-2);padding:0 var(--space-4) var(--space-3)}
.tk-img img{display:block;max-width:220px;max-height:160px;border:1px solid var(--line);border-radius:var(--radius-lg)}
.tk-doc{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-sm);color:var(--teal);text-decoration:none;border:1px solid var(--line);border-radius:var(--radius-lg);padding:4px 10px}
.tk-doc .jl-ico{width:14px;height:14px}
@media (max-width:640px){.tk-l__tete>.tk-quand{margin-left:0}.tk-fil{margin-left:0;padding-left:var(--space-3)}.tk-actions .tk-danger{margin-left:0}}
.tk-compteur{font-size:var(--text-xs);color:var(--muted);text-align:right;margin-top:4px;font-variant-numeric:tabular-nums}
.tk-compteur.is-plein{color:var(--bad);font-weight:600}
.tk-limites{position:sticky;top:var(--space-5);border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-4) var(--space-5);background:var(--white)}
.tk-limites h3{margin:0 0 var(--space-3);font-size:var(--text-sm)}
.tk-jauges{margin:0 0 var(--space-3)}
.tk-jauges div{display:flex;justify-content:space-between;gap:var(--space-3);padding:4px 0;font-size:var(--text-sm);color:var(--body)}
.tk-jauges dt{margin:0}.tk-jauges dd{margin:0;white-space:nowrap}
.tk-limites ul{margin:0;padding:var(--space-2) 0 0 1.1rem;border-top:1px solid var(--line);font-size:var(--text-xs);color:var(--muted);line-height:1.7}
.tk-limites b{font-variant-numeric:tabular-nums;color:var(--ink)}
.tk-limites .tk-aide{margin:var(--space-3) 0 0}
.tk{container-type:inline-size}
.tk-grille.tk-grille--l{grid-template-columns:minmax(0,1fr) 280px}
@container (max-width:760px){.tk-grille.tk-grille--l{grid-template-columns:1fr}.tk-limites{position:static}}

/* ═════════ Notifications (9/10/2026, web/v2/mon-compte.notifications.js ; prototype web/proto-notifications.html) ═════════ */
.nt .cmp-hd h1 em{font-style:italic;color:var(--teal)}
.nt-grille{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:var(--space-6);align-items:start}
.nt-barre{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 var(--space-4)}
.nt-stats{margin:0}
.nt-stats .cmc-stat{font:inherit;font-size:var(--text-xs);background:none;border-top:0;border-right:0;border-bottom:0;cursor:pointer;line-height:1.6}
.nt-stats .cmc-stat:first-child{border-left:0}
.nt-stats .cmc-stat:hover,.nt-stats .cmc-stat:hover b{color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.nt-stats .cmc-stat:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:2px}
.nt-toutlu{margin-left:auto;font:600 var(--text-xs) var(--font-sans);color:var(--teal);background:none;border:0;cursor:pointer;padding:0}
.nt-toutlu:hover{text-decoration:underline;text-underline-offset:3px}
.nt-jour{font-family:var(--font-sans);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600;margin:var(--space-5) 0 var(--space-2);padding:0}
.nt-barre+.nt-jour{margin-top:0}
.nt-n{display:flex;gap:var(--space-3);align-items:flex-start;border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-2);background:var(--white);position:relative}
.nt-n:hover{border-color:var(--teal)}
.nt-n.is-nonlue{background:var(--white);border-top-left-radius:0;border-bottom-left-radius:0}
.nt-n.is-nonlue::before{content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;width:3px;background:var(--teal)}
.nt-ico{flex:0 0 32px;height:32px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);color:var(--muted)}
.nt-ico .jl-ico{width:16px;height:16px}
.nt-ico--att{color:var(--gold);border-color:currentColor}
.nt-ico--mal{color:var(--bad);border-color:currentColor}
.nt-corps{flex:1;min-width:0}
.nt-titre{font-size:var(--text-sm);font-weight:600;margin:0 0 3px;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}
.nt-txt{font-size:var(--text-sm);color:var(--body);margin:0 0 6px;line-height:1.5;overflow-wrap:anywhere}
.nt-pied{display:flex;align-items:center;gap:var(--space-3);margin-top:var(--space-3);padding-top:var(--space-2);
  border-top:1px solid var(--line);font:400 var(--text-xs)/1.4 var(--font-sans);color:var(--muted);flex-wrap:wrap}
.nt-dossier{display:inline-flex;align-items:center;gap:5px;min-width:min(14ch,100%);flex:0 1 auto;overflow:hidden}
.nt-dossier svg{display:block;flex:none;width:13px;height:13px;opacity:.7;transform:translateY(-.5px)}
.nt-dossier span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nt-liens{display:flex;align-items:center;gap:var(--space-2);margin-left:auto;flex:none;white-space:nowrap}
.nt-liens a{color:var(--teal);text-decoration:none;font-weight:600;padding:3px 8px;border-radius:var(--radius-md,6px)}
.nt-liens a:hover{background:var(--teal-xl)}
.nt-liens span{color:var(--muted)}
@container (max-width:560px){.nt-pied{flex-wrap:wrap}.nt-liens{margin-left:0;width:100%}}
.nt-acts{display:flex;gap:2px;flex:0 0 auto}
.nt-acts button{background:none;border:0;color:var(--muted);cursor:pointer;padding:4px;border-radius:4px;line-height:0}
.nt-acts button:hover{color:var(--teal);background:var(--light)}
.nt-acts .jl-ico{width:16px;height:16px}
.nt-vide{color:var(--muted);text-align:center;padding:var(--space-6);border:1px dashed var(--line);border-radius:var(--radius-xl)}
.nt-reglages{position:sticky;top:var(--space-5);border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-4) var(--space-5);background:var(--white)}
.nt-reglages h2{font-family:var(--font-serif);font-weight:400;font-size:1.4rem;margin:0 0 4px;padding:0}
.nt-reglages p{font-size:var(--text-sm);color:var(--muted);margin:0 0 var(--space-3)}
.nt-reglages .nt-aide{margin:var(--space-3) 0 0;font-size:var(--text-xs)}
.nt-choix{display:flex;gap:var(--space-3);align-items:flex-start;padding:var(--space-2) 0;border-bottom:1px dashed var(--line);font-size:var(--text-sm);cursor:pointer}
.nt-choix input{margin-top:3px;accent-color:var(--teal)}
.nt-choix small{display:block;color:var(--muted);font-size:var(--text-xs);margin-top:2px}
.nt-aide{font-size:var(--text-xs);color:var(--muted)}
/* La colonne de réglages passe sous la liste dès que la zone de contenu est étroite (volet ouvert,
   petite fenêtre), pas seulement sur téléphone : on mesure le conteneur, pas l'écran. */
.nt{container-type:inline-size}
@container (max-width:760px){.nt-grille{grid-template-columns:1fr}.nt-reglages{position:static}}
@media (max-width:900px){.nt-grille{grid-template-columns:1fr}.nt-reglages{position:static}}
@media (max-width:640px){.nt-n{padding:var(--space-3);gap:var(--space-2)}}
/* 9/10/2026 : boîte des tickets, colonne latérale (repris de proto-tickets-admin) */
.tk-grille{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:var(--space-5,1.5rem);align-items:start}
.tk-cote{position:sticky;top:var(--space-4,1rem);border:1px solid var(--line);border-radius:6px;padding:var(--space-4,1rem);background:var(--white);font-size:var(--text-base)}
.tk-cote__l{margin-bottom:var(--space-4,1rem)}
.tk-segs{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.tk-segs button{font:inherit;font-size:var(--text-sm);padding:3px 8px;border:1px solid var(--line);border-radius:4px;background:var(--white);color:var(--body);cursor:pointer}
.tk-segs button.is-on{background:var(--teal);border-color:var(--teal);color:var(--white)}
.tk-cote dl{margin:0 0 var(--space-4,1rem);font-size:var(--text-sm)}
.tk-cote dt{color:var(--muted);font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.06em;margin-top:.5rem}
.tk-cote dd{margin:0;font-family:var(--mono);overflow-wrap:anywhere}
@container (max-width:760px){.tk-grille{grid-template-columns:1fr}.tk-cote{position:static}}
@media (max-width:760px){.tk-grille{grid-template-columns:1fr}.tk-cote{position:static}}

/* 9/10/2026 : séparateurs du volet entre dossiers, notifications et tickets (comme .jl-pli du volet du site) */
.cmc-sep{border-top:1px solid var(--line);margin:var(--space-2) 0 var(--space-1)}
.jl-rail--mini .cmc-sep{margin:var(--space-2) 6px}

/* 10/10/2026 : interrupteur d'urgence de la boîte — ligne de réglage avec un vrai interrupteur */
.tk-reglage{display:flex;align-items:center;gap:var(--space-4);background:var(--white);border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-3) var(--space-4);margin:0 0 var(--space-4)}
.tk-reglage.is-on{border-color:var(--warn);background:var(--warn-bg)}
.tk-reglage__ic{flex:none;width:34px;height:34px;border-radius:50%;border:1.5px solid var(--line);color:var(--muted);display:flex;align-items:center;justify-content:center}
.tk-reglage__ic svg{width:16px;height:16px}
.tk-reglage.is-on .tk-reglage__ic{border-color:var(--warn);color:var(--warn)}
.tk-reglage__t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tk-reglage__t b{font-size:var(--text-sm);color:var(--ink);font-weight:600}
.tk-reglage__t span{font-size:var(--text-xs);color:var(--muted)}
.tk-switch{position:relative;flex:none;width:38px;height:22px;cursor:pointer}
.tk-switch input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.tk-switch span{position:absolute;inset:0;border-radius:11px;background:var(--line);transition:background .15s}
.tk-switch span::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--white);box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s}
.tk-switch input:checked+span{background:var(--warn)}
.tk-switch input:checked+span::after{transform:translateX(16px)}
.tk-switch input:focus-visible+span{outline:2px solid var(--teal);outline-offset:2px}
/* 10/10 : lecteur de pièce jointe texte (inséré en texte brut, jamais interprété) */
.tk-txt{display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:100%}
.tk-txt .tk-doc{cursor:pointer;background:none;font:inherit;font-size:var(--text-sm)}
.tk-dl{color:var(--muted)}
.tk-lecteur{flex-basis:100%;margin:6px 0 0;max-height:360px;overflow:auto;padding:10px 12px;border:1px solid var(--line);
  border-radius:var(--radius-lg);background:var(--bg);font:var(--text-sm)/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;
  white-space:pre-wrap;overflow-wrap:anywhere}
.tk-via{font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-left:8px}
.tk-limites h3+p.tk-aide{margin-top:4px}
/* 10/10/2026 : un texte piégé (accents empilés, glyphes géants) ne déborde jamais de son bloc */
.tk-msg,.tk-l,.tk-lecteur,.tk-cible,.tk-extrait{overflow:hidden;overflow-wrap:anywhere}
.tk-msg__corps,.tk-l__titre,.tk-hd h1,.tk-hd{overflow:hidden;overflow-wrap:anywhere;word-break:break-word}
/* 10/10/2026 : le bouton « Nouveau ticket » ne colle plus au bloc vide, qui respire */
.tk-grille--l>div>p:has(>[data-tk="nouveau"]){margin:0 0 var(--space-5)}
.tk-vide{padding:var(--space-7) var(--space-6);line-height:1.6}
/* 10/10/2026 : l'étiquette qu'on glisse vers un sous-dossier (au lieu de la carte entière) */
.cmc-glisse-etiquette{position:fixed;top:-200px;left:-200px;max-width:280px;padding:7px 12px;border-radius:999px;
  background:var(--teal);color:#fff;font:600 13px/1.3 var(--sans,system-ui);white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;box-shadow:0 4px 14px rgba(0,0,0,.25)}
/* 10/10/2026 : fil d'Ariane du ticket ouvert (typographie de .page-subbar .crumb) */
.tk-ariane{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 var(--space-4);font-size:.75rem;
  text-transform:uppercase;letter-spacing:.12em;font-weight:600;color:var(--muted)}
.tk-ariane a{color:var(--muted);text-decoration:none}
.tk-ariane a:hover{color:var(--teal)}
.tk-ariane [aria-current]{color:var(--ink)}
/* 10/10/2026 : barre du fil d'Ariane, comme .page-subbar des pages du site */
.cmc-subbar{background:var(--white);border-bottom:1px solid var(--line);padding-top:.85rem;padding-bottom:.85rem;padding-right:2.5rem;
  position:sticky;top:var(--topbar-h,57px);z-index:50}
.cmc-subbar .tk-ariane{margin:0}

/* 13/11/2026 : « Skills & consignes pour votre IA » — maquette C2 v12 validée (jl-wt-consignes-refonte-1311/maquettes/C2.css),
   valeurs FINALES seulement, portée .kc. Variables du site (clair et sombre). */
.kc .k-onglets{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:12px 0 14px}
.kc .k-onglets button{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;margin-bottom:-1px;font:inherit;font-size:var(--text-base);color:var(--muted);background:none;border:0;border-bottom:2px solid transparent;cursor:pointer}
.kc .k-onglets button[aria-selected=true]{color:var(--ink);font-weight:600;border-bottom-color:var(--teal)}
.kc .k-onglets .jl-pastille-att{margin-left:2px}
.kc .k-sous2{font-size:var(--text-sm);color:var(--muted);margin:0 0 10px}
.kc .k-g{display:grid;grid-template-columns:250px 1fr;gap:var(--space-3);align-items:start}
.kc .k-liste{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.kc .k-liste button{display:flex;width:100%;align-items:center;gap:6px;padding:7px 12px;border:0;border-top:1px solid var(--line);background:none;color:var(--ink);font:inherit;font-size:var(--text-sm);text-align:left;line-height:1.3;cursor:pointer}
.kc .k-liste button:first-child{border-top:0}
.kc .k-liste .k-n{flex:1;min-width:0}
.kc .k-liste small{color:var(--muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums}
.kc .k-liste button.is-on{background:var(--teal-xl);box-shadow:inset 3px 0 0 var(--teal);font-weight:600}
.kc .k-liste button.k-plus{color:var(--teal)}
.kc .k-liste small.k-prop-l{color:var(--warn);font-weight:600}
.kc .k-liste small.k-tous{color:var(--teal);font-weight:600}
/* 13/11/2026 (listecons) : groupe « Propres à un dossier » ; étiquette = nom du dossier */
.kc .k-liste .k-grp{margin:0;padding:8px 12px 4px;border-top:1px solid var(--line);font-size:var(--text-xs);font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.kc .k-liste small.k-dos{max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:1px 6px;border:1px solid var(--line);border-radius:999px;color:var(--ink-2,var(--muted))}
.kc .k-dos-l{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin:0 0 var(--space-2)}
/* 13/11/2026 (etiq) : nom du dossier à gauche (« … » si trop long), bouton aligné à droite ; « Nouvelle consigne » en pied de liste */
.kc .k-dos-l{flex-wrap:nowrap;justify-content:space-between}
.kc .k-dos-l>span{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kc .k-dos-l>.k-b{flex:none;margin-left:auto}
.kc .k-liste .k-liste__pied{padding:10px 12px;border-top:1px solid var(--line)}
.kc .k-liste .k-liste__pied button.k-nouv{display:inline-flex;width:auto;gap:8px;padding:5px 12px 5px 6px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--white);color:var(--ink);font-weight:500}
.kc .k-liste .k-liste__pied button.k-nouv:hover{border-color:var(--teal)}
.kc .k-liste .k-liste__pied .jl-rond-plus{width:20px;height:20px}
.kc .k-liste .k-liste__pied .jl-rond-plus .jl-ico{width:12px;height:12px}
.kc .k-liste button.is-on small.k-tous{color:var(--teal-l)}
.kc .k-liste .k-nvx{font-size:var(--text-xs);color:var(--muted)}
.kc .k-liste button.is-on .k-nvx{font-weight:400}
.kc .k-liste button.is-nulle .k-n,.kc .k-liste button.is-nulle small{color:var(--muted);opacity:.6}
.kc .k-liste .k-res{display:block;font-size:var(--text-xs);color:var(--muted);font-weight:400;margin-top:1px}
.kc .k-liste button.is-arch .k-n,.kc .k-liste button.is-arch .k-res{color:var(--muted);opacity:.6}
.kc .k-cpt{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;border:1px solid var(--muted);background:transparent;color:var(--muted);font-size:var(--text-3xs);font-weight:600;line-height:1;font-variant-numeric:tabular-nums;flex:none;box-sizing:border-box}
.kc .k-pan{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:12px 14px;min-width:0}
.kc .k-pan__hd{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.kc .k-pan__hd b{font-size:var(--text-md);font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.kc .k-pan__hd small{font-size:var(--text-xs);color:var(--muted)}
.kc .k-pan__hd .k-acts{margin-left:auto}
.kc .k-pan__pied{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.kc .k-b{display:inline-flex;align-items:center;font:inherit;font-size:var(--text-sm);font-weight:500;border-radius:var(--radius-md);padding:5px 10px;cursor:pointer;border:1px solid var(--line);background:var(--white);color:var(--ink);white-space:nowrap}
.kc .k-b--p{background:var(--teal);border-color:var(--teal);color:#fff}
.kc .k-b--rouge{color:var(--bad);border-color:var(--bad);background:var(--white)}
.kc .k-acts{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.kc .k-cq{margin:0;padding:8px 12px 9px 14px;background:var(--white);border:1px solid var(--line);border-left:3px solid var(--teal);border-radius:var(--radius-md)}
.kc .k-cq__l{display:block;font-size:var(--text-xs);font-weight:600;color:var(--teal);margin-bottom:2px}
.kc .k-cq__t{margin:0;font-size:var(--text-base);line-height:1.45;color:var(--ink);white-space:pre-line}
.kc .k-cq--ia{background:var(--warn-bg);border-left-color:var(--warn)}
.kc .k-cq--ia .k-cq__l{color:var(--warn)}
.kc .k-cq + .k-cq{margin-top:8px}
.kc .k-st{font-size:var(--text-xs);font-weight:600;color:var(--muted);margin:12px 0 4px}
.kc .k-st--b{display:flex;align-items:center;gap:8px}
.kc .k-st--b .k-b{margin-left:auto;font-size:var(--text-xs);padding:3px 8px;font-weight:500;color:var(--ink)}
.kc .k-vide{font-size:var(--text-xs);color:var(--muted);margin:6px 0 0}
.kc .k-tg{list-style:none;margin:0;padding:0}
.kc .k-tg li{display:flex;align-items:flex-start;gap:16px;padding:7px 0;border-top:1px solid var(--line);font-size:var(--text-sm);color:var(--ink)}
.kc .k-tg li:first-child{border-top:0}
.kc .k-tg li:last-child{padding-bottom:16px}
.kc .k-tg li span{flex:1;overflow-wrap:anywhere;line-height:1.4}
.kc .k-tg .jl-interrupteur{padding:0;margin-top:1px}
.kc .k-nvx-case{position:relative;display:flex;align-items:center;gap:8px;margin:0;padding-top:16px;font-size:var(--text-sm);color:var(--ink);cursor:pointer}
.kc .k-nvx-case::before{content:"";position:absolute;top:0;left:30%;width:40%;border-top:1px solid var(--line)}
.kc .k-nvx-case input{width:15px;height:15px;margin:0;accent-color:var(--teal)}
.kc .k-valid{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;padding:8px 10px;background:var(--warn-bg);border-left:3px solid var(--warn);border-radius:var(--radius-md);font-size:var(--text-sm);color:var(--ink)}
.kc .k-valid span{flex:1;min-width:180px}
.kc .k-valid .k-acts{flex-wrap:nowrap}
.kc .k-champ{display:block;font-size:var(--text-xs);font-weight:600;color:var(--muted);margin:10px 0 4px}
.kc .k-in{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:var(--text-sm);color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:var(--radius-md);padding:6px 10px}
.kc .k-aide2{font-size:var(--text-xs);color:var(--muted);margin:3px 0 0}
.kc .k-note{font-size:var(--text-xs);color:var(--muted);margin:-4px 0 10px}
.kc .k-ed{border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden}
.kc .k-ed__bar{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--cream);border-bottom:1px solid var(--line);font-size:var(--text-xs);color:var(--muted)}
.kc .k-ed__bar .k-b{margin-left:auto;font-size:var(--text-xs);padding:3px 8px}
.kc .k-ed textarea{display:block;width:100%;box-sizing:border-box;height:230px;border:0;resize:vertical;padding:10px 12px;background:var(--white);color:var(--ink);font-family:var(--font-mono);font-size:var(--text-sm);line-height:1.55}
.kc .k-compte{font-size:var(--text-xs);color:var(--muted);text-align:right;margin:3px 0 0;font-variant-numeric:tabular-nums}
.kc .k-compte.is-trop{color:var(--bad);font-weight:600}
.kc .k-in:focus,.kc .k-ed textarea:focus{outline:2px solid var(--teal-xl);border-color:var(--teal)}
.kc .k-aucun{margin-top:var(--space-5)}
@media (max-width:760px){.kc .k-g{grid-template-columns:1fr}}

/* 13/11/2026 : flèche ▸/▾ du dossier ouvert (place réservée sur tous les dossiers, titres alignés) + menu ⋮ du dossier élargi */
.cma-dos__fl{flex:0 0 12px;width:12px;margin-right:2px;font-size:10px;line-height:1.6;color:var(--muted);text-align:center}
.jl-ri.is-on .cma-dos__fl{color:var(--ink)}
.cmc-menu-dos{min-width:210px}
/* 13/11/2026 : le volet est une colonne flex à défilement ; l'arbre (overflow:hidden pour l'animation) y était COMPRIMÉ
   quand la liste dépasse la hauteur de l'écran, et sa dernière ligne (« + Sous-dossier ») disparaissait. */
.jl-rail .cmc-arbre{flex-shrink:0}
.jl-rail .cmc-arbre:not(.is-replie){max-height:none}   /* l'ancien plafond (900 px) coupait au-delà d'environ 25 sous-dossiers */
/* bouton « + Sous-dossier » à côté des compteurs du dossier */
.cmc-stats-l{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2)}
.cmc-stats-l .cmc-stats__plus{margin-top:var(--space-3)}
.cmc-stats__plus{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:var(--text-xs);color:var(--muted);background:none;
  border:1px solid var(--line);border-radius:var(--radius-lg);padding:3px 10px;cursor:pointer}
.cmc-stats__plus .jl-ico{width:14px;height:14px}
.cmc-stats__plus:hover{color:var(--teal);border-color:var(--teal)}
.cmc-stats__plus:focus-visible{outline:2px solid var(--teal);outline-offset:1px}

/* 13/11/2026 — carte en contexte « signet » (CM.carte) : ruban en haut à droite, ligne « aussi dans … ».
   Tout est sous .cm-el--signet : la carte d'un dossier ne change pas. */
.cm-el--signet{position:relative}
.cm-el--signet .cm-el__tete{padding-right:56px}
.cm-ruban{background:none;border:0;padding:0;cursor:pointer;color:var(--muted);display:inline-flex;position:absolute;top:14px;right:44px;z-index:3}
.cm-ruban.is-on{color:var(--teal)}
.cm-ruban:hover{color:var(--teal)}
.cm-el--signet .cmc-prov{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.cm-aussi{font-size:var(--text-xs);color:var(--muted);display:inline-flex;align-items:center;gap:6px}
.cm-aussi .jl-ico{width:14px;height:14px;flex:none}

/* ═══ 13/11/2026 (étape 3) : Signets / Notes (v2/mon-compte.signets.js) ═══ */
.sg-onglets{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:0 0 12px}
.sg-onglet{padding:8px 14px;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent;font-size:var(--text-sm)}
.sg-onglet.is-on{color:var(--ink);border-bottom-color:var(--teal);font-weight:600}
.sg-n{color:var(--muted);font-weight:400}
.sg-alerte{color:var(--warn);font-size:var(--text-xs);font-weight:600;white-space:nowrap}
.sg-filtres{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 14px;font-size:var(--text-sm)}
.sg-f{background:none;border:0;padding:2px 0;color:var(--muted);cursor:pointer;font:inherit}
.sg-f.is-on{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.sg-f__sep{color:var(--line)}
.sg-coche{display:inline-flex;align-items:center;gap:6px;margin-left:12px;color:var(--body)}
.sg-liste{display:flex;flex-direction:column;gap:12px}
.sg-groupe{border:1px solid var(--line);border-left:3px solid var(--line);border-radius:var(--radius-lg);padding:10px 14px;margin:0 0 12px;background:var(--white)}
.sg-groupe--ok{border-left-color:var(--green)}
.sg-groupe--warn{border-left-color:var(--warn)}
.sg-groupe--bad{border-left-color:var(--bad)}
.sg-groupe__hd{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.sg-groupe__hd h3{margin:0;font-size:var(--text-base)}
.sg-groupe .cm-ruban{position:static}
.sg-note{border-left:3px solid transparent;padding-left:10px}
.sg-note--ok{border-left-color:var(--green)}
.sg-note--warn{border-left-color:var(--warn)}
.sg-note--bad{border-left-color:var(--bad)}
.sg-note__etat{display:flex;align-items:center;gap:6px;margin:0 0 4px;font-size:var(--text-xs);font-weight:600}
.sg-note--warn .sg-note__etat{color:var(--warn)}
.sg-note--bad .sg-note__etat{color:var(--bad)}
.sg-note__etat .jl-ico{width:14px;height:14px}
.sg-note__ecart{margin:0 0 4px;font-size:var(--text-xs);color:var(--muted);font-style:italic}
.sg-dlg-liste{margin:0 0 10px;padding:0;list-style:none}
.sg-dlg-liste li{display:flex;align-items:center;gap:6px;padding:3px 0;font-weight:600}
.sg-dlg-liste .jl-ico{width:16px;height:16px;color:var(--teal)}

/* 13/11/2026 (étape 3) : « En une ligne » (sous-titre du dossier) */
.cm-une-ligne{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.cma-dos__t{min-width:0}
.cma-dos__sous{display:block;font-size:var(--text-xs);color:var(--muted);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmc-fe__aide{font-size:var(--text-xs);color:var(--muted);margin:2px 0 6px}
.cmc-fe__compte{font-size:var(--text-xs);color:var(--muted);text-align:right;margin:2px 0 var(--space-3,12px)}
/* 13/11/2026 (étape 5) : désépingler (cases), onglet Notes et dossiers */
.sg-note__desep{margin:6px 0 0}
.sg-desep label,.cm-desep label{display:block;margin:4px 0}
.sg-desep__d{padding-left:22px}

/* ═══ 13/11/2026 (volet3) : même bloc que CSS_VOLET3 de jl.js (injecté sur les autres pages), .jl-v3 → .cma-rail ═══ */
html .jl-rail.cma-rail{overflow:hidden}
html .jl-rail.cma-rail>.jl-rail__hd,html .jl-rail.cma-rail>.jl-rail__bas{flex:none}
html .jl-rail.cma-rail>.jl-rail__bas{margin-top:0}
html .jl-rail.cma-rail>.jl-rail__mil,html .jl-rail.cma-rail.jl-rail--ouvert>.jl-rail__mil{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:1px;margin:0 calc(-1 * var(--space-2));padding:0 var(--space-2) var(--space-2)}
.jl-rail__mil.is-defile{box-shadow:inset 0 8px 8px -8px rgba(0,0,0,.15)}
.jl-rail__mil>*{flex-shrink:0}
.jl-rail__mil>.jl-spacer{flex:1 1 auto}
.jl-v3-site>summary,.jl-pli>summary.jl-v3-hd{list-style:none;cursor:pointer;display:flex;align-items:center;gap:var(--space-2)}
.jl-v3-site>summary::-webkit-details-marker{display:none}
.jl-pli>summary.jl-v3-hd::after,.jl-v3-site>summary::after{display:none!important;content:none!important}
.jl-v3-chev{display:inline-flex;color:var(--muted);flex:none;margin-left:auto}
.jl-v3-plus+.jl-v3-chev{margin-left:0}
.jl-v3-chev svg{transform:rotate(180deg);transition:transform .2s ease}
details:not([open])>summary .jl-v3-chev svg,.jl-v3-hd.is-ferme .jl-v3-chev svg{transform:none}
.jl-v3-plus{margin-left:auto;background:none;border:0;cursor:pointer;color:var(--muted);width:20px;height:20px;border-radius:5px;display:grid;place-items:center;padding:0;position:relative;flex:none}
.jl-v3-plus:hover,.jl-v3-plus:focus-visible{background:var(--line);color:var(--ink)}
.jl-v3-plus svg{width:13px;height:13px}
.jl-v3-plus:hover::after,.jl-v3-plus:focus-visible::after{content:"Nouveau dossier";position:absolute;top:24px;right:-4px;white-space:nowrap;background:var(--ink);color:var(--white);font:400 var(--text-xs) var(--font-sans);letter-spacing:0;text-transform:none;padding:3px 8px;border-radius:6px;z-index:5}
.jl-v3-cherche{display:none;position:relative;margin:4px var(--space-2)}
.jl-v3-cherche.is-vue{display:block}
.jl-v3-cherche svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--muted);width:14px;height:14px}
.jl-v3-cherche input{width:100%;box-sizing:border-box;font:inherit;font-size:var(--text-sm);color:var(--ink);background:var(--cream);border:1px solid var(--line);border-radius:var(--radius-lg);padding:7px 10px 7px 30px}
.jl-v3-cherche input:focus{outline:2px solid var(--teal-xl);border-color:var(--teal)}
.jl-rail--mini .jl-v3-site>summary,.jl-rail--mini .jl-v3-plus,.jl-rail--mini .jl-v3-chev,.jl-rail--mini .jl-v3-cherche{display:none}
@media (max-width:900px){.jl-rail:not(.jl-rail--ouvert) .jl-v3-site>summary{display:none}}
details[data-anime]>.pli-c{transition:none}
details[data-anime]>.pli-c.pli-anim,.pli-c.pli-anim{display:grid;grid-template-rows:1fr;opacity:1;transform:none;transition:grid-template-rows .22s ease,opacity .22s ease,transform .22s ease}
.pli-c.pli-anim>.pli-i{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:1px}
details[data-anime]>.pli-c.pli-anim.is-ferme,.pli-c.pli-anim.is-ferme{grid-template-rows:0fr;opacity:.25;transform:translateY(-4px)}
@media (prefers-reduced-motion:reduce){.pli-c.pli-anim{transition:none}.jl-v3-chev svg{transition:none}}
/* Mon compte : chevron fin à la place de l'ancien ::after ; dossiers alignés comme le volet du site (aucune
   icône ni flèche devant), sous-titres coupés avec « … ». */
.cma-site summary::after{display:none!important;content:none!important}
.cmc-sec-dos.jl-v3-hd{cursor:pointer;user-select:none}
.cmc-sec-dos.jl-v3-hd:focus-visible{outline:2px solid var(--teal);outline-offset:-2px;border-radius:6px}
.cmc-dos-liste{display:flex;flex-direction:column;gap:1px}
.cmc-dos-liste[hidden]{display:none}
.cma-dos__t{flex:1 1 auto;min-width:0;overflow:hidden}
.cma-dos__t b,.cma-dos__t .cma-dos__sous{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jl-rail--mini .cmc-sec-dos .jl-v3-t:last-of-type{display:none}

/* 13/11/2026 (correctif signets) : page Signets conforme à la maquette validée (signets.html) —
   onglets .jl-onglets sous l'en-tête, pastilles .cmc-stat avec compteur, « Dans un dossier » / « Écartées » à droite. */
#t-signets:checked~.jl-onglets label[for=t-signets],#t-notes:checked~.jl-onglets label[for=t-notes]{color:var(--teal);border-bottom-color:var(--teal)}
.sg-tete{flex:1;min-width:0;max-width:none}
.sg-filtres2{display:flex;flex-wrap:nowrap;width:100%;box-sizing:border-box;align-items:center;gap:var(--space-3);margin-top:var(--space-3);margin-bottom:var(--space-7)}
.sg-filtres2 .cmc-stats{margin-top:0;flex:0 1 auto;min-width:0}
.sg-sep{flex:1 1 auto;min-width:var(--space-3)}
.sg-dans{display:inline-flex;align-items:center;gap:6px;flex:none;white-space:nowrap;font:inherit;font-size:var(--text-xs);color:var(--muted);background:none;border:1px dashed var(--line);border-radius:999px;padding:2px 10px;cursor:pointer}
.sg-dans.is-on{border-style:solid;border-color:var(--teal);color:var(--teal);background:var(--teal-xl)}
.sg-onglets2 .sg-alerte{margin-left:6px}
.cm-el--signet .cmc-prov{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.cm-notes.sg-notes--ok .cm-note{border-left:3px solid var(--green)}
.cm-notes.sg-notes--warn .cm-note{border-left:3px solid var(--warn)}
.cm-notes.sg-notes--bad .cm-note{border-left:3px solid var(--bad)}
.cm-notes>.sg-note__etat{border:0;padding:0}
.sg-note__etat.sg-note--warn{color:var(--warn)}
.sg-note__etat.sg-note--bad{color:var(--bad)}
@media (max-width:760px){.sg-filtres2{flex-wrap:wrap}.sg-sep{display:none}}

/* 13/11/2026 : cases à cocher et boutons radio de l'espace compte à la couleur du site (clair et sombre via --teal) */
input[type=checkbox],input[type=radio]{accent-color:var(--teal)}
/* « aussi dans … » en dernière ligne de la carte */
.cmc-aussi-l{margin:var(--space-2,8px) 0 0;font-size:inherit}
/* 13/11/2026 : survol du ruban de signet. Plein → creux à contour rouge épais (« Retirer des signets ») ;
   creux → plein vert (« Mettre en signet »). Les bulles sont les title déjà posés. */
.cm-ruban svg path{transition:fill .15s ease,stroke .15s ease,stroke-width .15s ease}
.cm-ruban:not(.is-on):hover,.cm-ruban:not(.is-on):focus-visible{color:var(--teal)}
.cm-ruban:not(.is-on):hover svg path,.cm-ruban:not(.is-on):focus-visible svg path{fill:var(--teal);stroke:var(--teal)}
.cm-ruban.is-on:hover,.cm-ruban.is-on:focus-visible{color:var(--bad)}
.cm-ruban.is-on:hover svg path,.cm-ruban.is-on:focus-visible svg path{fill:none;stroke:var(--bad);stroke-width:2.6px}
@media (prefers-reduced-motion:reduce){.cm-ruban svg path{transition:none}}

/* 13/11/2026 : interrupteurs — glissement doux de la pastille (transform) et du fond, pour TOUS les .jl-interrupteur
   des pages qui chargent mon-compte.css (jl.css non touché : copies PL / al-uzza différentes). */
.jl-interrupteur i{transition:background-color .18s ease}
.jl-interrupteur i::after{left:2px;transition:transform .18s ease}
.jl-interrupteur[aria-pressed=true] i::after{left:2px;transform:translateX(13px)}
@media (prefers-reduced-motion: reduce){.jl-interrupteur i,.jl-interrupteur i::after{transition:none}}
/* « Aucune consigne pour tout le compte » : le reste de l'onglet Consignes grisé et inerte */
.kc .k-g.is-off{opacity:.45;pointer-events:none;filter:grayscale(.4)}
.kc .k-off-note{margin:0 0 var(--space-3);color:var(--muted);font-size:.92em}
/* 13/11/2026 : « Appliquée dans aucun dossier pour l’instant. » centrée sous la liste, même espacement dessus/dessous */
.kc .k-tg + .k-vide{text-align:center;margin:var(--space-3) auto;padding:var(--space-2) 0}

/* 13/11/2026 (lot props) : propositions de l'IA en tête des onglets Consignes / Skills */
.k-props{border:1px solid var(--warn);background:var(--warn-bg);border-radius:var(--radius,10px);padding:var(--space-3) var(--space-4);margin:0 0 var(--space-4)}
.k-props__t{display:flex;align-items:center;gap:8px;margin:0 0 var(--space-2);font-size:1rem;color:var(--ink)}
.k-prop{padding:var(--space-3) 0;border-top:1px solid var(--line)}
.k-prop:first-of-type{border-top:0}
.k-prop__hd{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.k-prop__hd small{color:var(--muted)}
.k-prop__r{margin:4px 0 0;color:var(--muted);font-style:italic}
.k-prop__t{margin:6px 0 var(--space-2);white-space:pre-line;color:var(--ink)}
.k-ou{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.k-ou legend{font-weight:600;margin-bottom:6px;color:var(--ink)}
.k-ou__l{display:flex;flex-direction:column;gap:6px;margin:2px 0 0 26px;max-height:40vh;overflow:auto}
.k-ou__l[hidden]{display:none}
/* bouton ✨ : un seul pivot quand une proposition attend (rien si mouvement réduit) */
@keyframes cmc-pivot{0%{transform:rotate(0)}30%{transform:rotate(-12deg)}70%{transform:rotate(12deg)}100%{transform:rotate(0)}}
.cmc-etin.is-pivot{animation:cmc-pivot .6s ease-in-out 1}
@media (prefers-reduced-motion:reduce){.cmc-etin.is-pivot{animation:none}}

/* 13/11/2026 (listecons) : fenêtre « Consignes et skills · ce dossier » — sections et pied distincts */
.skd-sec{margin-top:var(--space-5);padding-top:var(--space-4);border-top:2px solid var(--line)}
.skd-aide{font-size:var(--text-xs);color:var(--muted);line-height:1.45;margin:0 0 var(--space-3)}
.skd-liste{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:var(--radius-lg)}
.skd-liste li{display:flex;flex-direction:column;gap:2px;padding:var(--space-3);border-top:1px solid var(--line)}
.skd-liste li:first-child{border-top:0}
.skd-liste li b{color:var(--ink);font-weight:600}
.skd-liste li span{color:var(--muted);font-size:var(--text-sm)}
.skd-pied{display:flex;gap:var(--space-2);align-items:flex-start;margin:var(--space-5) 0 0;padding-top:var(--space-3);border-top:1px solid var(--line);font-size:var(--text-xs);color:var(--muted);line-height:1.45}
.skd-pied svg{flex:none;margin-top:1px}

/* 14/11/2026 (audit3) — téléphone : « · écrite dans « … » » passe à la ligne au lieu d'élargir la page ;
   le rond ≡ du volet (44 px sous la barre, jl.css) ne recouvre plus l'en-tête du dossier. */
@media (max-width:720px){.cm-note__meta{flex-wrap:wrap}.cm-origine{white-space:normal;overflow-wrap:anywhere}}
@media (max-width:600px){html .cma-rail+.jl-body{padding-top:64px}}
