/* =====================================================
 * Talent Onboarding — single-column wizard (no preview)
 * Workflow client "VF Talent onb" habillé du design app.
 * Langage visuel : stepper sticky en haut, gold Tastellers,
 * une seule colonne centrée ~820px.
 * Ported verbatim from the canonical mockup (mockups/talent/onboarding)
 * so the real wizard is pixel-perfect. No inline CSS in the view.
 * ===================================================== */

/* === Shell tokens === */
.pb-shell {
  --pb-bg: #FFFFFF;
  --pb-surface: #FFFFFF;
  --pb-surface-warm: #FBF8F1;
  --pb-border: #E5E5E5;
  --pb-border-soft: #EFEAE0;
  --pb-text: #0A0A0A;
  --pb-text-muted: #737373;
  --pb-text-dim: #A3A3A3;
  --pb-gold-main: var(--gold-500);
  --pb-gold-deep: var(--gold-800);
  --pb-grad: var(--gold-fill);
  --pb-grad-dark: linear-gradient(135deg, var(--gold-800) 0%, #422D05 100%);
  --pb-radius: 12px;
  --pb-radius-sm: 8px;
  font-family: 'Geist', system-ui, sans-serif;
  background: var(--pb-bg);
  color: var(--pb-text);
  min-height: 100vh;
}

/* === Sticky stepper === */
.pb-stepbar {
  position: sticky;
  top: 12px;
  z-index: 50;
  margin: 12px 24px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 24px rgba(26, 22, 20, 0.06);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.pb-brand {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--pb-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pb-brand-logo { height: 24px; width: auto; }

.pb-steps {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.pb-step { display: inline-flex; align-items: center; gap: 8px; }
.pb-step-num {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  border: 0;
  background: #F4F4F5;
  color: var(--pb-text-dim);
  cursor: pointer;
}
.pb-step-num:not(.done):not(.active) { background: #F4F4F5; color: var(--pb-text-dim); border: 1px dashed var(--pb-border); }
.pb-step-num.done { background: var(--pb-grad); color:var(--on-gold);text-shadow:var(--on-gold-shadow); border: 0; }
.pb-step-num.active { background: #000; color: var(--gold-300); box-shadow: 0 0 0 3px rgba(163,133,67,.18); border: 0; }
.pb-step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--pb-text-muted);
  white-space: nowrap;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.pb-step-label.active { color: var(--pb-text); font-weight: 600; }
.pb-step-label.done { color: var(--pb-gold-main); font-weight: 600; }
.pb-step-line {
  width: 32px;
  height: 1px;
  background: var(--pb-border);
  margin: 0 12px;
}
.pb-step-line.done { background: linear-gradient(90deg, var(--pb-gold-main), var(--gold-300)); height: 2px; }

.pb-header-right { display: flex; align-items: center; gap: 14px; }
.pb-help-link {
  font-size: 13px;
  color: var(--pb-text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid var(--pb-border);
  transition: all .15s ease;
}
.pb-help-link:hover { border-color: var(--pb-gold-main); color: var(--pb-gold-main); }
.pb-exit {
  font-size: 13px;
  color: var(--pb-text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 9999px;
}
.pb-exit:hover { background: rgba(163,133,67,.06); color: var(--pb-gold-main); }

/* === Single-column layout === */
/* Retour client 06/08 (#2408, maquette B3) : fond chaud + card blanche
   flottante, comme le mockup. */
.pb-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 72px;
  background: var(--pb-surface-warm);
}
.pb-pane-right {
  background: #FFFFFF;
  padding: 34px 40px 30px;
  width: 100%;
  max-width: 860px;
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 32px rgba(40,28,8,0.07);
}

/* Mobile back button (top-left) — replaces the footer "Retour" on small
   screens per client retour ("en haut à gauche et pas en bas"). */
.pb-back-top {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pb-text-muted);
  text-decoration: none;
  margin-bottom: 8px;
  align-self: flex-start;
}
.pb-back-top:hover { color: var(--pb-gold-main); }

/* ============ FORM ============ */
.tb-form { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.tb-form-head { display: flex; flex-direction: column; gap: 6px; }
.tb-step-counter {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--gold-500); text-transform: uppercase;
}
.tb-step-title {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 24px; font-weight: 700; color: #0A0A0A; line-height: 1.15;
}
.tb-step-title em { font-style: italic; color: var(--pb-gold-main); }
.tb-step-sub { font-size: 13px; color: #737373; line-height: 1.5; }
.tb-step-sub.tight { margin-top: -6px; }

.tb-section-card {
  /* Beige des cards du dashboard talent (cf. .tdb-card, talent_dashboard.css) — issue #1578 */
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,244,194,0.06) 0%, rgba(255,255,255,0) 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(189,151,51,0.04) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FBFAF7 60%, #F6F4EE 100%);
  border: 1px solid #EFEAE0;
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.tb-section-card.plain { background: #FFFFFF; }
.tb-section-card-title { font-size: 13px; font-weight: 700; color: #0A0A0A; }
.tb-section-card-title.with-opt { display: flex; align-items: center; gap: 8px; }
.tb-opt-pill {
  font-weight: 500; text-transform: none; letter-spacing: 0; color: #A3A3A3;
  background: #F0ECE4; padding: 2px 8px; border-radius: 9999px; font-size: 9px;
}
.tb-grid { display: grid; gap: 12px; }
.tb-grid.two { grid-template-columns: 1fr 1fr; }

.tb-field { display: flex; flex-direction: column; gap: 5px; }
.tb-field-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  color: #525252; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.tb-field-label .req { color: var(--gold-500); margin-left: 2px; }
.tb-field-label .opt {
  font-weight: 500; text-transform: none; letter-spacing: 0;
  color: #A3A3A3;
  background: #F0ECE4; padding: 2px 8px; border-radius: 9999px; font-size: 9px;
}
.tb-input, .tb-select {
  width: 100%;
  border: 1px solid #E5E0D4;
  background: #FFFFFF;
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  color: #0A0A0A;
  transition: border-color .15s ease, background .15s ease;
  box-sizing: border-box;
}
.tb-input:focus, .tb-select:focus { outline: none; border-color: var(--gold-500); }
.tb-field-hint { font-size: 11px; color: #A3A3A3; line-height: 1.45; margin-top: 2px; }

/* SSO buttons */
.tb-sso-stack { display: flex; flex-direction: column; gap: 8px; }
.tb-sso-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 13px 18px; border-radius: 10px;
  border: 1.5px solid #E5E0D8; background: #FFFFFF;
  font-family: inherit; font-size: 13px; font-weight: 500;
  color: #0A0A0A; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tb-sso-btn:hover { border-color: var(--gold-500); box-shadow: 0 2px 10px rgba(189,151,51,0.1); }
.tb-divider {
  display: flex; align-items: center; gap: 10px; margin: 4px 0;
  font-size: 11px; color: #A3A3A3;
}
.tb-divider::before, .tb-divider::after { content: ''; flex: 1; height: 1px; background: #E5E0D4; }

/* CGU checkbox */
.tb-cgu-row { display: flex; align-items: flex-start; gap: 10px; padding: 2px 0; }
.tb-cgu-row input[type="checkbox"] {
  width: 15px; height: 15px; accent-color: var(--gold-500); margin-top: 2px; flex-shrink: 0; cursor: pointer;
}
.tb-cgu-label { font-size: 11px; color: #525252; line-height: 1.6; cursor: pointer; }
.tb-cgu-label a { color: var(--gold-500); text-decoration: underline; text-underline-offset: 2px; }

/* Univers selector (photo cards) */
.tb-univers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tb-univers-card {
  position: relative;
  min-height: 110px;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  border: 2.5px solid transparent;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px;
}
.tb-univers-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.28); }
.tb-univers-card.is-selected {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(189,151,51,0.30), 0 8px 22px rgba(0,0,0,0.22);
}
.tb-univers-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.20) 60%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}
.tb-univers-title {
  position: relative; z-index: 1;
  font-size: 16px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.tb-univers-sub {
  position: relative; z-index: 1;
  font-size: 10.5px; color: rgba(255,255,255,0.82);
  margin-top: 3px; line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.tb-univers-check {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 22px; height: 22px; border-radius: 9999px;
  background: var(--pb-grad);
  color:var(--on-gold);text-shadow:var(--on-gold-shadow); display: none; place-items: center;
  font-size: 12px; font-weight: 800;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.tb-univers-card.is-selected .tb-univers-check { display: grid; }

/* Domaine list (radio cards) */
.tb-domaine-list { display: flex; flex-direction: column; gap: 7px; }
.tb-domaine-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid #E5E0D4; background: #FFFFFF;
  font-family: inherit; font-size: 13px; font-weight: 600; color: #525252;
  cursor: pointer; text-align: left; transition: all .15s ease;
}
.tb-domaine-btn:hover { border-color: var(--gold-500); }
.tb-domaine-btn.is-selected {
  background: #FBF4E0; border-color: var(--gold-500); color: var(--gold-800);
  box-shadow: 0 0 0 3px rgba(189,151,51,0.12);
}

/* Pills */
.tb-pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-pill {
  padding: 9px 15px; border-radius: 9999px;
  border: 1px solid #E5E0D4; background: #FFFFFF;
  font-size: 12px; font-weight: 600; color: #525252;
  cursor: pointer; transition: all .15s ease; font-family: inherit;
  display: inline-flex; align-items: center; gap: 7px;
}
.tb-pill:hover { border-color: var(--gold-500); }
.tb-pill.is-selected { background: var(--pb-grad); color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); border-color: transparent; }
.tb-pill .em { font-size: 15px; line-height: 1; }

/* Combobox — intitulé du poste (issue #1579) : dropdown filtrant alimenté par
   la taxonomie des postes (référentiel JobTitle), saisie libre conservée. */
.tb-combobox { position: relative; }
.tb-combobox-input { padding-right: 38px; }
.tb-combobox-toggle {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: 0; background: transparent; border-radius: 7px;
  display: grid; place-items: center; color: #A3A3A3; cursor: pointer;
  transition: color .15s ease;
}
.tb-combobox-toggle:hover { color: var(--gold-500); }
.tb-combobox-toggle svg { transition: transform .18s ease; }
.tb-combobox.is-open .tb-combobox-toggle { color: var(--gold-500); }
.tb-combobox.is-open .tb-combobox-toggle svg { transform: rotate(180deg); }
.tb-combobox-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: #FFFFFF; border: 1px solid #E5E0D4; border-radius: 10px;
  box-shadow: 0 12px 32px rgba(26, 22, 20, 0.14);
  max-height: 280px; overflow-y: auto; padding: 6px;
}
.tb-combobox-group-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-500); padding: 8px 10px 4px;
}
.tb-combobox-group + .tb-combobox-group { border-top: 1px solid #F3F0E8; margin-top: 4px; padding-top: 2px; }
.tb-combobox-option {
  display: block; width: 100%; text-align: left;
  padding: 8px 10px; border: 0; border-radius: 7px; background: transparent;
  font-family: inherit; font-size: 13px; font-weight: 500; color: #0A0A0A;
  cursor: pointer; transition: background .12s ease, color .12s ease;
}
.tb-combobox-option:hover, .tb-combobox-option.is-active { background: #FBF4E0; color: var(--gold-800); }
/* display:block/grid des classes ci-dessus > [hidden] UA : on ré-affirme le
   masquage pour le filtrage JS. */
.tb-combobox-panel [hidden] { display: none !important; }
.tb-combobox-option.is-selected { color: var(--gold-800); font-weight: 700; }
.tb-combobox-option.is-selected::after { content: '\2713'; float: right; color: var(--gold-500); font-weight: 700; }
.tb-combobox-empty { padding: 10px 12px; font-size: 12px; color: #737373; line-height: 1.5; }

/* Suggestion chips (titre / km) */
.tb-sug-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tb-sug-chip {
  padding: 6px 12px; border-radius: 9999px;
  border: 1px solid #E5E0D4; background: #FFFFFF;
  font-size: 11px; font-weight: 600; color: #525252;
  cursor: pointer; transition: all .15s ease; font-family: inherit;
}
.tb-sug-chip:hover { border-color: var(--gold-500); }
.tb-sug-chip.is-selected { background: #FBF4E0; border-color: var(--gold-500); color: var(--gold-800); }

/* Langues parlées (issue #1580) — refonte selon la maquette client : une ligne
   par langue, niveau en 5 points dorés + libellé CECR, toggle « Langue
   maternelle », menu « + Ajouter une langue ». */
.tb-langs { gap: 0; }
.tb-langs-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--gold-500); text-transform: uppercase; padding-bottom: 6px;
}
.tb-lang-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tb-lang-row {
  display: flex; flex-direction: column; gap: 13px;
  padding: 16px 0 18px; border-bottom: 1px solid #EBE5D8;
}
.tb-lang-head { display: flex; align-items: center; gap: 12px; }
.tb-lang-flag { font-size: 22px; line-height: 1; }
.tb-lang-name { flex: 1; font-size: 17px; font-weight: 700; color: #0A0A0A; letter-spacing: -0.01em; }
.tb-lang-remove {
  width: 30px; height: 30px; border: 0; border-radius: var(--r-sm); background: transparent;
  display: grid; place-items: center; color: #737373; cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.tb-lang-remove:hover { color: #0A0A0A; background: #F5F1EB; }
.tb-lang-level { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.tb-lang-dots { display: flex; gap: 12px; }
.tb-lang-dot {
  width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0;
  background: #EDE7D8; cursor: pointer;
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
.tb-lang-dot:hover { transform: scale(1.1); box-shadow: 0 0 0 3px rgba(189,151,51,0.15); }
.tb-lang-dot.is-filled { background: linear-gradient(135deg, var(--gold-primary), var(--gold-500)); }
.tb-lang-level-label { font-size: 16px; font-weight: 700; color: #0A0A0A; white-space: nowrap; }
.tb-lang-level-label em { font-style: normal; color: var(--gold-500); }
.tb-lang-native {
  align-self: flex-start; padding: 9px 18px; border-radius: 9999px;
  border: 1px solid #E0D9C8; background: #FFFFFF;
  font-family: inherit; font-size: 13.5px; font-weight: 600; color: #737373;
  cursor: pointer; transition: all .15s ease;
}
.tb-lang-native:hover { border-color: var(--gold-500); color: var(--gold-800); }
.tb-lang-native.is-on { background: #FBF4E0; border-color: var(--gold-500); color: var(--gold-800); }
.tb-lang-add { position: relative; margin-top: 16px; }
.tb-lang-add-btn {
  padding: 13px 22px; border: 0; border-radius: var(--r-md);
  background: #F5ECD3; color: var(--gold-500);
  font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .15s ease, box-shadow .15s ease;
}
.tb-lang-add-btn:hover { background: #F1E5C2; box-shadow: 0 2px 10px rgba(189,151,51,0.18); }
.tb-lang-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
  min-width: 250px; max-height: 300px; overflow-y: auto;
  background: #FFFFFF; border: 1px solid #EFEAE0; border-radius: 14px;
  box-shadow: 0 18px 44px rgba(26, 22, 20, 0.16); padding: 8px;
}
.tb-lang-menu [hidden] { display: none !important; }
.tb-lang-menu-item {
  display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 11px 12px; border: 0; border-radius: 9px; background: transparent;
  font-family: inherit; font-size: 15px; font-weight: 500; color: #0A0A0A;
  text-align: left; cursor: pointer; transition: background .12s ease;
}
.tb-lang-menu-item:hover { background: #FBF4E0; }
.tb-lang-menu-flag { font-size: 19px; line-height: 1; }
.tb-langs .tb-field-hint { margin-top: 12px; }

/* Choice cards (format / contrat / disponibilité) */
.tb-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tb-choice-grid.four { grid-template-columns: repeat(4, 1fr); }
.tb-choice-grid.three { grid-template-columns: repeat(3, 1fr); }

/* Issue #1584 — révélation douce des sous-choix de contrat quand le format
   « Contrat » est sélectionné (section masquée via [hidden] sinon). */
.tb-reveal:not([hidden]) { animation: tb-reveal-in .28s ease; }
@keyframes tb-reveal-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.tb-choice-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 14px 8px; border-radius: 11px;
  border: 1.5px solid #E5E0D4; background: #FFFFFF;
  font-size: 12px; font-weight: 600; color: #525252;
  text-align: center; line-height: 1.3; min-height: 64px;
  cursor: pointer; transition: all .15s ease; font-family: inherit;
}
.tb-choice-card:hover { border-color: var(--gold-500); }
.tb-choice-card.is-selected {
  background: #FBF4E0; border-color: var(--gold-500); color: var(--gold-800);
  box-shadow: 0 0 0 3px rgba(189,151,51,0.12);
}
.tb-choice-em { font-size: 20px; line-height: 1; }
.tb-choice-title { font-size: 13px; font-weight: 700; color: #0A0A0A; }
.tb-choice-sub { font-size: 10.5px; color: #737373; }
.tb-choice-card.is-selected .tb-choice-title { color: var(--pb-gold-deep); }

/* Range slider (salaire min/max) */
.tb-range-wrap { padding: 6px 2px 0; }
.tb-range-track {
  position: relative; height: 4px; border-radius: 2px;
  background: #E5E0D4; margin: 16px 0 30px;
}
.tb-range-fill {
  position: absolute; height: 4px; border-radius: 2px;
  background: var(--pb-gold-main); left: 0; width: 50%;
}
/* Issue #1586 : l'input s'étend sur la hauteur du curseur et est centré sur la
   barre (top 50% + translateY), le thumb est donc centré verticalement quel que
   soit le rendu navigateur — plus de hack margin-top négatif. */
.tb-range-input {
  position: absolute; width: 100%; pointer-events: none;
  -webkit-appearance: none; appearance: none;
  height: 22px; background: transparent;
  top: 50%; transform: translateY(-50%); margin: 0; padding: 0;
}
.tb-range-input::-webkit-slider-runnable-track {
  -webkit-appearance: none; appearance: none;
  height: 22px; background: transparent; border: none;
}
.tb-range-input::-webkit-slider-thumb {
  pointer-events: all; -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--pb-gold-main);
  box-shadow: 0 2px 8px rgba(0,0,0,0.13); cursor: pointer; margin-top: 0;
}
.tb-range-input::-moz-range-thumb {
  pointer-events: all; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--pb-gold-main);
  box-shadow: 0 2px 8px rgba(0,0,0,0.13); cursor: pointer;
}
.tb-range-vals { display: flex; justify-content: space-between; align-items: flex-end; margin-top: -22px; }
.tb-range-block { display: flex; flex-direction: column; gap: 1px; }
.tb-range-block.right { align-items: flex-end; }
.tb-range-label { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-500); }
.tb-range-amount { font-size: 18px; font-weight: 700; color: #0A0A0A; }

/* TJM prefix input */
.tb-tjm-wrap { position: relative; }
.tb-tjm-prefix {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: #A3A3A3; font-weight: 500; pointer-events: none;
}
.tb-input.tjm { padding-left: 28px; }

/* km radius pills */
.tb-km-pills { display: flex; gap: 6px; flex-wrap: wrap; }

/* Info card */
.tb-info-card {
  background: #FBF8F1; border: 1px solid #EFEAE0;
  border-radius: 10px; padding: 12px 14px;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: #525252; line-height: 1.55;
}
.tb-info-card strong { color: var(--gold-500); }
.tb-info-icon { font-size: 16px; flex-shrink: 0; line-height: 1.3; }

/* ============ FINAL: WELCOME SCREEN ============ */
.tb-welcome-hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 4px 0 8px;
}
.tb-welcome-check {
  width: 60px; height: 60px; border-radius: 9999px;
  background: var(--pb-grad);
  display: grid; place-items: center; color:var(--on-gold);text-shadow:var(--on-gold-shadow);
  margin-bottom: 8px; box-shadow: 0 6px 18px rgba(189,151,51,0.3);
}
.tb-welcome-title {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 26px; font-weight: 700; color: #0A0A0A; line-height: 1.15;
}
.tb-welcome-title em { font-style: italic; color: var(--pb-gold-main); }
.tb-welcome-meta {
  font-size: 13px; color: #737373;
  display: inline-flex; align-items: center; gap: 8px;
}
.tb-welcome-meta .sep { color: #D4CCB8; }
.tb-welcome-sub { max-width: 440px; margin-top: 6px; }
.tb-status-dot {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--gold-500);
}
.tb-status-dot::before { content: ''; width: 7px; height: 7px; border-radius: 9999px; background: var(--gold-500); }

/* Barre de complétion du profil (issue #1588) — design repris de la card
   équivalente du dashboard talent (.tdb-hello-comp). */
.tb-welcome-comp {
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(248,244,237,0.5));
  border: 1px solid rgba(0,0,0,0.04); border-radius: var(--r-md); padding: 14px 16px;
}
.tb-comp-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2px; }
.tb-comp-label { font-family: 'Geist', system-ui, sans-serif; font-size: 15px; font-weight: 600; color: #1a1a1a; line-height: 1.2; }
.tb-comp-pct { font-family: 'Geist', system-ui, sans-serif; font-weight: 600; color: var(--pb-gold-main); line-height: 1; }
.tb-comp-pct-num { font-size: 26px; }
.tb-comp-pct-sign { font-size: 15px; margin-left: 1px; }
.tb-comp-track { height: 6px; background: rgba(0,0,0,0.04); border-radius: 4px; overflow: hidden; }
.tb-comp-fill { height: 100%; background: var(--pb-grad); border-radius: 4px; transition: width .4s ease; }

/* Activation checklist */
.tb-checklist { display: flex; flex-direction: column; gap: 8px; }
.tb-check-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; border-radius: var(--r-md);
  border: 1px solid #EFEAE0; background: #FFFFFF;
  cursor: pointer; transition: all .15s ease; text-decoration: none;
}
.tb-check-item:hover { border-color: var(--gold-500); }
.tb-check-item.mandatory { background: #FBF4E0; border-color: rgba(189,151,51,0.35); }
.tb-check-icon {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 15px;
  background: #FBF4E0; color: var(--gold-500);
}
.tb-check-item.mandatory .tb-check-icon { background: var(--pb-grad); color:var(--on-gold);text-shadow:var(--on-gold-shadow); }
/* Issue #1589 : action non complétée = rond vide (cercle outline), y compris
   sur les items "mandatory" ; l'état complété conserve sa coche gold. */
.tb-check-item .tb-check-icon.todo,
.tb-check-item.mandatory .tb-check-icon.todo {
  background: transparent; border: 2px solid rgba(189,151,51,0.5);
  border-radius: 50%; color: transparent;
}
.tb-check-body { flex: 1; min-width: 0; }
.tb-check-label { font-size: 13px; font-weight: 600; color: #0A0A0A; }
.tb-check-sub { font-size: 11px; color: #737373; margin-top: 1px; }
.tb-check-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 9999px; white-space: nowrap; flex-shrink: 0;
}
.tb-check-badge.req { background: #FAF0D0; color: var(--gold-500); border: 1px solid rgba(184,145,42,0.3); }
.tb-check-badge.ai { background: #fff; color: var(--gold-500); border: 1px solid var(--gold-200); }
.tb-check-arrow { color: #A3A3A3; font-size: 16px; flex-shrink: 0; }

/* Job cards (offres recommandées) */
.tb-job-stack { display: flex; flex-direction: column; gap: 8px; }
.tb-job-card {
  background: #FFFFFF; border: 1px solid #EFEAE0; border-radius: var(--r-md);
  padding: 13px 14px; display: flex; align-items: flex-start; gap: 12px;
  transition: box-shadow .15s ease;
}
.tb-job-card:hover { box-shadow: 0 4px 16px rgba(38,28,8,0.08); }
.tb-job-avatar {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff;
}
.tb-job-body { flex: 1; min-width: 0; }
.tb-job-row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.tb-job-title { font-size: 14px; font-weight: 600; color: #0A0A0A; }
.tb-job-badge {
  font-size: 10px; font-weight: 600; border-radius: 9999px; padding: 3px 8px; white-space: nowrap;
}
.tb-job-badge.match { background: #FBF6EC; color: var(--gold-500); border: 1px solid rgba(163,133,67,0.25); }
.tb-job-badge.new { background: #F5F1EB; color: #737373; border: 1px solid rgba(0,0,0,0.08); }
.tb-job-sub { font-size: 12px; color: #737373; margin-bottom: 7px; }
.tb-job-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tb-job-tag {
  font-size: 11px; padding: 3px 9px; border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.08); background: #F5F1EB; color: #525252;
}
.tb-job-tag.gold { background: #FAF3DC; border-color: rgba(163,133,67,0.25); color: var(--gold-500); }

.tb-feed-head {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: -8px;
}

/* Form footer */
.tb-form-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 8px;
}
.tb-form-footer .spacer { display: inline-block; }

/* CV upload dropzone (parse_cv, AC4.1) */
.tb-cv-drop {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 1.5px dashed var(--gold-200); border-radius: var(--r-md);
  padding: 22px 18px; background: #FFFDF7; text-align: center; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.tb-cv-drop:hover { border-color: var(--gold-500); background: #FBF4E0; }
.tb-cv-drop-icon { font-size: 24px; }
.tb-cv-drop-title { font-size: 13px; font-weight: 700; color: #0A0A0A; }
.tb-cv-drop-sub { font-size: 11px; color: #A3A3A3; }
.tb-cv-filename { font-size: 12px; font-weight: 600; color: var(--gold-500); }

/* Step panel visibility */
.tb-step-panel { display: none; }
.tb-step-panel.active { display: flex; flex-direction: column; gap: 24px; }

/* Responsive */
@media (max-width: 760px) {
  .pb-step-label { display: none; }
  .pb-step-line { width: 12px; margin: 0 6px; }
  .pb-split { padding: 20px 12px 48px; }
  .pb-pane-right { padding: 22px 18px 24px; border-radius: var(--r-lg); }
  .pb-back-top { display: inline-flex; }
  .pb-back-footer { display: none; }
}
@media (max-width: 600px) {
  .tb-grid.two { grid-template-columns: 1fr; }
  .tb-choice-grid.four { grid-template-columns: repeat(2, 1fr); }
  .tb-choice-grid.three { grid-template-columns: repeat(2, 1fr); }
  /* Onboarding top bar: drop the (future) help link and tighten so logo + steps
     + exit fit instead of overflowing the bar on narrow screens. */
  .pb-help-link { display: none; }
  .pb-header-right { gap: 8px; }
  .pb-step-line { width: 8px; margin: 0 4px; }
  .pb-stepbar { margin: 8px 10px 0; padding: 12px 14px; }
}
