/* =====================================================================
   (27/11/2026) SubScale : les écrans de travail au niveau du reste de l'appli
   Coach (Plan, Conversation, Créatrices, Analyse, Revue, Diagnostic), Prospection (Prêtes à recruter, Recherche web,
   Telegram, Annonces collées), Messages groupés (assistant en 8 étapes, Essais gratuits) et les écrans du même genre
   (Assistant, Générateur de scripts, Configuration IA, Automatisations, Liens de suivi, Pipeline, Instagram,
   Bibliothèque, Formation). Purement visuel : aucun id, aucune classe, aucun texte lu par l'appli n'est changé.
   Chargé après sections.css ; même astuce de priorité :is(#gs,*):not(#ec-z). Petit script : public/ecrans.js.
   ===================================================================== */

/* ---------- 1. l'anneau de focus seulement au clavier (html.ec-kb posé par ecrans.js), jamais après un clic ---------- */
html:not(.ec-kb) body :is(#gs, .app) :is(button, a, summary, label, [role="tab"], [tabindex]):focus:is(#gs,*):not(#ec-z) { outline: none !important; }
html:not(.ec-kb) body :is(#gs, .app) :is(.co-tabs, .tgp-tabs, .vtabs, .cpw-nav, #cpw-goals, .drp-chips, #co-quick) :is(button, a):focus:is(#gs,*):not(#ec-z) { box-shadow: none !important; }
html.ec-kb body :is(#gs, .app) :is(.co-tabs, .tgp-tabs, .vtabs, .cpw-nav, #cpw-goals, .drp-chips, #co-quick) :is(button, a):focus-visible:is(#gs,*):not(#ec-z) { outline: 2px solid var(--acc) !important; outline-offset: 2px !important; }

/* ---------- 2. onglets de page : un seul style, le soulignement à la couleur d'accent (qui glisse : public/motion.js) ---------- */
html body :is(#gs, .app) :is(#view-coach .co-tabs, .tgp-tabs):is(#gs,*):not(#ec-z) { display: flex !important; align-items: flex-end; gap: 22px !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
html body :is(#gs, .app) :is(#view-coach .co-tabs, .tgp-tabs)::-webkit-scrollbar { display: none; }
html body :is(#gs, .app) :is(#view-coach .co-tabs, .tgp-tabs) > button:is(#gs,*):not(#ec-z) { flex: none !important; height: auto !important; min-height: 0 !important; padding: 11px 0 !important; margin: 0 !important;
  font: 500 13.5px/1.2 Inter, system-ui, sans-serif !important; color: var(--muted) !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; white-space: nowrap; }
html body :is(#gs, .app) :is(#view-coach .co-tabs, .tgp-tabs) > button:hover:is(#gs,*):not(#ec-z) { color: var(--fg) !important; background: transparent !important; }
html body :is(#gs, .app) :is(#view-coach .co-tabs, .tgp-tabs) > button[aria-selected="true"]:is(#gs,*):not(#ec-z) { color: var(--fg) !important; font-weight: 600 !important; box-shadow: inset 0 -2px 0 var(--acc) !important; }
html body :is(#gs, .app) :is(#view-coach .co-tabs, .tgp-tabs).mo-gl-u > button[aria-selected="true"]:is(#gs,*):not(#ec-z) { box-shadow: none !important; }
html body :is(#gs, .app) #view-coach .co-tabbar:is(#gs,*):not(#ec-z) { padding: 4px 28px 0 !important; background: transparent !important; border: 0 !important; }
html body :is(#gs, .app) .tgp-tabs-wrap:is(#gs,*):not(#ec-z) { margin-bottom: 4px; }
@media (max-width: 760px) {
  html body :is(#gs, .app) #view-coach .co-tabbar:is(#gs,*):not(#ec-z) { padding: 2px 14px 0 !important; }
  html body :is(#gs, .app) :is(#view-coach .co-tabs, .tgp-tabs):is(#gs,*):not(#ec-z) { gap: 18px !important; }
  html body :is(#gs, .app) :is(#view-coach .co-tabs, .tgp-tabs) > button:is(#gs,*):not(#ec-z) { padding: 12px 0 !important; min-height: 44px !important; font-size: 14px !important; }
}

/* ---------- 3. Coach : titres de cartes avec leur icône teintée (comme les autres pages) ---------- */
html body :is(#gs, .app) #view-coach .card-head h2 > svg:is(.hi, .i):is(#gs,*):not(#ec-z) { display: inline-block !important; flex: none; box-sizing: border-box; width: 28px !important; height: 28px !important; padding: 6.5px; border-radius: 50%;
  stroke: var(--c, var(--acc)) !important; color: var(--c, var(--acc)); fill: none; background: color-mix(in srgb, var(--c, var(--acc)) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--acc)) 28%, transparent); }
html body :is(#gs, .app) #view-coach .card-head h2:is(#gs,*):not(#ec-z) { display: inline-flex !important; align-items: center; gap: 10px !important; }

/* ---------- 4. un champ de fichier propre : zone de dépôt avec icône (glisser-déposer : public/ecrans.js) ---------- */
html body :is(#gs, .app) .co-shot:is(#gs,*):not(#ec-z) { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
html body :is(#gs, .app) label.co-shot-btn:is(#gs,*):not(#ec-z) { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 13px !important; width: 100% !important; min-height: 78px; height: auto !important;
  padding: 14px 16px !important; border: 1.5px dashed var(--line-2) !important; border-radius: 12px !important; background: color-mix(in srgb, var(--fg) 2.5%, transparent) !important; color: var(--fg-2) !important; box-shadow: none !important;
  text-align: left; white-space: normal !important; font: inherit !important; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
html body :is(#gs, .app) label.co-shot-btn:hover:is(#gs,*):not(#ec-z), html body :is(#gs, .app) .ec-over label.co-shot-btn:is(#gs,*):not(#ec-z) { border-color: var(--acc-line) !important; background: var(--acc-soft) !important; }
html body :is(#gs, .app) label.co-shot-btn > svg.i:is(#gs,*):not(#ec-z) { flex: none; display: block !important; box-sizing: border-box; width: 38px !important; height: 38px !important; margin: 0 !important; padding: 9px; border-radius: 10px;
  background: var(--acc-soft); stroke: var(--acc-text) !important; color: var(--acc-text); }
html body :is(#gs, .app) .co-shot-btn .ec-drop-t:is(#gs,*):not(#ec-z) { display: grid; gap: 2px; min-width: 0; }
html body :is(#gs, .app) .co-shot-btn .ec-drop-t b:is(#gs,*):not(#ec-z) { font: 600 13.5px/1.3 Inter, system-ui, sans-serif; color: var(--fg); }
html body :is(#gs, .app) .co-shot-btn .ec-drop-t small:is(#gs,*):not(#ec-z) { font: 400 12px/1.4 Inter, system-ui, sans-serif; color: var(--muted); }
html body :is(#gs, .app) .co-shot .co-attach:not([hidden]):is(#gs,*):not(#ec-z) { margin: 0 !important; }

/* ---------- 5. Coach › Revue : « Noté sur » en pastilles, colonnes mieux réparties, « Mes revues » vide compact ---------- */
html body :is(#gs, .app) #co-audit-grid:not(:empty):is(#gs,*):not(#ec-z) { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px !important; margin: 2px 0 0 !important; }
html body :is(#gs, .app) #co-audit-grid > strong:is(#gs,*):not(#ec-z) { font: 600 12.5px/1.3 Inter, system-ui, sans-serif; color: var(--fg-2); margin-right: 2px; }
html body :is(#gs, .app) #co-audit-grid .ec-tag:is(#gs,*):not(#ec-z) { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg-2); font: 500 12px/1.35 Inter, system-ui, sans-serif; }
@media (min-width: 1000px) { html body :is(#gs, .app) #view-coach .co-pane[data-pane="revue"] > .cols:is(#gs,*):not(#ec-z) { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important; align-items: start; } }
html body :is(#gs, .app) #co-audits .ec-empty:is(#gs,*):not(#ec-z) { padding: 22px 12px 18px !important; }
html body :is(#gs, .app) .view .ec-empty > b:is(#gs,*):not(#ec-z) { display: block; margin: 0 0 4px; font: 600 14px/1.3 Inter, system-ui, sans-serif; color: var(--fg); }
html body :is(#gs, .app) .view .ec-empty > span:is(#gs,*):not(#ec-z) { display: block; max-width: 420px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ---------- 6. Coach › Conversation : raccourcis en cartes, accueil avec le symbole du coach ---------- */
html body :is(#gs, .app) #co-quick:is(#gs,*):not(#ec-z) { display: flex; flex-wrap: wrap; gap: 8px !important; }
html body :is(#gs, .app) #co-quick .tag:is(#gs,*):not(#ec-z) { display: inline-flex !important; align-items: center; gap: 9px !important; height: auto !important; min-height: 40px; padding: 6px 13px 6px 6px !important; border-radius: 11px !important;
  border: 1px solid var(--line) !important; background: var(--surface-2) !important; color: var(--fg-2) !important; font: 500 13px/1.2 Inter, system-ui, sans-serif !important; box-shadow: none !important; transition: border-color .2s ease, background .2s ease, color .2s ease; }
html body :is(#gs, .app) #co-quick .tag:hover:is(#gs,*):not(#ec-z) { border-color: var(--line-2) !important; background: var(--surface-3) !important; color: var(--fg) !important; }
html body :is(#gs, .app) #co-quick .tag > svg.i:is(#gs,*):not(#ec-z) { flex: none; box-sizing: border-box; width: 28px !important; height: 28px !important; padding: 6px; margin: 0 !important; border-radius: 8px;
  stroke: var(--c, var(--acc)) !important; color: var(--c, var(--acc)); background: color-mix(in srgb, var(--c, var(--acc)) 15%, transparent); }
html body #co-quick .tag:nth-child(5n+1) { --c: var(--c4); }
html body #co-quick .tag:nth-child(5n+2) { --c: var(--c3); }
html body #co-quick .tag:nth-child(5n+3) { --c: var(--c1); }
html body #co-quick .tag:nth-child(5n+4) { --c: var(--c2); }
html body #co-quick .tag:nth-child(5n) { --c: var(--c5); }
html body :is(#gs, .app) .view .ec-coach-empty:is(#gs,*):not(#ec-z) { display: grid !important; justify-items: center; gap: 6px; padding: 44px 16px 36px !important; text-align: center; min-height: 0 !important; }
html body :is(#gs, .app) .view .ec-coach-empty:is(#gs,*):not(#ec-z)::before, html body :is(#gs, .app) .view .ec-coach-empty:is(#gs,*):not(#ec-z)::after { display: none !important; content: none !important; }
html body :is(#gs, .app) .ec-sym:is(#gs,*):not(#ec-z) { width: 54px; height: 54px; margin: 0 0 10px; overflow: visible; }
html body .ec-sym rect { transform-box: fill-box; transform-origin: center; }
html body .ec-sym .qa { fill: var(--acc); }
html body .ec-sym .qb { fill: var(--fg); }
html[data-motion="full"] body .ec-sym .qa { animation: ec-br-a 3.4s ease-in-out infinite; }
html[data-motion="full"] body .ec-sym .qb { animation: ec-br-b 3.4s ease-in-out infinite; }
@keyframes ec-br-a { 50% { transform: translate(-5px, 5px); } }
@keyframes ec-br-b { 50% { transform: translate(5px, -5px); } }

/* ---------- 7. avertissements : un résumé court (icône + points clés), le détail dans « En savoir plus » ---------- */
html body :is(#gs, .app) .tgp-rule:is(#gs,*):not(#ec-z) { padding: 0 !important; border: 1px solid var(--line) !important; border-radius: 12px !important; background: var(--surface) !important; overflow: hidden; }
html body :is(#gs, .app) .tgp-rule > summary:is(#gs,*):not(#ec-z) { display: flex !important; align-items: center; gap: 12px !important; padding: 12px 14px !important; cursor: pointer; list-style: none; }
html body :is(#gs, .app) .tgp-rule > summary::-webkit-details-marker { display: none; }
html body :is(#gs, .app) .tgp-rule > summary > svg.i:is(#gs,*):not(#ec-z), html body :is(#gs, .app) .tgp-rule .ec-rule-i > svg.i:is(#gs,*):not(#ec-z) { flex: none; box-sizing: border-box; width: 32px !important; height: 32px !important; padding: 7px; border-radius: 10px;
  stroke: var(--c1) !important; color: var(--c1); background: color-mix(in srgb, var(--c1) 15%, transparent); }
html body :is(#gs, .app) .tgp-rule > summary > b:is(#gs,*):not(#ec-z) { flex: 1; font: 600 13.5px/1.35 Inter, system-ui, sans-serif; color: var(--fg); }
html body :is(#gs, .app) .tgp-rule > summary:is(#gs,*):not(#ec-z)::after { content: ""; flex: none; width: 16px; height: 16px; margin-left: auto; background: var(--muted); transition: transform .25s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
html body :is(#gs, .app) .tgp-rule[open] > summary:is(#gs,*):not(#ec-z)::after { transform: rotate(180deg); }
html body :is(#gs, .app) .tgp-rule > p:is(#gs,*):not(#ec-z) { margin: 0 !important; padding: 12px 16px 14px 58px !important; border-top: 1px solid var(--line); color: var(--fg-2) !important; font-size: 13px !important; line-height: 1.6 !important; max-width: 980px; }
html body :is(#gs, .app) .tgp-rule .ec-rule-m:is(#gs,*):not(#ec-z) { flex: 1; min-width: 0; display: grid; gap: 7px; }
html body :is(#gs, .app) .tgp-rule .ec-rule-m > b:is(#gs,*):not(#ec-z) { font: 600 13.5px/1.35 Inter, system-ui, sans-serif; color: var(--fg); }
html body :is(#gs, .app) .tgp-rule .ec-pts:is(#gs,*):not(#ec-z) { display: flex; flex-wrap: wrap; gap: 6px 14px; }
html body :is(#gs, .app) .tgp-rule .ec-pts > span:is(#gs,*):not(#ec-z) { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); font: 500 12.5px/1.35 Inter, system-ui, sans-serif; }
html body :is(#gs, .app) .tgp-rule .ec-pts > span:is(#gs,*):not(#ec-z)::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--c1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
html body :is(#gs, .app) .tgp-rule .ec-more:is(#gs,*):not(#ec-z) { flex: none; color: var(--muted); font: 500 12.5px/1.2 Inter, system-ui, sans-serif; white-space: nowrap; }
html body :is(#gs, .app) .tgp-rule:not([open]) .ec-more-c, html body :is(#gs, .app) .tgp-rule[open] .ec-more-o { display: none; }
@media (max-width: 760px) {
  html body :is(#gs, .app) .tgp-rule > p:is(#gs,*):not(#ec-z) { padding: 12px 14px 14px !important; }
  html body :is(#gs, .app) .tgp-rule .ec-more:is(#gs,*):not(#ec-z) { display: none; }
}

/* ---------- 8. Prospection : pays et sources en pastilles cochées, fiches nettes ---------- */
html body :is(#gs, .app) .drp-chip:is(#gs,*):not(#ec-z) { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line) !important; background: var(--surface) !important; color: var(--fg-2) !important; border-radius: 999px !important; font-weight: 500 !important; box-shadow: none !important; transition: background .2s ease, border-color .2s ease, color .2s ease; }
html body :is(#gs, .app) .drp-chip:hover:is(#gs,*):not(#ec-z) { border-color: var(--line-2) !important; color: var(--fg) !important; }
html body :is(#gs, .app) .drp-chip[aria-pressed="true"]:is(#gs,*):not(#ec-z) { background: var(--acc-soft) !important; border-color: var(--acc-line) !important; color: var(--acc-text) !important; font-weight: 600 !important; }
html body :is(#gs, .app) .drp-chip[aria-pressed="true"]:is(#gs,*):not(#ec-z)::before { content: ""; flex: none; width: 13px; height: 13px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
html body :is(#gs, .app) .drp-row:is(#gs,*):not(#ec-z) { align-items: center; }
html body :is(#gs, .app) .drp-lab:is(#gs,*):not(#ec-z) { color: var(--muted) !important; font: 500 13px/1.3 Inter, system-ui, sans-serif !important; text-transform: none !important; letter-spacing: normal !important; }
/* la note : couleur selon la note (70 et plus vert, 45 à 69 ambre, sinon gris) */
html body :is(#gs, .app) .drp-score:is(#gs,*):not(#ec-z) { min-width: 38px !important; height: 28px !important; border-radius: 9px !important; font: 700 13.5px/1 "Hanken Grotesk", Inter, sans-serif !important; font-variant-numeric: tabular-nums; background: var(--surface-3) !important; color: var(--fg-2) !important; box-shadow: inset 0 0 0 1px var(--line); }
html body :is(#gs, .app) .drp-score.hi:is(#gs,*):not(#ec-z) { background: color-mix(in srgb, var(--c1) 18%, transparent) !important; color: var(--c1) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c1) 40%, transparent); }
html body :is(#gs, .app) .drp-score.mid:is(#gs,*):not(#ec-z) { background: color-mix(in srgb, var(--c3) 18%, transparent) !important; color: var(--c3) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c3) 40%, transparent); }
html body :is(#gs, .app) .drp-cand > header:is(#gs,*):not(#ec-z) { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
html body :is(#gs, .app) .drp-cand .sx-av:is(#gs,*):not(#ec-z) { width: 30px; height: 30px; }
html body :is(#gs, .app) .drp-cand .drp-h:is(#gs,*):not(#ec-z) { font: 600 14.5px/1.2 Inter, system-ui, sans-serif; color: var(--fg); }
/* plateformes : une pastille avec le point de couleur du réseau */
html body :is(#gs, .app) .tgp-chips .ec-pf:is(#gs,*):not(#ec-z) { display: inline-flex; align-items: center; gap: 6px; }
html body :is(#gs, .app) .tgp-chips .ec-pf:is(#gs,*):not(#ec-z)::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--acc)); }
/* contact direct : une ligne par moyen de contact, avec Copier */
html body :is(#gs, .app) .drp-contact:is(#gs,*):not(#ec-z) { display: grid !important; gap: 0 !important; padding: 4px 12px !important; border-radius: 10px !important; }
html body :is(#gs, .app) .drp-contact > b:is(#gs,*):not(#ec-z) { padding: 8px 0 4px; font: 600 12.5px/1.3 Inter, system-ui, sans-serif !important; color: var(--muted) !important; text-transform: none !important; letter-spacing: normal !important; }
html body :is(#gs, .app) .drp-contact .ec-ct:is(#gs,*):not(#ec-z) { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 0; border-top: 1px solid var(--line); }
html body :is(#gs, .app) .drp-contact .ec-ct > .sx-ico:is(#gs,*):not(#ec-z) { width: 26px; height: 26px; }
html body :is(#gs, .app) .drp-contact .ec-ct > a:is(#gs,*):not(#ec-z) { flex: 1; min-width: 0; min-height: 0 !important; overflow-wrap: anywhere; }
html body :is(#gs, .app) .drp-contact .ec-ct > button:is(#gs,*):not(#ec-z) { flex: none; }
html body :is(#gs, .app) .drp-cand > footer:is(#gs,*):not(#ec-z) { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ---------- 9. assistant pas à pas : numéros lisibles, étapes faites cochées, trait de progression ---------- */
html body :is(#gs, .app) .cpw-nav:is(#gs,*):not(#ec-z) { position: relative; display: flex !important; flex-wrap: nowrap !important; gap: 4px !important; margin: 0 0 18px !important; padding: 0 0 12px !important; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; border-bottom: 1px solid var(--line); }
html body :is(#gs, .app) .cpw-nav::-webkit-scrollbar { display: none; }
html body :is(#gs, .app) .cpw-nav:is(#gs,*):not(#ec-z)::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(var(--ec-p, 0) * 100%); border-radius: 2px; background: linear-gradient(90deg, var(--acc-2), var(--acc)); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
html body :is(#gs, .app) .cpw-nav > li:is(#gs,*):not(#ec-z) { flex: none; }
html body :is(#gs, .app) .cpw-nav button:is(#gs,*):not(#ec-z) { display: inline-flex !important; align-items: center; gap: 8px !important; height: 34px; padding: 0 12px 0 5px !important; border: 1px solid transparent !important; border-radius: 999px !important;
  background: transparent !important; color: var(--muted) !important; font: 500 12.5px/1 Inter, system-ui, sans-serif !important; box-shadow: none !important; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease; }
html body :is(#gs, .app) .cpw-nav button:hover:is(#gs,*):not(#ec-z) { color: var(--fg) !important; background: var(--surface-2) !important; }
html body :is(#gs, .app) .cpw-nav button i:is(#gs,*):not(#ec-z) { position: relative; flex: none; width: 24px !important; height: 24px !important; border-radius: 50% !important; display: grid !important; place-items: center;
  background: var(--surface-3) !important; color: var(--fg-2) !important; font: 700 11.5px/1 Inter, system-ui, sans-serif !important; font-style: normal !important; transition: background .25s ease, color .25s ease; }
html body :is(#gs, .app) .cpw-nav button.done:is(#gs,*):not(#ec-z) { color: var(--fg-2) !important; }
html body :is(#gs, .app) .cpw-nav button.done i:is(#gs,*):not(#ec-z) { background: var(--acc-soft) !important; color: transparent !important; }
html body :is(#gs, .app) .cpw-nav button.done i:is(#gs,*):not(#ec-z)::after { content: ""; position: absolute; inset: 6px; background: var(--acc-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
html body :is(#gs, .app) .cpw-nav button.on:is(#gs,*):not(#ec-z) { color: var(--fg) !important; font-weight: 600 !important; background: var(--surface-2) !important; border-color: var(--acc-line) !important; }
html body :is(#gs, .app) .cpw-nav button.on i:is(#gs,*):not(#ec-z) { background: var(--acc-fill) !important; color: var(--acc-ink) !important; }
/* (avant le premier passage d'une étape à l'autre, aucune n'est marquée : la première est l'étape en cours) */
html body :is(#gs, .app) .cpw-nav:not(:has(button.on)) > li:first-child button:is(#gs,*):not(#ec-z) { color: var(--fg) !important; font-weight: 600 !important; background: var(--surface-2) !important; border-color: var(--acc-line) !important; }
html body :is(#gs, .app) .cpw-nav:not(:has(button.on)) > li:first-child button i:is(#gs,*):not(#ec-z) { background: var(--acc-fill) !important; color: var(--acc-ink) !important; }
/* cartes de choix : icône teintée + titre + description ; la carte choisie : anneau d'accent et coche */
html body :is(#gs, .app) #cpw-goals:is(#gs,*):not(#ec-z) { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important; gap: 10px !important; }
html body :is(#gs, .app) #cpw-goals [data-goal]:is(#gs,*):not(#ec-z) { position: relative; display: grid !important; grid-template-columns: auto minmax(0, 1fr); column-gap: 11px; row-gap: 3px; align-content: start; text-align: left;
  padding: 13px 34px 13px 13px !important; border: 1px solid var(--line) !important; border-radius: 12px !important; background: var(--surface) !important; color: var(--fg) !important; box-shadow: none !important; transition: border-color .2s ease, background .2s ease; }
html body :is(#gs, .app) #cpw-goals [data-goal] > .sx-ico:is(#gs,*):not(#ec-z) { grid-row: 1 / span 2; width: 34px; height: 34px; }
html body :is(#gs, .app) #cpw-goals [data-goal] > b:is(#gs,*):not(#ec-z) { grid-column: 2; font: 600 13.5px/1.3 Inter, system-ui, sans-serif; }
html body :is(#gs, .app) #cpw-goals [data-goal] > small:is(#gs,*):not(#ec-z) { grid-column: 2; color: var(--muted) !important; font-size: 12px !important; line-height: 1.45 !important; }
html body :is(#gs, .app) #cpw-goals [data-goal]:hover:is(#gs,*):not(#ec-z) { border-color: var(--line-2) !important; background: var(--surface-2) !important; }
html body :is(#gs, .app) #cpw-goals [data-goal].on:is(#gs,*):not(#ec-z) { border-color: var(--acc) !important; background: var(--acc-soft) !important; box-shadow: inset 0 0 0 1px var(--acc) !important; }
html body :is(#gs, .app) #cpw-goals [data-goal].on:is(#gs,*):not(#ec-z)::before { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--acc-fill); }
html body :is(#gs, .app) #cpw-goals [data-goal].on:is(#gs,*):not(#ec-z)::after { content: ""; position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; background: var(--acc-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 760px) { html body :is(#gs, .app) #cpw-goals:is(#gs,*):not(#ec-z) { grid-template-columns: 1fr !important; } }

/* ---------- 10. états vides : petite illustration + phrase + action, sans grand vide ---------- */
html body :is(#gs, .app) .ux-empty:is(#gs,*):not(#ec-z) { display: grid !important; justify-items: center; gap: 10px; padding: 30px 16px 26px !important; text-align: center; color: var(--muted); }
html body :is(#gs, .app) .ux-empty > svg:is(#gs,*):not(#ec-z) { box-sizing: border-box; width: 44px !important; height: 44px !important; padding: 10px; border-radius: 12px; background: var(--acc-soft); stroke: var(--acc-text) !important; color: var(--acc-text); fill: none; }
html body :is(#gs, .app) .ux-empty > p:is(#gs,*):not(#ec-z) { margin: 0 !important; color: var(--muted) !important; font-size: 13px !important; }
html body :is(#gs, .app) .ux-empty .ec-act:is(#gs,*):not(#ec-z) { margin-top: 2px; }
html body :is(#gs, .app) .gr-empty:is(#gs,*):not(#ec-z) { display: grid !important; justify-items: center; gap: 8px; padding: 30px 16px !important; text-align: center; }
html body :is(#gs, .app) .gr-empty > svg.i:is(#gs,*):not(#ec-z) { box-sizing: border-box; width: 44px !important; height: 44px !important; padding: 10px; border-radius: 12px; background: var(--acc-soft); stroke: var(--acc-text) !important; color: var(--acc-text); }
html body :is(#gs, .app) .gr-empty > b:is(#gs,*):not(#ec-z) { font: 600 14px/1.3 Inter, system-ui, sans-serif; color: var(--fg); }
html body :is(#gs, .app) .gr-empty > p:is(#gs,*):not(#ec-z) { max-width: 520px; margin: 0 !important; color: var(--muted) !important; font-size: 13px !important; line-height: 1.55 !important; }

/* ---------- 11. formulaires : libellés et « optionnel » cohérents ---------- */
html body :is(#gs, .app) :is(#view-coach, #view-prospect, #view-campaigns, #view-copilot, #view-scripts, #view-iaconfig, #view-automations, #view-trafic, #view-pipeline, #view-insta, #view-library, #view-formation, #view-croissance) .field > span > small:is(#gs,*):not(#ec-z),
html body :is(#gs, .app) :is(#view-coach, #view-prospect, #view-campaigns, #view-copilot, #view-scripts, #view-iaconfig, #view-automations, #view-trafic, #view-pipeline, #view-insta, #view-library, #view-formation, #view-croissance) label > small:is(#gs,*):not(#ec-z) { margin-left: 4px; color: var(--muted-2, var(--muted)) !important; font-weight: 400 !important; font-size: 12px !important; }

/* ---------- 12. plus aucun intitulé en CAPITALES dans ces écrans ---------- */
html body :is(#gs, .app) :is(#view-coach, #view-prospect, #view-campaigns, #view-copilot, #view-scripts, #view-iaconfig, #view-automations, #view-trafic, #view-pipeline, #view-insta, #view-library, #view-formation, #view-croissance) :is(b, strong, small, span, label, legend, dt, th, summary, p, em, h1, h2, h3, h4, h5, h6, div, a, button):is(#gs,*):not(#ec-z):not(kbd) { text-transform: none !important; }
html body :is(#gs, .app) #view-coach .co-sh h2:is(#gs,*):not(#ec-z) { letter-spacing: normal !important; font: 600 13px/1.3 Inter, system-ui, sans-serif !important; color: var(--fg-2) !important; }
html body :is(#gs, .app) :is(#view-coach, #view-prospect, #view-campaigns, #view-copilot, #view-scripts, #view-iaconfig, #view-automations, #view-trafic, #view-pipeline, #view-insta, #view-library, #view-formation, #view-croissance) :is(small, label, legend, dt, th):is(#gs,*):not(#ec-z) { letter-spacing: normal !important; }
