@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/Poppins-Medium.ttf") format("truetype"); }
@font-face { font-family: "Lato"; font-weight: 400; font-display: swap; src: url("fonts/Lato-Regular.ttf") format("truetype"); }
@font-face { font-family: "Lato"; font-weight: 700; font-display: swap; src: url("fonts/Lato-Bold.ttf") format("truetype"); }

:root {
  --navy: #0e2340;
  --navy-2: #1b3560;
  --gold: #c9a24a;
  --gold-soft: #f6eedb;
  --bg: #f3f4f8;
  --card: #ffffff;
  --text: #17202e;
  --muted: #687082;
  --line: #e4e7ee;
  --green: #1f8a5b;
  --green-soft: #e5f4ec;
  --red: #b83a2e;
  --red-soft: #fbeae7;
  --li-blue: #0a66c2;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14, 35, 64, .06), 0 8px 24px rgba(14, 35, 64, .07);
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .titre { font-family: "Poppins", system-ui, sans-serif; font-weight: 600; letter-spacing: -.01em; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--li-blue); }
:focus-visible { outline: 3px solid rgba(201, 162, 74, .6); outline-offset: 2px; }
.cache { display: none !important; }

/* ---------- structure */
.app { max-width: 600px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 24px); }
.entete {
  position: relative; z-index: 5;
  background: var(--navy); color: #fff;
  padding: calc(14px + env(safe-area-inset-top)) 20px 18px;
}
.entete-haut { display: flex; align-items: center; gap: 10px; }
.marque { width: 34px; height: 34px; border-radius: 10px; background: var(--gold); color: var(--navy);
  display: grid; place-items: center; font-family: "Poppins"; font-weight: 600; font-size: 14px; }
.entete-nom { font-family: "Poppins"; font-weight: 500; font-size: 15px; opacity: .85; }
.entete h1 { margin: 14px 0 2px; font-size: 26px; line-height: 1.2; }
.entete p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; }
.contenu { padding: 18px 16px 0; display: grid; gap: 16px; }
.contenu > * { min-width: 0; }
.section-titre { margin: 10px 4px -4px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: "Poppins"; font-weight: 500; }

.carte { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.carte-vide { text-align: center; color: var(--muted); padding: 26px 22px; }
.carte-vide .icone-ronde { margin: 0 auto 10px; }
.carte-vide h3 { color: var(--text); margin: 0 0 6px; font-size: 17px; }
.carte-vide p { margin: 0 0 14px; }
.icone-ronde { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); color: var(--navy); display: grid; place-items: center; }

/* ---------- navigation */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-interieur { max-width: 600px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); height: var(--nav-h); }
.nav a { display: grid; justify-items: center; align-content: center; gap: 3px; color: var(--muted); text-decoration: none; font-size: 12.5px; font-family: "Poppins"; font-weight: 500; position: relative; }
.nav a svg { width: 24px; height: 24px; }
.nav a.actif { color: var(--navy); }
.nav a.actif::before { content: ""; position: absolute; top: 0; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); }
.pastille { position: absolute; top: 9px; left: calc(50% + 6px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font: 600 11px/19px "Poppins"; text-align: center; }

/* ---------- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 14px 18px; font-family: "Poppins"; font-weight: 500; font-size: 16px; text-decoration: none; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn-ok { width: 100%; background: var(--navy); color: #fff; padding: 17px 18px; font-size: 17px; }
.btn-ok:hover { background: var(--navy-2); }
.btn-ok .coche { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.btn-ok .coche svg { width: 15px; height: 15px; stroke-width: 3; }
.btn-ok .lib { display: grid; text-align: left; line-height: 1.25; }
.btn-ok .lib small { font: 400 13px/1.3 "Lato", system-ui, sans-serif; opacity: .8; }
.btn svg { width: 18px; height: 18px; flex: none; }
.icone-ronde svg { width: 22px; height: 22px; }
.btn-second { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-lien { background: none; color: var(--muted); padding: 8px; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.btn-li { background: #fff; color: var(--li-blue); border: 1.5px solid #cfe0f3; width: 100%; }
.rangee { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions { display: grid; gap: 10px; margin-top: 16px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- bandeaux */
.bandeau { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 13px 14px; font-size: 15px; }
.bandeau svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.bandeau-info { background: var(--gold-soft); color: #5c4714; }
.bandeau-ok { background: var(--green-soft); color: #165c3d; }
.bandeau-erreur { background: var(--red-soft); color: #7d241b; }
.bandeau strong { font-weight: 700; }

/* ---------- carte de publication */
.pub-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.puce { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); color: var(--navy); border-radius: 999px; padding: 5px 11px; font: 500 13px/1.3 "Poppins"; }
.quand { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.quand svg { width: 16px; height: 16px; }

/* aperçu au plus près de LinkedIn */
.li-post { border: 1px solid #e0dfdc; border-radius: 12px; background: #fff; font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: rgba(0, 0, 0, .9); overflow: hidden; }
.li-tete { display: flex; gap: 8px; padding: 12px 12px 0; }
.li-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.li-qui { min-width: 0; }
.li-nom { font-weight: 600; font-size: 14px; line-height: 1.35; }
.li-nom span { color: rgba(0, 0, 0, .6); font-weight: 400; }
.li-titre { color: rgba(0, 0, 0, .6); font-size: 12px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.li-meta { color: rgba(0, 0, 0, .6); font-size: 12px; display: flex; align-items: center; gap: 4px; }
.li-meta svg { width: 14px; height: 14px; }
.li-texte { padding: 8px 12px 0; font-size: 14px; line-height: 1.43; white-space: pre-line; word-wrap: break-word; }
.li-texte.replie { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.li-hashtag { color: var(--li-blue); font-weight: 600; }
.li-plus { background: none; border: 0; color: rgba(0, 0, 0, .6); font-size: 14px; padding: 2px 12px 0; display: block; margin-left: auto; }
.li-plus:hover { color: var(--li-blue); text-decoration: underline; }
.li-barre { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #e8e8e8; margin: 10px 12px 0; padding: 4px 0; }
.li-barre span { display: grid; justify-items: center; gap: 2px; color: rgba(0, 0, 0, .6); font-size: 11px; font-weight: 600; padding: 6px 0; }
.li-barre svg { width: 20px; height: 20px; }

/* ---------- éditeur (feuille) */
.voile { position: fixed; inset: 0; background: rgba(14, 35, 64, .45); z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.feuille { background: #fff; width: 100%; max-width: 600px; max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); animation: monte .2s ease-out; }
@keyframes monte { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.feuille-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.feuille-tete h2 { margin: 0; font-size: 20px; }
.fermer { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); font-size: 20px; line-height: 1; }
textarea.texte { width: 100%; min-height: 46vh; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; font-size: 15px; line-height: 1.5; resize: vertical; }
textarea.texte:focus, input:focus { border-color: var(--gold); outline: none; }
.compteur { text-align: right; color: var(--muted); font-size: 13px; margin: 6px 2px 12px; }
.compteur.trop { color: var(--red); font-weight: 700; }
label.champ { display: grid; gap: 6px; font-size: 14px; color: var(--muted); font-family: "Poppins"; font-weight: 500; }
.champ input { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 13px; font-size: 16px; background: #fff; width: 100%; }
.note-aide { color: var(--muted); font-size: 14px; margin: 12px 2px; }

/* ---------- notation */
.progression { display: flex; align-items: center; gap: 12px; margin: 0 4px; }
.barre { flex: 1; height: 8px; border-radius: 4px; background: #e2e5ee; overflow: hidden; }
.barre div { height: 100%; background: var(--gold); border-radius: 4px; transition: width .3s ease; }
.progression span { font: 500 14px "Poppins"; color: var(--navy); white-space: nowrap; }
.profil-numero { font: 500 13px "Poppins"; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.profil-nom { margin: 4px 0 4px; font-size: 24px; line-height: 1.2; }
.profil-poste { margin: 0; font-size: 16px; }
.profil-lieu { display: flex; align-items: center; gap: 5px; color: var(--muted); margin: 6px 0 16px; font-size: 15px; }
.profil-lieu svg { width: 16px; height: 16px; }
.question { background: var(--bg); border-radius: 14px; padding: 13px 14px; color: #3a4252; font-size: 15px; margin: 16px 0 14px; }
.notes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.notes button { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font: 600 17px "Poppins"; color: var(--navy); }
.notes button.choisie { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 0 3px rgba(201, 162, 74, .5); }
.echelle { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin: 8px 2px 0; }
.nav-profils { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.discret { color: var(--muted); font-size: 14px; text-align: center; margin: 2px 8px; }
.liste-profils { display: grid; gap: 2px; }
.ligne-profil { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; width: 100%; }
.ligne-profil:last-child { border-bottom: 0; }
.ligne-profil .num { width: 26px; color: var(--muted); font: 500 13px "Poppins"; }
.ligne-profil .qui { flex: 1; min-width: 0; }
.ligne-profil .qui strong { display: block; font-weight: 700; }
.ligne-profil .qui small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-note { min-width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 15px "Poppins"; background: var(--navy); color: #fff; }
.badge-vide { background: var(--bg); color: var(--muted); font-size: 12px; min-width: 64px; border-radius: 17px; padding: 0 10px; }

/* ---------- résultats du calage */
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tuile { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 14px; }
.tuile b { display: block; font: 600 26px/1.1 "Poppins"; color: var(--navy); }
.tuile span { color: var(--muted); font-size: 14px; }
.comparaison { display: flex; gap: 8px; align-items: center; margin-top: 6px; font-size: 14px; color: var(--muted); }
.ecart { border-radius: 999px; padding: 2px 9px; font: 600 12px "Poppins"; }
.ecart-faible { background: var(--green-soft); color: var(--green); }
.ecart-fort { background: var(--red-soft); color: var(--red); }
details.detail { border-bottom: 1px solid var(--line); padding: 10px 2px; }
details.detail:last-child { border-bottom: 0; }
details.detail summary { list-style: none; cursor: pointer; }
details.detail summary::-webkit-details-marker { display: none; }
details.detail p { margin: 8px 0 0; color: #3a4252; font-size: 14.5px; }

/* ---------- connexion */
.ecran-connexion { min-height: 100vh; display: grid; place-items: center; padding: 24px 18px; background: linear-gradient(180deg, var(--navy) 0, var(--navy) 42%, var(--bg) 42%); }
.boite { width: 100%; max-width: 400px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 28px 22px; display: grid; gap: 14px; }
.boite .marque { width: 48px; height: 48px; border-radius: 14px; font-size: 18px; margin: 0 auto; }
.boite h1 { margin: 4px 0 0; text-align: center; font-size: 22px; }
.boite p { margin: 0; text-align: center; color: var(--muted); }
.erreur { color: var(--red); font-size: 14.5px; text-align: center; min-height: 1em; }

/* ---------- divers */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow); z-index: 30; font-family: "Poppins"; font-weight: 500; font-size: 15px; animation: monte .2s ease-out; max-width: 90vw; }
.chargement { display: grid; gap: 14px; }
.squelette { height: 120px; border-radius: var(--radius); background: linear-gradient(90deg, #e9ecf3 0%, #f4f6fa 50%, #e9ecf3 100%); background-size: 200% 100%; animation: luit 1.2s infinite linear; }
@keyframes luit { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.liste-simple { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.liste-simple li { padding: 10px 2px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.liste-simple li:last-child { border-bottom: 0; }

@media (min-width: 700px) {
  .entete { border-radius: 0 0 24px 24px; }
  .contenu { padding: 22px 0 0; }
}

/* ---------- personnes et messages (version 2) */
.personne-tete { display: flex; gap: 12px; align-items: flex-start; }
.personne-qui { flex: 1; min-width: 0; }
.personne-qui h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.personne-poste { margin: 3px 0 0; color: #3a4252; font-size: 15px; }
.personne-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 7px; color: var(--muted); font-size: 14px; }
.personne-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.personne-meta svg { width: 15px; height: 15px; }
.puce-petite { padding: 3px 9px; font-size: 12px; }
.note-ronde { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.note-ronde b { font: 600 20px "Poppins"; }
.note-ronde small { font-size: 11px; opacity: .75; }
.lien-fiche { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--navy); }
.lien-fiche svg { width: 20px; height: 20px; }
details.pourquoi { margin-top: 14px; background: var(--bg); border-radius: 12px; padding: 10px 12px; }
details.pourquoi summary { cursor: pointer; font: 500 14px "Poppins"; color: var(--navy); }
details.pourquoi p { margin: 8px 0 0; font-size: 14.5px; color: #3a4252; }
.bulle-zone { margin-top: 14px; display: grid; justify-items: end; }
.bulle-zone.recue { justify-items: start; }
.bulle-etiquette { font-size: 12.5px; color: var(--muted); margin: 0 4px 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.bulle { max-width: 94%; background: var(--li-blue); color: #fff; border-radius: 18px 18px 4px 18px; padding: 11px 14px; font: 15px/1.45 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; white-space: pre-line; overflow-wrap: anywhere; }
.bulle-recue { background: #eef0f4; color: var(--text); border-radius: 18px 18px 18px 4px; }
.carte-compteur { display: grid; gap: 6px; }
.carte-compteur .note-aide { margin: 6px 0 0; }
.compteur-ligne { display: flex; justify-content: space-between; font-size: 15px; }
.compteur-ligne b { font-family: "Poppins"; font-weight: 600; color: var(--navy); }
.choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choix .btn { padding: 13px 10px; font-size: 15px; }
.btn-ok-vert { background: var(--green); color: #fff; }
.section-mini { font: 500 12.5px "Poppins"; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 16px 2px 8px; }
textarea.texte-court { width: 100%; min-height: 120px; margin-top: 12px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 13px; font-size: 15px; line-height: 1.5; resize: vertical; }
.toast-action { display: flex; align-items: center; gap: 12px; }
.toast-bouton { background: var(--gold); color: var(--navy); border: 0; border-radius: 10px; padding: 7px 10px; font: 600 14px "Poppins"; white-space: nowrap; }
.espace { margin-top: 12px; }
.appel-quand { margin: 12px 0 0; font-size: 15px; }
.bloc { display: block; color: var(--muted); }

/* ---------- suivi */
.entonnoir { padding: 4px 16px; }
.etape-ligne { display: flex; justify-content: space-between; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 15px; }
.etape-ligne:last-child { border-bottom: 0; }
.etape-ligne b { font: 600 15px "Poppins"; color: var(--navy); }
.etape-ligne.vide { color: var(--muted); }
.etape-ligne.vide b { color: #b5bac6; }
.etape-ligne.fin { font-size: 14px; }
.etape-ligne.active { color: var(--navy); font-weight: 700; background: var(--gold-soft); margin: 0 -16px; padding-left: 18px; padding-right: 18px; }
a.ligne-profil { color: inherit; text-decoration: none; }
.ligne-profil .fleche svg { width: 18px; height: 18px; color: var(--muted); }
.etape-actuelle { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 14px 0 2px; }
.chronologie { display: grid; gap: 2px; }
.evenement { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #3a4252; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.evenement:last-child { border-bottom: 0; }
.evenement small { color: var(--muted); white-space: nowrap; }
dl.reponses { margin: 4px 0 0; display: grid; }
dl.reponses dt { font: 500 13px "Poppins"; color: var(--muted); margin-top: 10px; }
dl.reponses dd { margin: 2px 0 0; font-size: 15px; white-space: pre-line; }
.retour { justify-self: start; padding-left: 0; }
.ligne-source small { font-size: 13.5px; margin-top: 2px; }
.script h3 { font-size: 17px; margin: 18px 0 6px; }
.script p, .script li { font-size: 15px; color: #3a4252; }
.script ul, .script ol { padding-left: 20px; }

/* ---------- pages des candidats */
.app-public { padding-bottom: 32px; }
.formulaire { display: grid; gap: 14px; }
.texte-public h2, .formulaire h2 { margin: 0; font-size: 18px; }
.texte-public p { margin: 8px 0 0; color: #3a4252; }
fieldset.groupe { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
fieldset.groupe legend { font: 500 15px "Poppins"; color: var(--text); margin-bottom: 8px; padding: 0; }
.option { display: flex; gap: 10px; align-items: flex-start; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; cursor: pointer; }
.option input { margin: 2px 0 0; accent-color: var(--navy); width: 18px; height: 18px; flex: none; }
.option:has(input:checked) { border-color: var(--navy); background: #f4f6fb; }
.champ textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 13px; font-size: 16px; min-height: 96px; width: 100%; resize: vertical; background: #fff; }
.champ textarea:focus { border-color: var(--gold); outline: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pied-public { color: var(--muted); font-size: 13.5px; text-align: center; margin: 4px 8px 0; }

/* ---------- images des publications (version 2.3) */
.li-images { margin-top: 8px; display: grid; gap: 2px; background: #fff; }
.li-images img { display: block; width: 100%; height: 100%; object-fit: cover; background: #f3f2ef; }
.li-images-1 img { height: auto; }
.li-images-2, .li-images-3, .li-images-4 { grid-template-columns: 1fr 1fr; }
.li-images-2 img, .li-images-4 img, .li-images-3 img:not(:first-child) { aspect-ratio: 1; }
.li-images-3 img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.image-actuelle { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); max-width: 340px; margin: 0 auto 4px; }
.image-actuelle .li-images { margin: 0; }
.feuille .champ input[type="text"] { font-size: 16px; }
.feuille .champ textarea { min-height: 84px; font: 16px/1.45 "Lato", system-ui, sans-serif; color: var(--text); }
.feuille .champ textarea.idee-saisie { min-height: 150px; }
.section-titre-action { display: flex; justify-content: space-between; align-items: center; }
.lien-idee { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: var(--gold-soft); color: var(--navy); padding: 6px 12px; font: 500 13px "Poppins"; text-transform: none; letter-spacing: 0; }
.lien-idee svg { width: 16px; height: 16px; }
.feuille .actions { margin-top: 10px; }

/* photos choisies sur le téléphone */
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-retirer { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(14, 35, 64, .78); color: #fff; display: grid; place-items: center; padding: 0; }
.photo-retirer svg { width: 14px; height: 14px; stroke-width: 2.6; }
.photo-ajouter { aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed #c8cdd8; background: #fafbfd; color: var(--navy); display: grid; place-items: center; align-content: center; gap: 4px; font: 500 12.5px/1.2 "Poppins"; padding: 6px; text-align: center; }
.photo-ajouter svg { width: 24px; height: 24px; }
.photos:has(.photo-ajouter:only-child) { grid-template-columns: 1fr; }
.photos:has(.photo-ajouter:only-child) .photo-ajouter { aspect-ratio: auto; padding: 20px 12px; display: flex; justify-content: center; gap: 10px; font-size: 15px; }

/* idées de publication */
.carte-idee { display: grid; gap: 14px; background: linear-gradient(180deg, #fffdf8 0, #fff 100%); border: 1px solid #efe4c9; box-shadow: none; }
.idee-tete { display: flex; gap: 14px; align-items: flex-start; }
.idee-tete .icone-ronde { flex: none; }
.idee-tete h3 { margin: 2px 0 4px; font-size: 17px; }
.idee-tete p { margin: 0; color: var(--muted); font-size: 15px; }
.idee-ligne { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.idee-vignette { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--gold-soft); }
.idee-vignette.vide { display: grid; place-items: center; color: var(--navy); }
.idee-vignette.vide svg { width: 22px; height: 22px; }
.idee-corps { min-width: 0; flex: 1; }
.idee-texte { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.idee-etat { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.idee-etat.bloquee { color: var(--red); }
.idee-actions { display: flex; gap: 6px; margin: 2px -8px -6px; }
.idee-actions .btn-lien { font-size: 14px; padding: 6px 8px; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.choix .btn.choisi { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f4f6fb; }

/* Version 2.4 : le collaborateur trie et valide, Kévin envoie */
.valide-par { display: flex; align-items: center; gap: 6px; margin: 10px 2px 0; color: var(--green); font-size: 14px; font-weight: 600; }
.valide-par svg { width: 16px; height: 16px; }

/* ---------- Suivi : bascule personnes / chiffres, filtres par source, paliers du parcours (version 2.5) */
.bascule { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #e6e9f0; border-radius: 14px; padding: 4px; }
.bascule a { text-align: center; padding: 10px 8px; border-radius: 11px; color: var(--muted); text-decoration: none; font: 500 15px "Poppins"; }
.bascule a.actif { background: var(--card); color: var(--navy); box-shadow: 0 1px 3px rgba(14, 35, 64, .12); }
.bascule-reseau { grid-template-columns: repeat(3, 1fr); }
.bascule-reseau a { padding: 8px 6px; font-size: 14px; }
.filtres { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; }
.filtres::-webkit-scrollbar { display: none; }
.filtres a { flex: none; padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); color: var(--navy); text-decoration: none; font: 500 13px "Poppins"; }
.filtres a.actif { background: var(--navy); border-color: var(--navy); color: #fff; }
.chiffres { padding: 6px 18px; }
.palier { padding: 13px 0; border-bottom: 1px solid var(--line); }
.palier:last-child { border-bottom: 0; }
.palier-haut { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.palier-nom { display: grid; line-height: 1.3; }
.palier-nom strong { font-size: 15px; color: var(--text); }
.palier-nom small { color: var(--muted); font-size: 13px; }
.palier-haut b { font: 600 22px/1 "Poppins"; color: var(--navy); }
.barre { height: 8px; border-radius: 99px; background: var(--bg); margin-top: 9px; overflow: hidden; }
.barre i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--navy), #2c4a78); }
.palier:last-child .barre i { background: linear-gradient(90deg, var(--gold), #e0be6e); }
.passage { margin-top: 6px; color: var(--muted); font-size: 13px; }
.passage.absents { color: var(--red); }
.palier.vide .palier-nom strong, .palier.vide .palier-haut b { color: #b5bac6; }
.tri { display: flex; gap: 8px; align-items: flex-start; margin: -4px 4px 0; }
.tri svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--gold); }
.tuiles.taux .tuile small { display: block; color: #9aa1af; font-size: 12.5px; margin-top: 3px; }
.tuiles.taux .tuile span { display: block; line-height: 1.3; }

/* ---------- Gmail (version 2.7) */
.gmail-relie { display: flex; align-items: center; gap: 8px; margin: 0; flex-wrap: wrap; }
.gmail-relie svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.etapes-simples { margin: 10px 0 4px; padding-left: 22px; display: grid; gap: 6px; }
.etapes-simples a { color: var(--navy); font-weight: 600; }

/* ---------- Réseaux sociaux (version 2.9) : onglets LinkedIn / réseaux, ce que la personne a écrit */
.bascule a { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pastille-onglet { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #fff; font: 600 12px/20px "Poppins"; text-align: center; }
.signal { margin: 12px 0 4px; padding: 12px 14px; background: #f4f6fa; border-left: 3px solid #1877f2; border-radius: 0 12px 12px 0; }
.signal figcaption { display: flex; align-items: center; gap: 6px; font: 500 13px "Poppins"; color: var(--muted); margin-bottom: 6px; }
.signal figcaption svg { width: 15px; height: 15px; flex: none; }
.signal-texte { margin: 0; font-size: 15px; line-height: 1.5; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.signal-texte.ouvert { display: block; -webkit-line-clamp: unset; line-clamp: unset; }

/* version 2.12 : sous-onglets Recrutement / Publications, et aperçu pour la page Facebook et Instagram */
.onglets-valider { display: flex; flex-direction: column; gap: 10px; }
.sous-onglets { display: flex; gap: 8px; }
.sous-onglets a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); color: var(--muted); text-decoration: none; font: 500 14px "Poppins"; }
.sous-onglets a.actif { background: var(--navy); border-color: var(--navy); color: #fff; }
.meta-avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--gold); font: 600 17px "Poppins"; letter-spacing: .5px; }
.meta-destinations { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid #e0dfdc; }
.liens-publiee { display: inline-flex; gap: 12px; flex: none; }

/* Version 2.14 : une relation LinkedIn de Kévin */
.relation { display: flex; align-items: center; gap: 6px; margin: 4px 0 10px; color: var(--green); font-weight: 600; font-size: .92rem; }
.relation svg { width: 16px; height: 16px; }
.gmail-lecture { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.gmail-lecture p { margin: 0 0 6px; }
.gmail-a-faire { background: var(--gold-soft); }
.gmail-a-faire ol { margin: 4px 0 8px; padding-left: 20px; }
.gmail-a-faire li { margin-bottom: 4px; }

/* Version 2.18 : la publication TikTok, en hauteur, comme dans l'application. */
.puce-tiktok { background: #111; color: #fff; }
.tt-post { margin-top: 12px; background: #111; border-radius: 14px; overflow: hidden; color: #f2f2f2; }
.tt-images { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px; -webkit-overflow-scrolling: touch; }
.tt-images img { flex: none; width: min(46%, 190px); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: #222; scroll-snap-align: start; }
.tt-images img:only-child { width: min(60%, 240px); margin: 0 auto; }
.tt-texte { padding: 4px 14px 14px; font-size: 15px; line-height: 1.45; white-space: pre-line; }
.tt-texte .li-texte { color: #f2f2f2; padding: 0; }
.tt-texte .li-plus { color: #b9b9b9; background: none; padding: 0; }
.tt-post .bandeau { margin: 10px; }
.etapes-tiktok { margin: 8px 0 0; padding-left: 20px; font-size: 14.5px; color: var(--muted); }
.etapes-tiktok li + li { margin-top: 6px; }

/* Version 2.19 : le retour sur investissement (Les chiffres) et la mention « client » de la fiche */
.tuiles.roi .tuile b { font-size: 22px; }
.roi-sources { display: grid; gap: 12px; margin-top: 10px; }
.roi-titre { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.roi-titre small { color: var(--muted); font-size: 13px; }
.roi-source { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 3px; }
.roi-source-haut { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.roi-source-haut b { font: 600 17px "Poppins"; color: var(--navy); white-space: nowrap; }
.roi-source span { color: var(--text); font-size: 14.5px; }
.roi-source small { color: var(--muted); font-size: 13px; }
.roi-depenses { display: grid; gap: 12px; margin-bottom: 10px; }
.roi-depense { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 10px; }
.roi-depense-bas { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.roi-depense .montant { display: flex; gap: 6px; }
.roi-depense .montant input { min-width: 0; }
.roi-depense select, .feuille .champ select { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 8px; font-size: 16px; background: #fff; }
.feuille > label.champ { margin-top: 10px; }
.client-note { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); color: var(--navy); font-weight: 600; }
.client-note svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.client-note .btn-lien { margin-left: auto; }
@media (max-width: 420px) { .roi-depense-bas { grid-template-columns: 1fr 1fr; } .roi-depense-bas .btn-lien { grid-column: 1 / -1; justify-self: start; padding-left: 0; } }

/* Version 2.21 : l'adresse e-mail laissée par la personne, et l'e-mail qui partira */
.bloc-email { margin-top: 14px; background: #eef4ff; border: 1px solid #d6e3fb; border-radius: 12px; padding: 10px 12px; }
.bloc-email > p:first-child { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--navy); overflow-wrap: anywhere; }
.bloc-email > p:first-child svg { flex: none; width: 18px; height: 18px; }
.bloc-email .note-aide { margin: 6px 0 0; }
.bloc-email details.pourquoi { margin-top: 10px; background: #fff; }
.bloc-email .btn-lien { padding: 6px 0 0; font-size: 13.5px; }
.btn-lien svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.texte-email { margin-top: 8px; border-left: 3px solid #d6e3fb; padding-left: 10px; }
.texte-email p { margin: 0 0 8px !important; white-space: pre-line; }

/* Version 2.23 : les sites d'emploi */
.ajout-cv summary { cursor: pointer; display: flex; align-items: center; gap: 8px; margin: 0; }
.ajout-cv .champ { margin-top: 10px; }
.ajout-cv select { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 8px; font-size: 16px; background: #fff; width: 100%; }
.recherches-emploi { display: grid; gap: 8px; }
.recherche-emploi summary { list-style: none; }
.recherche-emploi summary::-webkit-details-marker { display: none; }
.recherche-emploi .btn { width: 100%; justify-content: space-between; }
.recherche-emploi .note-aide { margin: 6px 4px 2px; }
.liste-ecartes { margin: 8px 0 0; padding-left: 18px; }
.liste-ecartes li { margin-bottom: 4px; font-size: 14px; }
.carte .raison { margin: 8px 0 0; font-size: 14px; }
.bloc-email > p { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--navy); overflow-wrap: anywhere; }
.bloc-email > p svg, .ajout-cv summary svg { flex: none; width: 18px; height: 18px; }
.bloc-email > .btn-lien { margin-top: 6px; }

/* Version 2.29 : les notes dictées */
.liste-notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.note-ligne { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.note-ligne:last-child { border-bottom: 0; }
.note-icone { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #f4efe1; color: var(--navy); display: grid; place-items: center; }
.note-icone svg { width: 17px; height: 17px; }
.note-corps { flex: 1; min-width: 0; }
.note-texte { margin: 2px 0 4px; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.note-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.btn-petit { padding: 8px 14px; font-size: 15px; }
.btn-petit svg { width: 16px; height: 16px; }
.note-ranger { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.note-ranger select { border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 6px; font-size: 15px; background: #fff; }
.cle-dictee { font: 600 18px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .04em; background: #f6f7fb; border: 1.5px dashed var(--line); border-radius: 12px; padding: 12px; text-align: center; overflow-wrap: anywhere; user-select: all; }
.etapes-raccourci { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 9px; line-height: 1.45; }
.etapes-raccourci code { font-size: 13px; overflow-wrap: anywhere; background: #f6f7fb; padding: 1px 4px; border-radius: 4px; }
details summary { cursor: pointer; color: var(--navy); font-weight: 600; margin-top: 12px; }

/* Version 2.30 : préparer l'entretien, les objections */
.points-entretien { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.points-entretien li { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; background: #f6f7fb; line-height: 1.45; }
.points-entretien .point-condition { background: var(--gold-soft); }
.points-entretien .point-attention { background: var(--red-soft); }
.point-etiquette { font: 600 11.5px "Poppins"; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.point-attention .point-etiquette { color: var(--red); }
.point-condition .point-etiquette { color: #8a6a1f; }
.questions-entretien, .deroule { margin: 0; padding-left: 22px; display: grid; gap: 10px; line-height: 1.45; }
.deroule .duree { margin-left: 8px; font-size: 13px; color: var(--muted); }
.deroule p { margin: 3px 0 0; color: #3a4252; font-size: 15px; }
.citation-carte blockquote { margin: 0; padding-left: 12px; border-left: 3px solid var(--gold); font-style: italic; line-height: 1.5; }
.objection { border-bottom: 1px solid var(--line); padding: 10px 0; }
.objection:last-child { border-bottom: 0; }
.objection summary { cursor: pointer; font-family: "Poppins"; font-weight: 600; color: var(--navy); }
.objection p { margin: 8px 0 0; }
.objection-derriere { color: var(--muted); font-size: 14px; }
.rangee .btn { flex: 1; }
@media print { .nav, .entete-haut, .btn { display: none !important; } .carte { box-shadow: none; border: 1px solid var(--line); } details:not([open]) > *:not(summary) { display: block; } }

/* Version 2.32 : les calculettes */
.calc h3 { margin: 0 0 2px; font-size: 18px; }
.calc-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.calc-champ { font-size: 13.5px; }
.calc-saisie { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding-right: 12px; }
.calc-saisie:focus-within { border-color: var(--gold); }
.calc-saisie input { border: 0 !important; outline: none; padding: 12px 13px; font-size: 17px; width: 100%; min-width: 0; background: transparent; }
.calc-unite { color: var(--muted); font-size: 15px; }
.calc-resultat { margin-top: 14px; display: grid; gap: 2px; background: #f6f7fb; border-radius: 14px; padding: 6px 14px; }
.calc-ligne { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc-ligne:last-child { border-bottom: 0; }
.calc-ligne strong { text-align: right; }
.calc-fort strong { font: 600 20px "Poppins"; color: var(--navy); }
.calc-note { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 12px 2px 0; }
.calc-resultat .bandeau { margin: 8px 0; }
@media (max-width: 360px) { .calc-champs { grid-template-columns: 1fr; } }
.calc-champs { align-items: end; }

/* Version 2.37 : Mon équipe */
.eq-carte { display: grid; gap: 10px; color: inherit; text-decoration: none; }
.eq-carte h3 { margin: 0; }
.eq-ancien { opacity: .6; }
.eq-carte-haut { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.eq-pastille { font: 600 12px "Poppins"; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.eq-pastille.ok { background: #e3f4ea; color: #1d6b3d; }
.eq-pastille.attente { background: #fdf0d8; color: #8a5a00; }
.eq-chiffres { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.eq-chiffres b { color: var(--navy); font: 600 16px "Poppins"; }
.eq-gros b { font-size: 22px; display: block; }
.eq-gros span { flex: 1; min-width: 90px; }
.eq-progression { display: grid; gap: 4px; }
.eq-progression-texte { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.eq-progression-texte b { color: var(--navy); }
.eq-alertes { margin: 0; padding-left: 18px; color: #a33a2a; font-size: 14px; display: grid; gap: 3px; }
.eq-point h3 { margin: 0 0 6px; }
.eq-sous-titre { font: 600 14px "Poppins"; color: var(--navy); margin: 10px 0 2px; }
.eq-formulaire { display: grid; gap: 12px; }
.eq-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.eq-nombre input { text-align: center; }
.eq-tenu { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.eq-tenu legend { font-size: 14px; color: var(--muted); padding: 0 4px; }
.eq-semaine summary { display: grid; gap: 2px; cursor: pointer; }
.eq-semaine summary span { font-size: 13px; color: var(--muted); }
.eq-formation label { display: flex; align-items: center; gap: 6px; flex: 1; }
.eq-etiquette { font: 600 11px "Poppins"; background: #eef1f8; color: var(--navy); border-radius: 99px; padding: 2px 8px; margin-left: 6px; }
.eq-case { display: flex; align-items: center; gap: 8px; }
.eq-lien { word-break: break-all; font-size: 14px; background: var(--bg); border-radius: 10px; padding: 10px; }
.eq-formulaire select, .champ select { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 13px; font-size: 16px; background: #fff; width: 100%; }
.eq-formulaire > input { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 13px; font-size: 16px; }

/* ---------- Version 2.38 : tableau de suivi en colonnes, et « Vos 15 minutes » */
.bascule-3 { grid-template-columns: repeat(3, 1fr); }
.btn-or { background: var(--gold); color: var(--navy); font-weight: 600; }
.btn-or:hover { background: #d6b25c; }
.quinze-appel { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.quinze-appel strong { display: block; font: 600 17px "Poppins"; }
.quinze-appel small { display: block; color: rgba(255, 255, 255, .75); font-size: 13.5px; margin-top: 3px; }
.quinze-appel .btn { flex: none; padding: 12px 18px; }
.quinze-tete { background: var(--navy); color: #fff; border-radius: 16px; padding: 14px 16px; }
.quinze-ligne { display: flex; justify-content: space-between; font: 500 14px "Poppins"; }
.quinze-ligne a { color: rgba(255, 255, 255, .8); }
.quinze-barre { height: 9px; background: rgba(255, 255, 255, .18); border-radius: 9px; margin-top: 10px; overflow: hidden; }
.quinze-barre i { display: block; height: 100%; min-width: 9px; background: var(--gold); border-radius: 9px; transition: width .3s ease; }
.quinze-quoi { margin: 0; font: 600 13px "Poppins"; letter-spacing: .03em; text-transform: uppercase; color: #c2410c; }
.quinze-ensuite { text-align: center; }

.app.app-large { max-width: 1480px; }
.tb-barre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tb-filtres a { display: inline-flex; align-items: center; gap: 6px; }
.tb-point { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.tb-legende { margin-left: auto; display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.tb-legende i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; border: 1.5px solid #cbd3df; background: #fff; margin-right: 6px; vertical-align: -1px; }
.tb-legende i.orange { background: #fdba74; border-color: #fdba74; }
.tb-linkedin { background: #0a66c2; } .tb-facebook { background: #1877f2; } .tb-tiktok { background: #111; }
.tb-instagram { background: #c13584; } .tb-emploi { background: #7a5af8; }
.tb-puces { display: none; }
.tb-tableau { display: flex; gap: 12px; align-items: flex-start; overflow-x: auto; padding-bottom: 8px; }
.tb-col { flex: none; width: 226px; background: #e6eaf1; border-radius: 16px; }
.tb-tete { background: var(--card); border-radius: 16px 16px 0 0; padding: 12px 14px; }
.tb-tete h2 { margin: 0; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tb-tete small { color: var(--muted); font-size: 12.5px; }
.tb-nombre { background: var(--navy); color: #fff; border-radius: 999px; padding: 1px 9px; font: 600 12px "Poppins"; }
.tb-nombre.orange { background: #ea580c; }
.tb-cartes { padding: 8px 9px 10px; display: grid; gap: 7px; }
.tb-groupe { font: 700 11px "Poppins"; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 4px 4px 0; }
.tb-groupe.orange { color: #c2410c; }
.tb-carte { display: flex; gap: 9px; width: 100%; text-align: left; background: var(--card); border: 1.5px solid transparent; border-radius: 12px; padding: 9px 10px; cursor: pointer; font: inherit; color: var(--text); box-shadow: 0 1px 2px rgba(14, 35, 64, .06); }
.tb-carte:hover { border-color: #cbd3df; }
.tb-carte.a-vous { background: #fff7ed; border-color: #fdba74; }
.tb-av { flex: none; width: 30px; height: 30px; border-radius: 50%; color: #fff; display: grid; place-items: center; font: 700 12px "Poppins"; }
.tb-corps { display: grid; gap: 2px; min-width: 0; flex: 1; }
.tb-nom { display: flex; justify-content: space-between; gap: 6px; font-size: 14px; }
.tb-nom strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-note { flex: none; color: #a8822f; font: 700 11.5px "Poppins"; }
.tb-corps small { color: var(--muted); font-size: 12px; }
.tb-action { font: 600 12px "Poppins"; color: var(--muted); }
.a-vous .tb-action { color: #c2410c; }
.tb-reste { display: block; text-align: center; font-size: 12.5px; color: var(--navy); padding: 6px; }
.tb-col.vide { width: 54px; background: #eceff5; }
.tb-mince { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 0; margin: 0 auto; min-height: 220px; font: 600 13px "Poppins"; color: var(--muted); }
.tb-mince b { background: #cbd3df; color: #fff; border-radius: 999px; padding: 7px 3px; font-size: 11px; }
.tb-vide-tel { display: none; }
@media (max-width: 899px) {
  .tb-legende { display: none; }
  .tb-puces { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .tb-puces::-webkit-scrollbar { display: none; }
  .tb-puces a { flex: none; display: flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--card); border: 1.5px solid var(--line); color: var(--navy); text-decoration: none; font: 500 13.5px "Poppins"; }
  .tb-puces a.orange { border-color: #fdba74; }
  .tb-puces a.actif { background: var(--navy); border-color: var(--navy); color: #fff; }
  .tb-puces a.actif.orange { background: #ea580c; border-color: #ea580c; }
  .tb-tableau { display: block; overflow: visible; }
  .tb-col { display: none; width: auto; background: none; }
  .tb-col.choisie { display: block; }
  .tb-tete { display: none; }
  .tb-cartes { padding: 0; gap: 9px; }
  .tb-carte { padding: 12px; }
  .tb-mince { display: none; }
  .tb-vide-tel { display: block; }
  .quinze-appel { flex-direction: column; align-items: stretch; }
}

/* Version 2.39 : le geste suivant sur la carte, le glisser-déposer, la colonne « Sans suite » repliée. */
.tb-carte { flex-direction: column; gap: 0; padding: 0; cursor: default; }
.tb-ouvrir { display: flex; gap: 9px; width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px; cursor: pointer; font: inherit; color: inherit; border-radius: 12px; }
.tb-avancer { align-self: stretch; margin: 0 8px 8px; padding: 7px 10px; border-radius: 9px; border: 1.5px solid #cbd3df; background: #f6f8fb; color: var(--navy); font: 600 12.5px "Poppins"; cursor: pointer; text-align: center; }
.tb-avancer:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.a-vous .tb-avancer { border-color: #fdba74; background: #fff; color: #c2410c; }
.a-vous .tb-avancer:hover { background: #ea580c; border-color: #ea580c; color: #fff; }
.tb-carte[draggable="true"] { cursor: grab; }
.tb-carte.glisse { opacity: .45; }
.tb-tableau.en-glisse .tb-col { transition: box-shadow .15s; }
.tb-col.cible { box-shadow: 0 0 0 3px #a8822f inset; background: #f3ead6; }
.tb-deplier { border: 0; cursor: pointer; font: inherit; padding: 0; }
.tb-deplier:hover { background: #dfe4ec; }
.tb-replier { display: block; margin-top: 6px; background: none; border: 0; padding: 0; color: var(--navy); font: 600 12px "Poppins"; text-decoration: underline; cursor: pointer; }
.tb-aide { margin: 2px 4px 4px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 899px) {
  .tb-ouvrir { padding: 12px; }
  .tb-avancer { padding: 10px; font-size: 14px; margin: 0 10px 10px; }
  .tb-puces a.gris { color: var(--muted); }
  .tb-col.repliee { display: none; }
  .tb-replier { display: none; }
}
.quinze-appel { justify-content: flex-start; }
.quinze-chiffre { flex: none; width: 58px; height: 58px; border-radius: 16px; background: var(--gold); color: var(--navy); display: grid; place-items: center; font: 700 26px "Poppins"; }
.quinze-texte { flex: 1; min-width: 0; }
.btn-reserve { width: 100%; }
@media (max-width: 899px) {
  .quinze-appel { display: grid; grid-template-columns: 58px 1fr; }
  .quinze-appel .btn { grid-column: 1 / -1; }
}
.tb-col.vide.repliee .tb-mince b { background: var(--muted); }
.tb-puces a.actif.gris { color: #fff; }

/* Version 2.40 : le rappel de la veille, l'entonnoir par réseau. */
.carte-rappel .rappel-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.carte-rappel h3 { margin: 0; }
.rappel-quand { font: 600 13px "Poppins"; color: #c2410c; }
.btn-whatsapp { background: #25d366; color: #fff; font-weight: 600; text-align: center; }
.btn-whatsapp:hover { background: #1ebe5b; }
.entonnoir { display: grid; gap: 18px; }
.ent-haut { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.ent-haut small { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.ent-paliers { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.ent-palier { background: #f6f8fb; border-radius: 10px; padding: 8px 10px; display: grid; gap: 3px; }
.ent-palier span { font-size: 12px; color: var(--muted); }
.ent-palier b { font: 700 18px "Poppins"; color: var(--navy); }
.ent-palier .barre { height: 5px; }
.ent-palier.vide b { color: #b8c0cc; }
@media (max-width: 899px) {
  .ent-paliers { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .ent-palier { padding: 6px 6px; }
  .ent-palier span { font-size: 10.5px; line-height: 1.2; min-height: 2.4em; }
  .ent-palier b { font-size: 16px; }
}

/* Version 2.44 : les demandes d'ami en attente */
.liste-demandes { display: grid; gap: 0; padding: 4px 14px; }
.demande-ligne { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line, #e5e7eb); }
.demande-ligne:last-child { border-bottom: 0; }
.demande-qui { flex: 1; display: grid; line-height: 1.25; min-width: 0; }
.demande-qui small { color: #6b7280; font-size: 13px; }
.demande-qui small.demande-vieille { color: #c2410c; font-weight: 600; }
.btn-petit { width: auto; padding: 9px 12px; font-size: 14px; flex: none; }

/* Version 2.48 : compteur au plafond */
.compteur-plein { color: #c0392b; }
