/* Portail candidat — Top Rank BDRs. Fond blanc, bannière encre et vert citron. */
:root {
  --ink: #121311; --ink-2: #1c1e1a; --muted: #62665c; --line: #e6e8e1; --soft: #f6f7f2;
  --lime: #c6f432; --lime-dark: #8fb50a; --lime-soft: #f1fbd2; --warn: #b7791f; --warn-soft: #fff8e6;
  --radius: 22px; --shadow: 0 18px 50px rgba(20, 24, 14, .07);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: #fff; color: var(--ink); font-family: "Plus Jakarta Sans", system-ui, sans-serif; display: flex; flex-direction: column; }
a { color: inherit; }

/* ---------- Navigation ---------- */
.p-nav { height: 72px; padding: 0 clamp(18px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.p-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -.03em; }
.p-logo b { color: var(--lime-dark); }
.p-logo-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-weight: 900; }
.p-nav-right { display: flex; align-items: center; gap: 1.2rem; font-size: .82rem; font-weight: 700; }
.p-nav-help { color: var(--ink); text-decoration: none; }
.p-nav-help:hover { text-decoration: underline; }
.p-nav-secure { color: var(--muted); }

.p-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: clamp(18px, 3vw, 34px) 0 48px; flex: 1; }

/* ---------- Aperçu admin ---------- */
.p-preview { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .55rem 16px; background: var(--ink); color: #fff; font-size: .76rem; font-weight: 600; text-align: center; }
.p-preview b { padding: .15rem .5rem; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.is-preview #now-action, .is-preview #help-call, .is-preview .p-garna button, .is-preview .p-garna .p-btn { pointer-events: none; opacity: .55; }
.p-helpcard .p-btn { margin-top: .8rem; }

/* ---------- Chargement ---------- */
.p-loading { min-height: 50vh; display: grid; place-content: center; justify-items: center; gap: 1rem; color: var(--muted); }
.p-loading i { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--lime-dark); animation: p-spin .8s linear infinite; }
@keyframes p-spin { to { transform: rotate(360deg); } }

/* ---------- Bannière ---------- */
.p-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #2a3a0c 0%, var(--ink) 55%), var(--ink); color: #fff; box-shadow: 0 24px 60px rgba(18, 19, 17, .18); }
.p-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(198, 244, 50, .06) 0 1px, transparent 1px 64px); pointer-events: none; }
.p-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 244, 50, .32), transparent 65%); pointer-events: none; }
.p-hero-copy, .p-now { position: relative; z-index: 1; }
.p-eyebrow { color: var(--lime); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.p-hero h1 { margin: .45rem 0 .4rem; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -.05em; }
.p-hero-copy p { margin: 0 0 1rem; color: #d6d9cf; font-size: 1rem; line-height: 1.5; }
.p-status { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: .78rem; font-weight: 800; }
.p-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f5c451; }
.p-status.active::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(198, 244, 50, .2); }
.p-now { padding: 1.2rem 1.25rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(198, 244, 50, .28); backdrop-filter: blur(4px); }
.p-now-label { display: inline-flex; align-items: center; gap: .45rem; color: var(--lime); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.p-now-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: p-pulse 1.6s ease-in-out infinite; }
@keyframes p-pulse { 50% { opacity: .35; } }
.p-now strong { display: block; margin: .5rem 0 .3rem; font-size: 1.2rem; letter-spacing: -.02em; }
.p-now p { margin: 0; color: #d6d9cf; font-size: .88rem; line-height: 1.5; }
.p-now-action { display: inline-flex; margin-top: .85rem; padding: .6rem 1rem; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: .85rem; text-decoration: none; }

/* ---------- Grille ---------- */
.p-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.25rem; margin-top: 1.25rem; align-items: start; }
.p-main { display: grid; gap: 1.25rem; grid-column: 1; grid-row: 1; }
.p-side { display: grid; gap: 1rem; grid-column: 2; grid-row: 1; position: sticky; top: 92px; }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 26px); box-shadow: var(--shadow); }
.p-card h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.03em; }
.p-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: 1.1rem; }
.p-card-head h2 { white-space: nowrap; }
.p-chip { padding: .35rem .7rem; border-radius: 999px; background: var(--lime-soft); color: #4a5e05; font-size: .75rem; font-weight: 800; }
.p-muted { color: var(--muted); font-size: .8rem; font-weight: 700; }

/* ---------- Argent ---------- */
.p-wallet { position: relative; overflow: hidden; padding: 1.3rem 1.35rem; border-radius: var(--radius); background: linear-gradient(135deg, #d9fb6b, var(--lime) 55%, #b6e620); color: var(--ink); box-shadow: 0 18px 40px rgba(143, 181, 10, .25); }
.p-wallet::after { content: "$"; position: absolute; right: 14px; bottom: -28px; font-size: 7rem; font-weight: 800; opacity: .08; }
.p-wallet span { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.p-wallet strong { display: block; margin: .25rem 0; font-size: 2.4rem; letter-spacing: -.05em; }
.p-wallet strong em { font-style: normal; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; opacity: .7; }
.p-wallet small { font-size: .8rem; font-weight: 600; color: #3b4a08; }
.p-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.p-stats > div { padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.p-stats .p-stats-wide { grid-column: 1 / -1; }
.p-stats span { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; }
.p-stats strong { display: block; margin-top: .2rem; font-size: 1.2rem; letter-spacing: -.03em; }
.p-stats small { display: block; margin-top: .15rem; color: var(--muted); font-size: .72rem; }

/* ---------- Garna ---------- */
.p-garna-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.p-garna-logo { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.p-pay-switch { display: flex; gap: .3rem; margin: 0 0 .8rem; padding: 3px; border-radius: 11px; background: var(--soft); }
.p-pay-switch button { flex: 1; padding: .5rem; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.p-pay-switch button.on { background: var(--ink); color: #fff; }
.p-garna-head b { display: block; font-size: 1rem; }
.p-garna-head small { color: var(--muted); font-size: .78rem; }
.p-garna-steps { margin: 0 0 .9rem; padding-left: 1.1rem; color: var(--muted); font-size: .84rem; line-height: 1.6; }
#garna-form label, .p-access label { display: block; margin: .9rem 0 .35rem; font-size: .8rem; font-weight: 800; }
#garna-form input, .p-access input { width: 100%; height: 48px; padding: 0 .95rem; border: 1.5px solid var(--line); border-radius: 13px; font: inherit; font-size: 16px; background: #fff; }
#garna-form input:focus, .p-access input:focus { outline: none; border-color: var(--lime-dark); box-shadow: 0 0 0 4px rgba(198, 244, 50, .25); }
.p-garna-ok { display: flex; gap: .6rem; margin: 0 0 .6rem; padding: .85rem; border-radius: 14px; background: var(--lime-soft); font-size: .86rem; line-height: 1.45; }
.p-garna-ok > span:first-child { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: .75rem; font-weight: 900; }
.p-garna-ok b { word-break: break-all; }

/* ---------- Boutons ---------- */
.p-btn { width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; border-radius: 999px; font: inherit; font-weight: 800; font-size: .92rem; text-decoration: none; cursor: pointer; }
.p-ref-link { display:flex; align-items:center; gap:.5rem; margin:.7rem 0 0; padding:.55rem .6rem .55rem .8rem; border:1px dashed #c9cdbf; border-radius:12px; background:#f6f7f2; }
.p-ref-link code { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.78rem; color:#2a2c27; }
.p-ref-copy { flex:none; padding:.4rem .8rem; border:0; border-radius:999px; background:var(--ink); color:#fff; font:inherit; font-size:.75rem; font-weight:800; cursor:pointer; }
#referral-count { margin:.8rem 0 0; }
.p-ref-people { list-style:none; margin:.5rem 0 0; padding:0; display:grid; gap:.35rem; }
.p-ref-people li { display:flex; justify-content:space-between; gap:.6rem; font-size:.82rem; }
.p-ref-people small { color:#6b6f66; }
.p-spam-note { margin:0 0 1rem; padding:.7rem .9rem; border:1.5px solid #e6c25a; border-radius:14px; background:#fff8df; color:#5a4a12; font-size:.82rem; line-height:1.45; }
.p-spam-note b { color:#3d3108; }
.p-btn-lime { margin-top: .8rem; background: var(--lime); color: var(--ink); }
.p-btn-lime:hover { filter: brightness(1.04); }
.p-btn-dark { background: var(--ink); color: #fff; }
.p-btn:disabled { opacity: .6; cursor: progress; }
.p-btn:focus-visible, .p-link:focus-visible, .p-now-action:focus-visible { outline: 3px solid var(--lime-dark); outline-offset: 3px; }
.p-link { padding: 0; border: 0; background: none; font: inherit; font-size: .84rem; font-weight: 800; text-decoration: underline; cursor: pointer; }
.p-error { margin: .5rem 0 0; color: #b42318; font-size: .82rem; font-weight: 700; }

/* ---------- Placement ---------- */
.p-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.p-steps li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: .9rem; padding-bottom: 1.15rem; }
.p-steps li:last-child { padding-bottom: 0; }
.p-steps li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.p-steps li:last-child::before { display: none; }
.p-steps li.done::before { background: var(--lime-dark); }
.p-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; color: var(--muted); font-size: .8rem; font-weight: 900; position: relative; z-index: 1; }
.p-steps li.done .p-dot { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.p-steps li.current .p-dot { border-color: var(--lime-dark); background: var(--lime); color: var(--ink); box-shadow: 0 0 0 5px rgba(198, 244, 50, .3); }
.p-steps li.warn .p-dot { border-color: var(--warn); background: var(--warn-soft); color: var(--warn); box-shadow: none; }
.p-steps h3 { margin: .35rem 0 .15rem; font-size: .98rem; letter-spacing: -.02em; }
.p-steps li:not(.done):not(.current):not(.warn) h3 { color: #9a9e92; }
.p-steps p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.p-steps .p-tag { display: inline-block; margin-left: .45rem; padding: .12rem .5rem; border-radius: 999px; background: var(--lime-soft); color: #4a5e05; font-size: .68rem; font-weight: 800; vertical-align: middle; }
.p-steps li.warn .p-tag { background: var(--warn-soft); color: var(--warn); }

/* ---------- Mouvements ---------- */
.p-moves { display: grid; gap: .55rem; }
.p-move { display: grid; grid-template-columns: 1fr auto auto; gap: .9rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; }
.p-move b { display: block; font-size: .9rem; }
.p-move small { color: var(--muted); font-size: .76rem; }
.p-move strong { font-size: 1rem; letter-spacing: -.02em; }
.p-pill { padding: .25rem .6rem; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .7rem; font-weight: 800; }
.p-pill.paid { background: var(--ink); color: var(--lime); }
.p-pill.earned { background: var(--lime-soft); color: #4a5e05; }
.p-empty { padding: 1.4rem; border: 1.5px dashed var(--line); border-radius: 16px; text-align: center; color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* ---------- Comment ça marche ---------- */
.p-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 1rem; }
.p-how-grid > div { padding: 1rem; border-radius: 16px; background: var(--soft); }
.p-how-grid b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: .78rem; }
.p-how-grid h3 { margin: .7rem 0 .25rem; font-size: .92rem; letter-spacing: -.02em; }
.p-how-grid p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }

.p-helpcard b { display: block; margin-bottom: .3rem; }
.p-helpcard p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.p-note { margin-top: 1.25rem; padding: 1rem 1.2rem; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.p-note b { font-size: .82rem; }
.p-note p { margin: .25rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }

/* ---------- Erreur et accès ---------- */
.p-error-box, .p-access { max-width: 520px; margin: 6vh auto 0; text-align: left; }
.p-error-box > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--warn-soft); color: var(--warn); font-weight: 900; }
.p-error-box h1, .p-access h1 { margin: .8rem 0 .4rem; font-size: 1.6rem; letter-spacing: -.04em; }
.p-error-box p, .p-access > p { color: var(--muted); line-height: 1.55; }
.p-error-box a { font-weight: 800; }
.p-access-done { padding: .9rem; border-radius: 14px; background: var(--lime-soft); }
.p-access-note { font-size: .78rem; }

.p-footer { padding: 22px; text-align: center; color: var(--muted); font-size: .76rem; border-top: 1px solid var(--line); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .p-hero { grid-template-columns: 1fr; }
  /* Sur mobile, une seule colonne dans l'ordre des questions du candidat :
     mon compte est-il loué, combien j'ai gagné, comment je suis payé, où j'en suis. */
  .p-grid { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
  .p-main, .p-side { display: contents; }
  .p-rental { order: 1; } .p-wallet { order: 2; } .p-stats { order: 3; } .p-garna { order: 4; }
  .p-placement { order: 5; } .p-movements { order: 6; } .p-how { order: 7; } .p-helpcard { order: 8; }
  .p-how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .p-nav-secure { display: none; }
  .p-nav { height: 64px; }
  .p-move { grid-template-columns: 1fr auto; }
  .p-move .p-pill { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .p-loading i, .p-now-label i { animation: none; }
}

/* ---------- Location du compte ---------- */
.p-rental-label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.p-rental-row { display: flex; align-items: center; gap: .9rem; margin-top: .7rem; }
.p-rental-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); border: 2px dashed #cfd3c7; color: var(--muted); font-size: 1.1rem; font-weight: 900; }
.p-rental strong { display: block; font-size: 1.3rem; letter-spacing: -.035em; }
.p-rental p { margin: .15rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.p-rental.rented { border-color: #cfe98a; background: linear-gradient(135deg, #fbfff0, #fff 60%); }
.p-rental.rented .p-rental-icon { border: 0; background: var(--ink); color: var(--lime); }
.p-rental.paused .p-rental-icon { border: 0; background: var(--warn-soft); color: var(--warn); }
.p-rental-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin: 1rem 0 0; }
.p-rental-facts div { padding: .7rem .85rem; border-radius: 12px; background: var(--soft); }
.p-rental-facts dt { color: var(--muted); font-size: .7rem; font-weight: 700; }
.p-rental-facts dd { margin: .15rem 0 0; font-size: .9rem; font-weight: 800; }
.p-step-meta { display: inline-block; margin-top: .3rem; color: #8a8e82; font-size: .74rem; font-weight: 700; }
.p-steps li.done .p-step-meta { color: var(--lime-dark); }


/* Tu misión : entreprise, activité du mois, derniers messages envoyés, règle d'usage */
.p-mission .p-mission-company { margin: 0 0 .9rem; font-size: 1rem; line-height: 1.45; }
.p-mission .p-mission-company b { font-weight: 800; }
.p-mission-msgs { margin-top: 1rem; }
.p-mission-msgs h3 { margin: 0 0 .55rem; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.p-msg { padding: .7rem .85rem; border: 1px solid #e4e7df; border-radius: 12px; background: #fff; margin-bottom: .5rem; }
.p-msg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; }
.p-msg-head b { font-size: .88rem; }
.p-msg-head small { color: var(--muted); font-size: .74rem; }
.p-msg-head time { margin-left: auto; color: var(--muted); font-size: .72rem; font-weight: 700; }
.p-msg p { margin: .4rem 0 0; font-size: .84rem; line-height: 1.45; white-space: pre-line; }
.p-mission-rule { margin: 1rem 0 0; padding: .75rem .9rem; border-radius: 12px; background: #fff8e6; border: 1px solid #f0d9a0; color: #5a4300; font-size: .82rem; line-height: 1.5; }
.p-mission-rule b { display: block; margin-bottom: .15rem; }
.p-helpcard .p-btn + .p-btn { margin-top: .5rem; }

/* Registro de actividad : tout ce qui part du compte, en lecture seule (filtres, pages de 50) */
.p-journal-intro { margin: 0 0 .9rem; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.p-journal-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .9rem; }
.p-journal-filters button { padding: .4rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: .78rem; font-weight: 800; color: var(--muted); cursor: pointer; }
.p-journal-filters button:hover { border-color: var(--ink); color: var(--ink); }
.p-journal-filters button.active { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.p-act-day { margin: .9rem 0 .45rem; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.p-journal-list .p-act-day:first-child { margin-top: 0; }
.p-act { display: flex; gap: .65rem; padding: .65rem .75rem; border: 1px solid #e4e7df; border-radius: 12px; background: #fff; margin-bottom: .45rem; }
.p-act-icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); font-size: .8rem; font-weight: 900; }
.p-act-message .p-act-icon, .p-act-inmail .p-act-icon { background: var(--lime-soft); }
.p-act > div { min-width: 0; flex: 1; }
.p-act-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .45rem; font-size: .86rem; }
.p-act-label { color: var(--muted); }
.p-act-head small { color: var(--muted); font-size: .72rem; }
.p-act-head time { margin-left: auto; color: var(--muted); font-size: .72rem; font-weight: 700; white-space: nowrap; }
.p-act p { margin: .35rem 0 0; font-size: .84rem; line-height: 1.45; white-space: pre-line; }
.p-journal-empty { margin: .4rem 0 0; }
#journal-more { margin-top: .6rem; }
.p-mission-journal { display: inline-block; margin-top: .5rem; color: #4b6a00; font-size: .85rem; font-weight: 800; }

/* Acuerdo firmado, à télécharger depuis « Tu placement » */
.p-doc { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .9rem 0 0; }
.p-doc-link { padding: 0; border: 0; background: none; color: #4b6a00; font: inherit; font-size: .88rem; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.p-doc-link:disabled { opacity: .6; cursor: progress; }

/* Photo de profil à droite du prénom, prochain paiement, fiche du client */
.p-hello { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.p-avatar { flex: none; width: clamp(56px, 9vw, 76px); height: clamp(56px, 9vw, 76px); border-radius: 50%; object-fit: cover; border: 3px solid var(--lime); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); background: #2b2f26; }
.p-next-pay { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .55rem; margin: .8rem 0 0; padding: .65rem .95rem; border: 1px solid rgba(198, 244, 50, .45); border-radius: 14px; background: rgba(198, 244, 50, .12); color: #fff; }
.p-next-pay span { color: #d6d9cf; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.p-next-pay b { color: var(--lime); font-size: 1.05rem; }
.p-next-pay small { color: #d6d9cf; font-size: .82rem; }
.p-mission-about { display: block; margin-top: .45rem; color: var(--muted); font-size: .9rem; font-weight: 500; line-height: 1.5; }
.p-mission-site { display: inline-block; margin-top: .35rem; color: #4b6a00; font-size: .85rem; font-weight: 800; }

.p-mission-logo { float: left; width: 44px; height: 44px; margin: 0 .8rem .3rem 0; border-radius: 10px; border: 1px solid var(--line); object-fit: contain; background: #fff; }

/* Tâche « correo secundario » (Migadu) */
.p-task { border-color: var(--lime-dark); }
.p-task-why { margin: 0 0 .9rem; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.p-task-mail { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin: 0 0 .9rem; padding: .7rem .9rem; border-radius: 14px; background: var(--soft); }
.p-task-mail code { font-size: .95rem; font-weight: 800; word-break: break-all; }
.p-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; font-size: .82rem; color: var(--ink); text-decoration: underline; cursor: pointer; }
.p-task-ok { margin: .9rem 0 0; padding: .7rem .9rem; border-radius: 14px; background: var(--lime-soft); color: #4a5e05; font-size: .86rem; font-weight: 700; }
.p-error-next { margin-top: .6rem; padding: .8rem .9rem; border-radius: 14px; background: var(--lime-soft); color: var(--ink) !important; font-weight: 600; }
/* Tâche « verifica tu identidad » : guía animée dans la carte (lecteur partagé avec la configuration). */
.p-guide { margin: 0 0 .9rem; min-height: 110px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); overflow: hidden; }
.p-guide.gp-root { display: block; }
.p-guide-poster { display: grid; justify-items: center; gap: .3rem; width: 100%; padding: 1.3rem 1rem; border: 0; background: linear-gradient(135deg, #edf8d3, #fafdf1); color: #3f5a02; cursor: pointer; font: inherit; text-align: center; }
.p-guide-poster > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 1.1rem; padding-left: 3px; }
.p-guide-poster b { font-size: .95rem; }
.p-guide-poster small { color: #6e7a58; font-size: .76rem; }
.p-task-help { margin: 0 0 .9rem; font-size: .8rem; }
.p-task-help a { font-weight: 800; }
.p-now-alt { display: inline-block; margin: .7rem 0 0; color: #d6d9cf; font-size: .82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.p-now-action + .p-now-alt { margin-left: .9rem; }
/* Bulle WhatsApp (Imad, 6 nov. 2026) : canal de support toujours visible, logo seul sur mobile, pastille avec texte sur desktop. */
.wa-bubble { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .22); text-decoration: none; transition: transform .15s; }
.wa-bubble:hover { transform: scale(1.05); }
.wa-bubble:focus-visible { outline: 3px solid #121311; outline-offset: 3px; }
.wa-bubble svg { width: 30px; height: 30px; fill: currentColor; flex: none; }
.wa-bubble-label { display: none; }
@media (min-width: 720px) { .wa-bubble { width: auto; padding: 0 1.1rem 0 .9rem; gap: .5rem; } .wa-bubble-label { display: block; font-weight: 800; font-size: .86rem; white-space: nowrap; } }
body.has-bubble { padding-bottom: 84px; }
