/* Eyefind Emplois (emplois/) — s'appuie sur les variables de style.css
   (--bg, --text, --border…) : thème clair, sombre et système suivis d'office.
   Préfixe .ej-. */

.ej-app {
  --ej-page: var(--bg-page-end);
  --ej-surface: var(--bg);
  --ej-soft: rgba(128, 134, 139, 0.09);
  --ej-soft-2: rgba(128, 134, 139, 0.16);
  --ej-primary: #1a73e8;
  --ej-primary-ink: var(--link);
  --ej-accent: #b85600;
  --ej-accent-ink: #9a4700;
  --ej-accent-bg: #fef3e2;
  --ej-accent-line: #f6d9ae;
  --ej-salary: var(--success);
  --ej-title: #1a0dab;
  --ej-radius: 14px;
  --ej-gov: #0f2a47;
  --ej-gold: #e8c766;
  background: var(--ej-page);
  min-height: 100%;
}
:root[data-theme="dark"] .ej-app {
  --ej-accent: #c96a12;
  --ej-accent-ink: #fcad50;
  --ej-accent-bg: rgba(252, 173, 80, 0.1);
  --ej-accent-line: rgba(252, 173, 80, 0.28);
  --ej-title: #8ab4f8;
  --ej-page: #1b1c1e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ej-app {
    --ej-accent: #c96a12;
    --ej-accent-ink: #fcad50;
    --ej-accent-bg: rgba(252, 173, 80, 0.1);
    --ej-accent-line: rgba(252, 173, 80, 0.28);
    --ej-title: #8ab4f8;
    --ej-page: #1b1c1e;
  }
}

.ej-app a { font-size: inherit; }
.ej-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ej-muted { color: var(--text-muted); margin: 0; }
.ej-small { font-size: 13px; }
.ej-center { display: block; text-align: center; }
.ej-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.ej-h1 { margin: 0 0 6px; font-size: 28px; font-weight: 400; color: var(--text); }
.ej-h2 { margin: 32px 0 12px; font-size: 19px; color: var(--text); }
.ej-link-strong { font-weight: 700; color: var(--ej-primary-ink); font-size: 14px; }
.ej-spacer { flex: 1; }

/* ---- Structure ---------------------------------------------------------- */
.ej-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.ej-wrap-wide { max-width: 1320px; }
.ej-narrow { max-width: 860px; }
.ej-page { padding-top: 22px; padding-bottom: 56px; }
.ej-main-wrap { flex: 1 0 auto; }
.ej-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ej-col-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ej-col-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ej-page-head { margin-bottom: 18px; }
.ej-page-head-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; }

/* ---- En-tête ------------------------------------------------------------ */
.ej-top { background: var(--ej-surface); border-bottom: 1px solid var(--border); position: relative; z-index: 30; }
.ej-top-row { max-width: 1320px; margin: 0 auto; padding: 8px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 64px; }
.ej-top-home { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-muted); }
.ej-top-home:hover { background: var(--ej-soft); color: var(--text); }
.ej-top-home svg { width: 20px; height: 20px; }
.ej-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.ej-brand-tile { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; background: #e37400; align-items: center; justify-content: center; color: #fff; }
.ej-brand-ico { width: 20px; height: 20px; }
.ej-brand-text { font-size: 20px; white-space: nowrap; }
.ej-brand-text span { color: var(--text-muted); }
.ej-tabs { display: flex; flex-wrap: wrap; gap: 2px; margin-left: 8px; }
.ej-tabs a { padding: 10px 12px; border-radius: 8px; color: var(--text); font-size: 14px; text-decoration: none; }
.ej-tabs a:hover { background: var(--ej-soft); }
.ej-tabs a.is-current { color: var(--ej-primary-ink); background: var(--link-tint); font-weight: 700; }
.ej-top-publish { margin-left: auto; }
.ej-top-account { margin-left: 4px; }
.ej-preview { margin: 0; padding: 10px 20px; text-align: center; font-size: 14px; background: var(--warning-bg); color: var(--warning); border-bottom: 1px solid var(--border); }

@media (max-width: 860px) {
  .ej-tabs { order: 5; width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; }
  .ej-tabs a { white-space: nowrap; }
  .ej-top-publish span { display: none; }
  .ej-top-publish { padding: 0 12px; }
}

/* ---- Boutons ------------------------------------------------------------ */
.ej-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--ej-surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 600;
  text-decoration: none; text-align: center; line-height: 1.25; cursor: pointer; transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.ej-btn:hover { background: var(--ej-soft); text-decoration: none; }
.ej-btn:focus-visible, .ej-chip:focus-visible, .ej-card:focus-visible { outline: 2px solid var(--ej-primary); outline-offset: 2px; }
.ej-btn svg { width: 18px; height: 18px; flex: none; }
.ej-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.ej-btn-primary { background: var(--ej-primary); border-color: var(--ej-primary); color: #fff; }
.ej-btn-primary:hover { background: #1765cc; color: #fff; }
.ej-btn-accent { background: var(--ej-accent); border-color: var(--ej-accent); color: #fff; }
.ej-btn-accent:hover { background: #a24b00; color: #fff; }
.ej-btn-danger { color: var(--danger); border-color: var(--danger-bg); background: var(--danger-bg); }
.ej-btn-block { display: flex; width: 100%; min-height: 44px; }
.ej-btn-small { min-height: 34px; padding: 0 14px; font-size: 13px; }

/* ---- Messages ----------------------------------------------------------- */
.ej-notice { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.ej-notice-error { background: var(--danger-bg); color: var(--danger); }
.ej-notice-ok { background: var(--success-bg); color: var(--success); }
.ej-info { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--link-tint); color: var(--text); font-size: 13px; line-height: 1.5; }

/* ---- Accueil ------------------------------------------------------------ */
.ej-hero { background: var(--ej-surface); border-bottom: 1px solid var(--border); }
.ej-hero-in { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 34px; padding-bottom: 30px; }
.ej-hero-main { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ej-hero-main h1 { margin: 0; font-size: 34px; line-height: 1.2; font-weight: 400; color: var(--text); }
.ej-hero-main p { margin: 0; font-size: 16px; color: var(--text-muted); }
.ej-search { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ej-search-field { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: 24px; background: var(--ej-surface); }
.ej-search-field:focus-within { border-color: var(--ej-primary); box-shadow: 0 1px 6px var(--shadow-soft); }
.ej-search-what { flex: 2 1 240px; box-shadow: 0 1px 6px var(--shadow-soft); }
.ej-search-where { flex: 1 1 160px; }
.ej-search-field svg { width: 18px; height: 18px; color: var(--text-muted); flex: none; }
.ej-app .ej-search-field input { flex: 1; min-width: 0; width: auto; padding: 0; border: 0; border-radius: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.ej-search-btn { height: 48px; border-radius: 24px; padding: 0 24px; }
.ej-recruit { flex: 1 1 290px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--ej-radius); background: var(--ej-accent-bg); border: 1px solid var(--ej-accent-line); }
.ej-recruit-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ej-accent-ink); }
.ej-recruit-title { margin: 0; font-size: 18px; line-height: 1.35; color: var(--text); }
.ej-recruit-text { margin: 0 0 4px; font-size: 14px; color: var(--text-muted); }
.ej-recruit .ej-btn { margin-top: auto; }

.ej-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.ej-chip {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--border); border-radius: 18px;
  background: var(--ej-surface); color: var(--text); font-size: 14px; text-decoration: none; cursor: pointer;
}
.ej-chip:hover { background: var(--ej-soft); text-decoration: none; }
.ej-chip.is-active { background: var(--link-tint); border-color: var(--ej-primary-ink); color: var(--ej-primary-ink); font-weight: 700; }
.ej-chips-sep { width: 1px; height: 22px; background: var(--border); margin: 0 4px; }
.ej-chip-selects { display: contents; }
.ej-chip-select { height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 18px; background: var(--ej-surface); color: var(--text); font: inherit; font-size: 14px; max-width: 220px; }
.ej-chip-select.is-active { border-color: var(--ej-primary-ink); color: var(--ej-primary-ink); font-weight: 700; }
.ej-chip-reset { font-size: 14px; color: var(--ej-primary-ink); margin-left: 4px; }

.ej-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 14px; }
.ej-list-head a { color: var(--ej-primary-ink); }
.ej-list { display: flex; flex-direction: column; gap: 12px; }
.ej-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; font-size: 14px; }

.ej-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 20px; text-align: center; background: var(--ej-surface); border: 1px dashed var(--border); border-radius: var(--ej-radius); }
.ej-empty-ico { width: 40px; height: 40px; color: var(--text-muted); }
.ej-empty-title { margin: 0; font-size: 17px; color: var(--text); }

/* ---- Carte d'offre ------------------------------------------------------ */
.ej-card {
  display: flex; gap: 18px; padding: 14px; border-radius: var(--ej-radius); border: 1px solid var(--border);
  background: var(--ej-surface); color: var(--text); text-decoration: none;
  transition: box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}
.ej-card:hover { border-color: var(--border-hover); box-shadow: 0 1px 8px var(--shadow-soft); text-decoration: none; }
.ej-card:hover .ej-card-title { text-decoration: underline; }
.ej-card-media {
  position: relative; flex: none; width: 176px; height: 124px; border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--sector, #5f6368) 14%, var(--ej-surface));
  color: var(--sector, #5f6368);
}
.ej-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ej-card-fallback { width: 40px; height: 40px; }
.ej-card-urgent { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 6px; background: #c5221f; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.ej-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ej-card-pub { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); min-width: 0; }
.ej-card-pub-name { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ej-card-title { font-size: 18px; color: var(--ej-title); line-height: 1.3; }
.ej-card-pitch { font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.ej-card-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.ej-salary { color: var(--ej-salary); font-weight: 700; }
@media (max-width: 640px) {
  .ej-card { flex-direction: column; }
  .ej-card-media { width: 100%; height: 150px; }
}

.ej-kind { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ej-kind-ent { background: var(--success-bg); color: var(--success); }
.ej-kind-pub { background: var(--link-tint); color: var(--ej-primary-ink); }
.ej-kind-fac { background: var(--danger-bg); color: var(--danger); }
.ej-kind-per { background: var(--ej-soft-2); color: var(--text); }

.ej-logo {
  display: inline-flex; flex: none; width: 24px; height: 24px; border-radius: 7px; overflow: hidden;
  align-items: center; justify-content: center; background: var(--org-color, #5f6368); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
}
.ej-logo img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.ej-logo.is-image { background: var(--ej-surface); border: 1px solid var(--border); }
.ej-logo-lg { width: 56px; height: 56px; border-radius: 14px; font-size: 18px; border: 3px solid var(--ej-surface); box-shadow: 0 1px 4px var(--shadow-soft); }

.ej-badge { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ej-badge-success { background: var(--success-bg); color: var(--success); }
.ej-badge-warning { background: var(--warning-bg); color: var(--warning); }
.ej-badge-info { background: var(--link-tint); color: var(--ej-primary-ink); }
.ej-badge-neutral { background: var(--ej-soft-2); color: var(--text); }
.ej-badge-danger { background: var(--danger-bg); color: var(--danger); }

/* ---- Encadrés ----------------------------------------------------------- */
.ej-box { background: var(--ej-surface); border: 1px solid var(--border); border-radius: var(--ej-radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ej-box-title { margin: 0; font-size: 16px; color: var(--text); }
.ej-box p { margin: 0; font-size: 14px; }
.ej-progress { display: block; height: 8px; border-radius: 4px; background: var(--ej-soft-2); overflow: hidden; }
.ej-progress span { display: block; height: 100%; background: var(--ej-primary); border-radius: 4px; }
.ej-box-gov { background: var(--ej-gov); border-color: var(--ej-gov); color: #fff; }
.ej-box-gov .ej-box-title { color: #fff; }
.ej-box-gov p { color: #c9d4e3; }
.ej-gov-kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ej-gold); font-weight: 700; }
.ej-gov-link { color: var(--ej-gold); font-weight: 700; font-size: 14px; }

/* ---- Fiche offre -------------------------------------------------------- */
.ej-manage-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; margin-bottom: 14px; border-radius: 12px; background: var(--link-tint); font-size: 14px; }
.ej-manage-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ej-cover {
  height: 260px; border-radius: 16px; overflow: hidden; margin-bottom: -48px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--sector, #5f6368) 14%, var(--ej-surface)); color: var(--sector, #5f6368);
}
.ej-cover img { width: 100%; height: 100%; object-fit: cover; }
.ej-cover-ico { width: 64px; height: 64px; opacity: 0.7; }
.ej-offer-row { position: relative; padding: 0 0 0 20px; }
.ej-offer-side { padding-top: 64px; }
.ej-offer-head { gap: 14px; }
.ej-offer-pub { display: flex; align-items: center; gap: 12px; }
.ej-offer-pub > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ej-offer-pub-name { font-size: 15px; font-weight: 700; color: var(--text); }
.ej-offer-pub a { color: var(--ej-primary-ink); }
.ej-offer-title { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 400; color: var(--text); }
.ej-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ej-tag { padding: 5px 10px; border-radius: 8px; background: var(--ej-soft-2); color: var(--text); font-size: 13px; }
.ej-tag-salary { background: var(--success-bg); color: var(--success); font-weight: 700; }
.ej-tag-urgent { background: var(--danger-bg); color: var(--danger); font-weight: 700; }
.ej-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 0; }
.ej-fact { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--ej-soft); }
.ej-fact dt { font-size: 12px; color: var(--text-muted); }
.ej-fact dd { margin: 0; font-size: 14px; color: var(--text); }
.ej-prose { font-size: 15px; line-height: 1.65; color: var(--text); gap: 6px; }
.ej-prose h2 { margin: 14px 0 2px; font-size: 18px; }
.ej-prose h2:first-child { margin-top: 0; }
.ej-prose h3 { margin: 10px 0 0; font-size: 16px; }
.ej-prose p, .ej-box.ej-prose p { margin: 0 0 8px; font-size: 15px; }
.ej-prose ul { margin: 0 0 6px; padding-left: 22px; }
.ej-map { margin-top: 4px; }
.ej-apply { box-shadow: 0 2px 10px var(--shadow-soft); gap: 12px; }
.ej-contact { font-size: 15px !important; font-weight: 700; word-break: break-word; }
.ej-me { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--ej-soft); }
.ej-me .ej-logo { width: 36px; height: 36px; border-radius: 50%; font-size: 13px; }
.ej-me > span:last-child { display: flex; flex-direction: column; font-size: 14px; }
.ej-side-actions { gap: 8px; }
.ej-side-actions svg { width: 16px; height: 16px; }
.ej-related { margin-top: 12px; }
@media (max-width: 900px) {
  .ej-offer-row { padding: 0 12px; }
  .ej-offer-side { padding-top: 0; }
  .ej-cover { height: 180px; }
}

/* ---- Formulaires -------------------------------------------------------- */
.ej-app input[type="text"], .ej-app input[type="number"], .ej-app input[type="date"], .ej-app input[type="email"],
.ej-app select, .ej-app textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--ej-surface); color: var(--text); font: inherit; font-size: 14px;
}
.ej-app textarea { resize: vertical; line-height: 1.5; }
.ej-app input:focus, .ej-app select:focus, .ej-app textarea:focus { outline: 2px solid var(--ej-primary); outline-offset: -1px; border-color: transparent; }
.ej-search-field input:focus { outline: 0; }
.ej-app .ej-chip-select, .ej-app .ej-inline-form select { width: auto; }
.ej-form, .ej-step { gap: 14px; }
.ej-form > label, .ej-step > label, .ej-grid > label, .ej-fieldset > label:not(.ej-check), .ej-cv-form > label {
  display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text); min-width: 0;
}
.ej-fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ej-fieldset legend { padding: 0; margin-bottom: 6px; font-size: 14px; color: var(--text); }
.ej-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text); line-height: 1.4; }
.ej-check input { margin-top: 2px; accent-color: var(--ej-primary); }
.ej-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ej-file { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ej-file input { font-size: 13px; color: var(--text-muted); }
.ej-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.ej-grid-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
[hidden] { display: none !important; }

.ej-step-title { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--text); }
.ej-step-n { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--link-tint); color: var(--ej-primary-ink); font-size: 13px; font-weight: 700; align-items: center; justify-content: center; }
.ej-who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.ej-who {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 6px 10px; align-items: center;
  padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--ej-surface); cursor: pointer;
}
.ej-who input { position: absolute; opacity: 0; pointer-events: none; }
.ej-who .ej-logo { width: 36px; height: 36px; border-radius: 10px; font-size: 12px; }
.ej-who > span:not(.ej-logo):not(.ej-who-hint) { display: flex; flex-direction: column; min-width: 0; font-size: 14px; color: var(--text); }
.ej-who-hint { grid-column: 1 / -1; font-size: 12px; line-height: 1.4; color: var(--text-muted); }
.ej-who:has(input:checked) { border-color: var(--ej-primary); box-shadow: inset 0 0 0 1px var(--ej-primary); background: var(--link-tint); }
.ej-who:has(input:focus-visible) { outline: 2px solid var(--ej-primary); outline-offset: 2px; }
.ej-who.is-locked { display: flex; cursor: default; }
.ej-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; align-self: flex-start; }
.ej-seg label { position: relative; cursor: pointer; }
.ej-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ej-seg span { display: block; padding: 9px 14px; font-size: 14px; color: var(--text); border-right: 1px solid var(--border); }
.ej-seg label:last-child span { border-right: 0; }
.ej-seg input:checked + span { background: var(--link-tint); color: var(--ej-primary-ink); font-weight: 700; }
.ej-seg input:focus-visible + span { outline: 2px solid var(--ej-primary); outline-offset: -2px; }
.ej-upload { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.ej-drop {
  position: relative; flex: 1 1 280px; min-height: 120px; padding: 16px; border: 2px dashed var(--border); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; font-size: 14px; color: var(--text); cursor: pointer;
}
.ej-drop:hover { border-color: var(--ej-primary); }
.ej-drop svg { width: 26px; height: 26px; color: var(--text-muted); }
.ej-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ej-upload-side { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.ej-upload-now { width: 100%; max-height: 140px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.ej-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ej-publish-side { position: sticky; top: 16px; }
.ej-preview-card { display: flex; flex-direction: column; background: var(--ej-surface); border: 1px solid var(--border); border-radius: var(--ej-radius); overflow: hidden; }
.ej-preview-media { height: 120px; background: var(--ej-soft-2) center / cover no-repeat; }
.ej-preview-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
@media (max-width: 960px) { .ej-publish-side { position: static; } }

/* ---- Espace recruteur ---------------------------------------------------- */
.ej-inline-form { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ej-inline-form select { min-width: 220px; }
.ej-recruiter { align-items: flex-start; }
.ej-offer-nav { flex: 1 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ej-offer-nav .ej-kicker { padding: 0 12px 4px; }
.ej-offer-link { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; border: 1px solid transparent; color: var(--text); text-decoration: none; font-size: 14px; }
.ej-offer-link:hover { background: var(--ej-surface); border-color: var(--border); text-decoration: none; }
.ej-offer-link.is-current { background: var(--ej-surface); border-color: var(--ej-primary-ink); box-shadow: inset 0 0 0 1px var(--ej-primary-ink); }
.ej-offer-link .ej-small { color: var(--text-muted); }
.ej-new { color: var(--ej-accent-ink); }
.ej-board-col { flex: 999 1 640px; }
.ej-board-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; }
.ej-board-head .ej-h2 { margin: 0 0 4px; font-size: 22px; font-weight: 400; }
.ej-board-head a { color: var(--ej-primary-ink); }
.ej-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ej-board { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.ej-board-col-st { background: var(--ej-soft); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 200px; }
.ej-board-col-st h3 { margin: 0; padding: 2px 4px; display: flex; justify-content: space-between; font-size: 13px; color: var(--text); }
.ej-board-col-st h3 span { color: var(--text-muted); font-weight: 400; }
.ej-cand { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--ej-surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 13px; }
.ej-cand:hover { border-color: var(--border-hover); text-decoration: none; }
.ej-cand.is-current { border-color: var(--ej-primary); box-shadow: inset 0 0 0 1px var(--ej-primary); }
.ej-cand-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ej-cand-top .ej-logo { width: 26px; height: 26px; border-radius: 50%; }
.ej-cand-detail { flex-direction: row; flex-wrap: wrap; gap: 24px; }
.ej-cand-main { flex: 2 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ej-cand-side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; }
.ej-cand-head { display: flex; align-items: center; gap: 12px; }
.ej-cand-head .ej-logo-lg { border-radius: 50%; width: 48px; height: 48px; }
.ej-cand-head > span:last-child { display: flex; flex-direction: column; }
.ej-cand-name { font-size: 17px; }
.ej-quote { padding: 14px 16px; border-radius: 10px; background: var(--ej-soft); font-size: 14px; line-height: 1.6; }
.ej-cv { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ej-cv ul { margin: 0; padding-left: 20px; }
.ej-cv-headline { font-weight: 700; font-size: 15px !important; }
.ej-cv-label { font-weight: 700; color: var(--text-muted); font-size: 13px !important; }

/* ---- Mes candidatures ---------------------------------------------------- */
.ej-apps, .ej-alerts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ej-app-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ej-app-top .ej-logo { width: 40px; height: 40px; border-radius: 10px; font-size: 13px; }
.ej-app-title { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; font-size: 16px; color: var(--text); min-width: 0; }
.ej-app-title a { color: var(--ej-title); }
.ej-track { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: step; }
.ej-track li { position: relative; padding-top: 12px; font-size: 12px; color: var(--text-muted); }
.ej-track li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 3px; background: var(--ej-soft-2); }
.ej-track li.is-done::before { background: var(--ej-primary); }
.ej-track li.is-current { color: var(--text); font-weight: 700; }
.ej-app-actions { display: flex; justify-content: flex-end; }
.ej-saved { display: flex; flex-direction: column; gap: 6px; }
.ej-saved-remove { display: flex; justify-content: flex-end; }
.ej-alert-item { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; }

/* ---- Équipe d'une organisation (organisations/equipe.php) ---------------- */
.ej-org-head { display: flex; align-items: center; gap: 16px; }
.ej-org-head .ej-logo-lg { width: 64px; height: 64px; font-size: 16px; }
.ej-team { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ej-team li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.ej-team li:last-child { border-bottom: 0; }
.ej-team .ej-logo { width: 34px; height: 34px; border-radius: 50%; font-size: 12px; }
.ej-team-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
