/* ═════════════════════════════════════════════════════════════════════════════════════════
   LE NOUVEAU DESIGN (v2) — LE SOCLE (16/10/2026, nuit).
   Yoann, devant la maquette complète (le 15/10, 23 h 30) : « faut vraiment que tout fonctionne ; si tout fonctionne bien on migre demain ».
   COMMENT, SANS RIEN CASSER : on HABILLE le CRM, on ne le réécrit pas. Tout ce fichier ne vaut que sous `html.v2` — l'interrupteur
   « nouveau design (essai) », éteint par défaut : ?design=v2 l'allume sur CE poste (gardé dans le navigateur), ?design=v1 l'éteint.
   Tant qu'il est éteint, rien ne change pour personne. Aucun bouton, aucun clic, aucun calcul ne bouge : de la PRÉSENTATION.
   La même voie que « L'Épuré » (docs/epure.css, écran par écran) : chargé APRÈS lui, il l'emporte à sélecteur égal.
   Les couleurs et les formes sont celles de la maquette validée (~/gescom-maquette-vraie, site/styles.css) :
     · le fond #F4F6F3, les cartes blanches, un trait fin #E1E6E0, des coins de 12 px, PAS d'ombre ;
     · la barre de gauche vert nuit #0E2A1F, l'élément ouvert en vert plein #1F9D62 (plus de dégradé ni d'ombre) ;
     · le vert de la marque #0B6E47 pour l'action principale ; les couleurs d'ALERTE ne bougent pas.
   Étape 1 (ce fichier) : le fond, la barre de gauche, les titres, les boutons, les cartes, les tableaux, les fenêtres.
   Les écrans suivent, un par un, chacun avec son contrôle : la liste des gestes (tests/gestes-inventaire.test.js) reste entière.
   ═════════════════════════════════════════════════════════════════════════════════════════ */
html.v2 {
  --v2-fond: #F4F6F3; --v2-surface: #FFFFFF; --v2-trait: #E1E6E0; --v2-trait-2: #ECEFEB;
  --v2-texte: #17211B; --v2-texte-2: #4F5B54; --v2-texte-3: #5F6B64;   /* 17/10 : #5F6B64 (4,05:1) trop pâle pour le texte — 5,1:1 */
  --v2-vert: #0B6E47; --v2-vert-f: #08583A; --v2-vert-c: #E3F1EA; --v2-vert-vif: #1F9D62;
  --v2-cote: #0E2A1F; --v2-cote-2: #173B2C; --v2-cote-texte: #D3E2D9;
  --v2-r: 12px; --v2-r-p: 8px;
}
html.v2 body { background: var(--v2-fond); color: var(--v2-texte); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* ── La barre de gauche ─────────────────────────────────────────────────────────────────────── */
html.v2 aside.sidebar { background: var(--v2-cote); box-shadow: none; }
html.v2 .sidebar-head { border-bottom-color: rgba(255, 255, 255, .07); }
html.v2 .sidebar-head .logo-mark { background: var(--v2-vert); box-shadow: none; border-radius: 10px; }
html.v2 nav.menu a { color: var(--v2-cote-texte); border-radius: var(--v2-r-p); font-size: 14px; padding: 8px 12px; margin-bottom: 2px; min-height: 36px; transition: background .12s; }
html.v2 nav.menu a:hover { background: var(--v2-cote-2); color: #fff; }
html.v2 nav.menu a.active { background: #15803D; box-shadow: none; color: #fff; }   /* 17/10 : blanc sur #1F9D62 = 3,47:1, trop pâle ; #15803D = 5:1 */
html.v2 nav.menu a .count { background: rgba(255, 255, 255, .14); border-radius: 10px; }
html.v2 nav.menu .nav-groupe { border-left-color: rgba(255, 255, 255, .12); }
html.v2 .sidebar-foot { border-top-color: rgba(255, 255, 255, .07); }

/* ── Les titres d'écran ─────────────────────────────────────────────────────────────────────── */
html.v2 .page-head h1 { font-size: 22px; color: var(--v2-texte); }
html.v2 .page-head .sub { color: var(--v2-texte-2); font-size: 13.5px; }

/* ── Les boutons : le vert plat pour l'action principale, le blanc à trait fin pour les autres ──── */
html.v2 .btn { border-radius: var(--v2-r-p); border-color: var(--v2-trait); background: #fff; color: var(--v2-texte); font-weight: 600; box-shadow: none; }
html.v2 .btn:hover { background: #F5F8F4; border-color: #CCD4CB; }
html.v2 .btn-primary { background: var(--v2-vert); border-color: var(--v2-vert); color: #fff; box-shadow: none; }
html.v2 .btn-primary:hover { background: var(--v2-vert-f); border-color: var(--v2-vert-f); }

/* ── Les cartes : blanches, un trait fin, des coins de 12 px, sans ombre ───────────────────────── */
html.v2 .kpi, html.v2 .sync-card { background: var(--v2-surface); border-color: var(--v2-trait); border-radius: var(--v2-r); box-shadow: none; }
html.v2 .badge { border-radius: 999px; }

/* ── Les tableaux ───────────────────────────────────────────────────────────────────────────── */
html.v2 table.tx th, html.v2 table.dt th { background: #F7F9F7; color: var(--v2-texte-3); }
html.v2 table.tx th, html.v2 table.tx td { border-bottom-color: var(--v2-trait-2); }

/* ── Les fenêtres ───────────────────────────────────────────────────────────────────────────── */
html.v2 .modal { border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 20, .18); }
html.v2 .modal-header { border-bottom-color: var(--v2-trait-2); }

/* ── 2e couche (16/10/2026, après la comparaison côte à côte) : la barre de gauche de la maquette ─────────────────────────────── */
/* Les icônes du menu : les dessins au trait de la maquette (ses symboles i-…), à la place des emojis — la feuille seule, le HTML ne bouge pas.
   Une image claire, une blanche pour l'entrée ouverte ou survolée (une image, pas un masque : lue partout, captures comprises). */
html.v2 nav.menu a .ic { font-size: 0; width: 18px; height: 18px; flex: none; display: inline-block; background: var(--ic) center / 18px 18px no-repeat; }
html.v2 nav.menu a:hover .ic, html.v2 nav.menu a.active .ic { background-image: var(--ic-b); }
html.v2 nav.menu a { gap: 11px; font-weight: 500; }
html.v2 nav.menu a#nav-simulateur .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.4 2.4 0 0 1 0-3.4l2.6-2.6a2.4 2.4 0 0 1 3.4 0Z'/%3E%3Cpath d='m14.5 12.5 2-2M11.5 9.5l2-2M8.5 6.5l2-2M17.5 15.5l2-2'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.4 2.4 0 0 1 0-3.4l2.6-2.6a2.4 2.4 0 0 1 3.4 0Z'/%3E%3Cpath d='m14.5 12.5 2-2M11.5 9.5l2-2M8.5 6.5l2-2M17.5 15.5l2-2'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="dashboard"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='9' x='3' y='3' rx='1.5'/%3E%3Crect width='7' height='5' x='14' y='3' rx='1.5'/%3E%3Crect width='7' height='9' x='14' y='12' rx='1.5'/%3E%3Crect width='7' height='5' x='3' y='16' rx='1.5'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='9' x='3' y='3' rx='1.5'/%3E%3Crect width='7' height='5' x='14' y='3' rx='1.5'/%3E%3Crect width='7' height='9' x='14' y='12' rx='1.5'/%3E%3Crect width='7' height='5' x='3' y='16' rx='1.5'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="missions"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.7-.9l-.8-1.2A2 2 0 0 0 7.9 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.7-.9l-.8-1.2A2 2 0 0 0 7.9 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="signatures"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="discussions"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="homelior"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E"); }
html.v2 nav.menu a#nav-mandatmpr .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l2 2 4-4'/%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l2 2 4-4'/%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="plateau"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-2a9 9 0 0 1 18 0v2'/%3E%3Cpath d='M21 15a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h3zM3 15a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H3z'/%3E%3Cpath d='M19 17v1a3 3 0 0 1-3 3h-3'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-2a9 9 0 0 1 18 0v2'/%3E%3Cpath d='M21 15a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h3zM3 15a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H3z'/%3E%3Cpath d='M19 17v1a3 3 0 0 1-3 3h-3'/%3E%3C/svg%3E"); }
html.v2 nav.menu a#nav-plateau .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-2a9 9 0 0 1 18 0v2'/%3E%3Cpath d='M21 15a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h3zM3 15a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H3z'/%3E%3Cpath d='M19 17v1a3 3 0 0 1-3 3h-3'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-2a9 9 0 0 1 18 0v2'/%3E%3Cpath d='M21 15a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h3zM3 15a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H3z'/%3E%3Cpath d='M19 17v1a3 3 0 0 1-3 3h-3'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="planning"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
/* « 📁 Mes dossiers » du télépro (12/11/2026) : le dossier, comme « Dossiers ». */
html.v2 nav.menu a[data-view="mesdossiers"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.7-.9l-.8-1.2A2 2 0 0 0 7.9 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.7-.9l-.8-1.2A2 2 0 0 0 7.9 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="pose"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m10.7 12.3 9.3-9.3M16 7l3 3M14 9l2 2'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m10.7 12.3 9.3-9.3M16 7l3 3M14 9l2 2'/%3E%3C/svg%3E"); }
html.v2 nav.menu a#nav-vuepose .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='20' x='5' y='2' rx='2'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='20' x='5' y='2' rx='2'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E"); }
html.v2 nav.menu a#nav-monequipe .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
html.v2 nav.menu a#nav-reglages .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.8-3.8a6 6 0 0 1-7.9 7.9l-6.9 6.9a2.1 2.1 0 0 1-3-3l6.9-6.9a6 6 0 0 1 7.9-7.9z'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.8-3.8a6 6 0 0 1-7.9 7.9l-6.9 6.9a2.1 2.1 0 0 1-3-3l6.9-6.9a6 6 0 0 1 7.9-7.9z'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="equipe"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="stock"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5Z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5Z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="rge"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='m8.5 14 -1.5 7 5-3 5 3-1.5-7'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='m8.5 14 -1.5 7 5-3 5 3-1.5-7'/%3E%3C/svg%3E"); }
html.v2 nav.menu a#nav-appels .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.9.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.9.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="acquisition"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 7a7 7 0 1 0 0 10M4 10h10M4 14h9'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 7a7 7 0 1 0 0 10M4 10h10M4 14h9'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="sync"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="financeurs"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10M19 21V10M9 21v-6M15 21v-6M12 3 3 8h18Z'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10M19 21V10M9 21v-6M15 21v-6M12 3 3 8h18Z'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-menu="sheet"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E"); }
html.v2 nav.menu a[data-view="comptabilite"] .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cpath d='M8 6h8M8 11h.01M12 11h.01M16 11h.01M8 15h.01M12 15h.01M16 15h.01M8 19h.01M12 19h8'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cpath d='M8 6h8M8 11h.01M12 11h.01M16 11h.01M8 15h.01M12 15h.01M16 15h.01M8 19h.01M12 19h8'/%3E%3C/svg%3E"); }
html.v2 nav.menu a#nav-apercu .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
html.v2 nav.menu a#nav-design-v2 .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E"); }
html.v2 nav.menu a#nav-nouveau-design .ic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E"); --ic-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E"); }
/* Les onglets d'opération (27/10/2026, signalement __eq__gmvr90jry18aa d'Anthony : « beaucoup plus harmonieux comme en dessous, là où il y a
   Tableau de bord, Dossiers, Alertes […] quand on a une barre qui est cliquée, qu'elle soit à l'intérieur, comme si elle était creusée […] un petit
   son, un retour haptique […] une sensation d'aimanter ») : plus de pastilles en vrac, des lignes pleine largeur comme le menu dessous (même
   hauteur, mêmes coins, le nombre calé à droite dans sa bulle), rangées dans un bac un peu enfoncé ; l'onglet ouvert est CREUSÉ (ombre
   intérieure, fond plus sombre, un trait vert à gauche). Au toucher : la ligne s'enfonce ; à l'ouverture, elle « s'aimante » (op-aimant,
   posée par _opRetourTactile, avec la vibration et le petit son).
   L'ONGLET OUVERT EN GRAND, LES AUTRES EN ICÔNES (01/11/2026, signalement __eq__gmvxssipyyibd d'Anthony : « 1 en dessous de l'autre ça prend
   trop de place », puis, la grille à deux colonnes refusée : « fais-moi d'autres propositions ») : l'onglet ouvert reste une ligne creusée
   pleine largeur, en tête du bac (nom + nombre) ; les autres deviennent des cases de quatre par rang, l'icône et le nombre seuls, le nom au
   survol (title). Huit onglets : trois rangs au lieu de huit. Le creusé, le trait vert, l'enfoncement et l'aimant ne changent pas.
   AVEC LES NOMS (01/11/2026, même signalement, Anthony : « il faut la A mais avec les noms des rubriques ») : chaque case porte son nom sous
   l'icône (petit, sur deux lignes au plus : « ÉTUDE / MPR », « À / CLASSER »), et le nombre passe en pastille au coin de la case, comme sur une icône d'appli. Toujours trois rangs.
   DÉLIMITÉES, ET L'OUVERT EN COULEUR (01/11/2026, même signalement, Anthony : « Ok A mais avec des délimitations entre chaque onglet et quand
   on est sur un onglet ça doit se voir par de la couleur ») : chaque case a son cadre fin et un fond à peine plus clair (on voit où finit un
   onglet et où commence le suivant) ; l'onglet ouvert n'est plus seulement creusé dans le sombre : il est VERT (fond vert, cadre vert vif,
   nombre en blanc sur vert plus soutenu), on le repère d'un coup d'œil. */
html.v2 .op-selector { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin: 12px 12px 6px; padding: 4px; border-radius: 12px;
  background: rgba(0, 0, 0, .18); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), inset 0 -1px 0 rgba(255, 255, 255, .04); }
html.v2 .op-btn { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; gap: 4px; min-height: 56px; padding: 9px 2px 5px; justify-content: flex-start; border: 0; border-radius: var(--v2-r-p);
  background: transparent; color: var(--v2-cote-texte); font-size: 13.5px; font-weight: 500; line-height: 1.15; text-align: center; white-space: nowrap; overflow: hidden; box-shadow: none; position: relative;
  -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s, box-shadow .2s, transform .12s cubic-bezier(.3, 1.6, .5, 1); }
html.v2 .op-btn .op-ic { font-size: 17px; line-height: 1; }
html.v2 .op-btn .op-lab { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-width: 100%; overflow: hidden; white-space: normal; overflow-wrap: anywhere; font-size: 9.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
html.v2 .op-btn:not(.on) .op-morts { display: none; }
html.v2 .op-btn.on, html.v2 .op-selector > div .op-btn { grid-column: 1 / -1; order: -1; flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 34px; padding: 6px 10px; text-align: left; }
html.v2 .op-btn.on .op-ic { font-size: inherit; }
html.v2 .op-btn.on .op-lab, html.v2 .op-selector > div .op-btn .op-lab { display: inline; max-width: none; white-space: nowrap; text-overflow: ellipsis; font-size: inherit; letter-spacing: normal; line-height: inherit; }
html.v2 .op-btn:not(.on) { background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); }
html.v2 .op-btn:hover { background: var(--v2-cote-2); color: #fff; }
html.v2 .op-btn:active { transform: scale(.97); }
html.v2 .op-btn.on { background: linear-gradient(180deg, #15803D, #166534); color: #fff; font-weight: 600;
  box-shadow: inset 0 0 0 1px #4ADE80, inset 0 2px 5px rgba(0, 0, 0, .35), inset 4px 0 0 #86EFAC, 0 1px 0 rgba(255, 255, 255, .06); }
html.v2 .op-btn .op-n { position: absolute; top: 1px; right: 1px; margin-left: 0; background: rgba(255, 255, 255, .16); color: inherit; padding: 0 3px; border-radius: 8px;
  font-size: 9px; font-weight: 700; line-height: 13px; opacity: 1; }
html.v2 .op-btn.on .op-n, html.v2 .op-selector > div .op-btn .op-n { position: static; margin-left: auto; padding: 1px 8px; font-size: 12px; font-weight: 600; line-height: inherit; }
html.v2 .op-btn.on .op-n { background: #0B3D20; color: #fff; }
html.v2 .op-btn .op-morts { opacity: .65; }
html.v2 .op-btn.op-aimant { animation: v2-op-aimant .38s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes v2-op-aimant { 0% { transform: scale(.94); } 55% { transform: scale(1.025); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { html.v2 .op-btn, html.v2 .op-btn.op-aimant { transition: none; animation: none; } html.v2 .op-btn:active { transform: none; } }
/* Le sous-sélecteur des programmes B2B : des lignes, sur toute la largeur, en retrait sous l'onglet B2B. */
html.v2 .op-selector > div { grid-column: 1 / -1; order: -1; flex-direction: column; flex-wrap: nowrap !important; gap: 2px !important; margin: 2px 0 0 !important; padding-left: 14px !important; }

/* Le bas de la barre, comme la maquette : le nom en blanc, le rôle en vert pâle ; « Signaler un bug » et « Se déconnecter » en lignes
   simples (sans cadre), l'icône au trait du bug ; « ou une idée » et la flèche en moins (le titre du bouton le dit toujours). */
html.v2 .sidebar-foot { border-top-color: rgba(255, 255, 255, .07); }
html.v2 #user-block .ub-name { color: #fff; font-weight: 700; font-size: 13px; }
html.v2 #user-block .ub-role { color: #9DB8A8; font-size: 11.5px; margin-bottom: 6px; }
html.v2 #user-block .ub-retour { background: transparent; border: 0; box-shadow: none; padding: 7px 6px; margin: 0; width: 100%; display: flex; align-items: center; gap: 11px;
  color: #D3E2D9; border-radius: 8px; text-align: left; }
html.v2 #user-block .ub-retour:hover { background: rgba(255, 255, 255, .06); color: #fff; }
html.v2 #user-block .ub-retour .ub-retour-ic { font-size: 0; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9DACF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2l1.9 1.9M16 2l-1.9 1.9M9 7.1V6a3 3 0 1 1 6 0v1.1'/%3E%3Cpath d='M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6Z'/%3E%3Cpath d='M12 20v-9M6.5 13H3M21 13h-3.5M4 21l2.5-2.5M20 21l-2.5-2.5M4 5l2.5 2.5M20 5l-2.5 2.5'/%3E%3C/svg%3E") center / 18px 18px no-repeat; border: 0; box-shadow: none; }
html.v2 #user-block .ub-retour b { font-weight: 500; font-size: 13.5px; color: inherit; }
html.v2 #user-block .ub-retour small, html.v2 #user-block .ub-retour .ub-retour-fl { display: none; }
html.v2 #user-block .btn-logout { background: transparent; border: 0; box-shadow: none; color: #D3E2D9; text-align: left; padding: 7px 6px; width: 100%; font-weight: 500; font-size: 13.5px; border-radius: 8px; }
html.v2 #user-block .btn-logout:hover { background: rgba(255, 255, 255, .06); color: #fff; }
html.v2 .sidebar-foot #meta { color: #7E9A8A; }

/* ── DOSSIERS (16/10/2026, à côté de la maquette) ─────────────────────────────────────────────────────────────────────── */
/* La période : « Tout » en pastille foncée, les autres en blanc à trait fin. */
html.v2 .periode-barre { gap: 6px; }
html.v2 .periode-btn { background: #fff; border: 1px solid var(--v2-trait); color: var(--v2-texte); border-radius: 8px; font-weight: 600; box-shadow: none; }
html.v2 .periode-btn:hover { background: #F5F8F4; }
html.v2 .periode-btn.on { background: #17211B; color: #fff; border-color: #17211B; }
/* La portée (En cours / À venir / Tout) : un segment, l'ouvert en vert pâle. */
html.v2 .portee-toggle { border: 1px solid var(--v2-trait); border-radius: 9px; overflow: hidden; background: #fff; gap: 0; box-shadow: none; }
html.v2 .portee-toggle button { border: 0; border-radius: 0; background: #fff; box-shadow: none; color: var(--v2-texte); }
html.v2 .portee-toggle button + button { border-left: 1px solid var(--v2-trait); }
html.v2 .portee-toggle button.on { background: #E6F2EC; color: #0B5A3B; }
/* Les pastilles d'états et les boutons de la barre : blancs à trait fin, coins arrondis. */
html.v2 .dos-legende { background: #fff; border: 1px solid var(--v2-trait); border-radius: 999px; box-shadow: none; }
html.v2 .ptz-barre .btn, html.v2 .ptz-ligne .btn { border-radius: 8px; }
html.v2 #view-missions input.search { border: 1px solid var(--v2-trait); border-radius: 10px; background: #fff; }
/* Le tableau : chaque ligne garde la couleur de son état, adoucie (un voile blanc sur la case) ; un liseré plein à gauche. */
/* Les lignes : blanches, SANS COULEUR (16/10/2026, soir — Yoann : « toutes ces histoires de couleurs, ça fait plus mal à la tête qu'autre chose ») ;
   l'étape se lit dans sa pastille (vue essentielle), l'ordre des statuts range la liste. Le blanc est OPAQUE : les colonnes figées en ont besoin. */
html.v2 table.dt tbody tr.dr > td { background-color: #fff !important; background-image: none !important; border-bottom: 1px solid #ECEFEB; }
html.v2 table.dt tbody tr.dr:hover > td { background-color: #F6FAF7 !important; }
/* Une ligne COCHÉE se voit (l'ancien tableau peint la ligne, nos cellules sont opaques), et le trait bleu du glisser aussi (17/10, relecture). */
html.v2 table.dt tbody tr.dr.sel > td { background-color: #E8F1FF !important; }
html.v2 table.dt tbody tr.dr[data-depot="avant"] > td { box-shadow: inset 0 3px 0 0 #2563EB; }
html.v2 table.dt tbody tr.dr[data-depot="apres"] > td { box-shadow: inset 0 -3px 0 0 #2563EB; }
html.v2 table.dt thead th { background: #F7F9F7; color: #5F6B64; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; border-bottom: 1px solid #E1E6E0; }

/* ── ALERTES (16/10/2026, à côté de la maquette) ──────────────────────────────────────────────────────────────────────── */
/* Les cartes (leur style est écrit dans la page : on les reconnaît à leur liseré) : blanches, un trait fin, le liseré de couleur
   gardé ; le texte garde au moins 180 px — les boutons passent à la ligne plutôt que d'écraser le nom en une lettre par ligne. */
html.v2 #view-signatures div[style*="border-left:5px solid"] { background: #fff !important; border-top-color: var(--v2-trait) !important; border-right-color: var(--v2-trait) !important;
  border-bottom-color: var(--v2-trait) !important; border-left-width: 4px !important; border-radius: 12px !important; box-shadow: none !important; flex-wrap: wrap; row-gap: 8px; }
html.v2 #view-signatures div[style*="border-left:5px solid"] > div[style*="flex:1"] { min-width: 180px !important; }
html.v2 #view-signatures div[style*="border-left:5px solid"] span[style*="font-size:10px"] { font-size: 9.5px !important; font-weight: 700 !important; padding: 1px 6px !important; letter-spacing: .02em; }
html.v2 #view-signatures div[style*="border-left:5px solid"] .btn { border-radius: 8px; }

/* ── PLANNING (16/10/2026, à côté de la maquette) ─────────────────────────────────────────────────────────────────────── */
/* Les trois cartes du haut : blanches à trait fin ; l'ouverte cerclée de vert, son nombre en pastille verte. */
html.v2 .pl2-onglet { background: #fff; border: 1px solid var(--v2-trait); border-radius: 12px; box-shadow: none; }
html.v2 .pl2-onglet:hover { border-color: #C3CDC3; }
html.v2 .pl2-onglet.actif { border-color: var(--v2-vert); background: var(--v2-vert-c); box-shadow: inset 0 0 0 1px var(--v2-vert); }
html.v2 .pl2-onglet-n { background: #EEF1EE; color: var(--v2-texte); border-radius: 11px; font-weight: 700; }
html.v2 .pl2-onglet.actif .pl2-onglet-n { background: var(--v2-vert); color: #fff; }
/* Les boutons de la barre : blancs à trait fin ; le bouton ouvert (Stock, Carte) en vert pâle ; Jour · Semaine · Mois en segment. */
html.v2 .pl2-btn { background: #fff; border: 1px solid var(--v2-trait); border-radius: 8px; color: var(--v2-texte); font-weight: 600; box-shadow: none; }
html.v2 .pl2-btn:hover { background: #F5F8F4; border-color: #CCD4CB; }
html.v2 .pl2-btn.sel { background: #E6F2EC; color: #0B5A3B; border-color: #CFE6DA; }
html.v2 .pl2-modes { border: 1px solid var(--v2-trait); border-radius: 9px; overflow: hidden; background: #fff; }
html.v2 .pl2-modes button { border: 0 !important; border-radius: 0 !important; background: #fff; box-shadow: none; }
html.v2 .pl2-modes button + button { border-left: 1px solid var(--v2-trait) !important; }
html.v2 .pl2-modes button.sel { background: #E6F2EC; color: #0B5A3B; font-weight: 700; }
html.v2 .pl2-rond { border-radius: 8px; }
/* Le cadre du planning : une carte blanche, un trait fin, sans ombre ; la colonne de gauche séparée d'un trait. */
html.v2 .pl2 { background: #fff; border: 1px solid var(--v2-trait); border-radius: 12px; box-shadow: none; }
html.v2 .pl2-cote { border-right: 1px solid var(--v2-trait-2); }

/* ── LA FICHE D'UN DOSSIER (16/10/2026, à côté de la maquette) ──────────────────────────────────────────────────────────── */
html.v2 #modal { border-radius: 16px; }
html.v2 #modal .modal-header h2 { font-size: 24px; font-weight: 700; color: var(--v2-texte); letter-spacing: -.01em; }
html.v2 #modal .fiche-retour { color: var(--v2-vert); font-weight: 600; }
/* Qui suit le dossier (commercial, télépro, régie) et le statut : des pastilles arrondies. */
html.v2 #modal .fiche-aqui .faq { border-radius: 999px; border: 1px solid var(--v2-trait); box-shadow: none; }
html.v2 #modal .st-badge { border-radius: 999px; }
/* Le parcours : les étapes faites en vert pâle, l'étape en cours cerclée de vert, les autres blanches à trait fin. */
html.v2 #modal .chemin-kpi { background: #fff; border: 1px solid var(--v2-trait); border-radius: 10px; box-shadow: none; }
html.v2 #modal .chemin-kpi.chemin-fait { background: #F3FAF6; border-color: #CFE6DA; }
html.v2 #modal .chemin-kpi.fl-ck-cours { border-color: var(--v2-vert); box-shadow: inset 0 0 0 1px var(--v2-vert); }
/* Les onglets de la fiche : soulignés, l'ouvert en vert (comme la maquette). */
html.v2 #modal .fl-onglet { background: transparent !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; box-shadow: none !important;
  color: var(--v2-texte-2); font-weight: 600; }
html.v2 #modal .fl-onglet:hover { color: var(--v2-texte); }
html.v2 #modal .fl-onglet.sel { color: var(--v2-vert) !important; border-bottom-color: var(--v2-vert) !important; }
/* Les sections, les informations du client, les pièces : des cartes à trait fin, coins arrondis (leurs couleurs d'état restent). */
html.v2 #modal .modal-section { border-radius: 12px; border-color: var(--v2-trait); box-shadow: none; }
html.v2 #modal .info-item { border-radius: 10px; }
html.v2 #modal .piece-ligne { border-radius: 10px !important; }
html.v2 #modal .fl-cote { border-left-color: var(--v2-trait-2); }

/* ── LE PLATEAU (16/10/2026, à côté de la maquette) ───────────────────────────────────────────────────────────────────── */
/* Les sous-onglets (Liste, Prochain appel, Preuves, Télépros, Entonnoir, Fournisseurs) : un segment ; l'ouvert en vert pâle. */
html.v2 #view-plateau .pl-nav { border: 1px solid var(--v2-trait); border-radius: 10px; overflow: hidden; background: #fff; gap: 0; box-shadow: none; }
html.v2 #view-plateau .pl-nav .btn { border: 0; border-radius: 0; box-shadow: none; background: #fff; color: var(--v2-texte); }
html.v2 #view-plateau .pl-nav .btn + .btn { border-left: 1px solid var(--v2-trait); }
html.v2 #view-plateau .pl-nav .btn:hover { background: #F5F8F4; }
html.v2 #view-plateau .pl-nav .btn.btn-primary { background: #E6F2EC; color: #0B5A3B; }
/* Le tableau : une carte blanche à trait fin ; en-têtes en capitales discrètes ; une ligne = un trait fin. */
html.v2 #view-plateau .pl-table-wrap { border: 1px solid var(--v2-trait); border-radius: 12px; background: #fff; box-shadow: none; }
html.v2 #view-plateau .pl-table thead th { background: #F7F9F7; color: #5F6B64; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; border-bottom: 1px solid #E1E6E0; }
html.v2 #view-plateau .pl-table tbody td { border-bottom: 1px solid #ECEFEB; }
html.v2 #view-plateau .pl-bandeau { border-radius: 10px; }
html.v2 #view-plateau .pl-n { border-radius: 999px; }

/* ── LES BOUTONS RONDS FLOTTANTS (16/10/2026) : ⏰ rappels (#rp-fab) et 🐞 signaler (#retour-fab) chevauchaient le bas de la barre de
   gauche (« Se déconnecter ») : sur grand écran, ils passent juste à droite de la barre, en bas. Le téléphone ne change pas. */
@media (min-width: 900px) {
  /* 17/10 (relecture) : seulement leur place PAR DÉFAUT — un bouton posé à la main (appui long, data-flt-place) garde la sienne, la hauteur se laisse
     décaler au-dessus d'une zone de saisie, et la vue téléphone (body.pm-on) n'est pas touchée. */
  html.v2 body:not(.pm-on) #rp-fab:not([data-flt-place]) { left: 256px !important; bottom: 16px; }
  html.v2 body:not(.pm-on) #retour-fab:not([data-flt-place]) { left: 318px !important; bottom: 20px; }
}

/* ── LE TABLEAU DE BORD (16/10/2026, à côté de la maquette) ───────────────────────────────────────────────────────────── */
/* « Vue d'ensemble / Pilotage » : un segment discret, l'ouvert en vert pâle. */
/* Le segment : la bordure sur les DEUX BOUTONS, pas sur le conteneur — il porte aussi le sous-titre (.tdb-onglets-s), qui reste libre à côté (sur
   téléphone, il passait dessous et se faisait couper dans la boîte). */
html.v2 .tdb-onglets { border: 0 !important; background: none !important; overflow: visible !important; display: flex; align-items: center; flex-wrap: wrap; gap: 0;
  box-shadow: none; }
html.v2 .tdb-onglet { background: #fff !important; border: 1px solid var(--v2-trait) !important; border-radius: 10px 0 0 10px !important; color: var(--v2-texte) !important;
  box-shadow: none !important; }
html.v2 .tdb-onglet + .tdb-onglet { border-left: 0 !important; border-radius: 0 10px 10px 0 !important; }
html.v2 .tdb-onglets-s { margin-left: 12px; color: #5F6B64; font-size: 12.5px; }
html.v2 .tdb-onglet.actif { background: #E6F2EC !important; color: #0B5A3B !important; }
/* Les titres de section : en minuscules, comme la maquette (« Volume », « Actions à mener »). */
html.v2 #view-dashboard h3.dash-h { text-transform: none !important; letter-spacing: 0 !important; }

/* ── LES CHAMPS, PARTOUT (16/10/2026, comme la maquette) : quand on écrit, un contour vert pâle ; les cases et les boutons radio en vert.
   Rien d'autre : la forme des champs reste celle de chaque écran (la mesure du 16/10 : 148 listes du tableau des Dossiers, carrées et sans bordure,
   et la recherche ronde du planning auraient changé). :where() = poids nul : une règle de l'écran (un « outline: none » voulu) garde toujours la main. */
:where(html.v2) :where(select, textarea, input):focus-visible { outline: 2px solid #9BD3B5; outline-offset: 0; }
:where(html.v2) :where(input[type="checkbox"], input[type="radio"]) { accent-color: var(--v2-vert); }

/* ── MATÉRIEL (16/10/2026, soir) : l'écran est écrit en styles dans catalogue.js, où l'INDIGO veut dire « SÉLECTION » (lignes cochées, cases,
   panneau de modification en masse, fournisseurs cochés, zones où glisser un PDF). Sous le nouveau design, la sélection est VERTE.
   Seule exception : la pastille « 📄 Ouvrir » en bleu (la fiche du simulateur ; vert = jointe ici) — le titre de la colonne le dit : elle reste. */
html.v2 input[style*="accent-color:#4338ca"] { accent-color: var(--v2-vert) !important; }
html.v2 #view-stock tr.cat-l[style*="background:#eef2ff"] { background: #E6F2EC !important; }
html.v2 #view-stock b[style*="color:#4338ca"] { color: var(--v2-vert) !important; }
html.v2 #view-stock div[style*="border:1px solid #c7d2fe;background:#f5f7ff"] { border-color: #B7DEC8 !important; background: #F3FAF6 !important; }
html.v2 #view-stock div[style*="color:#4338ca;font-weight:700"] { color: #0B5A3B !important; }
html.v2 #view-stock div[style*="border-top:1px dashed #c7d2fe"] { border-top-color: #B7DEC8 !important; }
html.v2 #view-stock button[style*="background:#4338ca"] { background: var(--v2-vert) !important; }
html.v2 #view-stock label[style*="background:#e0e7ff"] { border-color: #9BD3B5 !important; background: #E6F2EC !important; color: #0B5A3B !important; }
/* LES ZONES OÙ GLISSER UN PDF, PARTOUT (16/10/2026, nuit) : les sept du CRM ont le même style écrit (catalogue, fiche produit, RGE ×2, index ×3) — un
   pointillé indigo, devenu VERT. Pendant le glisser, la page écrit background #dbe4ff : Chrome réécrit alors TOUT l'attribut style en rgb(…) — la règle
   reconnaît donc les deux écritures, et la zone fonce en vert tant qu'un fichier la survole. */
html.v2 [style*="border:2px dashed #a5b4fc"], html.v2 [style*="border: 2px dashed rgb(165, 180, 252)"] { border-color: #9BD3B5 !important; background: #F0FAF4 !important;
  color: #0B5A3B !important; }
html.v2 [style*="border: 2px dashed rgb(165, 180, 252)"][style*="rgb(219, 228, 255)"], html.v2 [style*="border:2px dashed #a5b4fc"][style*="#dbe4ff"] { background: #D7F0E2 !important; }
html.v2 [style*="border:2px dashed #a5b4fc"] a, html.v2 [style*="border: 2px dashed rgb(165, 180, 252)"] a { color: var(--v2-vert); }

/* ── LES DOSSIERS COMME LA MAQUETTE (16/10/2026, soir) — avec docs/v2-dossiers.js (l'étape, l'ordre des statuts, la vue essentielle). ───────── */
/* La légende des phases : des puces sobres, sans carré de couleur ; plus l'explication des couleurs (il n'y en a plus) — le « ↺ ordre automatique »,
   lui, reste. */
html.v2 .dos-legende > span:first-child { display: none; }
html.v2 #dossiers-body > div:not(.tbl-wrap) > span[style*="color:var(--muted2)"] { display: none; }
/* Les champs du statut et de l'état, sans fond de couleur. */
html.v2 #dossiers-body input[list="dl-statuts"] { background: #fff !important; border-color: var(--v2-trait) !important; }
html.v2 #dossiers-body td select[onchange^="setIteEtat"] { background: #fff !important; }
/* La pastille d'étape (comme .pastille de la maquette : 24 px, un point, le fond à 13 % de la couleur, le texte à 72 %). Classes nouvelles :
   elles ne touchent rien d'autre, d'où l'absence de « html.v2 ». */
.v2-etape { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  white-space: nowrap; background: #EBEDF0; color: #485464; }
.v2-etape > i { width: 7px; height: 7px; border-radius: 50%; background: #64748B; flex: none; }
.v2-etape[data-g="paye"], .v2-etape[data-g="termine"] { background: #E1EEE6; color: #0F5C2C; }
.v2-etape[data-g="paye"] > i, .v2-etape[data-g="termine"] > i { background: #15803D; }
.v2-etape[data-g="pose_cours"] { background: #E0F1EF; color: #096B62; }   .v2-etape[data-g="pose_cours"] > i { background: #0D9488; }
.v2-etape[data-g="pose_planif"] { background: #E0F3FC; color: #0369A1; }  .v2-etape[data-g="pose_planif"] > i { background: #0EA5E9; }
.v2-etape[data-g="a_planifier"] { background: #FAEDDF; color: #9C5604; }  .v2-etape[data-g="a_planifier"] > i { background: #D97706; }
.v2-etape[data-g="mairie"], .v2-etape[data-g="refus_banque"] { background: #FCE9DF; color: #A83F09; }
.v2-etape[data-g="mairie"] > i, .v2-etape[data-g="refus_banque"] > i { background: #EA580C; }
.v2-etape[data-g="fin_accorde"], .v2-etape[data-g="signe"] { background: #E1F3E7; color: #107535; }
.v2-etape[data-g="fin_accorde"] > i, .v2-etape[data-g="signe"] > i { background: #16A34A; }
.v2-etape[data-g="fin_cours"] { background: #EEE5FD; color: #592AAB; }    .v2-etape[data-g="fin_cours"] > i { background: #7C3AED; }
.v2-etape[data-g="bloque"] { background: #FBE3E3; color: #9E1B1B; }       .v2-etape[data-g="bloque"] > i { background: #DC2626; }
.v2-etape[data-g="arrete"] { background: #ECEDEF; color: #4D525C; }       .v2-etape[data-g="arrete"] > i { background: #6B7280; }
td.v2-etape-td { white-space: nowrap; }
td.v2-etape-td[onclick] { cursor: pointer; }
td.v2-etape-td[onclick]:hover .v2-etape { box-shadow: 0 0 0 2px rgba(11, 110, 71, .18); }
td.v2-etape-edition input { min-width: 220px; }
/* Sous la pastille du statut, l'étape en gris quand elle apprend quelque chose (17/10/2026 : « Domo à faire », puis « Devis signé »). */
.v2-etape-sous { display: block; margin: 3px 0 0 9px; font-size: 11.5px; line-height: 1.25; font-weight: 500; color: #5F6B64; white-space: nowrap; }
/* Sous la pastille, le nombre de jours dans ce statut (16/11/2026, Yoann : « en dessous de chaque statut je veux un chiffre avec le nombre de
   jours de ce statut ») : le style des compteurs du Suivi (index.html, _suiviRetardHtml : 9,5 px, gras, gris ardoise), un ton plus discret,
   dans le flux sous la pastille (la cellule porte déjà l'étape en gris et les documents dessous). Jamais une couleur d'alerte. */
/* EN LIGNE, PAS EN BLOC (16/11/2026 19 h 30, Yoann : « la page saute grave quand je scrolle ») : le compteur ajouté APRÈS le dessin du tableau
   (v2InjecterEssentiel) ne doit pas changer la hauteur des lignes — les colonnes figées mesurent les lignes avant lui, et un écart de
   hauteur fait sauter l'écran au défilement. Il se pose donc à côté de la pastille, sur la même ligne. */
.v2-etape-jours { display: inline-block; vertical-align: middle; margin: 0 0 0 6px; font-size: 9.5px; line-height: 1; font-weight: 700; color: #64748B; opacity: .85; white-space: nowrap; }
/* Les dossiers signés : « ⚠️ Manque de documents » (orange) ou « ✅ Complet » (vert) sous la pastille (22/10/2026, __eq__gmvh4ng2i1noz). */
.v2-docs { display: inline-block; margin: 4px 0 0; padding: 1px 7px; border-radius: 9px; font-size: 11px; line-height: 1.35; font-weight: 700; max-width: 100%; }
.v2-docs[data-k="manque"] { background: #FFEDD5; color: #9A3412; }
.v2-docs[data-k="complet"] { background: #DCFCE7; color: #166534; }
/* La bulle des commentaires (17/10/2026) : leur nombre ; au survol, tout le fil (la carte du CRM). Ambre, comme le commentaire de l'ancien design. */
.v2-com { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 7px 0 6px; border-radius: 999px; background: #FEF3C7; color: #92400E;
  font-size: 11px; font-weight: 700; line-height: 1; text-transform: none; letter-spacing: 0; vertical-align: middle; cursor: help; flex: none; }
.v2-com[data-v2-n]::after { content: attr(data-v2-n); font-weight: 700; }
.v2-com[data-v2-t]::before { content: attr(data-v2-t); }
.v2-com:hover { background: #FDE68A; }
/* Sans commentaire (19/10/2026) : la bulle « + » n'apparaît qu'au survol de la ligne, pour écrire le premier. */
.v2-com.v2-com-vide { opacity: 0; background: #F1F5F9; color: #64748B; transition: opacity .12s; }
tr:hover .v2-com.v2-com-vide, .v2-com.v2-com-vide:focus { opacity: 1; }
.v2-com-ic { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
td > .v2-com, div[data-v2-sous] > .v2-com { margin-left: 6px; }
/* La colonne « Nom » (affichée « Client ») : le prénom et la ville sous le nom. Un ::after (un attribut, pas du texte) : la recherche, les filtres
   et la copie lisent le nom seul. */
#view-missions [data-v2-sous]::after { content: attr(data-v2-sous); display: block; margin-top: 1px; font-size: 12px; font-weight: 400; line-height: 1.3;
  text-transform: none; color: #6B7280; overflow: hidden; text-overflow: ellipsis; }

/* ── LE TABLEAU DE BORD COMME LA MAQUETTE (16/10/2026, nuit) : des TUILES — fond blanc, trait fin, coins de 12 px, le chiffre en grand (26 px).
   L'onglet ouvert : vert très pâle, bordé de vert, sa marque « onglet » posée sur le bord (la maquette ; remplace le vert plein du soir). Les
   actions à mener : plus de bord de couleur, le titre d'abord, le chiffre en orange — un seul ton, comme la maquette. */
html.v2 #view-dashboard .kpis-volume .kpi, html.v2 #view-dashboard .act-card { position: relative; background: #fff !important; border: 1px solid var(--v2-trait) !important;
  border-radius: 12px !important; padding: 12px 14px !important; box-shadow: none !important; }
html.v2 #view-dashboard .kpis-volume .kpi:hover, html.v2 #view-dashboard .act-card:hover { border-color: #C3CDC3 !important; }
html.v2 #view-dashboard .kpis-volume .kpi .label { font-size: 13px; font-weight: 600; color: #4F5B54 !important; text-transform: none; letter-spacing: 0; }
html.v2 #view-dashboard .kpis-volume .kpi .value { font-size: 26px; font-weight: 700; line-height: 1.15; color: #17211B !important; }
html.v2 #view-dashboard .kpis-volume .kpi .sub { font-size: 12px; color: #5F6B64 !important; }
html.v2 #view-dashboard .kpis-volume .kpi.ouvert { background: #F1F8F4 !important; border-color: var(--v2-vert) !important; box-shadow: inset 0 0 0 1px var(--v2-vert) !important; }
html.v2 #view-dashboard .kpis-volume .kpi.ouvert .kpi-ouvert-pastille { position: absolute; top: -9px; right: 10px; background: var(--v2-vert) !important; color: #fff !important;
  border-radius: 999px; padding: 1px 8px; font-size: 0 !important; line-height: 1.5; }
html.v2 #view-dashboard .kpis-volume .kpi.ouvert .kpi-ouvert-pastille::before { content: 'onglet'; font-size: 11px; font-weight: 700; }
html.v2 #view-dashboard .act-card { display: flex !important; flex-direction: column; align-items: flex-start !important; text-align: left !important; gap: 3px;
  border-left-width: 1px !important; }
html.v2 #view-dashboard .act-card .lab { order: 0; font-size: 13px; font-weight: 600; color: #4F5B54 !important; }
html.v2 #view-dashboard .act-card .n { order: 1; align-self: flex-start !important; margin: 0 !important; font-size: 26px !important; font-weight: 700; line-height: 1.15;
  color: #C2410C !important; }
html.v2 #view-dashboard .act-card .sub { order: 2; font-size: 12px; color: #5F6B64 !important; }
html.v2 #view-dashboard .act-card .who { order: 3; align-self: flex-start; margin-top: 4px; }
/* Les puces sous les actions : celles de la maquette (34 px, un trait, le nombre en gras). */
html.v2 #view-dashboard .act-chip { min-height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--v2-trait) !important; background: #fff !important;
  display: inline-flex; gap: 7px; align-items: center; font-size: 13.5px; color: #17211B !important; box-shadow: none !important; }
html.v2 #view-dashboard .act-chip .n { font-weight: 700; color: inherit !important; background: none !important; padding: 0 !important; }
/* Les titres de section : celui de la maquette — gras, 14 px, le sous-titre à côté, en gris. */
html.v2 #view-dashboard h3.dash-h { font-size: 14px !important; font-weight: 700; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; color: #17211B; }
html.v2 #view-dashboard h3.dash-h small { display: inline !important; font-weight: 400; font-size: 12.5px; color: #5F6B64; margin: 0 !important; }

/* ── LES ALERTES COMME LA MAQUETTE (16/10/2026, nuit) : des cartes blanches SANS liseré de couleur ; l'étiquette d'état en pastille TEINTÉE (fond pâle,
   texte foncé, comme les pastilles d'étape) au lieu d'un aplat — ses cinq couleurs (_alerteEtat) gardent leur sens, en doux ; la date en petit et en
   gris (la maquette) ; « Vu » en vert pâle ; les têtes de colonne sobres ; la corbeille en gris. */
html.v2 #view-signatures div[style*="border-left:5px solid"] { border-left-width: 1px !important; border-left-color: var(--v2-trait) !important; padding: 12px 14px !important; }
html.v2 #view-signatures span[style*="background:#0284c7;color:#fff"] { background: #DEEFF8 !important; color: #015F8F !important; }
html.v2 #view-signatures span[style*="background:#0d9488;color:#fff"] { background: #E0F1EF !important; color: #096B62 !important; }
html.v2 #view-signatures span[style*="background:#15803d;color:#fff"] { background: #E1EEE6 !important; color: #0F5C2C !important; }
html.v2 #view-signatures span[style*="background:#b45309;color:#fff"] { background: #F5E9DF !important; color: #823C06 !important; }
html.v2 #view-signatures span[style*="background:#b91c1c;color:#fff"] { background: #F6E2E2 !important; color: #851414 !important; }
html.v2 #view-signatures div[style*="border-bottom:2px solid"] { border-bottom: 1px solid var(--v2-trait) !important; }
html.v2 #view-signatures span[style*="font-size:14px;font-weight:800;color:"] { color: #17211B !important; font-weight: 700 !important; }
html.v2 #view-signatures div[style*="font-size:15px;font-weight:800;color:#0f172a"] { font-size: 12.5px !important; font-weight: 600 !important; color: #4F5B54 !important; }
html.v2 #view-signatures div[style*="font-size:13.5px;font-weight:700;color:#16a34a"] { font-size: 12px !important; font-weight: 500 !important; color: #5F6B64 !important; }
html.v2 #view-signatures button[style*="background:#dcfce7;color:#15803d"] { background: #E3F1EA !important; color: #0B6E47 !important; border-color: transparent !important; }
html.v2 #view-signatures button[onclick^="archiverSignature"] { color: #5F6B64 !important; }

/* ── LES CARTES DE CHIFFRES, PARTOUT (16/10/2026, nuit) : les .kpi d'Acquisition, de la Comptabilité, du Pilotage… prennent la TUILE de la maquette —
   fond blanc, trait fin, coins de 12 px, le chiffre en grand et sombre ; plus de bord ni de chiffre de couleur. Le tableau de bord garde ses règles
   à lui (l'onglet ouvert, les actions en orange), plus précises. */
html.v2 .kpis .kpi { background: #fff !important; border: 1px solid var(--v2-trait) !important; border-radius: 12px !important; box-shadow: none !important; }
html.v2 .kpis .kpi .label { font-size: 13px; font-weight: 600; color: #4F5B54 !important; text-transform: none; letter-spacing: 0; }
html.v2 .kpis .kpi .value { font-weight: 700; color: #17211B !important; }
html.v2 .kpis .kpi .sub { font-size: 12px; color: #5F6B64 !important; }

/* Le choix de la vue des Dossiers : sobre. Il passait en indigo dès qu'une vue était choisie ; sous le nouveau design la vue essentielle est celle par
   défaut — l'indigo y serait permanent. */
html.v2 select[onchange="setVue(this.value)"] { border-color: var(--v2-trait) !important; background: #fff !important; color: var(--v2-texte) !important; }

/* ── LES ICÔNES AU TRAIT DE LA MAQUETTE (16/10/2026, nuit — docs/v2-icones.js) : sous le nouveau design, l'émoji en tête d'un bouton ou d'un titre
   cède la place à l'icône de la maquette (un seul ton : la couleur du texte). L'émoji n'est que MASQUÉ : éteindre le nouveau design le fait revenir
   et masque l'icône. */
html.v2 .v2-emo { display: none !important; }
html:not(.v2) .v2-ic { display: none !important; }
.v2-ic { width: 1.1em; height: 1.1em; vertical-align: -0.18em; margin-right: .3em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round;
  stroke-linejoin: round; flex: none; }
html.v2 h1 > .v2-ic, html.v2 h2 > .v2-ic, html.v2 h3 > .v2-ic { stroke-width: 1.8; margin-right: .35em; }

/* Les étiquettes « Filtrer » et « Outils » devant les rangées de boutons des Dossiers : la maquette ne les a pas (16/10/2026, nuit). */
html.v2 #view-missions .ptz-lab { display: none !important; }

/* ── LA FICHE D'UN DOSSIER, SON EN-TÊTE COMME LA MAQUETTE (16/10/2026, nuit) : le nom en grand (22 px) ; le téléphone en pastille verte, en gras ; le
   mail et l'adresse en pastilles blanches, coins de 10 px, trait fin (.coord-c de la maquette). Les mêmes liens, les mêmes boutons « copier ». */
html.v2 #modal h2 { font-size: 22px !important; font-weight: 700 !important; letter-spacing: -.01em; }
html.v2 #modal .fiche-tel a { padding: 6px 12px !important; border-radius: 10px !important; font-size: 15px !important; font-weight: 700 !important; color: #15803D !important;
  background: #F0FDF4 !important; border: 1px solid #BBF7D0 !important; }
html.v2 #modal .fiche-coord a { padding: 6px 12px !important; border-radius: 10px !important; font-size: 14px !important; background: #fff !important;
  border: 1px solid var(--v2-trait) !important; color: var(--v2-texte) !important; }

/* Le bandeau « Sois prévenu sur cet appareil… » (notifications) : celui de la maquette — vert pâle, trait vert, coins de 12 px. Le bandeau des signatures
   garde ses couleurs : elles disent le type (signature, pièces, problème). */
html.v2 #push-banniere, html.v2 .push-banniere { background: #EFF8F3 !important; border: 1px solid #CFE6DA !important; color: #0B5A3B !important; border-radius: 12px !important;
  box-shadow: none !important; }

/* Les PIÈCES dans la vue essentielle, comme la maquette (16/10/2026, nuit — docs/v2-dossiers.js) : le nombre en gras (orange s'il en manque, sombre
   quand tout est là), une fine barre verte de progression, « manque … » en gris. La pastille d'origine revient telle quelle hors du nouveau design. */
html.v2 #view-missions span.v2-compte { background: none !important; border: 0 !important; padding: 0 !important; font-size: 14px !important; font-weight: 700 !important;
  color: #C2410C !important; }
html.v2 #view-missions span.v2-compte[data-complet="1"] { color: #17211B !important; }
.v2-barre { display: inline-block; vertical-align: middle; width: 48px; height: 4px; margin-left: 8px; border-radius: 4px; background: #E1E6E0; overflow: hidden; }
.v2-barre > i { display: block; height: 100%; border-radius: 4px; background: #22A06B; }
html:not(.v2) .v2-barre { display: none; }
html.v2 #view-missions td div[style*="font-size:10.5px;color:#b45309"] { color: #5F6B64 !important; font-size: 12px !important; }
html.v2 #view-missions td div[style*="font-size:10.5px;color:#b45309"]::before { content: 'manque '; }

/* La « Prochaine action » de la vue essentielle (16/10/2026, nuit — docs/v2-dossiers.js, comme la maquette) : à faire en sombre, en retard ou bloquant
   en orange, rien à faire / attendre quelqu'un en gris. Classes nouvelles : elles ne touchent rien d'autre. */
td.v2-pa { white-space: nowrap; font-size: 13px; color: #17211B; }
/* 🔁 La colonne « Rattrapage » (25/11/2026, docs/rattrapage-suivi.js) : un petit menu teinté selon le suivi, la date et qui dessous. */
td.v2-rattrapage { white-space: nowrap; min-width: 150px; }
.ratt-menu { font: inherit; font-size: 12.5px; font-weight: 600; padding: 4px 6px; border-radius: 8px; border: 1px solid #D5DBD7; background: #fff; color: #17211B; cursor: pointer; max-width: 180px; }
.ratt-menu[data-ton="bleu"], .ratt-lu[data-ton="bleu"] { background: #E0F2FE; border-color: #7DD3FC; color: #075985; }
.ratt-menu[data-ton="orange"], .ratt-lu[data-ton="orange"] { background: #FFEDD5; border-color: #FDBA74; color: #9A3412; }
.ratt-menu[data-ton="vert"], .ratt-lu[data-ton="vert"] { background: #DCFCE7; border-color: #86EFAC; color: #166534; }
.ratt-menu[data-ton="rouge"], .ratt-lu[data-ton="rouge"] { background: #FEE2E2; border-color: #FCA5A5; color: #991B1B; }
.ratt-menu[data-ton="gris"], .ratt-lu[data-ton="gris"] { background: #F1F3F2; border-color: #CBD2CE; color: #44504A; }
.ratt-lu { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 8px; border-radius: 8px; border: 1px solid transparent; }
.ratt-sous { font-size: 11px; color: #5F6B64; margin-top: 3px; }
.vm-ratt { margin: 8px 0 4px; } /* le menu du rattrapage sur la carte du téléphone (docs/vues-metier.js, 25/11/2026) */
td.v2-pa[data-ton="orange"] { color: #C2410C; font-weight: 600; }
td.v2-pa[data-ton="gris"] { color: #5F6B64; }

/* Le Plateau : le titre et son compte comme la maquette (« Plateau » en 22 px, « 1 342 fiches » dans une pastille grise). Les colonnes ne changent pas. */
html.v2 #view-plateau .pl-tete h2 { font-size: 22px !important; font-weight: 700 !important; }
html.v2 #view-plateau .pl-tete .pl-n { background: #EEF1EE !important; color: #4F5B54 !important; padding: 2px 10px !important; font-size: 13px !important; font-weight: 600 !important; }

/* ── LA FICHE, À L'INTÉRIEUR : COMME LA PAGE DOSSIERS (17/10/2026, soir) ─────────────────────────────────────────────────────────────────
   Yoann, dans la fiche : « j'ai pas l'impression que tu as travaillé sur les autres pages à l'intérieur des dossiers […] j'aime bien où en est le
   dossier, mais tout le reste, je pense qu'il y a un truc à faire, pour que ce soit plus clair, plus lisible, ce que tu as fait dans la page dossier
   principale […] c'est joli, c'est épuré, c'est propre. » La grammaire de la maquette, posée sur les blocs du CRM (leurs styles écrits visés un à
   un) : des cartes blanches à trait fin ; UN bouton plein, vert, pour l'action principale (Planifier) et les autres en contour ; les pièces en liste
   simple — une pièce manquante se dit par un liseré et son mot en orange, plus par une carte orange ; les titres de rubrique en petites capitales
   grises. Rien ne change de place, aucun bouton ne disparaît, et les couleurs qui DISENT quelque chose restent : rouge = supprimer ou pièce mal
   rangée, orange = il manque, vert = fait. La discussion (fil.js) et la carte des messages du client (chat.js), à droite, ne sont pas touchées. */

/* L'en-tête : qui suit le dossier en pastilles blanches ; les étiquettes (devis, surface) et le bouton du journal sans couleur ; le type coché en vert. */
html.v2 #modal .fiche-aqui .faq { background: #fff !important; border-color: var(--v2-trait) !important; color: var(--v2-texte-2) !important; }
html.v2 #modal .fiche-meta button[style*="background:#eef2ff"] { background: #fff !important; border-color: var(--v2-trait) !important; color: var(--v2-texte-2) !important; border-radius: 999px !important; }
html.v2 #modal .modal-header span[style*="background:#e7f3ea"], html.v2 #modal .modal-header span[style*="background:#e6eefb"] { background: #EEF1ED !important; color: var(--v2-texte-2) !important; }
html.v2 #modal .modal-header label[style*="background:#ede9fe"] { background: var(--v2-vert-c) !important; border-color: #BFDCCB !important; color: var(--v2-vert-f) !important; }
html.v2 #modal .modal-header label[style*="background:#f3f4f6"] { background: #fff !important; border-color: var(--v2-trait) !important; color: var(--v2-texte-3) !important; }

/* Les raccourcis (Devis, Photos, Espace client, Planifier) : en contour ; « Planifier », l'action principale, en vert plein. */
html.v2 #modal .fl-rac { background: #fff !important; color: var(--v2-texte) !important; border: 1px solid var(--v2-trait) !important; border-radius: 9px !important;
  font-weight: 600 !important; box-shadow: none !important; }
html.v2 #modal .fl-rac:hover { background: #F5F8F4 !important; border-color: #CCD4CB !important; }
html.v2 #modal .fl-rac.fl-rac-planif { background: var(--v2-vert) !important; border-color: var(--v2-vert) !important; color: #fff !important; }
html.v2 #modal .fl-rac.fl-rac-planif:hover { background: var(--v2-vert-f) !important; }
/* DEVIS ET PHOTOS SE VOIENT D'UN COUP D'ŒIL (18/10/2026, Yoann : « Le bouton devis et photo doit toujours être un petit peu plus en évidence,
   d'une certaine couleur […] Il ne faut pas qu'on cherche ce bouton. On a souvent besoin de voir le devis ou les photos. ») : pleins, comme
   avant le nouveau design (fiche-large.js : bleu le devis, bleu-vert les photos). */
html.v2 #modal .fl-rac.fl-rac-devis { background: #1d4ed8 !important; border-color: #1d4ed8 !important; color: #fff !important; }
html.v2 #modal .fl-rac.fl-rac-devis:hover { background: #1e40af !important; border-color: #1e40af !important; }
html.v2 #modal .fl-rac.fl-rac-photos { background: #0e7490 !important; border-color: #0e7490 !important; color: #fff !important; }
html.v2 #modal .fl-rac.fl-rac-photos:hover { background: #155e75 !important; border-color: #155e75 !important; }

/* Les titres de rubrique (« Actions », « Dossier Domofinance… », « Autres pièces ») : petites capitales grises, comme la maquette. */
html.v2 #modal .fl-panneau .fl-titre, html.v2 #modal .fl-panneau .actions-titre, html.v2 #modal #docs-section .fl-sep {
  font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .06em !important; text-transform: uppercase; color: var(--v2-texte-3) !important; }
/* Les blocs d'étape (Montage, Chantier, Règlement, Rentabilité) : leur numéro dans un rond gris, plus une couleur par onglet. */
html.v2 #modal .fl-panneau .etape-num { background: #EDF1EC !important; color: var(--v2-texte-2) !important; }

/* Les boutons d'action (« Envoyer le devis au client », « Voir sur le planning », « Rouvrir dans le simulateur », « Fusionner avec… ») : en contour ;
   « Supprimer » garde son rouge. */
html.v2 #modal .fl-panneau:not([data-onglet="discussion"]) .fa { background: #fff !important; color: var(--v2-texte) !important; border: 1px solid var(--v2-trait) !important;
  border-radius: 9px !important; box-shadow: none !important; font-weight: 600 !important; }
html.v2 #modal .fl-panneau:not([data-onglet="discussion"]) .fa:hover { background: #F5F8F4 !important; border-color: #CCD4CB !important; }
html.v2 #modal .fl-panneau:not([data-onglet="discussion"]) .fa.fa-rouge { color: #B91C1C !important; border-color: #F1D0D0 !important; }
html.v2 #modal .fl-panneau:not([data-onglet="discussion"]) .fa.fa-rouge:hover { background: #FEF6F6 !important; }
/* Les gros boutons écrits à la main : « Planifier » prend le vert du design ; « Ouvrir le devis », les photos, le cyan et le gris passent en contour ;
   « Signaler une incohérence » en contour orange (en rouge pâle une fois signalée : elle demande quelque chose). */
html.v2 #modal .fl-panneau button[onclick*="planifierDepuisDossier"] { background: var(--v2-vert) !important; }
html.v2 #modal .fl-panneau a[style*="background:var(--blue-grad)"], html.v2 #modal .fl-panneau button[style*="background:#0e7490"],
html.v2 #modal .fl-panneau button[style*="background:#475569"], html.v2 #modal .fl-panneau button[style*="background:#ecfeff"],
html.v2 #modal .fl-panneau .btn[onclick*="reunirPhotosPdf"], html.v2 #modal .fl-panneau .btn[style*="background:#ede9fe"],
html.v2 #modal .fl-panneau button[onclick*="rechercherPiecesDrive"], html.v2 #modal .fl-panneau button[onclick*="rangerDriveDossier"] {
  background: #fff !important; color: var(--v2-texte) !important; border: 1px solid var(--v2-trait) !important; letter-spacing: 0 !important; box-shadow: none !important; }
html.v2 #modal .fl-panneau button[onclick*="openSignalement"][style*="#e8833e"] { background: #fff !important; color: #C2410C !important; border: 1px solid #F2D2B5 !important; }
html.v2 #modal .fl-panneau button[onclick*="openSignalement"][style*="#b91c1c"] { background: #FEF2F2 !important; color: #B91C1C !important; border: 1px solid #F1C9C9 !important; }
html.v2 #modal .fl-panneau div[style*="background:#ecfeff"] { background: #fff !important; border-color: var(--v2-trait) !important; }
html.v2 #modal .fl-panneau div[style*="background:#ecfeff"] span { color: var(--v2-texte-2) !important; }

/* Les pièces : une liste simple, comme la maquette — cartes blanches à trait fin. Reçue : rien de plus. Manquante : un liseré orange à gauche, et son
   mot en orange (plus la carte). Mal rangée (rose) : elle garde sa teinte, elle demande quelque chose. Le menu d'état et les boutons, sobres ; la
   corbeille en gris, rouge seulement au survol. */
html.v2 #modal #docs-section .piece-ligne { background: #fff !important; border: 1px solid var(--v2-trait) !important; border-radius: 10px !important; box-shadow: none !important; }
html.v2 #modal #docs-section .piece-ligne.fl-manque { border-color: #F3DCC4 !important; box-shadow: inset 3px 0 0 #F59E0B !important; }
html.v2 #modal #docs-section .piece-ligne[style*="#fdecec"] { background: #FEF6F6 !important; border-color: #F1D0D0 !important; }
html.v2 #modal #docs-section .piece-ligne.fl-apres { background: #FAFBFA !important; }
html.v2 #modal #docs-section select.fl-etat { border-color: var(--v2-trait) !important; border-radius: 8px !important; }
html.v2 #modal #docs-section .btn { border-radius: 8px !important; border-color: var(--v2-trait) !important; box-shadow: none !important; }
html.v2 #modal #docs-section .btn[onclick^="supprimerDoc"] { color: #7A847E !important; }
html.v2 #modal #docs-section .btn[onclick^="supprimerDoc"]:hover { color: #B91C1C !important; border-color: #F1D0D0 !important; background: #FEF6F6 !important; }

/* La synthèse : le contrôle qualité, les cartes de suivi, le résumé de l'appel dans des cartes blanches ; le résumé en police normale. */
html.v2 #modal .fl-panneau .cq-bloc { background: #fff !important; border: 1px solid var(--v2-trait) !important; border-radius: 12px !important; }
html.v2 #modal .fl-panneau .ps-fiche, html.v2 #modal .fl-panneau .fl-slot-mairie { background: #fff !important; border-color: var(--v2-trait) !important; border-radius: 12px !important; }
html.v2 #modal .fl-panneau details.cq-resume { border-color: var(--v2-trait) !important; border-radius: 10px !important; }
html.v2 #modal .fl-panneau details.cq-resume summary { color: var(--v2-texte) !important; }
html.v2 #modal .fl-panneau textarea { font-family: inherit !important; }
/* Les étiquettes violettes (« auto », « EDF PTZ ») et les champs à trait violet : en gris. */
html.v2 #modal .fl-panneau span[style*="background:#ede9fe"] { background: #EEF1ED !important; color: var(--v2-texte-2) !important; }
html.v2 #modal .fl-panneau input[style*="#ddd6fe"] { border-color: var(--v2-trait) !important; border-radius: 8px !important; }
/* Le règlement : ses trois montants dans des cartes blanches à trait fin. */
html.v2 #modal .fl-panneau div[style*="border:1px solid rgba(0,0,0,.06)"] { background: #fff !important; border-color: var(--v2-trait) !important; border-radius: 10px !important; }

/* « Où en est le dossier » (Yoann : « si tu dois l'adapter au nouveau design, tu peux ; il faut juste que les étapes ne changent pas ») : les mêmes
   étapes, au même endroit ; l'étape en cours cerclée de vert sur un vert très pâle (plus la barre épaisse à gauche), les menus sans couleur. */
html.v2 #modal .chemin-kpi.chemin-ici { border: 1px solid var(--v2-vert) !important; box-shadow: inset 0 0 0 1px var(--v2-vert) !important; background: #F1F8F4 !important; }
html.v2 #modal .chemin-kpi select { border-color: var(--v2-trait) !important; border-radius: 8px !important; }

/* Le commentaire du dossier (colonne de droite) : il garde son ambre — on le cherche des yeux — mais plus doux. */
html.v2 #modal .fl-cote div[style*="background:#fffbeb"] { background: #FFFCF3 !important; border-color: #F1DFAE !important; border-radius: 12px !important; }

/* ── LES CASES QUI REGROUPENT, ET UN TABLEAU QUI TIENT DANS SA LARGEUR (17/10/2026, soir) ───────────────────────────────────────────────
   Yoann : « tout mettre dans la même case […] l'idée, c'est de ne pas scroller de droite à gauche […] il faut que ça s'adapte à tout écran ».
   Les cases ajoutées par docs/v2-dossiers.js (3 bis) : des lignes courtes et petites. Ce qui s'ajoute DANS une case existante (téléphone, dates,
   devis, régie) est écrit dans un attribut et affiché ici (::before) : les filtres et la recherche ne le lisent pas. Puis le tableau se resserre
   selon la largeur QU'IL A — une requête de conteneur sur #dossiers-body, pas sur l'écran : la fenêtre, le zoom et le menu comptent tous :
   au large, tout ; plus étroit, les textes passent à la ligne et le suivi se range sur deux rangs ; étroit, la date de pose sort du tableau (elle
   reste dans « Prochaine action » et dans la fiche). */
html.v2 #dossiers-body { container: dossiers / inline-size; }
html.v2 #view-missions [data-v2-t]::before { content: attr(data-v2-t); }
html.v2 #view-missions td.v2-case { white-space: normal; font-size: 12px; line-height: 1.26; color: var(--v2-texte-2); min-width: 96px; vertical-align: middle; }
html.v2 #view-missions td.v2-case .v2-l { white-space: nowrap; }
html.v2 #view-missions td.v2-travaux .v2-l:first-child, html.v2 #view-missions td.v2-montants .v2-m-ttc { color: var(--v2-texte); font-weight: 600; }
html.v2 #view-missions td.v2-montants .v2-m-aides { cursor: help; }
html.v2 #view-missions td.v2-montants .v2-m-reste { color: #B45309; font-weight: 600; }
html.v2 #view-missions td.v2-montants .v2-m-solde { color: #15803D; font-weight: 600; }
html.v2 #view-missions td.v2-montants .v2-m-nontransmis { color: #c2410c; font-weight: 700; }   /* devis non transmis (11/11/2026) : un dossier signé sans aucun montant */
html.v2 #view-missions td.v2-montants .v2-m-rac, html.v2 #view-missions td.v2-montants .v2-m-m2 { color: var(--v2-texte-3); }
/* Les cases d'états du dossier (« Dossier CEE », « Dossier MPR », 18/10) : une ligne par état ; fait en vert, à faire ou bloquant en orange. */
html.v2 #view-missions td.v2-dossier-etats { max-width: 128px; }
/* L'étape d'ÉTUDE MPR (x/8, et la tâche du bureau) : elle passe à la ligne plutôt que d'élargir le tableau. */
html.v2 #view-missions td.v2-c-etape-propre { white-space: normal !important; max-width: 128px; }
html.v2 #view-missions td.v2-dossier-etats .v2-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.v2 #view-missions td.v2-dossier-etats .v2-l[data-ton="ok"] { color: #15803D; }
html.v2 #view-missions td.v2-dossier-etats .v2-l[data-ton="orange"] { color: #B45309; font-weight: 600; }
/* Sous le n° de dossier : le devis 📄 (le lien de la colonne « Devis », sans son bouton bleu) et les dates. */
html.v2 #view-missions .v2-sous-dossier { display: flex; flex-wrap: wrap; align-items: center; gap: 1px 7px; margin-top: 3px; font-size: 11px; font-weight: 500; color: var(--v2-texte-3); }
html.v2 #view-missions .v2-sous-dossier .v2-date { white-space: nowrap; }
/* La date de signature se change d'un clic (02/11/2026) : soulignée en pointillé pour qui peut la changer ; l'agenda prend sa place. */
html.v2 #view-missions .v2-sous-dossier .v2-date-sig { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 2px; }
html.v2 #view-missions .v2-sous-dossier .v2-date-sig:hover { color: var(--v2-texte-1, #0f172a); font-weight: 700; }
html.v2 #view-missions .v2-sous-dossier .v2-date-input { font: inherit; font-size: 11px; line-height: 1.3; padding: 1px 4px; border: 1px solid var(--v2-trait, #cbd5e1); border-radius: 6px; background: #fff; color: var(--v2-texte-1, #0f172a); }
html.v2 #view-missions .v2-sous-dossier a.v2-devis { width: auto !important; height: auto !important; min-width: 0 !important; padding: 0 !important; background: none !important;
  color: inherit !important; border: 0 !important; font-size: 13px !important; line-height: 1 !important; text-decoration: none !important; box-shadow: none !important; }
/* La régie sous le commercial ; le téléphone sous le nom, cliquable pour appeler. */
html.v2 #view-missions .v2-sous-com { margin-top: 3px; font-size: 11.5px; color: var(--v2-texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
html.v2 #view-missions a.v2-tel { font-size: 11.5px; font-weight: 500; color: var(--v2-texte-2); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.v2 #view-missions a.v2-tel:hover { color: var(--v2-vert); text-decoration: underline; }
html.v2 #view-missions .v2-tel-l { margin-top: 2px; }
/* LES LARGEURS. Chaque case a sa largeur (mesurée sur les vraies données d'EDF PTZ, 17/10) : le tableau entier tient dans 1 490 px au large ; puis
   il se resserre par paliers. Ce qui est long passe à la ligne (l'étape, la prochaine action, les travaux) ; le client s'abrège (son nom entier
   au survol) ; le champ du commercial et la date de pose se font plus étroits. */
html.v2 #view-missions td.v2-c-dossier, html.v2 #view-missions td.v2-c-dossier b { font-size: 12.5px; }
/* L'état (Bloqué / Pose / Pose (auto)) sous le numéro, dans la case « Dossier » (18/10/2026, docs/v2-dossiers.js) : le vrai menu, en petit. */
html.v2 #view-missions .v2-etat-sous-num { margin-top: 5px; }
html.v2 #view-missions .v2-etat-sous-num select { font-size: 11.5px; padding: 2px 4px; max-width: 150px; border-radius: 7px; }
/* L'ancien tableau ne descend jamais sous 1 080 px (table.dt, index.html) : la vue essentielle, qui sait se resserrer, n'a pas ce plancher. */
html.v2 #view-missions table.dt.v2-essentiel { min-width: 0; }
/* LE N° DE DOSSIER EN ENTIER (02/11/2026, signalement __eq__gmvz5nmd6ihd7, Anthony : « je dois voir tout le num de dossier ») : la 1re colonne
   gardait une largeur PLAFONNÉE (180 px, puis 160 et 150 aux paliers) ; la case, le point orange et « AVR-LAV-2026-01894 » en demandent ~181 :
   le n° passait sous la colonne Client, coupé à « AVR-LAV-2026-01 ». La largeur reste un plancher, plus un plafond : la colonne s'élargit
   juste de ce qu'il faut. */
html.v2 #view-missions table.dt.v2-essentiel th:first-child:not(.numl), html.v2 #view-missions table.dt.v2-essentiel td:first-child:not([data-num-ligne]) { max-width: none; }
/* L'ancienne ligne de filtres (Toutes, 174…), qui ne suit pas les colonnes : masquée dans la vue essentielle quand aucun de ses filtres n'est actif. */
html.v2 #view-missions thead tr.fr[data-v2-cache="1"] { display: none; }
/* Le commercial passe à la ligne s'il est long (dans les onglets où c'est du texte, pas un champ). */
html.v2 #view-missions td.v2-c-com { white-space: normal !important; }
html.v2 #view-missions td.v2-c-client > div:first-child { max-width: 178px; overflow: hidden; text-overflow: ellipsis; }
html.v2 #view-missions td.v2-c-client [data-v2-sous]::after { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.v2 #view-missions td.v2-etape-td { white-space: normal; max-width: 160px; }
html.v2 #view-missions .v2-etape { height: auto; min-height: 24px; white-space: normal; line-height: 1.25; padding-top: 3px; padding-bottom: 3px; }
html.v2 #view-missions td.v2-c-pieces div[style*="font-size:10.5px;color:#b45309"] { max-width: 112px !important; overflow: hidden; text-overflow: ellipsis; }
html.v2 #view-missions td.v2-travaux { max-width: 118px; }
html.v2 #view-missions td.v2-travaux .v2-l { white-space: normal; }
html.v2 #view-missions td.v2-pa { white-space: normal; max-width: 128px; line-height: 1.3; }
html.v2 #view-missions td.v2-c-com input, html.v2 #view-missions td.v2-c-com select { width: 128px !important; max-width: 128px !important; }
/* Le nom du commercial tient dans son champ (18/10 : « BENEDICT JOSEI ») : un cran plus petit. */
html.v2 #view-missions td.v2-c-com input { font-size: 11.5px !important; padding-left: 5px !important; padding-right: 4px !important; }
html.v2 #view-missions td.v2-c-datepose input[type="date"] { font-size: 11px !important; max-width: 104px; }
html.v2 #view-missions .v2-pa-dup { display: none; margin-top: 4px; font-size: 11.5px; line-height: 1.3; color: var(--v2-texte); }
html.v2 #view-missions .v2-pa-dup[data-ton="orange"] { color: #C2410C; font-weight: 600; }
html.v2 #view-missions .v2-pa-dup[data-ton="gris"] { color: var(--v2-texte-3); }
/* « Pose le 12/11 » : provisoire (bleu), définitive (vert), à annuler (rouge) — 29/10/2026, docs/pose-fermete.js (les mêmes teintes). */
html.v2 #view-missions .v2-pa-dup[data-ton^="pf-"] { width: fit-content; border-radius: 6px; padding: 1px 6px; font-weight: 700; }
td.v2-pa[data-ton^="pf-"] { font-weight: 700; }
td.v2-pa[data-ton="pf-provisoire"] { color: #1d4ed8; }
html.v2 #view-missions .v2-pa-dup[data-ton="pf-provisoire"] { color: #1e3a8a; background: #dbeafe; box-shadow: inset 0 0 0 1px #3b82f6; }
td.v2-pa[data-ton="pf-definitive"] { color: #15803d; }
html.v2 #view-missions .v2-pa-dup[data-ton="pf-definitive"] { color: #14532d; background: #dcfce7; box-shadow: inset 0 0 0 1px #22c55e; }
td.v2-pa[data-ton="pf-annuler"] { color: #b91c1c; }
html.v2 #view-missions .v2-pa-dup[data-ton="pf-annuler"] { color: #7f1d1d; background: #fee2e2; box-shadow: inset 0 0 0 1px #ef4444; }
/* Palier 1 (le tableau sous 1 590 px) : le suivi sur deux rangs de trois pastilles ; « manque … » et le commercial un peu plus étroits. */
@container dossiers (max-width: 1590px) {
  html.v2 #view-missions td.v2-c-suivi { white-space: normal !important; max-width: 84px; line-height: 1.9; }
  html.v2 #view-missions table.dt.v2-essentiel th:first-child:not(.numl), html.v2 #view-missions table.dt.v2-essentiel td:first-child:not([data-num-ligne]) {
    width: 160px !important; min-width: 160px !important; max-width: none !important; }
  html.v2 #view-missions td.v2-c-pieces div[style*="font-size:10.5px;color:#b45309"] { max-width: 98px !important; }
  html.v2 #view-missions td.v2-c-com input, html.v2 #view-missions td.v2-c-com select { width: 120px !important; max-width: 120px !important; }
  /* L'étape d'ÉTUDE MPR : sa barre en huit segments plus fins (11 px au lieu de 14), la cellule à 118 px (son style écrit en imposait 150). */
  html.v2 #view-missions td.v2-c-etape-propre { min-width: 118px !important; }
  html.v2 #view-missions td.v2-c-etape-propre .pac-seg { width: 11px !important; min-width: 0 !important; }
}
/* Palier 2 (sous 1 480 px) : des marges plus fines ; les pièces sans « manque … » (le nombre et la barre restent, le détail est dans la fiche) ;
   des cases un peu plus étroites. */
@container dossiers (max-width: 1480px) {
  /* 5 px (18/10/2026) : à 6, ÉTUDE MPR (12 colonnes, avec « Dossier MPR ») dépassait de 5 à 22 px entre 1 381 et 1 400 px. */
  html.v2 #view-missions table.dt td, html.v2 #view-missions table.dt th { padding-left: 5px; padding-right: 5px; }
  html.v2 #view-missions td.v2-c-pieces div[style*="font-size:10.5px;color:#b45309"] { display: none; }
  html.v2 #view-missions td.v2-c-client > div:first-child { max-width: 160px; }
  html.v2 #view-missions td.v2-etape-td { max-width: 145px; }
  html.v2 #view-missions td.v2-pa { max-width: 118px; }
  html.v2 #view-missions td.v2-c-com input, html.v2 #view-missions td.v2-c-com select { width: 114px !important; max-width: 114px !important; }
  html.v2 #view-missions td.v2-travaux { max-width: 106px; }
  html.v2 #view-missions td.v2-case { font-size: 11.5px; }
  html.v2 #view-missions td.v2-dossier-etats { max-width: 106px; }
  html.v2 #view-missions td.v2-c-datepose input[type="date"] { max-width: 116px; }   /* « 15/10/2026 » et son calendrier y tiennent */
  html.v2 #view-missions td.v2-c-etape-propre .pac-seg { width: 10px !important; }
}
/* Palier 3 (sous 1 395 px, un portable — 1 380 jusqu'au 18/10 : entre 1 381 et 1 389 px, EDF PTZ et ÉTUDE MPR dépassaient de 2 ou 3 px) : la date de pose sort du tableau — elle reste dans « Prochaine action » (« Pose le 26/10 ») et dans la
   fiche ; les montants sans RAC ni €/m² (dans la fiche et la vue complète). */
@container dossiers (max-width: 1395px) {
  html.v2 #view-missions .v2-c-datepose { display: none !important; }
  html.v2 #view-missions td.v2-montants .v2-m-rac, html.v2 #view-missions td.v2-montants .v2-m-m2 { display: none; }
}
/* Palier 4 (sous 1 250 px) : la prochaine action quitte sa colonne et se lit sous la pastille d'étape (là où elle est copiée). */
@container dossiers (max-width: 1250px) {
  html.v2 #view-missions table.dt:has(td.v2-etape-td) td.v2-pa, html.v2 #view-missions table.dt:has(td.v2-etape-td) th[data-col="Prochaine action"] { display: none !important; }
  html.v2 #view-missions .v2-pa-dup { display: block; }
  html.v2 #view-missions td.v2-etape-td { max-width: 150px; }
}
/* Palier 5 (sous 1 110 px, un petit portable) : tout se serre encore — le n° en plus petit, la barre des pièces retirée (le nombre reste), des
   cases plus étroites. */
@container dossiers (max-width: 1110px) {
  html.v2 #view-missions td.v2-c-dossier, html.v2 #view-missions td.v2-c-dossier b { font-size: 11.5px; }
  html.v2 #view-missions td.v2-c-pieces .v2-barre { display: none; }
  html.v2 #view-missions td.v2-c-client > div:first-child { max-width: 140px; }
  html.v2 #view-missions td.v2-etape-td { max-width: 132px; }
  html.v2 #view-missions td.v2-travaux, html.v2 #view-missions td.v2-montants { max-width: 96px; min-width: 84px; }
  html.v2 #view-missions td.v2-c-com input, html.v2 #view-missions td.v2-c-com select { width: 96px !important; max-width: 96px !important; }
  html.v2 #view-missions td.v2-c-dossier { white-space: normal !important; }
  /* Les cases d'états (Dossier CEE, Dossier MPR) s'effacent sur les tout petits écrans : la fiche et la vue complète les montrent. */
  html.v2 #view-missions th[data-col="Dossier CEE"], html.v2 #view-missions th[data-col="Dossier MPR"], html.v2 #view-missions td.v2-dossier-etats { display: none !important; }
  html.v2 #view-missions td.v2-c-dossier > b { white-space: nowrap; }
  /* La 1re colonne des onglets sans n° de ligne (Toutes, MPR, CEE…) est figée à 180 px par l'ancien tableau : 150 suffisent au n° de dossier. */
  html.v2 #view-missions table.dt.v2-essentiel th:first-child:not(.numl), html.v2 #view-missions table.dt.v2-essentiel td:first-child:not([data-num-ligne]) {
    width: 150px !important; min-width: 150px !important; max-width: none !important; }
  html.v2 #view-missions td.v2-montants { font-size: 11px; }
  html.v2 #view-missions td.v2-c-client > div:nth-child(2) { flex-wrap: wrap; row-gap: 1px; }
  html.v2 #view-missions td.v2-etape-td { max-width: 120px; }
  html.v2 #view-missions .v2-etape { font-size: 11.5px; padding-left: 7px; padding-right: 8px; }
}

/* Palier 6 (sous 600 px, un téléphone — 21/10/2026, signalement __eq__gmvd6s61y1emr, Yoann : « le tableau mais mieux structurer ») : le
   tableau reste, mais l'écran montre d'un coup ce qui compte — le n°, le dossier, le client ET son étape. N°, Dossier et Client prenaient
   344 px sur les 380 d'un iPhone : l'étape restait hors de l'écran. Chacun se resserre (le nom entier au survol, le reste dans la fiche),
   l'étape garde une vraie largeur ; le reste du tableau défile à côté, N° et Dossier figés (docs/index.html, 2 bis). */
@container dossiers (max-width: 600px) {
  html.v2 #view-missions table.dt td, html.v2 #view-missions table.dt th { padding-left: 4px; padding-right: 4px; }
  html.v2 #view-missions table.dt td[data-num-ligne], html.v2 #view-missions table.dt th.numl { width: 30px; min-width: 0; }
  html.v2 #view-missions table.dt .selbox { margin-right: 3px; }
  html.v2 #view-missions td.v2-c-dossier { width: 112px; max-width: 112px; white-space: normal !important; }
  html.v2 #view-missions td.v2-c-dossier, html.v2 #view-missions td.v2-c-dossier b { font-size: 11.5px; }
  html.v2 #view-missions .v2-etat-sous-num select { max-width: 104px; font-size: 11px; }
  html.v2 #view-missions td.v2-c-client { width: 116px; max-width: 116px; }
  html.v2 #view-missions td.v2-c-client > div:first-child { max-width: 116px; font-size: 12px; }
  html.v2 #view-missions td.v2-c-client > div { overflow: hidden; text-overflow: ellipsis; }
  html.v2 #view-missions td.v2-etape-td { min-width: 118px; max-width: 132px; }
}

/* ── LA PETITE FENÊTRE DES LOTS (18/10/2026) ─────────────────────────────────────────────────────────────────────────────────────
   Un clic sur la case Travaux (EDF PTZ, admin) : les trois lots du dossier, leur type et leur surface — les gestes de l'ancienne vue. */
html.v2 td.v2-travaux-modif { cursor: pointer; }
html.v2 td.v2-travaux-modif:hover { box-shadow: inset 0 0 0 1px var(--v2-trait); border-radius: 8px; }
html.v2 td.v2-travaux-modif .v2-l:last-child::after { content: ' ✎'; font-size: 10px; color: var(--v2-texte-3); }   /* un crayon fixe : rien ne bouge au survol */
/* La case Montants ouvre la saisie des montants du devis signé (11/11/2026) : le même air que Travaux. */
html.v2 td.v2-montants-modif { cursor: pointer; }
html.v2 td.v2-montants-modif:hover { box-shadow: inset 0 0 0 1px var(--v2-trait); border-radius: 8px; }
html.v2 td.v2-travaux-modif .v2-l-vide { color: var(--v2-texte-3); font-size: 11.5px; }
.v2-lots-pop { position: fixed; z-index: 4000; display: none; background: #fff; border: 1px solid #D8E0DA; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(23, 33, 27, .16); padding: 10px 12px 9px; min-width: 300px; max-width: calc(100vw - 16px); font-size: 12.5px; color: #17211B; }
.v2-lots-tete { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; }
.v2-lots-tete span { color: #5F6B64; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-lots-x { margin-left: auto; border: 0; background: transparent; font-size: 14px; color: #5F6B64; cursor: pointer; padding: 0 2px; }
.v2-lots-t { border-collapse: collapse; width: 100%; }
.v2-lots-t th { text-align: left; font-weight: 600; color: #5F6B64; padding: 4px 8px 4px 0; white-space: nowrap; font-size: 12px; }
.v2-lots-t td { padding: 4px 4px; }
.v2-lots-note { margin-top: 7px; font-size: 11px; color: #5F6B64; }

/* ── LES PAGES DE GESTION, COMME LA MAQUETTE (18/10/2026) ─────────────────────────────────────────────────────────────────────────
   Yoann : « Comptabilité, Équipe, RGE, Financeurs, Acquisition, Sync, Carte et Pilotage […] pas encore leur mise en forme » — « vas-y fais ».
   Le vocabulaire de la maquette (docs/maquette/v-reglages-plus.js, v-compta.js) : des blocs blancs à trait fin, des couleurs d'alerte DOUCES
   (le rouge, l'orange, le vert, le bleu du reste du nouveau design), plus de bordures épaisses. Ces écrans écrivent leurs couleurs dans la
   page (style="…") : on les reprend telles qu'elles sont écrites — le sens reste (rouge = à traiter, vert = fait), le cri s'en va. */
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  div[style*="background:#fff"][style*="border:1px solid var(--border)"] { border-color: var(--v2-trait) !important; border-radius: 14px !important; box-shadow: none !important; }
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  :is([style*="background:#fef2f2"], [style*="background: #fef2f2"], [style*="background:#fee2e2"]) { background: #FBF1F0 !important; border-color: #EBC5C5 !important; }
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  :is([style*="background:#fffbeb"], [style*="background: #fffbeb"], [style*="background:#fef3c7"], [style*="background:#fff7ed"]) { background: #FBF5E7 !important; border-color: #EED9A8 !important; }
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  :is([style*="background:#f0fdf4"], [style*="background: #f0fdf4"], [style*="background:#dcfce7"], [style*="background:#ecfdf5"]) { background: #EEF6F1 !important; border-color: #BFE0CF !important; }
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  :is([style*="background:#eff6ff"], [style*="background: #eff6ff"], [style*="background:#dbeafe"]) { background: #EEF3FA !important; border-color: #C9D8EE !important; }
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  :is([style*="color:#991b1b"], [style*="color:#b91c1c"], [style*="color:#dc2626"], [style*="color:var(--red)"]) { color: #A61B1B !important; }
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  :is([style*="color:#b45309"], [style*="color:#92400e"], [style*="color:#c2410c"]) { color: #8A4B08 !important; }
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  :is([style*="color:#15803d"], [style*="color:#166534"], [style*="color:#16a34a"]) { color: #0B6E47 !important; }
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  :is([style*="border:2px solid"], [style*="border: 2px solid"]) { border-width: 1px !important; }
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  :is([style*="dashed"]) { border-color: #B9CBBF !important; border-width: 1.5px !important; background-color: #F7FAF8 !important; border-radius: 12px !important; }
:is(html.v2 #view-comptabilite, html.v2 #view-equipe, html.v2 #view-rge, html.v2 #view-financeurs, html.v2 #view-acquisition, html.v2 #view-sync, html.v2 #view-map, html.v2 #view-pilotage)
  :is(h2, h3) { color: #17211B; letter-spacing: 0; }
/* La comptabilité sous clé : le bloc de la maquette (« La comptabilité est sous clé »). */
html.v2 #compta-box { border-color: var(--v2-trait) !important; border-radius: 14px !important; padding: 20px 22px !important; }
html.v2 #compta-box h2 { font-size: 17px !important; font-weight: 650 !important; }
/* LA PILOTAGE (docs/pilotage.js, ses classes plt-*) : le goulot en bandeau doux, des cartes à trait fin, des puces sobres. */
html.v2 .plt-h h2 { font-size: 22px; font-weight: 700; color: #17211B; }
html.v2 .plt-sous { color: #5F6B64; font-size: 12.5px; }
html.v2 .plt-goulot { background: #FBF1F0; border: 1px solid #EBC5C5; color: #851414; font-size: 14.5px; font-weight: 600; border-radius: 12px; padding: 11px 15px; }
html.v2 .plt-goulot.ok { background: #EEF6F1; border-color: #BFE0CF; color: #0B6E47; }
html.v2 .plt-c { border: 1px solid var(--v2-trait); border-radius: 14px; box-shadow: none; }
html.v2 .plt-c.goulot { border: 1px solid #E2A3A3; box-shadow: inset 3px 0 0 #C24141; }
html.v2 .plt-c h3 { font-size: 15.5px; font-weight: 650; color: #17211B; }
html.v2 .plt-l { font-size: 13.5px; color: #33403A; }
html.v2 .plt-l b { font-size: 15.5px; color: #17211B; }
html.v2 .plt-ch { border: 1px solid var(--v2-trait); background: #fff; color: #17211B; font-size: 12.5px; padding: 4px 10px; }
html.v2 .plt-ch:hover { border-color: #15803D; background: #EEF6F1; }
html.v2 .plt-rouge { color: #A61B1B; }
html.v2 .plt-vert { color: #0B6E47; }
/* L'en-tête de la Pilotage : le titre et « Actualiser » sur la première ligne, la phrase dessous — elle serrait le titre jusqu'à le couper
   (« Pilotage — ⚡174 » / « (CEE) »). */
html.v2 .plt-h { align-items: center; row-gap: 2px; }
html.v2 .plt-h h2 { flex: 0 0 auto; white-space: nowrap; }
html.v2 .plt-h > .btn { order: 2; }
html.v2 .plt-h > .plt-sous { order: 3; flex-basis: 100%; }
html.v2 .tdb-onglet { white-space: nowrap; }   /* « 📊 Vue d'ensemble » sur une ligne */
/* Les titres des blocs de Synchronisation : écrits « MaPrimeRénov' — envoi auto (PAC air/eau 171) », l'ancien style les mettait en petites
   majuscules grises ; ceux de la maquette sont des titres de bloc (« Les envois automatiques »). */
html.v2 .sync-card h3 { text-transform: none; font-size: 15px; font-weight: 650; color: #17211B; letter-spacing: 0; }
/* Financeurs CEE : le bandeau « Étape 1 » (jaune vif) dans l'orange doux du nouveau design. */
html.v2 #view-financeurs .fcee-bandeau { background: #FBF5E7; color: #6B4A0E; border: 1px solid #EED9A8; }

/* LE « SUIVI EDF PTZ » DE LA FICHE, RETIRÉ (18/10/2026, Yoann : « Ce pavé ne sert plus à rien maintenant qu'on a les commentaires à droite en
   haut. Et maintenant qu'on a remis l'état du dossier dans la vue principale. »). Il ne gardait que son titre, le commentaire (le même que
   « Commentaire du dossier », en haut à droite) et la phase forcée (le menu État, sous le numéro dans le tableau). Masqué, pas supprimé : le
   CRM d'avant (?design=v1) le garde, et le code qui le cherche (fiche-large.js) le trouve toujours. */
html.v2 [id^="ite-panel-"] { display: none !important; }
