/*
 * CVthèque Colybry (/partenaires/emploi/) — feuille de style de l'application.
 *
 * Refonte UI du 03/10/2026 : registre « application moderne » (Linear, Attio,
 * Ashby) aux couleurs Colybry. Principes :
 *   - fond plat et clair, surfaces blanches à bordure fine, ombres discrètes ;
 *   - une barre latérale pour naviguer, une seule barre d'outils par page ;
 *   - un seul style de bouton principal (turquoise, texte marine), le reste
 *     en boutons « fantômes » ou icônes ;
 *   - 3 familles de statut (neutre / positif / négatif), signalées par une
 *     pastille de couleur plutôt que par des aplats.
 * Préfixes : cb-app-* (coquille), cb-emp-* (écrans métier), cb-* (primitives).
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --turquoise: #50DDC4;
  --turquoise-dark: #1FA88F;
  --turquoise-tint: #E9FBF8;
  --marine: #233048;
  --violet: #815EE5;
  --violet-dark: #5022D3;
  --violet-tint: #F3F0FE;
  --amber: #A86B00;
  --amber-tint: #FDF4E3;
  --danger: #D93B4A;
  --danger-bg: #FDEEEF;

  --ink: #1B2537;
  --ink-2: #4B5872;
  --ink-3: #8390A5;
  --slate: #5B6B82;
  --line: #E5E8EE;
  --line-soft: #EFF1F5;
  --canvas: #F6F7F9;
  --surface: #FFFFFF;
  --hover: #F2F4F7;
  --bg: var(--canvas);
  --border: var(--line);

  --r-sm: 8px;
  --r: 10px;
  --r-lg: 14px;
  --shadow-xs: 0 1px 2px rgba(27,37,55,0.05);
  --shadow-card: 0 1px 2px rgba(27,37,55,0.04), 0 1px 3px rgba(27,37,55,0.04);
  --shadow-lift: 0 10px 30px rgba(27,37,55,0.12), 0 2px 6px rgba(27,37,55,0.06);
  --shadow-panel: -24px 0 60px rgba(27,37,55,0.16);
  --sidebar-w: 244px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--turquoise-dark); }
input, textarea, select, button { font-family: inherit; font-size: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.cb-i { flex-shrink: 0; display: block; }
.cb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================== Primitives ============================== */
.cb-app-btn, .cb-emp-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 14px; border-radius: var(--r); border: 1px solid transparent;
  background: var(--turquoise); color: var(--marine); font-weight: 600; font-size: 0.86rem;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.cb-app-btn:hover, .cb-emp-btn-primary:hover { background: #3fd1b7; }
.cb-app-btn:disabled, .cb-emp-btn-primary:disabled { opacity: .55; cursor: default; }
.cb-app-btn-sm { height: 30px; padding: 0 11px; font-size: 0.8rem; border-radius: var(--r-sm); }
.cb-app-btn-block { width: 100%; }
.cb-app-btn-ghost, .cb-emp-btn-secondary {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
  font-weight: 500; font-size: 0.86rem; cursor: pointer; text-decoration: none; box-shadow: var(--shadow-xs);
}
.cb-app-btn-ghost:hover, .cb-emp-btn-secondary:hover { background: var(--hover); }
.cb-app-btn-icon { width: 36px; padding: 0; justify-content: center; }
.cb-app-btn-group { display: inline-flex; }
.cb-app-btn-group > .cb-app-btn-ghost:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.cb-app-btn-group > .cb-app-btn-ghost + .cb-app-btn-ghost { margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; }

.cb-app-iconbtn {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: var(--r-sm); border: none; background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background .15s, color .15s;
}
.cb-app-iconbtn:hover { background: var(--hover); color: var(--ink); }
.cb-app-iconbtn:disabled { opacity: .35; cursor: default; background: transparent; }
.cb-app-iconbtn-sm { width: 26px; height: 26px; }

.cb-app-seg { display: inline-flex; padding: 2px; gap: 2px; background: var(--hover); border-radius: var(--r-sm); }
.cb-app-seg a {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px;
  font-size: 0.76rem; font-weight: 600; color: var(--ink-3); text-decoration: none;
}
.cb-app-seg a.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }
.cb-app-seg-lg a { padding: 6px 11px; font-size: 0.82rem; }
.cb-app-seg-lg { border-radius: var(--r); padding: 3px; }

.cb-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px;
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all .15s;
}
.cb-chip > span:last-child { color: var(--ink-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.cb-chip:hover { background: var(--hover); }
.cb-chip.active { background: var(--marine); border-color: var(--marine); color: #fff; }
.cb-chip.active > span:last-child { color: var(--turquoise); }
.cb-chip[data-emp-filter="fav"].active { background: var(--amber-tint); border-color: #F0D49A; color: var(--amber); }
.cb-chip[data-emp-filter="fav"].active > span:last-child { color: var(--amber); }

.cb-search {
  position: relative; display: flex; align-items: center; gap: 8px; height: 36px; width: 260px; max-width: 100%;
  padding: 0 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink-3); box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s;
}
.cb-search:focus-within { border-color: var(--turquoise-dark); box-shadow: 0 0 0 3px rgba(80,221,196,0.25); }
.cb-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-size: 0.86rem; color: var(--ink); }
.cb-search input::-webkit-search-cancel-button { display: none; }
.cb-search kbd {
  font-family: inherit; font-size: 0.7rem; color: var(--ink-3); border: 1px solid var(--line);
  border-radius: 5px; padding: 0 5px; line-height: 18px; background: var(--canvas);
}

.cb-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%;
  font-weight: 700; letter-spacing: 0.01em; color: var(--marine); background: var(--violet-tint);
}
.cb-avatar-sm { width: 28px; height: 28px; font-size: 0.7rem; }
.cb-avatar-lg { width: 48px; height: 48px; font-size: 1rem; }
.cb-avatar[data-teinte="0"] { background: #E9FBF8; color: #137F6C; }
.cb-avatar[data-teinte="1"] { background: #F3F0FE; color: #5022D3; }
.cb-avatar[data-teinte="2"] { background: #FDF1E4; color: #A55A0B; }
.cb-avatar[data-teinte="3"] { background: #E8F1FD; color: #1D5FB8; }
.cb-avatar[data-teinte="4"] { background: #FDECF2; color: #B4235A; }
.cb-avatar[data-teinte="5"] { background: #EEF2E3; color: #4E6B12; }

.cb-emp-nie-tag {
  display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px;
  background: var(--turquoise-tint); color: #137F6C; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.04em;
  vertical-align: middle;
}

/* Statuts : 3 familles seulement (le statut est configurable, sa famille est
   connue du CSS via cb_cvtheque_status_badge_class()). */
.cb-emp-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--violet); }
[data-badge="positif"] .cb-emp-status-dot, [data-badge="positif"] > .cb-emp-status-dot { background: var(--turquoise-dark); }
[data-badge="negatif"] .cb-emp-status-dot { background: var(--danger); }
.cb-emp-badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; white-space: nowrap; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
}
.cb-emp-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.cb-emp-badge-positif { color: #137F6C; border-color: #BFEDE3; background: var(--turquoise-tint); }
.cb-emp-badge-positif::before { background: var(--turquoise-dark); }
.cb-emp-badge-negatif { color: var(--danger); border-color: #F7CDD1; background: var(--danger-bg); }
.cb-emp-badge-negatif::before { background: var(--danger); }

/* ============================== Coquille : barre latérale ============================== */
body:has(> .cb-app-sidebar) { padding-left: var(--sidebar-w); }
.cb-app-sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); z-index: 40;
  display: flex; flex-direction: column; gap: 4px; padding: 14px 12px 12px;
  background: #FBFBFC; border-right: 1px solid var(--line);
}
.cb-app-brand { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 10px; }
.cb-app-brand-logo img { height: 20px; width: auto; display: block; }
.cb-app-sidebar-close { display: none; }
.cb-app-company {
  display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 8px;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-xs);
}
.cb-app-company-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.cb-app-company-mono {
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--marine); color: #fff; font-weight: 700; font-size: 0.8rem;
}
.cb-app-company-name { font-weight: 600; font-size: 0.84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cb-app-nav { display: flex; flex-direction: column; gap: 1px; }
.cb-app-nav-link {
  display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: var(--r-sm);
  color: var(--ink-2); font-weight: 500; font-size: 0.86rem; text-decoration: none; transition: background .12s, color .12s;
}
.cb-app-nav-link .cb-i { color: var(--ink-3); }
.cb-app-nav-link:hover { background: var(--hover); color: var(--ink); }
.cb-app-nav-link.active { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--line); }
.cb-app-nav-link.active .cb-i { color: var(--turquoise-dark); }
.cb-app-nav-label { margin: 16px 10px 4px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

.cb-app-sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.cb-app-credits { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 10px 12px; }
.cb-app-credits-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.78rem; color: var(--ink-2); }
.cb-app-credits-row strong { font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.cb-app-credits.is-low { border-color: #F0D49A; background: var(--amber-tint); }
.cb-app-credits.is-low strong { color: var(--amber); }
.cb-app-credits.is-out { border-color: #F7CDD1; background: var(--danger-bg); }
.cb-app-credits.is-out strong { color: var(--danger); }
.cb-app-credits-note { font-size: 0.74rem; color: var(--ink-2); margin: 6px 0 8px; line-height: 1.4; }
.cb-app-credits-sent { font-size: 0.76rem; color: #137F6C; margin-top: 6px; }

.cb-app-user { position: relative; }
.cb-app-user summary {
  list-style: none; display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: var(--r-sm);
  cursor: pointer; color: var(--ink-3);
}
.cb-app-user summary::-webkit-details-marker { display: none; }
.cb-app-user summary:hover, .cb-app-user[open] summary { background: var(--hover); }
.cb-app-user-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--marine); color: #fff; font-size: 0.72rem; font-weight: 700;
}
.cb-app-user-text { flex: 1; min-width: 0; }
.cb-app-user-text strong { display: block; font-size: 0.8rem; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-app-user-menu {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 5; padding: 5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column;
}
.cb-app-user-menu > a, .cb-app-user-lang > span:first-child {
  display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 6px;
  font-size: 0.82rem; color: var(--ink); text-decoration: none;
}
.cb-app-user-menu > a .cb-i, .cb-app-user-lang .cb-i { color: var(--ink-3); }
.cb-app-user-menu > a:hover { background: var(--hover); }
.cb-app-user-menu > a.is-danger { color: var(--danger); }
.cb-app-user-menu > a.is-danger .cb-i { color: var(--danger); }
.cb-app-user-lang { display: flex; align-items: center; justify-content: space-between; padding-right: 4px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin: 3px 0; padding-top: 3px; padding-bottom: 3px; }

.cb-app-mobilebar, .cb-app-scrim { display: none; }
.cb-app-credits-pill {
  min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; text-decoration: none; color: var(--ink); background: var(--hover);
}
.cb-app-credits-pill.is-low { background: var(--amber-tint); color: var(--amber); }
.cb-app-credits-pill.is-out { background: var(--danger-bg); color: var(--danger); }

@media (max-width: 900px) {
  body:has(> .cb-app-sidebar) { padding-left: 0; }
  .cb-app-mobilebar {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    height: 52px; padding: 0 10px; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  }
  .cb-app-mobilebar-logo img { height: 18px; display: block; }
  /* 03/10/2026 : tiroir fermé en visibility:hidden (liens non focusables au clavier), masqué après l'animation */
  .cb-app-sidebar { transform: translateX(-102%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; box-shadow: var(--shadow-lift); width: min(300px, 86vw); }
  .cb-app-sidebar-close { display: inline-flex; }
  .cb-app-nav-open .cb-app-sidebar { transform: none; visibility: visible; transition: transform .25s var(--ease), visibility 0s; }
  .cb-app-scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(27,37,55,0.35); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .cb-app-nav-open .cb-app-scrim { opacity: 1; pointer-events: auto; }
}

/* ============================== Pages ============================== */
.cb-emp-main { max-width: 1080px; margin: 0 auto; padding: 28px 32px 64px; }
.cb-emp-main--board { max-width: none; padding: 24px 28px 32px; }
.cb-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cb-page-title { min-width: 0; }
.cb-page-title h1, .cb-emp-toolbar h1 { font-size: 1.35rem !important; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); }
.cb-page-sub { margin-top: 4px; font-size: 0.84rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cb-page-sub-new { color: var(--violet-dark); font-weight: 600; }
.cb-page-sub-sep { color: var(--line); }
.cb-page-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cb-emp-campaign {
  position: relative; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% + 8px);
  margin-left: -8px; padding: 2px 8px; border-radius: var(--r-sm); cursor: pointer; color: var(--ink);
}
.cb-emp-campaign:hover, .cb-emp-campaign:focus-within { background: var(--hover); }
.cb-emp-campaign-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-emp-campaign .cb-i { color: var(--ink-3); }
/* Liste native posée par-dessus le titre : accessible au clavier et sur mobile. */
.cb-emp-campaign select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }

/* Pages secondaires (reporting, facturation, équipe, profil) : même en-tête
   que la page Candidats, contenu sur une colonne lisible. */
.cb-emp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cb-emp-toolbar h2 { font-size: 1rem; font-weight: 600; }
.cb-emp-card-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-card);
}
.cb-emp-card-box h2 { font-size: 0.95rem !important; font-weight: 600; color: var(--ink); }
.cb-emp-flash, .cb-emp-error {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r); margin-bottom: 16px; font-size: 0.86rem;
  background: var(--turquoise-tint); border: 1px solid #BFEDE3; color: #0F5F51;
}
.cb-emp-error { background: var(--danger-bg); border-color: #F7CDD1; color: #A72634; }
.cb-emp-empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 44px 20px; color: var(--ink-3); font-size: 0.88rem;
}
.cb-emp-empty .cb-i { color: var(--ink-3); }
.cb-emp-search-empty { margin-top: 12px; }

.cb-emp-field { display: flex; flex-direction: column; gap: 6px; }
.cb-emp-field label { font-size: 0.8rem; font-weight: 500; color: var(--ink-2); }
.cb-emp-field input, .cb-emp-field textarea, .cb-emp-field select, .cb-emp-main select:not(.cb-emp-status-select):not(#cbEmpCampagneSelect) {
  height: 38px; padding: 0 12px !important; border: 1px solid var(--line) !important; border-radius: var(--r) !important; background: var(--surface);
  font-size: 0.88rem; width: 100%; box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s;
}
.cb-emp-field textarea { height: auto; padding: 10px 12px !important; }
.cb-emp-field input:focus, .cb-emp-field textarea:focus, .cb-emp-main select:focus { outline: none; border-color: var(--turquoise-dark) !important; box-shadow: 0 0 0 3px rgba(80,221,196,0.25); }
.cb-emp-main input[type="file"] { font-size: 0.82rem; color: var(--ink-2); }
.cb-emp-main input[type="file"]::file-selector-button {
  height: 34px; padding: 0 12px; margin-right: 10px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font-family: inherit; font-weight: 500; cursor: pointer;
}

.cb-emp-view-tabs { display: inline-flex; padding: 3px; gap: 2px; background: var(--hover); border-radius: var(--r); }
.cb-emp-view-tabs a, .cb-emp-view-tabs button {
  padding: 6px 12px; border-radius: 7px; font-size: 0.8rem; font-weight: 600; color: var(--ink-3); text-decoration: none; border: none; background: none; cursor: pointer;
}
.cb-emp-view-tabs a.active, .cb-emp-view-tabs button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }
.cb-emp-period-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.cb-emp-period-value { width: auto !important; min-width: 180px; }
.cb-emp-report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.cb-emp-report-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow-card); }
.cb-emp-report-tile.good { border-color: #BFEDE3; background: linear-gradient(180deg, #F2FDFA, #fff); }
.cb-emp-report-tile .n { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cb-emp-report-tile.good .n { color: #137F6C; }
.cb-emp-report-tile .l { font-size: 0.78rem; color: var(--ink-3); margin-top: 2px; }
.cb-emp-report-list-item { padding: 12px 4px; border-bottom: 1px solid var(--line-soft); font-size: 0.86rem; }
.cb-emp-report-list-item:last-child { border-bottom: none; }
.cb-emp-main .slug { color: var(--ink-3); font-size: 0.82rem; }
.cb-emp-main h2 { font-weight: 600; }

.cb-emp-credits-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cb-emp-credits-head > div { display: flex; flex-direction: column; }
.cb-emp-credits-head strong { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.cb-emp-credits-sub { margin: 18px 0 6px; font-size: 0.8rem !important; color: var(--ink-3) !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.cb-emp-credits-log { list-style: none; }
.cb-emp-credits-log li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.86rem; }
.cb-emp-credits-log li:last-child { border-bottom: none; }
.cb-emp-credits-log small { display: block; font-size: 0.74rem; color: var(--ink-3); }
.cb-emp-credits-log .is-neg { color: var(--ink-2); }
.cb-emp-credits-log .is-pos { color: #137F6C; }

/* ============================== Kanban ============================== */
.cb-emp-kanban {
  display: flex; gap: 12px; overflow-x: auto; align-items: flex-start;
  height: calc(100vh - 140px); min-height: 360px; padding-bottom: 8px;
}
.cb-emp-col {
  flex: 1 1 260px; min-width: 250px; max-width: 360px; display: flex; flex-direction: column; max-height: 100%;
  background: #EFF1F4; border-radius: var(--r-lg); padding: 6px; transition: background .15s, box-shadow .15s;
}
.cb-emp-col-head { display: flex; align-items: center; gap: 8px; padding: 8px 8px 10px; }
.cb-emp-col-name { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.cb-emp-col-head .count {
  margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(27,37,55,0.06); color: var(--ink-2); font-size: 0.72rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.cb-emp-col-cards { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 0 2px 2px; min-height: 60px; }
.cb-emp-empty-col { font-size: 0.78rem; color: var(--ink-3); padding: 18px 8px; text-align: center; border: 1px dashed #D9DDE5; border-radius: var(--r); }
.cb-dragging .cb-emp-col { box-shadow: inset 0 0 0 1px #D9DDE5; }
.cb-emp-col.drag-over { background: var(--turquoise-tint); box-shadow: inset 0 0 0 2px var(--turquoise); }

.cb-emp-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 10px 9px; cursor: pointer; box-shadow: var(--shadow-xs);
  transition: box-shadow .15s, border-color .15s, transform .12s;
}
.cb-emp-card:hover { border-color: #D3D8E1; box-shadow: var(--shadow-card), 0 4px 12px rgba(27,37,55,0.06); }
.cb-emp-card.dragging { opacity: .45; transform: rotate(1deg); }
.cb-emp-card-head { display: flex; align-items: center; gap: 9px; }
.cb-emp-card-name { flex: 1; min-width: 0; font-weight: 600; font-size: 0.86rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-emp-card-meta { margin: 6px 0 0 37px; font-size: 0.78rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-emp-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin: 8px 0 0 37px; min-width: 0; }
.cb-emp-card-date { font-size: 0.72rem; color: var(--ink-3); }
.cb-emp-card-tags { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 8px; min-width: 0; color: var(--ink-3); font-size: 0.72rem; }
.cb-emp-card-comments { display: inline-flex; align-items: center; gap: 3px; }

.cb-emp-favorite {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px;
  border: none; background: none; color: var(--ink-3); cursor: pointer; transition: color .15s, background .15s, opacity .15s;
}
.cb-emp-favorite:hover { background: var(--hover); color: var(--ink-2); }
.cb-emp-favorite.active, .cb-emp-favorite.active:hover { color: #E0A100; }
.cb-emp-favorite.active .cb-i { fill: #F5B90B; stroke: #E0A100; }
.cb-emp-card .cb-emp-favorite:not(.active) { opacity: 0; }
.cb-emp-card:hover .cb-emp-favorite, .cb-emp-card:focus-within .cb-emp-favorite { opacity: 1; }
@media (hover: none) { .cb-emp-card .cb-emp-favorite:not(.active) { opacity: .6; } }

/* ============================== Liste ============================== */
.cb-emp-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.cb-emp-table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.cb-emp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cb-emp-table th {
  text-align: left; font-size: 0.74rem; font-weight: 500; color: var(--ink-3); padding: 10px 14px;
  border-bottom: 1px solid var(--line); background: #FBFBFC; white-space: nowrap;
}
.cb-emp-table td { padding: 10px 14px; border-bottom: 1px solid var(--line-soft); font-size: 0.86rem; color: var(--ink-2); vertical-align: middle; }
.cb-emp-table tr:last-child td { border-bottom: none; }
.cb-emp-table tr.cb-emp-row-open { cursor: pointer; }
.cb-emp-table tr.cb-emp-row-open:hover td { background: #FAFBFC; }
.cb-emp-person { display: flex; align-items: center; gap: 10px; }
.cb-emp-person strong { color: var(--ink); font-weight: 600; }
.cb-emp-person small { display: block; font-size: 0.76rem; color: var(--ink-3); }
.cb-emp-muted { color: var(--ink-3) !important; white-space: nowrap; }
.cb-emp-cell-fav { width: 44px; text-align: right; }
.cb-emp-table--candidats .cb-emp-favorite:not(.active) { opacity: 0; }
.cb-emp-table--candidats tr:hover .cb-emp-favorite, .cb-emp-table--candidats tr:focus-within .cb-emp-favorite { opacity: 1; }
/* 03/10/2026 : sur écran tactile (pas de survol), l'étoile reste visible */
@media (hover: none) {
  .cb-emp-table--candidats .cb-emp-favorite:not(.active) { opacity: .6; }
  .cb-emp-favorite { width: 40px; height: 40px; }
}

/* ============================== Fiche candidat (panneau) ============================== */
.cb-emp-modal-backdrop { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.cb-emp-panel-scrim { position: absolute; inset: 0; background: rgba(27,37,55,0.28); opacity: 0; transition: opacity .2s; }
.cb-emp-modal-backdrop.open { pointer-events: auto; }
.cb-emp-modal-backdrop.open .cb-emp-panel-scrim { opacity: 1; }
.cb-panel-open body { overflow: hidden; }
.cb-emp-modal-sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(1080px, 94vw);
  display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-panel);
  transform: translateX(40px); opacity: 0; transition: transform .28s var(--ease), opacity .2s;
}
.cb-emp-modal-backdrop.open .cb-emp-modal-sheet { transform: none; opacity: 1; }
.cb-emp-panel-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px 14px; }
.cb-emp-panel-id { flex: 1; min-width: 0; }
.cb-emp-panel-id h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.cb-emp-panel-id p { font-size: 0.84rem; color: var(--ink-3); margin-top: 1px; }
.cb-emp-panel-nav { display: flex; align-items: center; gap: 2px; }
.cb-emp-panel-sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }
.cb-emp-panel-actions {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 20px 14px; border-bottom: 1px solid var(--line);
}
.cb-emp-status-field {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 12px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-xs); cursor: pointer;
}
.cb-emp-status-field .cb-i { color: var(--ink-3); pointer-events: none; }
.cb-emp-status-select {
  appearance: none; -webkit-appearance: none; border: none; background: none; outline: none; cursor: pointer;
  font-size: 0.86rem; font-weight: 600; color: var(--ink); padding-right: 2px; min-width: 110px;
}
.cb-emp-status-field:focus-within { border-color: var(--turquoise-dark); box-shadow: 0 0 0 3px rgba(80,221,196,0.25); }
.cb-emp-panel-actions .cb-emp-favorite { width: auto; height: 36px; padding: 0 12px; color: var(--ink); }
.cb-emp-panel-actions .cb-emp-favorite .cb-i { color: var(--ink-3); }
.cb-emp-panel-actions .cb-emp-favorite.active { background: var(--amber-tint); border-color: #F0D49A; color: var(--amber); }
.cb-emp-panel-actions .cb-emp-favorite.active .cb-i { color: #E0A100; }

.cb-emp-panel-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 360px minmax(0, 1fr); }
.cb-emp-panel-side { overflow-y: auto; padding: 18px 20px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.cb-emp-panel-section h3 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.cb-emp-contact { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.cb-emp-contact li { display: flex; align-items: center; gap: 10px; min-height: 30px; font-size: 0.86rem; color: var(--ink-3); }
.cb-emp-contact a { color: var(--ink); text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-emp-contact a:hover { text-decoration: underline; }
.cb-emp-contact .cb-app-iconbtn { margin-left: auto; opacity: 0; }
.cb-emp-contact li:hover .cb-app-iconbtn, .cb-emp-contact .cb-app-iconbtn:focus-visible { opacity: 1; }
@media (hover: none) { .cb-emp-contact .cb-app-iconbtn { opacity: 1; } }
.cb-emp-info-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; }
.cb-emp-info-grid dt { font-size: 0.74rem; color: var(--ink-3); }
.cb-emp-info-grid dd { font-size: 0.86rem; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.cb-emp-colybry-note { background: var(--violet-tint); border: 1px solid #E4DCFC; border-radius: var(--r); padding: 12px 14px; }
.cb-emp-colybry-note-label { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; color: var(--violet-dark); margin-bottom: 4px; }
.cb-emp-colybry-note-text { font-size: 0.86rem; color: var(--ink); line-height: 1.55; }

.cb-emp-comments-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 12px; }
.cb-emp-comment-item { display: flex; gap: 10px; }
.cb-emp-comment-avatar {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--hover); color: var(--ink-2); font-size: 0.7rem; font-weight: 700;
}
.cb-emp-comment-meta { font-size: 0.74rem; color: var(--ink-3); }
.cb-emp-comment-meta strong { color: var(--ink); font-weight: 600; }
.cb-emp-comment-text { font-size: 0.86rem; color: var(--ink); white-space: pre-wrap; margin-top: 2px; }
.cb-emp-no-comments { font-size: 0.82rem; color: var(--ink-3); }
.cb-emp-comment-form { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s; }
.cb-emp-comment-form:focus-within { border-color: var(--turquoise-dark); box-shadow: 0 0 0 3px rgba(80,221,196,0.25); }
.cb-emp-comment-form textarea { display: block; width: 100%; border: none; outline: none; resize: none; background: none; padding: 10px 12px 4px; font-size: 0.86rem; min-height: 60px; }
.cb-emp-comment-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 12px; }
.cb-emp-comment-form-foot span { font-size: 0.7rem; color: var(--ink-3); }

.cb-emp-panel-cv { background: var(--canvas); min-height: 0; display: flex; }
.cb-emp-cv-frame { flex: 1; width: 100%; height: 100%; border: none; display: block; }
.cb-emp-cv-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ink-3); font-size: 0.86rem; padding: 40px 20px; text-align: center; }
.cb-emp-panel-hint { padding: 8px 20px; border-top: 1px solid var(--line); font-size: 0.72rem; color: var(--ink-3); background: #FBFBFC; }

@media (max-width: 900px) {
  .cb-emp-modal-sheet { width: 100vw; }
  .cb-emp-panel-body { display: block; overflow-y: auto; }
  .cb-emp-panel-side { border-right: none; overflow: visible; }
  .cb-emp-panel-cv { height: 70vh; border-top: 1px solid var(--line); }
  .cb-emp-panel-hint { display: none; }
  .cb-emp-panel-head { padding: 14px 14px 10px; }
  .cb-emp-panel-actions { padding: 0 14px 12px; }
  .cb-emp-panel-actions .cb-app-btn-ghost span { display: none; }
  .cb-emp-panel-actions .cb-app-btn-ghost { padding: 0 10px; }
}

/* ============================== Non vu + dialogue de confirmation ============================== */
.cb-unseen-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--violet);
  margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(129,94,229,0.16); flex-shrink: 0;
}
.cb-emp-card[data-unseen="1"] .cb-emp-card-name { font-weight: 700; }
.cb-emp-card[data-unseen="1"] { border-color: #E2DAFB; }
.cb-page-sub-new { display: inline-flex; align-items: center; }

.cb-dialog {
  margin: auto; width: min(440px, calc(100vw - 32px)); padding: 0; border: none; border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(27,37,55,0.25);
}
.cb-dialog::backdrop { background: rgba(27,37,55,0.35); }
.cb-dialog form { padding: 22px 22px 18px; }
.cb-dialog h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.cb-dialog p { font-size: 0.88rem; color: var(--ink-2); line-height: 1.55; }
.cb-dialog-note { margin-top: 10px; padding: 10px 12px; border-radius: var(--r); background: var(--canvas); color: var(--ink-2); }
.cb-dialog-note.is-warn { background: var(--amber-tint); color: var(--amber); }
.cb-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
@media (hover: none) { .cb-emp-comment-form-foot span, .cb-search kbd, .cb-emp-panel-hint { display: none; } }

/* ============================== Toast ============================== */
.cb-toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 80; transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  max-width: min(92vw, 460px); padding: 10px 16px; border-radius: var(--r); background: var(--marine); color: #fff;
  font-size: 0.84rem; font-weight: 500; box-shadow: var(--shadow-lift); transition: opacity .2s, transform .2s var(--ease);
}
.cb-toast.show { opacity: 1; transform: translate(-50%, 0); }
.cb-toast.is-error { background: var(--danger); }

/* ============================== Mobile ============================== */
@media (max-width: 900px) {
  .cb-emp-main, .cb-emp-main--board { padding: 18px 16px 40px; }
  .cb-page-head { align-items: stretch; }
  .cb-page-tools { width: 100%; }
  .cb-search { flex: 1; width: auto; }
  .cb-search kbd { display: none; }
  .cb-app-seg-lg a span { display: none; }
  .cb-emp-kanban { height: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; }
  .cb-emp-col { flex: 0 0 84vw; max-width: none; min-width: 0; scroll-snap-align: start; max-height: none; }
  .cb-emp-card .cb-emp-favorite:not(.active) { opacity: .6; }
}

/* ============================== Connexion (inchangée) ============================== */
.cb-emp-login-body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 15% 10%, #2c3a58 0%, var(--marine) 55%, #182233 100%);
  padding: 20px;
}
.cb-emp-login-wrap { position: relative; width: 100%; max-width: 380px; }
.cb-emp-login-mascot {
  position: absolute; bottom: calc(100% - 14px); right: -10px; width: 104px; height: auto;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.35)); pointer-events: none; z-index: 1;
}
.cb-emp-login-box {
  background: #fff; border-radius: 22px; padding: 40px 34px; width: 100%;
  display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 2;
  box-shadow: 0 28px 56px rgba(35,48,72,0.28);
}
.cb-emp-login-logo { height: 26px; width: auto; margin: 0 auto 4px; }
.cb-emp-login-box h1 { font-size: 1.25rem; font-weight: 800; text-align: center; }
.cb-emp-login-subtitle { font-size: 0.85rem; color: var(--slate); text-align: center; margin-top: -10px; line-height: 1.4; }
.cb-emp-login-box label { font-size: 0.8rem; font-weight: 600; color: var(--slate); }
.cb-emp-login-box input {
  padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 0.95rem; transition: border-color 0.15s, box-shadow 0.15s; width: 100%; font-family: inherit;
}
.cb-emp-login-box input:focus {
  outline: none; border-color: var(--turquoise-dark);
  box-shadow: 0 0 0 3px rgba(38,188,161,0.15);
}
.cb-emp-login-box button {
  background: var(--turquoise); color: var(--marine); font-weight: 700;
  padding: 13px 18px; border: none; border-radius: 12px; cursor: pointer; font-size: 0.92rem;
  transition: background 0.15s, transform 0.1s;
}
.cb-emp-login-box button:hover { background: var(--turquoise-dark); }
.cb-emp-login-box button:active { transform: scale(0.98); }
.cb-emp-login-box .cb-emp-error {
  color: var(--danger); background: var(--danger-bg); border-radius: 10px;
  padding: 10px 12px; font-size: 0.85rem; font-weight: 600; text-align: center;
}
.cb-emp-login-help { font-size: 0.78rem; color: var(--slate); text-align: center; margin-top: 4px; }


/* Sélecteur de langue FR/EN/ES (demande du 11/09/2026, redesigné le même
   jour en menu déroulant — avis produit : un drapeau seul, discret et à
   opacité réduite, ne se lit pas assez clairement comme "changer de
   langue" pour un recruteur non-francophone). Contraste plein en
   permanence (pas de grayscale/opacité), code langue en toutes lettres
   toujours visible, contour visible même fermé pour se lire comme un vrai
   contrôle cliquable plutôt qu'une décoration. */
.cb-emp-lang-switch { position: relative; }
.cb-emp-lang-switch summary {
  display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer;
  background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 12px 7px 10px;
  font-weight: 700; font-size: 0.82rem; color: var(--marine); transition: border-color 0.15s, background 0.15s;
}
.cb-emp-lang-switch summary::marker { content: ''; display: none; }
.cb-emp-lang-switch summary::-webkit-details-marker { display: none; }
.cb-emp-lang-switch summary .flag { font-size: 1.1rem; line-height: 1; }
.cb-emp-lang-switch summary:hover { border-color: var(--turquoise-dark); background: var(--bg); }
.cb-emp-lang-switch[open] summary { border-color: var(--turquoise-dark); background: var(--turquoise-tint); }
.cb-emp-lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lift); min-width: 160px; padding: 6px; z-index: 20;
  display: flex; flex-direction: column;
}
.cb-emp-lang-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; color: var(--marine); text-decoration: none; }
.cb-emp-lang-menu a .flag { font-size: 1.1rem; line-height: 1; }
.cb-emp-lang-menu a:hover { background: var(--bg); }
.cb-emp-lang-menu a.active { background: var(--turquoise-tint); color: var(--turquoise-dark); }
/* Sur login.php, pas de topbar : le switcher se positionne lui-même en haut à droite de l'écran. */
.cb-emp-login-body > .cb-emp-lang-switch { position: fixed; top: 20px; right: 20px; z-index: 10; }


/* --- Guide d'utilisation (partenaires/emploi/guide.php, 11/09/2026) ---
   Page de documentation en une seule page, ancres de navigation plutôt que
   plusieurs sous-pages (préférence produit confirmée sur ce projet : tout
   visible sans navigation complexe). Captures d'écran présentées à plat
   (bordure + ombre légère, jamais de rotation façon landing page marketing)
   pour rester lisible comme de la documentation, pas comme un argumentaire
   commercial. */
.cb-guide-intro { color: var(--slate); font-size: 0.95rem; margin: -8px 0 20px; }
.cb-guide-toc {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.cb-guide-toc a {
  font-size: 0.82rem; font-weight: 600; color: var(--marine); text-decoration: none;
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px;
  transition: border-color 0.15s, background 0.15s;
}
.cb-guide-toc a:hover { border-color: var(--turquoise); background: var(--turquoise-tint); }
.cb-guide-section { margin-bottom: 44px; scroll-margin-top: 20px; position: relative; }
.cb-guide-step {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--marine); color: #fff; font-weight: 800; font-size: 0.8rem; margin-bottom: 10px;
}
.cb-guide-section h2 { font-size: 1.15rem; font-weight: 800; margin: 0 0 8px; }
.cb-guide-section p { font-size: 0.92rem; color: var(--slate); line-height: 1.65; margin-bottom: 16px; }
.cb-guide-section p strong { color: var(--marine); }
.cb-guide-shot {
  width: 100%; display: block; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(35,48,72,0.04), 0 10px 28px rgba(35,48,72,0.08); margin-bottom: 14px;
}
.cb-guide-tip {
  font-size: 0.84rem; color: var(--slate); background: var(--violet-tint); border-radius: 10px;
  padding: 10px 14px; margin: 0;
}

/* FAQ réutilise le pattern .cb-faq du site public, adapté à la palette du
   portail (var(--turquoise)/var(--marine) déjà cohérentes entre les deux). */
.cb-faq { margin-top: 8px; }
.cb-faq details { border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.cb-faq details[open] { border-color: var(--turquoise); background: var(--turquoise-tint); }
.cb-faq summary { font-weight: 700; cursor: pointer; color: var(--marine); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.92rem; }
.cb-faq summary::-webkit-details-marker { display: none; }
.cb-faq summary::after { content: '+'; font-size: 1.2rem; font-weight: 400; color: var(--turquoise-dark); flex-shrink: 0; }
.cb-faq details[open] summary::after { content: '−'; }
.cb-faq details p { margin: 10px 0 0; font-size: 0.88rem; color: var(--slate); line-height: 1.55; }


/* Revue mobile du 24/09/2026 — Safari iOS zoome automatiquement sur tout
   champ de saisie dont le texte fait moins de 16px, et ne dézoome pas
   ensuite : la page reste agrandie et déborde. 16px minimum sur mobile. */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="color"]):not([type="hidden"]),
  select,
  textarea { font-size: 16px !important; }
}

/* Revue UX du 01/10/2026 — focus clavier visible partout (cartes, lignes,
   étoiles « favori » et onglets compris) : marine plutôt que turquoise, le
   turquoise sur blanc n'atteint pas le contraste 3:1 d'un indicateur. */
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible,
[tabindex]:focus-visible, input[type=checkbox]:focus-visible, input[type=radio]:focus-visible, input[type=file]:focus-visible {
  outline: 2px solid var(--marine); outline-offset: 2px;
}

/* ============================== Messagerie « Contacter Colybry » (03/10/2026) ==============================
   Bulle en bas à droite + panneau de conversation avec l'équipe (partials/messages.php,
   assets/js/cvtheque-messages.js). Panneau flottant sur ordinateur, plein écran sur mobile. */
.cb-msg-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer;
  background: var(--marine); color: #fff; box-shadow: var(--shadow-lift); transition: transform .15s var(--ease), background .15s;
}
.cb-msg-launcher:hover { background: #2e3d5c; transform: translateY(-1px); }
.cb-msg-launcher-badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; background: var(--danger); color: #fff;
  font-size: 0.7rem; font-weight: 700; border: 2px solid var(--surface);
}
.cb-panel-open .cb-msg-launcher, .cb-msg-open .cb-msg-launcher { display: none; }

.cb-msg {
  position: fixed; right: 20px; bottom: 20px; z-index: 65; width: 380px; max-width: calc(100vw - 32px);
  height: min(600px, calc(100vh - 40px)); height: min(600px, calc(100dvh - 40px));
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lift); overflow: hidden;
}
.cb-msg-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-bottom: 1px solid var(--line); background: #FBFBFC; }
.cb-msg-head-avatar { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--turquoise-tint); }
.cb-msg-head-avatar img { width: 22px; height: 22px; display: block; }
.cb-msg-head-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cb-msg-head-text strong { font-size: 0.92rem; color: var(--ink); }
.cb-msg-head-text > span { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--ink-2); }
.cb-msg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turquoise-dark); flex-shrink: 0; }

.cb-msg-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.cb-msg-intro { padding: 12px; border-radius: var(--r); background: var(--turquoise-tint); font-size: 0.82rem; line-height: 1.5; color: var(--ink); }
.cb-msg-intro p { margin: 0; }
.cb-msg-intro p + p { margin-top: 8px; }
.cb-msg-intro-team { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.cb-msg-intro-team .cb-i { margin-top: 2px; color: var(--turquoise-dark); }
.cb-msg-empty { margin: 0; text-align: center; font-size: 0.8rem; color: var(--ink-3); padding: 8px 12px; }
.cb-msg-list { display: flex; flex-direction: column; gap: 10px; }
.cb-msg-list[aria-busy="true"]::before { content: '…'; color: var(--ink-3); text-align: center; }
.cb-msg-item { max-width: 86%; display: flex; flex-direction: column; align-items: flex-start; }
.cb-msg-item.is-company { align-self: flex-end; align-items: flex-end; }
.cb-msg-meta { font-size: 0.68rem; font-weight: 600; color: var(--ink-3); margin: 0 4px 3px; overflow-wrap: anywhere; }
.cb-msg-bubble {
  padding: 9px 13px; border-radius: 14px; border-bottom-left-radius: 4px; font-size: 0.86rem; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere; background: var(--canvas); border: 1px solid var(--line); color: var(--ink);
}
.cb-msg-item.is-company .cb-msg-bubble { background: var(--violet-tint); border-color: #E2DAFB; border-radius: 14px; border-bottom-right-radius: 4px; }
.cb-msg-item.is-me .cb-msg-bubble { background: var(--marine); border-color: var(--marine); color: #fff; }

.cb-msg-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; align-items: end; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.cb-msg-form textarea {
  width: 100%; min-height: 40px; max-height: 160px; resize: none; padding: 9px 11px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--surface); font-size: 0.88rem; line-height: 1.45; color: var(--ink);
}
.cb-msg-form textarea:focus { outline: none; border-color: var(--turquoise-dark); box-shadow: 0 0 0 3px rgba(80,221,196,0.2); }
.cb-msg-send { height: 40px; }
.cb-msg-mailnote { grid-column: 1 / -1; display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 0.72rem; line-height: 1.4; color: var(--ink-2); }
.cb-msg-mailnote .cb-i { margin-top: 1px; color: var(--turquoise-dark); }
.cb-msg-mailnote strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.cb-msg-hint { color: var(--ink-3); white-space: nowrap; }
@media (hover: none) { .cb-msg-hint { display: none; } }

@media (max-width: 600px) {
  .cb-msg-launcher { right: 16px; bottom: 16px; }
  .cb-msg { inset: 0; width: auto; max-width: none; height: auto; border: none; border-radius: 0; }
  .cb-msg-open body { overflow: hidden; }
  .cb-msg-send span { display: none; }
  .cb-msg-send { width: 44px; height: 44px; padding: 0; }
  .cb-msg-form { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .cb-msg-form textarea { font-size: 16px; min-height: 44px; }
}

/* ==========================================================================
   Boutons — système commun des applications (revue des boutons du 03/10/2026)
     Primaire     .cb-app-btn (turquoise, texte marine 8:1)
     Secondaire   .cb-app-btn-ghost (surface blanche + filet)
     Tertiaire    .cb-app-btn-text (texte seul, fond au survol)
     Destructif   .cb-app-btn-danger (ou .is-danger dans une boîte de dialogue)
     Icône seule  .cb-app-iconbtn (aria-label + title obligatoires)
     Tailles      .cb-app-btn-sm 32px · défaut 36px · .cb-app-btn-lg 44px
     États        survol, enfoncé, :focus-visible, :disabled / [aria-disabled],
                  .is-loading (sablier, posé automatiquement à l'envoi d'un
                  formulaire par cb-app.js) ; 44px minimum sur écran tactile.
   ========================================================================== */
.cb-app-btn, .cb-emp-btn-primary, .cb-app-btn-ghost, .cb-emp-btn-secondary {
  position: relative; justify-content: center; max-width: 100%; font-family: inherit; font-weight: 600; line-height: 1.2;
  white-space: nowrap; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .08s ease;
}
.cb-app-btn, .cb-emp-btn-primary { box-shadow: 0 1px 2px rgba(27,37,55,0.10), inset 0 1px 0 rgba(255,255,255,0.28); }
.cb-app-btn:hover, .cb-emp-btn-primary:hover { box-shadow: 0 2px 8px rgba(31,168,143,0.25), inset 0 1px 0 rgba(255,255,255,0.28); }
.cb-app-btn:active, .cb-emp-btn-primary:active { background: #2EC7AC; transform: translateY(1px); box-shadow: none; }
.cb-app-btn-ghost, .cb-emp-btn-secondary { color: var(--ink); }
.cb-app-btn-ghost:hover, .cb-emp-btn-secondary:hover { background: var(--hover); border-color: #D3D8E1; box-shadow: var(--shadow-xs); }
.cb-app-btn-ghost:active, .cb-emp-btn-secondary:active { background: #EBEEF2; transform: translateY(1px); }
.cb-app-btn svg, .cb-app-btn-ghost svg, .cb-emp-btn-primary svg, .cb-emp-btn-secondary svg { flex-shrink: 0; }
.cb-app-btn-sm { height: 32px; }
.cb-app-btn-lg { height: 44px; padding: 0 18px; font-size: 0.92rem; border-radius: 12px; }
.cb-app-btn-text {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: none; border-radius: var(--r-sm);
  background: transparent; color: var(--ink-2); font-family: inherit; font-size: 0.84rem; font-weight: 600; white-space: nowrap;
  cursor: pointer; text-decoration: none; transition: background-color .15s ease, color .15s ease;
}
.cb-app-btn-text:hover { background: var(--hover); color: var(--ink); }
.cb-app-btn.cb-app-btn-danger, .cb-dialog .cb-app-btn.is-danger { background: var(--danger); color: #fff; box-shadow: 0 1px 2px rgba(217,59,74,0.25); }
.cb-app-btn.cb-app-btn-danger:hover, .cb-dialog .cb-app-btn.is-danger:hover { background: #BE2F3D; color: #fff; }
.cb-app-iconbtn:active { background: #EBEEF2; }
.cb-app-btn:disabled, .cb-emp-btn-primary:disabled, .cb-app-btn-ghost:disabled, .cb-emp-btn-secondary:disabled,
.cb-app-btn[aria-disabled="true"], .cb-app-btn-ghost[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.cb-app-btn:focus-visible, .cb-emp-btn-primary:focus-visible, .cb-app-btn-ghost:focus-visible, .cb-emp-btn-secondary:focus-visible,
.cb-app-btn-text:focus-visible, .cb-app-iconbtn:focus-visible { outline: 2px solid var(--marine); outline-offset: 2px; }
.cb-app-btn.is-loading, .cb-emp-btn-primary.is-loading, .cb-app-btn-ghost.is-loading { color: transparent !important; pointer-events: none; }
.cb-app-btn.is-loading > *, .cb-emp-btn-primary.is-loading > *, .cb-app-btn-ghost.is-loading > * { visibility: hidden; }
.cb-app-btn.is-loading::after, .cb-emp-btn-primary.is-loading::after, .cb-app-btn-ghost.is-loading::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border: 2px solid rgba(35,48,72,0.25); border-top-color: var(--marine); border-radius: 50%; animation: cb-app-spin .7s linear infinite;
}
@keyframes cb-app-spin { to { transform: rotate(360deg); } }
@media (pointer: coarse) {
  /* 03/10/2026 : liens de la barre latérale à 44 px au doigt */
  .cb-app-nav-link { height: auto; min-height: 44px; }
  .cb-app-btn, .cb-emp-btn-primary, .cb-app-btn-ghost, .cb-emp-btn-secondary, .cb-app-btn-sm { height: auto; min-height: 44px; }
  .cb-app-btn-icon { width: 44px; }
  .cb-app-iconbtn { width: 44px; height: 44px; }
  .cb-app-iconbtn-sm { width: 36px; height: 36px; }
  .cb-app-btn-text { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-app-btn, .cb-emp-btn-primary, .cb-app-btn-ghost, .cb-emp-btn-secondary, .cb-app-btn-text, .cb-app-iconbtn { transition: none; }
  .cb-app-btn:active, .cb-emp-btn-primary:active, .cb-app-btn-ghost:active, .cb-emp-btn-secondary:active { transform: none; }
  .cb-app-btn.is-loading::after, .cb-emp-btn-primary.is-loading::after, .cb-app-btn-ghost.is-loading::after { animation-duration: 2s; }
}


/* Menu de statut de la fiche candidat (05/10/2026) : remplace la liste déroulante native. */
.cb-emp-status-field { cursor: default; }
.cb-emp-status-select.is-native { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-width: 0; padding: 0; }
.cb-emp-status-trigger {
  appearance: none; -webkit-appearance: none; border: none; background: none; cursor: pointer; font: inherit;
  font-size: 0.86rem; font-weight: 600; color: var(--ink); min-width: 110px; text-align: left; padding: 0; height: 100%;
}
.cb-emp-status-trigger:focus-visible { outline: none; }
.cb-emp-status-field:has(.cb-emp-status-trigger:focus-visible) { border-color: var(--turquoise-dark); box-shadow: 0 0 0 3px rgba(80,221,196,0.25); }
.cb-emp-status-field:has(.cb-emp-status-trigger[aria-expanded="true"]) .cb-i { transform: rotate(180deg); }
.cb-emp-status-field .cb-i { transition: transform .15s ease; }
.cb-emp-status-menu {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content; max-width: 280px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 32px rgba(27,37,55,0.16), 0 2px 6px rgba(27,37,55,0.06);
}
.cb-emp-status-menu[hidden] { display: none; }
.cb-emp-status-opt {
  appearance: none; -webkit-appearance: none; display: flex; align-items: center; gap: 10px; width: 100%; border: none; background: none;
  font: inherit; font-size: 0.88rem; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer; padding: 9px 10px; border-radius: 8px;
}
.cb-emp-status-opt:hover, .cb-emp-status-opt:focus-visible { background: var(--canvas); outline: none; }
.cb-emp-status-opt.is-selected { font-weight: 700; }
.cb-emp-status-opt-label { flex: 1; }
.cb-emp-status-check { visibility: hidden; color: var(--turquoise-dark); font-weight: 800; }
.cb-emp-status-opt.is-selected .cb-emp-status-check { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .cb-emp-status-field .cb-i { transition: none; } }

/* Parrainage entreprises (06/10/2026) : bandeau, lien de navigation, page partenaires/emploi/parrainage.php. */
.cb-app-nav-link--pp { color: #5022D3 !important; }
.cb-app-nav-link--pp svg { color: #815EE5; }
.cb-pp-bandeau { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #F8F6FE, #E9FBF8); border: 1px solid #E7E0FA; font-size: .9rem; font-weight: 600; color: #233048; }
.cb-pp-bandeau span { flex: 1 1 260px; }
.cb-pp-bandeau[hidden] { display: none; }
.cb-pp-hero { background: linear-gradient(135deg, #5022D3, #815EE5); color: #fff; border-radius: 22px; padding: 26px 26px 22px; margin-bottom: 16px; }
.cb-pp-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.cb-pp-hero h1 { font-size: 1.45rem; line-height: 1.25; margin: 8px 0; color: #fff; }
.cb-pp-hero p { margin: 0 0 14px; opacity: .92; line-height: 1.5; }
.cb-pp-etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cb-pp-etapes li { background: rgba(255,255,255,.14); border-radius: 12px; padding: 10px 12px; font-size: .84rem; font-weight: 600; display: flex; gap: 8px; align-items: flex-start; }
.cb-pp-etapes span { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #5022D3; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; }
.cb-pp-carte { background: #fff; border: 1px solid rgba(35,48,72,.08); border-radius: 18px; padding: 20px; margin-bottom: 14px; box-shadow: 0 6px 18px rgba(35,48,72,.05); }
.cb-pp-carte h2 { font-size: 1.05rem; margin: 0 0 6px; }
.cb-pp-muted { color: #5b6b82; font-size: .88rem; margin: 0 0 12px; font-weight: 500; }
.cb-pp-accord { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; margin: 0 0 12px; cursor: pointer; }
.cb-pp-accord input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.cb-pp-lien { display: flex; gap: 8px; }
.cb-pp-lien input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid rgba(35,48,72,.15); border-radius: 10px; font-size: 16px; background: #F8F6FE; }
.cb-pp-partage { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.cb-pp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.cb-pp-form label { display: flex; flex-direction: column; gap: 4px; font-size: .84rem; font-weight: 600; color: #233048; }
.cb-pp-form input, .cb-pp-form textarea { padding: 9px 12px; border: 1px solid rgba(35,48,72,.15); border-radius: 10px; font: inherit; font-size: 16px; font-weight: 400; }
.cb-pp-form .cb-pp-full { grid-column: 1 / -1; }
.cb-pp-form label.cb-pp-accord { flex-direction: row; font-weight: 500; }
.cb-pp-liste { list-style: none; margin: 0; padding: 0; }
.cb-pp-liste li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(35,48,72,.07); }
.cb-pp-liste li:first-child { border-top: 0; }
.cb-pp-liste small { color: #5b6b82; margin-left: auto; }
.cb-pp-statut { font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; background: #EEF1F6; color: #5b6b82; }
.cb-pp-statut--recompensee { background: #E9FBF8; color: #137A68; }
.cb-pp-msg { background: #E9FBF8; color: #137A68; border-radius: 12px; padding: 10px 14px; font-size: .88rem; font-weight: 600; }
.cb-pp-msg.is-err { background: #FDF0F1; color: #c8394a; }
.cb-pp-reglement summary { cursor: pointer; font-weight: 700; }
.cb-pp-reglement div { margin-top: 10px; font-size: .84rem; line-height: 1.55; color: #233048; }
@media (max-width: 640px) {
  .cb-pp-etapes, .cb-pp-form { grid-template-columns: minmax(0, 1fr); }
  .cb-pp-hero h1 { font-size: 1.2rem; }
  .cb-pp-lien { flex-direction: column; }
}
/* Bouton parrainage compact (06/10/2026) : remplace le bandeau pleine largeur. */
.cb-pp-pill-wrap { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 14px; }
.cb-pp-pill-wrap[hidden] { display: none; }
.cb-pp-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; text-decoration: none; color: #fff;
  background: linear-gradient(120deg, #5022D3 0%, #815EE5 55%, #50DDC4 130%); box-shadow: 0 6px 18px rgba(80,34,211,.28); transition: transform .15s ease, box-shadow .15s ease; }
.cb-pp-pill:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(80,34,211,.36); color: #fff; }
.cb-pp-pill:focus-visible { outline: 3px solid rgba(129,94,229,.45); outline-offset: 3px; }
.cb-pp-pill-ico { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cb-pp-pill-txt { display: flex; flex-direction: column; line-height: 1.15; font-size: .78rem; }
.cb-pp-pill-txt strong { font-size: .88rem; font-weight: 800; }
.cb-pp-pill-txt span { opacity: .92; font-weight: 600; }
.cb-pp-pill-x { width: 26px; height: 26px; border-radius: 50%; border: 0; background: transparent; color: #8a94a6; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cb-pp-pill-x:hover { background: rgba(35,48,72,.06); color: #233048; }

/* ====== Page parrainage, refonte du 06/10/2026 ====== */
.cb-pp2 { max-width: 980px; }
.cb-pp2-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; align-items: center;
  padding: 30px 32px; border-radius: 24px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #50DDC4 0%, rgba(80,221,196,0) 45%), linear-gradient(135deg, #3A17B0 0%, #5022D3 45%, #815EE5 100%);
  box-shadow: 0 18px 40px rgba(80,34,211,.22); margin-bottom: 14px; }
.cb-pp2-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.16); padding: 5px 10px; border-radius: 999px; }
.cb-pp2-hero h1 { color: #fff; font-size: 1.6rem; line-height: 1.2; margin: 12px 0 8px; letter-spacing: -.01em; }
.cb-pp2-hero p { margin: 0 0 18px; opacity: .9; line-height: 1.55; max-width: 560px; }
.cb-pp2-gain { text-align: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 20px; padding: 18px 14px; backdrop-filter: blur(6px); }
.cb-pp2-gain strong { display: block; font-size: 3rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.cb-pp2-gain span { display: block; font-size: .85rem; font-weight: 700; margin-top: 6px; }
.cb-pp2-gain small { display: block; font-size: .72rem; opacity: .75; margin-top: 4px; }
.cb-pp2-activer { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cb-pp2-accord { display: flex; gap: 9px; align-items: flex-start; font-size: .84rem; line-height: 1.45; cursor: pointer; }
.cb-pp2-accord input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: #50DDC4; }
.cb-pp2-accord a { color: #fff; font-weight: 700; }
.cb-pp2-accord--sombre { color: #233048; }
.cb-pp2-accord--sombre input { accent-color: #5022D3; }
.cb-pp2-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: .92rem; color: #3A17B0; background: #fff; padding: 12px 22px; border-radius: 999px; box-shadow: 0 8px 20px rgba(26,8,90,.25); transition: transform .15s ease; white-space: nowrap; }
.cb-pp2-btn:hover { transform: translateY(-1px); }
.cb-pp2-lien { display: flex; gap: 8px; max-width: 560px; }
.cb-pp2-lien input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.14); color: #fff; font-size: 16px; }
.cb-pp2-partage { display: flex; gap: 14px; margin-top: 12px; font-size: .84rem; }
.cb-pp2-partage a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; opacity: .92; }
.cb-pp2-msg { background: rgba(255,255,255,.95); color: #137A68; border-radius: 12px; padding: 9px 14px; font-size: .86rem; font-weight: 600; margin: 0 0 14px; max-width: 560px; }
.cb-pp2-msg.is-err { color: #c8394a; }
.cb-pp2-etapes { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cb-pp2-etapes li { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid rgba(35,48,72,.08); border-radius: 14px; padding: 12px 14px; font-size: .85rem; font-weight: 600; color: #233048; }
.cb-pp2-etapes span { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #F1ECFD; color: #5022D3; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.cb-pp2-etapes li.is-fait span { background: #50DDC4; color: #233048; }
.cb-pp2-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.cb-pp2-carte { background: #fff; border: 1px solid rgba(35,48,72,.08); border-radius: 18px; padding: 20px; box-shadow: 0 6px 18px rgba(35,48,72,.05); }
.cb-pp2-carte h2 { font-size: 1.02rem; margin: 0 0 4px; }
.cb-pp2-muted { color: #5b6b82; font-size: .85rem; margin: 0 0 14px; }
.cb-pp2-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.cb-pp2-form label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 700; color: #233048; }
.cb-pp2-form input[type=text], .cb-pp2-form input[type=email], .cb-pp2-form input[type=tel], .cb-pp2-form textarea { padding: 9px 12px; border: 1px solid rgba(35,48,72,.15); border-radius: 10px; font: inherit; font-size: 16px; font-weight: 400; }
.cb-pp2-form label.cb-pp2-accord { flex-direction: row; font-weight: 500; }
.cb-pp2-full { grid-column: 1 / -1; }
.cb-pp2-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 14px; }
.cb-pp2-stats div { background: #F6F4FE; border-radius: 12px; padding: 10px 12px; }
.cb-pp2-stats div.is-ok { background: #E9FBF8; }
.cb-pp2-stats strong { display: block; font-size: 1.4rem; line-height: 1.1; color: #233048; }
.cb-pp2-stats span { font-size: .74rem; color: #5b6b82; }
.cb-pp2-liste { list-style: none; margin: 0; padding: 0; }
.cb-pp2-liste li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(35,48,72,.07); }
.cb-pp2-liste li:first-child { border-top: 0; }
.cb-pp2-mono { width: 30px; height: 30px; border-radius: 9px; background: #F1ECFD; color: #5022D3; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cb-pp2-nom { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .86rem; }
.cb-pp2-nom small { color: #5b6b82; font-size: .74rem; }
.cb-pp2-statut { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 3px 9px; background: #EEF1F6; color: #5b6b82; white-space: nowrap; }
.cb-pp2-statut--recompensee { background: #E9FBF8; color: #137A68; }
.cb-pp2-reglement { margin-top: 16px; font-size: .84rem; color: #5b6b82; }
.cb-pp2-reglement summary { cursor: pointer; font-weight: 700; color: #233048; }
.cb-pp2-reglement div { margin-top: 10px; line-height: 1.6; background: #fff; border-radius: 14px; padding: 16px; border: 1px solid rgba(35,48,72,.08); }
@media (max-width: 760px) {
  .cb-pp2-hero { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .cb-pp2-gain { display: flex; align-items: baseline; gap: 10px; text-align: left; padding: 12px 14px; }
  .cb-pp2-gain strong { font-size: 2rem; }
  .cb-pp2-gain span, .cb-pp2-gain small { margin: 0; }
  .cb-pp2-hero h1 { font-size: 1.3rem; }
  .cb-pp2-etapes, .cb-pp2-grille, .cb-pp2-form { grid-template-columns: minmax(0, 1fr); }
  .cb-pp2-lien { flex-direction: column; }
}

/* Lien « Parrainage » du menu (06/10/2026) : une ligne, pastille colorée. */
.cb-app-nav-link--pp .cb-app-nav-pp { margin-left: auto; font-size: .68rem; font-weight: 800; color: #fff; padding: 2px 8px; border-radius: 999px; background: linear-gradient(120deg, #5022D3, #815EE5); white-space: nowrap; }
.cb-app-nav-link--pp { color: inherit !important; }
.cb-app-nav-link--pp svg { color: #815EE5 !important; }

/* Crédits bientôt épuisés (06/10/2026) : alerte en haut de la CVthèque. */
.cb-cr-alerte { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 14px 12px 12px; border-radius: 16px; border: 1px solid #F0D49A; background: linear-gradient(135deg, #FFF8E8, #FDF3E0); }
.cb-cr-alerte.is-out { border-color: #F3B8C0; background: linear-gradient(135deg, #FFF3F4, #FDECEE); }
.cb-cr-alerte-jauge { width: 46px; height: 46px; border-radius: 14px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(184,134,11,.15); }
.cb-cr-alerte-jauge strong { font-size: 1.25rem; line-height: 1; color: #B8860B; }
.cb-cr-alerte.is-out .cb-cr-alerte-jauge strong { color: #c8394a; }
.cb-cr-alerte-jauge span { font-size: .6rem; font-weight: 700; color: #8A6508; text-transform: uppercase; letter-spacing: .04em; }
.cb-cr-alerte-txt { flex: 1 1 260px; min-width: 0; font-size: .86rem; color: #233048; }
.cb-cr-alerte-txt strong { display: block; font-size: .95rem; }
.cb-cr-alerte-txt span { color: #5b6b82; }
.cb-cr-alerte-actions { display: flex; align-items: center; gap: 12px; }
.cb-cr-alerte-actions a { font-size: .82rem; font-weight: 700; color: #233048; }
.cb-cr-alerte .cb-app-credits-sent { margin: 0; font-size: .84rem; color: #137A68; font-weight: 600; }

/* Menu des annonces sur mesure (09/10/2026), remplace la liste native sur ordinateur. */
.cb-emp-campaign.is-ouvert { background: var(--hover); }
.cb-emp-campaign.is-ouvert > .cb-i { transform: rotate(180deg); }
.cb-emp-campaign > .cb-i { transition: transform .15s; }
.cb-emp-camp-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 300px; max-width: min(420px, 90vw); max-height: 380px; overflow-y: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 12px 32px -8px rgba(27,37,55,.22), 0 2px 6px rgba(27,37,55,.06); cursor: default; animation: cb-emp-camp-pop .12s ease-out; }
@keyframes cb-emp-camp-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cb-emp-camp-menu-titre { padding: 8px 10px 6px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cb-emp-camp-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: var(--r); background: none; font: inherit; font-size: .92rem; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer; }
.cb-emp-camp-item:hover, .cb-emp-camp-item:focus-visible { background: var(--hover); outline: none; }
.cb-emp-camp-item.is-actif { background: var(--violet-tint); font-weight: 700; color: var(--violet-dark); }
.cb-emp-camp-check { width: 16px; flex-shrink: 0; color: var(--violet-dark); font-weight: 800; text-align: center; }
.cb-emp-camp-nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-emp-camp-nv { flex-shrink: 0; }
.cb-emp-camp-nv i { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--violet-tint); color: var(--violet-dark); font-style: normal; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.cb-emp-camp-nv i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.cb-emp-camp-item.is-actif .cb-emp-camp-nv i { background: #fff; }

/* Qui a refusé (09/10/2026). */
.cb-emp-refus-tag { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 999px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.cb-emp-refus-tag.is-entreprise { background: var(--danger-bg); color: var(--danger); }
.cb-emp-refus-tag.is-candidat { background: var(--amber-tint); color: var(--amber); }
.cb-dialog-actions--refus { flex-wrap: wrap; }

/* Tableau de bord (reporting) refait le 09/10/2026. */
.cb-rp { max-width: 1080px; }
.cb-rp-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cb-rp-tete h1 { margin: 0; font-size: 1.5rem; color: var(--ink); }
.cb-rp-tete p { margin: 4px 0 0; color: var(--ink-2); font-size: .9rem; }
.cb-rp-filtre { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cb-rp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.cb-rp-kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.cb-rp-kpi-l { font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.cb-rp-kpi strong { font-size: 2rem; line-height: 1.1; font-weight: 800; color: var(--ink); }
.cb-rp-kpi small { font-size: .8rem; color: var(--ink-2); }
.cb-rp-kpi small.is-alerte { color: var(--violet-dark); font-weight: 700; }
.cb-rp-kpi.is-vert { background: linear-gradient(135deg, var(--turquoise-tint), #fff); border-color: #BDEFE4; }
.cb-rp-kpi.is-vert strong { color: var(--turquoise-dark); }
.cb-rp-carte { padding: 18px 20px; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.cb-rp-carte h2 { margin: 0 0 14px; font-size: 1rem; color: var(--ink); }
.cb-rp-vide { margin: 0; color: var(--ink-3); font-size: .9rem; }
.cb-rp-barre { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 3px; background: var(--line-soft); }
.cb-rp-bseg { min-width: 6px; }
.cb-rp-bseg.is-neutre, .cb-rp-pastille.is-neutre, .cb-rp-ev-pile .is-neutre { background: #A9B7F5; }
.cb-rp-bseg.is-nouveau, .cb-rp-pastille.is-nouveau, .cb-rp-ev-pile .is-nouveau { background: var(--violet); }
.cb-rp-bseg.is-positif, .cb-rp-pastille.is-positif, .cb-rp-ev-pile .is-positif { background: var(--turquoise); }
.cb-rp-bseg.is-negatif, .cb-rp-pastille.is-negatif, .cb-rp-ev-pile .is-negatif { background: #F3A3AB; }
.cb-rp-legende { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 18px; }
.cb-rp-legende li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-2); }
.cb-rp-pastille { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.cb-rp-leg-nom { flex: 1; }
.cb-rp-legende strong { color: var(--ink); }
.cb-rp-legende small { color: var(--ink-3); min-width: 38px; text-align: right; }
.cb-rp-refus { flex-basis: 100%; padding-left: 18px; font-style: normal; font-size: .78rem; color: var(--ink-3); }
.cb-rp-table-wrap { overflow-x: auto; }
.cb-rp-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cb-rp-table th { padding: 8px 10px; text-align: left; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); white-space: nowrap; }
.cb-rp-table td { padding: 10px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
.cb-rp-table tr:last-child td { border-bottom: 0; }
.cb-rp-table .n { text-align: right; }
.cb-rp-table a { color: var(--ink); font-weight: 600; text-decoration: none; }
.cb-rp-table a:hover { color: var(--violet-dark); }
.cb-rp-pill { display: inline-block; min-width: 24px; padding: 1px 8px; border-radius: 999px; font-weight: 700; text-align: center; }
.cb-rp-pill.is-violet { background: var(--violet-tint); color: var(--violet-dark); }
.cb-rp-pill.is-vert { background: var(--turquoise-tint); color: var(--turquoise-dark); }
.cb-rp-duo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.cb-rp-recrues { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cb-rp-recrues li { display: flex; align-items: center; gap: 10px; }
.cb-rp-recrues strong { display: block; font-size: .9rem; color: var(--ink); }
.cb-rp-recrues small { font-size: .8rem; color: var(--ink-3); }
@media (max-width: 860px) { .cb-rp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cb-rp-duo { grid-template-columns: minmax(0, 1fr); } }
/* Le menu des annonces passe au-dessus des colonnes du tableau. */
.cb-page-head { position: relative; z-index: 30; }

/* Période du reporting : ‹ Octobre 2026 › (09/10/2026). */
.cb-rp-nav { display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-xs); }
.cb-rp-nav a, .cb-rp-nav span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 1.2rem; line-height: 1; text-decoration: none; color: var(--ink-2); }
.cb-rp-nav a:hover { background: var(--hover); color: var(--ink); }
.cb-rp-nav span { color: var(--line); }
.cb-rp-nav strong { min-width: 118px; padding: 0 8px; text-align: center; font-size: .9rem; color: var(--ink); white-space: nowrap; }

/* Revue de la CVthèque (09/10/2026). */
.cb-emp-role-select { min-width: 150px; padding: 7px 10px; border: 1.5px solid var(--border); border-radius: 8px; font: inherit; font-size: .84rem; background: var(--surface); }
.cb-emp-equipe .cb-emp-table td { vertical-align: middle; }
.cb-emp-equipe .cb-emp-table td:last-child { white-space: nowrap; }
.cb-emp-roles-aide { flex-basis: 100%; margin: 4px 0 0; font-size: .8rem; line-height: 1.5; color: var(--slate); }
.cb-emp-moi { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cb-emp-moi .cb-avatar { width: 44px; height: 44px; font-size: 1.1rem; flex-shrink: 0; }
.cb-emp-moi strong { display: block; font-size: .95rem; color: var(--ink); word-break: break-all; }
.cb-emp-moi span { font-size: .84rem; color: var(--slate); }

/* Barre de filtres du reporting (09/10/2026). */
.cb-rp-filtres { display: flex; align-items: flex-end; gap: 14px 18px; flex-wrap: wrap; margin: -4px 0 16px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.cb-rp-f { display: flex; flex-direction: column; gap: 5px; }
.cb-rp-f-l { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.cb-rp-seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--line-soft); border-radius: 10px; }
.cb-rp-seg a { padding: 6px 12px; border-radius: 8px; font-size: .84rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.cb-rp-seg a:hover { color: var(--ink); }
.cb-rp-seg a.is-actif { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(27,37,55,.12); }
.cb-rp-filtres .cb-rp-nav { align-self: flex-end; }
.cb-rp-menu { position: relative; }
.cb-rp-menu summary { list-style: none; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 220px; padding: 7px 10px 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .86rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.cb-rp-menu summary::-webkit-details-marker { display: none; }
.cb-rp-menu summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.cb-rp-menu[open] summary { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-tint); }
.cb-rp-menu[open] summary .cb-i { transform: rotate(180deg); }
.cb-rp-menu-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 100%; max-height: 320px; overflow-y: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 12px 32px -8px rgba(27,37,55,.22); }
.cb-rp-menu-pop a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r); font-size: .88rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.cb-rp-menu-pop a:hover { background: var(--hover); }
.cb-rp-menu-pop a.is-actif { background: var(--violet-tint); color: var(--violet-dark); font-weight: 700; }
.cb-rp-check { width: 14px; color: var(--violet-dark); font-weight: 800; }
.cb-rp-reset { align-self: flex-end; margin-left: auto; padding: 8px 4px; font-size: .84rem; font-weight: 600; color: var(--ink-3); text-decoration: none; }
.cb-rp-reset:hover { color: var(--danger); }
@media (max-width: 640px) { .cb-rp-filtres { align-items: stretch; } .cb-rp-f, .cb-rp-menu summary { width: 100%; } .cb-rp-seg { width: 100%; overflow-x: auto; } .cb-rp-reset { margin-left: 0; } }

/* Graphiques du reporting (09/10/2026) : arrivées dans le temps, réactivité, issue des candidatures. */
.cb-rp-kpi strong { display: flex; align-items: baseline; gap: 10px; }
.cb-rp-ecart { font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: 0; }
.cb-rp-ecart.is-hausse { background: var(--turquoise-tint); color: var(--turquoise-dark); }
.cb-rp-ecart.is-baisse { background: #FDECEE; color: #C2414F; }
.cb-rp-ecart.is-egal { background: var(--line-soft); color: var(--ink-3); }
.cb-rp-carte-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; margin-bottom: 14px; }
.cb-rp-carte-tete h2 { margin: 0; }
.cb-rp-carte h2 small { font-size: .8rem; font-weight: 500; color: var(--ink-3); }
.cb-rp-ev-leg { list-style: none; display: flex; gap: 6px 14px; flex-wrap: wrap; margin: 0; padding: 0; font-size: .8rem; color: var(--ink-2); }
.cb-rp-ev-leg li { display: flex; align-items: center; gap: 6px; }
.cb-rp-ev { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; height: 220px; }
.cb-rp-ev-grille { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 22px; font-size: .7rem; color: var(--ink-3); text-align: right; }
.cb-rp-ev-barres { position: relative; display: flex; align-items: stretch; gap: clamp(2px, calc(60px / var(--n)), 10px); padding-bottom: 22px; background: linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 100% calc((100% - 22px) / 2) no-repeat, linear-gradient(var(--line-soft) 1px, transparent 1px) 0 calc((100% - 22px) / 2) / 100% 1px no-repeat; border-bottom: 1px solid var(--line); }
.cb-rp-ev-col { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.cb-rp-ev-pile { display: flex; flex-direction: column; gap: 2px; min-height: 0; border-radius: 6px 6px 2px 2px; overflow: hidden; transition: opacity .15s; }
.cb-rp-ev-pile span { min-height: 2px; }
.cb-rp-ev-col:hover .cb-rp-ev-pile { opacity: .8; }
.cb-rp-ev-val { position: absolute; left: 50%; transform: translate(-50%, -18px); font-size: .7rem; color: var(--ink-2); opacity: 0; transition: opacity .15s; pointer-events: none; }
.cb-rp-ev-col:hover .cb-rp-ev-val { opacity: 1; }
.cb-rp-ev-col small { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: .68rem; color: var(--ink-3); white-space: nowrap; }
.cb-rp-ev-col small.is-cache { visibility: hidden; }
.cb-rp-duo-egal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cb-rp-reac { display: flex; align-items: center; gap: 22px; }
.cb-rp-jauge, .cb-rp-donut { flex-shrink: 0; display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%; position: relative; }
.cb-rp-jauge { background: conic-gradient(var(--turquoise) calc(var(--p) * 1%), var(--line-soft) 0); }
.cb-rp-jauge::before, .cb-rp-donut::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--surface); }
.cb-rp-jauge strong, .cb-rp-donut strong { position: relative; display: flex; flex-direction: column; align-items: center; font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.cb-rp-donut strong small { font-size: .72rem; font-weight: 600; color: var(--ink-3); }
.cb-rp-reac-txt { display: grid; gap: 10px; font-size: .9rem; color: var(--ink); }
.cb-rp-reac-txt p { margin: 0; }
.cb-rp-reac-txt small { color: var(--ink-3); font-size: .8rem; }
.cb-rp-lien { font-size: .84rem; font-weight: 700; color: var(--violet-dark); text-decoration: none; }
.cb-rp-donut-leg { list-style: none; flex: 1; display: grid; gap: 8px; margin: 0; padding: 0; font-size: .86rem; color: var(--ink-2); }
.cb-rp-donut-leg li { display: flex; align-items: center; gap: 8px; }
.cb-rp-donut-leg strong { color: var(--ink); }
.cb-rp-donut-leg small { min-width: 38px; text-align: right; color: var(--ink-3); }
.cb-rp-col-rep { width: 140px; }
.cb-rp-mini { display: flex; gap: 2px; height: 8px; border-radius: 999px; overflow: hidden; background: var(--line-soft); }
@media (max-width: 860px) { .cb-rp-duo-egal { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .cb-rp-reac { flex-direction: column; align-items: flex-start; } .cb-rp-ev { height: 180px; } .cb-rp-col-rep { display: none; } }

/* Vue consolidée du tableau (09/10/2026) : la campagne de chaque candidat. */
.cb-emp-camp-tag { display: inline-block; max-width: 100%; margin: 2px 0 4px; padding: 1px 8px; border-radius: 999px; background: var(--violet-tint); color: var(--violet-dark); font-size: .72rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-emp-camp-sep { height: 1px; margin: 4px 6px; background: var(--line); }
.cb-emp-camp-item.is-groupe .cb-emp-camp-nom { font-weight: 700; }

/* Reporting orienté valeur (09/10/2026) : bilan, parcours, profils à découvrir. */
.cb-rp-bseg.is-lavande, .cb-rp-funnel .is-lavande { background: #B9A6F2; }
.cb-rp-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 20px 24px; border-radius: var(--r-lg); background: linear-gradient(120deg, #233048 0%, #3B2C7A 60%, #5022D3 100%); color: #fff; box-shadow: var(--shadow-card); }
.cb-rp-hero-l { display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9FF0E1; }
.cb-rp-hero p { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.cb-rp-hero strong { color: #50DDC4; font-weight: 800; }
.cb-rp-hero-badge { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 1.6rem; }
.cb-rp-funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cb-rp-funnel li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 48px 150px; align-items: center; gap: 14px; font-size: .9rem; color: var(--ink-2); }
.cb-rp-funnel-barre { height: 26px; border-radius: 8px; background: var(--line-soft); overflow: hidden; }
.cb-rp-funnel-barre span { display: block; height: 100%; border-radius: 8px; }
.cb-rp-funnel .is-nouveau { background: var(--violet); }
.cb-rp-funnel .is-neutre { background: #8E9CF0; }
.cb-rp-funnel .is-positif { background: var(--turquoise); }
.cb-rp-funnel strong { font-size: 1.1rem; color: var(--ink); text-align: right; }
.cb-rp-funnel small { font-size: .78rem; color: var(--ink-3); }
.cb-rp-carte-fete { background: linear-gradient(160deg, var(--turquoise-tint), var(--surface) 55%); }
.cb-rp-decouvrir { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cb-rp-decouvrir strong { font-size: 2.4rem; line-height: 1.1; font-weight: 800; color: var(--turquoise-dark); }
.cb-rp-decouvrir.is-actif { background: linear-gradient(160deg, var(--violet-tint), var(--surface) 60%); }
.cb-rp-decouvrir.is-actif strong { color: var(--violet-dark); }
.cb-rp-decouvrir p { margin: 0 0 6px; color: var(--ink-2); font-size: .92rem; }
.cb-rp-decouvrir small { color: var(--ink-3); font-size: .8rem; }
.cb-rp-detail summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; color: var(--ink-2); font-size: .92rem; }
.cb-rp-detail summary::-webkit-details-marker { display: none; }
.cb-rp-detail[open] summary .cb-i { transform: rotate(180deg); }
.cb-rp-detail .cb-rp-legende { margin-top: 14px; }
.cb-rp-ecart.is-egal { font-weight: 600; font-size: .72rem; }
@media (max-width: 640px) { .cb-rp-funnel li { grid-template-columns: minmax(0, 1fr) 40px; } .cb-rp-funnel-barre { grid-column: 1 / -1; grid-row: 2; } .cb-rp-funnel small { grid-column: 1 / -1; } .cb-rp-hero-badge { display: none; } }

/* Reporting « recruteur » (09/10/2026) : prochaines actions, tenue en poste, retour sur investissement. */
.cb-rp-actions h2 { margin-bottom: 12px; }
.cb-rp-ok { display: flex; align-items: center; gap: 12px; }
.cb-rp-ok strong { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--turquoise-tint); color: var(--turquoise-dark); font-size: 1.2rem; }
.cb-rp-ok p { margin: 0; color: var(--ink-2); font-size: .9rem; }
.cb-rp-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cb-rp-todo > li { display: flex; gap: 12px; align-items: flex-start; }
.cb-rp-todo-n { flex-shrink: 0; display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px; border-radius: 10px; font-weight: 800; font-size: 1rem; }
.cb-rp-todo .is-violet .cb-rp-todo-n { background: var(--violet-tint); color: var(--violet-dark); }
.cb-rp-todo .is-lavande .cb-rp-todo-n { background: #EFEAFD; color: #5B44B8; }
.cb-rp-todo .is-ambre .cb-rp-todo-n { background: #FFF4E0; }
.cb-rp-todo > li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: .9rem; color: var(--ink); }
.cb-rp-todo small { color: var(--ink-3); font-size: .8rem; line-height: 1.45; }
.cb-rp-todo a { margin-top: 2px; font-size: .84rem; font-weight: 700; color: var(--violet-dark); text-decoration: none; }
.cb-rp-todo-noms { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; font-size: .84rem; color: var(--ink); }
.cb-rp-todo-noms span { color: var(--ink-3); font-size: .78rem; }
.cb-rp-actions-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: .8rem; color: var(--ink-3); }
.cb-rp-poste { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 14px; }
.cb-rp-poste span { padding: 3px 10px; border-radius: 999px; background: var(--line-soft); font-size: .76rem; color: var(--ink-2); }
.cb-rp-poste span.is-ok { background: var(--turquoise-tint); color: var(--turquoise-dark); font-weight: 700; }
.cb-rp-roi { background: linear-gradient(150deg, #F3FDFB 0%, var(--surface) 45%, #F8F6FE 100%); }
.cb-rp-roi-admin { font-size: .72rem; font-weight: 600; color: var(--ink-3); }
.cb-rp-roi-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); align-items: stretch; gap: 12px; }
.cb-rp-roi-bloc { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.cb-rp-roi-bloc strong { font-size: 1.7rem; font-weight: 800; line-height: 1.15; color: var(--ink); white-space: nowrap; }
.cb-rp-roi-bloc small { font-size: .78rem; color: var(--ink-3); line-height: 1.4; }
.cb-rp-roi-bloc.is-colybry strong { color: var(--turquoise-dark); }
.cb-rp-roi-bloc.is-agence strong { color: var(--ink-2); }
.cb-rp-roi-bloc.is-gain { background: linear-gradient(135deg, #233048, #5022D3); border-color: transparent; }
.cb-rp-roi-bloc.is-gain .cb-rp-kpi-l { color: #9FF0E1; }
.cb-rp-roi-bloc.is-gain strong { color: #fff; }
.cb-rp-roi-bloc.is-gain small { color: rgba(255,255,255,.75); }
.cb-rp-roi-bloc.is-gain b { color: #50DDC4; }
.cb-rp-roi-vs { align-self: center; font-size: .8rem; font-weight: 800; color: var(--ink-3); text-transform: uppercase; }
.cb-rp-roi-credits { margin: 12px 0 0; font-size: .88rem; color: var(--ink-2); }
.cb-rp-roi-hyp { margin-top: 10px; font-size: .8rem; color: var(--ink-3); }
.cb-rp-roi-hyp summary { list-style: none; cursor: pointer; }
.cb-rp-roi-hyp summary::-webkit-details-marker { display: none; }
.cb-rp-roi-hyp summary span { margin-left: 4px; font-weight: 700; color: var(--violet-dark); text-decoration: underline; text-underline-offset: 2px; }
.cb-rp-roi-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin-top: 10px; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cb-rp-roi-form label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; color: var(--ink-2); }
.cb-rp-roi-form label span { font-weight: 600; }
.cb-rp-roi-form input { width: 130px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .9rem; }
.cb-rp-roi-form p { flex-basis: 100%; margin: 0; font-size: .76rem; color: var(--ink-3); }
@media (max-width: 860px) { .cb-rp-roi-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cb-rp-roi-vs { display: none; } .cb-rp-roi-bloc.is-gain { grid-column: 1 / -1; } }
@media (max-width: 520px) { .cb-rp-roi-grille { grid-template-columns: minmax(0, 1fr); } }

/* Recruteurs par campagne (09/10/2026) : grille campagnes × recruteurs. */
.cb-emp-matrice-box { margin-bottom: 20px; }
.cb-emp-matrice-box h2 { font-size: 1rem; margin: 0 0 4px; }
.cb-emp-matrice-aide { margin: 0 0 14px; font-size: .84rem; color: var(--ink-2); line-height: 1.5; }
.cb-emp-matrice { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .88rem; }
.cb-emp-matrice th, .cb-emp-matrice td { padding: 9px 12px; border-bottom: 1px solid var(--line-soft); text-align: center; }
.cb-emp-matrice thead th { position: sticky; top: 0; background: var(--surface); font-size: .78rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); vertical-align: bottom; }
.cb-emp-matrice thead th:first-child, .cb-emp-matrice tbody th { text-align: left; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cb-emp-matrice thead th small { display: block; font-weight: 500; color: var(--ink-3); }
.cb-emp-matrice-nom { display: inline-block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-emp-matrice tbody tr:hover td, .cb-emp-matrice tbody tr:hover th { background: var(--hover); }
.cb-emp-matrice-case { position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px; cursor: pointer; }
.cb-emp-matrice-case input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.cb-emp-matrice-case span { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); background: var(--surface); transition: background .12s, border-color .12s; }
.cb-emp-matrice-case input:checked + span { background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--violet); }
.cb-emp-matrice-case input:focus-visible + span { box-shadow: 0 0 0 3px var(--violet-tint); }
.cb-emp-matrice-pied th, .cb-emp-matrice-pied td { border-bottom: 0; font-size: .76rem; color: var(--ink-3); }
.cb-emp-matrice-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--line-soft); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.cb-emp-matrice-tag.is-toutes { background: var(--turquoise-tint); color: var(--turquoise-dark); }
.cb-emp-matrice-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.cb-emp-matrice-actions span { font-size: .8rem; color: var(--ink-3); }

.cb-rp-roi-form fieldset { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0; padding: 0; border: 0; }
.cb-rp-roi-form legend { flex-basis: 100%; margin-bottom: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.cb-rp-roi-form input[name^="interne"] { width: 100px; }
@media (max-width: 1100px) { .cb-rp-roi-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cb-rp-roi-bloc.is-gain { grid-column: 1 / -1; } }
@media (max-width: 860px) { .cb-rp-roi-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .cb-rp-roi-grille { grid-template-columns: minmax(0, 1fr); } }
.cb-rp-roi-plus { color: var(--ink-2); font-weight: 700; }
.cb-rp-roi-intro { margin: -6px 0 14px; font-size: .86rem; color: var(--ink-2); line-height: 1.5; }
.cb-rp-roi-plus-liste { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; color: var(--ink-2); }
.cb-rp-roi-plus-liste li { position: relative; padding-left: 20px; }
.cb-rp-roi-plus-liste li::before { content: "✓"; position: absolute; left: 0; color: var(--turquoise-dark); font-weight: 800; }

/* Navigation de période (09/10/2026) : vraies flèches, menu de saut, retour à la période en cours. */
.cb-rp-nav-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cb-rp-filtres .cb-rp-nav { align-self: auto; gap: 0; padding: 3px; border-radius: 12px; background: var(--line-soft); border: 0; box-shadow: none; }
.cb-rp-nav-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--ink); text-decoration: none; transition: background .12s; }
.cb-rp-nav-btn:hover { background: var(--surface); box-shadow: 0 1px 3px rgba(27,37,55,.12); }
.cb-rp-nav-btn.is-off { color: var(--ink-3); opacity: .35; cursor: not-allowed; }
.cb-rp-nav-menu summary { min-width: 0; gap: 8px; padding: 7px 12px; border: 0; background: var(--surface); border-radius: 9px; box-shadow: 0 1px 3px rgba(27,37,55,.12); font-weight: 700; }
.cb-rp-nav-menu summary span { min-width: 112px; text-align: center; }
.cb-rp-nav-menu .cb-rp-menu-pop { left: 50%; transform: translateX(-50%); min-width: 200px; }
.cb-rp-auj { padding: 6px 12px; border-radius: 999px; background: var(--violet-tint); color: var(--violet-dark); font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cb-rp-auj:hover { background: #E2D9FB; }
@media (max-width: 640px) { .cb-rp-nav-menu summary { width: auto; } .cb-rp-nav-wrap { width: 100%; } }
/* Annule les anciennes règles .cb-rp-nav span/a sur le menu de saut. */
.cb-rp-nav .cb-rp-nav-menu span, .cb-rp-nav .cb-rp-nav-menu a { display: revert; width: auto; height: auto; border-radius: 0; font-size: inherit; color: inherit; }
.cb-rp-nav .cb-rp-nav-menu .cb-rp-menu-pop a { display: flex; border-radius: var(--r); font-size: .88rem; color: var(--ink); }
.cb-rp-nav .cb-rp-nav-menu .cb-rp-menu-pop a.is-actif { color: var(--violet-dark); }
.cb-rp-nav .cb-rp-nav-menu .cb-rp-check { display: inline-block; width: 14px; color: var(--violet-dark); }
.cb-rp-nav .cb-rp-nav-menu summary { color: var(--ink); }
.cb-rp-nav .cb-rp-nav-menu[open] summary { box-shadow: 0 0 0 2px var(--violet); }
.cb-rp-nav-btn { width: 30px; height: 30px; }
.cb-rp-nav-menu summary { padding: 5px 10px; }
.cb-rp-filtres { gap: 14px; }

/* Barre de filtres du reporting, version épurée (09/10/2026) : une ligne, 36 px partout, icônes au lieu des libellés. */
.cb-rpf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-xs, 0 1px 2px rgba(27,37,55,.05)); }
.cb-rpf-seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--line-soft); border-radius: 10px; }
.cb-rpf-seg a { display: flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .12s, background .12s; }
.cb-rpf-seg a:hover { color: var(--ink); }
.cb-rpf-seg a.is-actif { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(27,37,55,.14); }
.cb-rpf-nav { display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cb-rpf-fleche { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink-2); text-decoration: none; }
.cb-rpf-fleche:first-child { border-radius: 9px 0 0 9px; border-right: 1px solid var(--line-soft); }
.cb-rpf-fleche:last-child { border-radius: 0 9px 9px 0; border-left: 1px solid var(--line-soft); }
.cb-rpf-fleche:hover { background: var(--hover); color: var(--ink); }
.cb-rpf-fleche.is-off { color: var(--ink-3); opacity: .35; cursor: default; }
.cb-rpf .cb-rpf-menu summary { display: inline-flex; align-items: center; gap: 8px; min-width: 0; height: 34px; padding: 0 12px; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: .86rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.cb-rpf .cb-rpf-menu summary .cb-i { color: var(--ink-3); flex-shrink: 0; }
.cb-rpf .cb-rpf-menu summary span { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-rpf .cb-rpf-menu summary:hover { background: var(--hover); }
.cb-rpf .cb-rpf-menu[open] summary { box-shadow: none; background: var(--hover); }
.cb-rpf-nav .cb-rpf-menu summary span { min-width: 104px; text-align: center; }
.cb-rpf-nav .cb-rp-menu-pop { left: 50%; transform: translateX(-50%); min-width: 190px; }
.cb-rpf .cb-rpf-camp summary { height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cb-rpf .cb-rpf-camp.is-filtre summary { border-color: var(--violet); background: var(--violet-tint); color: var(--violet-dark); }
.cb-rpf .cb-rpf-camp.is-filtre summary .cb-i { color: var(--violet-dark); }
.cb-rpf .cb-rpf-camp[open] summary { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-tint); }
.cb-rpf-espace { flex: 1; }
.cb-rpf-lien { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; font-size: .82rem; font-weight: 700; color: var(--violet-dark); text-decoration: none; white-space: nowrap; }
.cb-rpf-lien:hover { background: var(--violet-tint); }
.cb-rpf-lien.is-discret { color: var(--ink-3); font-weight: 600; }
.cb-rpf-lien.is-discret:hover { background: var(--hover); color: var(--ink); }
@media (max-width: 640px) { .cb-rpf-seg { width: 100%; } .cb-rpf-seg a { flex: 1; justify-content: center; padding: 0 6px; } .cb-rpf-espace { display: none; } .cb-rpf-lien.is-discret span { display: none; } }
.cb-rpf .cb-rpf-menu[open] summary .cb-i { transform: none; }
.cb-rpf .cb-rpf-camp[open] summary .cb-i:last-child { transform: rotate(180deg); }

/* Facturation (refonte du 09/10/2026). */
.cb-fac { max-width: 1040px; }
.cb-fac-tete { margin-bottom: 18px; }
.cb-fac-tete h1 { margin: 0; font-size: 1.5rem; color: var(--ink); }
.cb-fac-tete p { margin: 4px 0 0; color: var(--ink-2); font-size: .9rem; }
.cb-fac-solde { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 26px; border-radius: var(--r-lg); background: linear-gradient(120deg, #233048 0%, #3B2C7A 60%, #5022D3 100%); color: #fff; box-shadow: var(--shadow-card); }
.cb-fac-solde-l { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9FF0E1; }
.cb-fac-solde-n { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.cb-fac-solde-n strong { font-size: 3rem; line-height: 1; font-weight: 800; }
.cb-fac-solde-n span { font-size: 1rem; color: rgba(255,255,255,.8); }
.cb-fac-solde-alerte { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: #FDECEE; color: #C2414F; font-size: .76rem; font-weight: 700; }
.cb-fac-solde.is-low .cb-fac-solde-alerte { background: #FFF4E0; color: #A3620A; }
.cb-fac-solde-prix { margin: 10px 0 0; font-size: .86rem; color: rgba(255,255,255,.75); }
.cb-fac-solde-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 280px; }
.cb-fac-solde-cta small { font-size: .76rem; color: rgba(255,255,255,.7); text-align: right; }
.cb-fac-btn { padding: 11px 20px; border: 0; border-radius: 10px; background: #50DDC4; color: #1B2537; font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; transition: transform .12s, background .12s; }
.cb-fac-btn:hover { background: #6BE6D0; transform: translateY(-1px); }
.cb-fac-btn:disabled { opacity: .7; cursor: default; transform: none; }
.cb-fac-garantie { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0; padding: 14px 18px; border-radius: var(--r-lg); background: var(--turquoise-tint); border: 1px solid #BDEFE4; }
.cb-fac-garantie-ico { font-size: 1.2rem; line-height: 1.3; }
.cb-fac-garantie p { margin: 0; font-size: .86rem; color: var(--ink-2); line-height: 1.5; }
.cb-fac-garantie strong { color: var(--turquoise-dark); }
.cb-fac-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; align-items: start; }
.cb-fac-col { display: grid; gap: 14px; }
.cb-fac-carte { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.cb-fac-carte h2 { margin: 0 0 12px; font-size: 1rem; color: var(--ink); }
.cb-fac-vide { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--line-soft); color: var(--ink-3); }
.cb-fac-vide p { margin: 0; font-size: .86rem; }
.cb-fac-histo { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cb-fac-histo li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.cb-fac-histo li:last-child { border-bottom: 0; }
.cb-fac-histo li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .88rem; color: var(--ink); }
.cb-fac-histo small { font-size: .76rem; color: var(--ink-3); }
.cb-fac-histo-pastille { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; font-weight: 800; }
.cb-fac-histo-pastille.is-pos { background: var(--turquoise-tint); color: var(--turquoise-dark); }
.cb-fac-histo-pastille.is-neg { background: var(--violet-tint); color: var(--violet-dark); }
.cb-fac-histo strong { font-size: .95rem; }
.cb-fac-histo strong.is-pos { color: var(--turquoise-dark); }
.cb-fac-histo strong.is-neg { color: var(--violet-dark); }
.cb-fac-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cb-fac-liste a, .cb-fac-ligne { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); color: inherit; text-decoration: none; }
.cb-fac-liste a:hover { border-color: var(--violet); background: var(--violet-tint); }
.cb-fac-liste a > .cb-i:last-child { color: var(--ink-3); }
.cb-fac-liste div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cb-fac-liste strong { font-size: .9rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-fac-liste small { font-size: .76rem; color: var(--ink-3); }
.cb-fac-ico { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; background: var(--line-soft); color: var(--ink-2); }
.cb-fac-badges { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.cb-fac-montant { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: .9rem; }
.cb-fac-montant small { font-weight: 500; }
.cb-fac-note { margin: 12px 0 0; font-size: .78rem; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 860px) { .cb-fac-grille { grid-template-columns: minmax(0, 1fr); } .cb-fac-solde-cta { align-items: flex-start; max-width: none; } .cb-fac-solde-cta small { text-align: left; } }

/* Disponibilité modifiable dans la fiche (09/10/2026). */
.cb-emp-dispo-val { display: inline-flex; align-items: center; gap: 6px; }
.cb-emp-dispo-val[hidden] { display: none; }
.cb-emp-dispo-edit { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-3); cursor: pointer; font-size: .85rem; }
.cb-emp-dispo-edit:hover { background: var(--hover); color: var(--violet-dark); }
.cb-emp-dispo-form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.cb-emp-dispo-form[hidden] { display: none; }
.cb-emp-dispo-form input { flex: 1; min-width: 160px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .88rem; }
.cb-emp-dispo-form input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-tint); }
