[hidden] { display: none !important; }

:root {
  --fond: #f5f4f0;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --texte: #1d1f24;
  --doux: #6b6e76;
  --ligne: #e6e3dc;
  --accent: #1f3864;
  --accent-doux: #e8edf6;
  --vert: #2e7d4f;
  --vert-doux: #e5f3ea;
  --orange: #b85c00;
  --orange-doux: #fdf0e1;
  --rouge: #b3261e;
  --rouge-doux: #fbe9e7;
  --ombre: 0 10px 40px rgba(20, 22, 30, .14);
  --rayon: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #15171c; --surface: #1d2027; --surface-2: #232730; --texte: #ecebe7; --doux: #9a9da6;
    --ligne: #2f333d; --accent: #8fb0ea; --accent-doux: #253350; --vert: #6fcf97; --vert-doux: #1d3528;
    --orange: #f2a65a; --orange-doux: #3a2a18; --rouge: #f28b82; --rouge-doux: #3b1f1d;
    --ombre: 0 10px 40px rgba(0, 0, 0, .5); color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  background: var(--fond); color: var(--texte);
}
input, select, textarea, button { font: inherit; color: inherit; }
a { color: var(--accent); }

.btn {
  border: 1px solid var(--ligne); background: var(--surface); border-radius: 8px;
  padding: 8px 14px; cursor: pointer; font-weight: 500;
}
.btn:hover { border-color: var(--doux); }
.btn.principal { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.btn.vert { background: var(--vert); border-color: var(--vert); color: #fff; }
.btn.discret { background: transparent; }
.btn.plein { width: 100%; }
.btn.plein-largeur { display: block; margin: 16px auto; }
.btn:disabled { opacity: .5; cursor: default; }
.lien { background: none; border: 0; color: var(--doux); cursor: pointer; padding: 0; text-decoration: underline; }

/* Connexion */
.connexion { min-height: 100%; display: grid; place-items: center; padding: 16px; }
.carte-connexion {
  background: var(--surface); padding: 32px; border-radius: 14px; box-shadow: var(--ombre);
  width: min(380px, 100%); display: grid; gap: 14px;
}
.carte-connexion h1 { margin: 0 0 6px; font-size: 22px; }
h1 span, .marque span { color: var(--accent); }
label { display: grid; gap: 4px; font-size: 12px; color: var(--doux); font-weight: 500; }
input, select, textarea {
  border: 1px solid var(--ligne); border-radius: 7px; padding: 7px 9px; background: var(--surface);
  font-size: 14px; color: var(--texte); width: 100%;
}
textarea { resize: vertical; min-height: 60px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-doux); border-color: var(--accent); }
.erreur { color: var(--rouge); margin: 0; }

/* Mise en page */
.app { display: grid; grid-template-columns: 230px 1fr; height: 100%; }
.nav {
  background: var(--surface); border-right: 1px solid var(--ligne); padding: 20px 14px;
  display: flex; flex-direction: column; gap: 18px;
}
.marque { font-weight: 700; font-size: 17px; padding: 0 8px; }
#menu { display: grid; gap: 2px; }
#menu a {
  display: flex; justify-content: space-between; align-items: center; padding: 9px 10px;
  border-radius: 8px; color: var(--texte); text-decoration: none; font-weight: 500;
}
#menu a:hover { background: var(--surface-2); }
#menu a.actif { background: var(--accent-doux); color: var(--accent); }
#menu b { font-weight: 600; font-size: 12px; color: var(--doux); }
#menu a[data-vue="relances"] b:not(:empty), #menu a[data-vue="cpf"] b:not(:empty) { color: var(--orange); }
.pied-nav { margin-top: auto; display: grid; gap: 4px; font-size: 13px; padding: 0 8px; color: var(--doux); }

.contenu { overflow: auto; padding: 20px 28px 40px; min-width: 0; }
.barre { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.barre h2 { margin: 0; font-size: 20px; }
#recherche { max-width: 380px; }
.filtres { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.puce {
  border: 1px solid var(--ligne); background: var(--surface); border-radius: 99px; padding: 4px 11px;
  cursor: pointer; font-size: 13px;
}
.puce.actif { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.puce small { opacity: .7; margin-left: 4px; }

.liste-wrap { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: auto; }
.liste { width: 100%; border-collapse: collapse; }
.liste th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--doux);
  font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--ligne); background: var(--surface-2);
  position: sticky; top: 0;
}
.liste th[data-tri] { cursor: pointer; user-select: none; }
.liste th[data-tri]:hover { color: var(--texte); }
.liste th.trie { color: var(--accent); }
.liste th[data-tri]::after { content: attr(data-fleche); }
.liste th.coche, .liste td.coche { width: 34px; padding-right: 0; }
.liste .coche input { width: 17px; height: 17px; cursor: pointer; accent-color: var(--accent); }
.liste tr.cochee { background: var(--accent-doux); }
/* En bas de l'écran : au-dessus de la liste, elle la poussait au premier clic et la souris n'était plus sur la case. */
.barre-masse { position: fixed; left: 258px; right: 28px; bottom: 16px; z-index: 3; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--surface);
  border: 1px solid var(--accent); border-radius: var(--rayon); padding: 10px 14px; margin: 0; box-shadow: var(--ombre); }
.barre-masse select, .barre-masse input { width: auto; }
.liste td { padding: 10px 12px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.liste tr { cursor: pointer; }
.liste tbody tr:hover { background: var(--surface-2); }
.liste tr.ouverte { background: var(--accent-doux); }
.nom { font-weight: 600; }
.sous { color: var(--doux); font-size: 12px; }
.vide { padding: 30px; text-align: center; color: var(--doux); }

.badge {
  display: inline-block; border-radius: 99px; padding: 1px 8px; font-size: 11.5px; font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--ligne); margin: 0 3px 3px 0; white-space: nowrap;
}
.badge.orange { background: var(--orange-doux); border-color: transparent; color: var(--orange); }
.badge.rouge { background: var(--rouge-doux); border-color: transparent; color: var(--rouge); }
.badge.vert { background: var(--vert-doux); border-color: transparent; color: var(--vert); }
.badge.bleu { background: var(--accent-doux); border-color: transparent; color: var(--accent); }
.retard { color: var(--orange); font-weight: 600; }

/* Fiche */
.voile { position: fixed; inset: 0; background: rgba(0, 0, 0, .25); z-index: 5; }
.fiche {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--surface);
  box-shadow: var(--ombre); z-index: 6; overflow: auto; padding: 0 0 40px;
}
.fiche-tete {
  position: sticky; top: 0; background: var(--surface); padding: 18px 22px 14px; border-bottom: 1px solid var(--ligne);
  z-index: 1;
}
.fiche-tete h3 { margin: 0 0 4px; font-size: 19px; }
.fermer { position: absolute; top: 14px; right: 14px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--doux); }
.actions-tete { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.bloc { padding: 16px 22px; border-bottom: 1px solid var(--ligne); }
.bloc h4 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--doux); }
.grille { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grille .large { grid-column: 1 / -1; }
.contact-rapide { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; }
.alerte { background: var(--orange-doux); color: var(--orange); border-radius: 8px; padding: 8px 12px; margin-top: 10px; font-size: 13px; }
.offres { display: flex; flex-wrap: wrap; gap: 6px; }
.offres .puce { font-size: 12.5px; }
.ligne-action { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 8px; }
.legacy { white-space: pre-wrap; font-size: 13px; background: var(--surface-2); border-radius: 8px; padding: 10px; margin: 0; }

.historique { list-style: none; margin: 0; padding: 0; }
.historique li { position: relative; padding: 0 0 14px 18px; border-left: 2px solid var(--ligne); margin-left: 5px; }
.historique li::before {
  content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--doux);
}
.historique li.arrivee::before { border-color: var(--accent); background: var(--accent); }
.historique li.action::before { border-color: var(--vert); }
.historique li.commentaire::before { border-color: var(--orange); }
.historique .quand { font-size: 12px; color: var(--doux); }
.historique .quoi { white-space: pre-wrap; }
.historique details { font-size: 12px; color: var(--doux); margin-top: 2px; }
.historique dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; margin: 6px 0 0; }
.historique dt { font-weight: 600; }
.historique dd { margin: 0; white-space: pre-wrap; word-break: break-word; }

.plus { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 9px 10px; margin-top: 8px;
  border: 0; border-top: 1px solid var(--ligne); background: none; color: var(--doux); font-weight: 500; cursor: pointer; text-align: left; }
.plus:hover { color: var(--texte); }
.plus.actif { color: var(--accent); }
#menu-plus { display: grid; gap: 2px; }
#menu-plus a { font-weight: 400; font-size: 13.5px; }
#menu a.sep { margin-top: 10px; border-top: 1px solid var(--ligne); border-radius: 0 0 8px 8px; padding-top: 12px; }
.bandeau { border-radius: 8px; padding: 10px 14px; margin: 12px 0 0; font-size: 13.5px; display: block; }
.bandeau .btn { margin-left: 8px; }
.bandeau.info { background: var(--accent-doux); color: var(--accent); }
.bandeau.rouge { background: var(--rouge-doux); color: var(--rouge); }
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; margin-top: 14px; }
.carte-form { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px; cursor: pointer; display: grid; gap: 6px; }
.carte-form:hover { border-color: var(--doux); }
.carte-form h3 { margin: 0; font-size: 16px; }
.code { font: 12px/1.45 ui-monospace, Menlo, monospace; width: 100%; min-height: 64px; background: var(--surface-2); }
.trois { display: grid; gap: 14px; }
.trois h5 { margin: 0 0 4px; font-size: 13px; }
.trois p { margin: 0 0 6px; font-size: 12.5px; color: var(--doux); }
.envoi { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--ligne); font-size: 13px; }
.envoi:last-child { border-bottom: 0; }
.enregistre { color: var(--vert); font-size: 12px; margin-left: 8px; }
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--texte); color: var(--fond);
  padding: 10px 18px; border-radius: 8px; z-index: 10; box-shadow: var(--ombre);
}
.toast.erreur { background: var(--rouge); color: #fff; }

@media (max-width: 1100px) {
  #vue-liste .liste th:nth-child(6), #vue-liste .liste td:nth-child(6) { display: none; }
}
@media (max-width: 760px) {
  /* minmax(0, 1fr) : sans lui, le menu (dix onglets) élargit toute la page au lieu de défiler */
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .nav { min-width: 0; }
  .nav { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 16px; gap: 8px; border-right: 0; border-bottom: 1px solid var(--ligne); }
  #menu { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; order: 3; }
  #menu a { white-space: nowrap; gap: 6px; }
  .plus { width: auto; margin: 0; border: 0; white-space: nowrap; gap: 6px; }
  #menu-plus { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; }
  .pied-nav { display: flex; gap: 14px; order: 4; width: 100%; padding: 0; }
  #btn-nouveau { width: auto; margin-left: auto; }
  .contenu { padding: 14px 16px 40px; }
  #vue-liste .liste th:nth-child(4), #vue-liste .liste td:nth-child(4), #vue-liste .liste th:nth-child(6), #vue-liste .liste td:nth-child(6) { display: none; }
  .barre-masse { left: 12px; right: 12px; bottom: 10px; }
  #vue-formulaires .liste th:nth-child(4), #vue-formulaires .liste td:nth-child(4), #vue-formulaires .liste th:nth-child(5), #vue-formulaires .liste td:nth-child(5) { display: none; }
  .grille { grid-template-columns: 1fr; } .g-trois { grid-template-columns: 1fr 1fr; } .g-trois label:first-child { grid-column: 1 / -1; }
}

/* ── Partie 1 : la fiche en conversation ── */
.fiche { display: flex; flex-direction: column; padding-bottom: 0; }
.fiche-tete .file { font-size: 12px; color: var(--accent); margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.pipeline { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }
.etape-p { flex: 1; min-width: 70px; border: 1px solid var(--ligne); background: var(--surface); border-radius: 7px; padding: 5px 4px; font-size: 12px; cursor: pointer; color: var(--doux); }
.etape-p:hover { border-color: var(--doux); color: var(--texte); }
.etape-p.actif { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.etape-p.actif.gagne { background: var(--vert); border-color: var(--vert); }
.etape-p.actif.perdu { background: var(--doux); border-color: var(--doux); }
.prochaine { margin-top: 8px; font-size: 13px; background: var(--accent-doux); color: var(--accent); border-radius: 7px; padding: 6px 10px; }
.prochaine.retard { background: var(--orange-doux); color: var(--orange); }
.fil { flex: 1; overflow: auto; padding: 14px 22px; display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); min-height: 160px; }
.bulle { max-width: 86%; border-radius: 12px; padding: 8px 12px; font-size: 13.5px; background: var(--surface); border: 1px solid var(--ligne); }
.bulle.gauche { align-self: flex-start; border-bottom-left-radius: 4px; }
.bulle.droite { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--accent-doux); border-color: transparent; }
.bulle.note { background: var(--orange-doux); border-color: transparent; }
.bulle.email { background: var(--vert-doux); border-color: transparent; }
.bulle .quand { font-size: 11px; color: var(--doux); margin-bottom: 2px; }
.bulle .quoi { white-space: pre-wrap; }
.bulle details { font-size: 12px; color: var(--doux); margin-top: 4px; }
dl.reponses { display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; margin: 6px 0 0; font-size: 12.5px; }
dl.reponses dt { color: var(--doux); }
dl.reponses dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.trace { align-self: center; font-size: 11.5px; color: var(--doux); text-align: center; }
.trace span { opacity: .8; }
.composeur { border-top: 1px solid var(--ligne); padding: 12px 22px; background: var(--surface); }
.gestes { display: flex; gap: 6px; flex-wrap: wrap; }
.gestes .btn { padding: 7px 10px; font-size: 13px; }
.gestes .btn.actif-g { border-color: var(--accent); background: var(--accent-doux); color: var(--accent); }
#panneau:not(:empty) { margin-top: 10px; }
.puce.vert-puce { border-color: var(--vert); color: var(--vert); }
.details-fiche summary { cursor: pointer; color: var(--doux); font-size: 13px; }
.point-bleu { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: middle; }

/* ── Aujourd'hui ── */
.tete-jour { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 4px; }
.sect { font-size: 14px; margin: 20px 0 8px; font-weight: 600; }
.taches { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.tache { padding: 10px 14px; border-bottom: 1px solid var(--ligne); cursor: pointer; }
.tache:last-child { border-bottom: 0; }
.tache:hover { background: var(--surface-2); }
.tache-nom { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.doublon { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 6px; }
.doublon .btn { padding: 4px 10px; font-size: 12.5px; }

.prochaine.auto { background: var(--surface-2); color: var(--texte); }

.bulle.recu { background: var(--surface); border-color: var(--accent); }

/* ── Accueil (24 nov. 2026) ── */
:root { --corail: #c8452d; --corail-doux: #fdebe6; --bleu: #2b5cb8; --bleu-doux: #e7eefb; --ambre: #a86400; --ambre-doux: #fdf1dc; --or: #f0b94a;
  --titre: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
@media (prefers-color-scheme: dark) { :root { --corail: #f59a86; --corail-doux: #3d231d; --bleu: #8fb0ea; --bleu-doux: #222f4a; --ambre: #f2bd6a; --ambre-doux: #392b16; } }
.ico { flex: none; }
#menu a:not(.sep) .m-nom { flex: 1; }
#menu a[data-vue="aujourdhui"], #menu a[data-vue="courrier"], #menu a[data-vue="suivi"], #menu a[data-vue="clients"], #menu a[data-vue="rendezvous"], #menu a[data-vue="cpf"], #menu a[data-vue="statistiques"], #menu a[data-vue="newsletters"] { gap: 10px; }
#menu a .ico { color: var(--doux); } #menu a.actif .ico { color: var(--accent); }
.sur-accueil #titre-vue { display: none; }
.sur-accueil .barre { justify-content: flex-end; }
.sur-accueil .bandeau.info { font-size: 12.5px; padding: 6px 12px; }

.accueil { display: grid; gap: 16px; margin-top: 14px; max-width: 1320px; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 18px; padding: 26px 34px; color: #fff;
  background: radial-gradient(120% 160% at 88% 0%, #3d63a8 0%, rgba(61, 99, 168, 0) 55%), linear-gradient(120deg, #14264a, #1f3864 60%, #274a80); }
.hero h1 { font: 600 32px/1.15 var(--titre); margin: 2px 0 8px; letter-spacing: -.01em; }
.h-date { margin: 0; font-size: 13px; color: #c9d6ee; } .h-date::first-letter { text-transform: uppercase; }
.h-phrase { margin: 0; font-size: 16px; color: #dbe4f5; max-width: 62ch; } .h-phrase b { color: #fff; }
.h-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.btn-or { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 11px; padding: 12px 20px; font-weight: 650; font-size: 15px; background: var(--or); color: #1c2b49; cursor: pointer; transition: transform .12s, background .12s; }
.btn-or:hover { background: #f7c964; transform: translateY(-1px); }
.h-objectif { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #c9d6ee; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .12); border-radius: 9px; padding: 3px; }
.seg button { border: 0; background: none; color: #dbe4f5; padding: 4px 11px; border-radius: 7px; cursor: pointer; font-size: 13px; }
.seg button.actif { background: #fff; color: #1f3864; font-weight: 600; }
.h-anneau { display: grid; justify-items: center; gap: 4px; font-size: 12.5px; color: #c9d6ee; flex: none; }
.anneau { width: 124px; height: 124px; }
.a-fond, .a-part { fill: none; stroke-width: 9; } .a-fond { stroke: rgba(255, 255, 255, .16); } .a-part { stroke: var(--or); stroke-linecap: round; transition: stroke-dasharray .5s; }
.a-n { fill: #fff; font: 600 31px var(--titre); text-anchor: middle; } .a-t { fill: #c9d6ee; font-size: 12px; text-anchor: middle; }

.tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tuile { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "i n" "t t" "s s"; align-items: center; column-gap: 12px; text-align: left; background: var(--surface);
  border: 1px solid var(--ligne); border-radius: 14px; padding: 16px 18px; cursor: pointer; transition: transform .12s, box-shadow .12s, border-color .12s; }
.tuile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 30, 60, .09); }
.t-ico { grid-area: i; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.t-n { grid-area: n; font: 600 34px/1 var(--titre); justify-self: end; font-variant-numeric: lining-nums; }
.t-titre { grid-area: t; font-weight: 650; font-size: 15px; margin-top: 10px; } .t-sous { grid-area: s; color: var(--doux); font-size: 12.5px; }
.tuile.corail .t-ico, .avatar.corail, .motif.corail { background: var(--corail-doux); color: var(--corail); }
.tuile.bleu .t-ico, .avatar.bleu, .motif.bleu { background: var(--bleu-doux); color: var(--bleu); }
.tuile.ambre .t-ico, .avatar.ambre, .motif.ambre { background: var(--ambre-doux); color: var(--ambre); }
.tuile.vert .t-ico { background: var(--vert-doux); color: var(--vert); }
.tuile.corail.actif { border-color: var(--corail); box-shadow: inset 0 0 0 1px var(--corail); } .tuile.bleu.actif { border-color: var(--bleu); box-shadow: inset 0 0 0 1px var(--bleu); }
.tuile.ambre.actif { border-color: var(--ambre); box-shadow: inset 0 0 0 1px var(--ambre); }

.colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 16px; align-items: start; }
.cote { display: grid; gap: 16px; }
.panneau { background: var(--surface); border: 1px solid var(--ligne); border-radius: 14px; overflow: hidden; }
.p-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 16px 18px 10px; }
.p-tete h2 { margin: 0; font: 600 18px/1.2 var(--titre); display: flex; align-items: center; gap: 8px; } .p-tete .lien { margin-left: auto; font-size: 13px; }
.cote .p-tete h2 { font-size: 16px; }
.p-vide { margin: 0; padding: 0 18px 16px; font-size: 13px; } .p-pied { margin: 0; padding: 12px 18px; font-size: 13px; color: var(--doux); border-top: 1px solid var(--ligne); }
.l-tache { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 11px 18px; border-top: 1px solid var(--ligne); cursor: pointer; }
.l-tache:hover, .l-tache:focus-visible { background: var(--surface-2); outline: none; } .l-tache:focus-visible { box-shadow: inset 3px 0 var(--accent); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 14px; }
.l-nom { display: flex; align-items: center; gap: 9px; min-width: 0; } .l-nom b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.motif { flex: none; border-radius: 99px; padding: 1px 9px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.l-detail { color: var(--doux); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.l-quand { color: var(--doux); font-size: 12.5px; white-space: nowrap; }
.l-actions { display: flex; gap: 6px; min-width: 114px; justify-content: flex-end; }
.rond { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ligne); background: var(--surface); color: var(--doux); display: grid; place-items: center; cursor: pointer; text-decoration: none; padding: 0; }
.rond:hover { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.plus-lignes { width: 100%; border: 0; border-top: 1px solid var(--ligne); background: none; padding: 13px; cursor: pointer; color: var(--accent); font-weight: 550; } .plus-lignes:hover { background: var(--surface-2); }
.vide-ok { display: grid; justify-items: center; gap: 4px; padding: 44px 30px; color: var(--vert); text-align: center; } .vide-ok p { margin: 0; color: var(--doux); max-width: 46ch; }
.entonnoir { padding: 0 10px 10px; }
.e-ligne { display: grid; grid-template-columns: 94px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; color: var(--texte); text-decoration: none; font-size: 13px; }
.e-ligne:hover { background: var(--surface-2); } .e-ligne small { grid-column: 2 / -1; color: var(--doux); }
.e-fond { height: 10px; background: var(--surface-2); border-radius: 5px; overflow: hidden; } .e-fond i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--bleu); }
.e-ligne.gagne .e-fond i { background: var(--vert); }
.attention { display: block; margin: 0 14px 14px; padding: 10px 13px; border-radius: 10px; background: var(--ambre-doux); color: var(--ambre); font-size: 13px; text-decoration: none; }
.semaine { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 0 18px 6px; font-size: 13px; } .semaine b { font: 600 19px var(--titre); }
.barres { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 2px; padding: 8px 16px 14px; }
.b-col { display: grid; gap: 4px; } .b-col:hover i { opacity: .7; }
.b-zone { height: 72px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border-bottom: 1px solid var(--ligne); padding-top: 16px; }
.b-zone i { display: block; width: 70%; max-width: 16px; background: var(--bleu); border-radius: 4px 4px 0 0; } .b-val { font-size: 11px; color: var(--doux); }
.b-jour { font-size: 10px; color: var(--doux); text-align: center; white-space: nowrap; height: 14px; overflow: visible; display: grid; justify-content: center; }
.r-ligne { display: flex; justify-content: space-between; gap: 10px; padding: 9px 18px; border-top: 1px solid var(--ligne); font-size: 13px; cursor: pointer; } .r-ligne:hover { background: var(--surface-2); } .r-ligne span { color: var(--doux); }

.courrier { display: grid; gap: 8px; } .c-tete { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; } .c-tete select { width: auto; margin-left: auto; max-width: 210px; }
.c-pied { display: flex; gap: 8px; } .c-pied select { flex: 1; min-width: 0; } .courrier textarea { min-height: 150px; } .fil { min-height: 200px; }

@media (max-width: 1180px) { .colonnes { grid-template-columns: minmax(0, 1fr); } .cote { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (max-width: 900px) { .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .hero { padding: 20px; } .hero h1 { font-size: 26px; } .h-phrase { font-size: 15px; } .h-anneau span { display: none; } .anneau { width: 84px; height: 84px; }
  .cote { grid-template-columns: minmax(0, 1fr); } .tuile { padding: 13px 14px; } .t-n { font-size: 28px; }
  .l-tache { grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; } .l-quand { display: none; } .l-actions { grid-column: 2; justify-content: flex-start; }
  .l-nom { flex-wrap: wrap; gap: 2px 8px; } .rond { width: 40px; height: 40px; }
  #menu a .ico { display: none; }
}
@media (max-width: 480px) { .hero { align-items: flex-start; } .h-anneau { position: static; } .h-objectif { flex-wrap: wrap; } .hero { flex-direction: column-reverse; align-items: stretch; gap: 8px; } .h-anneau { justify-items: start; } }
@media (prefers-reduced-motion: reduce) { .tuile, .btn-or, .a-part { transition: none; } }

/* ── Pièces jointes ── */
.pieces { display: flex; flex-wrap: wrap; gap: 6px; } .bulle .pieces { margin-top: 6px; } .pieces:empty { display: none; }
.piece { display: inline-flex; align-items: center; max-width: 100%; border: 1px solid var(--ligne); background: var(--surface); border-radius: 8px; font-size: 12.5px; overflow: hidden; }
.piece > button, .piece.bloquee { border: 0; background: none; padding: 5px 10px; cursor: pointer; text-align: left; overflow-wrap: anywhere; } .piece > button:hover { background: var(--accent-doux); }
.piece.bloquee { cursor: default; border: 1px dashed var(--ligne); color: var(--doux); display: inline-block; } .piece small { color: var(--doux); }
.piece .p-x { padding: 5px 9px; border-left: 1px solid var(--ligne); color: var(--doux); font-size: 15px; line-height: 1; }
.piece:not(:has(button)) { padding: 5px 10px; }
.c-joindre { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; } .c-joindre .btn { display: inline-block; color: var(--texte); font-size: 13px; padding: 6px 11px; }
.courrier.survol { outline: 2px dashed var(--accent); outline-offset: 6px; border-radius: 6px; }
.visionneuse { position: fixed; inset: 0; z-index: 9; background: rgba(12, 16, 26, .82); display: flex; flex-direction: column; padding: 16px; gap: 12px; }
.v-tete { display: flex; align-items: center; gap: 10px; color: #fff; } .v-tete b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .v-tete .btn { color: var(--texte); text-decoration: none; }
.visionneuse iframe { flex: 1; border: 0; border-radius: 10px; background: #fff; } .v-image { flex: 1; min-height: 0; display: grid; place-items: center; } .v-image img { max-width: 100%; max-height: 100%; border-radius: 10px; background: #fff; object-fit: contain; min-height: 0; }

.type-fiche { width: auto; border-radius: 99px; padding: 1px 6px; font-size: 11.5px; font-weight: 500; background: var(--accent-doux); color: var(--accent); border-color: transparent; cursor: pointer; margin: 0 3px 3px 0; }
.type-fiche.devine { background: var(--surface); border: 1px dashed var(--doux); color: var(--texte); }

/* ── Étiquettes ── */
:root { --violet: #6a46b0; --violet-doux: #f0eafb; } @media (prefers-color-scheme: dark) { :root { --violet: #b9a1ee; --violet-doux: #2d2445; } }
.etq { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; padding: 1px 8px; font-size: 11.5px; font-weight: 550; margin: 0 3px 3px 0; white-space: nowrap; }
.etq.bleu, .etq-choix.bleu.actif { background: var(--bleu-doux); color: var(--bleu); } .etq.vert, .etq-choix.vert.actif { background: var(--vert-doux); color: var(--vert); } .etq.ambre, .etq-choix.ambre.actif { background: var(--ambre-doux); color: var(--ambre); }
.etq.corail, .etq-choix.corail.actif { background: var(--corail-doux); color: var(--corail); } .etq.violet, .etq-choix.violet.actif { background: var(--violet-doux); color: var(--violet); } .etq.gris, .etq-choix.gris.actif { background: var(--surface-2); color: var(--doux); box-shadow: inset 0 0 0 1px var(--ligne); }
.etq button { border: 0; background: none; color: inherit; cursor: pointer; padding: 0 2px; font-size: 14px; line-height: 1; }
.etqs { display: flex; flex-wrap: wrap; align-items: center; margin-top: 6px; } .etqs input { width: 110px; padding: 2px 7px; font-size: 12px; border-style: dashed; }
.etq-choix { border: 1px solid var(--ligne); background: var(--surface); border-radius: 7px; padding: 4px 10px; cursor: pointer; font-size: 13px; } .etq-choix.actif { border-color: currentColor; }

/* ── Newsletters ── */
.nl-onglets { display: flex; gap: 4px; border-bottom: 1px solid var(--ligne); margin: 14px 0 16px; } .nl-onglets button { border: 0; background: none; padding: 9px 14px; cursor: pointer; color: var(--doux); font-weight: 550; border-bottom: 2px solid transparent; margin-bottom: -1px; } .nl-onglets .actif { color: var(--accent); border-color: var(--accent); }
.nl-creer h2 { font: 600 18px var(--titre); margin: 18px 0 10px; } .nl-modeles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 22px; }
.nl-modeles button { min-height: 84px; border: 1px solid var(--ligne); background: var(--surface); border-radius: 12px; cursor: pointer; padding: 14px; display: grid; place-content: center; text-align: center; } .nl-modeles button:hover { border-color: var(--accent); } .nl-modeles small { color: var(--doux); }
.nl-liste { background: var(--surface); border: 1px solid var(--ligne); border-radius: 12px; overflow: hidden; } .nl-carte { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--ligne); cursor: pointer; flex-wrap: wrap; } .nl-carte:first-child { border-top: 0; } .nl-carte:hover { background: var(--surface-2); } .nl-c-corps { flex: 1; min-width: 200px; }
.nl-bilan { display: flex; gap: 4px 14px; flex-wrap: wrap; font-size: 13px; color: var(--doux); } .nl-bilan b { color: var(--texte); } .nl-bilan.colonne { display: grid; }
.nl-tete { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0; } .nl-tete input { flex: 1; min-width: 180px; max-width: 420px; font-weight: 600; } .nl-titre-suivi { font-size: 17px; }
.nl-etapes { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; } .nl-etapes button { border: 1px solid var(--ligne); background: var(--surface); border-radius: 99px; padding: 6px 15px 6px 7px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; } .nl-etapes span { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; } .nl-etapes .actif { border-color: var(--accent); color: var(--accent); font-weight: 600; } .nl-etapes .actif span { background: var(--accent); color: var(--surface); }
.nl-atelier { display: grid; grid-template-columns: 150px minmax(0, 1fr) 210px; gap: 16px; align-items: start; }
.nl-palette, .nl-apparence { position: sticky; top: 0; display: grid; gap: 7px; } .nl-atelier h4 { margin: 4px 0 2px; font-size: 12px; color: var(--doux); font-weight: 600; }
.nl-palette button { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ligne); background: var(--surface); border-radius: 9px; padding: 8px 10px; cursor: grab; text-align: left; } .nl-palette button:hover { border-color: var(--accent); color: var(--accent); } .nl-palette span { width: 18px; text-align: center; }
.nl-apparence input[type=color] { height: 36px; padding: 3px; } .nl-apparence .sous { margin: 0; }
.nl-fond { background: #e9e7e1; border-radius: 14px; padding: 34px 20px; min-height: 420px; } .nl-feuille { max-width: 600px; margin: 0 auto; background: #fff; color: #1d1f24; border-radius: 10px; color-scheme: light; font-family: Arial, Helvetica, sans-serif; }
.nl-entete { border-radius: 10px 10px 0 0; padding: 18px 32px; color: #fff; font: bold 18px Georgia, serif; min-height: 22px; } .nl-entete img { height: 48px; display: block; }
#nl-blocs { padding: 22px 0 12px; min-height: 120px; } .nl-bloc { position: relative; padding: 8px 32px; outline: 2px solid transparent; outline-offset: -2px; border-radius: 8px; } .nl-bloc:hover { outline-color: #cfdcf3; } .nl-bloc.choisi { outline-color: #2b5cb8; } .nl-bloc.ici { box-shadow: 0 -3px #2b5cb8; } #nl-blocs.fin { box-shadow: 0 3px #2b5cb8; }
.nl-outils { display: none; position: absolute; right: 8px; top: -30px; z-index: 2; background: #1f3864; border-radius: 8px; padding: 2px; } .nl-bloc.choisi .nl-outils { display: flex; } .nl-outils button, .nl-poignee { border: 0; background: none; color: #fff; min-width: 30px; height: 28px; cursor: pointer; border-radius: 6px; display: grid; place-items: center; } .nl-outils button:hover { background: rgba(255, 255, 255, .18); } .nl-outils button:disabled { opacity: .35; } .nl-poignee { cursor: grab; }
.ed { outline: 0; min-height: 1.3em; white-space: pre-wrap; overflow-wrap: anywhere; } .ed:empty::before { content: attr(data-aide); color: #9a9da6; } .nl-entete .ed { display: inline-block; min-width: 120px; } .nl-entete .ed:empty::before { color: rgba(255, 255, 255, .6); }
.nl-titre { font: bold 25px/1.3 Georgia, serif; margin: 0; color: #1f3864; } .nl-texte, .nl-cols .ed { font-size: 16px; line-height: 1.6; } .nl-cols .ed { font-size: 15px; } .ed.fort { font-weight: bold; font-size: 17px; } .ed.sous { color: #6b6e76; font-size: 14px; }
.nl-bouton { width: fit-content; margin: 8px auto; padding: 12px 26px; border-radius: 6px; color: #fff; font-weight: bold; text-align: center; } .nl-bouton .ed:empty::before { color: rgba(255, 255, 255, .75); } .nl-citation { border-left: 4px solid; padding: 4px 0 4px 18px; font: italic 19px/1.5 Georgia, serif; } .nl-date { background: #f3f5fa; border-radius: 8px; padding: 14px 18px; } .nl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .nl-cols > div { min-width: 0; } .nl-bloc img { width: 100%; border-radius: 6px; display: block; cursor: pointer; } .nl-bloc hr { border: 0; border-top: 1px solid #e6e3dc; }
.nl-image { width: 100%; min-height: 110px; border: 2px dashed #c7ccd6; background: #f7f8fb; color: #2b5cb8; border-radius: 8px; cursor: pointer; } .nl-reglages { display: none; gap: 8px; margin-top: 10px; padding: 10px; background: #f3f5fa; border-radius: 8px; font: 13px -apple-system, sans-serif; } .nl-reglages:empty { display: none !important; } .nl-bloc.choisi .nl-reglages { display: grid; } .nl-reglages input { background: #fff; color: #1d1f24; border-color: #d5d9e2; } .nl-reglages label { color: #555b66; } .nl-raccourcis { display: flex; flex-wrap: wrap; gap: 5px; } .nl-reglages .puce, .nl-reglages .btn { background: #fff; color: #1d1f24; border-color: #d5d9e2; }
.nl-pied { border-top: 1px solid #e6e3dc; padding: 16px 32px 24px; font-size: 12px; color: #6b6e76; }
.nl-deux { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; } .nl-deux > div, .nl-deux > aside:not(.panneau) { display: grid; gap: 14px; min-width: 0; } .nl-pad { padding: 16px 18px; overflow: visible; } .nl-pad h3 { margin: 0 0 8px; font: 600 16px var(--titre); } .nl-pad h4 { margin: 14px 0 6px; font-size: 13px; } .nl-pad label { margin-bottom: 8px; }
.nl-coche { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--texte); font-weight: 400; padding: 3px 0; } .nl-coche input { width: auto; } .nl-coche input[type=checkbox], .nl-coche input[type=radio] { width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.nl-compte { position: sticky; top: 0; display: grid; gap: 6px; } .nl-compte.calcul { opacity: .5; } .nl-gros { font: 600 46px/1 var(--titre); } .nl-compte ul { list-style: none; padding: 0; margin: 8px 0; font-size: 13px; } .nl-compte li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--ligne); } .nl-compte .btn { text-align: center; text-decoration: none; }
.nl-vue iframe { width: 100%; max-width: 640px; height: 720px; border: 1px solid var(--ligne); border-radius: 12px; background: #f5f4f0; margin: 0 auto; display: block; } .nl-appareils { display: flex; gap: 8px; align-items: center; justify-content: center; } .nl-ko { color: var(--rouge); margin: 3px 0; font-size: 13px; } .nl-avis { color: var(--ambre); margin: 3px 0; font-size: 13px; } .nl-ok { color: var(--vert); margin: 0; }
.nl-progres { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; } .nl-progres i { display: block; height: 100%; background: var(--vert); transition: width .5s; } .nl-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; } .nl-actions input { flex: 1; max-width: 420px; }
.l-membre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--ligne); font-size: 14px; } .l-membre:first-child { border-top: 0; } .l-membre > .lien:last-child { margin-left: auto; } .nl-trouve { display: block; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--ligne); background: none; padding: 8px; cursor: pointer; } .nl-trouve:hover { background: var(--surface-2); } .nl-couleurs { display: inline-flex; gap: 3px; margin-left: auto; } .nl-couleurs .etq { width: 22px; height: 22px; padding: 0; margin: 0; border: 0; cursor: pointer; } .nl-couleurs .actif { box-shadow: 0 0 0 2px currentColor; }
@media (max-width: 1240px) { .nl-atelier { grid-template-columns: 130px minmax(0, 1fr); } .nl-apparence { grid-column: 1 / -1; position: static; } }
@media (max-width: 900px) { .nl-deux { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .nl-atelier { grid-template-columns: minmax(0, 1fr); } .nl-palette { position: static; display: flex; flex-wrap: wrap; } .nl-palette h4 { width: 100%; } .nl-fond { padding: 34px 8px; } .nl-bloc, .nl-entete, .nl-pied { padding-left: 18px; padding-right: 18px; } .nl-cols { grid-template-columns: 1fr; } }

/* ── Accueil : le travail fait, derniers arrivés ── */
.derniers { border-top: 1px solid var(--ligne); } .derniers .r-ligne:first-child { border-top: 0; } .derniers b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; } .derniers span { flex: none; }
.quatre { display: grid; grid-template-columns: repeat(4, 1fr); padding: 2px 18px 12px; gap: 8px; } .quatre div { display: grid; align-content: start; } .quatre b { font: 600 24px var(--titre); } .quatre span { font-size: 12px; white-space: nowrap; color: var(--doux); } .quatre small { font-size: 11.5px; color: var(--doux); }
.p-lien { display: block; padding: 11px 18px; border-top: 1px solid var(--ligne); font-size: 13px; text-decoration: none; font-weight: 550; } .p-lien:hover { background: var(--surface-2); }

/* ── Statistiques ── */
.st { display: grid; gap: 16px; max-width: 1320px; margin-top: 14px; } .st-filtres { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.st-seg { display: inline-flex; background: var(--surface); border: 1px solid var(--ligne); border-radius: 10px; padding: 3px; } .st-seg button { border: 0; background: none; padding: 6px 14px; border-radius: 8px; cursor: pointer; color: var(--doux); font-weight: 550; } .st-seg .actif { background: var(--accent); color: var(--surface); }
.st-filtre { display: inline-flex; align-items: center; gap: 8px; background: var(--bleu-doux); color: var(--bleu); border: 0; border-radius: 99px; padding: 6px 13px; cursor: pointer; font-weight: 550; }
.st-cles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .st-cle { background: var(--surface); border: 1px solid var(--ligne); border-radius: 14px; padding: 18px 20px; } .st-cle .t { color: var(--doux); font-size: 13.5px; font-weight: 550; } .st-cle .v { font: 600 40px/1.15 var(--titre); margin: 4px 0 2px; font-variant-numeric: lining-nums; } .st-cle .s { color: var(--doux); font-size: 13px; } .st-cle.or { background: linear-gradient(120deg, #14264a, #274a80); border-color: transparent; color: #fff; } .st-cle.or .t, .st-cle.or .s { color: #c9d6ee; }
.haut { color: var(--vert); font-weight: 600; } .bas { color: var(--corail); font-weight: 600; }
.st-deux { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: stretch; } .st-trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; } .st .panneau h2 { font-size: 18px; } .st-corps { padding: 4px 20px 20px; } .st-note { margin: 12px 0 0; font-size: 12.5px; color: var(--doux); }
.st-graphe { position: relative; padding: 8px 20px 18px 52px; } .st-aire { position: relative; height: 230px; border-bottom: 1px solid var(--doux); display: flex; align-items: flex-end; gap: 2px; } .st-grille { position: absolute; left: 0; right: 0; border-top: 1px solid var(--ligne); } .st-grille span { position: absolute; right: 100%; margin-right: 9px; top: -9px; font-size: 11.5px; color: var(--doux); }
.st-barre { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; border: 0; background: none; padding: 0; cursor: default; } .st-barre i { display: block; width: 72%; max-width: 46px; background: var(--bleu); border-radius: 4px 4px 0 0; } .st-barre:hover i, .st-barre:focus-visible i { background: var(--accent); } .st-barre:hover, .st-barre:focus-visible { background: var(--surface-2); outline: none; }
.st-bulle { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--texte); color: var(--fond); font-size: 12px; padding: 5px 10px; border-radius: 7px; white-space: nowrap; display: none; z-index: 2; pointer-events: none; } .st-barre:hover .st-bulle, .st-barre:focus-visible .st-bulle { display: block; } .st-barre:first-of-type .st-bulle { left: 0; transform: none; } .st-barre:last-of-type .st-bulle { left: auto; right: 0; transform: none; }
.st-axe { display: flex; gap: 2px; margin-top: 7px; } .st-axe span { flex: 1; min-width: 0; text-align: center; font-size: 11.5px; color: var(--doux); white-space: nowrap; }
.st-marche { display: grid; grid-template-columns: 92px minmax(0, 1fr) 58px; gap: 12px; align-items: center; font-size: 14px; } .st-marche .f { height: 34px; background: var(--surface-2); border-radius: 8px; overflow: hidden; } .st-marche i { display: block; height: 100%; background: var(--bleu); border-radius: 0 8px 8px 0; } .st-marche.gagne i { background: var(--vert); } .st-marche b { text-align: right; font: 600 19px var(--titre); } .st-passe { padding: 4px 0 4px 104px; font-size: 12px; color: var(--doux); }
.st-table { width: 100%; border-collapse: collapse; font-size: 14px; } .st-table th { text-align: right; font-size: 12.5px; color: var(--doux); font-weight: 600; padding: 8px 0 8px 14px; border-bottom: 1px solid var(--ligne); white-space: nowrap; } .st-table th:first-child, .st-table td:first-child { text-align: left; padding-left: 0; } .st-table td { text-align: right; padding: 10px 0 10px 14px; border-bottom: 1px solid var(--ligne); font-variant-numeric: tabular-nums; } .st-table tr:last-child td { border-bottom: 0; } .st-table button { border: 0; background: none; padding: 0; cursor: pointer; color: inherit; font-weight: 550; text-align: left; } .st-table button:hover { color: var(--accent); text-decoration: underline; } .st-table .barre-mini { height: 6px; border-radius: 0 3px 3px 0; background: var(--bleu); margin-top: 5px; } .st-table .actif { background: var(--bleu-doux); } .st-table .taux { font-weight: 650; }
.st-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; font-size: 13.5px; padding: 7px 0; } .st-ligne .f { grid-column: 1 / -1; height: 7px; background: var(--surface-2); border-radius: 4px; overflow: hidden; } .st-ligne i { display: block; height: 100%; background: var(--bleu); border-radius: 0 4px 4px 0; }
.st-faits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; } .st-faits b { display: block; font: 600 27px/1.1 var(--titre); } .st-faits span { font-size: 13px; color: var(--doux); } .st details { margin-top: 14px; font-size: 13px; } .st summary { cursor: pointer; color: var(--doux); }
@media (max-width: 1080px) { .st-deux, .st-trois { grid-template-columns: minmax(0, 1fr); } .st-cles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .st-cle { padding: 14px; } .st-cle .v { font-size: 31px; } .st-axe span:nth-child(even) { visibility: hidden; } .st-seg { width: 100%; } .st-seg button { flex: 1; padding: 7px 4px; font-size: 13px; } .st-table .facultatif { display: none; } .st-marche { grid-template-columns: 82px minmax(0, 1fr) 46px; } .st-passe { padding-left: 94px; } .st-graphe { padding-left: 44px; } }
.st-pile { display: grid; gap: 16px; }

/* ── La fiche de vente (24 nov. 2026) ── */
.fiche.large { width: min(1240px, 100%); background: var(--fond); overflow: hidden; }
.f-tete { background: var(--surface); border-bottom: 1px solid var(--ligne); padding: 10px 24px 14px; display: grid; gap: 12px; flex: none; max-height: 46vh; overflow: auto; }
.f-barre { display: flex; align-items: center; gap: 14px; min-height: 28px; font-size: 13px; } .f-barre .fermer { position: static; margin-left: auto; width: 34px; height: 34px; border-radius: 9px; } .f-barre .fermer:hover { background: var(--surface-2); } .f-file { background: var(--bleu-doux); color: var(--bleu); border-radius: 99px; padding: 3px 11px; font-weight: 600; }
.f-id { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .f-avatar { width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #1f3864, #3d63a8); color: #fff; font: 600 20px var(--titre); }
.f-nom { flex: 1; min-width: 200px; } .f-nom h2 { margin: 0 0 3px; font: 600 25px/1.15 var(--titre); overflow-wrap: anywhere; } .f-infos { display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; font-size: 13px; color: var(--doux); } .f-infos .badge, .f-infos .type-fiche { margin: 0; }
.f-contact { display: grid; gap: 5px; justify-items: end; } .f-tel, .f-mel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13.5px; overflow-wrap: anywhere; } .f-tel { font-size: 17px; font-weight: 650; }
.f-etapes { display: flex; gap: 3px; } .f-etapes button { flex: 1; border: 0; background: var(--surface-2); color: var(--doux); padding: 9px 8px 9px 18px; font-size: 13px; font-weight: 550; cursor: pointer; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%, 11px 50%); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-etapes button:first-child { clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%); border-radius: 8px 0 0 8px; padding-left: 12px; } .f-etapes .fait { background: var(--bleu-doux); color: var(--bleu); } .f-etapes .ici { background: var(--accent); color: var(--surface); } .f-etapes .ici.gagne { background: var(--vert); color: #fff; } .f-etapes button:hover { filter: brightness(.96); } .f-etapes small { font-weight: 650; }
.f-etapes .f-perdu { flex: 0 0 auto; clip-path: none; border-radius: 8px; padding: 9px 14px; margin-left: 8px; background: none; max-width: 190px; } .f-etapes .f-perdu.ici { background: var(--doux); color: var(--surface); }
.f-suite { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; background: var(--bleu-doux); color: var(--bleu); border-radius: 10px; padding: 9px 14px; font-size: 13.5px; } .f-suite span { color: var(--texte); } .f-suite .lien, .f-suite .btn { margin-left: auto; } .f-suite .lien { color: inherit; } .f-suite.retard { background: var(--corail-doux); color: var(--corail); } .f-suite.jour { background: var(--ambre-doux); color: var(--ambre); } .f-suite.neuf { background: var(--vert-doux); color: var(--vert); } .f-suite.auto { background: var(--surface-2); color: var(--texte); }
.suites { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; } .suites.sans { margin-top: 8px; } .suites[hidden] { display: none; } .suites .puce { padding: 7px 14px; font-size: 13.5px; } .suites .puce:hover { border-color: var(--accent); color: var(--accent); } .suite-date { display: inline-flex; gap: 7px; align-items: center; color: var(--texte); font-weight: 400; } .suite-date input { width: auto; border: 0; padding: 0; background: none; font-size: 13px; } .puce.discrete { border-style: dashed; color: var(--doux); }
.f-corps { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 390px; } .f-gauche { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--ligne); } .f-droite { overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; } #v-zone { display: grid; gap: 14px; } .f-onglets { display: none; }
.large .fil { background: var(--fond); padding: 20px 24px; gap: 10px; } .large .bulle { box-shadow: 0 1px 2px rgba(20, 30, 60, .05); padding: 10px 14px; font-size: 14px; } .large .composeur { padding: 14px 24px 18px; max-height: 66%; overflow: auto; box-shadow: 0 -6px 18px rgba(20, 30, 60, .05); flex: none; }
.f-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; } .f-actions button { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 8px; border-radius: 11px; border: 1px solid var(--ligne); background: var(--surface); font-weight: 600; cursor: pointer; transition: transform .12s, box-shadow .12s; } .f-actions button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(20, 30, 60, .1); } .f-actions button:disabled { opacity: .4; cursor: default; } .f-actions .pr { background: var(--accent); border-color: var(--accent); color: var(--surface); } .f-actions .or { background: var(--or); border-color: var(--or); color: #1c2b49; } .f-actions .ouvert { box-shadow: 0 0 0 3px var(--accent-doux), inset 0 0 0 2px var(--accent); }
.f-prete { display: flex; align-items: center; gap: 10px; background: var(--ambre-doux); color: var(--ambre); border-radius: 10px; padding: 9px 13px; margin-bottom: 11px; font-size: 13.5px; } .f-prete span { flex: 1; color: var(--texte); }
.v-carte { background: var(--surface); border: 1px solid var(--ligne); border-radius: 14px; padding: 15px 17px; } .v-carte header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; } .v-carte h4 { margin: 0; font: 600 16.5px var(--titre); display: inline; } .v-jauge { display: flex; gap: 4px; } .v-jauge i { width: 18px; height: 6px; border-radius: 3px; background: var(--ligne); } .v-jauge .plein { background: var(--vert); }
.v-q { margin-bottom: 11px; } .v-t { font-size: 12.5px; color: var(--doux); font-weight: 600; margin-bottom: 5px; } .v-puces { display: flex; flex-wrap: wrap; gap: 5px; } .v-puces .puce { font-size: 13px; padding: 5px 11px; } .v-date { display: inline-flex; grid-template-columns: none; gap: 7px; align-items: center; margin-top: 6px; font-weight: 400; } .v-date input { width: auto; padding: 3px 7px; font-size: 13px; } .v-carte textarea { min-height: 52px; }
.v-offre { border: 1px solid var(--ligne); border-radius: 11px; padding: 12px 13px; margin-top: 9px; } .v-offre.premiere { border-color: var(--or); box-shadow: inset 4px 0 var(--or); } .v-o-tete { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; } .v-o-tete span { font-weight: 650; white-space: nowrap; } .v-offre ul { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; } .v-proposer { margin-top: 10px; width: 100%; } .v-vide { margin: 6px 0 0; }
.v-obj { border-top: 1px solid var(--ligne); } .v-obj summary { padding: 9px 0; cursor: pointer; font-size: 14px; font-weight: 550; } .v-obj div { padding: 0 0 11px; font-size: 14px; line-height: 1.55; } .v-details summary { cursor: pointer; list-style-position: outside; } .v-details[open] summary { margin-bottom: 11px; } .v-details .grille { gap: 9px; } .v-ligne { margin-top: 12px; } .v-bas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; } .v-prop { padding: 7px 0; border-top: 1px solid var(--ligne); } .v-prop:first-of-type { border-top: 0; }
.appel, .prop { display: grid; gap: 11px; } .ap-issue { display: flex; gap: 9px; flex-wrap: wrap; } .ap-issue .btn { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; } .ap-b { flex: 1; min-width: 120px; padding: 11px; border-radius: 10px; border: 1px solid var(--ligne); background: var(--surface); font-weight: 600; cursor: pointer; } .ap-b.oui.actif { background: var(--vert); border-color: var(--vert); color: #fff; } .ap-b.non.actif { background: var(--doux); border-color: var(--doux); color: var(--surface); } .ap-t { margin: 2px 0 -3px; font-size: 13px; color: var(--doux); font-weight: 600; } .ap-suite { display: flex; gap: 9px; flex-wrap: wrap; } .ap-choix { flex: 1; min-width: 130px; padding: 11px; border-radius: 10px; border: 1px solid var(--ligne); background: var(--surface); font-weight: 600; cursor: pointer; } .ap-choix.or { background: var(--or); border-color: var(--or); color: #1c2b49; } .ap-choix.vert { background: var(--vert); border-color: var(--vert); color: #fff; } .ap-choix:hover { filter: brightness(.96); }
.prop-tete { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .prop-tete .lien:last-child:not(:first-child) { margin-left: auto; } .prop-offres { display: grid; gap: 7px; } .prop-o { border: 1px solid var(--ligne); border-radius: 11px; background: var(--surface); } .prop-o.actif { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); } .prop-o > button { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; border: 0; background: none; padding: 11px 14px; cursor: pointer; text-align: left; } .prop-c { width: 21px; height: 21px; border-radius: 6px; border: 2px solid var(--ligne); display: grid; place-items: center; font-size: 13px; } .actif > button .prop-c { background: var(--accent); border-color: var(--accent); color: var(--surface); } .prop-o em { font-style: normal; font-size: 11.5px; font-weight: 650; background: var(--or); color: #1c2b49; border-radius: 99px; padding: 1px 9px; margin-left: 8px; } .prop-p { font-weight: 650; } .prop-d { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 0 14px 12px 46px; } .prop-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .prop-suite { margin: 0; font-size: 13px; color: var(--doux); } .prop.gagne { border-left: 4px solid var(--vert); padding-left: 14px; } .g-trois { display: grid; grid-template-columns: 1fr 130px 1fr; gap: 10px; align-items: end; } .prop.survol { outline: 2px dashed var(--accent); outline-offset: 6px; border-radius: 6px; }
.exigence { position: absolute; inset: 0; background: rgba(12, 16, 26, .55); display: grid; place-items: center; padding: 18px; z-index: 4; } .exigence > div { background: var(--surface); border-radius: 16px; padding: 24px 26px; width: min(520px, 100%); box-shadow: var(--ombre); } .exigence h3 { margin: 0 0 4px; font: 600 22px var(--titre); } .exigence p { margin: 0 0 14px; } .ex-pied { display: flex; gap: 14px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.of { display: grid; gap: 10px; max-width: 940px; margin-top: 14px; } .of-tete { display: flex; align-items: center; gap: 14px; position: sticky; top: -20px; background: var(--fond); padding: 10px 0; z-index: 2; flex-wrap: wrap; } .of-tete p { flex: 1; min-width: 220px; margin: 0; } .of-carte { padding: 15px 18px; display: grid; gap: 11px; } .of-l { display: flex; gap: 11px; align-items: end; flex-wrap: wrap; } .of-l label { flex: 0 1 150px; } .of-l .of-nom { flex: 1 1 260px; } .of-l .lien { padding-bottom: 9px; } .of-g { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; } .of-g .large { grid-column: 1 / -1; } .of-p { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--doux); } .of > .btn { justify-self: start; }
@media (max-width: 980px) { .f-corps { grid-template-columns: minmax(0, 1fr) 330px; } }
@media (max-width: 820px) {
  .f-tete { padding: 8px 14px 10px; gap: 9px; max-height: none; } .f-avatar { width: 42px; height: 42px; font-size: 16px; } .f-nom h2 { font-size: 20px; } .f-contact { justify-items: start; width: 100%; grid-auto-flow: column; justify-content: start; gap: 16px; overflow: auto; } .f-etapes { overflow: auto; } .f-etapes button { flex: 0 0 auto; padding: 8px 18px; }
  .f-onglets { display: flex; background: var(--surface); border-bottom: 1px solid var(--ligne); flex: none; } .f-onglets button { flex: 1; border: 0; background: none; padding: 11px; font-weight: 600; color: var(--doux); border-bottom: 2px solid transparent; } .f-onglets .actif { color: var(--accent); border-color: var(--accent); }
  .f-corps { grid-template-columns: minmax(0, 1fr); } .f-droite { display: none; } .f-gauche { border-right: 0; } .cote-droit .f-gauche { display: none; } .cote-droit .f-droite { display: flex; } .large .composeur { padding: 11px 14px 14px; max-height: 72%; } .large .fil { padding: 14px; min-height: 90px; } .f-actions button { flex-direction: column; gap: 4px; padding: 9px 4px; font-size: 12.5px; } .prop-d { padding-left: 14px; grid-template-columns: 1fr 1fr; } .of-g { grid-template-columns: 1fr; }
}

.v-puces .puce { font-size: 12.5px; padding: 3px 9px; } .v-q { margin-bottom: 8px; } .v-t { margin-bottom: 3px; } .v-carte textarea[data-b-note] { min-height: 38px; } .v-date { margin-top: 4px; font-size: 12.5px; }
.f-droite .v-carte { padding: 13px 15px; } .large .prop-pied { position: sticky; bottom: -18px; background: var(--surface); padding: 10px 0 18px; margin-bottom: -18px; z-index: 1; }
.of-g { align-items: start; }
.ap-b.oui.actif, .ap-choix.vert, .btn.vert { color: var(--surface); } .v-details summary { list-style-position: inside; }
.large .c-pied { position: sticky; bottom: -18px; background: var(--surface); padding: 8px 0 12px; z-index: 1; }
@media (max-height: 820px) { .large .composeur { max-height: 72%; } .f-tete { gap: 8px; } }

/* ── La conversation, lisible (24 nov. 2026) ── */
.large .fil { display: block; padding: 0 24px; } .m-fil { min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px 0; max-width: 820px; margin: 0 auto; }
.m-jour { display: flex; align-items: center; gap: 14px; margin: 10px 0 2px; color: var(--doux); font-size: 12.5px; font-weight: 600; } .m-jour::before, .m-jour::after { content: ""; flex: 1; border-top: 1px solid var(--ligne); }
.m { display: flex; gap: 10px; max-width: 88%; align-self: flex-start; } .m.droite { align-self: flex-end; flex-direction: row-reverse; } .m.note { align-self: stretch; max-width: 100%; }
.m-ico { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--surface-2); color: var(--doux); } .m-corps { background: var(--surface); border: 1px solid var(--ligne); border-radius: 4px 14px 14px 14px; padding: 10px 15px 12px; min-width: 0; box-shadow: 0 1px 3px rgba(20, 30, 60, .05); } .m.droite .m-corps { border-radius: 14px 4px 14px 14px; } .m.note .m-corps { flex: 1; border-radius: 12px; }
.m-corps header { display: flex; gap: 8px 14px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; } .m-corps header b { font-size: 14px; overflow-wrap: anywhere; } .m-corps time { font-size: 12px; color: var(--doux); white-space: nowrap; } .m-corps footer { font-size: 12px; color: var(--doux); margin-top: 5px; }
.m-texte { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; margin-top: 3px; } .m-dl { margin: 7px 0 0; display: grid; gap: 7px; } .m-dl dt { font-size: 12px; color: var(--doux); } .m-dl dd { margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.m.demande .m-ico { background: var(--vert-doux); color: var(--vert); } .m.recu .m-ico { background: var(--corail-doux); color: var(--corail); } .m.recu .m-corps { border-color: var(--corail); } .m.envoye .m-ico { background: var(--bleu-doux); color: var(--bleu); } .m.envoye .m-corps { background: var(--bleu-doux); border-color: transparent; } .m.appel .m-ico { background: var(--accent); color: var(--surface); } .m.appel.non .m-ico { background: var(--surface-2); color: var(--doux); } .m.appel.non .m-corps { background: none; box-shadow: none; } .m.note .m-ico { background: var(--ambre-doux); color: var(--ambre); } .m.note .m-corps { background: var(--ambre-doux); border-color: transparent; }
.m-suite { margin-top: 4px; } .m-suite summary { cursor: pointer; list-style: none; } .m-suite summary::-webkit-details-marker { display: none; } .m-suite em { font-style: normal; font-size: 12.5px; color: var(--accent); font-weight: 600; } .m-suite[open] > summary .m-texte { display: none; } .m-suite[open] > summary em { opacity: .6; } .m-suite.discret em { color: var(--doux); font-weight: 400; } .m-repondre { margin-top: 10px; display: inline-flex; align-items: center; gap: 7px; }
.m-journal { align-self: center; max-width: 92%; font-size: 12.5px; color: var(--doux); text-align: center; } .m-journal b { font-weight: 600; color: var(--texte); } .m-journal i { font-style: normal; margin: 0 7px; opacity: .6; } .m-journal > summary { cursor: pointer; list-style: none; border-radius: 99px; padding: 3px 13px; } .m-journal > summary::-webkit-details-marker { display: none; } .m-journal > summary:hover { background: var(--surface); } .m-journal ul { list-style: none; margin: 6px 0 0; padding: 10px 15px; background: var(--surface); border-radius: 10px; text-align: left; display: grid; gap: 5px; } .m-journal li span { opacity: .75; margin-left: 6px; }
.m-jalon { align-self: center; display: inline-flex; align-items: center; gap: 9px; border-radius: 99px; padding: 7px 17px; font-size: 13.5px; font-weight: 600; } .m-jalon.or { background: var(--or); color: #1c2b49; } .m-jalon.vert { background: var(--vert); color: var(--surface); }
.m-vide { display: grid; justify-items: center; gap: 3px; text-align: center; color: var(--doux); padding: 34px 20px; margin: auto 0; } .m-vide .ico { color: var(--accent); margin-bottom: 6px; } .m-vide b { color: var(--texte); font: 600 18px var(--titre); }
/* Passer, précédente, suivante */
.f-barre { gap: 10px; flex-wrap: wrap; } .f-journee { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--doux); margin-right: auto; } .f-journee b { color: var(--texte); font-size: 14px; } .f-jauge { width: 150px; height: 8px; border-radius: 4px; background: var(--ligne); overflow: hidden; } .f-jauge i { display: block; height: 100%; background: var(--or); border-radius: 4px; }
.f-nav { border: 1px solid var(--ligne); background: var(--surface); border-radius: 10px; padding: 8px 15px; font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; } .f-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); } .f-nav:disabled { opacity: .35; cursor: default; } .f-nav.plein { background: var(--accent); border-color: var(--accent); color: var(--surface); } .f-nav.plein:hover { filter: brightness(1.12); color: var(--surface); } .f-barre .fermer { margin-left: 4px; border: 1px solid var(--ligne); font-size: 20px; }
.f-contact { grid-auto-flow: column; gap: 8px; align-items: center; } .f-tel, .f-mel { border: 1px solid var(--ligne); border-radius: 10px; padding: 8px 14px; font-size: 14px; } .f-tel { font-size: 15px; background: var(--accent-doux); border-color: transparent; } .f-tel:hover, .f-mel:hover { border-color: var(--accent); }
@media (max-width: 1100px) { .f-contact { grid-auto-flow: row; } } @media (max-width: 820px) { .f-jauge { width: 60px; } .f-journee { gap: 8px; } .f-nav { padding: 8px 11px; } .large .fil { padding: 0 14px; } .m { max-width: 96%; } .f-contact { grid-auto-flow: column; } .f-tel, .f-mel { white-space: nowrap; padding: 7px 11px; } .m-vide { padding: 14px; } .m-ico { width: 28px; height: 28px; } }
.f-barre .fermer:first-child { margin-left: auto; } @media (max-width: 820px) { .f-nav span { display: none; } .f-jauge { display: none; } .f-barre { flex-wrap: nowrap; } }
.f-tete { grid-template-columns: minmax(0, 1fr); } .f-tete > * { min-width: 0; } .f-contact { min-width: 0; }

/* ── Le rythme, les nouvelles demandes (25 nov. 2026) ── */
.pl { display: grid; gap: 10px; background: var(--surface-2); border-radius: 12px; padding: 14px 16px; } .pl-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .pl p { margin: 0; } .pl-points { display: flex; gap: 5px; } .pl-points i { width: 22px; height: 7px; border-radius: 4px; background: var(--ligne); } .pl-points .fait { background: var(--ambre); } .pl-ok { padding: 13px; font-size: 15px; border-radius: 11px; font-weight: 650; } .pl > .lien { justify-self: center; } .pl-autre summary { cursor: pointer; font-size: 13px; color: var(--doux); } .pl-autre[open] summary { margin-bottom: 9px; }
.ry-n { min-width: 170px; padding-bottom: 9px; font-size: 13.5px; } .l-quand.chaud { color: var(--corail); font-weight: 650; }
.fraiches { position: fixed; top: 14px; right: 14px; z-index: 8; display: grid; gap: 10px; width: min(400px, calc(100vw - 28px)); pointer-events: none; } .fraiche { pointer-events: auto; display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--vert); border-left: 5px solid var(--vert); border-radius: 12px; box-shadow: var(--ombre); padding: 13px 15px; font-size: 13.5px; animation: arrive .3s; } .fraiche > span { color: var(--vert); } .fraiche > div { flex: 1; min-width: 0; overflow-wrap: anywhere; } .fraiche .lien { text-decoration: none; font-size: 19px; } @keyframes arrive { from { transform: translateX(30px); opacity: 0; } } @media (prefers-reduced-motion: reduce) { .fraiche { animation: none; } }

/* ── L'argent (25 nov. 2026) ── */
.avatar.vert, .motif.vert { background: var(--vert-doux); color: var(--vert); }
.argent { background: var(--surface); border: 1px solid var(--ligne); border-radius: 14px; padding: 18px 22px; display: grid; gap: 12px; } .ar-tete { display: grid; grid-template-columns: auto auto 1fr; gap: 12px 44px; align-items: end; } .ar-t { font-size: 13px; color: var(--doux); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; } .ar-t .jeu { width: 11px; height: 11px; border-radius: 3px; background: var(--or); } .ar-v { font: 600 38px/1.1 var(--titre); color: var(--vert); font-variant-numeric: lining-nums; white-space: nowrap; } .ar-v.petit { font-size: 24px; color: var(--texte); line-height: 1.45; } .ar-but { text-align: right; } .argent p { margin: 0; font-size: 14px; }
.ar-barre { position: relative; display: flex; gap: 2px; height: 18px; background: var(--surface-2); border-radius: 9px; } .ar-barre i { display: block; height: 100%; } .ar-barre .signe { background: var(--vert); border-radius: 9px 0 0 9px; } .ar-barre .jeu { background: var(--or); border-radius: 0 9px 9px 0; } .ar-barre i[style="width:0%"] { display: none; } .ar-barre b { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -2px; background: var(--texte); border-radius: 2px; }
.f-suite.client { background: var(--vert-doux); color: var(--vert); } .f-suite .btn { padding: 5px 12px; font-size: 13px; } .f-suite .btn + .btn { margin-left: 0; } .v-vente { padding: 7px 0; border-top: 1px solid var(--ligne); } .v-vente:first-of-type { border-top: 0; } .v-vente.annulee { opacity: .55; text-decoration: line-through; }
@media (max-width: 620px) { .argent { padding: 15px; } .ar-tete { grid-template-columns: 1fr 1fr; gap: 12px; } .ar-v { font-size: 30px; } .ar-v.petit { font-size: 20px; } .ar-tete > div:first-child { grid-column: 1 / -1; } }
.st-ca { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 26px; align-items: start; } .st-ca h4 { margin: 0 0 2px; font-size: 13px; color: var(--doux); } @media (max-width: 900px) { .st-ca { grid-template-columns: 1fr; } }

/* ── La fiche glisse de la droite, en gris ; les onglets en bas (25 nov. 2026) ── */
.fiche.large { --fond: #e3e7ed; --surface-2: #edf0f4; --ligne: #ced5df; width: clamp(min(860px, 100vw - 90px), 100vw - 480px, 1060px); background: var(--fond); border-radius: 18px 0 0 18px; border-left: 5px solid #46536b; box-shadow: -18px 0 50px rgba(20, 28, 45, .28); }
.fiche.entre { animation: glisse .28s cubic-bezier(.2, .8, .25, 1); } @keyframes glisse { from { transform: translateX(100%); } }
.fiche.large .f-tete { background: #d3dae4; border-color: #bfc8d5; } .fiche.large .f-etapes button:not(.fait):not(.ici) { background: #c3ccd8; color: #46536b; } .fiche.large .f-etapes .fait { background: #b4c6e4; color: #1f3864; } .fiche.large .f-etapes .f-perdu:not(.ici) { background: none; } .fiche.large .f-avatar { background: #46536b; }
.f-reduire { border: 1px solid #aab5c4; background: rgba(255, 255, 255, .55); border-radius: 10px; padding: 8px 15px; font-weight: 600; font-size: 13.5px; cursor: pointer; } .f-reduire:hover { background: #fff; } .f-barre .fermer { margin-left: 0; background: rgba(255, 255, 255, .55); } .f-barre .fermer:hover { background: #fff; } .f-barre .fermer:first-child { margin-left: 0; }
@media (prefers-color-scheme: dark) { .fiche.large { --fond: #262b34; --surface: #313742; --surface-2: #2b313b; --ligne: #414956; border-left-color: #7d8ba3; } .fiche.large .f-tete { background: #363d49; border-color: #474f5d; } .fiche.large .f-etapes button:not(.fait):not(.ici) { background: #464e5b; color: #b9c2d0; } .fiche.large .f-etapes .fait { background: #31486f; color: #c7d8f7; } .f-reduire, .f-barre .fermer { background: rgba(255, 255, 255, .08); border-color: #566072; } .f-reduire:hover, .f-barre .fermer:hover { background: rgba(255, 255, 255, .18); } }
.avec-onglets .fiche.large { bottom: 50px; border-radius: 18px 0 0 0; } .avec-onglets .contenu { padding-bottom: 84px; } .avec-onglets .toast { bottom: 66px; }
.onglets { position: fixed; right: 0; bottom: 0; z-index: 7; display: flex; gap: 6px; padding: 0 14px; max-width: calc(100vw - 236px); overflow-x: auto; } .onglets:empty { display: none; }
.onglet { display: flex; align-items: stretch; height: 46px; min-width: 130px; width: 200px; flex: 0 1 200px; background: #46536b; color: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -4px 16px rgba(20, 28, 45, .25); animation: monte .22s; transition: background .12s; } .onglet:hover { background: #55647f; } .onglet.ici { background: #d3dae4; color: #1d2533; } .onglet.alerte { box-shadow: inset 0 3px 0 var(--or), 0 -4px 16px rgba(20, 28, 45, .25); } @keyframes monte { from { transform: translateY(100%); } }
.onglet > button { border: 0; background: none; color: inherit; cursor: pointer; } .onglet > button:first-child { display: flex; align-items: center; gap: 9px; padding: 0 4px 0 11px; min-width: 0; flex: 1; text-align: left; } .og-av { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .2); font-weight: 650; font-size: 11.5px; } .ici .og-av { background: #46536b; color: #fff; } .og-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 13.5px; } .og-nom small { display: block; font-size: 11px; font-weight: 500; color: var(--or); overflow: hidden; text-overflow: ellipsis; } .ici .og-nom small { color: #8a5200; } .og-x { width: 30px; font-size: 17px; opacity: .7; } .og-x:hover { opacity: 1; }
.reflet { position: fixed; z-index: 6; background: #d3dae4; border-radius: 18px; pointer-events: none; transform-origin: 100% 100%; transition: transform .28s ease-in, opacity .28s; } .reflet.part { transform: scale(.14, .05); opacity: .15; }
@media (max-width: 1180px) { .f-corps { grid-template-columns: minmax(0, 1fr) 330px; } }
@media (max-width: 820px) { .fiche.large { width: 100%; border-radius: 0; border-left: 0; } .onglets { left: 0; right: 0; padding: 4px 8px 0; max-width: none; background: #c3ccd8; } .onglet { flex: none; width: 150px; } .f-corps { grid-template-columns: minmax(0, 1fr); } .f-reduire { padding: 8px 10px; } }
@media (prefers-reduced-motion: reduce) { .fiche.entre, .onglet { animation: none; } }

/* ── La fiche jusqu'au menu, le menu gris, les blocs de l'accueil détachés (25 nov. 2026) ── */
:root { --menu: #d8dde5; --menu-bord: #b7c0cd; --page: #eceef2; --bord: #bcc3cf; --bloc-tete: #f3f5f8; --piste: #e3e7ed; --ombre-bloc: 0 1px 2px rgba(20, 30, 60, .07), 0 4px 14px rgba(20, 30, 60, .08); }
@media (prefers-color-scheme: dark) { :root { --menu: #101217; --menu-bord: #3a404c; --page: #15171c; --bord: #465060; --bloc-tete: #262b34; --piste: #343b47; --ombre-bloc: 0 4px 14px rgba(0, 0, 0, .35); } }
.nav { background: var(--menu); border-color: var(--menu-bord); } .contenu { background: var(--page); }
#menu a:hover { background: rgba(255, 255, 255, .5); } #menu a.actif { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgba(20, 30, 60, .16); } #menu a .ico, .nav .plus, .pied-nav, #menu b { color: #4d5666; } #menu a.actif .ico { color: var(--accent); } .nav .plus { border-color: var(--menu-bord); }
@media (prefers-color-scheme: dark) { #menu a:hover { background: rgba(255, 255, 255, .06); } #menu a.actif { background: #253350; box-shadow: none; } #menu a .ico, .nav .plus, .pied-nav, #menu b { color: var(--doux); } #menu a.actif .ico { color: var(--accent); } }
.fiche.large { width: calc(100vw - 230px); border-radius: 0; border-left-width: 4px; } .avec-onglets .fiche.large { border-radius: 0; } .f-corps { grid-template-columns: minmax(0, 1fr) clamp(350px, 33%, 500px); }
.onglets { max-width: calc(100vw - 234px); }
.f-gauche { container-type: inline-size; } .f-actions button { white-space: nowrap; min-width: 0; } .f-actions .ico { flex: none; }
.f-actions .or { background: linear-gradient(#f8cf72, #edb440); border-color: #cf9423; color: #2a2205; box-shadow: 0 2px 6px rgba(176, 120, 10, .25); } .f-actions .or:hover:not(:disabled) { background: linear-gradient(#fbd988, #f2bd4e); box-shadow: 0 5px 14px rgba(176, 120, 10, .3); }
@container (max-width: 560px) { .f-actions button { flex-direction: column; gap: 5px; padding: 10px 4px; font-size: 13px; } }
.accueil { gap: 20px; } .tuiles, .colonnes, .cote { gap: 20px; }
.accueil .panneau, .accueil .argent, .accueil .tuile { border: 1px solid var(--bord); box-shadow: var(--ombre-bloc); } .accueil .tuile:hover { box-shadow: 0 10px 26px rgba(20, 30, 60, .16); } .hero { box-shadow: 0 8px 24px rgba(20, 38, 74, .28); }
.accueil .p-tete { background: var(--bloc-tete); border-bottom: 1px solid var(--bord); padding: 13px 18px; margin-bottom: 0; } .accueil .p-tete + .l-taches > .l-tache:first-child, .accueil .p-tete + .l-tache, .accueil .p-tete + .r-ligne { border-top: 0; }
.accueil .entonnoir, .accueil .semaine { padding-top: 12px; } .accueil .p-tete + .p-vide { padding-top: 14px; } .accueil .l-tache, .accueil .r-ligne, .accueil .plus-lignes, .accueil .p-pied { border-color: #d9dee6; }
.accueil .tuile { border-top-width: 4px; } .accueil .tuile.corail { border-top-color: var(--corail); } .accueil .tuile.bleu { border-top-color: var(--bleu); } .accueil .tuile.ambre { border-top-color: var(--ambre); } .accueil .tuile.vert { border-top-color: var(--vert); }
.e-fond, .ar-barre { background: var(--piste); }
@media (prefers-color-scheme: dark) { .accueil .l-tache, .accueil .r-ligne, .accueil .plus-lignes, .accueil .p-pied { border-color: var(--ligne); } }
@media (max-width: 820px) { .fiche.large { width: 100%; border-left: 0; } .f-corps { grid-template-columns: minmax(0, 1fr); } .onglets { max-width: none; } .accueil, .tuiles, .colonnes, .cote { gap: 14px; } }
.fiche.large { box-shadow: -6px 0 18px rgba(20, 28, 45, .16); } .onglet:first-child { margin-left: auto; } body:has(.fiche.large:not([hidden])) .onglets { left: 230px; height: 50px; align-items: flex-end; max-width: none; background: #b9c2cf; border-top: 1px solid #a5b0bf; } .bandeau.info { border: 1px solid var(--bord); background: var(--surface); }
@media (prefers-color-scheme: dark) { body:has(.fiche.large:not([hidden])) .onglets { background: #1a1e25; border-color: #3a404c; } }
@media (max-width: 820px) { body:has(.fiche.large:not([hidden])) .onglets { left: 0; } }
@container (max-width: 560px) { .f-actions { grid-template-columns: 1fr 1fr 1.35fr 1fr; } }
@container (max-width: 340px) { .f-actions { grid-template-columns: 1fr 1fr; } .f-actions button { flex-direction: row; gap: 7px; padding: 9px 4px; } }

/* ── Les visios (25 nov. 2026) ── */
.f-actions { grid-template-columns: 1fr 1fr 1fr 1.35fr 1fr; }
@container (max-width: 740px) { .f-actions button { flex-direction: column; gap: 5px; padding: 10px 4px; font-size: 13px; } }
@container (max-width: 560px) { .f-actions { grid-template-columns: 1fr 1fr 1fr 1.35fr 1fr; } }
@container (max-width: 430px) { .f-actions { grid-template-columns: repeat(6, 1fr); gap: 7px; } .f-actions button { grid-column: span 2; flex-direction: row; gap: 6px; padding: 9px 3px; } .f-actions button:nth-child(n+4) { grid-column: span 3; } }
.visio { gap: 13px; } .vi-quand { display: flex; gap: 8px; } .vi-quand .puce { padding: 7px 16px; font-size: 14px; } .vi-champs { display: flex; gap: 10px; flex-wrap: wrap; } .vi-champs label { flex: 1 1 130px; } .vi-info { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13.5px; font-weight: 550; } .vi-info.ok { color: var(--vert); } .vi-info.non { color: var(--orange); } #vi-lien details label { margin-top: 8px; } #vi-lien p.sous { margin: 6px 0 0; }
.f-rdv { flex-wrap: wrap; } .f-rdv > span { flex: 1; } .f-rdv em { font-style: normal; font-weight: 650; color: var(--rouge); } .f-rdv a.btn { text-decoration: none; padding: 5px 14px; font-size: 13px; } .f-rdv .btn + .btn { margin-left: 0; }
.a-visio { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--vert-doux); border: 2px solid var(--vert); border-radius: 14px; padding: 13px 18px; color: var(--vert); } .a-visio > div { flex: 1; min-width: 180px; color: var(--texte); } .a-visio b { display: block; font-size: 16px; } .a-visio span { color: var(--doux); font-size: 13.5px; } .a-visio .btn-or { padding: 10px 20px; text-decoration: none; }
a.r-joindre { text-decoration: none; font-weight: 600; } .r-ligne .r-joindre { margin-left: auto; } .r-ligne span .ico, .rdv-mode .ico { vertical-align: -2px; } .btn.r-joindre { display: inline-block; padding: 5px 13px; font-size: 13px; margin-right: 6px; } .rdv-mode { white-space: nowrap; }
@media (max-width: 820px) { .f-rdv > span { flex: 1 1 60%; } .f-rdv .btn { margin-left: 0 !important; } .f-rdv ~ .f-rdv { display: none; } .fiche.large:has(.f-gauche.page) .f-suite, .fiche.large:has(.f-gauche.page) .f-etapes, .fiche.large:has(.f-gauche.page) .f-onglets { display: none; } }

/* ── Un panneau est une page (25 nov. 2026) ── */
.f-gauche.page { background: var(--surface); } .f-gauche.page .fil, .f-gauche.page .f-actions, .f-gauche.page .f-prete, .f-gauche.page #reprise { display: none; }
.large .f-gauche.page .composeur { flex: 1; min-height: 0; max-height: none; padding: 0; border: 0; box-shadow: none; overflow: auto; display: flex; flex-direction: column; animation: page .16s ease-out; } @keyframes page { from { opacity: 0; transform: translateX(18px); } }
.pg-tete { position: sticky; top: 0; z-index: 2; flex: none; display: flex; align-items: center; gap: 11px; padding: 13px 24px; background: var(--bloc-tete); border-bottom: 1px solid var(--bord); } .pg-tete h3 { margin: 0; font: 600 19px/1.2 var(--titre); white-space: nowrap; } .pg-tete span { color: var(--doux); font-size: 13.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pg-tete .ico { color: var(--accent); }
.pg-x { margin-left: auto; flex: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--bord); background: var(--surface); font-size: 22px; line-height: 1; cursor: pointer; } .pg-x:hover { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.f-gauche.page #panneau { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 900px; margin: 0 auto; padding: 20px 24px 22px; } .f-gauche.page #panneau > * { width: 100%; }
.f-gauche.page .courrier { flex: 1; display: flex; flex-direction: column; gap: 11px; } .f-gauche.page #mail-corps, .f-gauche.page #prop-corps { flex: 1; min-height: 240px; line-height: 1.55; padding: 12px 14px; } .f-gauche.page .prop:has(#prop-corps) { flex: 1; display: flex; flex-direction: column; } .f-gauche.page #geste-note { min-height: 130px; } .f-gauche.page .prop-tete b { font-size: 15px; }
.c-recu { border: 1px solid var(--ligne); border-radius: 10px; background: var(--surface-2); padding: 9px 14px; font-size: 13.5px; } .c-recu summary { cursor: pointer; color: var(--doux); font-weight: 600; } .c-recu p { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto; }
.f-actions button { position: relative; } .f-actions .commence::after { content: ''; position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: #e08a00; box-shadow: 0 0 0 2px var(--surface); }
#reprise .lien { margin-left: 0; }
@media (max-width: 820px) { .pg-tete { padding: 9px 14px; } .f-gauche.page #panneau { padding: 14px; } .f-gauche.page #mail-corps, .f-gauche.page #prop-corps { min-height: 200px; } }
@media (prefers-reduced-motion: reduce) { .large .f-gauche.page .composeur { animation: none; } }

.btn.f-annuler { color: var(--rouge); padding: 5px 13px; font-size: 13px; } .btn.f-annuler:hover { border-color: var(--rouge); background: var(--rouge-doux); }

.v-histo { font-size: 13px; } .v-histo summary { cursor: pointer; color: var(--doux); font-weight: 600; } .v-histo ul { margin: 8px 0 0; padding: 0; list-style: none; max-height: 300px; overflow: auto; } .v-histo li { padding: 6px 0; border-top: 1px solid var(--ligne); overflow-wrap: anywhere; } .v-histo span { display: block; color: var(--doux); font-size: 12px; }

/* ── Les choix de « Son besoin » évoluent à l'usage ── */
.v-modifier { font-size: 12.5px; margin-left: 4px; margin-right: auto; } .v-aide { margin: -2px 0 8px; } .v-plus { border-style: dashed; color: var(--doux); min-width: 34px; font-weight: 650; } .v-plus:hover { border-color: var(--accent); color: var(--accent); }
.v-saisie { width: 170px; max-width: 100%; border-radius: 99px; padding: 4px 12px; font-size: 13px; border-color: var(--accent); }
.v-mod { display: inline-flex; align-items: center; gap: 2px; padding: 0 2px 0 0; border-color: var(--accent); } .v-mod button { border: 0; background: none; cursor: pointer; font-size: 13px; padding: 4px 4px 4px 11px; } .v-mod button:last-child { padding: 2px 8px; color: var(--rouge); font-size: 15px; line-height: 1; } .v-mod button:hover { text-decoration: underline; }

/* ── L'appel en trois étapes ── */
.appel3 { flex: 1; display: flex; flex-direction: column; gap: 14px; } .et { border: 1px solid var(--bord); border-radius: 14px; padding: 14px 18px 16px; background: var(--surface); } .et-t { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; font-size: 15.5px; } .et-n { width: 27px; height: 27px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-doux); color: var(--accent); font-weight: 650; font-size: 14px; } .et.fait .et-n { background: var(--vert); color: var(--surface); }
.et-c { display: flex; flex-wrap: wrap; gap: 8px; } .et-deux .et-b { flex: 1; min-width: 150px; padding: 13px; } .et-b { border: 1px solid var(--bord); background: var(--surface); border-radius: 10px; padding: 10px 15px; font-weight: 550; cursor: pointer; } .et-b:hover:not(:disabled) { border-color: var(--accent); } .et-b[aria-pressed="true"] { background: var(--accent-doux); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); } .et-b.petit { padding: 7px 13px; font-size: 13.5px; }
.et-g { margin: 13px 0 7px; color: var(--doux); font-size: 13px; font-weight: 600; } #et-suite > .et-g:first-child { margin-top: 0; } .et-aide { margin: 7px 0 0; } .et-attente { margin: 0; } .et-conseil { margin: 0 0 10px; background: var(--ambre-doux); color: var(--ambre); border-radius: 9px; padding: 8px 12px; font-size: 13.5px; } .et-date { display: inline-flex; flex-direction: row; align-items: center; gap: 9px; margin-top: 10px; font-size: 13.5px; } .et-date input { width: auto; }
.f-gauche.page .appel3 #geste-note { min-height: 96px; }
.et-pied { position: sticky; bottom: -22px; margin: auto -24px -22px; padding: 14px 24px; display: flex; align-items: center; gap: 16px; background: var(--bloc-tete); border-top: 1px solid var(--bord); } .et-pied p { flex: 1; margin: 0; font-weight: 550; } .et-pied p.manque { color: var(--doux); font-weight: 400; } .et-pied .btn { flex: none; padding: 12px 20px; font-weight: 650; } .et-pied p.secoue { color: var(--rouge); font-weight: 600; animation: secoue .3s; } @keyframes secoue { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.pg-tel { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; flex: none; } .pg-tete .pg-tel .ico, .pg-tete .pg-tel span { color: inherit; font-size: inherit; } .pg-tel + .pg-x { margin-left: 0; }
@media (max-width: 820px) { .et { padding: 12px 13px 13px; } .et-pied { margin: auto -14px -14px; bottom: -14px; padding: 11px 14px; flex-direction: column; align-items: stretch; gap: 9px; } .pg-num { display: none; } }
@media (prefers-reduced-motion: reduce) { .et-pied p.secoue { animation: none; } }
@media (max-width: 820px) { .et-aide { display: none; } }
.appel3 { gap: 10px; } .et { padding: 10px 16px 13px; } .et-t { margin-bottom: 8px; } .et[data-et="1"] { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; } .et[data-et="1"] .et-t { margin: 0; } .et[data-et="1"] .et-c { flex: 1; min-width: 300px; } .et-deux .et-b { min-width: 130px; padding: 10px 12px; } .et-b { padding: 8px 14px; } .et-g { margin: 9px 0 6px; } .f-gauche.page .appel3 #geste-note { min-height: 68px; height: 68px; } .et-pied { bottom: 0; padding: 11px 24px; } .f-gauche.page #panneau:has(.appel3) { padding-top: 14px; max-width: 980px; }
@media (max-width: 820px) { .et-pied { bottom: 0; padding: 10px 14px; } .et[data-et="1"] .et-c { min-width: 100%; } }
.et-raisons { scroll-margin-bottom: 110px; }

/* ── Offres, tarifs et dates (25 nov. 2026) ── */
.ed { display: grid; gap: 9px; background: var(--surface-2); border: 1px solid var(--ligne); border-radius: 12px; padding: 12px 14px; } .ed-l, .ed-a { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; } .ed-l label { flex: 0 1 130px; } .ed-l .ed-m { flex: 1 1 180px; } .ed-a label { flex: 0 1 150px; } .ed-a .lien { padding-bottom: 8px; } .ed-t { font-size: 12.5px; font-weight: 600; color: var(--doux); } .ed-d { display: flex; flex-wrap: wrap; gap: 7px; } .ed-p { display: inline-flex; align-items: center; gap: 3px; border: 1px solid var(--bord); background: var(--surface); border-radius: 99px; padding: 4px 4px 4px 12px; font-size: 13px; } .ed-p button { border: 0; background: none; cursor: pointer; color: var(--rouge); font-size: 16px; line-height: 1; padding: 2px 7px; } .ed-p.passee { opacity: .55; text-decoration: line-through; }
.v-verif { display: flex; align-items: center; gap: 12px; justify-content: space-between; background: var(--ambre-doux); color: var(--ambre); border-radius: 9px; padding: 8px 12px; font-size: 13px; } .v-verif .btn { flex: none; padding: 5px 12px; font-size: 13px; color: var(--texte); } .v-offre .v-verif { margin: 7px 0; font-size: 12.5px; } .v-dates { font-size: 12.5px; color: var(--doux); margin: 6px 0; } .v-dates b { color: var(--texte); } .v-ed { font-size: 12.5px; margin-top: 8px; display: inline-block; } .v-offre .ed { margin-top: 9px; } .v-avis summary { cursor: pointer; } .v-avis summary h4 { display: inline; margin: 0; } .v-avis blockquote { margin: 10px 0 0; padding-left: 12px; border-left: 3px solid var(--or); font-size: 13.5px; } .v-avis cite { display: block; font-style: normal; color: var(--doux); font-size: 12.5px; margin-top: 2px; }
.of-nav { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--bord); } .of-nav button { border: 0; background: none; padding: 10px 14px; font-weight: 600; color: var(--doux); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; } .of-nav .actif { color: var(--accent); border-color: var(--accent); } .of [data-vue] { display: grid; gap: 10px; } .of [data-vue] > .btn { justify-self: start; } .of-note { margin: 4px 0 0; } .of-tete { background: var(--page); } .of-o { border: 1px solid var(--bord); box-shadow: var(--ombre-bloc); } .of-titre { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; } .of-titre b { font-size: 15.5px; } .of-prix { font: 600 19px var(--titre); white-space: nowrap; } .of-prix small { font: 400 12.5px -apple-system, sans-serif; color: var(--doux); } .of-plus-d > summary { cursor: pointer; color: var(--doux); font-size: 13.5px; } .of-plus-d[open] { display: grid; gap: 11px; } .of-coche { display: flex; flex-direction: row; align-items: center; gap: 9px; } .of-coche input { width: auto; }
.prop-g { font-weight: 600; font-size: 13px; color: var(--doux); } .prop-grp { border: 1px solid var(--ligne); border-radius: 12px; padding: 0 12px; } .prop-grp summary { cursor: pointer; padding: 11px 2px; font-weight: 600; } .prop-grp[open] { padding-bottom: 12px; }
@media (max-width: 620px) { .of-titre { flex-direction: column; gap: 2px; } .v-verif { flex-direction: column; align-items: start; } .of-nav { overflow-x: auto; flex-wrap: nowrap; } .of-nav button { white-space: nowrap; } }

/* ── Réservations CPF ─────────────────────────────────────── */
.cpf { margin-top: 14px; display: grid; gap: 12px; }
.cpf > div:last-child { display: grid; gap: 10px; }
.cpf-barre { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cpf-vide { flex: 1; }
.cpf-barre a.btn, .cpf-actes a.btn { text-decoration: none; color: inherit; }
.cpf .bandeau { margin: 0; }
.cpf-titre { margin: 10px 0 0; color: var(--doux); font-size: 13px; }
.cpf-rien { background: var(--surface); border: 1px dashed var(--ligne); border-radius: 12px; padding: 28px; text-align: center; color: var(--doux); }
.cpf-carte { background: var(--surface); border: 1px solid var(--ligne); border-left: 4px solid var(--ligne); border-radius: 12px; padding: 14px 16px; display: grid; gap: 14px 18px; grid-template-columns: minmax(160px, 1fr) minmax(190px, 1.2fr) minmax(190px, 1.2fr) minmax(150px, 1fr); align-items: start; }
.cpf-carte.neuve { border-left-color: var(--orange); }
.cpf-carte.faite { opacity: .78; }
.cpf-carte > div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.cpf-nom { background: none; border: 0; padding: 0; font-weight: 650; font-size: 15px; color: var(--accent); cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.cpf-nom:hover { text-decoration: underline; }
.cpf-vite { color: var(--orange); font-weight: 600; font-style: normal; }
.cpf-ok { color: var(--vert); font-weight: 600; }
.cpf-rep { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.cpf-suite > div { display: flex; gap: 12px; align-items: center; }
.cpf-suite textarea { min-height: 40px; }
.cpf-coche { display: flex; flex-direction: row; gap: 6px; align-items: center; color: var(--texte); font-size: 13px; }
.cpf-coche input { width: auto; }
.cpf-actes { gap: 6px !important; }
.cpf-gens { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.cpf-gens .cpf-nom { font-size: 13px; font-weight: 500; }
.cpf-form { background: var(--surface); border: 1px solid var(--ligne); border-radius: 12px; padding: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.cpf-form label { min-width: 150px; flex: 1; }
.cpf-form p { flex-basis: 100%; margin: 0; }
.cpf-form.colonne { flex-direction: column; flex-wrap: nowrap; align-items: stretch; max-width: 640px; }
.cpf-form.colonne > * { flex: none; min-width: 0; }
.cpf-form.colonne input { max-width: 110px; }
.cpf-form.colonne .btn { align-self: flex-start; }
.cpf-form code { display: block; background: var(--surface-2); padding: 12px; border-radius: 8px; font-size: 12.5px; white-space: pre-wrap; word-break: break-all; }
.cpf-radar { background: var(--accent-doux); border-radius: 12px; padding: 14px 16px; }
.cpf-radar.presse { background: var(--orange-doux); }
.cpf-radar h4 { margin: 0; font-size: 15px; }
.cpf-radar p { margin: 2px 0 8px; }
.cpf-radar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px 18px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); max-height: 210px; overflow: auto; }
.cpf-radar li { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid color-mix(in srgb, var(--texte) 10%, transparent); }
.cpf-radar li .sous { flex: 1; text-align: right; }
.cpf-radar li a { white-space: nowrap; }
.cpf-radar .cpf-nom { font-size: 14px; }
.f-suite select[data-cpf-choix] { width: auto; max-width: 100%; padding: 4px 8px; }
@media (max-width: 1000px) { .cpf-carte { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cpf-carte { grid-template-columns: minmax(0, 1fr); } }

/* ── E-mails automatiques (accueil) ───────────────────────── */
.au-brevo { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--orange-doux); color: var(--orange); font-size: 13.5px; }
.au-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 14px 0 0; }
.au-jours button { border: 1px solid var(--ligne); background: var(--surface); border-radius: 10px; padding: 6px 2px 5px; cursor: pointer; display: grid; justify-items: center; gap: 1px; font-size: 12px; color: var(--doux); min-height: 64px; align-content: start; }
.au-jours button b { font-size: 15px; color: var(--texte); } .au-jours button i { font-style: normal; font-weight: 700; font-size: 12px; color: var(--accent); min-height: 16px; }
.au-jours .passe { background: var(--surface-2); } .au-jours .auj { border-color: var(--accent); } .au-jours .auj span { color: var(--accent); font-weight: 600; }
.au-jours .ici, .au-jours .ici b, .au-jours .ici i, .au-jours .ici span { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.au-jours .pb:not(.ici) i { color: var(--rouge); }
.au-jour { padding: 16px 0 4px; } .au-jour h3 { margin: 0; font-size: 16px; } .au-jour > p { margin: 2px 0 6px; } .au-rouge { color: var(--rouge); }
.au-l { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--ligne); }
.au-h { font-variant-numeric: tabular-nums; color: var(--doux); font-size: 13px; padding-top: 1px; } .au-c { display: grid; gap: 2px; }
.au-t { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; } .au-o { color: var(--texte); overflow-wrap: anywhere; }
.au-g { font-size: 13px; color: var(--doux); } .au-nom { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: 13px; } .au-nom:hover { text-decoration: underline; }
.au-g details { display: inline; } .au-g summary { display: inline; cursor: pointer; text-decoration: underline; }
.au-txt summary, .au-eq summary, .au-regles summary { cursor: pointer; color: var(--doux); font-size: 13px; } .au-txt p { white-space: pre-wrap; background: var(--surface-2); border-radius: 8px; padding: 10px 12px; margin: 6px 0 0; font-size: 13px; max-height: 260px; overflow: auto; }
.au-eq { border-top: 1px solid var(--ligne); padding-top: 10px; }
.au-regles { border-top: 1px solid var(--ligne); padding: 12px 0; margin-top: 14px; } .au-regles ul { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; } .au-regles li { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 10px; font-size: 13.5px; align-items: start; } .au-regles .badge { justify-self: start; }
.au-pied { margin: 0; padding: 10px 0 14px; border-top: 1px solid var(--ligne); font-size: 13px; color: var(--doux); }
@media (max-width: 760px) { .au-l { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* La barre des fiches cochées : la fin de la liste reste atteignable, et le message passe au-dessus. */
.contenu:has(.barre-masse:not([hidden])) { padding-bottom: 180px; }
.avec-onglets .barre-masse { bottom: 58px; } .avec-onglets .contenu:has(.barre-masse:not([hidden])) { padding-bottom: 220px; }
body:has(.barre-masse:not([hidden])) .toast { bottom: 90px; } .avec-onglets:has(.barre-masse:not([hidden])) .toast { bottom: 130px; }

/* La carte de l'accueil, et le volet qui s'ouvre à droite. */
.au-rang { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 10px; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--ligne); background: none; padding: 9px 18px; font-size: 13.5px; cursor: pointer; color: var(--texte); }
.au-rang:hover { background: var(--surface-2); } .au-rang.ici, .au-rang.ici:hover { background: var(--accent-doux); } .au-rang b { font-weight: 650; }
.au-carte .p-tete + .au-rang { border-top: 0; } .au-rang small { display: block; font-size: 12.5px; color: var(--doux); } .au-rang.au-rouge, .au-rang.au-rouge b { color: var(--rouge); } .au-pas { color: var(--orange); }
.au-volet { position: fixed; inset: 0; z-index: 30; } .au-voile { position: absolute; inset: 0; background: rgba(20, 28, 45, .28); }
.au-tiroir { position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%); background: var(--surface); border-left: 4px solid var(--accent); box-shadow: -8px 0 30px rgba(20, 28, 45, .22); overflow: auto; padding: 22px 24px; outline: 0; animation: au-entre .18s ease-out; }
@keyframes au-entre { from { transform: translateX(40px); opacity: 0; } } @media (prefers-reduced-motion: reduce) { .au-tiroir { animation: none; } }
.au-tiroir h2 { margin: 0 40px 2px 0; font: 600 21px/1.2 var(--titre); } .au-tiroir > .sous { margin: 0; }
.au-x { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; font-size: 24px; line-height: 1; color: var(--doux); cursor: pointer; } .au-x:hover { background: var(--surface-2); }

/* L'accueil commence par le bandeau bleu ; la recherche y est, en blanc. */
.sur-accueil .barre { display: none; } .sur-accueil .contenu { padding-top: 18px; } .sur-accueil #alertes .bandeau:first-child { margin-top: 0; } .sur-accueil .accueil { margin-top: 0; } .sur-accueil #alertes:not(:empty) ~ #vue-formulaires .accueil { margin-top: 14px; }
.h-cherche { position: relative; flex: 0 1 430px; min-width: 270px; margin-left: auto; align-self: flex-start; z-index: 4; }
.h-cherche > svg { position: absolute; left: 14px; top: 14px; color: #6b6e76; pointer-events: none; }
.hero .h-cherche input { width: 100%; background: #fff; color: #1d1f24; border: 1px solid #fff; border-radius: 12px; padding: 12px 14px 12px 42px; font-size: 15px; box-shadow: 0 4px 16px rgba(10, 20, 45, .25); } .hero .h-cherche input::placeholder { color: #6b6e76; opacity: 1; text-overflow: ellipsis; }
.hero .h-cherche input:focus { outline: 3px solid rgba(240, 185, 75, .75); outline-offset: 1px; border-color: #fff; }
.h-res { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); color: var(--texte); border: 1px solid var(--ligne); border-radius: 14px; box-shadow: 0 18px 50px rgba(10, 20, 40, .35); overflow: hidden; }
.h-res button { display: flex; justify-content: space-between; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--ligne); background: none; color: inherit; padding: 10px 14px; cursor: pointer; } .h-res button:last-child { border-bottom: 0; }
.h-res button:hover, .h-res .ici { background: var(--accent-doux); } .h-res span { min-width: 0; } .h-res b, .h-res small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .h-res small { color: var(--doux); font-size: 12.5px; } .h-res em { font-style: normal; font-size: 12.5px; color: var(--doux); flex: none; }
.h-res .h-tous { justify-content: center; color: var(--accent); font-weight: 600; } .h-res p { margin: 0; padding: 14px; color: var(--doux); }
@media (max-width: 1180px) { .hero { flex-wrap: wrap; } .h-cherche { order: -1; flex: 1 0 100%; margin: 0 0 4px; } }
@media (max-width: 480px) { .hero { flex-direction: column; } .h-cherche { order: -1; flex: none; } .h-anneau { order: -1; } .h-cherche { order: -2; align-self: stretch; min-width: 0; } }

/* ── Les blocs de l'accueil, et le mode « Disposer » ──────── */
.zone { display: grid; gap: 20px; min-width: 0; align-content: start; container-type: inline-size; } .zone:empty { display: none; } .bloc-a { min-width: 0; position: relative; }
.colonnes.sans-gauche, .colonnes.sans-droite { grid-template-columns: minmax(0, 1fr); } .colonnes:not(:has([data-bloc])) { display: none; }
.principale > :is(.bloc-a) .p-tete h2 { font-size: 18px; }
#btn-disposer { display: none; } .sur-accueil #btn-disposer { display: inline; }
@container (max-width: 500px) {
  .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-tache { grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; } .l-quand { display: none; } .l-actions { grid-column: 2; justify-content: flex-start; } .l-nom { flex-wrap: wrap; }
}
@media (max-width: 1180px) and (min-width: 701px) { .sans-gauche .cote { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.en-disposition .hero, .en-disposition .a-visio { display: none; }
.en-disposition .zone { display: grid; min-height: 76px; gap: 26px; } .en-disposition .colonnes { display: grid !important; grid-template-columns: minmax(0, 1fr) 350px !important; gap: 26px; margin-top: 6px; } .en-disposition .cote { grid-template-columns: minmax(0, 1fr) !important; }
.en-disposition .zone:not(:has(> .bloc-a:not(.d-parti), > .d-place))::before { content: 'Poser un bloc ici'; border: 2px dashed var(--ligne); border-radius: 14px; display: grid; place-items: center; color: var(--doux); font-size: 13.5px; min-height: 72px; }
.en-disposition .bloc-a { outline: 2px dashed #8fa3c4; outline-offset: 3px; border-radius: 14px; } .en-disposition .bloc-c { user-select: none; max-height: 380px; overflow: hidden; border-radius: 14px; }
.d-outils { position: absolute; right: 12px; top: -15px; z-index: 3; display: flex; gap: 6px; } .d-outils button { border-radius: 8px; padding: 5px 11px; font-size: 13px; cursor: pointer; box-shadow: 0 3px 10px rgba(20, 28, 45, .22); }
.d-poignee { background: #1f3864; color: #fff; border: 1px solid #1f3864; cursor: grab !important; touch-action: none; } .d-poignee:active { cursor: grabbing !important; } .d-masquer { background: var(--surface); color: var(--rouge); border: 1px solid var(--ligne); }
.d-poignee:focus-visible { outline: 3px solid #f0b94b; outline-offset: 2px; }
.d-barre { position: sticky; top: 0; z-index: 6; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; background: #1f3864; color: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: 0 8px 24px rgba(20, 38, 74, .3); } .d-barre span { flex: 1; min-width: 200px; color: #c9d6ee; font-size: 13.5px; }
.d-barre button { border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; border-radius: 9px; padding: 8px 14px; cursor: pointer; } .d-barre button:hover { background: rgba(255, 255, 255, .12); } .d-barre .ok { background: #f0b94b; border-color: #f0b94b; color: #1f3864; font-weight: 650; } .d-barre .ok:hover { background: #f5c966; }
.d-parti { position: absolute !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; outline: 0 !important; }
.d-place { border: 2px dashed #2d5cc0; background: var(--accent-doux); border-radius: 14px; display: grid; place-items: center; color: var(--accent); font-weight: 600; }
.d-vole { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; max-height: 300px; overflow: hidden; border-radius: 14px; box-shadow: 0 26px 60px rgba(10, 20, 40, .4); opacity: .96; }
.d-masques { background: var(--surface); border: 1px dashed var(--ligne); border-radius: 14px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--doux); } .d-masques[hidden] { display: none; } .d-masques button { border: 1px solid var(--ligne); background: var(--surface-2); color: var(--accent); border-radius: 99px; padding: 5px 13px; cursor: pointer; }
.d-vide { display: grid; gap: 4px; padding: 22px; color: var(--doux); } .d-vide b { color: var(--texte); }
@media (max-width: 820px) { .sur-accueil #btn-disposer { display: none; } }

/* ── La relance d'une fiche : la date est un menu ─────────── */
.f-relance { gap: 8px 10px; } .f-relance .r-t { color: inherit; } .f-relance .r-note { color: var(--doux); }
.r-date { margin: 0 !important; border: 1px solid #b9c7de; background: var(--surface); color: var(--accent); border-radius: 9px; padding: 6px 11px; font-weight: 650; font-size: 13.5px; cursor: pointer; }
.r-date:hover { border-color: var(--accent); } .r-date[aria-expanded="true"] { box-shadow: 0 0 0 3px var(--accent-doux); } .r-date span { font-size: 11px; margin-left: 2px; }
.r-date.rouge { color: var(--rouge); border-color: color-mix(in srgb, var(--rouge) 40%, transparent); }
.r-menu { position: fixed; z-index: 60; width: 300px; background: var(--surface); color: var(--texte); border: 1px solid var(--ligne); border-radius: 13px; box-shadow: 0 18px 46px rgba(10, 20, 40, .26); overflow: hidden; }
.r-menu > button, .r-menu > label { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; border: 0; border-bottom: 1px solid var(--ligne); background: none; color: inherit; padding: 10px 15px; font-size: 14px; text-align: left; cursor: pointer; margin: 0; font-weight: 400; }
.r-menu > button:hover, .r-menu > button:focus-visible, .r-menu > label:hover, .r-menu > label:focus-visible, .r-menu > label:focus-within { background: var(--accent-doux); outline: 0; }
.r-menu .ici { font-weight: 650; } .r-menu .ici::after { content: '✓'; color: var(--accent); margin-left: 6px; } .r-menu small { color: var(--doux); font-size: 13px; margin-left: auto; }
.r-menu .r-autre input { width: 128px; padding: 3px 6px; font-size: 13px; } .r-menu .r-non { color: var(--rouge); } .r-menu .r-retour { color: var(--doux); }
.r-titre { padding: 10px 15px; font-weight: 650; font-size: 13.5px; border-bottom: 1px solid var(--ligne); background: var(--surface-2); }
.r-pied { margin: 0; padding: 8px 15px; font-size: 12px; color: var(--doux); background: var(--surface-2); }

.et-jour { padding: 10px 14px; font-size: 14px; } .et-jour[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.r-seul { margin: 6px 0 2px; } .r-seul .r-date { padding: 8px 14px; font-size: 14px; }

.case-accord { display: inline-flex; align-items: center; gap: 7px; font-weight: 550; cursor: pointer; } .case-accord input { width: 17px; height: 17px; accent-color: var(--accent); margin: 0; }
.case-accord + .sous { display: block; margin-top: 3px; }

/* La jauge Brevo, au pied du bloc « E-mails automatiques » (26 nov. 2026). */
.au-carte { position: relative; overflow: visible; }
.bj { border-top: 1px solid var(--ligne); padding: 12px 18px 14px; position: relative; }
.bj-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; margin-bottom: 9px; }
.bj-barre { position: relative; height: 9px; border-radius: 99px; background: var(--surface-2); display: flex; margin-bottom: 18px; }
.bj-barre i { display: block; height: 100%; } .bj-barre i.a { background: var(--accent); border-radius: 99px 0 0 99px; } .bj-barre i.b { background: #8fb0e6; }
.bj-barre i.a + i.b { margin-left: 2px; }
.bj-lim { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--texte); border-radius: 2px; }
.bj-lim em { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; color: var(--doux); }
.bj-leg { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 12.5px; color: var(--doux); } .bj-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.bj-leg i.a { background: var(--accent); } .bj-leg i.b { background: #8fb0e6; } .bj-24 { margin-left: auto; }
.bj-ret { margin: 8px 0 0; font-size: 12.5px; color: var(--orange); }
.bj-pop { position: absolute; right: 10px; bottom: calc(100% - 30px); z-index: 20; width: min(340px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--ligne); border-radius: 14px; box-shadow: 0 18px 46px rgba(10,20,40,.26); padding: 16px 18px; display: grid; gap: 8px; font-size: 14px; }
.bj-pop h4 { margin: 0 0 4px; font-size: 15px; }
.bj-l { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bj-l input { width: 84px; border: 1px solid var(--ligne); border-radius: 8px; padding: 6px 9px; font: inherit; font-weight: 650; text-align: center; }
.bj-pop input[type=range] { width: 100%; accent-color: var(--accent); }
.bj-s { margin: 0; font-size: 12.5px; color: var(--doux); } .bj-err { margin: 0; font-size: 13px; color: var(--rouge); } .bj-err:empty { display: none; }
.bj-pied { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 4px; }

/* La boîte mail dans le CRM (maquette A, 27 nov. 2026) */
.bx-barre { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 10px; }
.bx-barre .bx-esp { flex: 1; }
.bx { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); min-height: 420px; }
.bx-liste { border-right: 1px solid var(--ligne); overflow: auto; max-height: calc(100vh - 200px); }
.bx-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--ligne); padding: 10px 14px; font: inherit; color: inherit; cursor: pointer; }
.bx-ligne:hover { background: var(--surface-2); }
.bx-ligne.choisi { background: var(--accent-doux); }
.bx-qui { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.bx-qui b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-ligne.non-lu .bx-qui b, .bx-ligne.non-lu .bx-obj { font-weight: 700; }
.bx-obj { grid-column: 1; color: var(--doux); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-ligne .badge { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.bx-lecture { padding: 16px 20px; overflow: auto; max-height: calc(100vh - 200px); }
.bx-titre { margin: 0 0 4px; font-size: 18px; }
.bx-texte { white-space: pre-wrap; line-height: 1.6; margin: 14px 0; }
.bx-nouveau { background: var(--accent-doux); border-radius: 8px; padding: 10px 12px; margin: 12px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bx-rien { margin: 12px 0; }
.bx-creer { border: 1px solid var(--ligne); border-radius: 8px; padding: 12px; margin: 12px 0; display: grid; gap: 10px; }
.bx-champs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bx-champs label { display: grid; gap: 4px; font-size: 13px; color: var(--doux); }
.bx-actions { display: flex; gap: 8px; margin-top: 12px; }
@media (max-width: 760px) { .bx { grid-template-columns: 1fr; } .bx-liste { border-right: 0; border-bottom: 1px solid var(--ligne); max-height: 40vh; } .bx-champs { grid-template-columns: 1fr; } }

/* Clients : onglets, et les ventes Odoo à inscrire (maquette C, 27 nov. 2026) */
.od-onglets { display: flex; gap: 6px; margin: 4px 0 14px; border-bottom: 1px solid var(--ligne); }
.od-onglets button { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 10px 16px; font: inherit; font-size: 15px; color: var(--doux); cursor: pointer; }
.od-onglets button[aria-selected="true"] { border-color: var(--accent); color: var(--accent); font-weight: 650; }
.od-onglets small { margin-left: 6px; font-weight: 700; font-size: 12px; background: var(--surface-2); color: var(--doux); border-radius: 99px; padding: 1px 8px; }
.od-onglets small.od-badge { background: #f0b94b; color: #1f3864; }
.od-barre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.od-barre .sous { margin: 0; } .od-esp { flex: 1; } .od-barre select { width: auto; }
.od-ok { display: inline-flex; align-items: center; gap: 6px; background: #e6f4ea; color: #1e6b3a; border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.od-p { display: inline-block; border-radius: 99px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.od-c { background: #fdf0d9; color: #8a5a00; } .od-n { background: #e8eefb; color: #1f4fa8; } .od-r { background: #e6f4ea; color: #1e6b3a; } .od-d { background: #eceff3; color: #5b6472; }
.od-prod { font-size: 13.5px; } .od-prod small { display: block; color: var(--doux); } .od-mt { font-weight: 650; white-space: nowrap; }
.od-plie { margin: 14px 0 8px; } .od-plie a { color: var(--doux); }
.od-connexion { max-width: 420px; background: var(--surface); border: 1px solid var(--ligne); border-radius: 14px; padding: 20px 22px; display: grid; gap: 12px; margin-top: 6px; }
.od-connexion h3 { margin: 0; } .od-connexion .sous { margin: 0; } .od-connexion label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.od-connexion .btn { justify-self: start; } .od-note { font-size: 12.5px; }
@media (prefers-color-scheme: dark) { .od-c { background: #4a3a14; color: #f5d48a; } .od-n { background: #1f2f52; color: #a9c2f2; } .od-r, .od-ok { background: #183a26; color: #9fdcb4; } .od-d { background: #2a2f37; color: #aab2bf; } }

/* Séries : la reprise des anciens (maquette A, 1er déc. 2026) */
.seq-reprise { border: 2px solid var(--ambre); background: var(--ambre-doux); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; display: grid; gap: 6px; }
.seq-nouv { display: flex; flex-direction: row; gap: 6px; align-items: center; font-size: 13px; color: var(--doux); }
.seq-nouv input { width: auto; }
.seq-lance { display: flex; align-items: center; gap: 12px; background: var(--bleu-doux); border-radius: 12px; padding: 12px 14px; margin-top: 12px; font-size: 14.5px; flex-wrap: wrap; }
.seq-lance b { font-size: 17px; }
.seq-lance .btn { margin-left: auto; }

/* Newsletter : le rythme d'envoi (maquette A, 1er déc. 2026) */
.nl-rythme-titre { margin: 12px 0 4px; }
.nl-parjour { width: 84px; padding: 6px 8px; display: inline-block; }
.nl-estimation { background: rgba(107,166,74,.15); color: inherit; border-radius: 9px; padding: 9px 11px; font-size: 14px; margin: 8px 0 10px; }
.nl-estimation:empty { display: none; }
.nl-coche:has(.nl-parjour) { white-space: nowrap; }

/* E-mails automatiques : le calendrier de la semaine (maquette B, puis version A « cartes aérées », 1er déc. 2026) */
.au-tiroir.large { width: min(1180px, 100%); }
.as-ouvrir { margin: 4px 0 14px; }
.as-tete { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 14px; }
.as-titre { font-size: 19px; }
.as-nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.as-rond, .as-cette { border: 1px solid var(--ligne); background: var(--surface); color: var(--texte); border-radius: 99px; font: inherit; cursor: pointer; }
.as-rond { width: 34px; height: 34px; font-size: 18px; line-height: 1; }
.as-cette { padding: 7px 14px; font-size: 14px; }
.as-cette.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.as-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.as-kpis > div { background: var(--fond); border-radius: 12px; padding: 10px 14px; }
.as-kpis b { display: block; font-size: 22px; text-transform: capitalize; }
.as-kpis span { font-size: 13px; color: var(--doux); }
.as-grille { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.as-col { border-radius: 14px; padding: 12px; background: var(--fond); min-height: 260px; }
.as-col.as-auj { background: var(--bleu-doux); box-shadow: inset 0 0 0 2px var(--bleu); }
.as-col.as-passe { opacity: .78; }
.as-dh { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.as-js { font-size: 12.5px; color: var(--doux); text-transform: uppercase; letter-spacing: .05em; }
.as-dn { font: 700 26px Georgia, serif; }
.as-mo { font-size: 13px; color: var(--doux); }
.as-badge { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--bleu); }
.as-tot { font-size: 13px; color: var(--doux); margin: 2px 0 6px; }
.as-tot b { color: var(--texte); font-size: 15px; }
.as-jauge { height: 5px; border-radius: 3px; background: var(--ligne); margin-bottom: 12px; overflow: hidden; }
.as-jauge i { display: block; height: 100%; background: #6ba64a; }
.as-jauge i.plein { background: var(--ambre); }
.as-alerte { font-size: 12px; color: var(--ambre); margin: -6px 0 8px; }
.as-carte { --c: var(--doux); background: var(--surface); border-radius: 10px; margin-bottom: 7px; box-shadow: 0 1px 3px rgba(20,28,45,.08); font-size: 13.5px; }
.as-carte > summary { display: flex; align-items: flex-start; gap: 8px; padding: 9px 10px; cursor: pointer; list-style: none; }
.as-carte > summary::-webkit-details-marker { display: none; }
.as-carte[open] { box-shadow: 0 6px 18px rgba(20,28,45,.16); }
.as-pt { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; margin-top: 5px; }
.as-lib { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.as-lib b { font-weight: 600; }
.as-rang { font-size: 12.5px; color: var(--c); font-weight: 600; }
.as-obj { font-size: 12px; color: var(--doux); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-nb { font-weight: 700; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); border-radius: 99px; padding: 1px 9px; flex: none; }
.as-ok { color: #2e7d4f; font-weight: 700; } .as-pas { color: var(--doux); font-weight: 700; } .as-pb { color: var(--corail); font-weight: 700; }
.as-carte .au-l { display: block; padding: 0 10px 10px; border-top: 1px solid var(--ligne); }
.as-carte .au-l .au-h { display: block; font-size: 12px; color: var(--doux); margin: 6px 0 2px; }
.as-carte .au-t b, .as-carte .au-t .badge, .as-carte .au-o { display: none; }
.as-test { --c: #2b5cb8; } .as-pack { --c: #4f8a33; } .as-kit { --c: #c8452d; } .as-nl { --c: #b77700; } .as-rdv { --c: #7a5ab8; }
.as-ko { box-shadow: 0 0 0 2px var(--corail); }
.as-rien { color: var(--doux); font-size: 13.5px; text-align: center; margin-top: 40px; }
.as-eq { font-size: 12.5px; color: var(--doux); margin: 6px 0 0; }
.as-weekend { font-size: 13px; color: var(--doux); margin: 10px 0 0; }
.as-pied { font-size: 12.5px; color: var(--doux); margin: 12px 0 0; }
@media (max-width: 760px) { .as-grille { grid-template-columns: 1fr; } .as-col { min-height: 0; } .as-kpis { grid-template-columns: 1fr; } }

/* Calendrier : la carte est un bouton ; un clic ouvre une petite fenêtre pour l'e-mail (1er déc. 2026) */
button.as-carte { display: flex; align-items: flex-start; gap: 8px; width: 100%; text-align: left; border: 0; padding: 9px 10px; font: inherit; color: var(--texte); cursor: pointer; transition: box-shadow .15s, transform .15s; }
button.as-carte:hover { box-shadow: 0 6px 18px rgba(20,28,45,.16); transform: translateY(-1px); }
.as-pop-boite { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; }
.as-pop-voile { position: absolute; inset: 0; background: rgba(20,28,45,.45); }
.as-pop { position: relative; width: min(620px, 100%); max-height: 86vh; overflow: auto; background: var(--surface); border-radius: 16px; padding: 22px 26px 24px; box-shadow: 0 24px 60px rgba(0,0,0,.3); border-top: 5px solid var(--c); outline: 0; }
.as-pop-x { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--doux); cursor: pointer; }
.as-pop-serie { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13.5px; color: var(--c); }
.as-pop-serie b { color: var(--c); }
.as-pop h3 { margin: 0 34px 6px 0; font-size: 20px; line-height: 1.3; }
.as-pop-meta { margin: 0 0 12px; font-size: 13.5px; color: var(--doux); }
.as-pop-gens { margin: 0 0 14px; font-size: 14px; }
.as-pop-txt { white-space: pre-wrap; font-size: 15px; line-height: 1.6; background: var(--fond); border-radius: 12px; padding: 16px 18px; overflow-wrap: anywhere; }

/* Fiche client : les étapes du suivi écartées, à remettre (maquette A, 1er déc. 2026) */
.f-ecartes { margin-top: 6px; font-size: 13px; color: var(--doux); }
.f-ecartes summary { cursor: pointer; display: inline-block; padding: 2px 0; list-style: none; } .f-ecartes summary::-webkit-details-marker { display: none; } .f-ecartes summary::before { content: "▸ "; } .f-ecartes[open] summary::before { content: "▾ "; } .f-ecartes summary:hover { color: var(--texte); }
.f-ecartes[open] { border: 1px dashed var(--ligne); border-radius: 10px; padding: 6px 12px; } .f-ecartes[open] summary { margin-bottom: 2px; }
.f-ec { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; }
.f-ec span { flex: 1; } .f-ec small { color: var(--doux); }
.f-ec .btn { padding: 4px 10px; font-size: 13px; }

/* « Prévenir d'une nouvelle session CPF » (maquette A, 1er déc. 2026) */
.f-prevenir { display: flex; align-items: center; gap: 10px; background: var(--ambre-doux); border-radius: 10px; padding: 10px 12px; margin-top: 8px; cursor: pointer; font-size: 14.5px; }
.f-prevenir input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f-sw { width: 38px; height: 22px; border-radius: 99px; background: var(--ligne); position: relative; flex: none; transition: background .15s; }
.f-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.f-prevenir input:checked + .f-sw { background: #6ba64a; }
.f-prevenir input:checked + .f-sw::after { left: 19px; }
.f-prevenir input:focus-visible + .f-sw { box-shadow: 0 0 0 3px rgba(43,92,184,.35); }
.f-prevenir small { display: block; font-size: 12.5px; color: var(--doux); }
.cpf-aprevenir { background: var(--ambre-doux); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; }

/* « Demander des avis » (maquette A, 1er déc. 2026) */
.cl-haut { display: flex; align-items: flex-end; gap: 12px; }
.cl-haut .od-onglets { flex: 1; }
.cl-haut .btn { margin-bottom: 14px; white-space: nowrap; }
.av-tete { display: flex; align-items: baseline; gap: 14px; margin: 4px 0 14px; }
.av-tete h3 { margin: 0; font-size: 19px; }
.av-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .av-grille { grid-template-columns: 1fr; } .av-liste { position: static; } .av-rangs { max-height: 60vh; } }
.av-mail, .av-liste { background: var(--surface); border: 1px solid var(--ligne); border-radius: 12px; padding: 16px; }
.av-lab { display: block; font-size: 12.5px; font-weight: 650; color: var(--doux); margin-bottom: 10px; }
.av-lab input, .av-lab textarea { display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 14.5px; color: var(--texte); background: var(--surface); border: 1px solid var(--ligne); border-radius: 8px; padding: 8px 10px; box-sizing: border-box; }
.av-lab input { font-weight: 650; }
.av-lab textarea { line-height: 1.55; resize: vertical; font-weight: 400; }
.av-aide { margin: 0; font-size: 12.5px; }
.av-lien { display: block; font-size: 12.5px; font-weight: 650; color: var(--doux); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--ligne); }
.av-lien-l { display: flex; gap: 8px; margin-top: 4px; }
.av-lien-l input { font-weight: 400; flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--texte); background: var(--surface); border: 1px solid var(--ligne); border-radius: 8px; padding: 7px 10px; }
.av-lien small { display: block; margin-top: 6px; font-weight: 500; color: var(--orange); }
.av-manque .av-lien-l input { border-color: var(--orange); background: var(--orange-doux); }
.av-lt { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; }
.av-cl { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--ligne); cursor: pointer; }
.av-cl input { width: 17px; height: 17px; flex: none; }
.av-qui { flex: 1; min-width: 0; }
.av-qui b { display: block; }
.av-qui small { color: var(--doux); font-size: 12.5px; }
.av-off { opacity: .5; cursor: default; }
.av-pil { border-radius: 20px; padding: 2px 9px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.av-jamais { background: var(--orange-doux); color: var(--orange); }
.av-ok { background: var(--vert-doux); color: var(--vert); }
.av-non { background: var(--rouge-doux); color: var(--rouge); }
/* La liste défile dans son cadre : la page ne s'allonge pas, le bouton d'envoi reste visible (Gislain, 1er déc. 2026). */
.av-liste { position: sticky; top: 12px; }
.av-rangs { max-height: calc(100vh - 290px); min-height: 220px; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.av-rangs .av-cl:last-child { border-bottom: 0; }
.av-pied { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.av-dlg { border: 0; border-radius: 14px; padding: 18px 20px; width: min(640px, 92vw); background: var(--surface); color: var(--texte); box-shadow: var(--ombre); }
.av-dlg::backdrop { background: rgba(0, 0, 0, .35); }
.av-dlg h3 { margin: 2px 0 12px; font-size: 17px; }
.av-dlg iframe { width: 100%; height: 440px; border: 1px solid var(--ligne); border-radius: 8px; background: #fff; }
.av-x { position: absolute; right: 12px; top: 8px; border: 0; background: none; font-size: 24px; cursor: pointer; color: var(--doux); }
.v-note textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; border: 1px solid var(--ligne); border-radius: 8px; padding: 8px 10px; resize: vertical; background: var(--surface); color: var(--texte); }
.v-note .v-note-pied { display: flex; justify-content: flex-end; margin-top: 8px; }

/* « Rester connecté à Odoo » (2 déc. 2026) */
.od-garder { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; font-weight: 650; margin-top: 4px; }
.od-garder input { width: 17px; height: 17px; margin: 0; }
.od-connexion .od-garder-aide { margin: -6px 0 0; }
/* Le petit chiffre des ventes Odoo à inscrire, dans le menu : bien visible (2 déc. 2026). */
[data-compte="clients_odoo"]:not(:empty) { background: #f0b94b; color: #1f3864; border-radius: 10px; padding: 0 7px; font-size: 12px; line-height: 18px; font-weight: 700; }

/* Club d'éloquence, onglet de « Réservations » (maquette A, 2 déc. 2026) */
.cl-kpi { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cl-kpi div { flex: 1; min-width: 140px; background: var(--surface); border: 1px solid var(--ligne); border-radius: 10px; padding: 10px 13px; }
.cl-kpi b { display: block; font-size: 21px; }
.cl-kpi span { color: var(--doux); font-size: 12.5px; }
.cl-se { display: grid; grid-template-columns: 64px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--ligne); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.cl-se.passee { opacity: .7; }
.cl-dt { background: #111B3D; color: #F4F1E9; border-radius: 10px; text-align: center; padding: 6px 0; font-size: 11px; text-transform: uppercase; font-weight: 700; align-self: start; }
.cl-dt b { display: block; font: 400 26px/1.1 Anton, Impact, sans-serif; color: #FF4A24; }
.cl-dt span { display: block; }
.cl-tt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cl-tt b { font-size: 15px; }
.cl-pl { margin-left: auto; font-size: 13px; color: var(--doux); }
.cl-jg { height: 7px; background: var(--surface-2); border: 1px solid var(--ligne); border-radius: 5px; margin: 8px 0; overflow: hidden; }
.cl-jg i { display: block; height: 100%; background: var(--vert); }
.cl-noms { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-nom { border: 1px solid var(--ligne); border-radius: 16px; padding: 3px 10px; background: var(--surface-2); color: var(--accent); font: 600 13px inherit; cursor: pointer; }
.cl-nom:hover { border-color: var(--accent); }
.cl-nom small { color: var(--doux); font-weight: 500; }
.cl-remb { margin: 6px 0 0; font-size: 12.5px; }
.cl-act { display: flex; gap: 10px; align-items: center; margin-top: 9px; }
.cl-act:empty { display: none; }
.cl-ajout { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0 14px; }
.cl-ajout input { width: auto; font: inherit; border: 1px solid var(--ligne); border-radius: 8px; padding: 6px 9px; background: var(--surface); color: var(--texte); }
.cl-esp { flex: 1; }
.cl-plie { margin: 4px 0 10px; }
.f-club { display: flex; align-items: center; gap: 10px; background: #111B3D; color: #F4F1E9; border-radius: 10px; padding: 9px 12px; font-size: 14px; margin-top: 8px; }
.f-club b { color: #FF8A6B; }
.f-club.rembourse { opacity: .6; text-decoration: line-through; }
.f-club.passe { opacity: .7; }

/* Fiche prospect, maquette A (Gislain, 3 déc. 2026) : ce qui l'intéresse, le besoin en menus, l'adresse et le devis */
.v-interets header small { margin-left: auto; font-size: 12px; }
.v-demande { margin: 0 0 4px; font-size: 12.5px; }
.v-fam { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--doux); font-weight: 700; margin: 10px 0 3px; }
.v-ck { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; padding: 3px 0; font-size: 13.5px; font-weight: 400; color: var(--texte); cursor: pointer; margin: 0; }
.v-ck input { width: auto; margin: 0; flex: none; }
.v-ck span { flex: 1; min-width: 0; }
.v-ck small { color: var(--doux); font-size: 12.5px; white-space: nowrap; }
.v-ck:has(input:checked) span { font-weight: 600; }
.v-l { display: grid !important; grid-template-columns: 96px 1fr; gap: 8px; align-items: center; margin: 0 0 7px; font-size: 12.5px; font-weight: 600; color: var(--doux); }
.v-l select { font-size: 13.5px; padding: 6px 8px; color: var(--texte); font-weight: 400; }
.v-l select.vide { color: var(--doux); }
.v-besoin textarea { margin-top: 3px; }
.v-sous { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--doux); font-weight: 700; margin-top: 4px; }
.v-case { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; font-weight: 600; color: var(--texte); }
.v-case input { width: auto; margin: 0; }
.v-devis { width: 100%; margin-top: 12px; background: #e8a33b; border-color: #d99528; color: #1d1f24; font-weight: 600; }
.v-devis:hover { filter: brightness(1.05); }
/* « Ce qui l'intéresse » en accordéon (maquette B, 3 déc. 2026) */
.v-acc { border-top: 1px solid var(--ligne); }
.v-acc summary { list-style: none; cursor: pointer; padding: 8px 0 8px 18px; position: relative; }
.v-acc summary::-webkit-details-marker { display: none; }
.v-acc summary::before { content: '▸'; position: absolute; left: 2px; top: 8px; color: var(--doux); font-size: 12px; }
.v-acc[open] summary::before { content: '▾'; }
.v-acc-t { font-weight: 600; font-size: 13.5px; color: var(--texte); }
.v-acc-l { display: block; }
.v-acc-l:empty { display: none; }
.v-acc-pris { display: block; font-size: 12.5px; color: var(--accent); margin-top: 2px; }
.v-acc[open] .v-acc-l { display: none; }
.v-acc-c { padding: 0 0 8px 18px; }
.v-interets .v-fam { display: none; }

/* Bandeaux du haut de fiche en pastilles sur une ligne fine (maquette A, 2 déc. 2026). */
.f-pastilles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.f-pastilles > * { margin: 0 !important; }
.f-pastilles .f-suite, .f-pastilles .f-prevenir, .f-pastilles .f-club { display: inline-flex; flex-wrap: nowrap; width: auto; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 99px; font-size: 12.5px; line-height: 1.3; min-height: 28px; max-width: 100%; }
.f-pastilles .f-suite > span { flex: 0 1 auto !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.f-pastilles .f-suite .btn, .f-pastilles .f-suite .lien, .f-pastilles .f-rdv a.btn { margin-left: 0 !important; padding: 2px 9px; font-size: 12px; border-radius: 99px; white-space: nowrap; }
.f-pastilles .f-suite svg, .f-pastilles .f-prevenir svg { width: 14px; height: 14px; flex: none; }
.f-pastilles .f-suite b { white-space: nowrap; }
.f-pastilles .f-suite select[data-cpf-choix] { padding: 1px 6px; font-size: 12px; border-radius: 99px; max-width: 260px; }
.f-pastilles .f-prevenir { padding-right: 10px; padding-left: 4px; font-size: 12.5px; }
.f-pastilles .f-prevenir .f-sw { width: 30px; height: 18px; }
.f-pastilles .f-prevenir .f-sw::after { width: 12px; height: 12px; }
.f-pastilles .f-prevenir input:checked + .f-sw::after { left: 15px; }
.f-pastilles .f-club { padding-right: 12px; }
.f-pastilles .f-club > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.f-pastilles .f-relance .r-note { max-width: 220px; }
.f-pastilles > .sous { font-size: 12.5px; }

/* Les notes dans la colonne de droite (maquette B, 2 déc. 2026). */
.v-n { border-top: 1px solid var(--ligne); padding: 8px 0 2px; margin-top: 8px; font-size: 13.5px; }
.v-n small { display: block; color: var(--doux); font-size: 12px; margin-bottom: 2px; }
.v-n-t { white-space: pre-wrap; overflow-wrap: anywhere; }
.v-n-avant { margin-top: 6px; } .v-n-avant summary { cursor: pointer; color: var(--bleu); font-size: 13px; }
.v-n-avant .v-n { margin-top: 4px; }
.v-coord header { display: flex; align-items: center; } .f-enreg { margin-left: auto; color: var(--vert); font-weight: 650; font-size: 12.5px; }
.bx-actions .bx-suppr { margin-left: auto; }

/* Madame / Monsieur (2 déc. 2026). */
.v-civ { display: inline-flex; border: 1px solid var(--ligne); border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.v-civ button { border: 0; background: var(--surface); color: var(--texte); padding: 5px 14px; font: inherit; font-size: 13.5px; cursor: pointer; }
.v-civ button + button { border-left: 1px solid var(--ligne); }
.v-civ button.oui { background: var(--bleu); color: #fff; }
.c-civ { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: var(--ambre-doux); border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; font-size: 13.5px; }
.c-civ b { color: var(--ambre); flex: 1; } .c-civ .btn { padding: 4px 12px; }
.c-civ.secoue { animation: secoue .3s; outline: 2px solid var(--ambre); } @media (prefers-reduced-motion: reduce) { .c-civ.secoue { animation: none; } }

/* Planning · Appels à effectuer (maquette validée par Gislain, 2 déc. 2026) */
.pl-aide { margin: 0 0 10px; }
.pl-carte { background: var(--surface, #fff); border: 1px solid var(--ligne); border-radius: 12px; padding: 4px 16px 10px; max-width: 760px; }
.pl-g { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); padding: 16px 0 6px; border-bottom: 1px solid var(--ligne); }
.pl-g span { font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.pl-g.retard { color: #b42318; }
.pl-l { display: grid; grid-template-columns: 86px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ligne); cursor: pointer; }
.pl-l:last-child { border-bottom: 0; }
.pl-l:hover { background: var(--surface-2); }
.pl-h { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.pl-h.sans { color: var(--doux); font-weight: 500; }
.pl-qui .sous { margin-top: 2px; }
.pl-l .btn { white-space: nowrap; }
@media (max-width: 600px) { .pl-l { grid-template-columns: 52px 1fr; } .pl-l .btn { grid-column: 2; justify-self: start; } }
.et-pris { flex-basis: 100%; margin: 6px 0 0; padding: 7px 10px; border-radius: 8px; background: #fff4e0; color: #8a4b00; font-size: 13px; font-weight: 600; }

/* Club : les abonnés dans chaque séance (2 déc. 2026) */
.cl-nom.pr-oui { background: var(--vert-doux); color: var(--vert); border-color: var(--vert); }
.cl-nom.pr-non { background: var(--rouge-doux); color: var(--rouge); border-color: var(--rouge); }
.cl-nom .cl-seance { font-weight: 400; opacity: .75; }
.pr-t-oui { color: var(--vert); } .pr-t-non { color: var(--rouge); }
.cl-rap { align-self: center; }
/* Aperçu de l'e-mail avant l'envoi */
.m-apercu { display: grid; gap: 8px; } .m-ap-tete { display: grid; gap: 3px; font-size: 13px; padding: 10px 12px; background: var(--fond, #f6f5f1); border-radius: 8px; } .m-ap-tete .sous { display: inline-block; min-width: 92px; }
.m-ap-cadre { width: 100%; height: 380px; border: 1px solid var(--bord, #e6e3dc); border-radius: 8px; background: #fff; }
.m-ap-alerte { padding: 8px 12px; border-radius: 8px; background: var(--rouge-doux); color: var(--rouge); font-size: 13px; }
.m-ap-liens { display: grid; gap: 5px; font-size: 13px; } .m-ap-lien { display: flex; gap: 8px; align-items: baseline; min-width: 0; } .m-ap-lien a { overflow-wrap: anywhere; } .m-ap-lien.ok > span:first-child { color: var(--vert); font-weight: 700; } .m-ap-lien.ko > span:first-child { color: var(--rouge); font-weight: 700; }
/* Présence à la main : le rond devant le nom */
.cl-nom { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; cursor: default; } .cl-n { all: unset; cursor: pointer; } .cl-n:hover { text-decoration: underline; } .cl-n:focus-visible { outline: 2px solid var(--accent); border-radius: 4px; }
.cl-pr { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--doux); background: var(--surface); color: #fff; font: 700 12px/1 inherit; padding: 0; display: inline-grid; place-items: center; cursor: pointer; flex: none; }
.cl-pr:hover { border-color: var(--accent); } .cl-pr[data-v="present"] { background: var(--vert); border-color: var(--vert); } .cl-pr[data-v="absent"] { background: var(--rouge); border-color: var(--rouge); }
/* Statistiques : l'accordéon des offres et des sources */
.st-acc > summary { list-style: none; cursor: pointer; } .st-acc > summary::-webkit-details-marker { display: none; }
.st-acc > summary > span:first-child::before { content: "▸"; display: inline-block; width: 14px; color: var(--doux); transition: transform .15s; } .st-acc[open] > summary > span:first-child::before { transform: rotate(90deg); }
.st-acc > summary:hover > span:first-child { color: var(--accent); }
.st-clients { display: grid; gap: 1px; margin: 2px 0 8px 14px; border-left: 2px solid var(--ligne); padding-left: 10px; }
.st-client { all: unset; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n m" "d d"; gap: 0 10px; align-items: baseline; font-size: 13px; padding: 4px 6px; border-radius: 6px; cursor: pointer; }
.st-client:hover { background: var(--surface-2); } .st-client span { color: var(--accent); overflow-wrap: anywhere; } .st-client span { grid-area: n; } .st-client small { grid-area: d; color: var(--doux); font-size: 12px; } .st-client b { grid-area: m; font-weight: 600; text-align: right; }
.st-client:focus-visible { outline: 2px solid var(--accent); }
/* L'heure de départ d'un jour, modifiable, et la preuve (2 déc. 2026) */
.as-dep { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12.5px; color: var(--doux); background: var(--surface-2); border-radius: 8px; padding: 5px 8px; margin: 0 0 8px; }
.as-dep b { color: var(--texte); font-size: 13.5px; }
.as-dep-ed { flex-direction: column; align-items: stretch; gap: 6px; }
.as-dep-ed label { display: flex; align-items: center; gap: 6px; } .as-dep-ed input { font: inherit; padding: 3px 6px; border: 1px solid var(--ligne); border-radius: 6px; background: var(--surface); color: var(--texte); }
.as-dep-b { display: flex; gap: 8px; align-items: center; } .as-dep-b .btn { padding: 4px 10px; font-size: 12.5px; }
.as-dep-ed small { color: var(--doux); font-size: 11.5px; line-height: 1.35; }
.as-preuve { margin: -2px 0 8px; padding: 6px 8px; border-radius: 8px; font-size: 12.5px; line-height: 1.4; background: var(--vert-doux); color: var(--vert); }
.as-preuve.ko { background: var(--corail-doux); color: var(--corail); }
/* Brevo : Actualiser */
.bj-act { display: inline-flex; gap: 12px; } .bj-act button:disabled { opacity: .6; }
.bj-maj { margin: -4px 0 8px; font-size: 12px; color: var(--vert); }
/* La pastille « ✓ Enregistré » de la fiche */
.f-ok { position: fixed; z-index: 60; transform: translate(-50%, -8px); opacity: 0; pointer-events: none; background: var(--vert); color: #fff; font-weight: 650; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: opacity .18s, transform .18s; }
.f-ok.on { opacity: 1; transform: translate(-50%, 0); }
.f-ok span { margin-right: 4px; }
@media (prefers-color-scheme: dark) { .f-ok { color: #0d1a12; } }
/* Newsletter : l'en-tête réglable et les thèmes (2 déc. 2026) */
.nl-entete[style*="text-align:center"] img { margin: 0 auto; } .nl-entete img + .ed { margin-top: 10px; }
.nl-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.nl-theme { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 3px; font-size: 11.5px; color: var(--doux); padding: 4px; border-radius: 8px; }
.nl-theme i { font: bold 15px Georgia, serif; font-style: normal; width: 100%; text-align: center; padding: 8px 0; border-radius: 6px; border: 1px solid var(--ligne); }
.nl-theme:hover i, .nl-theme:focus-visible i { outline: 2px solid var(--accent); }
.nl-r { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; } .nl-r > span { color: var(--doux); min-width: 42px; }
.nl-r input[type=color] { width: 40px; height: 30px; padding: 2px; } .nl-r .puce { font-size: 12px; padding: 3px 9px; }
/* Listes : « Ont acheté » */
.l-ach { position: relative; } .l-ach input { width: 100%; }
.l-ach-res { border: 1px solid var(--ligne); border-radius: 8px; margin-top: 4px; overflow: hidden; }
.l-ach-res button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 7px 10px; font-size: 13px; border-bottom: 1px solid var(--ligne); }
.l-ach-res button:last-child { border-bottom: 0; } .l-ach-res button:hover, .l-ach-res button:focus-visible { background: var(--surface-2); } .l-ach-res small { color: var(--doux); white-space: nowrap; }
.l-ach-pris { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; } .l-ach-pris .puce { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 1240px) { .nl-palette { position: static; align-self: start; } }
/* L'onglet Publications : le calendrier en pleine page (2 déc. 2026) */
.as-page { padding: 4px 0 24px; }
.as-lib { flex: 1; min-width: 0; hyphens: auto; }
@media (min-width: 761px) { .as-page .as-grille { grid-template-columns: repeat(5, minmax(185px, 1fr)); overflow-x: auto; padding-bottom: 4px; } }
/* Publications : les deux boutons, et le rapport des e-mails (2 déc. 2026) */
.pub-onglets { display: flex; gap: 6px; margin: 4px 0 10px; }
.pub-onglets button { font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--surface); color: var(--texte); cursor: pointer; }
.pub-onglets button.actif { background: var(--texte); color: var(--surface); border-color: var(--texte); }
.rp-filtres { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; } .rp-filtres > span { display: flex; gap: 6px; flex-wrap: wrap; }
.rp-defile { overflow-x: auto; background: var(--surface); border-radius: 12px; border: 1px solid var(--ligne); }
.rp { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 860px; }
.rp th { text-align: right; font-weight: 600; font-size: 12px; color: var(--doux); padding: 9px 8px; border-bottom: 1px solid var(--ligne); white-space: nowrap; }
.rp td { text-align: right; padding: 9px 8px; border-bottom: 1px solid var(--ligne); vertical-align: top; white-space: nowrap; }
.rp th:first-child, .rp td:first-child { text-align: left; white-space: normal; min-width: 210px; } .rp th:nth-child(2), .rp td:nth-child(2) { text-align: left; }
.rp td small { display: block; color: var(--doux); font-size: 11px; } .rp td:first-child small { font-size: 12px; margin-top: 2px; }
.rp-l { cursor: pointer; } .rp-l:hover, .rp-l.ouvert { background: var(--surface-2); } .rp-l:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rp-h { color: var(--doux); } .rp-petit td { color: var(--doux); } .rp-att { color: var(--doux); }
.rp-top { color: var(--vert); font-weight: 700; background: var(--vert-doux); } .rp-mal { color: var(--corail); }
.rp-det td { background: var(--surface-2); text-align: left; white-space: normal; }
.rp-gens { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 18px; } .rp-gens h5 { margin: 0 0 4px; font-size: 12px; color: var(--doux); }
.rp-t { font-size: 15px; margin: 22px 0 8px; } .rp-heures { min-width: 760px; }
.rp-pied { font-size: 12px; color: var(--doux); line-height: 1.55; margin: 12px 2px 0; }
