/* XXTRA : noir profond, sable, ivoire. Le bleu est réservé aux interactions. */
:root {
  --black: #0B0B0B;
  --anth: #1F1F1F;
  --sand: #C9BDA7;
  --ivory: #F6F1E8;
  --white: #FFFFFF;
  --blue: #2860F5;
  --line: #E1D9C8;
  --muted: #6F695D;
  --danger: #B3261E;
  --ok: #1A7A3C;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: var(--black);
  color: var(--black);
  font: 400 16px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
#app {
  max-width: 480px;
  min-height: 100%;
  margin: 0 auto;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  position: relative;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

/* ---------- Accueil (fidèle à la maquette : photo verticale, vrai logo, couleurs relevées) ---------- */
.welcome { position: relative; background: #07090C; color: var(--white); flex: 1; display: flex; flex-direction: column; min-height: 100dvh; overflow: hidden; }
/* Photo calée en haut : le ciel reste derrière le logo, le coucher de soleil juste en dessous,
   quelle que soit la hauteur de l'écran (Safari avec ses barres, appli plein écran…). */
.hero { position: absolute; left: 0; right: 0; top: 0; height: max(calc(100vw * 1.19), calc(100% - 230px - env(safe-area-inset-bottom, 0px))); background: #061326 center top / cover no-repeat; }
@media (min-aspect-ratio: 3/4) { .hero { height: 100%; } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,11,18,.45) 0%, rgba(3,11,18,0) 24%, rgba(7,9,12,0) 58%, rgba(7,9,12,.5) 80%, rgba(7,9,12,.9) 93%, #07090C 100%);
}
.welcome-in {
  flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1;
  width: 100%; max-width: 480px; margin: 0 auto;
  padding: calc(clamp(28px, 8vh, 84px) + env(safe-area-inset-top, 0px)) 24px calc(22px + env(safe-area-inset-bottom, 0px));
}
.brand { text-align: center; }
.logo { margin: 0; line-height: 0; }
.logo img { width: min(72vw, 310px); height: auto; display: inline-block; filter: drop-shadow(0 1px 6px rgba(0,0,0,.25)); }
.sub { margin-top: clamp(14px, 2.4vh, 20px); letter-spacing: .38em; font-size: clamp(9.5px, 2.6vw, 11px); font-weight: 400; color: #CFCFD6; padding-left: .38em; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.tag { margin-top: auto; margin-bottom: clamp(16px, 3vh, 26px); text-align: center; font: 400 clamp(14px, 4vw, 16px)/1.2 var(--sans); letter-spacing: .08em; color: #E2E2E2; text-shadow: 0 2px 12px rgba(0,0,0,.65); }
.cta { display: grid; gap: 10px; }
.btn-xl {
  min-height: 46px; padding: 9px 18px; border-radius: 13px; text-transform: uppercase;
  font-weight: 500; font-size: clamp(13px, 3.6vw, 14.5px); line-height: 1.2; letter-spacing: .11em; color: #E8F2FF;
  -webkit-tap-highlight-color: transparent; transition: transform .12s ease, filter .12s ease;
}
.btn-xl:active { transform: scale(.98); filter: brightness(1.08); opacity: 1; }
.welcome .btn-ghost { background: rgba(5,8,13,.92); border: 1.5px solid #6D6E72; color: #E8E8EA; }
.small { text-align: center; font-size: 13.5px; letter-spacing: .02em; color: #B5B6B8; margin-top: 6px; }
.plainlink { background: none; border: 0; min-height: 48px; padding: 10px 14px; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.plainlink strong { color: #FFFFFF; font-weight: 600; }

/* ---------- Boutons ---------- */
.btn {
  display: block; width: 100%; min-height: 52px; padding: 14px 18px; border: 1px solid transparent; border-radius: 14px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; text-align: center; cursor: pointer;
}
.btn:active { opacity: .85; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-light { background: var(--white); color: var(--black); border-color: var(--line); }
.linklike { background: none; border: 0; padding: 4px 2px; color: var(--blue); font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- Écrans de formulaire ---------- */
.top { background: var(--black); color: #fff; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 18px; display: flex; align-items: center; gap: 10px; }
.top h1 { font: 600 28px/1.1 var(--serif); flex: 1; }
.back { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a3a3a; background: transparent; color: #fff; font-size: 20px; cursor: pointer; flex: none; }
.body { padding: 20px 18px calc(28px + env(safe-area-inset-bottom, 0px)); flex: 1; }
.lead { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .lab { font-size: 13px; font-weight: 600; color: #3a362f; }
.field .opt { font-weight: 400; color: var(--muted); }
.input, select.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--black); font: 400 16px var(--sans);
}
.input:focus { border-color: var(--blue); outline: 2px solid rgba(40,96,245,.25); outline-offset: 0; }
.pw { position: relative; }
.pw .input { padding-right: 84px; }
.pw .linklike { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 13px; text-decoration: none; padding: 10px 8px; }
.hint { font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 8px 14px; border-radius: 22px; border: 1px solid var(--line); background: var(--white);
  font-size: 14px; cursor: pointer; color: var(--black);
}
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #3a362f; }
.check input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--blue); }
.err { min-height: 0; color: var(--danger); font-size: 14px; font-weight: 600; }
.err:empty { display: none; }
.sep { text-align: center; font-size: 14px; color: var(--muted); margin-top: 6px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.msg { background: #E4F6EA; color: var(--ok); border-radius: 12px; padding: 14px; font-size: 15px; }
.msg.warn { background: #FFF1D6; color: #7A5200; }
.msg.bad { background: #FCE4E1; color: var(--danger); }
.center { text-align: center; }
.big { font: 600 34px/1.1 var(--serif); margin: 8px 0 10px; }

/* ---------- Accueil connecté ---------- */
.hello { font: 600 32px/1.1 var(--serif); margin-bottom: 12px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 5px 10px; border-radius: 8px; background: var(--anth); color: #fff; }
.badge.pro { background: var(--black); color: var(--sand); border: 1px solid var(--sand); }
.badge.f20 { background: linear-gradient(120deg, #8a7c63, var(--sand)); color: var(--black); }
.badge.role { background: var(--sand); color: var(--black); }
.steps { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 10px; }
.steps li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.steps li:last-child { border-bottom: 0; }
.soon { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.kpi b { display: block; font: 600 30px/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12px; color: var(--muted); }
h2 { font: 600 22px/1.2 var(--serif); margin: 18px 0 6px; }
.loading { flex: 1; display: grid; place-items: center; background: var(--black); color: var(--sand); font: 600 28px var(--serif); letter-spacing: .12em; min-height: 100dvh; }

/* ---------- Fenêtre (Charte) + notification ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; z-index: 20; }
.sheet { background: var(--ivory); width: 100%; max-width: 480px; max-height: 88dvh; overflow: auto; border-radius: 20px 20px 0 0; padding: 20px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
.sheet h2:first-child { margin-top: 0; }
.sheet p { margin: 8px 0; font-size: 15px; white-space: pre-line; }
#toast { position: fixed; left: 16px; right: 16px; top: calc(14px + env(safe-area-inset-top, 0px)); max-width: 448px; margin: 0 auto; background: var(--white); color: var(--black); border-radius: 12px; padding: 13px 15px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.35); z-index: 30; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .chip { transition: opacity .15s, background-color .15s; }
}
@media (min-width: 520px) {
  body { background: #050505; }
  #app { margin-block: 0; box-shadow: 0 0 0 1px #2a2a2a; }
}

/* ---------- Espace candidat ---------- */
.body:has(+ .tabbar) { padding-bottom: 24px; }
.tabbar { position: sticky; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--black); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #2a2a2a; z-index: 5; }
.tabbar button { background: none; border: 0; color: #9a9384; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; font: 600 11px var(--sans); cursor: pointer; }
.tabbar button.on { color: var(--sand); }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.brandmark { letter-spacing: .2em; font-size: 24px !important; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.mut { color: var(--muted); font-weight: 400; }
h2 { font: 600 22px/1.2 var(--serif); margin: 22px 0 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #b9b2a2; flex: none; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 4px #d6efde; }
.empty { text-align: center; padding: 28px 12px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.bar { height: 8px; background: var(--line); border-radius: 8px; overflow: hidden; margin: 10px 0 6px; }
.bar i { display: block; height: 100%; background: var(--black); border-radius: 8px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar.l { width: 84px; height: 84px; }
.avatar.ph { background: var(--anth); color: var(--sand); display: flex; align-items: center; justify-content: center; font: 600 26px var(--serif); }
.pf-head, .photo-row { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); flex: none; }
.kv strong { text-align: right; font-weight: 600; }
.list { padding: 0; overflow: hidden; }
.li { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; padding: 0 16px; background: none; border: 0; border-bottom: 1px solid var(--line); font: 500 16px var(--sans); color: var(--black); text-align: left; cursor: pointer; }
.li:last-child { border-bottom: 0; }
.li.dis { cursor: default; color: var(--muted); }
.exp { display: grid; gap: 8px; padding: 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
select.input { appearance: auto; }
.switch { width: 54px; height: 32px; border-radius: 32px; border: 0; background: #c9c3b4; position: relative; flex: none; cursor: pointer; transition: background .15s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch.on { background: var(--ok); }
.switch.on i { transform: translateX(22px); }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.qgrid .btn { min-height: 46px; font-size: 14px; }
.chip small { opacity: .65; font-weight: 400; }
.day { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dlabel { display: flex; justify-content: space-between; align-items: baseline; text-transform: capitalize; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font: 600 13px var(--sans); cursor: pointer; color: var(--black); }
.slot.on { background: var(--black); color: var(--sand); border-color: var(--black); }

/* ---------- Espace établissement ---------- */
.mcard { display: block; width: 100%; text-align: left; margin-bottom: 10px; cursor: pointer; font: inherit; color: inherit; }
.mcard .hint { margin-top: 2px; }
.pill { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 20px; background: var(--line); color: var(--black); white-space: nowrap; }
.pill.published { background: #D6EFDE; color: var(--ok); }
.pill.filled, .pill.completed { background: var(--black); color: var(--sand); }
.pill.cancelled { background: #FCE4E1; color: var(--danger); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
textarea.input { resize: vertical; min-height: 96px; font: inherit; }
.linklike.danger { color: var(--danger); }

/* ---------- Mise en relation et messages ---------- */
.pill.urgent { background: var(--danger); color: #fff; }
.fit { display: inline-block; font-size: 12px; font-weight: 700; color: var(--ok); background: #E4F6EA; padding: 4px 10px; border-radius: 20px; margin-top: 8px; }
.warn-t { color: var(--danger); font-weight: 600; }
.grow { flex: 1; min-width: 0; }
.subh { font: 600 18px/1.2 var(--serif); margin: 20px 0 8px; }
.pro { margin-bottom: 10px; }
.score { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; background: var(--black); color: var(--sand); padding: 3px 9px; border-radius: 8px; flex: none; }
.badge.ok { background: #D6EFDE; color: var(--ok); }
.badge.warnb { background: #FCE4E1; color: var(--danger); }
.badge.ind { background: #E3EBFF; color: #1E4FD8; }
.last { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.body.chat { padding-bottom: 8px; }
.msgs { display: flex; flex-direction: column; gap: 8px; padding-bottom: 76px; }
.bub { max-width: 82%; padding: 9px 12px; border-radius: 16px; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.bub span { display: block; font-size: 11px; opacity: .6; margin-top: 3px; }
.bub.me { align-self: flex-end; background: var(--black); color: #fff; border-bottom-right-radius: 4px; }
.bub.them { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.composer { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--ivory); border-top: 1px solid var(--line); }
.composer .input { flex: 1; min-width: 0; }
.composer .send { width: auto; min-height: 48px; padding: 0 18px; flex: none; }

/* ---------- Notifications ---------- */
.top { position: relative; }
.bell { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a3a3a; background: transparent; color: #fff; cursor: pointer; flex: none; display: grid; place-items: center; }
.bell svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.bell .cnt, .tabbar .tb { position: absolute; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font: 700 11px/18px var(--sans); text-align: center; font-style: normal; }
.bell .cnt { top: -2px; right: -2px; }
.bell .cnt[hidden] { display: none; }
.tabbar button { position: relative; }
.tabbar .tb { top: 4px; right: calc(50% - 22px); }
.notif { display: block; width: 100%; text-align: left; margin-bottom: 10px; cursor: pointer; font: inherit; color: inherit; }
.notif.unread { border-color: var(--blue); background: #F4F9FF; }
.notif .hint { margin-top: 2px; }

/* ---------- Lot A : sécurité, annulation, historique, fiche candidat ---------- */
.btn-danger { background: var(--danger); color: #fff; }
.nocom { margin-top: 8px; color: var(--muted); font-style: italic; }
.chat-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.chat-actions .linklike { font-size: 14px; }
.eu-card { border-color: #F2C14E; background: #FFF9EC; }
.eu-card .row.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.cand-head { display: flex; gap: 14px; align-items: center; }
.cand-head .score { font: 700 15px var(--sans); }

/* ---------- Lot B : recherche, filtres, cartes ---------- */
.mcard-wrap { margin-bottom: 10px; }
.mcard-wrap .mcard { background: none; border: 0; padding: 0; margin: 0; }
.btn-sm { display: inline-block; width: auto; min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 12px; margin-top: 12px; }
.search .input { border-radius: 14px; padding-left: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236F695D' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 13px center no-repeat; }
.chips.quick { margin-top: 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.chips.quick::-webkit-scrollbar { display: none; }
.chips.quick .chip { flex: none; }
details.filters { margin-top: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
details.filters summary { cursor: pointer; font-weight: 600; list-style: none; }
details.filters summary::-webkit-details-marker { display: none; }
details.filters summary::after { content: "▾"; float: right; color: var(--muted); }
details.filters[open] summary::after { content: "▴"; }
.m-photo { height: 170px; background: var(--anth) center / cover no-repeat; }
button.kpi { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
button.kpi:disabled { cursor: default; opacity: 1; color: inherit; }
.kpis.dash { margin-top: 14px; }
.kpis.dash .kpi b { font-size: 26px; }
.danger-t { color: var(--danger); font-weight: 600; }

/* ---------- Lot C : back-office ---------- */
.li-card { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; margin-top: 10px; }
.li-card .hint { display: block; margin-top: 2px; }
.top .badge.role { margin-left: auto; }
.spark { margin-bottom: 14px; }
.spark:last-child { margin-bottom: 0; }
.spark .row { font-size: 13px; margin-bottom: 6px; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 42px; }
.bars i { flex: 1; background: var(--blue); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .85; }
.kpis.eu { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 10px 0 6px; }
.kpis.eu .kpi { padding: 8px; }
.kpis.eu .kpi b { font-size: 20px; }
.kpis.eu .kpi span { font-size: 10.5px; }

/* Demi-session : favoris, offres, équipe */
.star { flex: none; align-self: flex-start; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line, #d9d4c7); background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.star.on { background: #f5c542; border-color: #f5c542; color: #3a2a00; }
.card.plan.cur { border: 2px solid var(--blue); }
ul.feats { margin: 10px 0 0; padding-left: 18px; }
ul.feats li { margin: 4px 0; font-size: 14px; }
.pill.expired { background: #ECE8DF; color: var(--muted); }
.welcome .legal { margin-top: 2px; }
.welcome .legal .plainlink { font-size: 11px; opacity: .6; }

/* ---------- Plan FREE : candidatures floutées et aperçu de ce qui est réservé au PRO ---------- */
.locked { margin-top: 10px; }
.card.ghost { margin-top: 10px; filter: blur(3px); opacity: .6; pointer-events: none; user-select: none; }
.card.ghost .av { width: 48px; height: 48px; border-radius: 50%; background: var(--line); flex: none; }
.card.ghost i { display: block; height: 11px; width: 62%; border-radius: 6px; background: var(--line); margin: 7px 0; }
.card.ghost i.s { width: 40%; }
.locked-msg { margin-top: 10px; background: var(--white); border: 1px solid var(--blue); border-radius: 16px; padding: 16px; text-align: center; display: grid; gap: 6px; }
.locked-msg .btn { margin-top: 6px; }
.card.teaser { border-color: var(--blue); }
.offers { display: grid; gap: 8px; margin-top: 12px; }
.offer { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; text-align: left; width: 100%; background: var(--ivory); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; color: inherit; }
button.offer { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.offer.on { border-color: var(--blue); background: #EEF3FF; }
.offer .o-l { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.offer .o-p { text-align: right; white-space: nowrap; }
.offer .o-s { grid-column: 1 / -1; font-size: 13px; }
/* Étapes après un match */
.mstep { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.mstep span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ivory); color: var(--muted); border: 1px solid var(--line); }
.mstep span.done { background: #E6F2EA; color: var(--ok); border-color: #CFE6D7; }
.mstep span.cur { background: #EEF3FF; color: var(--blue); border-color: var(--blue); }
p.lab { font-size: 14px; font-weight: 600; color: #3a362f; margin-top: 6px; }
/* Pré-lancement */
.card.prelaunch { border-color: var(--blue); background: #EEF3FF; margin-bottom: 14px; }
.card.prelaunch .hint { margin-top: 4px; }

/* Parcours « Complétez votre profil » */
.ob-list { padding: 4px 14px; }
.ob-step { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ob-step:last-of-type { border-bottom: 0; }
.ob-num { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--line); }
.ob-step.done .ob-num { background: var(--black); color: #fff; }
.ob-txt { flex: 1; min-width: 0; }
.ob-txt strong { display: block; }
.ob-txt .hint { display: block; }
.ob-btn { width: auto; min-height: 40px; padding: 8px 14px; }
.ob-ok { font-weight: 700; font-size: 14px; }
.card.pcard { border: 2px solid var(--black); }

/* Aperçu fondateur */
.preview-pill{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:50;display:flex;gap:10px;align-items:center;background:#C8553D;color:#fff;border-radius:999px;padding:7px 8px 7px 14px;font:600 13px var(--sans);box-shadow:0 6px 18px rgba(0,0,0,.25);max-width:calc(100vw - 24px);white-space:nowrap}
.preview-pill span{overflow:hidden;text-overflow:ellipsis}
.preview-pill button{background:#fff;color:#C8553D;border:0;border-radius:999px;padding:5px 12px;font:700 13px var(--sans);cursor:pointer;flex:none}

/* Admin : candidats d'une mission */
.mcard-go { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.mcard-go span:last-child { font-size: 20px; line-height: 1; }
.pill.invite { background: #F3E7C9; color: #6B4E0E; }
.pill.postule { background: #E3EBFF; color: #1E4FD8; }
.cand-row { margin-bottom: 10px; }
.cand-name { font-size: 16px; font-weight: 700; text-align: left; padding: 0; color: inherit; text-decoration: none; }
.cand-tel-row { margin-top: 6px; font-size: 16px; }
.cand-tel { font-weight: 600; }
