/* Blitztouch, la refonte (lot 1, 25/10/2026 ; spec docs/superpowers/specs/2026-10-25-refonte-cadre-aujourdhui-design.md).
   L'allure des maquettes validées par Kamel, posée sur les classes existantes : chargée après tokens.css, bundle.css et
   front.css, ce qui est ici l'emporte. Toutes les couleurs viennent des jetons de tokens.css (clair, puis sombre).
   Plan : la base ; la colonne de gauche ; la barre du haut du téléphone ; le haut des pages ; les boutons, cartes,
   pastilles, onglets, avis et champs ; « Aujourd'hui » ; le calendrier « Ce qui va partir » de « Suivi » ;
   « Campagnes », une campagne lancée et « Suivi » (lot 2) ; la cloche et ses notifications ; à la fin, les écrans plus
   petits. */

/* ---------- La base ---------- */
html, body { background: var(--surface-50); }
.as { font-size: 15px; line-height: 1.55; background: var(--surface-50); }
/* Le grain de papier des maquettes : par-dessus tout, à peine visible, sans gêner les clics. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}
.as h1, .as h2, .as h3 { text-wrap: balance; }
:where(.as) :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.as-mono { font-variant-numeric: tabular-nums; }

/* ---------- La colonne de gauche (maquette : blanche en clair, nuit en sombre ; 05/11/2026 au soir, son choix B,
   « Onglet » : gris clair, l'espace ouvert levé en blanc comme l'étape en cours de la bande du haut, une icône par
   espace, plus de trait rouge à gauche ni d'étiquette « Envoi ») ---------- */
/* X4 (lot 2) : l'isolation qui garde la lueur au-dessus du fond est ici, et plus sur .as-main : la barre du haut du
   téléphone et les fenêtres de la page (« Inviter » : son voile à 30, la fenêtre à 40) se comparent enfin entre eux. */
.as-app { grid-template-columns: var(--largeur-colonne, 236px) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; isolation: isolate; }
.as-side {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto;
  padding: 18px 14px 16px; gap: 20px; border-right: 0;
  background: var(--rail); color: var(--rail-ink); box-shadow: inset -1px 0 0 var(--rail-edge);
  scrollbar-width: thin; scrollbar-color: var(--rail-line) transparent;
}
.as-side .as-logo { padding: 4px 8px; font-size: 18px; }
.as-logo__mark { width: 28px; height: 28px; border-radius: 8px; background: var(--rail-accent); color: var(--rail-accent-ink); }
.as-side .as-word b { color: var(--rail-muted); }
.as-nav { gap: 2px; }
.as-nav__item {
  height: auto; min-height: 40px; padding: 9px 12px; border-radius: 10px; color: var(--rail-muted); font-size: 14.5px; font-weight: 550;
  transition: background-color 0.25s var(--elan), color 0.25s var(--elan);
}
.as-nav__item { gap: 11px; }
.as-nav__item:hover { background: var(--rail-survol); color: var(--rail-ink); }
.as-nav__item--active { background: var(--rail-onglet); color: var(--rail-ink); font-weight: 650; box-shadow: var(--rail-onglet-ombre); }
.as-nav__item--active:hover { background: var(--rail-onglet); }
.as-nav__icone { width: 18px; height: 18px; flex: none; color: var(--rail-muted); transition: color 0.25s var(--elan); }
.as-nav__item:hover .as-nav__icone { color: var(--rail-ink); }
.as-nav__item--active .as-nav__icone { color: var(--brand-encre); }
.as-nav__item .as-count {
  margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--rail-accent); color: var(--rail-accent-ink);
  font-size: 12px; font-weight: 700; line-height: 18px; text-align: center;
}
.sub { gap: 1px; margin: 2px 0 6px 20px; padding-left: 10px; border-left: 0; box-shadow: inset 1px 0 0 var(--rail-line); }
.subi {
  display: grid; grid-template-columns: 9px minmax(0, 1fr); column-gap: 9px; align-items: center; padding: 6px 10px; border-radius: 8px;
  color: var(--rail-muted); font-size: 13.5px; line-height: 1.35; transition: background-color 0.25s var(--elan), color 0.25s var(--elan);
}
.subi:hover { background: var(--rail-survol); color: var(--rail-ink); }
.subi__point { width: 7px; height: 7px; border-radius: 99px; background: var(--rail-line); box-shadow: inset 0 0 0 1px var(--rail-line); }
/* 28/10/2026 : le nom d'une campagne tient sur deux lignes avant d'être coupé (Kamel : « on peut pas voir tout le nom »). */
.subi__nom { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow-wrap: anywhere; line-height: 1.3; }
/* La poignée de la colonne de gauche (front.js, section 16) : son bord droit, à tirer ; double-clic pour revenir. */
.poignee-colonne {
  position: fixed; top: 0; bottom: 0; left: calc(var(--largeur-colonne, 236px) - 4px); width: 8px; z-index: 5;
  cursor: col-resize; background: transparent;
}
.poignee-colonne::after { content: ""; position: absolute; top: 0; bottom: 0; left: 3px; width: 2px; background: transparent; transition: background-color 0.15s; }
.poignee-colonne:hover::after, .poignee-colonne:focus-visible::after, .poignee-colonne.en-cours::after { background: var(--brand); }
.poignee-colonne:focus-visible { outline: none; }
@media (max-width: 860px) { .poignee-colonne { display: none; } }
.subi__etat { grid-column: 2; font-size: 11.5px; color: var(--rail-muted); }
.subi[aria-current="page"] { color: var(--rail-ink); background: transparent; font-weight: 600; }
.subi[aria-current="page"]:hover { background: var(--rail-survol); }
.subi[aria-current="page"] .subi__point { background: var(--rail-accent); box-shadow: 0 0 0 3px var(--rail-accent-soft); }
.subi.new { display: flex; align-items: center; gap: 9px; color: var(--rail-ink); font-weight: 600; white-space: nowrap; }
/* 05/11/2026 : « Nouvelle campagne », l'action de la colonne : son « + » dans un carré rouge, comme le logo. */
.subi.new .as-icon { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: var(--rail-accent); color: var(--rail-accent-ink); stroke-width: 2; }
/* 30/10/2026 (Kamel : « une longue liste ») : la liste des campagnes, repliée sous « Campagnes » (base.html) ; un clic
   l'ouvre, front.js (section 17) la referme au bout de 5 secondes sans la souris dessus. Le trait sous la liste se vide
   pendant ces 5 secondes. « Nouvelle campagne » est dessous, toujours visible. */
.camps-menu > summary { display: flex; align-items: center; gap: 11px; cursor: pointer; list-style: none; }
.camps-menu > summary::-webkit-details-marker { display: none; }
.camps-menu__nb { margin-left: auto; font-size: 12px; font-weight: 650; color: var(--rail-muted); font-variant-numeric: tabular-nums; }
.camps-menu__fleche { flex: none; width: 14px; height: 14px; margin-left: auto; transition: transform 0.3s var(--elan); }
.camps-menu__nb + .camps-menu__fleche { margin-left: 0; }
.camps-menu[open] .camps-menu__fleche { transform: rotate(180deg); }
.camps-menu[open] > .sub { animation: camps-ouvrir 0.3s var(--elan) both; }
@keyframes camps-ouvrir { from { opacity: 0; transform: translateY(-4px); } }
.camps-menu__tout { display: block; font-size: 12.5px; font-weight: 600; }
.camps-menu__minuteur { display: none; height: 2px; margin: 0 0 4px 24px; border-radius: 2px; background: var(--rail-accent); transform-origin: left; }
.camps-menu.compte .camps-menu__minuteur { display: block; animation: camps-minuteur 5s linear both; }
@keyframes camps-minuteur { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.sub--nouvelle { margin-top: 0; }
.as-side .case-abonnement { border-radius: 12px; margin: 0; }
.as-side__foot { gap: 14px; padding-top: 14px; box-shadow: inset 0 1px 0 var(--rail-line); }
.as-side__title { padding: 0; font-size: 11.5px; font-weight: 650; letter-spacing: 0.06em; color: var(--rail-muted); }
.as-side .as-send { gap: 12px; padding: 0; background: transparent; border: 0; border-radius: 0; }
.as-side .as-send__row { font-size: 13px; }
.as-side .as-send__k { color: var(--rail-ink); font-weight: 650; }  /* 05/11/2026 : « Compte LinkedIn » parle seul (sans « Envoi » au-dessus) */
.as-side .as-send__alert { border-radius: 12px; }
.as-side .as-link { color: var(--rail-ink); }
/* Les jauges : les parties en accent, les prévues hachurées ; la phrase du compteur en deux lignes. */
.as-side .as-gauge { gap: 6px; }
.as-side .as-gauge__top { font-size: 12.5px; color: var(--rail-muted); }
.as-side .as-gauge__top .as-mono { color: var(--rail-ink); font-size: 12.5px; font-weight: 700; }
.as-side .as-gauge__rail { height: 8px; background: var(--rail-line); }
.as-side .as-gauge__fill, .as-side .as-gauge--high .as-gauge__fill { background: var(--rail-accent); }
.as-side .as-gauge__fill--prevue, .as-side .as-gauge--high .as-gauge__fill--prevue {
  background: repeating-linear-gradient(135deg, var(--rail-hachure-1) 0 3px, var(--rail-hachure-2) 3px 6px);
}
.as-gauge__legende { display: grid; gap: 2px; align-items: start; font-size: 12px; line-height: 1.45; }
.as-side .as-gauge__legende { color: var(--rail-muted); }
/* La personne : ses initiales dans une pastille ronde, son nom, son adresse, « Se déconnecter ». */
.compte-connecte {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; row-gap: 1px; align-items: center;
  padding: 12px 0 0; border-top: 0; box-shadow: inset 0 1px 0 var(--rail-line);
}
.compte-connecte__initiales { grid-row: 1 / span 2; width: 32px; height: 32px; font-size: 12px; background: var(--rail-2); color: var(--rail-ink); border: 0; box-shadow: none; }
.compte-connecte__nom { font-size: 13.5px; }
.compte-connecte__email { font-size: 12px; color: var(--rail-muted); }
.compte-connecte > div, .compte-connecte > .as-small:only-child { grid-column: 1 / -1; }
.compte-connecte .as-btn--ghost { min-height: 0; height: auto; padding: 4px 0 0; color: var(--rail-muted); font-size: 12.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; background: none; }
.compte-connecte .as-btn--ghost:hover { color: var(--rail-ink); background: none; }
/* FR · EN en pastille, le thème en bouton rond. */
.as-side .affichage { justify-content: space-between; gap: 8px; padding: 0; }
.as-side .langues { gap: 2px; padding: 3px; border-radius: 999px; background: var(--rail-2); font-size: 12.5px; }
.as-side .langues a { padding: 3px 9px; border-radius: 999px; color: var(--rail-muted); font-weight: 650; }
.as-side .langues a:hover { color: var(--rail-ink); }
.as-side .langues a[aria-current="true"] { background: var(--rail-ink); color: var(--rail); }
.as-side .langues > span { display: none; }
.as-side .affichage__theme { width: 34px; height: 34px; justify-content: center; border-radius: 999px; background: var(--rail-2); color: var(--rail-ink); }
.as-side .affichage__theme .as-icon { width: 16px; height: 16px; }

/* ---------- Le haut des pages : la lueur, les titres étroits ---------- */
/* Sans isolation (X4) : la lueur (z-index -1) se range dans celle de .as-app, au-dessus de son fond. */
.as-main { position: relative; padding: 22px 32px 56px; gap: 20px; }
/* La lueur reste dans la colonne (right: 0) : rien ne dépasse à droite, sans rien couper (pas d'overflow, qui
   couperait les infobulles près des bords). */
.as-main::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: 0; top: -18%; width: min(900px, 80%); aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(closest-side, var(--lueur), transparent);
}
.as-pagehead { flex-wrap: wrap; gap: 12px 24px; }
.as-pagehead h1, .wizhead h1, .campagne-tete h1 {
  font-family: var(--police-titre); font-stretch: 100%; font-weight: 700; letter-spacing: -0.022em; line-height: 0.95;
  font-size: clamp(2.4rem, 3.4vw, 3.1rem);
}
.as-pagehead p { margin-top: 0.4rem; font-size: 16px; color: var(--ink-muted); }
.sec { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
/* L'arrivée des blocs : « backwards » (X4) et pas « both » : gardée après sa fin, elle comptait comme en cours, et chaque
   bloc restait un contexte d'empilement (ses menus passaient sous le bloc suivant). */
@media (prefers-reduced-motion: no-preference) {
  .as-main > * { animation: bt-monte 0.6s var(--elan) backwards; }
  .as-main > :nth-child(2) { animation-delay: 60ms; }
  .as-main > :nth-child(3) { animation-delay: 120ms; }
  .as-main > :nth-child(4) { animation-delay: 180ms; }
  .as-main > :nth-child(n+5) { animation-delay: 240ms; }
}
@keyframes bt-monte { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* X4 : une fenêtre (« Inviter ») et son voile n'ont pas d'arrivée : son transform la centre (bundle.css), l'arrivée le
   remplaçait et l'ouvrait en bas à droite, à moitié hors de l'écran. */
.as-main > .scrim, .as-main > .sheet { animation: none; }
/* Relecture du 26/10 : sans l'isolation de .as-main (X4), les bulles d'aide (30 dans front.css) passaient au-dessus de
   la barre du haut du téléphone (25) et de son menu ouvert. Sous elle, au-dessus des menus « ··· » (20). */
.anneau .bulle, .info .bulle { z-index: 24; }
/* Une page qui se recharge seule toutes les 5 s (base.html) : sans arrivée, sinon elle clignoterait. */
.as-main[data-sans-arrivee] > *, .as-main[data-sans-arrivee] .tuile__plein { animation: none; }

/* ---------- Les boutons : des pastilles ---------- */
.as-btn {
  height: auto; min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: background-color 0.25s var(--elan), box-shadow 0.25s var(--elan), color 0.25s var(--elan), transform 0.3s var(--elan);
}
.as-btn:active:not([disabled]) { transform: scale(0.97); }
.as-btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 14px 30px -16px var(--brand); }
.as-btn--primary:hover { background: var(--brand-hover); }
.as-btn--secondary { background: var(--surface-0); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.as-btn--secondary:hover { background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--ink); }
.as-btn--ghost { color: var(--ink-muted); }
.as-btn--ghost:hover { background: var(--surface-100); color: var(--ink); }
.as-btn--sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.bigbtn { min-height: 48px; padding: 0 22px; font-size: 15px; }
.as-btn[disabled] { box-shadow: none; }
.as-link { color: var(--brand-encre); }

/* ---------- Les cartes, les pastilles, les onglets, les avis, les champs ---------- */
.as-card { border-radius: var(--radius-md); }
.as-card > :first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.as-card > :last-child { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
.as-chip { height: auto; min-height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.as-chip--on { background: var(--brand-soft); color: var(--brand-encre); box-shadow: inset 0 0 0 1px var(--brand); }
.as-count { font-weight: 700; }
.as-tabs { gap: 6px; border-bottom: 0; flex-wrap: wrap; }
.as-tab {
  min-height: 38px; padding: 0 15px; margin: 0; border: 0; border-radius: 999px; background: var(--surface-0); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; transition: background-color 0.3s var(--elan), color 0.3s var(--elan), box-shadow 0.3s var(--elan);
}
.as-tab:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
/* « a.as-tab » (front.css) garde la couleur du texte : l'onglet choisi la reprend ici, sinon son nom disparaît. */
.as-tab--on, a.as-tab--on { background: var(--ink); color: var(--surface-50); box-shadow: none; }
.as-tab--on:hover { box-shadow: none; }
.as-tab .as-count { padding: 1px 7px; background: var(--surface-100); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.as-tab--on .as-count { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.as-notice { border-radius: 12px; font-size: 13.5px; }
.as-input, .as-textarea, .as-select { border-radius: 12px; }
/* Les pastilles des initiales gardent leur taille (30 et 40 px) : les colonnes des lignes sont faites pour elles. */
.as-avatar { border: 0; background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.sheet { border-radius: 22px; }
.pied-collant, .pied-carte--collant { border-radius: 20px; }

/* ---------- « Aujourd'hui » (maquette « Aujourd'hui repensé ») ---------- */
/* Les annonces « Hot » : un bandeau fin. */
.bandeau-hot { border-radius: 16px; }
.bandeau-hot__corps { gap: 10px 14px; padding: 8px 10px 8px 14px; }
.bandeau-hot__texte { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.point-reponse { background: var(--brand); }
/* « Où en est » (lot 2, A1-A3 ; maquette .point, .pt-*) : replié, chaque étape avec son nombre en grand, les
   rendez-vous en accent ; « Voir le détail » et sa flèche, qui tourne à l'ouverture ; ouvert, trois cartes côte à côte
   (une colonne sous 1 100 px), le moment de chaque ligne en mono au-dessus de son texte. Les écarts du haut de la page
   sont ceux de la maquette (la colonne de la page en met 20 px partout). */
.as-main > .bandeau-hot { margin-top: -6px; margin-bottom: 0; }
.as-main > .onglets-aujourdhui { margin-top: -8px; }
.as-main > .point-replie { margin-top: -10px; }
.as-main > .boite { margin-top: -6px; }
.point-replie { margin-bottom: 0; border: 0; border-radius: 16px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); }
.point-replie__resume { align-items: center; gap: 8px 18px; padding: 9px 16px; }
.point-replie__morceau { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.point-replie__morceau .as-label { font-size: 11.5px; font-weight: 650; letter-spacing: 0.06em; }
.point-replie__etapes { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.point-replie__etape { display: inline-flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--ink-muted); }
.point-replie__etape b { font-family: var(--font-mono); font-size: 17px; font-weight: 700; color: var(--ink); }
.point-replie__etape--rdv b { color: var(--brand-encre); }
.point-replie__attend { font-size: 13.5px; }
.point-replie__voir { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--brand-encre); font-size: 13px; font-weight: 600; }
.point-replie[open] .point-replie__voir { visibility: visible; }
.point-replie__fleche { width: 14px; height: 14px; transition: transform 0.4s var(--elan); }
.point-replie[open] .point-replie__fleche { transform: rotate(180deg); }
.point-replie__detail { gap: 12px; padding: 4px 16px 16px; }
.point-replie__tete, .point-replie__rien { margin: 0; }
.point-replie__cartes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; }
.point-replie__carte { min-width: 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); }
.point-replie__carte h3 { margin: 0 0 6px; font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.point-replie__carte .point__lignes { display: grid; gap: 10px; }
/* Une ligne : le moment (mono) et la pastille sur la 1re rangée, le texte dessous, puis son lien et ses personnes. */
.point-replie__carte .point__ligne { gap: 4px 8px; padding: 0; font-size: 13.5px; }
.point-replie__carte .point__ligne + .point__ligne { border-top: 0; }
.point-replie__carte .point__quand { order: 1; flex: 1 1 auto; width: auto; font-family: var(--font-mono); font-size: 12.5px; font-weight: 400; color: var(--ink-muted); }
.point-replie__carte .point__ligne > .as-pill { order: 2; }
.point-replie__carte .point__texte { order: 3; flex: 1 1 100%; }
.point-replie__carte .point__ligne > .as-btn { order: 4; margin-top: 2px; }
.point-replie__carte .point__personnes { order: 5; margin-top: 4px; border: 0; border-radius: 10px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); }
.point-replie__carte .point__personne { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 8px 10px; }
.point-replie__carte .point__personne + .point__personne { border-top: 0; box-shadow: inset 0 1px 0 var(--line); }
.point-replie__carte .point__personne > .as-avatar { grid-row: span 2; }
.point-replie__carte .point__personne > .as-small { grid-column: 2; }
/* La boîte : la file à gauche, la décision à droite. */
.boite { grid-template-columns: clamp(300px, 24%, 600px) minmax(0, 1fr); gap: 20px; }  /* maquette .work (lot 2, A16) ; 30/10/2026 (Kamel, 34 pouces) : la file suit la largeur de l'écran */
.boite__liste { gap: 10px; padding: 10px; border: 0; border-radius: 20px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); }
.cv-moities { margin: 0; padding: 4px; border-radius: 999px; background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); }
/* Vu par Kamel le 26/10 : la bascule est le 1er enfant d'une carte ; la règle des coins hérités (plus haut) ajoutait
   20 px à ses coins du haut, et le navigateur, réduisant tous les rayons d'un même facteur, les rendait presque carrés :
   une forme bizarre, d'où la pastille choisie sortait. */
.boite__liste > .cv-moities { border-radius: 999px; }
.cv-moitie { min-height: 36px; border: 0; border-radius: 999px; color: var(--ink-muted); font-size: 13.5px; transition: background-color 0.3s var(--elan), color 0.3s var(--elan); }
.cv-moitie--on { background: var(--ink); color: var(--surface-50); border: 0; }
.cv-moitie--on .as-mono { color: inherit; }
.cv-badge { padding: 0 6px; font-size: 11.5px; font-weight: 700; line-height: 18px; }
.boite__filtres { padding: 0 2px; border-bottom: 0; }
.boite__lignes { display: grid; align-content: start; gap: 4px; }
.cv-lignes { display: grid; gap: 4px; }
.boite__ligne {
  position: relative; grid-template-columns: 38px minmax(0, 1fr); padding: 10px 10px 10px 12px; border-bottom: 0; border-radius: 14px;
  transition: background-color 0.25s var(--elan);
}
.cv-lignes .boite__ligne { grid-template-columns: 38px minmax(0, 1fr) auto; }
.boite__ligne:hover { background: var(--surface-100); }
.boite__ligne--on, .boite__ligne--on:hover { background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line-strong); }
.boite__ligne--on::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.boite__ligne .as-avatar { width: 38px; height: 38px; }
.boite__haut b { font-size: 14px; }
.boite__apercu { font-size: 13px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cv-groupe { padding: 10px 6px 4px; font-size: 11.5px; }
/* Une ligne de la file des décisions (lot 2, A16 ; maquette .qitem, .q-top) : le nom, la flamme « Hot » et la sorte (ou
   « À relire » en pastille orangée) côte à côte ; un lot a son icône. La file des conversations garde l'heure à droite. */
:is(ol.boite__lignes, .lignes-decisions) .boite__haut { justify-content: flex-start; }
:is(ol.boite__lignes, .lignes-decisions) .boite__haut b { font-weight: 650; }
:is(ol.boite__lignes, .lignes-decisions) .boite__haut > .as-small { font-size: 12px; white-space: nowrap; }
.boite__lot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-encre); }
.boite__lot .as-icon { width: 19px; height: 19px; }
.boite__hot { flex: none; gap: 0; height: auto; padding: 1px 6px; font-size: 11px; }
.boite__relire, .boite__ligne .boite__relire { flex: none; height: auto; padding: 2px 9px; background: var(--avertir-fond); color: var(--avertir-encre); font-size: 12px; font-weight: 650; }
.boite__clavier { margin: 2px 4px 0; padding: 10px 0 0; border-top: 0; box-shadow: inset 0 1px 0 var(--line); }
.boite__vide { padding: 10px 6px; }
/* La décision : la carte dans sa double coque, « Valider » en grande pastille, l'éditeur arrondi. */
/* « À décider » et sa position juste à côté (lot 2 ; maquette .stage-head). */
.boite__detail .row-head { justify-content: flex-start; align-items: baseline; gap: 12px; margin: 2px 4px 2px; }
.boite__detail .row-head .sec { font-size: 16px; }
.boite__detail .row-head .as-small { font-size: 13px; }
.boite__detail .row-head .as-mono { font-size: 13px; font-weight: 700; color: var(--ink); }
.boite__detail .carte-decision, .boite__detail .cv-fil {
  margin: 8px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 0 0 7px var(--shell), 0 0 0 8px var(--line), var(--ombre);
}
.carte-decision .as-card__body { gap: 13px; padding: 18px 20px; }
.carte-decision .as-prospect__name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
/* L'en-tête (lot 2, A4 ; maquette .dc-head, .who, .ring) : l'avatar, la personne, sa note en anneau. */
.carte-decision__tete { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; grid-auto-flow: column; gap: 14px; align-items: center; }
.carte-decision__tete > :only-child, .carte-decision__tete > .carte-decision__qui:first-child { grid-column: 1 / 3; }
.carte-decision__tete .as-avatar--lg { width: 46px; height: 46px; font-size: 15px; letter-spacing: 0.02em; }
.carte-decision__qui { display: grid; gap: 2px; min-width: 0; }
.carte-decision__qui .as-prospect__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; line-height: 1.3; }
.carte-decision__qui .lien-profil, .ligne-lot__corps .lien-profil {
  color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%;
  background-repeat: no-repeat; background-size: 0 1px; transition: background-size 0.35s var(--elan);
}
.carte-decision__qui .lien-profil:hover, .ligne-lot__corps .lien-profil:hover { color: inherit; background-size: 100% 1px; }
.carte-decision__qui .as-pill--hot { gap: 5px; height: auto; padding: 2px 9px; font-weight: 650; letter-spacing: 0; }
.carte-decision__details { font-size: 13.5px; }
.carte-decision__tete .carte-campagne { font-size: 12.5px; font-weight: 400; color: var(--ink-muted); }
.carte-decision__tete .carte-campagne b { font-weight: 600; color: var(--ink); }
.carte-decision__note {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--note, 0) * 10%), var(--line) 0);
}
.carte-decision__note::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface-0); }
.carte-decision__note .as-mono { position: relative; font-size: 15px; font-weight: 700; }
.carte-decision__note small { font-size: 10px; font-weight: 500; color: var(--ink-muted); }
.carte-decision__tete--lot { grid-template-columns: 52px minmax(0, 1fr); }
.carte-decision__lot { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); color: var(--brand-encre); }
.carte-decision__lot .as-icon { width: 24px; height: 24px; }
/* La sorte en pastille sombre, suivie de sa phrase (lot 2, A5 ; maquette .dc-kind, .kind). */
.carte-decision__sorte { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 13.5px; color: var(--ink-muted); }
.carte-decision__genre { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; background: var(--ink); color: var(--surface-50); font-size: 12.5px; font-weight: 650; }
.carte-decision .as-label { font-size: 11.5px; letter-spacing: 0.06em; }
.carte-decision .citation { padding: 12px 14px; border-left: 0; border-radius: 12px; background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.carte-decision .why { border: 0; border-radius: 12px; background: var(--brand-soft); }
/* Deux colonnes dès 760 px de carte (lot 2, A6 ; maquette .dc-grid, .dc-main, .dossier) : le texte et ses boutons à
   gauche, le dossier ouvert à droite (264 px). Le formulaire de « Valider » s'efface de la mise en page (display:
   contents) : ses boutons et « Refaire », « Rejeter » (des formulaires à part) partagent une rangée, ceux-ci à droite. */
.boite__detail { container-type: inline-size; }
.carte-decision__grille { display: grid; gap: 16px; }
.carte-decision__principal { display: flex; flex-wrap: wrap; align-items: center; align-content: start; gap: 14px; min-width: 0; }
.carte-decision__principal > *, .carte-decision__formulaire > * { flex: 1 1 100%; min-width: 0; margin: 0; }
.carte-decision__formulaire { display: contents; }
.carte-decision__formulaire > .as-card__foot { flex: 0 1 auto; }
.carte-decision__principal > .secondaires { flex: 0 1 auto; margin-left: auto; }
.carte-decision__dossier {
  display: grid; gap: 14px; align-content: start; padding: 16px; border-radius: 16px; background: var(--surface-100);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px;
}
.carte-decision__dossier h3 { margin: 0 0 6px; font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.carte-decision__dossier ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.carte-decision__dossier p { margin: 0; }
.carte-decision__pourquoi li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.carte-decision__pourquoi .as-icon { width: 14px; height: 14px; margin-top: 3px; color: var(--brand-encre); }
.carte-decision__faits li { display: grid; gap: 1px; }
.carte-decision__faits li > .as-link, .carte-decision__faits li > .as-muted { font-size: 12px; color: var(--ink-muted); }
.carte-decision__pli > summary { display: inline-flex; flex-direction: row-reverse; gap: 6px; color: var(--brand-encre); font-size: 13px; font-weight: 600; }
.carte-decision__pli > summary:hover { color: var(--brand-encre); }
.carte-decision__pli .faits { margin-top: 8px; padding: 0; list-style: none; }
.carte-decision__pli li { font-size: 13px; color: var(--ink-muted); }
/* « À relire » (A12 ; maquette .notice) et ce qu'il faut pour décider : le message relancé (A10, .quote), le signal (A11). */
.carte-decision .as-notice--validate {
  gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--avertir-fond); color: var(--avertir-encre);
  box-shadow: inset 0 0 0 1px var(--avertir-trait); font-size: 13.5px; line-height: 1.5;
}
.carte-decision .as-notice--validate .as-icon { flex: none; width: 17px; height: 17px; margin-top: 1px; }
.carte-decision .recue { gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); }
.carte-decision .recue > .as-label { font-size: 12px; font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--ink-muted); }
.carte-decision .recue .citation { padding: 0; border-radius: 0; background: none; box-shadow: none; font-size: 14px; }
/* 27/10/2026 : la carte d'une relance, comme une discussion : le message relancé en bulle (le style du fil), au-dessus
   de la relance proposée. */
.carte-relance__fil { border-radius: 12px; background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); }
.carte-relance__fil .cv-bulles { padding: 12px 14px; }
.signal-carte { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); }
.signal-carte__tete { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; }
.signal-carte__tete .as-icon { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--brand-encre); }
.signal-carte__extrait { margin: 0; font-size: 13.5px; font-style: normal; color: var(--ink-muted); }
.signal-carte__source { display: inline-flex; align-items: center; gap: 4px; justify-self: start; color: var(--brand-encre); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.signal-carte__source:hover { text-decoration: underline; text-underline-offset: 3px; }
.signal-carte__source .as-icon { width: 13px; height: 13px; }
/* L'éditeur (A7 ; maquette .editor, .ed-bar) : 17 px, interligne 1,62 ; le compte en mono, orangé hors fourchette. */
.carte-decision .as-editor, .cv-composeur .as-editor {
  border: 0; border-radius: 16px; background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.25s var(--elan), box-shadow 0.25s var(--elan);
}
.carte-decision .as-editor:focus-within, .cv-composeur .as-editor:focus-within { background: var(--surface-0); box-shadow: inset 0 0 0 2px var(--brand); }
/* 27/10/2026 (Kamel : « je vois deux rectangles rouges ») : le cadre de l'éditeur montre déjà le focus ; la zone de texte
   n'ajoute pas le sien par-dessus. */
.carte-decision .as-editor .as-editor__text:focus-visible, .cv-composeur .as-editor .as-editor__text:focus-visible { outline: none; }
/* Le texte entier, sans défiler (les navigateurs qui savent le faire ; ailleurs, ses 5 lignes et la poignée). */
.carte-decision .as-editor__text { min-height: 7.2em; padding: 14px 18px 4px; font-size: 17px; line-height: 1.62; field-sizing: content; }
.carte-decision .as-editor__bar, .cv-composeur .as-editor__bar { gap: 4px 12px; padding: 4px 18px 10px; border-top: 0; font-size: 12.5px; }
.carte-decision .as-editor__bar .as-small { font-size: 12.5px; line-height: 1.5; }
.carte-decision .caracteres.hors, .cv-composeur .caracteres.hors { color: var(--avertir-encre); font-weight: 650; }
.cv-editeur { box-shadow: inset 0 0 0 1.5px var(--status-validate-mark); }
/* Le jour du départ (A8 ; maquette .when). */
.carte-decision__depart { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-muted); }
.carte-decision__depart .as-icon { flex: none; width: 16px; height: 16px; color: var(--brand-encre); }
/* Les boutons (A9 ; maquette .btn-val, .btn-ghost, .btn-quiet, .definitif) : « Valider » et ses touches V V, « Passer »
   cerclé et sa flèche, « Refaire » et « Rejeter » discrets ; la confirmation de « Rejeter » flotte au-dessus. */
.carte-decision .as-card__foot { padding: 0; border-top: 0; gap: 8px; }
.carte-decision .secondaires { padding: 0; gap: 2px; }
.carte-decision .bigbtn[data-valider] { gap: 10px; min-height: 50px; padding: 0 10px 0 20px; font-size: 15.5px; font-weight: 650; }
.carte-decision .bigbtn[data-valider] > .as-icon { width: 17px; height: 17px; }
/* Le 1er appui sur V (front.js) cercle « Valider » : l'ombre de la pastille (plus haut) effaçait cet anneau. */
.as-btn--primary.valider--arme { box-shadow: 0 0 0 3px var(--brand-soft), 0 0 0 5px var(--brand), 0 14px 30px -16px var(--brand); }
.cv-envoyer .bigbtn[data-valider] { min-height: 50px; padding: 0 24px; font-size: 15.5px; }
.carte-decision__touches { display: inline-flex; gap: 3px; margin-left: 4px; }
.carte-decision__touches kbd {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.18); color: inherit; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
}
[data-theme="dark"] .carte-decision__touches kbd { background: rgba(24, 19, 10, 0.14); }
.carte-decision .carte-decision__passer {
  gap: 7px; min-height: 44px; padding: 0 16px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.carte-decision .carte-decision__passer:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.carte-decision .secondaires .as-btn--ghost { gap: 6px; min-height: 40px; padding: 0 12px; font-size: 13.5px; font-weight: 600; }
.carte-decision .secondaires details.definitif { position: relative; }
.carte-decision .secondaires details.definitif[open] > summary { margin-bottom: 0; background: var(--surface-100); color: var(--ink); }
.carte-decision .secondaires details.definitif > form {
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 3; display: block; width: max-content; max-width: 260px; padding: 10px;
  border-radius: 14px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line-strong), var(--ombre);
}
.carte-decision .secondaires details.definitif > form .as-btn {
  width: 100%; min-height: 40px; padding: 0 14px; background: var(--ink); color: var(--surface-50); box-shadow: none; font-size: 13.5px; font-weight: 650;
}
.carte-decision .creneau { border-radius: 999px; padding: 3px 10px; }
/* Le lot de relances (A13 ; maquette .lot, .lot-note) : chaque personne dans son encadré, la phrase sous les boutons. */
.carte-decision .ligne-lot {
  grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; border-bottom: 0; border-radius: 14px;
  background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer;
}
.carte-decision .ligne-lot input[type="checkbox"] { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand); }
.ligne-lot__corps { display: grid; gap: 2px; min-width: 0; }
.ligne-lot__corps b { font-size: 14px; }
.ligne-lot__entreprise { font-size: 13px; font-weight: 400; color: var(--ink-muted); }
.ligne-lot__corps .texte-libre { font-size: 14px; color: var(--ink-muted); }
.carte-decision .ligne-lot__modifier { font-size: 12.5px; font-weight: 600; }
.carte-decision__lot-formulaire > .as-card__foot { margin-top: 6px; }
.carte-decision__note-du-lot { margin: 0; font-size: 13px; }
/* Les autres décisions en pile derrière la carte (A14 ; maquette .stack, .peek). */
.carte-pile { position: relative; padding-bottom: 22px; }
.carte-pile > .carte-decision { position: relative; z-index: 1; }
.carte-pile__dos {
  position: absolute; left: 18px; right: 18px; bottom: 11px; height: 60px; border-radius: 22px; background: var(--surface-0);
  box-shadow: inset 0 0 0 1px var(--line); opacity: 0.75;
}
.carte-pile__dos + .carte-pile__dos { left: 36px; right: 36px; bottom: 0; opacity: 0.45; }
/* « Rien à décider » (A15 ; maquette .empty) : le grand rond coché, le titre étroit, la phrase, les boutons. */
.aujourdhui-vide { border: 0; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.aujourdhui-vide .empty { align-items: flex-start; gap: 12px; padding: 34px; text-align: left; }
.aujourdhui-vide__rond {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 999px; background: var(--brand); color: var(--on-brand);
  animation: bt-rond 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.aujourdhui-vide__rond .as-icon { width: 26px; height: 26px; }
.aujourdhui-vide h2 { margin: 0; font-family: var(--police-titre); font-stretch: 100%; font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.aujourdhui-vide p { margin: 0; max-width: 52ch; }
@keyframes bt-rond { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
/* Le fil d'une conversation : ses messages en bulles claires, les tiens en encre, ceux qui partent hachurés d'accent. */
.cv-tete { border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line); padding: 16px 18px; }
.cv-messages { background: var(--surface-100); }
.cv-bulle { padding: 9px 13px; }
.cv-bulle--elle { border: 0; border-radius: 16px 16px 16px 6px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); }
.cv-bulle--moi { border-radius: 16px 16px 6px 16px; background: var(--ink); color: var(--surface-50); }
.cv-bulle--moi .cv-bulle__pied { color: inherit; opacity: 0.75; }
.cv-bulle--part { background: var(--brand-soft); color: var(--ink); border: 1.5px dashed var(--brand); }
.cv-bulle--part .cv-bulle__pied { color: var(--brand-encre); opacity: 1; }
.cv-bulle--a_verifier, .cv-bulle--echec { background: var(--status-failed-bg); color: var(--status-failed-ink); }
.cv-bulle--a_verifier .cv-bulle__pied, .cv-bulle--echec .cv-bulle__pied { color: var(--status-failed-ink); opacity: 1; }
.cv-jour span { border: 0; box-shadow: inset 0 0 0 1px var(--line); }
.cv-composeur { border-top: 0; box-shadow: inset 0 1px 0 var(--line); padding: 14px 18px 16px; }
.cv-tag { padding: 1px 9px; }

/* ---------- « Ce qui va partir », en haut de « Suivi » (maquette choisie par Kamel le 25/10/2026) ---------- */
/* Deux semaines, une tuile par jour : le total, un trait partagé entre invitations, messages et relances (à l'échelle :
   plein à 40 envois), les chiffres, le 1er rendez-vous ; le jour choisi montre son détail en dessous. */
.planning { display: grid; gap: 14px; scroll-margin-top: 16px; }
.planning__tete { display: grid; gap: 4px; }
.planning__tete p { margin: 0; max-width: 72ch; }
.planning__resume, .planning__cles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.planning .cle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px;
  background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600;
}
.planning .cle b { font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.serie { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 3px; }
.serie--invitation { background: var(--serie-invitation); }
.serie--message { background: var(--serie-message); }
.serie--relance { background: var(--serie-relance); }
.serie--commentaire { background: var(--serie-message); border-radius: 50%; } /* 28/10/2026 : un commentaire validé */
.serie--rdv { background: var(--serie-rdv); border-radius: 2px; transform: rotate(45deg) scale(0.85); }
.serie--acceptation { background: repeating-linear-gradient(135deg, var(--serie-message) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--serie-message); }
/* La double coque des maquettes. */
.planning__coque { padding: 6px; border-radius: 26px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); }
.planning__coeur { display: grid; gap: 14px; padding: 20px; border-radius: 20px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); }
.planning__legende { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-muted); }
.planning__legende span { display: inline-flex; align-items: center; gap: 6px; }
.planning__jours, .planning__grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.planning__jours { font-size: 11.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); text-align: center; }
.planning__semaine { margin: 4px 2px -6px; font-size: 11.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
/* Une tuile : un lien vers son jour. */
.tuile {
  position: relative; display: grid; align-content: start; gap: 8px; min-height: 132px; padding: 12px 12px 10px; border-radius: 18px;
  background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; overflow: hidden;
  transition: box-shadow 0.3s var(--elan), transform 0.3s var(--elan), background-color 0.3s var(--elan);
}
.tuile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--ombre); }
.tuile:active { transform: translateY(0) scale(0.98); }
.tuile--choisie, .tuile--choisie:hover { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand); }
.tuile__date { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; font-size: 11.5px; color: var(--ink-muted); }
.tuile__date > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tuile__date b { min-width: 28px; padding: 1px 7px; border-radius: 999px; font-family: var(--police-titre); font-stretch: 100%; font-size: 17px; color: var(--ink); text-align: center; }
.tuile--aujourdhui .tuile__date b { background: var(--brand); color: var(--on-brand); }
.tuile__chiffre { display: flex; align-items: baseline; gap: 5px; font-size: 12px; color: var(--ink-muted); }
.tuile__total { font-family: var(--police-titre); font-stretch: 100%; font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tuile__piste { position: relative; height: 10px; border-radius: 0 4px 4px 0; background: var(--piste); overflow: hidden; }
.tuile__plein { position: absolute; top: 0; bottom: 0; left: 0; display: flex; gap: 2px; transform-origin: left; }
.tuile__seg { display: block; min-width: 3px; }
.tuile__seg:last-child { border-radius: 0 4px 4px 0; }
.tuile__seg--invitation { background: var(--serie-invitation); }
.tuile__seg--message { background: var(--serie-message); }
.tuile__seg--relance { background: var(--serie-relance); }
.tuile__compte { display: flex; flex-wrap: wrap; gap: 2px 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.tuile__compte span { display: inline-flex; align-items: center; gap: 4px; }
.tuile__compte .serie { width: 7px; height: 7px; border-radius: 2px; }
.tuile__rdv { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 18px; font-size: 11.5px; font-weight: 650; color: var(--ink-muted); white-space: nowrap; }
.tuile__rdv > span { overflow: hidden; text-overflow: ellipsis; }
.tuile__rdv .serie { width: 8px; height: 8px; }
.tuile__vide { margin-top: 8px; font-size: 12.5px; color: var(--ink-muted); }
.tuile--repos { background: repeating-linear-gradient(135deg, var(--line) 0 2px, transparent 2px 8px), var(--surface-100); }
.tuile--pause .tuile__seg { background: var(--trait-en-pause); }
.tuile--pause .tuile__total { color: var(--ink-muted); }
.tuile__pause {
  position: absolute; right: 10px; bottom: 10px; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: var(--surface-50);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.planning__echelle { margin: -4px 2px 0; }
/* Le détail du jour choisi. */
.planning__detail { display: grid; gap: 12px; padding-top: 16px; box-shadow: inset 0 1px 0 var(--line); }
.planning__detail-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.planning__detail-tete h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.planning__detail-tete h3 small { color: var(--ink-muted); font-size: 14px; font-weight: 500; }
.planning__cles .cle { min-height: 30px; font-size: 12.5px; }
.planning__liste { display: grid; margin: 0; padding: 0; list-style: none; }
.planning__ligne { display: grid; grid-template-columns: 124px 128px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 4px; box-shadow: inset 0 -1px 0 var(--line); font-size: 14px; }
.planning__ligne:last-child { box-shadow: none; }
/* 28/10/2026 (Kamel) : la pastille « Hot » à droite de la ligne. */
.planning__ligne > .as-pill--hot { justify-self: end; }
.planning__heure { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.planning__heure--jour { color: var(--ink-muted); font-size: 13px; font-weight: 500; }
.planning__genre { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.planning__qui { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.planning__qui b { font-weight: 650; }
.planning__qui small { color: var(--ink-muted); font-size: 12.5px; }
.planning__autres { display: grid; gap: 10px; }
.planning__autres > summary { justify-self: start; list-style: none; cursor: pointer; }
.planning__autres > summary::-webkit-details-marker { display: none; }
.planning__autres[open] > summary { display: none; }
.planning__vide { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--surface-100); color: var(--ink-muted); font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .tuile__plein { animation: bt-pousse 0.9s var(--elan) both; animation-delay: calc(var(--rang, 0) * 45ms + 100ms); }
}
@keyframes bt-pousse { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- « Campagnes » (lot 2, C1-C9 ; maquette campagnes-et-suivi.html, écran 1 : .top, .cgrid, .ccard…) ---------- */
/* Le haut (C1) : la phrase et ses nombres (« en cours » en gras) ; « Nouvelle campagne » et son rond « + » (.btn-main). */
.campagnes-tete p { max-width: 54ch; margin-top: 0.35rem; }
.campagnes-tete p b { color: var(--ink); font-weight: 650; }
.btn-rond { gap: 10px; min-height: 44px; padding: 0 8px 0 18px; font-size: 14.5px; font-weight: 650; white-space: nowrap; }
.btn-rond:active:not([disabled]) { transform: scale(0.95); }
.btn-rond__rond {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, 0.18);
  transition: transform 0.35s var(--elan);
}
.btn-rond__rond .as-icon { width: 1em; height: 1em; }
.btn-rond:hover .btn-rond__rond { transform: translateX(2px) rotate(-8deg); }
/* Les cartes en grille (C2) : trois colonnes à 1 440 px, une seule sur un téléphone (jamais plus large que la page). */
.as-main > .camps { margin-top: 2px; }  /* 22 px sous le haut, comme la maquette (la colonne en met déjà 20) */
.camps { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
/* 30/10/2026 (Kamel, écran de 34 pouces) : sur un très grand écran, des cartes plus larges. */
@media (min-width: 2200px) { .camps { grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); } }
/* La double coque (C3), qui se soulève au survol. */
.ccard {
  position: relative; padding: 6px; border: 0; border-radius: 24px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.45s var(--elan), box-shadow 0.45s var(--elan);
}
.ccard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--ombre); }
.ccard > .ccard-in {
  height: 100%; box-sizing: border-box; display: grid; gap: 14px; align-content: start; padding: 18px; border-radius: 18px;
  background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line);
}
/* L'en-tête (C4) : le nom en titre étroit, l'objectif dessous, l'état en pastille à point (.pill). */
.c-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.c-qui { min-width: 0; }
.c-head h2 {
  margin: 0; font-family: var(--police-titre); font-stretch: 100%; font-size: 1.65rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  overflow-wrap: anywhere;
}
.c-qui .c-obj { margin: 6px 0 0; font-size: 13px; color: var(--ink-muted); }  /* .c-qui : plus fort que « .as p » */
.c-head .as-pill { flex: none; gap: 6px; height: auto; padding: 2px 10px; font-size: 12px; font-weight: 650; line-height: 1.55; }
.c-head .as-pill__mark { display: none; }
.c-head .as-pill::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.c-head .as-pill--accepted { background: var(--ok-fond); color: var(--ok-encre); }
/* Le chemin en petit (C5, .mini) : cinq colonnes, le nombre en mono, un trait de 4 px à l'échelle de la page, son nom ;
   les rendez-vous en accent. */
.mini { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.mini__etape { display: grid; gap: 5px; }
.mini__etape b { font-family: var(--font-mono); font-size: 18px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.mini__etape i { display: block; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.mini__etape i::after { content: ""; display: block; width: var(--w, 0%); height: 100%; border-radius: 99px; background: var(--brand); transform-origin: left; }
.mini__etape span { font-size: 11px; line-height: 1.2; color: var(--ink-muted); }
.mini__etape--rdv b { color: var(--brand-encre); }
@media (prefers-reduced-motion: no-preference) {
  .mini__etape i::after { animation: bt-pousse 0.9s var(--elan) both; animation-delay: calc(var(--d, 0) * 80ms + 200ms); }
}
/* Ce qui attend (C6, .c-next), ou l'étape d'une campagne pas encore lancée (R1), dans sa bande grise. */
.c-next { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 12px; background: var(--surface-100); font-size: 13.5px; }
.c-next .as-icon { flex: none; width: 16px; height: 16px; color: var(--brand-encre); }
/* R1 : les groupes et les personnes en une ligne discrète, qui déplie les trois jauges (pas dans la maquette). */
.c-plus > summary {
  display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; font-size: 12.5px; color: var(--ink-muted);
  transition: color 0.25s var(--elan);
}
.c-plus > summary::-webkit-details-marker { display: none; }
.c-plus > summary:hover { color: var(--ink); }
.c-plus__fleche { width: 13px; height: 13px; transition: transform 0.4s var(--elan); }
.c-plus[open] .c-plus__fleche { transform: rotate(180deg); }
.c-plus .minis { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
/* Le pied (C7, .c-foot) : « N Hot » (.hot), « Ouvrir » et sa flèche (.btn-sm), à droite. */
.c-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.c-foot .as-pill--hot { gap: 5px; height: auto; padding: 2px 9px; font-size: 12px; font-weight: 650; line-height: 1.55; }
.c-foot .as-pill--hot .as-pill__mark { color: inherit; }
.c-ouvrir { gap: 7px; min-height: 36px; margin-left: auto; padding: 0 14px; background: transparent; font-size: 13.5px; font-weight: 600; }
.c-ouvrir:hover { background: transparent; }
.c-ouvrir .as-icon { width: 1em; height: 1em; }
/* R1 : « Supprimer » (quand c'est possible) dans le pied, discret, à gauche, sa confirmation flottant au-dessus comme
   celle de « Rejeter » dans « Aujourd'hui ». */
.c-foot details.definitif > summary {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; color: var(--ink-muted);
  font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.c-foot details.definitif > summary:hover, .c-foot details.definitif[open] > summary {
  background: var(--surface-100); color: var(--ink);
}
.c-foot details.definitif { position: relative; margin: 0 0 0 -12px; }
.c-foot .as-pill--hot + details.definitif { margin-left: 0; }
.c-foot details.definitif[open] > summary { margin-bottom: 0; }
.c-foot details.definitif > form {
  position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 3; display: grid; gap: 10px; width: max-content; max-width: 280px;
  padding: 12px; border-radius: 14px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line-strong), var(--ombre);
}
.c-foot details.definitif > form p { margin: 0; color: var(--ink-muted); }
.c-foot details.definitif > form .as-btn { justify-self: start; }
/* 05/11/2026 (la création repensée, lot 4) : « Dupliquer » (une campagne lancée depuis son positionnement), dans le pied,
   avant « Supprimer » et discret comme lui : même hauteur, même gris, même pastille au survol. */
.c-foot > form.en-ligne { margin-left: -12px; }
.c-foot .as-pill--hot + form.en-ligne, .c-foot form.en-ligne + details.definitif { margin-left: 0; }
.c-foot > form.en-ligne > .as-btn--ghost {
  min-height: 36px; padding: 0 12px; border-radius: 999px; color: var(--ink-muted); font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.c-foot > form.en-ligne > .as-btn--ghost:hover { background: var(--surface-100); color: var(--ink); }
/* « Nouvelle campagne » en grande carte pointillée (C9, .cnew), toute la largeur, après les campagnes. */
.cnew {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 20px; border-radius: 24px;
  border: 1.5px dashed var(--line-strong); background: transparent; color: var(--ink-muted); text-align: left; text-decoration: none;
  transition: color 0.3s var(--elan), border-color 0.3s var(--elan), background-color 0.3s var(--elan);
}
.cnew:hover { color: var(--brand-encre); border-color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.cnew__plus {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 999px; font-size: 19px;
  background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line);
}
.cnew__plus .as-icon { width: 1em; height: 1em; }
.cnew__texte { display: grid; gap: 1px; }
.cnew__texte b { font-size: 15px; font-weight: 650; }
.cnew__texte small { font-size: 13px; font-weight: 500; }

/* ---------- Une campagne lancée (lot 2, P1-P12 ; maquette campagnes-et-suivi.html, écran 2 : .top, .attend, .path…) ---------- */
/* Les écarts de la maquette entre les blocs (la colonne de la page en met 20 px partout) : 18 px sous le haut et sous
   le bandeau, 10 px jusqu'à « À part », 16 px jusqu'aux groupes, 12 px jusqu'au tableau. */
.as-main > .bandeau-campagne, .as-main > .chemin-boite { margin-top: -2px; }
.as-main > .alerte-carte, .as-main > .a-part { margin-top: -10px; }
.as-main > .groupes-campagne { margin-top: -4px; }
.as-main > .reserve-campagne, .as-main > .tableau-personnes { margin-top: -8px; }
/* Le haut (P1-P3, .top, .crumb, .c-meta) : « ← Campagnes », le titre, l'état en pastille à point, l'objectif et la
   pastille des annonces ; « Réglages de la campagne » en pastille cerclée (.btn-sm), en bas à droite. */
.campagne-tete { align-items: flex-end; gap: 12px 24px; }
.fil-campagnes {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--ink-muted); font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: color 0.25s var(--elan);
}
.fil-campagnes:hover { color: var(--ink); }
.fil-campagnes__fleche { width: 1em; height: 1em; transform: rotate(180deg); }
.campagne-tete__etat { gap: 8px 12px; margin-top: 10px; font-size: 14px; color: var(--ink-muted); }
.campagne-tete__etat > .as-pill { height: auto; font-size: 12px; font-weight: 650; line-height: 1.55; }
.campagne-tete__etat > .as-pill--accepted { gap: 6px; padding: 2px 10px; background: var(--ok-fond); color: var(--ok-encre); }
.campagne-tete__etat > .as-pill--accepted .as-pill__mark { display: none; }
.campagne-tete__etat > .as-pill--accepted::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.campagne-tete__etat > .as-pill--hot { gap: 5px; padding: 2px 9px; }
.campagne-tete__etat > .as-pill--hot .as-pill__mark { color: inherit; }
.campagne-tete__reglages {
  gap: 7px; min-height: 36px; padding: 0 14px; background: transparent; font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.campagne-tete__reglages:hover { background: transparent; }
.campagne-tete__reglages .as-icon { width: 1em; height: 1em; }
/* Le bandeau (P4, .attend) : l'étincelle d'accent, la phrase en gras et la petite phrase, le bouton à droite. */
.bandeau-campagne {
  flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 12px 12px 16px; border: 0; border-radius: 16px;
  background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line);
}
.bandeau-campagne__icone { flex: none; width: 20px; height: 20px; color: var(--brand-encre); }
.bandeau-campagne__texte { flex: 1 1 220px; min-width: 0; margin: 0; font-size: 15px; font-weight: 400; }
.bandeau-campagne__detail { margin-top: 0; font-size: 13px; }
.bandeau-campagne .as-btn { gap: 7px; min-height: 36px; padding: 0 14px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.bandeau-campagne .as-btn--secondary { background: transparent; }
.bandeau-campagne .as-btn .as-icon { width: 1em; height: 1em; }
/* « Ta présentation n'est pas validée » : l'avertissement orangé d'« À relire » (A12). */
.alerte-carte { gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--avertir-fond); color: var(--avertir-encre); box-shadow: inset 0 0 0 1px var(--avertir-trait); font-size: 13.5px; line-height: 1.5; }
.alerte-carte .as-icon { flex: none; width: 17px; height: 17px; margin-top: 1px; }
/* Le chemin en grand (P5, .path, .step) : dans sa coque ; le nombre en titre étroit, le nom, puis ce qui attend son
   geste et le taux ; un point entre les marches ; la marche choisie en encre ; les rendez-vous en accent. La coque est
   la boîte qui défile au téléphone (front.js y montre la marche choisie). */
.chemin-boite { padding: 6px; border-radius: 22px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); }
.chemin-campagne { gap: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.chemin-campagne__etape {
  display: grid; gap: 4px; justify-items: start; align-content: start; padding: 14px 16px; border-right: 0; border-radius: 17px;
  color: var(--ink); transition: background-color 0.35s var(--elan), color 0.35s var(--elan);
}
.chemin-campagne__etape:hover { background: var(--surface-0); }
.chemin-campagne__etape:not(:last-child)::after { content: none; }
.chemin-campagne__etape + .chemin-campagne__etape::before {
  content: ""; position: absolute; left: -7px; top: 50%; z-index: 1; width: 12px; height: 12px; border-radius: 99px; transform: translateY(-50%);
  background: var(--surface-50); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.chemin-campagne__nombre {
  font-family: var(--police-titre); font-stretch: 100%; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 700; line-height: 0.95;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.chemin-campagne__nom { font-size: 13.5px; font-weight: 600; }
.chemin-campagne__detail { min-height: 0; font-size: 12px; line-height: 1.4; }
.chemin-campagne__taux { font-size: 12px; line-height: 1.4; color: var(--ink-muted); }
.chemin-campagne__etape--rdv .chemin-campagne__nombre { color: var(--brand-encre); }
.chemin-campagne__etape--on, .chemin-campagne__etape--on:hover { background: var(--ink); color: var(--surface-50); box-shadow: none; }
.chemin-campagne__etape--on .chemin-campagne__nom, .chemin-campagne__etape--on .chemin-campagne__nombre { color: inherit; }
.chemin-campagne__etape--on .chemin-campagne__detail, .chemin-campagne__etape--on .chemin-campagne__taux { color: inherit; opacity: 0.72; }
.chemin-campagne__etape--on .chemin-campagne__detail--a-toi { opacity: 1; }
/* À part (P6, .apart, .tag) : « À part : », puis ses étiquettes (des liens : leur étape) ; « À regarder » garde son
   encre d'alerte. */
.a-part { gap: 8px; margin-left: 4px; margin-right: 4px; font-size: 13px; color: var(--ink-muted); }
.a-part .as-chip {
  min-height: 0; padding: 2px 9px; background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px;
  font-weight: 600; line-height: 1.55; transition: box-shadow 0.25s var(--elan), color 0.25s var(--elan);
}
.a-part .as-chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.a-part .as-chip--alerte, .a-part .as-chip--alerte:hover { background: transparent; color: var(--status-failed-ink); }
.a-part .as-chip--on, .a-part .as-chip--on:hover { background: var(--brand-soft); color: var(--brand-encre); box-shadow: inset 0 0 0 1px var(--brand); }
/* Les groupes (P7, .chips, .chip) : des pastilles cerclées, leur nombre en mono ; le groupe choisi en accent. */
.groupes-campagne { gap: 6px; }
.groupes-campagne .as-chip {
  gap: 6px; min-height: 32px; padding: 0 12px; background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 600; transition: box-shadow 0.25s var(--elan), color 0.25s var(--elan);
}
.groupes-campagne .as-chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.groupes-campagne .as-chip .as-mono { font-weight: 700; color: var(--ink); }
.groupes-campagne .as-chip--on, .groupes-campagne .as-chip--on:hover { background: var(--brand-soft); color: var(--brand-encre); box-shadow: inset 0 0 0 1px var(--brand); }
.groupes-campagne .as-chip--on .as-mono { color: var(--brand-encre); }
/* La réserve (P8-P10, .table, .t-head, .row, .note), seulement sur cette page (.reserve-campagne : l'étape 4 partage la
   liste à cases et garde son allure jusqu'à sa maquette, N7) : le tableau (rayon 20), l'explication en tête, ses
   parties (« Proposées par l'IA »…) en bandes ; une ligne : la case, l'avatar, qui (le nom et « Hot », le poste), la
   raison de l'IA, la note en anneau (gris sous 6), puis « Ne plus contacter ». « Ton réseau » dans la même allure. */
.reserve-campagne { gap: 16px; min-width: 0; }
.reserve-campagne .tableau-personnes { border: 0; border-radius: 20px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); }
.reserve-campagne .reserve-intro { margin: 0; padding: 12px 16px; border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line); font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); }
.reserve-campagne .reserve-intro b { color: var(--ink); }
.reserve-campagne .groupe-tete {
  padding: 10px 16px; border-bottom: 0; background: var(--surface-100); box-shadow: inset 0 -1px 0 var(--line); font-size: 13px; color: var(--ink-muted);
}
.reserve-campagne .groupe-tete__titre b { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.reserve-campagne .groupe-tete .as-mono { font-weight: 700; color: var(--ink); }
.reserve-campagne .prow {
  gap: 14px; padding: 12px 16px; border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line); transition: background-color 0.25s var(--elan);
}
.reserve-campagne .prow:hover { background: var(--surface-100); }
.reserve-campagne .prow:not(.prow--case) { grid-template-columns: 38px minmax(0, 1fr) auto; }
.reserve-campagne .prow--tableau { grid-template-columns: 26px 38px minmax(0, 1.6fr) minmax(0, 1.4fr) 64px; align-items: center; }
.reserve-campagne .prow--tableau.prow--case--exclure { grid-template-columns: 26px 38px minmax(0, 1.6fr) minmax(0, 1.4fr) 64px auto; }
.reserve-campagne .prow--tableau input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.reserve-campagne .prow .as-avatar { width: 38px; height: 38px; font-size: 13px; letter-spacing: 0.02em; }
.reserve-campagne .bloc-qui { gap: 2px; }
.bloc-qui__nom { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.reserve-campagne .bloc-qui .as-prospect__name { font-size: 14.5px; font-weight: 650; line-height: 1.4; }
.reserve-campagne .bloc-qui .lien-profil {
  color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%;
  background-repeat: no-repeat; background-size: 0 1px; transition: background-size 0.35s var(--elan);
}
.reserve-campagne .bloc-qui .lien-profil:hover { background-size: 100% 1px; }
.reserve-campagne .bloc-qui .as-pill--hot { gap: 5px; height: auto; padding: 2px 9px; font-size: 12px; font-weight: 650; line-height: 1.55; }
.reserve-campagne .bloc-qui .as-pill--hot .as-pill__mark { color: inherit; }
.reserve-campagne .bloc-qui > .as-small { font-size: 13px; line-height: 1.45; }
.reserve-campagne .bloc-qui__ligne { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bloc-pourquoi { display: grid; gap: 2px; min-width: 0; }
.reserve-campagne .bloc-pourquoi .as-why { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.reserve-campagne .bloc-pourquoi .origine { font-size: 12px; text-align: left; }
.reserve-campagne .bloc-pourquoi .origine:empty { display: none; }
/* La note en anneau (.note) : 46 px, l'accent jusqu'à la note, gris sous 6 ; « /10 » reste lu, pas vu. */
.reserve-campagne .anneau-note {
  --anneau: var(--brand);
  position: relative; z-index: 0; display: grid; place-items: center; justify-self: end; width: 46px; height: 46px; border-radius: 50%;
  background: conic-gradient(var(--anneau) calc(var(--note, 0) * 10%), var(--line) 0); color: var(--ink);
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 700; line-height: 1; text-align: center;
}
.reserve-campagne .anneau-note::before { content: ""; position: absolute; inset: 4px; z-index: -1; border-radius: 50%; background: var(--surface-0); transition: background-color 0.25s var(--elan); }
.reserve-campagne .prow:hover .anneau-note::before { background: var(--surface-100); }
.reserve-campagne .anneau-note small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.reserve-campagne .anneau-note--bas { --anneau: var(--ink-muted); }
.reserve-campagne .anneau-note--sans { align-content: center; gap: 0; background: none; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-muted); font-size: 12px; }
.reserve-campagne .anneau-note--sans::before { content: none; }
.reserve-campagne .anneau-note--sans small { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; font-size: 9px; font-weight: 500; }
.reserve-campagne .ne-plus-contacter { justify-self: end; gap: 6px; min-height: 36px; padding: 0 12px; color: var(--ink-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.reserve-campagne .ne-plus-contacter:hover { color: var(--ink); background: var(--surface-150); }
.reserve-campagne .ne-plus-contacter .as-icon { width: 15px; height: 15px; }
/* Le pli des personnes pas cochées, et le pied de « Ton réseau ». */
.reserve-campagne .more { padding: 11px 16px; background: transparent; box-shadow: inset 0 -1px 0 var(--line); font-size: 13px; transition: background-color 0.25s var(--elan); }
.reserve-campagne .more:hover { background: var(--surface-100); }
.reserve-campagne .pied-carte { padding: 12px 16px; border-top: 0; background: transparent; box-shadow: inset 0 1px 0 var(--line); color: var(--ink-muted); }
.reserve-campagne .pied-carte .as-btn { gap: 7px; min-height: 36px; padding: 0 14px; background: transparent; font-size: 13.5px; font-weight: 600; }
/* La barre d'envoi (P11, .sendbar) : collée en bas de l'écran sous le tableau, dans sa coque floutée ; « N cochées » en
   titre étroit ; le trait de la semaine (les parties en accent, celles qui attendent hachurées) et sa phrase ;
   « Inviter » en grande pastille, l'avion dans son rond. */
.barre-envoi {
  position: sticky; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 4; padding: 6px; border-radius: 24px;
  background: var(--shell); box-shadow: inset 0 0 0 1px var(--line), var(--ombre); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.barre-envoi__coeur {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 12px 12px 12px 18px; border-radius: 18px;
  background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line);
}
.barre-envoi__compte { display: grid; gap: 1px; margin: 0; }
.barre-envoi__compte b { font-family: var(--police-titre); font-stretch: 100%; font-size: 1.9rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.barre-envoi__compte span { font-size: 12.5px; color: var(--ink-muted); }
.barre-envoi__semaine { flex: 1; min-width: 240px; display: grid; gap: 7px; }
.barre-envoi__trait { position: relative; display: flex; height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.barre-envoi__trait i { display: block; height: 100%; width: calc(var(--part, 0) * 1%); transition: width 0.6s var(--elan); }
.barre-envoi__parties { background: var(--brand); }
.barre-envoi__prevues { background: repeating-linear-gradient(135deg, var(--rail-hachure-1) 0 3px, var(--rail-hachure-2) 3px 6px); }
.barre-envoi__phrase { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.barre-envoi__phrase b { color: var(--ink); }
/* Le tableau d'une autre marche (P12, .row.no-check) : sans case ; l'avatar, qui (le nom et sa pastille « Hot », puis
   le poste), la note en anneau (gris sous 6, sa raison en bulle), où elle en est sur deux lignes, « Décider » et le
   menu « ··· » au bout. */
.tableau-etape { border: 0; border-radius: 20px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); }
.tableau-etape .tableau-personnes__titre { padding: 12px 16px; border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line); font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); }
/* « Décider » n'est pas sur toutes les lignes : sa colonne a une largeur fixe, sinon les anneaux ne s'alignent plus
   d'une ligne à l'autre (chaque ligne est sa propre grille). */
.tableau-etape .ligne-personne {
  grid-template-columns: 38px minmax(0, 1.6fr) 46px minmax(0, 1.4fr) 100px 36px; gap: 14px; padding: 12px 16px; border-bottom: 0;
  box-shadow: inset 0 -1px 0 var(--line); transition: background-color 0.25s var(--elan);
}
.tableau-etape .ligne-personne:last-child { box-shadow: none; }
.tableau-etape .ligne-personne:hover { background: var(--surface-100); }
.tableau-etape .ligne-personne > .as-avatar { width: 38px; height: 38px; font-size: 13px; letter-spacing: 0.02em; }
.tableau-etape .ligne-personne__qui { gap: 2px; }
.tableau-etape .ligne-personne__qui > b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14.5px; font-weight: 650; line-height: 1.4; }
.tableau-etape .ligne-personne__qui > span { font-size: 13px; line-height: 1.45; }
.tableau-etape .ligne-personne__qui .lien-profil {
  color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%;
  background-repeat: no-repeat; background-size: 0 1px; transition: background-size 0.35s var(--elan);
}
.tableau-etape .ligne-personne__qui .lien-profil:hover { background-size: 100% 1px; }
.tableau-etape .ligne-personne__qui .as-pill--hot { gap: 5px; height: auto; padding: 2px 9px; font-size: 12px; font-weight: 650; line-height: 1.55; }
.tableau-etape .ligne-personne__qui .as-pill--hot .as-pill__mark { color: inherit; }
.tableau-etape .anneau { --couleur: var(--brand); width: 46px; height: 46px; background: conic-gradient(var(--couleur) calc(var(--note) * 10%), var(--line) 0); }
.tableau-etape .anneau--bas { --couleur: var(--ink-muted); }
.tableau-etape .anneau::before { transition: background-color 0.25s var(--elan); }
.tableau-etape .ligne-personne:hover .anneau::before { background: var(--surface-100); }
.tableau-etape .anneau b { font-family: var(--font-mono); font-size: 13.5px; font-weight: 700; }
.tableau-etape .anneau--vide { background: none; }
.tableau-etape .ligne-personne__etat { font-size: 13px; line-height: 1.45; }
.tableau-etape .ligne-personne__etat > .as-muted { font-size: 12px; }
.tableau-etape .ligne-personne__decider .as-btn { gap: 7px; min-height: 36px; padding: 0 14px; background: transparent; font-size: 13.5px; font-weight: 600; }
.tableau-etape .menu-ligne > summary {
  justify-content: center; min-width: 36px; min-height: 36px; padding: 0; border-radius: 999px; color: var(--ink-muted); font-weight: 700;
}
.tableau-etape .menu-ligne > summary:hover, .tableau-etape .menu-ligne[open] > summary { color: var(--ink); background: var(--surface-150); }
.tableau-etape .menu-ligne__liste { border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong), var(--ombre); }
.tableau-etape .tableau-personnes__pied { padding: 12px 16px; border-top: 0; font-size: 13.5px; }
/* « Inviter · » et « N invitations » (front.js le réécrit) restent collés, comme un seul texte : l'espace de la fin
   du 1er morceau disparaît dans un bouton en flex, il revient ici ; le rond de l'avion se met à part. */
.barre-envoi__inviter { gap: 0; }
.barre-envoi__inviter [data-total-bouton] { margin-left: 0.28em; }
.barre-envoi__inviter .btn-rond__rond { margin-left: 10px; }
.barre-envoi__inviter .as-icon { width: 1em; height: 1em; }

/* ---------- « Suivi » (lot 2, S1-S6 ; maquette campagnes-et-suivi.html, écran 3 : .top, .sec-title, .kpis, .rdvs, .res) ---------- */
/* Le haut (S1) : « Télécharger (CSV) » en pastille cerclée de 36 px avec sa flèche (.btn-sm), en bas à droite. */
.suivi-tete__csv { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.suivi-csv { gap: 7px; min-height: 36px; padding: 0 14px; background: transparent; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.suivi-csv:hover { background: transparent; }
.suivi-csv .as-icon { width: 1em; height: 1em; }
/* Les blocs (.sec-title) : 26 px entre deux blocs (la colonne de la page en met 20), le titre à 12 px de son contenu. */
.as-main > .suivi-bloc { margin-top: 6px; }
.suivi-bloc { display: grid; gap: 12px; min-width: 0; }
.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 2px; }
.sec-title h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.sec-title span { font-size: 13px; color: var(--ink-muted); }
/* Les 7 derniers jours (S3, .kpis, .kpi, .spark) : quatre cartes (deux colonnes sous 1 100 px), 22 px sous leur titre ;
   le nombre en titre étroit, sa petite phrase, sept barres en bas de la carte (la dernière, les 24 dernières heures, en
   accent) ; les rendez-vous en accent. */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.kpi {
  display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px 16px 14px; border-radius: 20px; background: var(--surface-0);
  box-shadow: inset 0 0 0 1px var(--line);
}
.kpi__nom { font-size: 12.5px; font-weight: 650; color: var(--ink-muted); }
.kpi__nombre {
  font-family: var(--police-titre); font-stretch: 100%; font-size: clamp(2.3rem, 3.2vw, 3rem); font-weight: 700; line-height: 0.9;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.kpi__phrase { font-size: 12.5px; color: var(--ink-muted); }
.kpi--rdv .kpi__nombre { color: var(--brand-encre); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: auto; }
.spark i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--line-strong); transform-origin: bottom; }
.spark i:last-child { background: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .spark i { animation: bt-leve 0.8s var(--elan) both; animation-delay: calc(var(--d, 0) * 60ms + 150ms); }
  .rate i::after { animation: bt-pousse 0.9s var(--elan) both; animation-delay: 250ms; }
}
@keyframes bt-leve { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.as-main[data-sans-arrivee] .spark i, .as-main[data-sans-arrivee] .rate i::after { animation: none; }
/* Les prochains rendez-vous (S4, .rdvs, .rdvc, .date) : des cartes (trois colonnes ; une sous 1 100 px), la date en
   tuile d'accent (le jour, son numéro, l'heure de Paris), la personne ; « Rejoindre la visio » (seulement avec un lien,
   R6) en pastille cerclée, « Annuler » discret : sa confirmation s'ouvre sous lui, dans la carte. */
.rdvs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rdvc {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; border-radius: 20px;
  background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line);
}
.rdvc__date { display: grid; justify-items: center; gap: 0; padding: 8px 0; border-radius: 14px; background: var(--brand-soft); color: var(--brand-encre); }
.rdvc__date small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.rdvc__date b { font-family: var(--police-titre); font-stretch: 100%; font-size: 1.9rem; font-weight: 700; line-height: 1; }
.rdvc__qui { display: grid; gap: 2px; min-width: 0; }
.rdvc__qui b { font-size: 15px; }
.rdvc__qui > span { font-size: 13px; color: var(--ink-muted); }
.rdvc__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rdvc__visio { gap: 7px; min-height: 36px; padding: 0 14px; background: transparent; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.rdvc__visio:hover { background: transparent; }
.rdvc__visio .as-icon { width: 1em; height: 1em; }
.rdvc__annuler > summary { min-height: 36px; padding: 0 12px; font-size: 13.5px; font-weight: 600; }
.rdvc__annuler[open] { flex-basis: 100%; }
.rdvc__annuler[open] > summary { margin-bottom: 6px; background: var(--surface-100); color: var(--ink); }
/* Les résultats par groupe (S5, .res, .rate, .foot-note) : le tableau (rayon 20 ; au téléphone, lui seul défile de
   côté), le groupe et sa campagne, les nombres en mono, les taux avec leur trait (« Répondent » en gris), la note 10 px
   dessous ; « Voir le détail » en accent, sa flèche qui tourne à l'ouverture, le détail d'avant dessous. */
.res { border-radius: 20px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.res table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
/* Le trait sous chaque ligne : une bordure (le trait en ombre de la maquette laissait, dans Chrome, un fil vertical entre
   deux colonnes, là où une cellule commence entre deux pixels). */
.res th {
  padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-muted); border-bottom: 1px solid var(--line);
}
.res td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.res tr:last-child td { border-bottom: 0; }
.res td small { display: block; font-size: 12px; color: var(--ink-muted); }
.res__nombre { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; }
.res__vide { color: var(--ink-muted); }
.rate { display: grid; grid-template-columns: 44px minmax(60px, 1fr); gap: 10px; align-items: center; }
.rate i { display: block; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rate i::after { content: ""; display: block; width: var(--w, 0%); height: 100%; border-radius: 99px; background: var(--brand); transform-origin: left; }
.rate--gris i::after { background: var(--line-strong); }
.suivi-resultats .foot-note { margin: -2px 4px 0; font-size: 13px; color: var(--ink-muted); }  /* plus fort que « .as p » */
.suivi-detail { margin: 0 4px; }
.suivi-detail__voir {
  display: inline-flex; align-items: center; gap: 6px; color: var(--brand-encre); font-size: 13px; font-weight: 600; list-style: none; cursor: pointer;
}
.suivi-detail__voir::-webkit-details-marker { display: none; }
.suivi-detail__fleche { width: 14px; height: 14px; transition: transform 0.4s var(--elan); }
.suivi-detail[open] .suivi-detail__fleche { transform: rotate(180deg); }
.suivi-detail__corps { display: grid; gap: 12px; margin: 12px -4px 0; }
.suivi-vide { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--surface-100); color: var(--ink-muted); font-size: 14px; }
/* Les personnes de chaque campagne (S6, R1), plus bas, dans l'allure des lignes du tableau d'une campagne (.row) :
   chaque campagne repliable, avec son nombre ; ses lignes dans un tableau de rayon 20 : l'avatar, qui, l'état en
   pastille, où elle en est, le menu « ··· » rond. */
.suivi-campagne__tete { gap: 8px; padding: 4px 2px 10px; }
.suivi-campagne__tete .pli { font-size: 15px; font-weight: 650; }
.suivi-campagne > .as-card { border: 0; border-radius: 20px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); }
.suivi-campagne + .suivi-campagne { margin-top: 4px; }
.lignes-suivi .as-sel {
  grid-template-columns: 38px minmax(0, 220px) 190px minmax(0, 1fr) 36px; gap: 14px; padding: 12px 16px; border-bottom: 0;
  background: transparent; box-shadow: inset 0 -1px 0 var(--line); transition: background-color 0.25s var(--elan);
}
.lignes-suivi .as-sel:last-child { box-shadow: none; }
.lignes-suivi .as-sel:first-child { border-top-left-radius: 20px; border-top-right-radius: 20px; }
.lignes-suivi .as-sel:last-child { border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; }
.lignes-suivi .as-sel:hover { background: var(--surface-100); }
.lignes-suivi .as-sel > .as-avatar { width: 38px; height: 38px; font-size: 13px; letter-spacing: 0.02em; }
.lignes-suivi .as-prospect__name { font-size: 14.5px; font-weight: 650; line-height: 1.4; }
.lignes-suivi .lien-profil {
  color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%;
  background-repeat: no-repeat; background-size: 0 1px; transition: background-size 0.35s var(--elan);
}
.lignes-suivi .lien-profil:hover { color: inherit; background-size: 100% 1px; }
.lignes-suivi .as-sel > div > .as-small { font-size: 13px; line-height: 1.45; }
.lignes-suivi .as-sel > .as-small { font-size: 13px; line-height: 1.45; }
.lignes-suivi .menu-ligne > summary {
  justify-content: center; min-width: 36px; min-height: 36px; padding: 0; border-radius: 999px; color: var(--ink-muted); font-weight: 700;
}
.lignes-suivi .menu-ligne > summary:hover, .lignes-suivi .menu-ligne[open] > summary { color: var(--ink); background: var(--surface-150); }
.lignes-suivi .menu-ligne__liste { border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong), var(--ombre); }

/* ---------- « Nouvelle campagne » (lot 2, N1-N7 ; maquette campagnes-et-suivi.html, écran 4 : .top, .wbar, .w1, .pres, .w-intro…) ---------- */
/* Le haut (N1, .top, .crumb) : « ← Campagnes » (.fil-campagnes, comme une campagne), le titre, la phrase (54 caractères
   au plus par ligne). */
.nouvelle-tete p { max-width: 54ch; margin-top: 0.35rem; }
/* La bande remplace le rail de gauche : l'assistant tient sur une colonne (bundle.css lui en gardait une de 250 px,
   front.css de 180 px en discutant, où l'étape serait tombée seule). Les écarts de la maquette : 18 px sous le haut,
   18 px jusqu'à la discussion, 22 px jusqu'au titre d'une étape (la colonne de la page en met 20) ; 14 px entre les
   blocs d'une étape. */
.wiz, .wiz.wiz--discussion { grid-template-columns: minmax(0, 1fr); gap: 0; }
.as-main > .etapes-bande, .as-main > .wiz { margin-top: -2px; }
.wizmain { gap: 14px; }
.wizmain > .wizhead:first-child { margin-top: 4px; }
/* Le formulaire de « Relire » (vide : ses champs cachés) ne fait pas d'écart (son bouton s'y rattache par form=). */
.wizmain > #relire-parcours { display: none; }
/* Les étapes en bande (N2, .wbar, .wsteps, .wst) : dans leur coque (rayon 22) ; un rond numéroté de 32 px (le rang de
   l'étape) ; faite : la coche verte ; l'étape affichée en carte blanche ; l'étape en cours, son rond d'accent ; à venir,
   ce qu'elle fera. */
.etapes-bande { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.etapes { display: flex; flex: 1 1 560px; min-width: 0; }
.etapes__liste {
  flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin: 0; padding: 6px;
  list-style: none; border-radius: 22px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line);
}
.etape-bande { display: flex; min-width: 0; }
.etape-bande__lien {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 17px; color: var(--ink);
  text-decoration: none; transition: background-color 0.3s var(--elan), box-shadow 0.3s var(--elan);
}
a.etape-bande__lien:hover { background: var(--surface-0); color: var(--ink); text-decoration: none; }
.etape-bande__rond {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 999px; font-family: var(--font-mono);
  font-size: 14px; font-weight: 700; color: var(--ink-muted); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background-color 0.3s var(--elan), box-shadow 0.3s var(--elan);
}
.etape-bande__rond .as-icon { width: 1em; height: 1em; }
.etape-bande__texte { display: grid; gap: 1px; min-width: 0; }
.etape-bande__texte b { font-size: 14.5px; font-weight: 650; }
.etape-bande__texte small { font-size: 12px; color: var(--ink-muted); }
.etape-bande--faite .etape-bande__rond { background: var(--ok-fond); color: var(--ok-encre); box-shadow: none; }
.etape-bande[aria-current="step"] .etape-bande__lien { background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line), var(--ombre); }
.etape-bande--en-cours .etape-bande__rond { background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 4px var(--brand-soft); }
/* Le titre d'une étape (.w-intro, .w-h) : un h2 de 20 px (le titre de la page est le nom de la campagne), sa phrase. */
.wizhead { gap: 4px; }
.wizhead h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.55; }
.wizhead p { max-width: none; margin: 0; font-size: 14.5px; }
/* Le pied d'une étape (.wfoot) : « Retour » discret et sa flèche, à 18 px du bloc d'avant ; le bouton principal en grande
   pastille, sa flèche dans son rond (.btn-rond, comme « Nouvelle campagne »). */
.wizfoot { margin-top: 4px; padding-top: 0; border-top: 0; flex-wrap: wrap; gap: 10px; }
.wizfoot > .as-btn--ghost { gap: 6px; min-height: 36px; padding: 0 12px; font-size: 13.5px; font-weight: 600; }
.fleche-retour { width: 1em; height: 1em; transform: rotate(180deg); }
.btn-rond[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.btn-rond[disabled] .btn-rond__rond { transform: none; }
/* La discussion (N4, .w1, .disc, .profil, .b, .cible, .saisie) : elle et « Ta présentation » côte à côte (1,08 et 0,92 ;
   une seule colonne sous 1 100 px, front.css le faisait dès 1 240 px) ; la carte du profil, le fil, les cartes des
   publics (ou les réponses toutes prêtes) et la zone pour écrire dans une seule carte. */
.discussion { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 16px; align-items: start; }
.discussion__fil {
  display: grid; gap: 14px; min-width: 0; padding: 18px; border-radius: 24px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line);
}
.profil-fil { display: grid; gap: 10px; }
.profil-fil .as-card__head { align-items: center; gap: 12px; padding-bottom: 14px; box-shadow: inset 0 -1px 0 var(--line); }
.profil-fil .as-msg__who { flex: 1; min-width: 0; gap: 12px; }
.profil-fil .as-avatar--lg { width: 44px; height: 44px; font-size: 14px; }
.profil-fil .as-prospect__name { font-size: 14.5px; font-weight: 700; }
.profil-fil .as-msg__who .as-small { font-size: 12.5px; }
.profil-fil .as-card__head > .as-btn { flex: none; gap: 6px; min-height: 36px; padding: 0 12px; color: var(--ink-muted); font-size: 13.5px; font-weight: 600; }
.profil-fil .as-card__head > .as-btn:hover { color: var(--ink); background: var(--surface-100); }
.profil-fil .as-card__head > .as-btn .as-icon { display: none; }
.profil-fil .as-chips { gap: 6px; }
.profil-fil .as-chip {
  min-height: 0; padding: 2px 9px; background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px;
  font-weight: 600; line-height: 1.55;
}
.discussion .fil { display: grid; gap: 10px; margin: 0; }
.bulle-fil { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.bulle-fil--ia p, .bulle-fil--moi p { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.bulle-fil--ia { justify-self: start; align-items: flex-start; gap: 10px; background: var(--surface-100); border-top-left-radius: 6px; }
.bulle-fil--moi { justify-self: end; max-width: 88%; background: var(--ink); color: var(--surface-50); border-top-right-radius: 6px; }
.bulle-fil__logo { width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; }
.discussion .suggestions { margin-left: 0; }
.cartes-cibles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.carte-cible {
  display: grid; gap: 3px; padding: 12px 14px; border: 0; border-radius: 16px; background: var(--surface-0); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow 0.3s var(--elan), transform 0.3s var(--elan);
}
.carte-cible:hover { box-shadow: inset 0 0 0 1.5px var(--brand); transform: translateY(-1px); }
.carte-cible b { font-size: 14.5px; }
.carte-cible .as-small { font-size: 13px; }
.carte-cible--recommandee { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand); }
.carte-cible__reco {
  justify-self: start; margin-bottom: 2px; padding: 1px 8px; border-radius: 999px; background: var(--brand); color: var(--on-brand);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
.pastilles-sugg { gap: 6px; }
.pastille-sugg {
  min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 13px; font-weight: 600; transition: color 0.25s var(--elan), box-shadow 0.25s var(--elan);
}
.pastille-sugg:hover, .pastille-sugg:focus-visible { background: transparent; color: var(--brand-encre); box-shadow: inset 0 0 0 1px var(--brand); }
.saisie-fil { gap: 8px; padding: 6px 6px 6px 14px; border: 0; border-radius: 18px; background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); }
.saisie-fil:focus-within { box-shadow: inset 0 0 0 1.5px var(--brand); }
.saisie-fil textarea { min-height: 50px; padding: 7px 0; font-size: 14.5px; }  /* la maquette : 36 px et ses 7 px en haut et en bas */
/* « Ta présentation » (N5, .pres) : à droite, collée en haut quand on défile ; le titre étroit et son état en pastille à
   point (« En cours » en gris, comme la maquette) ; « N lignes remplies… » ; les lignes et leur marque ronde (faite en
   vert, à confirmer en orangé, question cerclée), leur source en pastille ; « Corriger » souligné ; « C'est vrai »,
   « Retirer » ; « Valider ma présentation » en grande pastille. */
.discussion .fiche-fil {
  position: sticky; top: 16px; display: grid; gap: 10px; padding: 18px; border: 0; border-radius: 24px; background: var(--surface-0);
  box-shadow: inset 0 0 0 1px var(--line), var(--ombre);
}
.fiche-fil__tete { padding: 0; border-bottom: 0; }
.fiche-fil__tete h2 { margin: 0; font-family: var(--police-titre); font-stretch: 100%; font-size: 1.6rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.fiche-fil__tete .as-pill { flex: none; gap: 6px; height: auto; padding: 2px 10px; font-size: 12px; font-weight: 650; line-height: 1.55; }
.fiche-fil__tete .as-pill__mark { display: none; }
.fiche-fil__tete .as-pill::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.fiche-fil__tete .as-pill--accepted { background: var(--ok-fond); color: var(--ok-encre); }
.fiche-fil__tete .as-pill--validate { background: color-mix(in srgb, var(--ink-muted) 13%, transparent); color: var(--ink-muted); }
.presentation .compte-pres { gap: 4px 12px; padding: 0; font-size: 13px; }
.presentation .compte-pres__confirmer { color: var(--avertir-encre); font-weight: 650; }
.presentation .groupe-pres { display: grid; gap: 10px; padding: 0; border-bottom: 0; }
.presentation .groupe-pres__titre { margin-top: 8px; font-size: 11.5px; font-weight: 650; letter-spacing: 0.06em; }
.presentation .lp { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--line); font-size: 14px; }
.presentation .lp--a_confirmer { margin: 0; padding: 10px 0; border-radius: 0; background: none; }
.presentation .lp__marque {
  display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 99px; font-size: 12px; font-weight: 700;
  line-height: 1; color: var(--ink-muted); box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.presentation .lp--ok .lp__marque { background: var(--ok-fond); color: var(--ok-encre); box-shadow: none; }
.presentation .lp--a_confirmer .lp__marque { background: var(--avertir-fond); color: var(--avertir-encre); box-shadow: none; }
.presentation .lp--question .lp__marque, .presentation .lp--vide .lp__marque { font-size: 0; }
.presentation .lp__corps { gap: 4px; }
.presentation .lp__titre { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; font-weight: 650; color: var(--ink); }
.presentation .lp__texte, .presentation .lp__liste, .presentation .lp__attente { font-size: 14px; }
.presentation .lp__liste { padding-left: 18px; }
.presentation .lp__attente { font-style: normal; color: var(--ink-muted); }
.presentation .tag { margin: 0; padding: 1px 8px; border: 0; border-radius: 999px; font-size: 11px; font-weight: 650; line-height: 1.55; vertical-align: baseline; }
.presentation .tag--profil { background: var(--surface-100); color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); }
.presentation .tag--toi { background: var(--ok-fond); color: var(--ok-encre); }
.presentation .tag--confirmer { background: var(--avertir-fond); color: var(--avertir-encre); }
.presentation .tag--dire { background: var(--brand-soft); color: var(--brand-encre); }
.presentation .lp__lien { padding: 0; color: var(--ink-muted); font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.presentation .lp__lien:hover { color: var(--ink); }
.presentation .mini-actions { gap: 6px; margin-top: 2px; }
.presentation .mini-actions .as-btn { min-height: 30px; padding: 0 12px; font-size: 12.5px; font-weight: 600; }
.presentation .mini-actions .as-btn--secondary { background: transparent; }
.presentation .mini-actions .as-btn--ghost { padding: 0 10px; }
.fiche-fil__pied { display: grid; justify-items: start; gap: 8px; padding: 8px 0 0; }
.fiche-fil__pied .as-small { font-size: 12.5px; }
/* « Qui contacter » (N6, .commun, .autres, .gw, .gcard, .switch, .g-det, .pres-ok) : ce qui est pareil pour tous les
   groupes ; la précision en champ arrondi et « Proposer d'autres groupes » cerclé ; chaque groupe dans sa double coque,
   un groupe proposé sans fond, son nom en gris ; « Actif » dans l'allure de l'interrupteur allumé, « Activer » éteint ;
   « Voir le détail » et son + (– une fois ouvert) ; « Ta présentation est validée » dans sa bande verte. */
.commun-groupes { gap: 8px; padding: 14px 16px; border-radius: 18px; background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); }
.commun-groupes > b { font-size: 13.5px; }
.commun-groupes__lignes { gap: 6px; }
.commun-groupes__lignes > div { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
.commun-groupes__lignes dt { font-size: 13px; font-weight: 400; color: var(--ink-muted); }
.commun-groupes__lignes dd .as-muted { font-size: 13px; }
.proposer-groupes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.proposer-groupes .sec { flex: 1 1 100%; margin: 0; }
.proposer-groupes__precision {
  flex: 1 1 280px; min-width: 0; height: auto; min-height: 38px; box-sizing: border-box; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--surface-0); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14px;
}
.proposer-groupes__precision:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand); }
.proposer-groupes .as-btn--secondary { gap: 7px; min-height: 36px; padding: 0 14px; background: transparent; font-size: 13.5px; font-weight: 600; }
.groupes-liste { display: grid; gap: 10px; }
.wizmain > .groupes-liste { margin-top: -2px; }
.groupe-ligne { padding: 6px; border-bottom: 0; border-radius: 22px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); }
.groupe-ligne__coeur {
  display: grid; gap: 8px; padding: 14px 16px; border-radius: 17px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.35s var(--elan);
}
.groupe-ligne:not(.groupe-ligne--actif) .groupe-ligne__coeur { background: transparent; }
.groupe-ligne:not(.groupe-ligne--actif) .groupe-ligne__qui b { color: var(--ink-muted); }
.groupe-ligne.groupe-ligne--modifier { padding: 16px 18px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line-strong); }
.groupe-ligne__tete { gap: 8px 14px; }
.groupe-ligne__qui { gap: 2px; }
.groupe-ligne__qui b { font-size: 15.5px; font-weight: 650; }
.groupe-ligne__qui .as-small { font-size: 13px; line-height: 1.55; }
.groupe-ligne__etat .as-chip {
  min-height: 0; padding: 2px 9px; background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px;
  font-weight: 600; line-height: 1.55;
}
.groupe-ligne__etat .as-pill--accepted, .groupe-ligne__activer {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: auto; min-height: 34px; padding: 0 12px 0 7px; border: 0;
  border-radius: 999px; font-size: 13px; font-weight: 650; line-height: 1.2;
}
.groupe-ligne__etat .as-pill--accepted { background: var(--ok-fond); color: var(--ok-encre); }
.groupe-ligne__etat .as-pill--accepted .as-pill__mark { display: none; }
.groupe-ligne__activer { background: var(--surface-100); color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); }
.groupe-ligne__activer:hover { background: var(--surface-100); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.groupe-ligne__etat .as-pill--accepted::before, .groupe-ligne__activer::before {
  content: ""; flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--line-strong); transition: background-color 0.3s var(--elan);
}
/* Relecture du 26/10 : « Actif » n'est pas un bouton (aucune adresse n'éteint un groupe) ; dans l'allure de
   l'interrupteur allumé de la maquette, il invitait à cliquer pour rien. Une pastille verte à point, sans bouton rond. */
.groupe-ligne__etat .as-pill--accepted { gap: 7px; padding: 0 12px; }
.groupe-ligne__etat .as-pill--accepted::before { width: 7px; height: 7px; background: var(--ok-point); }
.groupe-ligne__etat .as-pill--accepted::after, .groupe-ligne__activer::after {
  content: ""; position: absolute; top: 50%; left: 9px; width: 16px; height: 16px; margin-top: -8px; border-radius: 999px; background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.35s var(--elan);
}
.groupe-ligne__etat .as-pill--accepted::after { content: none; }
.groupe-ligne__detail { margin-top: 0; }
.groupe-ligne__detail > .pli { gap: 6px; font-size: 13px; line-height: 1.55; font-weight: 600; color: var(--ink-muted); }
.groupe-ligne__detail > .pli::before { content: none; }
.pli-signe { display: inline-block; width: 14px; font-family: var(--font-mono); }
.pli-signe__moins, details[open] > .pli .pli-signe__plus { display: none; }
details[open] > .pli .pli-signe__moins { display: inline; }
.groupe-ligne__detail .kv { grid-template-columns: 110px minmax(0, 1fr); gap: 6px 14px; margin: 2px 0 0; font-size: 13.5px; }
/* 28/10/2026 (les posts des concurrents) : « D'autres personnes à contacter », sous les groupes ; chaque concurrent suivi
   en pastille, son ✕ le retire ; le champ « Ajouter » comme « Proposer d'autres groupes ». */
.autres-personnes { display: grid; gap: 10px; }
.autres-personnes > .sec { margin: 6px 0 0; }
.rivaux { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.rivaux__un { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rivaux__un .as-pill { gap: 4px; height: 28px; padding: 0 4px 0 12px; font-size: 13px; color: var(--ink); }
.rivaux__retirer {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-muted); font-size: 12px; cursor: pointer;
}
.rivaux__retirer:hover, .rivaux__retirer:focus-visible { background: var(--surface-100); color: var(--ink); }
.rivaux__erreur { color: var(--status-failed-ink); }
.rivaux__ajout { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rivaux__ajout .as-input { flex: 1 1 280px; min-width: 0; }
.groupe-ligne__detail .kv dt { font-weight: 400; }
.groupe-ligne__detail .kv dd { margin: 0; }
.groupe-ligne__detail .as-row .as-btn { min-height: 30px; padding: 0 10px; background: transparent; box-shadow: none; color: var(--ink-muted); font-size: 12.5px; font-weight: 600; }
.groupe-ligne__detail .as-row .as-btn:hover { color: var(--ink); background: var(--surface-100); }
.groupe-ligne__detail .as-row .as-btn--danger, .groupe-ligne__detail .as-row .as-btn--danger:hover { color: var(--status-failed-ink); }
.presentation-validee > .pli {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--ok-fond);
  color: var(--ok-encre); font-size: 13.5px; line-height: 1.55; font-weight: 600;
}
.presentation-validee > .pli::before { content: none; }
.presentation-validee > .pli:hover { color: var(--ok-encre); }
.presentation-validee > .pli .as-icon { width: 1em; height: 1em; }
.presentation-validee > .pli .as-link { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.presentation-validee[open] > .pli { margin-bottom: 10px; }
/* « Choisir les personnes » (N7, .wtabs, .attend, .regler, .source, .switch, .chips, .table, .sendbar) : les groupes en
   onglets dans leur coque, l'onglet choisi en carte blanche, son compte en accent ; les annonces dans leur bande ;
   « Régler la recherche » replié dans sa carte (ses parties à plat, les sources en interrupteurs, les critères en
   étiquettes, l'adresse LinkedIn en champ arrondi) ; les origines en pastilles cerclées, leur nombre en mono ; la liste
   et la barre d'envoi d'une campagne lancée (.reserve-campagne, .barre-envoi). */
.wiz .as-tabs {
  width: max-content; max-width: 100%; box-sizing: border-box; gap: 4px; padding: 4px; border-radius: 22px; background: var(--shell);
  box-shadow: inset 0 0 0 1px var(--line);
}
.wiz .as-tab {
  gap: 8px; min-height: 36px; padding: 0 14px; background: transparent; color: var(--ink-muted); box-shadow: none; font-size: 13.5px; font-weight: 650;
}
.wiz .as-tab:hover { color: var(--ink); box-shadow: none; }
.wiz .as-tab--on, .wiz a.as-tab--on { background: var(--surface-0); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 8px 18px -12px rgba(14, 23, 38, 0.4); }
.wiz .as-tab .as-count { padding: 1px 8px; background: var(--surface-100); color: var(--ink); box-shadow: none; font-family: var(--font-mono); font-size: 12px; }
.wiz .as-tab--on .as-count { background: var(--brand); color: var(--on-brand); }
.wiz .annonces-etape {
  flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 12px 12px 16px; border: 0; border-radius: 16px; background: var(--surface-0);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.5;
}
.wiz .as-tabs + .annonces-etape { margin-top: 4px; }
.wiz .annonces-etape > span:last-child { flex: 1 1 220px; min-width: 0; }
.wiz .annonces-etape .as-pill--hot { flex: none; gap: 5px; height: auto; padding: 2px 9px; font-size: 12px; font-weight: 650; line-height: 1.55; }
.wiz .annonces-etape .as-pill--hot .as-pill__mark { color: inherit; }
.wiz .regler-recherche { border: 0; border-radius: 18px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); }
.wizmain > .regler-recherche { margin-top: -2px; }
.wiz .regler-recherche__tete { justify-content: space-between; align-items: center; gap: 6px 14px; padding: 12px 16px; }
.wiz .regler-recherche__tete .pli { font-size: 14px; line-height: 1.55; font-weight: 700; color: var(--ink); }
.wiz .regler-recherche__tete .pli::before { content: none; }
.wiz .regler-recherche__tete .as-small { font-size: 13px; line-height: 1.55; }
.wiz .regler-recherche__corps { gap: 12px; padding: 2px 16px 16px; }
.wiz .regler-recherche__corps > .as-card { margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.wiz .regler-recherche__corps > .as-card > .as-card__body { padding: 0; }
.wiz .regler-recherche__corps .as-label { font-size: 11.5px; line-height: 1.55; font-weight: 650; letter-spacing: 0.06em; color: var(--ink-muted); }
.wiz .source { gap: 6px 12px; font-size: 13px; color: var(--ink-muted); }
.wiz .interrupteur {
  gap: 8px; min-height: 34px; padding: 0 12px 0 7px; border-radius: 999px; background: var(--surface-100); color: var(--ink-muted);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 650;
}
.wiz .interrupteur b { font-weight: inherit; }
.wiz .interrupteur__piste { width: 34px; height: 20px; background: var(--line-strong); transition: background-color 0.3s var(--elan); }
.wiz .interrupteur__piste::after {
  top: 2px; left: 2px; width: 16px; height: 16px; background: #ffffff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.35s var(--elan);
}
.wiz .interrupteur[aria-checked="true"] { background: var(--ok-fond); color: var(--ok-encre); box-shadow: none; }
.wiz .interrupteur[aria-checked="true"] .interrupteur__piste { background: var(--ok-point); }
.wiz .interrupteur[aria-checked="true"] .interrupteur__piste::after { left: 2px; transform: translateX(14px); }
.wiz .filtres-recherche .as-chip {
  min-height: 0; padding: 2px 9px; background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px;
  font-weight: 600; line-height: 1.55;
}
.ajout-adresse__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ajout-adresse__ligne .as-input {
  flex: 1 1 280px; min-width: 0; height: auto; min-height: 38px; box-sizing: border-box; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--surface-0); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14px;
}
.ajout-adresse__ligne .as-input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand); }
.ajout-adresse__ligne .as-btn { gap: 7px; min-height: 36px; padding: 0 14px; background: transparent; font-size: 13.5px; font-weight: 600; }
.ajout-adresse__ligne .as-btn .as-icon { width: 1em; height: 1em; }
.wiz .filtres-liste { gap: 6px; margin: 0; }
.wizmain > .filtres-liste { margin-top: 2px; }
.wiz .filtres-liste .as-chip {
  gap: 6px; min-height: 32px; padding: 0 12px; background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 600; transition: box-shadow 0.25s var(--elan), color 0.25s var(--elan);
}
.wiz .filtres-liste .as-chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.wiz .filtres-liste .as-chip .as-mono { font-weight: 700; color: var(--ink); }
.wiz .filtres-liste .as-chip--on, .wiz .filtres-liste .as-chip--on:hover { background: var(--brand-soft); color: var(--brand-encre); box-shadow: inset 0 0 0 1px var(--brand); }
.wiz .filtres-liste .as-chip--on .as-mono { color: var(--brand-encre); }
.wizmain > .reserve-campagne { margin-top: -2px; }
.wizmain > .barre-envoi { margin-top: 2px; }
.barre-envoi__detail { font-size: 12.5px; color: var(--ink-muted); }

/* ---------- Les notifications (26/10/2026 ; spec docs/superpowers/specs/2026-10-26-notifications-design.md, « Le rendu » ;
   maquette de la cloche validée par Kamel : .rail-haut, .cloche, .badge, .panneau, .notif…) ---------- */
/* La cloche, à côté du logo (.rail-haut) et dans la barre du haut du téléphone : un rond de 40 px aux couleurs de la
   colonne, en encre quand sa liste est ouverte ; son rond d'accent de 20 px, le nombre en mono. S'il y a du nouveau,
   elle sonne deux fois à l'arrivée de la page, et quand le nombre monte (front.js) ; seulement si le système permet les
   animations (plus bas). */
.as-side__haut { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cloche {
  position: relative; flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px;
  background: var(--rail-2); color: var(--rail-ink); text-decoration: none; cursor: pointer;
  transition: background-color 0.3s var(--elan), box-shadow 0.3s var(--elan);
}
.cloche:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.cloche--ouverte { background: var(--ink); color: var(--surface-50); }
.cloche__icone { width: 18px; height: 18px; flex: none; }
.cloche .badge {
  position: absolute; top: -3px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 999px;
  background: var(--rail-accent); color: var(--rail-accent-ink); font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  line-height: 20px; text-align: center; box-shadow: 0 0 0 2px var(--rail);
}
/* La liste : au-dessus de la page, posée au niveau de .as-app et non dans la colonne de gauche (elle défile, et la
   couperait), à 10 px de la colonne ; sa double coque floutée (rayon 26 et 6 px ; la liste dedans, rayon 20) ; elle
   défile en elle-même. Sa hauteur : celle de la maquette (930 px pour un écran de 960), l'écran moins 30 px. Au-dessus
   des menus « ··· » (20), des bulles d'aide (24) et de la barre du haut du téléphone (25), sous le voile (30) et la
   fenêtre (40) d'« Inviter ». Le voile ne se montre qu'au téléphone (plus bas), sous la barre du haut : front.js mesure
   sa hauteur (--haut-de-la-feuille). */
.voile {
  display: none; position: fixed; z-index: 26; inset: var(--haut-de-la-feuille, 64px) 0 0 0; border: 0; padding: 0;
  background: var(--voile); cursor: pointer;
}
.panneau {
  position: fixed; z-index: 27; left: 246px; top: 12px; width: 440px; max-height: calc(100vh - 30px); max-height: calc(100dvh - 30px);
  display: flex; flex-direction: column; padding: 6px; border-radius: 26px; background: var(--shell);
  box-shadow: inset 0 0 0 1px var(--line), var(--ombre); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.panneau:focus { outline: none; }  /* front.js y met le focus quand la liste n'est pas venue (sa phrase d'erreur) */
@media (prefers-reduced-motion: no-preference) {
  .cloche--neuf .cloche__icone { animation: bt-sonne 1.4s var(--elan) 0.4s 2; transform-origin: 50% 10%; }
  .panneau { animation: bt-ouvre 0.45s var(--elan) both; }
}
@keyframes bt-sonne { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-4deg); } }
@keyframes bt-ouvre { from { opacity: 0; transform: translateY(-8px) scale(0.985); } to { opacity: 1; transform: none; } }
/* La liste, dans le panneau comme sur la page « Notifications » (la cloche sans JavaScript) : toutes ses règles sous
   .panneau-in, car ses noms de classe sont courants (.filtres est déjà une grille de front.css). */
.panneau-in {
  display: flex; flex-direction: column; min-height: 0; border-radius: 20px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
:where(.panneau-in) button { font: inherit; color: inherit; } /* 07/11/2026 : :where, pour ne plus passer devant la couleur d'un bouton choisi */
/* La tête : « Notifications » en titre étroit, « Tout marquer comme vu » en lien d'accent, la croix. */
.panneau-in .p-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 8px 18px; }
.panneau-in .p-tete h1, .panneau-in .p-tete h2 {
  margin: 0; font-family: var(--police-titre); font-stretch: 100%; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1;
}
.panneau-in .p-actions { display: flex; align-items: center; gap: 4px; }
/* Au téléphone, « Tout marquer comme vu » passe sur deux lignes : équilibrées (« Tout marquer / comme vu »), sans « vu »
   seul dessous. */
.panneau-in .lien {
  min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--brand-encre); font-size: 13px; font-weight: 650;
  cursor: pointer; text-wrap: balance;
}
.panneau-in .lien:hover { background: var(--brand-soft); }
.panneau-in .ferme {
  display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-muted);
  cursor: pointer;
}
.panneau-in .ferme:hover { background: var(--surface-100); color: var(--ink); }
.panneau-in .ferme__icone, .panneau-in .n-ic__icone { width: 18px; height: 18px; flex: none; }
/* « Toutes » et « Non lues N » : des pastilles cerclées, le nombre en mono ; le filtre choisi en accent. */
.panneau-in .filtres { display: flex; gap: 6px; margin: 0; padding: 0 16px 10px 18px; }
.panneau-in .chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
  color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.panneau-in .chip b { font-family: var(--font-mono); font-weight: 700; color: var(--ink); }
.panneau-in .chip--on { background: var(--brand-soft); color: var(--brand-encre); box-shadow: inset 0 0 0 1px var(--brand); }
.panneau-in .chip--on b { color: var(--brand-encre); }
/* Les jours, puis chaque notification : son icône (38 px, rayon 12, la couleur de sa sorte), son titre, sa petite phrase,
   sa citation encadrée ou sa barre de 6 px, son bouton en pastille (plein quand elle est nouvelle), son moment en mono ;
   nouvelle, son fond d'accent et son point. */
.panneau-in .p-liste { display: grid; gap: 2px; padding: 0 8px 8px; overflow-y: auto; overscroll-behavior: contain; }
.panneau-in .p-liste:focus { outline: none; }  /* front.js y met le focus à l'ouverture : ↓ et ↑ la font défiler */
.panneau-in .jour { margin: 10px 10px 4px; font-size: 11.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.panneau-in .notif {
  position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 12px 34px 12px 10px; border-radius: 16px;
  transition: background-color 0.4s var(--elan);
}
.panneau-in .notif:hover { background: var(--surface-100); }
.panneau-in .notif--neuf, .panneau-in .notif--neuf:hover { background: var(--brand-soft); }
.panneau-in .n-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.panneau-in .n-ic--accepte, .panneau-in .n-ic--rdv { background: var(--ok-fond); color: var(--ok-encre); }
.panneau-in .n-ic--reponse, .panneau-in .n-ic--signal { background: var(--brand-soft); color: var(--brand-encre); }
.panneau-in .n-ic--hot { background: var(--status-validate-bg); color: var(--status-validate-ink); }  /* comme la pastille « Hot » */
.panneau-in .n-ic--probleme { background: var(--avertir-fond); color: var(--avertir-encre); }
.panneau-in .n-corps { display: grid; gap: 4px; min-width: 0; }
.panneau-in .n-titre { margin: 0; font-size: 14.5px; font-weight: 650; line-height: 1.35; }
.panneau-in .n-detail { margin: 0; font-size: 13px; color: var(--ink-muted); }
.panneau-in .n-cit { margin: 2px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; }
.panneau-in .n-progres { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-muted); }
.panneau-in .n-barre { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.panneau-in .n-barre i { display: block; height: 100%; border-radius: 99px; background: var(--ok-encre); }
.panneau-in .n-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 4px; }
.panneau-in .n-bouton {
  min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 13px; font-weight: 650; cursor: pointer; transition: box-shadow 0.25s var(--elan);
}
.panneau-in .n-bouton:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.panneau-in .notif--neuf .n-bouton { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 22px -14px var(--brand); }
.panneau-in .n-quand { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }
.panneau-in .point { position: absolute; top: 18px; right: 14px; width: 9px; height: 9px; border-radius: 99px; background: var(--brand); }
.panneau-in .vide { margin: 18px 12px; color: var(--ink-muted); font-size: 14px; }
/* 19/11/2026 (la cloche « À faire ») : l'icône des messages prêts à valider (l'avion en papier) ; la bande calme
   « L'IA prépare… », sans bouton ni rond, ses trois points qui respirent ; en bas, où est le reste, sous un trait. */
.panneau-in .n-ic--message { background: var(--brand-soft); color: var(--brand-encre); }
.panneau-in .prepare {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; margin: 0 8px 6px; padding: 10px;
  border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line);
}
.panneau-in .prepare__points { display: flex; align-items: center; justify-content: center; gap: 3px; }
.panneau-in .prepare__points i { width: 5px; height: 5px; border-radius: 99px; background: var(--ink-muted); animation: prepare-souffle 1.4s ease-in-out infinite; }
.panneau-in .prepare__points i:nth-child(2) { animation-delay: 0.2s; }
.panneau-in .prepare__points i:nth-child(3) { animation-delay: 0.4s; }
@keyframes prepare-souffle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.panneau-in .prepare__texte { margin: 0; font-size: 13.5px; font-weight: 600; }
.panneau-in .prepare__texte small { display: block; margin-top: 2px; color: var(--ink-muted); font-size: 12.5px; font-weight: 400; }
.panneau-in .calme { margin: 8px 10px 4px; padding-top: 12px; border-top: 1px dashed var(--line-strong); color: var(--ink-muted); font-size: 12.5px; }
/* La liste n'est pas venue (une erreur du serveur, le réseau coupé) : front.js le dit en une phrase, à la place de la
   liste, aux couleurs d'un avertissement. */
.panneau-in .p-erreur { margin: 18px; color: var(--avertir-encre); font-size: 14px; font-weight: 600; line-height: 1.45; }
/* La page « Notifications » (la cloche sans JavaScript) : la même liste, dans la même double coque, de la largeur du
   panneau. */
.notifications-page {
  width: min(100%, 440px); padding: 6px; border-radius: 26px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line), var(--ombre);
}

/* ---------- Les écrans plus petits (à la fin : ces règles l'emportent sur celles du dessus) ---------- */
/* Le téléphone (sous 860 px) : une seule colonne, la barre du haut aux couleurs de la colonne de gauche. */
@media (max-width: 860px) {
  .as-app { grid-template-columns: minmax(0, 1fr); }
  /* 27/10/2026 (la cloche) : 8 px entre ses parties (la maquette en met 12, sans « Menu ») pour que le logo,
     « Aujourd'hui », la cloche et « Menu » tiennent sur une ligne à 390 px ; c'est un conteneur : plus étroite, le logo
     n'y garde que sa marque (en bas du fichier). */
  .barre-mobile {
    padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; column-gap: 8px; background: var(--rail); color: var(--rail-ink); border-bottom: 0;
    box-shadow: inset 0 -1px 0 var(--rail-edge); container-type: inline-size;
  }
  .barre-mobile__aujourdhui { color: var(--rail-ink); }
  .barre-mobile__aujourdhui .as-count { background: var(--rail-accent); color: var(--rail-accent-ink); font-weight: 700; }
  .menu-mobile__liste { border: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line), var(--ombre); }
  .barre-mobile__alerte { border-radius: 12px; }
  .as-main { padding: 18px 16px 48px; }
  .as-pagehead h1, .wizhead h1, .campagne-tete h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .planning { scroll-margin-top: 80px; }  /* « #planning » : le titre sous la barre du haut, qui reste collée */
  /* Le chemin d'une campagne (maquette, sous 900 px) : la coque défile de côté, d'une marche à l'autre. */
  .chemin-boite { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .chemin-boite::-webkit-scrollbar { display: none; }
  .chemin-campagne { grid-template-columns: repeat(5, minmax(108px, 1fr)); min-width: 540px; }
  .chemin-campagne__etape { scroll-snap-align: start; }
  /* La liste de la cloche (maquette, sous 900 px ; ici 860, comme la colonne de gauche) : une feuille sous la barre du
     haut (sa hauteur, mesurée par front.js, et 8 px), de toute la largeur moins 8 px de chaque côté, 780 px au plus,
     sur son voile. */
  .voile { display: block; }
  .panneau {
    left: 8px; right: 8px; top: calc(var(--haut-de-la-feuille, 64px) + 8px); width: auto;
    max-height: min(780px, calc(100vh - var(--haut-de-la-feuille, 64px) - 16px));
    max-height: min(780px, calc(100dvh - var(--haut-de-la-feuille, 64px) - 16px));
  }
}
/* La barre du haut d'un petit téléphone (ou d'un ordinateur, sa barre de défilement en moins) : ses parties demandent
   348 px avec le nom du logo ; en dessous, le logo n'y garde que sa marque, plutôt que « Menu » seul sur une 2e ligne. */
@container (max-width: 349px) {
  .barre-mobile .as-word { display: none; }
}
@media (max-width: 1100px) {
  .point-replie__cartes { grid-auto-flow: row; }  /* « Où en est » ouvert : une colonne (maquette) */
  /* Une ligne de la réserve (maquette, sous 1 100 px) : la note à droite du nom, la raison dessous, puis « Ne plus
     contacter ». */
  .reserve-campagne .prow--tableau, .reserve-campagne .prow--tableau.prow--case--exclure { grid-template-columns: 26px 38px minmax(0, 1fr) 54px; }
  /* bundle.css met les 3e et 4e enfants de toute ligne .prow en colonne 2 sous 860 px : ici, chacun a sa colonne. */
  .reserve-campagne .prow--tableau .bloc-qui { grid-column: 3; }
  .reserve-campagne .prow--tableau .anneau-note { grid-column: 4; grid-row: 1; }
  .reserve-campagne .prow--tableau .bloc-pourquoi { grid-column: 3 / -1; }
  .reserve-campagne .prow--tableau .ne-plus-contacter { grid-column: 3 / -1; justify-self: start; margin-left: -12px; }
  /* … et d'une autre marche : où elle en est passe sous le nom. */
  .tableau-etape .ligne-personne { grid-template-columns: 38px minmax(0, 1fr) 46px 100px 36px; row-gap: 6px; }
  .tableau-etape .ligne-personne__etat { grid-column: 2 / -1; grid-row: 2; }
  /* front.css met le menu « ··· » en colonne 4 sous 640 px : ici, « Décider » et le menu ont chacun la leur. */
  .tableau-etape .ligne-personne__decider { grid-column: 4; grid-row: 1; }
  .tableau-etape .ligne-personne > .menu-ligne, .tableau-etape .ligne-personne > span:last-child:empty { grid-column: 5; grid-row: 1; }
  /* « Suivi » (maquette, sous 1 100 px) : les 7 derniers jours sur deux colonnes, les rendez-vous sur une ; une ligne
     des personnes : l'état et où elle en est passent sous le nom, le menu reste en haut à droite. */
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rdvs { grid-template-columns: minmax(0, 1fr); }
  .lignes-suivi .as-sel { grid-template-columns: 38px minmax(0, 1fr) 36px; row-gap: 6px; }
  .lignes-suivi .as-sel > :nth-child(3), .lignes-suivi .as-sel > :nth-child(4) { grid-column: 2 / 4; }
  .lignes-suivi .as-sel > .menu-ligne { grid-column: 3; grid-row: 1; }
  /* « Nouvelle campagne » (maquette, sous 1 100 px) : la discussion, puis « Ta présentation », sur une colonne. */
  .discussion { grid-template-columns: minmax(0, 1fr); }
  .discussion .fiche-fil { position: static; }
}
@media (max-width: 1050px) {
  .boite { grid-template-columns: minmax(0, 1fr); }
  .boite__detail .carte-decision, .boite__detail .cv-fil { margin: 8px 4px; }
}
/* Les étapes 1 et 2 d'une campagne : bundle.css redonne ses deux colonnes à .two (… 380px) après sa propre règle des
   écrans de moins de 1150 px, qui ne s'appliquait donc jamais ; sur téléphone, la carte principale tombait à 2 px (26/10). */
@media (max-width: 1150px) {
  .two { grid-template-columns: minmax(0, 1fr); }
}
/* Le calendrier : les chiffres sous le trait disparaissent d'abord, puis les tuiles se resserrent (maquette). */
@media (max-width: 1180px) {
  .tuile__compte { display: none; }
  .tuile { min-height: 112px; }
}
@media (max-width: 760px) {
  .planning__coeur { padding: 14px; }
  .planning__ligne { grid-template-columns: 112px minmax(0, 1fr); gap: 4px 10px; }
  .planning__qui { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .carte-decision .as-card__body { padding: 16px; }
  /* La carte de la décision (maquette, sous 560 px) : l'en-tête resserré, l'anneau plus petit, les touches V cachées. */
  .carte-decision__tete { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
  .carte-decision__tete .as-avatar--lg { width: 44px; height: 44px; font-size: 14px; }
  .carte-decision__note { width: 50px; height: 50px; }
  .carte-decision .as-editor__text { padding: 14px 14px 6px; font-size: 16px; }
  .carte-decision .as-editor__bar { padding: 6px 14px 12px; }
  .carte-decision__touches { display: none; }
  .carte-decision .bigbtn[data-valider] { padding: 0 20px; }
  .point-replie__voir { margin-left: 0; }
  .planning__jours, .planning__grille { gap: 4px; }
  .planning__jours { font-size: 10px; letter-spacing: 0.02em; }
  .tuile { min-height: 96px; gap: 6px; padding: 8px 5px; border-radius: 12px; }
  .tuile__date { justify-content: center; }
  .tuile__date > span, .tuile__chiffre small, .tuile__rdv > span { display: none; }
  .tuile__date b { min-width: 0; padding: 0 5px; font-size: 14px; }
  .tuile__chiffre, .tuile__rdv { justify-content: center; }
  .tuile__total { font-size: 18px; }
  .tuile__piste { height: 8px; }
  .tuile__vide { font-size: 11px; text-align: center; }
  .tuile__pause { right: 50%; bottom: 6px; padding: 0 5px; font-size: 8.5px; transform: translateX(50%); }
  /* « Campagnes » (maquette, sous 560 px) : « Nouvelle campagne » sur toute la largeur, son rond à droite. */
  .campagnes-tete > .as-row { align-self: stretch; }
  .campagnes-tete .btn-rond { width: 100%; justify-content: space-between; }
  .cnew { justify-content: flex-start; }
  /* Une campagne (maquette, sous 560 px) : la ligne sans avatar, la note plus petite ; la barre d'envoi resserrée,
     « Inviter » sur toute sa largeur. */
  .reserve-campagne .prow, .reserve-campagne .prow--tableau, .reserve-campagne .prow--tableau.prow--case--exclure {
    grid-template-columns: 26px minmax(0, 1fr) 46px; gap: 10px; padding: 12px;
  }
  /* « Ne plus jamais contacter … ? » : la question et ses boutons sous le nom (bundle.css les met en colonne 2). */
  .reserve-campagne .prow:not(.prow--case) { grid-template-columns: 38px minmax(0, 1fr); }
  .reserve-campagne .prow--tableau > .as-avatar { display: none; }
  .reserve-campagne .prow--tableau .bloc-qui { grid-column: 2; }
  .reserve-campagne .prow--tableau .anneau-note { grid-column: 3; width: 40px; height: 40px; }
  .reserve-campagne .prow--tableau .bloc-pourquoi, .reserve-campagne .prow--tableau .ne-plus-contacter { grid-column: 2 / -1; }
  .barre-envoi__coeur { padding: 12px; }
  .barre-envoi__inviter { width: 100%; justify-content: flex-start; }
  .barre-envoi__inviter .btn-rond__rond { margin-left: auto; }
  .tableau-etape .ligne-personne { grid-template-columns: minmax(0, 1fr) 40px 36px; gap: 6px 10px; padding: 12px; }
  .tableau-etape .ligne-personne > .as-avatar { display: none; }
  .tableau-etape .anneau { width: 40px; height: 40px; }
  .tableau-etape .ligne-personne__etat { grid-column: 1 / -1; }
  .tableau-etape .ligne-personne__decider { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; }
  .tableau-etape .ligne-personne__decider:empty { display: none; }
  .tableau-etape .ligne-personne > .menu-ligne, .tableau-etape .ligne-personne > span:last-child:empty { grid-column: 3; }
  /* « Suivi » (maquette, sous 560 px) : les cartes des 7 jours resserrées ; une ligne des personnes sans avatar. */
  .kpis { gap: 8px; }
  .kpi { padding: 14px; }
  .lignes-suivi .as-sel { grid-template-columns: minmax(0, 1fr) 36px; gap: 6px 10px; padding: 12px; }
  .lignes-suivi .as-sel > .as-avatar { display: none; }
  .lignes-suivi .as-sel > :nth-child(3), .lignes-suivi .as-sel > :nth-child(4) { grid-column: 1 / -1; }
  .lignes-suivi .as-sel > .menu-ligne { grid-column: 2; grid-row: 1; }
  /* « Nouvelle campagne » (maquette, sous 560 px) : la bande resserrée, sans la petite phrase ; le rond au-dessus du
     titre (à côté, comme la maquette, « présentation » sortait de sa case de 12 px, et de 5 px de l'écran avec quatre
     étapes) ; les cartes resserrées ; le détail d'un groupe et ce qui est commun sur une colonne ; le bouton principal
     sur toute la largeur. */
  .etape-bande__lien { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 8px; }
  .etapes__liste--longue .etape-bande__lien { padding: 10px 6px; }
  .etape-bande__rond { width: 28px; height: 28px; font-size: 13px; }
  .etape-bande__texte b { font-size: 12.5px; line-height: 1.25; }
  .etape-bande__texte small { display: none; }
  .discussion__fil, .discussion .fiche-fil { padding: 14px; }
  .bulle-fil, .bulle-fil--moi { max-width: 94%; }
  .groupe-ligne__detail .kv, .commun-groupes__lignes > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .groupe-ligne__detail .kv dd { margin-bottom: 6px; }
  .wizfoot > form, .wizfoot > .as-row { flex: 1 1 100%; }
  .wizfoot .btn-rond, .fiche-fil__pied .btn-rond { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .as-main > *, .as-btn, .as-tab, .subi, .as-nav__item, .camps-menu__fleche, .camps-menu[open] > .sub, .boite__ligne, .tuile, .tuile__plein, .point-replie__fleche, .aujourdhui-vide__rond, .carte-decision__qui .lien-profil, .ligne-lot__corps .lien-profil, .as-editor { animation: none !important; transition: none !important; }
  .ccard, .btn-rond__rond, .mini__etape i::after, .c-plus > summary, .c-plus__fleche, .cnew { animation: none !important; transition: none !important; }
  .fil-campagnes, .chemin-campagne__etape, .a-part .as-chip, .groupes-campagne .as-chip, .reserve-campagne .prow, .reserve-campagne .bloc-qui .lien-profil,
  .reserve-campagne .anneau-note::before, .reserve-campagne .more, .barre-envoi__trait i, .tableau-etape .ligne-personne,
  .tableau-etape .ligne-personne__qui .lien-profil, .tableau-etape .anneau::before { animation: none !important; transition: none !important; }
  .spark i, .rate i::after, .suivi-detail__fleche, .lignes-suivi .as-sel, .lignes-suivi .lien-profil { animation: none !important; transition: none !important; }
  .etape-bande__lien, .etape-bande__rond, .carte-cible, .pastille-sugg, .groupe-ligne__coeur, .groupe-ligne__activer::before,
  .groupe-ligne__activer::after, .interrupteur__piste, .interrupteur__piste::after, .wiz .filtres-liste .as-chip { animation: none !important; transition: none !important; }
  .cloche, .cloche__icone, .panneau, .panneau-in .notif, .panneau-in .n-bouton { animation: none !important; transition: none !important; }
  .panneau-in .prepare__points i { animation: none !important; opacity: 0.6; }  /* 19/11/2026 : la bande « L'IA prépare » */
}

/* 27/10/2026 (lot « fluidité ») : le bouton d'une action envoyée sans recharger la page, pendant qu'elle part (front.js,
   section 15). */
[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ---------- La lecture au téléphone (28/10/2026) ----------
   Kamel : « la version mobile n'est pas très lisible, il faut trouver un moyen pour la rendre plus facile à lire ».
   Sous 860 px seulement (l'ordinateur ne change pas), et à la fin du fichier pour l'emporter sur les règles du dessus :
   - le texte courant à 16 px, les mentions secondaires (campagne, aperçu, date, état…) à 14 px au moins, interligne
     d'environ 1,5 ; le gris des mentions (--ink-muted) passe déjà le contraste AA, en clair comme en sombre ;
   - les zones à toucher font 44 px de haut au moins ;
   - l'en-tête de la carte d'une décision s'empile : l'avatar et le nom sur la largeur, puis la campagne, puis l'état ;
   - les coques autour des cartes s'amincissent, pour rendre de la largeur au texte ;
   - « Suivi » : des lignes plus aérées, et une longue liste montre ses 10 premières personnes (« Voir les N autres »).
   Restent petits exprès : les tuiles du calendrier (sept par ligne), les chiffres dans les anneaux et le badge de la
   cloche, qui n'ont pas la place de grandir. */
/* Le bouton « Voir les N autres » de « Suivi » n'existe qu'au téléphone (la couche du dessous). */
.suivi-campagne__tout { display: none; }
@media (max-width: 860px) {
  /* Le texte courant : 16 px. */
  .as { font-size: 16px; line-height: 1.5; }
  .sous-titre, .wizhead p, .bulle-fil, .carte-decision .recue .citation, .ligne-lot__corps .texte-libre,
  .presentation .lp, .presentation .lp__texte, .presentation .lp__liste, .presentation .lp__attente, .bandeau-campagne__texte,
  .planning__vide, .planning__ligne, .suivi-vide, .panneau-in .vide, .panneau-in .p-erreur, .proposer-groupes__precision,
  .abonnement__atouts, .commun-groupes__lignes, .wiz .annonces-etape, .res table, .case, .toast {
    font-size: 16px; line-height: 1.5;
  }
  /* Les champs à remplir : 16 px (en dessous, l'iPhone agrandit la page quand on touche le champ). */
  .as-input, .as-textarea, .as-select, .as-editor__text, .saisie-fil textarea, .ajout-adresse__ligne .as-input,
  .as input:not([type="checkbox"]):not([type="radio"]), .as textarea, .as select { font-size: 16px; }
  .carte-decision .as-editor__text, .cv-composeur .as-editor__text { font-size: 16px; line-height: 1.55; }
  /* Les noms des personnes et les titres de ligne : 16 px. */
  .as-prospect__name, .boite__haut b, .lignes-suivi .as-prospect__name, .rdvc__qui b, .reserve-campagne .bloc-qui .as-prospect__name,
  .tableau-etape .ligne-personne__qui > b, .groupe-ligne__qui b, .carte-cible b, .profil-fil .as-prospect__name,
  .panneau-in .n-titre, .cnew__texte b, .suivi-campagne__tete .pli, .fiche-fil__tete h2, .chemin-campagne__nom,
  .regler-recherche__tete .pli, .wiz .regler-recherche__tete .pli { font-size: 16px; line-height: 1.4; }
  .carte-decision .as-prospect__name { font-size: 19px; }

  /* Les mentions secondaires : 14 px, interligne 1,45. */
  .as-small, .as-label, .as-field > label, .as-field__label, .as-gauge__top, .as-notice, .as-why, .as-facts, .kv, .more, .why,
  .sec-title span, .pli, .info, .pourquoi, .origine, .diff, .tag, table.tableau,
  .boite__apercu, .boite__campagne, :is(ol.boite__lignes, .lignes-decisions) .boite__haut > .as-small, .boite__detail .row-head .as-small,
  .boite__detail .row-head .as-mono, .cv-groupe, .cv-heure, .cv-jour span, .cv-systeme, .cv-bulle__pied, .cv-tag,
  .point-replie__morceau .as-label, .point-replie__etape, .point-replie__attend, .point-replie__voir, .point-replie__carte h3,
  .point-replie__carte .point__ligne, .point-replie__carte .point__quand,
  .carte-decision__details, .carte-decision__tete .carte-campagne, .carte-decision__sorte, .carte-decision .as-label,
  .carte-decision__dossier, .carte-decision__dossier h3, .carte-decision__faits li > .as-link, .carte-decision__faits li > .as-muted,
  .carte-decision__pli > summary, .carte-decision__pli li, .carte-decision .as-notice--validate, .carte-decision .recue > .as-label,
  .carte-decision .creneau, .signal-carte__tete, .signal-carte__extrait, .signal-carte__source,
  .carte-decision .as-editor__bar, .cv-composeur .as-editor__bar, .carte-decision .as-editor__bar .as-small, .carte-decision__depart,
  .ligne-lot__entreprise, .carte-decision__note-du-lot, .carte-d__titre,
  .planning .cle, .planning .cle b, .planning__legende, .planning__cles .cle, .planning__heure, .planning__heure--jour,
  .planning__genre, .planning__qui small,
  .c-qui .c-obj, .mini__etape span, .c-next, .c-plus > summary, .cnew__texte small, .fil-campagnes, .campagne-tete__reglages,
  .bandeau-campagne__detail, .alerte-carte, .chemin-campagne__detail, .chemin-campagne__taux, .a-part,
  .reserve-campagne .reserve-intro, .reserve-campagne .groupe-tete, .reserve-campagne .groupe-tete__titre b,
  .reserve-campagne .bloc-qui > .as-small, .reserve-campagne .bloc-pourquoi .as-why, .reserve-campagne .bloc-pourquoi .origine,
  .reserve-campagne .ne-plus-contacter, .ne-plus-contacter, .reserve-campagne .more, .barre-envoi__compte span, .barre-envoi__phrase,
  .barre-envoi__detail, .tableau-etape .tableau-personnes__titre, .tableau-etape .ligne-personne__qui > span,
  .tableau-etape .ligne-personne__etat, .tableau-etape .ligne-personne__etat > .as-muted, .tableau-etape .tableau-personnes__pied,
  .kpi__nom, .kpi__phrase, .rdvc__date small, .rdvc__qui > span, .res th, .res td small, .suivi-resultats .foot-note,
  .suivi-detail__voir, .lignes-suivi .as-sel > div > .as-small, .lignes-suivi .as-sel > .as-small,
  .profil-fil .as-msg__who .as-small, .carte-cible .as-small, .carte-cible__reco,
  .presentation .compte-pres, .groupe-pres__titre, .presentation .groupe-pres__titre, .lp, .lp__titre, .lp__lien, .lp__marque,
  .presentation .tag, .presentation .lp__titre, .presentation .lp__lien, .presentation .lp__marque, .fiche-fil__pied .as-small,
  .commun-groupes > b, .commun-groupes__lignes dt, .commun-groupes__lignes dd .as-muted, .groupe-ligne__qui .as-small,
  .groupe-ligne__detail > .pli, .groupe-ligne__detail .kv, .presentation-validee > .pli, .rubrique-fil dt, .liste-confirmer__piste,
  .wiz .regler-recherche__tete .as-small, .wiz .regler-recherche__corps .as-label, .wiz .source, .wiz .interrupteur,
  .abonnement__etiquette, .case-abonnement, .carte-expediteur__lignes dt, .affichage__theme, .langues,
  .panneau-in .lien, .panneau-in .jour, .panneau-in .n-detail, .panneau-in .n-cit, .panneau-in .n-progres, .panneau-in .n-quand,
  .barre-mobile__alerte, .as-user, .as-src, .as-rgpd, .as-score small, .as-piste__meta, .as-dossier__head, .as-sel__invite,
  .segb, .wiz .as-tab, .planning__semaine, .consignes-admin, .etape-bande__texte small {
    font-size: 14px; line-height: 1.45;
  }
  .as-label, .res th, .point-replie__carte h3, .carte-decision .as-label, .cv-groupe { letter-spacing: 0.03em; }
  .as-mono { font-size: 14px; line-height: 1.4; }

  /* Les pastilles, les nombres, les puces et les petits boutons : 14 px, leur hauteur suit le texte. */
  .as-pill, .c-head .as-pill, .campagne-tete__etat > .as-pill, .fiche-fil__tete .as-pill, .c-foot .as-pill--hot,
  .reserve-campagne .bloc-qui .as-pill--hot, .tableau-etape .ligne-personne__qui .as-pill--hot, .wiz .annonces-etape .as-pill--hot {
    height: auto; min-height: 26px; padding: 2px 10px 2px 8px; font-size: 14px; line-height: 1.4;
  }
  .as-count, .as-tab .as-count, .wiz .as-tab .as-count, .cv-badge, .boite__hot, .boite__relire, .boite__ligne .boite__relire,
  .carte-decision__genre { font-size: 14px; line-height: 1.4; }
  .as-avatar, .as-avatar--lg, .lignes-suivi .as-sel > .as-avatar, .reserve-campagne .prow .as-avatar,
  .tableau-etape .ligne-personne > .as-avatar { font-size: 14px; }
  .as-chip, .a-part .as-chip, .groupes-campagne .as-chip, .profil-fil .as-chip, .groupe-ligne__etat .as-chip,
  .wiz .filtres-recherche .as-chip, .wiz .filtres-liste .as-chip, .panneau-in .chip, .pastille-sugg,
  .groupe-ligne__etat .as-pill--accepted, .groupe-ligne__activer { min-height: 32px; font-size: 14px; }
  /* Une puce qu'on touche (un filtre, un choix) : 44 px ; une puce qui ne fait que montrer garde 32 px. */
  .as.as-app :is(a, button, label, summary):is(.as-chip, .pastille-sugg, .groupe-ligne__activer) { min-height: 44px; }

  /* Les zones à toucher : 44 px de haut au moins. */
  .as-btn, .as-btn--sm, .as-tab, .wiz .as-tab, .cv-moitie, .bigbtn { min-height: 44px; }
  .as-btn--sm, .bandeau-campagne .as-btn, .reserve-campagne .pied-carte .as-btn, .tableau-etape .ligne-personne__decider .as-btn,
  .carte-decision .secondaires .as-btn--ghost, .carte-decision .secondaires details.definitif > form .as-btn,
  .carte-decision .ligne-lot__modifier, .rdvc__visio, .rdvc__annuler > summary, .suivi-csv, .wizfoot > .as-btn--ghost,
  .profil-fil .as-card__head > .as-btn, .presentation .mini-actions .as-btn, .proposer-groupes .as-btn--secondary,
  .groupe-ligne__detail .as-row .as-btn, .ajout-adresse__ligne .as-btn, .panneau-in .n-bouton, .c-ouvrir,
  .c-foot details.definitif > summary, .cv-moitie, .compte-connecte .as-btn--ghost { font-size: 14px; }
  .cloche { width: 44px; height: 44px; }
  /* 05/11/2026 (lot 4) : le pied d'une carte de campagne (« N Hot », « Dupliquer », « Supprimer », « Ouvrir ») passe sur
     deux lignes quand il ne tient plus sur une. */
  .c-foot { flex-wrap: wrap; }
  .c-foot > form.en-ligne > .as-btn--ghost { font-size: 14px; }
  .menu-ligne > summary, .lignes-suivi .menu-ligne > summary, .tableau-etape .menu-ligne > summary { min-width: 44px; min-height: 44px; }
  .langues a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
  .point-replie__voir, .suivi-detail__voir, .c-plus > summary { min-height: 44px; }
  /* … et ceux que des règles plus précises (plus haut) gardaient à 30-38 px : les boutons, les champs, les plis
     (« Voir le détail », « La conversation »), les interrupteurs, les petits liens de retour. */
  .as.as-app :is(.as-btn, .as-input, .as-select, .interrupteur, summary, .fil-campagnes, .retour-campagne,
    .saisie-fil__envoyer, .ne-plus-contacter) { min-height: 44px; }
  .as.as-app :is(.fil-campagnes, .retour-campagne) { display: inline-flex; align-items: center; }
  .as.as-app .saisie-fil__envoyer { min-width: 44px; }
  /* La liste des notifications : ses règles restent sous .panneau-in (ses noms de classe sont courants). */
  .panneau-in .n-bouton, .panneau-in .chip { min-height: 44px; }
  .panneau-in .ferme { min-width: 44px; min-height: 44px; }
  .point-replie__resume { padding: 6px 16px; }
  /* La case qui coche une personne (« Choisir les personnes ») : plus grande (24 px), plus facile à toucher. */
  .as.as-app input[type="checkbox"][data-case] { width: 24px; height: 24px; }

  /* « Aujourd'hui » : les coques autour de la file et de la carte s'amincissent (de la largeur pour le texte). */
  .boite__liste { padding: 6px; }
  .boite__ligne { padding: 12px 8px 12px 10px; }
  .boite__detail .carte-decision, .boite__detail .cv-fil {
    margin: 4px 2px; box-shadow: 0 0 0 4px var(--shell), 0 0 0 5px var(--line), var(--ombre);
  }
  .cv-composeur { padding: 14px 14px 16px; }
  /* La réponse à écrire grandit avec son texte (elle ne défile plus dans une petite case). */
  .cv-composeur .as-editor__text { min-height: 7.5em; field-sizing: content; }
  /* Une ligne de la file : la pastille passe sous le nom plutôt que de le couper (« Quentin Gaut… »). */
  :is(ol.boite__lignes, .lignes-decisions) .boite__haut { flex-wrap: wrap; row-gap: 4px; }
  :is(ol.boite__lignes, .lignes-decisions) .boite__haut b { white-space: normal; }
  /* Une carte de « Campagnes » : ses cinq nombres sur deux rangées (3 + 2), leurs noms sans coupure au milieu. */
  .mini { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .cv-bulle { padding: 10px 14px; }
  /* L'en-tête de la carte d'une décision : l'avatar, le nom (et la note à droite) sur la 1re ligne ; dessous, sur toute
     la largeur, son poste, sa campagne et son groupe, puis l'état en pastille. Avant, le nom, la campagne et la pastille
     se partageaient trois colonnes étroites. */
  .carte-decision__tete { grid-auto-flow: row; row-gap: 6px; }
  .carte-decision__tete > .as-avatar--lg + .carte-decision__qui { display: contents; }
  .carte-decision__tete > .as-avatar--lg { grid-column: 1; grid-row: 1; }
  .carte-decision__tete > .as-avatar--lg + .carte-decision__qui > .as-prospect__name { grid-column: 2; grid-row: 1; }
  .carte-decision__tete > .as-avatar--lg + .carte-decision__qui > :not(.as-prospect__name) { grid-column: 1 / -1; }
  .carte-decision__tete > .carte-decision__note { grid-column: 3; grid-row: 1; }
  .carte-decision__tete > .as-pill { grid-column: 1 / -1; justify-self: start; }

  /* « Suivi » : le détail des résultats tient dans la largeur (son tableau défile de côté, lui seul) ; chaque personne
     plus aérée, un trait net entre deux ; une longue liste s'arrête à 10 (le bouton dessous montre les autres). */
  .suivi-detail__corps { grid-template-columns: minmax(0, 1fr); }
  .suivi-detail__corps > * { min-width: 0; }
  .lignes-suivi .as-sel, .lignes-suivi .as-sel:hover { padding: 16px; row-gap: 8px; box-shadow: inset 0 -1px 0 var(--line-strong); }
  .lignes-suivi .as-sel:last-child { box-shadow: none; }
  .lignes-suivi .as-sel .veille { margin-top: 4px; }
  .kpi { padding: 16px; }
  @supports selector(:has(*)) {
    .suivi-campagne__tout { display: block; margin-top: 12px; }
    .suivi-campagne__tout > summary { list-style: none; width: 100%; justify-content: center; }
    .suivi-campagne__tout > summary::-webkit-details-marker { display: none; }
    .suivi-campagne__tout .suivi-campagne__moins, .suivi-campagne__tout[open] .suivi-campagne__plus { display: none; }
    .suivi-campagne__tout[open] .suivi-campagne__moins { display: inline; }
    .suivi-campagne:not(:has(> .suivi-campagne__tout[open])) .lignes-suivi > .as-sel:nth-child(n + 11) { display: none; }
    .suivi-campagne:not(:has(> .suivi-campagne__tout[open])) .lignes-suivi > .as-sel:nth-child(10) {
      box-shadow: none; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px;
    }
  }
}

/* 28/10/2026 (Kamel, au téléphone : « le résultat n'est pas bon du tout quand tu cliques sur Menu ») : la barre du haut
   tient sur une ligne (le logo n'y garde que sa marque, depuis que les boutons font 44 px) ; « Menu » s'ouvre en feuille
   sur toute la largeur de l'écran, sous la barre, et les noms longs des campagnes y vont à la ligne au lieu de pousser
   la liste hors de l'écran ; les onglets de campagnes d'« Aujourd'hui » vont aussi à la ligne. */
@media (max-width: 860px) {
  .barre-mobile { flex-wrap: nowrap; gap: 8px; }
  .barre-mobile .as-word { display: none; }
  .barre-mobile__aujourdhui { white-space: nowrap; }
  .menu-mobile { position: static; }
  .menu-mobile__liste {
    position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
    top: calc(env(safe-area-inset-top, 0px) + 70px); min-width: 0; max-height: calc(100dvh - 90px); z-index: 40;
  }
  .menu-mobile__liste a { white-space: normal; overflow-wrap: anywhere; }
  .menu-mobile__liste a { display: flex; align-items: center; gap: 10px; }
  .menu-mobile__liste .as-nav__icone { color: var(--ink-muted); }
  .onglets-aujourdhui { flex-wrap: wrap; max-width: 100%; }
  .onglets-aujourdhui .as-tab { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }
}


/* 29/10/2026 (Kamel : les commentaires « mélangés avec les messages ») : un commentaire public se reconnaît d'un coup
   d'œil (sa pastille, « Commentée hier »), et se retrouve dans le fil de la conversation. */
.as-pill--public { background: var(--brand-soft); color: var(--brand-encre); font-weight: 650; }
.as-pill--public .as-pill__mark { display: none; }
.boite__commentee { flex: none; height: auto; padding: 2px 9px; font-size: 12px; }
.cv-commentaire {
  align-self: stretch; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px;
  background: var(--brand-soft); border-radius: 12px; list-style: none;
}
.cv-commentaire__tete { font-size: 12.5px; font-weight: 650; color: var(--brand-encre); }


/* 31/10/2026 : créer une campagne en 5 questions (gabarits/_questionnaire.html ; maquette validée par Kamel, et le
   style « A Doux » de ses champs : des champs blancs aux coins arrondis, un halo de couleur quand on écrit, des pastilles
   douces pour ce qui est choisi, en pointillés pour ce qui est proposé, un interrupteur pour les valeurs fixes). */
.qz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 20px; align-items: start; }
.qz__fil { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.qz-bloc {
  display: flex; flex-direction: column; gap: 16px; padding: 24px; min-width: 0;
  background: var(--surface-0); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card);
}
.qz-bloc h2 { margin: 0; font-size: 22px; line-height: 1.25; text-wrap: balance; }
.qz-bloc__pas { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-muted); }
.qz-aide { margin: 0; color: var(--ink-muted); font-size: 14px; }
.qz-faite {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 18px; color: var(--ink);
  text-decoration: none; border: 1px dashed var(--line-strong); border-radius: 14px;
}
.qz-faite:hover { border-color: var(--brand); text-decoration: none; }
.qz-faite-form { display: grid; margin: 0; }  /* 03/11/2026 : « Revoir le positionnement », un bouton qui a l'air d'une réponse */
button.qz-faite { width: 100%; background: none; font: inherit; text-align: left; cursor: pointer; }
.qz-faite__q { font-size: 13px; color: var(--ink-muted); }
.qz-faite__r { grid-column: 1; font-weight: 600; overflow-wrap: anywhere; }
.qz-faite__modifier { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--brand-encre); font-size: 13px; font-weight: 600; }
.qz-choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.qz-carte {
  display: flex; flex-direction: column; gap: 3px; padding: 13px 15px; text-align: left; cursor: pointer; font: inherit;
  color: var(--ink); background: var(--surface-0); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color 0.15s, background 0.15s;
}
.qz-carte:hover, .qz-carte--choisie { border-color: var(--brand); background: var(--brand-soft); }
.qz-carte b { font-size: 15.5px; }
.qz-carte small { color: var(--ink-muted); font-size: 13.5px; line-height: 1.4; }
.qz-carte__reco { font-size: 12px; font-weight: 650; color: var(--status-accepted-ink); }
.qz-carte--autre { border-style: dashed; }
.qz-copier { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-muted); }
.qz-form { display: flex; flex-direction: column; gap: 16px; }
.qz-champ { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.qz-champ > label, .qz-champ > legend { padding: 0; font-size: 14px; font-weight: 600; }
.qz-fac { font-weight: 400; color: var(--ink-muted); }
.qz-champ input[type="text"], .qz-champ textarea, .qz-ajout input[type="text"], .qz-corriger textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface-0);
  border: 1px solid var(--line-strong); border-radius: 12px; resize: vertical; transition: border-color 0.15s, box-shadow 0.15s;
}
.qz-champ input[type="text"]:focus, .qz-champ textarea:focus, .qz-ajout input[type="text"]:focus, .qz-corriger textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.qz-ajout { display: flex; gap: 8px; align-items: center; }
.qz-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.qz-pc {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer;
  color: var(--ink-muted); background: none; border: 1px dashed var(--line-strong); border-radius: 999px;
}
.qz-pc input { position: absolute; opacity: 0; pointer-events: none; }
.qz-pc:has(input:checked) { color: var(--brand-encre); background: var(--brand-soft); border: 1px solid transparent; font-weight: 550; }
/* La croix d'une pastille choisie, le « plus » d'une pastille proposée : deux traits dessinés (aucun texte). */
.qz-pc:has(input:checked)::after, .qz-pc:has(input:not(:checked))::before {
  content: ""; flex: none; width: 9px; height: 9px; opacity: 0.75;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.6px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.6px 100% no-repeat;
}
.qz-pc:has(input:checked)::after { transform: rotate(45deg); }
.qz-pc:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.qz-pc--copie { border-style: solid; color: var(--ink); }
.qz-pc--copie:hover { border-color: var(--brand); color: var(--brand-encre); }
.qz-reprise { margin: 0; }
.qz-relu { margin: 0; align-self: flex-start; padding: 3px 10px; font-size: 13px; font-weight: 600; color: var(--status-planned-ink); background: var(--status-planned-bg); border-radius: 999px; }
.qz-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface-50); border-radius: 12px; }
.qz-seg label {
  flex: 1 0 auto; padding: 8px 10px; text-align: center; font-size: 14px; color: var(--ink-muted); border-radius: 9px; cursor: pointer;
}
.qz-seg input { position: absolute; opacity: 0; pointer-events: none; }
.qz-seg label:has(input:checked) { background: var(--surface-0); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(14, 23, 38, 0.14); }
.qz-seg label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 1px; }
.qz-pied { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.qz-presentation {
  position: sticky; top: 16px; display: flex; flex-direction: column; background: var(--surface-0);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-pop);
}
.qz-presentation__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 18px 20px 12px; }
.qz-presentation__tete h2 { margin: 0; font-size: 18px; }
.qz-jauge { height: 4px; margin: 0 20px; background: var(--gauge-track); border-radius: 999px; overflow: hidden; }
.qz-jauge i { display: block; height: 100%; background: var(--brand); transition: width 0.4s; }
.qz-lignes { display: flex; flex-direction: column; padding: 6px 20px; }
.qz-ligne { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.qz-ligne:last-child { animation: qz-entre 0.5s ease both; }  /* la dernière arrivée */
.qz-ligne:first-child { border-top: 0; }
.qz-ligne p, .qz-ligne ul { margin: 0; font-size: 14.5px; overflow-wrap: anywhere; }
.qz-ligne ul { padding-left: 18px; }
.qz-ligne__tete { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink-muted); }
.qz-ligne__source { font-size: 11px; font-weight: 650; color: var(--status-planned-ink); }
.qz-ligne__modifier, .qz-corriger > summary { align-self: flex-start; color: var(--brand-encre); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.qz-corriger form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.qz-vide { margin: 0; padding: 18px 0; text-align: center; color: var(--ink-muted); font-size: 14px; }
.qz-ligne__a-ecrire { color: var(--brand-encre); font-weight: 600; }
.qz-manque { margin: 0; padding: 12px 20px; font-size: 14px; color: var(--brand-encre); background: var(--brand-soft); }
.qz-manque--ok { color: var(--status-accepted-ink); background: var(--status-accepted-bg); }
.qz-valider { padding: 14px 20px 18px; }
.qz-valider .as-btn { width: 100%; justify-content: center; }
@keyframes qz-entre { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qz-ligne:last-child { animation: none; } .qz-jauge i { transition: none; } }
@media (max-width: 1100px) {
  .qz { grid-template-columns: minmax(0, 1fr); }
  .qz-presentation { position: static; }
}
@media (max-width: 560px) {
  .qz-bloc { padding: 18px 16px; }
  .qz-ajout { flex-wrap: wrap; }
}

/* 01/11/2026 : l'envoi automatique (maquette validée AkLmNZ947s7XhFGqhfyD9Y) : l'interrupteur, les deux cartes de la
   campagne, « Gardé pour toi », le bandeau d'« Aujourd'hui » et « Partis tout seuls ». Les couleurs passent par les
   jetons : les deux thèmes suivent. */
/* La bascule : 44 px de haut pour le doigt (la piste dessinée au milieu) ; un nom à elle, « interrupteur » étant celui
   des sources d'une piste. */
.bascule { position: relative; width: 50px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; flex: none; }
.bascule::before { content: ""; position: absolute; left: 2px; top: 9px; width: 46px; height: 26px; border-radius: var(--radius-pill); background: var(--line-strong); transition: background-color .15s ease; }
.bascule span { position: absolute; top: 12px; left: 5px; width: 20px; height: 20px; border-radius: var(--radius-pill); background: var(--surface-0); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .15s ease; }
.bascule--on::before { background: var(--brand); }
.bascule--on span { left: 25px; }
.bascule:disabled { cursor: not-allowed; opacity: .5; }
.bascule:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; border-radius: var(--radius-sm); }
.bascule--petit { width: 42px; }
.bascule--petit::before { width: 38px; height: 22px; top: 11px; }
.bascule--petit span { top: 14px; width: 16px; height: 16px; }
.bascule--petit.bascule--on span { left: 21px; }
.envoi-auto--on { border-color: var(--brand); }
.envoi-auto__tete { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.envoi-auto__titre { flex: 1; min-width: 220px; }
.envoi-auto__titre h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.envoi-auto__phrase { margin: 0; }
.pastille-pro { display: inline-block; font: 600 11px/1 var(--font-mono); letter-spacing: .05em; color: var(--brand-encre); background: var(--brand-soft); border-radius: var(--radius-pill); padding: 4px 8px; }
.envoi-auto__trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.envoi-auto__trois > div { display: flex; flex-direction: column; gap: 4px; background: var(--surface-100); border-radius: 12px; padding: 12px 14px; }
.envoi-auto__trois > .envoi-auto__garde { background: var(--status-validate-bg); color: var(--status-validate-ink); }
@media (max-width: 760px) { .envoi-auto__trois { grid-template-columns: 1fr; } }
.auto-personne { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; }
.cv-auto { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.carte-garde { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--status-validate-bg); color: var(--status-validate-ink); font-size: 14px; }
.envoi-auto-bandeau__corps { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; }
.envoi-auto-bandeau__texte { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 2px; }
.tableau-partis { padding: 6px 18px; }
.ligne-parti { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.ligne-parti:first-child { border-top: 0; }
.ligne-parti__qui { display: flex; flex-direction: column; min-width: 0; }
.ligne-parti--a-venir .ligne-parti__quand { color: var(--status-validate-ink); font-weight: 600; }
.tableau-partis__vide { padding: 14px 0; }
@media (max-width: 640px) { .ligne-parti { grid-template-columns: 1fr; gap: 6px; } }

/* 01/11/2026 (« Aujourd'hui » repensé) : le menu des campagnes en haut à droite, les filtres du haut, les
   sections de « Tous ». Les couleurs passent par les jetons : les deux thèmes suivent. */
.aujourdhui-tete { align-items: flex-start; gap: 12px 20px; }  /* le menu en haut à droite, pas au pied du titre */
.menu-campagnes { position: relative; flex: none; }
.menu-campagnes > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.menu-campagnes > summary::-webkit-details-marker { display: none; }
.menu-campagnes__liste { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 280px; max-height: 60vh; overflow-y: auto; padding: 6px; display: grid; gap: 2px; box-shadow: var(--ombre), inset 0 0 0 1px var(--line); }
.menu-campagnes__choix { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: 14px; }
.menu-campagnes__fleche { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; flex: none; }
.menu-campagnes[open] .menu-campagnes__fleche { transform: translateY(2px) rotate(-135deg); }
.menu-campagnes__choix:hover { background: var(--surface-100); }
.menu-campagnes__choix--on { background: var(--brand-soft); font-weight: 600; }
.menu-campagnes__nombre { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-muted); }
.filtres-haut { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; }
.filtres-haut .as-chip { text-decoration: none; color: inherit; height: 34px; padding: 0 14px; font-size: 14px; border-radius: 999px; }
.filtres-haut .as-chip .as-mono { opacity: .7; font-size: 12px; }
.sections-tous { display: grid; gap: 2px; }
.section-tous > summary { list-style: none; cursor: pointer; }
.section-tous > summary::-webkit-details-marker { display: none; }
.section-tous__tete { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; }
.section-tous__tete::before { content: ""; width: 6px; height: 6px; margin: 0 3px; border-right: 1.5px solid var(--ink-muted); border-bottom: 1.5px solid var(--ink-muted); transform: rotate(-45deg); transition: transform .15s; flex: none; }
.section-tous[open] > .section-tous__tete::before { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .menu-campagnes__fleche, .section-tous__tete::before { transition: none; } }
.section-tous[open] > .section-tous__tete { background: var(--surface-100); }
.section-tous__nombre { margin-left: auto; color: var(--ink-muted); font-size: 12px; }
.section-tous__tete--urgent .section-tous__nombre { background: var(--brand); color: var(--on-brand); border-radius: 999px; padding: 0 8px; }
@media (max-width: 860px) {
  .filtres-haut { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filtres-haut .as-chip { flex: none; }
  .menu-campagnes { width: 100%; }
  .menu-campagnes__bouton { width: 100%; justify-content: space-between; }
  .menu-campagnes__liste { left: 0; right: 0; min-width: 0; }
}

/* 01/11/2026 : le dossier en bas de la carte, fermé par défaut. */
.carte-decision__repli { border-top: 1px dashed var(--line-strong); padding-top: 10px; }
.carte-decision__repli > summary { cursor: pointer; }
.carte-decision__repli[open] > .carte-decision__dossier { margin-top: 10px; }

/* 03/11/2026 (la création repensée, lot 1 ; maquette MMDTmMEdZMVoJVurR9khxm) : l'étape 1, « Positionnement »
   (gabarits/_positionnement.html). Kamel : « les boutons retour et prochaine étape, dans tous les écrans, doivent rester
   à la même place, on ne doit pas voir que ça saute » : l'écran remplit la hauteur de la page, ses boutons en bas. */
.as-main > .wiz--positionnement { flex: 1 0 auto; display: flex; flex-direction: column; align-items: stretch; }
/* Ces écrans tiennent sans défiler (1366 × 620) : moins de marge en bas, et la lueur du fond (un disque de 900 px)
   ne descend pas plus bas que la page (elle l'allongeait de 100 px et plus). */
.as-main:has(> .wiz--positionnement) { padding-bottom: 16px; }
.as-main:has(> .wiz--positionnement)::before { max-height: 118%; }
.wiz--positionnement > .wizmain { flex: 1 0 auto; display: flex; flex-direction: column; gap: 10px; }
.wiz--positionnement .wizfoot { margin-top: auto; }
.wiz--positionnement .wizfoot .as-row { align-items: center; }
.wiz--positionnement button.as-chip { border: 0; cursor: pointer; font-family: inherit; color: var(--ink); }  /* comme la maquette */
.wiz--positionnement button.as-chip--on { color: var(--brand-encre); }
/* La bande : sous l'étape affichée, un petit rectangle par écran, plein quand on l'a atteint. */
.etape-bande__pas { display: flex; gap: 3px; margin-top: 6px; }
.etape-bande__pas i { position: relative; flex: 1 1 0; max-width: 30px; min-width: 8px; height: 4px; border-radius: 2px; background: var(--gauge-track); overflow: hidden; }
.etape-bande__pas i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand); transform: scaleX(0); transform-origin: left center; transition: transform 0.45s var(--elan, ease); }
.etape-bande__pas i.plein::after { transform: none; }
/* Les sources : des cartes à choisir (une seule), le champ du site dessous. */
.pos-ecran { display: flex; flex-direction: column; gap: 12px; }
.pos-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pos-source { position: relative; }
.pos-source b { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pos-source:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.pos-source:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
/* 05/11/2026 au soir : les services d'une campagne, à cocher (15 au plus : 3 colonnes, l'écran tient sans défiler) */
.pos-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pos-services .qz-carte { padding: 10px 13px; }
.pos-prefixe { font-size: 12.5px; font-weight: 600; color: var(--ink-muted); }
.pos-choisir { min-height: 24px; height: 24px; padding: 0 10px; font-size: 12.5px; }
.pos-reco--alerte { color: var(--status-validate-ink) !important; }
.pos-profil { margin: 0; color: var(--ink-muted); }
/* Le questionnaire guidé : une question par écran, ses champs dans une carte ; les cases à un seul choix. */
.pos-objectifs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pos-champs { display: grid; gap: 16px; max-width: 760px; }
.pos-champ { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pos-champ > legend { padding: 0; margin-bottom: 8px; }
.pos-puce { position: relative; cursor: pointer; }
.pos-puce:has(input:checked) { background: var(--brand-soft); color: var(--brand-encre); box-shadow: inset 0 0 0 1px var(--brand); }
.pos-puce:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.pos-suggestion { gap: 6px; border: 1px dashed var(--sugg-trait, var(--line-strong)) !important; background: var(--surface-0); }
.pos-suggestion .as-icon { width: 12px; height: 12px; }
.pos-site { display: grid; gap: 6px; max-width: 520px; }
.pos-site > summary { cursor: pointer; color: var(--brand-encre); font-weight: 600; width: max-content; }
.pos-site[open] > summary { margin-bottom: 6px; }
.pos-copier { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pos-copier__nom { padding: 0; border: 0; background: none; font: inherit; color: var(--brand-encre); font-weight: 600; cursor: pointer; }
.pos-copier__nom:hover { text-decoration: underline; }
/* L'attente de l'analyse. */
.pos-attente { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.pos-attente .recherche-hot__tourne { flex: none; width: 18px; height: 18px; }
.pos-attente p { margin: 2px 0 0; }
/* La fiche : l'entreprise en tête, une ligne par élément, sa source à droite (la phrase exacte en bulle). */
.pos-fiche { overflow: visible; padding: 0; }
.pos-fiche__tete { display: flex; align-items: center; gap: 14px; padding: 7px 18px; border-bottom: 1px solid var(--line); }
.pos-monogramme { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--surface-0); font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.pos-fiche__nom { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.pos-fiche__qui { font-size: 13.5px; line-height: 1.4; color: var(--ink-muted); }
.pos-fiche__sources { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.pos-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; background: var(--surface-100); color: var(--ink-muted); font-size: 12px; font-weight: 600; }
.pos-conflit { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--status-validate-bg); color: var(--status-validate-ink); font-size: 12.5px; font-weight: 650; }
.pos-conflit .info { border-color: currentColor; color: inherit; }
.pos-conflit .as-chip { background: var(--surface-0); }
.pos-fiche__avis { margin: 0; padding: 8px 18px; border-bottom: 1px solid var(--line); color: var(--status-validate-ink); background: var(--status-validate-bg); }
.pos-ligne { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto 30px; align-items: center; column-gap: 16px; padding: 4px 18px; border-top: 1px solid var(--line); }
.pos-a-choisir > .pos-ligne:first-child { border-top: 0; }
.pos-ligne--manque { box-shadow: inset 3px 0 0 var(--brand); }
.pos-ligne__nom { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.pos-ligne__valeur { font-size: 14.5px; line-height: 1.45; min-width: 0; overflow-wrap: anywhere; }
.pos-ligne__source { display: inline-flex; align-items: center; gap: 6px; justify-self: end; font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.pos-source-lue, .pos-a-verifier { position: relative; text-decoration: underline dotted var(--line-strong); text-underline-offset: 3px; cursor: help; }
.pos-a-verifier { color: var(--status-validate-ink); font-weight: 650; }
.pos-source-lue .bulle, .pos-a-verifier .bulle { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: max-content; max-width: 320px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--ink); color: var(--surface-0); font-size: 13px; font-weight: 400; line-height: 1.45; white-space: normal; text-align: left; box-shadow: var(--shadow-pop); opacity: 0; pointer-events: none; transition: opacity .12s; }
.pos-source-lue:hover .bulle, .pos-source-lue:focus .bulle, .pos-a-verifier:hover .bulle, .pos-a-verifier:focus .bulle { opacity: 1; }
.pos-a-completer { font-weight: 650; color: var(--brand-encre); }
.pos-corriger { justify-self: end; padding: 0 4px; height: 24px; min-height: 24px; opacity: 0; transition: opacity .15s; cursor: pointer; }
.pos-corriger .as-icon { width: 14px; height: 14px; }
.pos-ligne:hover .pos-corriger, .pos-ligne:focus-within .pos-corriger, .pos-bascule:checked + .pos-corriger { opacity: 1; }
.pos-bascule:focus-visible + .pos-corriger { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (hover: none) { .pos-corriger { opacity: 1; } }
/* La correction se fait sur la ligne, à la place du texte (la zone et « Enregistrer » côte à côte ; pour l'objectif,
   ses 5 cases) : la page ne grandit presque pas, rien ne défile. */
.pos-edition { display: none; grid-column: 2; grid-row: 1; gap: 8px; align-items: center; min-width: 0; }
.pos-edition:not(.pos-edition--cases) { grid-template-columns: minmax(0, 1fr) auto; }
.pos-edition .as-textarea { width: 100%; min-height: 0; padding: 6px 10px; font-size: 14.5px; line-height: 1.4; resize: vertical; }
.pos-bascule:checked ~ .pos-edition { display: grid; }
.pos-bascule:checked ~ .pos-edition--cases { display: flex; flex-wrap: wrap; }
.pos-ligne:has(.pos-bascule:checked) .pos-ligne__valeur { display: none; }
.pos-indice { font-size: 13px; color: var(--ink-muted); }
/* 20/11/2026 au soir : la case « Garder … comme mon site », à côté de « Valider le positionnement ». */
.pos-valider { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 14px; min-width: 0; }
.pos-garder-site { font-size: 13px; color: var(--ink-muted); min-width: 0; }
@media (prefers-reduced-motion: reduce) { .etape-bande__pas i::after, .pos-corriger { transition: none; } }
/* Au téléphone : le nom de la ligne, puis son texte (le crayon à droite), puis sa source dessous. */
@media (max-width: 860px) {
  .pos-sources { grid-template-columns: minmax(0, 1fr); }
  .pos-ligne { grid-template-columns: minmax(0, 1fr) 30px; row-gap: 2px; }
  .pos-ligne__nom { grid-column: 1 / -1; }
  .pos-ligne__valeur { grid-column: 1; grid-row: 2; }
  .pos-ligne__source { grid-column: 1; grid-row: 3; justify-self: start; flex-wrap: wrap; white-space: normal; }
  .pos-corriger { grid-column: 2; grid-row: 2; }
  .pos-edition { grid-column: 1 / -1; grid-row: 2; }
  .pos-source-lue .bulle, .pos-a-verifier .bulle { left: 0; right: auto; max-width: min(320px, 80vw); }
  .pos-fiche__tete { flex-wrap: wrap; }
  .pos-fiche__sources, .pos-conflit { margin-left: 0; justify-content: flex-start; }
  .pos-conflit { border-radius: 12px; }
}

/* 04/11/2026 (la création repensée, lot 2 ; maquette MMDTmMEdZMVoJVurR9khxm, écrans c1 à c4) : l'étape « Ciblage »
   (gabarits/_ciblage.html). Les mêmes règles que le positionnement (wiz--positionnement : l'écran remplit la page, ses
   boutons en bas) ; un ajout s'ouvre en bulle, par-dessus (la page ne grandit pas, rien ne saute). */
.ci-tete { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.ci-actions { display: flex; align-items: center; gap: 8px; }
.ci-actions .as-btn, .ci-ajout > summary { gap: 6px; }
.ci-indice { font-size: 13px; color: var(--ink-muted); }
.ci-indice--alerte { color: var(--brand-encre); font-weight: 600; }
.ci-panne { display: flex; align-items: center; gap: 10px; }
/* Les profils : des cartes à cocher, 3 par rangée (le texte entier au survol). */
.ci-profils { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ci-profil-f { display: contents; }
.ci-profil { position: relative; gap: 2px; padding: 9px 12px 9px 42px; text-align: left; font: inherit; cursor: pointer; }
.ci-profil b { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14.5px; min-width: 0; }
.ci-profil__nom, .ci-profil small, .ci-profil__source { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-profil small { font-size: 12.5px; }
.ci-profil__source { font-size: 12px; color: var(--ink-muted); }
.ci-profil--plein { opacity: 0.5; }
.ci-coche { position: absolute; left: 13px; top: 10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--surface-0); box-shadow: inset 0 0 0 1.5px var(--line-strong); color: transparent; transition: background-color 0.15s, box-shadow 0.15s; }
.ci-coche .as-icon { width: 13px; height: 13px; }
.ci-profil[aria-pressed="true"] .ci-coche { background: var(--brand); box-shadow: none; color: var(--on-brand); }
.ci-deja { position: absolute; right: 10px; bottom: 8px; font-size: 11px; font-weight: 600; color: var(--status-validate-ink); }
/* 29/11/2026 (correction 4) : « Déjà visé · France » : une zone longue se coupe, la bulle la dit en entier. */
.ci-deja { max-width: 45%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ci-profil:has(.ci-deja) .ci-profil__source { padding-right: calc(45% + 6px); }
/* Un ajout (« Autre profil », un poste, un secteur, un mot-clé…) : son bouton, puis son champ en bulle. */
.ci-ajout { position: relative; display: inline-flex; }
.ci-ajout > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; }
.ci-ajout > summary::-webkit-details-marker { display: none; }
.ci-ajout__champ { position: absolute; z-index: 6; top: calc(100% + 6px); left: 0; display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 12px; background: var(--surface-0); box-shadow: 0 10px 30px rgba(14, 23, 38, 0.16), inset 0 0 0 1px var(--line); }
.ci-ajout--droite .ci-ajout__champ { left: auto; right: 0; }
.ci-ajout__champ .as-input { width: 300px; }
.ci-champ { width: 200px !important; min-height: 30px; height: 30px; padding: 0 10px; font-size: 13px; }
.ci-plus { gap: 4px; cursor: pointer; color: var(--ink); text-decoration: none; }
.ci-plus .as-icon, .ci-propose .as-icon, .ci-retirable .as-icon { width: 12px; height: 12px; }
.ci-propose { color: var(--ink-muted) !important; }
/* 29/11/2026 (correction 2) : les équivalents d'un poste dans les langues des pays, chacun avec sa croix. */
.ci-equivalents { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.ci-equivalent { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border: 1px dashed var(--line, rgba(0,0,0,.18)); border-radius: 6px; background: transparent; font: inherit; font-size: 12px; color: var(--ink); cursor: pointer; }
.ci-equivalent:hover { border-style: solid; }
.ci-equivalent .ci-croix { display: inline-flex; color: var(--ink-muted); }
.ci-equivalent .ci-croix .as-icon { width: 10px; height: 10px; }
.ci-tous { color: var(--ink-muted); }
/* Les critères : une ligne par profil, une colonne par critère ; le cas extrême (3 profils de 8 postes) défile dans sa
   carte, jamais la page. */
.ci-criteres { position: relative; display: grid; grid-template-columns: minmax(170px, 0.8fr) minmax(0, 1.35fr) minmax(0, 1.2fr) minmax(0, 0.8fr) fit-content(200px); overflow: auto; flex: 0 1 auto; min-height: 140px; }
/* Le tableau prend la place qui reste entre le titre et les boutons : la chaîne des hauteurs est tenue jusqu'à la page
   (au bureau seulement ; le téléphone défile). « position: relative » : ses textes cachés (lecteurs d'écran) restent
   dedans (sans lui, ils allongeaient la page de 300 px). */
@media (min-width: 861px) {
  .as-main:has(.ci-criteres) { max-height: 100dvh; }
  .as-main:has(.ci-criteres) > .wiz--positionnement { flex: 1 1 0; min-height: 0; }
  .wiz--positionnement:has(.ci-criteres) > .wizmain { flex: 1 1 0; min-height: 0; }
}
.ci-criteres > .ci-rangee { display: contents; }
.ci-case { min-width: 0; padding: 10px 14px; border-top: 1px solid var(--line); }
.ci-rangee--tete > .ci-case { border-top: 0; padding: 9px 14px 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-muted); display: flex; align-items: center; gap: 6px; }
.ci-case > b { display: block; font-weight: 650; line-height: 1.35; }
.ci-case .as-chips { gap: 6px; }
.ci-case__source { margin-top: 2px; font-size: 12.5px; color: var(--ink-muted); display: flex; align-items: center; gap: 6px; }
/* 16/11/2026 (la communauté et l'expérience) : sous chaque profil, sur toute la largeur, sa communauté puis ses années
   (des pastilles sur une ligne) ; sans trait au-dessus : la ligne appartient au profil. */
.ci-reglages { grid-column: 1 / -1; border-top: 0; padding-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.ci-communaute { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ci-communaute .ci-champ { width: 150px !important; }
.ci-reglage { display: inline-flex; align-items: center; gap: 6px; }
.ci-reglage__nom { font-size: 12.5px; font-weight: 600; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 6px; }
.ci-communaute .case { font-size: 13px; }
.ci-annees { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
/* Le soir : la colonne « Affiner » repliée ; une pastille longue (« Dans l'entreprise depuis : moins d'un an ») passe
   à la ligne dans sa colonne, sans l'élargir. */
/* Des pastilles courtes et serrées (« BNI · membre », « Exp. 3-5 ans », « Entr. < 1 an ») : deux par ligne, pour que la
   case ne dépasse pas la hauteur des postes de son profil. */
.ci-affiner { padding-left: 10px; padding-right: 10px; }
.ci-affiner .as-chips { gap: 4px; }
.ci-resume { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: auto; min-height: 22px; padding: 2px 8px; font-size: 11.5px; line-height: 1.3; }
/* Les pays. */
.ci-pays { display: grid; gap: 14px; }
.ci-pays .as-chips { gap: 8px; }
.ci-autre-pays { display: flex; gap: 8px; max-width: 420px; }
/* Les signaux Hot : une ligne par signal, son interrupteur à droite ; éteint, sa ligne pâlit. */
.ci-pastille { vertical-align: middle; }
.ci-signaux { gap: 0; }
.ci-signaux .filtre { grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ci-signaux .filtre:first-child { border-top: 0; padding-top: 4px; }
.ci-signaux dt { font-weight: 650; display: flex; align-items: center; gap: 6px; }
.ci-signaux dd { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ci-signal--eteint dd { opacity: 0.45; }
.ci-retirable { gap: 6px; }
/* Au téléphone : une carte par rangée ; chaque ligne des critères en bloc, le nom de sa colonne au-dessus. */
@media (max-width: 860px) {
  .ci-tete { flex-direction: column; align-items: flex-start; }
  .ci-profils { grid-template-columns: minmax(0, 1fr); }
  .ci-criteres { display: block; max-height: none; }
  .ci-criteres > .ci-rangee { display: block; padding: 6px 0; border-top: 1px solid var(--line); }
  .ci-rangee--tete { display: none !important; }
  .ci-case { border-top: 0; padding: 6px 14px; }
  .ci-case[data-titre]::before { content: attr(data-titre); display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
  .ci-signaux .filtre { grid-template-columns: minmax(0, 1fr) auto; }
  .ci-signaux dd { grid-column: 1 / -1; grid-row: 2; }
  .ci-ajout__champ { position: static; margin-top: 6px; }
  .ci-ajout__champ .as-input, .ci-champ { width: 100% !important; }
  .ci-ajout { flex-direction: column; align-items: flex-start; }
  .ci-reglages { display: grid; gap: 8px; }
  .ci-communaute .ci-champ { width: 100% !important; }
}
/* Le récapitulatif (« Vérifier la campagne ») : en fenêtre au ciblage, en page après le lancement ; 3 colonnes. */
.sheet.ci-recap { width: min(1060px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 14px; }
.ci-recap__titre { font-size: 22px; line-height: 28px; margin: 0; }
.ci-recap--page { padding: 18px 22px; }
.ci-recap__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.9fr); }
.ci-recap__col { display: grid; align-content: start; gap: 16px; min-width: 0; padding: 0 22px; }
.ci-recap__col:first-child { padding-left: 0; }
.ci-recap__col:last-child { padding-right: 0; }
.ci-recap__col + .ci-recap__col { border-left: 1px solid var(--line); }
.ci-recap__tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ci-recap__tete h3 { margin: 0; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ci-recap__tete .as-btn { gap: 5px; color: var(--brand-encre); }
.ci-recap__tete .as-icon { width: 13px; height: 13px; }
.ci-recap dl { margin: 0; display: grid; gap: 6px; }
.ci-recap dl > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; }
.ci-recap dt { font-size: 12.5px; color: var(--ink-muted); }
.ci-recap dd { margin: 0; font-size: 13.5px; line-height: 1.4; }
.ci-recap p, .ci-recap ul { margin: 0; font-size: 13.5px; line-height: 1.4; }
.ci-recap ul { padding: 0; list-style: none; display: grid; gap: 3px; }
.ci-recap__profil { display: grid; font-size: 13.5px; line-height: 1.4; }
.ci-recap__profil + .ci-recap__profil { margin-top: 8px; }
.ci-recap__profil span { color: var(--ink-muted); }
.ci-recap__lien { overflow-wrap: anywhere; }
.ci-rdv { display: flex; gap: 8px; align-items: center; }
.ci-tu-ou-vous { display: flex; gap: 6px; align-items: center; } /* 05/11/2026 (lot D) : Tu / Vous */
.ci-rdv .as-input { min-width: 0; flex: 1 1 auto; height: 32px; min-height: 32px; font-size: 13px; }
.ci-a-completer { font-weight: 650; color: var(--brand-encre); }
.ci-recap__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .ci-recap__grille { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ci-recap__col { padding: 0; }
  .ci-recap__col + .ci-recap__col { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
}
/* 04/11/2026 (spec §5.9) : le détail de l'offre et « Tes conditions » tiennent sur une ligne dans la fiche (7 lignes
   pour une mission, sans défiler à 1366 × 620), 4 au récapitulatif ; le texte entier en bulle (survol, clavier) et au
   crayon. */
.pos-long { position: relative; min-width: 0; cursor: help; }
.pos-long__texte { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-long .bulle { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: max-content; max-width: min(640px, 80vw); padding: 10px 12px; border-radius: var(--radius-sm); background: var(--ink); color: var(--surface-0); font-size: 13px; font-weight: 400; line-height: 1.45; white-space: normal; text-align: left; box-shadow: var(--shadow-pop); opacity: 0; pointer-events: none; transition: opacity .12s; }
.pos-long:hover .bulle, .pos-long:focus .bulle { opacity: 1; }
.ci-recap__long { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.pos-ligne--long .pos-edition .as-textarea { min-height: 84px; }
/* 04/11/2026 (spec §5.9) : l'écran « Tes conditions » sur deux colonnes sur ordinateur (sans défiler à 1366 × 620). */
@media (min-width: 861px) {
  .pos-conditions { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; max-width: none; }
}

/* 04/11/2026 (Kamel : « on va pouvoir modifier le nom… chacun mettra comme il veut ») : le nom d'une campagne et son
   crayon, en haut de la création comme de la page de la campagne. Le champ prend la place du titre, presque à la même
   hauteur ; le crayon passe après lui et le referme. */
.nom-campagne { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nom-campagne h1 { min-width: 0; }
.nom-crayon { flex: none; opacity: .55; }
.nom-campagne:hover .nom-crayon, .nom-bascule:checked + .nom-crayon { opacity: 1; }
.nom-bascule:focus-visible + .nom-crayon { opacity: 1; outline: 2px solid var(--brand); outline-offset: 2px; }
.nom-edition { display: none; flex: 1; max-width: 540px; min-width: 0; gap: 8px; align-items: center; }
.nom-edition .as-input { flex: 1; min-width: 0; max-width: 440px; height: 36px; font-size: 18px; font-weight: 600; }
.nom-bascule:checked ~ .nom-edition { display: flex; order: -1; }
.nom-campagne:has(.nom-bascule:checked) h1 { display: none; }

/* 04/11/2026 au soir (le détail complet de l'offre, jusqu'à 1 500 caractères) : une grande bulle. Cachée, elle ne
   prend aucune place (invisible, elle allongeait la page de près de 100 px à 1366 × 620) ; sur un ordinateur, elle
   s'ouvre au-dessus de sa ligne, où la fiche a la place (en dessous, elle sortait de l'écran). */
.pos-long .bulle { display: none; }
.pos-long:hover .bulle, .pos-long:focus .bulle { display: block; }
@media (min-width: 861px) { .pos-long .bulle { top: auto; bottom: calc(100% + 8px); } }

/* 04/11/2026 (la création repensée, lot 3 ; maquette MMDTmMEdZMVoJVurR9khxm, écran r1) : l'étape « Prospects qualifiés »
   (gabarits/_prospects.html). Le titre et ses outils (les onglets des profils) ; le groupe des Hot de la semaine en tête
   de la liste : pendant la lecture, une barre rouge qui avance sous sa tête (--part : les signaux lus, en centièmes). */
/* 04/11/2026, tard le soir : plus de ligne de titre (la bande des étapes le montre déjà ; il reste pour les lecteurs
   d'écran) : les onglets, « Modifier le ciblage », puis les puces d'origine et leurs boutons, dans une seule ligne qui se
   replie (tout tient sur une ligne quand les profils sont peu nombreux et courts ; sinon, les puces passent dessous). */
.pq-outils { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.pq-outils .as-tabs { flex: 1 1 auto; min-width: 0; }
.hot-groupe > .groupe-tete { position: relative; }
.hot-groupe .groupe-tete__titre { align-items: center; }
.hot-groupe .groupe-tete__titre > b { color: var(--brand-encre); }
.hot-groupe .groupe-tete__titre > .as-small { font-size: 13px; }
.hot-groupe .recherche-hot__tourne { flex: none; }
.hot-groupe--cours > .groupe-tete::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(to right, var(--brand) calc(var(--part, 0) * 1%), transparent 0);
  transition: background 0.6s var(--elan);
}
.hot-groupe__vide { margin: 0; padding: 12px 24px; box-shadow: inset 0 -1px 0 var(--line); }
/* Les filtres d'origine et « Sources » sur une ligne ; une puce éteinte est grisée et dit pourquoi au survol ; « Pro »
   en petite marque sur « Posts » ; « Sources » s'ouvre en bulle par-dessus la liste, à droite (la page ne grandit pas). */
.pq-origines { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.pq-origines .filtres-liste { flex: 1 1 auto; align-items: center; }
.pq-origines__mot { display: inline-flex; align-items: center; gap: 5px; margin-right: 2px; }
/* 04/11/2026, tard le soir : « Ajouter un profil » et « Sources », à droite des puces (la ligne de titre a disparu). */
.pq-origines__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.wiz .filtres-liste .as-chip--eteinte, .wiz .filtres-liste .as-chip--eteinte:hover { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.chip-pro { margin-left: 4px; padding: 0 5px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-encre); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.sources-pop { position: relative; display: inline-flex; }
.sources-pop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.sources-pop > summary::-webkit-details-marker { display: none; }
.sources-pop__corps {
  position: absolute; z-index: 6; top: calc(100% + 6px); right: 0; display: flex; flex-direction: column; gap: 10px; width: min(440px, 90vw);
  padding: 12px 14px; border-radius: 14px; background: var(--surface-0); box-shadow: 0 10px 30px rgba(14, 23, 38, 0.16), inset 0 0 0 1px var(--line);
}
.sources-pop__corps p { margin: 0; }
.sources-pop .source { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; margin: 0; }
.sources-pop .source--pro { color: var(--ink-muted); }
/* « Ajouter un profil », à droite du titre : son champ s'ouvre en bulle, par-dessus la liste (la page ne grandit pas). */
.ajout-profil { position: relative; display: inline-flex; }
.ajout-profil > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ajout-profil > summary::-webkit-details-marker { display: none; }
.ajout-profil__champ {
  position: absolute; z-index: 6; top: calc(100% + 6px); right: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: min(540px, 90vw);
  padding: 10px; border-radius: 12px; background: var(--surface-0); box-shadow: 0 10px 30px rgba(14, 23, 38, 0.16), inset 0 0 0 1px var(--line);
}
.ajout-profil__champ .as-input { flex: 1 1 300px; min-width: 0; }
.ajout-profil__aide { flex: 1 1 100%; }
/* « Modifier le ciblage » : le lien à droite des onglets ; le sous-écran : une carte repliable par profil (celle de
   l'onglet ouverte), puis les pays ; les cartes défilent dans la zone centrale si elles dépassent, jamais la page. */
.pq-outils__ciblage { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.pq-outils__ciblage .as-icon { width: 15px; height: 15px; }
.pq-ciblage { gap: 10px; min-height: 0; overflow: auto; }
.groupe-ciblage { border: 0; border-radius: 18px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line); }
.groupe-ciblage__tete { display: flex; justify-content: space-between; align-items: center; gap: 6px 14px; padding: 12px 16px; cursor: pointer; list-style: none; }
.groupe-ciblage__tete::-webkit-details-marker { display: none; }
.groupe-ciblage__tete .pli { font-size: 14px; line-height: 1.55; font-weight: 700; color: var(--ink); }
.groupe-ciblage__corps { gap: 12px; padding: 2px 16px 16px; }
.groupe-ciblage__corps > .as-card { margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.groupe-ciblage__corps > .as-card > .as-card__body { padding: 0; }
/* 04/11/2026 au soir (lot 3, tâche 7) : ces deux écrans tiennent sans défiler à 1366 × 620, le modèle de .ci-criteres
   (lot 2) : la chaîne des hauteurs est tenue jusqu'à la page (au bureau seulement ; le téléphone défile), la zone de la
   liste (la carte des personnes, puis « Ton réseau ») et celle du ciblage (les cartes des profils, puis les pays) prennent
   la place qui reste et défilent dedans, jamais la page ; la barre d'envoi et « Retour à la liste » restent en bas.
   Mesuré sur une base d'exemple inventée (60 personnes) : la page dépassait de 2 500 px à 20 par page, de 3 600 à 50,
   de 1 000 sur le ciblage avec « Modifier les critères » ouvert. La zone entière défile, pas la seule carte des
   personnes : avec « Ton réseau » dessous (350 px pour 3 relations), la carte n'aurait plus eu de place. */
@media (min-width: 861px) {
  .as-main:has(.pq-liste, .pq-ciblage) { max-height: 100dvh; }
  .as-main:has(.pq-liste, .pq-ciblage) > .wiz--positionnement { flex: 1 1 0; min-height: 0; }
  .wiz--positionnement:has(.pq-liste, .pq-ciblage) > .wizmain { flex: 1 1 0; min-height: 0; }
  .pq-liste { position: relative; flex: 1 1 auto; min-height: 0; overflow: auto; }
  .pq-ciblage { flex: 1 1 auto; }
}
/* 05/11/2026 (Kamel, avant sa démo : « le bloc qui affiche positionnement, ciblage et prospects qualifiés change […]
   il faut avoir la même chose ») : la bande des étapes, « Ta campagne, à ce stade » et le haut de la page sont de
   nouveau ceux des deux premières étapes ; seuls la liste et la barre d'envoi restent resserrées (ci-dessous). Le
   texte du 04/11 qui suit garde l'histoire : « la bande sans « Ta campagne, à ce stade » » n'est plus vrai.
/* 04/11/2026, tard le soir : tenir ne suffisait pas, la liste n'avait que 140 px à 620 px de haut (une seule personne
   visible : « pas utilisable »). Sur cette étape seulement (ses deux écrans : la liste et « Modifier le ciblage »), le
   haut se resserre pour lui laisser 300 px et plus : la bande des étapes sans « Ta campagne, à ce stade » (les onglets
   disent déjà les profils et les personnes) et plus basse (un rond de 26 px, sans « Faite · la revoir » : la coche le
   dit), la colonne de la page à 10 px d'écart, les onglets, les puces et les boutons plus bas ; dans la carte, la ligne
   « Tous tes profils · N personnes pas encore invitées » reste aux lecteurs d'écran (l'onglet porte le nombre), les
   têtes de groupe et les lignes se serrent ; la barre d'envoi tient sur une ligne : le nombre et ses mots, le détail
   des groupes dessous (coupé s'il est long), le trait et « Ces 7 jours : N places libres », le reste dans sa bulle
   « i », ouverte vers le haut (vers le bas, elle sortirait de l'écran). Mesuré sur la base d'exemple (3 profils aux
   noms longs, 60 personnes) : la liste passe de 140 à 325 px, de 0 à 3 personnes entières sur « Tous » (les Hot en
   tête, sur 3 ou 4 lignes), 4 sur un profil (un Hot puis des lignes de 58 px : 5 sans Hot de la semaine) ; la barre
   d'envoi de 99 à 62 px ; le sous-écran « Modifier le ciblage » de 292 à 380 px ; la page ne défile toujours pas. */
@media (min-width: 861px) {
  .wiz--positionnement > .wizmain:has(.pq-liste) { gap: 6px; }
  .pq-outils .as-tabs { padding: 3px; }
  .pq-outils .as-tab { min-height: 30px; padding: 0 12px; }
  .pq-origines .filtres-liste .as-chip { min-height: 28px; }
  .pq-origines .as-btn--sm { min-height: 30px; }
  .pq-liste > .tableau-personnes > .reserve-intro:first-child { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pq-liste .groupe-tete { padding: 5px 16px; }
  .pq-liste .prow { padding: 6px 16px; }
  .pq-liste .hot-groupe__vide { padding: 8px 16px; }
  .wiz--positionnement .barre-envoi { bottom: 10px; padding: 4px; }
  .wiz--positionnement .barre-envoi__coeur { gap: 6px 18px; padding: 5px 5px 5px 16px; }
  .wiz--positionnement .barre-envoi__compte { display: block; flex: 1 1 400px; min-width: 0; font-size: 12.5px; line-height: 1.4; color: var(--ink-muted); }
  .wiz--positionnement .barre-envoi__compte b { margin-right: 4px; font-size: 1.45rem; vertical-align: -0.1em; color: var(--ink); }
  .wiz--positionnement .barre-envoi__detail { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .wiz--positionnement .barre-envoi__semaine { flex: 0 1 320px; min-width: 220px; gap: 4px; }
  .wiz--positionnement .barre-envoi__inviter { flex: none; }
}
/* Le reste des 7 jours : en bulle au bureau (ouverte vers le haut), en clair au téléphone ; la raison pour laquelle rien
   ne part, en accent. */
.barre-envoi__sept-jours { display: none; }
.barre-envoi__alerte { color: var(--brand-encre); font-weight: 600; }
.barre-envoi .info .bulle { top: auto; bottom: calc(100% + 8px); }
/* Au téléphone : les puces d'origine, puis « Ajouter un profil » et « Sources » sur leur ligne ; leur bulle s'ouvre
   sous cette ligne, dans toute la largeur de l'écran (ouverte depuis son bouton, elle en sortait d'un côté). */
@media (max-width: 860px) {
  .pq-origines { flex-direction: column; align-items: flex-start; }
  .pq-origines__actions { position: relative; width: 100%; margin-left: 0; justify-content: space-between; }
  .ajout-profil, .sources-pop { position: static; }
  .ajout-profil__champ, .sources-pop__corps { left: 0; right: 0; width: auto; }
  .barre-envoi__phrase .info { display: none; }
  .barre-envoi__sept-jours { display: inline; }
}

/* 04/11/2026 au soir : les facettes de l'offre, une par ligne, dans la bulle de leur ligne et au récapitulatif. */
.pos-long .bulle, .ci-recap__long { white-space: pre-line; }


/* 04/11/2026 au soir (la relecture) : au récapitulatif, les facettes se lisent toutes (« regardées et lues ») ; la
   fenêtre défile. */
.ci-recap__long--entier { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }

/* 06/11/2026 (Kamel : « ça commence à faire beaucoup […] quelque chose de beaucoup plus sexy » ; son choix B, « Trois
   colonnes ») : la synthèse en trois colonnes, « Ton offre », « Ta cible », « Tes arguments ». Chaque ligne garde tout ce
   qu'elle avait (sa source et sa phrase en bulle, « À vérifier », le crayon) : en tête son nom, sa source et le crayon,
   dessous son texte. La cible sur un fond rouge très clair ; plus de trait rouge à gauche d'une ligne à compléter (son
   « À compléter » rouge suffit). Tout tient sans défiler à 1366 × 620 : l'entreprise et ses sources sur la ligne du
   titre, des colonnes serrées, l'objectif sur une ligne. */
.wizhead.pos-entete { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; }
.pos-entete .pos-fiche__tete { gap: 10px; padding: 0; border-bottom: 0; min-width: 0; }
.pos-entete .pos-monogramme { width: 30px; height: 30px; border-radius: 9px; font-size: 11.5px; }
.pos-entete .pos-fiche__nom { font-size: 15px; line-height: 1.2; }
.pos-entete .pos-fiche__qui { font-size: 12.5px; line-height: 1.3; }
.pos-entete .pos-fiche__sources, .pos-entete .pos-conflit { margin-left: 8px; }
/* Les lignes à choisir dans leurs cases (l'objectif, l'offre d'entrée), en tête et sur toute la largeur, comme les
   lignes d'avant (leur nom, leurs cases sur une rangée, « À compléter », le trait rouge à gauche). */
.pos-a-choisir { border-bottom: 1px solid var(--line); }
.pos-colonnes { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.94fr) minmax(0, 1fr); }
.pos-colonne { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 10px 16px 11px; }
.pos-colonne + .pos-colonne { box-shadow: inset 1px 0 0 var(--line); }
.pos-colonne--cible { background: var(--brand-soft); }
.pos-colonne__titre { margin: 0; font-family: var(--police-titre); font-stretch: 100%; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.pos-colonne .pos-ligne { grid-template-columns: auto minmax(0, 1fr) 24px; grid-template-areas: "nom source crayon" "valeur valeur valeur"; align-items: center; column-gap: 8px; row-gap: 1px; padding: 0; border-top: 0; }
.pos-colonne .pos-ligne--manque { box-shadow: none; }
.pos-colonne .pos-ligne__nom { grid-area: nom; font-size: 12.5px; white-space: nowrap; }
.pos-colonne .pos-ligne__source { grid-area: source; justify-self: end; min-width: 0; flex-wrap: wrap; justify-content: flex-end; row-gap: 2px; font-size: 11.5px; white-space: normal; text-align: right; }
.pos-colonne .pos-ligne__valeur, .pos-colonne .pos-edition { grid-area: valeur; }
.pos-colonne .pos-corriger, .pos-colonne .pos-ligne__vide { grid-area: crayon; }
.pos-colonne .pos-corriger { height: 22px; min-height: 22px; opacity: .45; }
.pos-colonne .pos-ligne__valeur { font-size: 13.5px; line-height: 1.38; }
.pos-colonne [data-ligne="offre"] > .pos-ligne__valeur { font-size: 14.5px; font-weight: 650; line-height: 1.3; }
/* L'objectif sur une ligne : son nom, sa pastille noire, sa source, le crayon (ses 5 cases, au crayon, dessous). */
.pos-colonne [data-ligne="objectif"]:not(.pos-ligne--manque) { grid-template-columns: auto auto minmax(0, 1fr) 24px; grid-template-areas: "nom valeur source crayon" "edition edition edition edition"; }
.pos-colonne [data-ligne="objectif"]:not(.pos-ligne--manque) > .pos-edition { grid-area: edition; margin-top: 4px; }
.pos-colonne [data-ligne="objectif"] > span.pos-ligne__valeur { justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: var(--surface-0); font-size: 12px; font-weight: 600; line-height: 1.4; }
/* La correction : la zone sur toute la largeur de la colonne, « Enregistrer » dessous. */
.pos-colonne .pos-edition:not(.pos-edition--cases) { grid-template-columns: minmax(0, 1fr); justify-items: end; }
/* Les services et le public visé en pastilles ; les services de la campagne cerclés d'encre ; « +N » : tous en bulle. */
.pos-pastilles { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pos-pastille, .pos-pastille--plus { display: inline-flex; align-items: center; min-height: 22px; padding: 1px 9px; border-radius: 999px; background: var(--surface-0); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-muted); font-size: 12px; font-weight: 600; line-height: 1.25; }
.pos-pastille--choisie { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pos-pastille--cible { background: color-mix(in srgb, var(--brand) 13%, var(--surface-0)); box-shadow: none; color: var(--brand-encre); font-size: 12.5px; }
.pos-pastille--plus { cursor: help; }
/* Les facettes, une par puce sur une ligne (« → quand ça sert » en gris) ; toutes en entier dans la bulle. Le point
   dans la ligne : dehors, la coupure de la ligne (« … ») le cachait. */
.pos-liste ul { display: grid; gap: 0; margin: 0; padding-left: 2px; list-style: disc inside; }
.pos-liste li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-liste__quand { color: var(--ink-muted); }
/* Un texte long : deux lignes (le problème résolu, dans sa colonne moins chargée : trois), le texte entier dans sa
   bulle (au survol ou au clavier) ; sous le détail de l'offre, « Lire tout ». */
.pos-colonne .pos-long__texte { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; white-space: normal; }
.pos-colonne [data-ligne="probleme"] .pos-long__texte { -webkit-line-clamp: 3; line-clamp: 3; }
.pos-lire { display: inline-block; margin-top: 1px; color: var(--brand-encre); font-size: 12px; font-weight: 650; line-height: 1.25; text-decoration: underline; text-underline-offset: 3px; }
/* Les bulles des deux colonnes de droite s'ouvrent vers la gauche (vers la droite, elles sortaient de l'écran). */
.pos-colonne .pos-long .bulle { max-width: min(520px, 80vw); }
.pos-colonne--cible .pos-long .bulle, .pos-colonne--arguments .pos-long .bulle { left: auto; right: 0; }
/* Au téléphone : les trois colonnes l'une sous l'autre. */
@media (max-width: 860px) {
  .pos-colonnes { grid-template-columns: minmax(0, 1fr); }
  .pos-colonne + .pos-colonne { box-shadow: inset 0 1px 0 var(--line); }
  .pos-entete .pos-fiche__tete { flex-wrap: wrap; }
  /* La source est à droite de sa ligne : sa bulle s'ouvre vers la gauche (vers la droite, la page débordait) ; celle
     de « +N » prend la largeur de sa ligne (la pastille peut être n'importe où dans sa rangée). */
  .pos-colonne .pos-source-lue .bulle, .pos-colonne .pos-a-verifier .bulle, .pos-colonne .pos-long .bulle { left: auto; right: 0; }
  .pos-colonne .pos-pastille--plus { position: static; }
  .pos-colonne .pos-pastille--plus .bulle { left: 0; right: 0; width: auto; max-width: none; }
}

/* 29/11/2026 (le message type ; maquette du 1er message du 27/11, son étape 2) : le guide « Ton message type », ouvert
   depuis la ligne « Le 1er message » de la Synthèse (_premier_message_guide.html). Les classes du guide de « Ton style »
   (moderne.css) ; ici, ce qui lui est propre. Il passe au-dessus de la fenêtre « Synthèse ». */
.guide.guide-pm { z-index: 75; }
.guide-pm .guide__gauche { gap: 0; }
.guide-pm__qui { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.guide-pm__qui .segb { position: relative; padding: 6px 12px; font-size: 12.5px; font-weight: 550; }
.guide-pm__editeur { display: flex; flex-direction: column; gap: 6px; transition: opacity 0.2s; }
.guide-pm__eteint { opacity: 0.42; }
.guide-pm__eteint .guide-pm__inserer { pointer-events: none; }
.guide-pm__inserer { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-muted); }
.guide-pm__inserer .segb { padding: 4px 10px; font-size: 12px; font-weight: 550; }
.guide-pm__texte { height: 168px; }
.guide-pm__avis { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.guide-pm__avis:empty { display: none; }
.guide-pm__bloque { color: var(--status-failed-ink); font-weight: 600; }
.guide-pm__averti { color: var(--status-paused-ink); }
.guide-pm__apercu { white-space: normal; align-self: flex-start; }
.guide-pm__apercu .rempli { text-decoration: underline dotted currentColor; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .guide-pm__editeur { transition: none; } }

/* 29/11/2026 (lot B ; maquette du 1er message du 27/11, son étape 1) : « L'approche », trois cartes avec leur exemple
   fixe ; les deux étapes se suivent sans script, une à la fois avec (front.js, section 58). */
.guide__corps.guide-pm__corps { display: block; overflow: auto; }
.guide-pm__corps > [hidden] { display: none; }
.guide-pm__approche { gap: 8px; }
.guide-pm__approche-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.guide-pm__exemple-pour { flex: none; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-muted); }
.guide-pm__exemple-pour .fa__sortes { width: 380px; }
.guide-pm__approches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.guide-pm__carte { gap: 7px; padding: 12px 14px; border-radius: 16px; }
.guide-pm__carte-tete { display: flex; align-items: center; gap: 8px; }
.guide-pm__carte-tete b { font-size: 15px; }
.guide__ton .guide-pm__quoi { font-size: 12.5px; color: var(--ink-muted); }
.guide-pm__pastille { font-size: 10.5px; padding: 1px 8px; border-radius: 999px; background: var(--surface-100); color: var(--ink-muted); }
.guide__ton .guide-pm__bulle { display: block; align-self: stretch; max-width: none; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--ink); background: var(--surface-50, var(--surface-100)); }
.guide__ton .guide-pm__bulle .allume { color: var(--brand-encre); }
.guide__ton .guide-pm__selon { font-size: 12.5px; color: var(--ink); background: var(--surface-50, var(--surface-100)); border-radius: 12px; padding: 9px 12px; }
.guide-pm__surligne { background: var(--brand-pastel); color: var(--brand-encre); border-radius: 4px; padding: 0 3px; }
.guide-pm__modele { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; min-height: 100%; }
.guide-pm__modele[hidden] { display: none; }
@media (max-width: 820px) {
  .guide-pm__approche-tete { flex-direction: column; }
  .guide-pm__exemple-pour { flex-wrap: wrap; }
  .guide-pm__exemple-pour .fa__sortes { width: 100%; }
  .guide-pm__approches { grid-template-columns: minmax(0, 1fr); }
  .guide-pm__modele { grid-template-columns: minmax(0, 1fr); }
}
