/* ─── La frise d'un prospect (v4/frise-prospect.js) ───────────────────
   Une ligne de temps sous chaque carte du pipeline : les rendez-vous en
   gros points, les envois et les étapes en points, les mails, appels et
   notes en petits traits. Même dessin que la frise des contrats. */
.x4fp { position: relative; height: 68px; margin: 0 14px; cursor: pointer; }
.x4fp-piste { position: absolute; left: 0; right: 0; top: 33px; height: 3px; border-radius: 99px; background: var(--stroke-3, rgba(20, 20, 25, .12)); }
.x4fp-passe { position: absolute; left: 0; top: 0; height: 100%; border-radius: 99px; background: var(--v2-text-3, #6b6f76); opacity: .55; }
.x4fp:hover .x4fp-passe { opacity: .8; }

/* Les petits traits : ce qui s'est dit entre deux jalons. */
.x4fp-trait { position: absolute; top: 28px; width: 2px; height: 13px; border-radius: 1px; transform: translateX(-50%); background: var(--v2-text-3, #6b6f76); opacity: .5; }
.x4fp-trait.est-mail { background: var(--info-fg, #3160b4); opacity: .6; }
.x4fp-trait.est-mail.est-recu { height: 9px; top: 35px; }
.x4fp-trait.est-mail.est-envoye { height: 9px; top: 25px; }
.x4fp-trait.est-appel { background: var(--v2-accent, #7d640d); opacity: .7; }
.x4fp-trait.est-etape { opacity: .3; }

/* Les jalons. */
.x4fp-jalon { position: absolute; top: 29px; width: 11px; height: 11px; transform: translateX(-50%); }
.x4fp-jalon i { display: block; width: 11px; height: 11px; border-radius: 99px; box-sizing: border-box; background: var(--panel-solid, #fff); border: 2px solid var(--v2-text-2, #55595f); }
.x4fp-jalon.est-entree i { width: 7px; height: 7px; margin: 2px; background: var(--v2-text-3, #6b6f76); border-color: var(--v2-text-3, #6b6f76); }
.x4fp-jalon.est-etape i { background: var(--v2-text, #16171a); border-color: var(--v2-text, #16171a); }
.x4fp-jalon.est-etape.est-pos i { background: var(--pos-fg, #136d45); border-color: var(--pos-fg, #136d45); }
.x4fp-jalon.est-etape.est-neg i { background: var(--neg-fg, #a74137); border-color: var(--neg-fg, #a74137); }
.x4fp-jalon.est-etape.est-prevu i { background: var(--panel-solid, #fff); border-style: dashed; }
.x4fp-jalon.est-envoi i, .x4fp-jalon.est-mail i { border-color: var(--info-fg, #3160b4); }
.x4fp-jalon.est-envoi.est-pos i { background: var(--pos-fg, #136d45); border-color: var(--pos-fg, #136d45); }
.x4fp-jalon.est-relance i { border-color: var(--warn-fg, #9a5a12); }
.x4fp-jalon.est-avenir i { border-style: dashed; }
.x4fp-jalon.est-avenir.est-retard i { border-color: var(--neg-fg, #a74137); }
/* Le rendez-vous : plus gros, et sa couleur dit comment il s'est passé. */
.x4fp-jalon.est-rdv { top: 27px; width: 15px; height: 15px; }
.x4fp-jalon.est-rdv i { width: 15px; height: 15px; border-width: 3px; }
.x4fp-jalon.est-rdv.est-tenu i { background: var(--pos-fg, #136d45); border-color: var(--pos-fg, #136d45); }
.x4fp-jalon.est-rdv.est-lapin i { background: var(--neg-fg, #a74137); border-color: var(--neg-fg, #a74137); }
.x4fp-jalon.est-rdv.est-avenir i { background: var(--accent-bright, #f5d547); border-color: var(--v2-text, #16171a); border-width: 2px; }
.x4fp-jalon.est-rdv.est-passe i { border-color: var(--warn-fg, #9a5a12); }
.x4fp-jalon.est-rdv.est-annule i { border-style: dashed; border-color: var(--v2-text-3, #6b6f76); }

.x4fp-txt { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10.5px; line-height: 1.15; text-align: center; color: var(--v2-text-3, #6b6f76); }
.x4fp-jalon.est-rdv .x4fp-txt { top: 19px; }
.x4fp-txt b { display: block; font-weight: 620; color: var(--v2-text-2, #55595f); }
.x4fp-jalon.est-rdv .x4fp-txt b { color: var(--v2-text, #16171a); }
.x4fp-jalon.est-rdv.est-lapin .x4fp-txt b, .x4fp-jalon.est-retard .x4fp-txt b, .x4fp-jalon.est-etape.est-neg .x4fp-txt b { color: var(--neg-fg, #a74137); }
.x4fp-jalon.est-rdv.est-tenu .x4fp-txt b, .x4fp-jalon.est-etape.est-pos .x4fp-txt b { color: var(--pos-fg, #136d45); }
.x4fp-jalon.est-haut .x4fp-txt { top: auto; bottom: 15px; }
.x4fp-jalon.est-rdv.est-haut .x4fp-txt { bottom: 19px; }
.x4fp-jalon.est-muet .x4fp-txt { display: none; }

.x4fp-auj { position: absolute; top: 22px; width: 1px; height: 25px; background: var(--v2-accent, #7d640d); transform: translateX(-50%); pointer-events: none; }
.x4fp-auj small { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 9.5px; font-weight: 620; color: var(--v2-accent, #7d640d); white-space: nowrap; }

/* ── La chronologie complète (modale) ── */
.x4fp-detail { display: flex; flex-direction: column; gap: 2px; }
.x4fp-detail .x4fp { cursor: default; margin: 6px 10px 10px; }
.x4fp-resume { font-size: 12.5px; color: var(--v2-text-3, #6b6f76); }
.x4fp-rien { font-size: 13px; color: var(--v2-text-3, #6b6f76); }
.x4fp-mois { margin: 12px 0 4px; font-size: 11px; font-weight: 620; letter-spacing: .04em; text-transform: uppercase; color: var(--v2-text-3, #6b6f76); }
.x4fp-l { display: grid; grid-template-columns: 92px 17px minmax(0, 1fr); gap: 10px; align-items: start; padding: 6px 0; }
.x4fp-l-date { font-size: 12px; color: var(--v2-text-2, #55595f); text-align: right; white-space: nowrap; }
.x4fp-l-date small { display: block; font-size: 11px; color: var(--v2-text-3, #6b6f76); }
.x4fp-l-point { position: relative; align-self: stretch; }
.x4fp-l-point::before { content: ''; position: absolute; left: 8px; top: 0; bottom: -12px; width: 1px; background: var(--stroke-3, rgba(20, 20, 25, .12)); }
.x4fp-l-point i { position: relative; display: block; width: 9px; height: 9px; margin: 4px 4px 0; border-radius: 99px; box-sizing: border-box; background: var(--panel-solid, #fff); border: 2px solid var(--v2-text-3, #6b6f76); }
.x4fp-l.est-majeur .x4fp-l-point i { border-color: var(--v2-text, #16171a); background: var(--v2-text, #16171a); }
.x4fp-l.est-mail .x4fp-l-point i { border-color: var(--info-fg, #3160b4); background: var(--panel-solid, #fff); }
.x4fp-l.est-rdv .x4fp-l-point i { width: 13px; height: 13px; margin: 2px 2px 0; }
.x4fp-l.est-rdv.est-tenu .x4fp-l-point i, .x4fp-l.est-pos .x4fp-l-point i { background: var(--pos-fg, #136d45); border-color: var(--pos-fg, #136d45); }
.x4fp-l.est-rdv.est-lapin .x4fp-l-point i, .x4fp-l.est-neg .x4fp-l-point i, .x4fp-l.est-retard .x4fp-l-point i { background: var(--neg-fg, #a74137); border-color: var(--neg-fg, #a74137); }
.x4fp-l.est-rdv.est-avenir .x4fp-l-point i { background: var(--accent-bright, #f5d547); border-color: var(--v2-text, #16171a); }
.x4fp-l.est-rdv.est-passe .x4fp-l-point i { background: var(--panel-solid, #fff); border-color: var(--warn-fg, #9a5a12); }
.x4fp-l.est-rdv.est-annule .x4fp-l-point i, .x4fp-l.est-prevu .x4fp-l-point i { background: var(--panel-solid, #fff); border-style: dashed; border-color: var(--v2-text-3, #6b6f76); }
.x4fp-l-corps { min-width: 0; font-size: 13px; color: var(--v2-text-2, #55595f); }
.x4fp-l-corps b { display: block; font-weight: 550; color: var(--v2-text, #16171a); }
.x4fp-l.est-majeur .x4fp-l-corps b { font-weight: 640; }
.x4fp-l-corps em { font-style: normal; font-weight: 400; color: var(--v2-text-3, #6b6f76); }
.x4fp-l-corps p { margin: 2px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.x4fp-l-corps small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--v2-text-3, #6b6f76); }
.x4fp-l.est-rdv.est-lapin .x4fp-l-corps b { color: var(--neg-fg, #a74137); }
.x4fp-l.est-retard .x4fp-l-corps b { color: var(--neg-fg, #a74137); }
