/* =========================================================
   Blynckr — Klantportaal
   Licht, rustig, premium. Voor de klant die kandidaten keurt.
   Bouwt voort op de Blynckr brand tokens (navy + koper).
   ========================================================= */

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Variable.ttf') format('truetype-variations');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Variable.ttf') format('truetype-variations');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --navy: #17384F;
  --navy-deep: #0D1F33;
  --steel: #2A5C7A;
  --mist: #B8CDE0;

  --koper: #D97B3D;
  --koper-hover: #C46A2E;
  --koper-soft: #FBEFE6;
  --koper-line: #F0D6C2;

  /* semantic states */
  --go: #2E8B6A;          /* goedkeuren */
  --go-soft: #E6F2EC;
  --go-line: #BFE0D0;
  --no: #C2533C;          /* afwijzen */
  --no-soft: #F8E9E4;
  --no-line: #EFCFC4;
  --talk: #2A5C7A;        /* gesprek */
  --talk-soft: #E7EFF5;
  --talk-line: #C7DAE8;

  --offer: #6A57C7;       /* aanbod gedaan */
  --offer-soft: #ECEAFA;
  --offer-line: #D7D0F1;

  /* surfaces — warm off-white, friendlier than the ATS */
  --bg: #F6F2EC;
  --bg-grad-top: #F9F6F1;
  --surface: #FFFFFF;
  --surface-soft: #FBFAF7;
  --surface-hover: rgba(23, 56, 79, 0.022);

  --fg: #1B2A35;
  --fg-soft: #4C5B66;
  --fg-mute: #7E8B94;
  --fg-faint: #A9B2B9;

  --border: rgba(23, 56, 79, 0.10);
  --border-soft: rgba(23, 56, 79, 0.06);
  --border-strong: rgba(23, 56, 79, 0.16);

  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm: 9px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --sh-xs: 0 1px 2px rgba(23,40,53,0.05);
  --sh-sm: 0 1px 3px rgba(23,40,53,0.05), 0 1px 2px rgba(23,40,53,0.04);
  --sh-md: 0 4px 16px rgba(23,40,53,0.07), 0 1px 3px rgba(23,40,53,0.05);
  --sh-lg: 0 12px 36px rgba(23,40,53,0.11), 0 2px 6px rgba(23,40,53,0.05);
  --sh-xl: 0 28px 64px rgba(13,31,51,0.20), 0 6px 18px rgba(13,31,51,0.10);

  --ease: cubic-bezier(0.22, 0.68, 0, 1);
  --spring: cubic-bezier(0.34, 1.3, 0.5, 1);

  --accent: var(--koper);
  --accent-hover: var(--koper-hover);
  --accent-soft: var(--koper-soft);
  --accent-line: var(--koper-line);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

/* Houd de ruimte voor de verticale scrollbar altijd bezet.

   Zonder dit verspringt de hele pagina bij elke klik die de inhoud korter of
   langer maakt: het dashboard scrollt (scrollbar zichtbaar, 1191 px werkbreedte),
   "In gesprek" past wél op het scherm (geen scrollbar, 1200 px), en de
   gecentreerde inhoud schoof daardoor 4 px op en weer terug. Dat leest als een
   pagina die staat te kalibreren.

   overflow-y: scroll doet het echte werk -- scrollbar-gutter alleen werkt niet
   op een viewport die `overflow: visible` heeft. De gutter staat er wél bij voor
   het moment dat een modal de body op overflow:hidden zet: dan blijft de ruimte
   gereserveerd in plaats van weg te vallen. De scrollbar-track is transparant
   (zie ::-webkit-scrollbar-track), dus op korte pagina's is er niets te zien. */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

::selection { background: rgba(217,123,61,0.16); }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(23,56,79,0.16); border-radius: 5px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(23,56,79,0.28); background-clip: padding-box; }

/* Gezet door renderPortal() zodra een modal/paneel/menu open is */
body.px-scroll-lock { overflow: hidden; }

/* ── App shell ───────────────────────────────────────────── */
.portal {
  min-height: 100vh; /* fallback voor browsers zonder dvh */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 60% at 50% -10%, var(--bg-grad-top), transparent 60%),
    var(--bg);
}

/* ── Top bar ─────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 6px;
  margin-left: -6px;
  border-radius: var(--r-sm);
  transition: background var(--ease) .15s;
}
.topbar__brand:hover { background: var(--surface-hover); }
.topbar__logo { height: 19px; width: auto; display: block; }
.topbar__divider { width: 1px; height: 20px; background: var(--border); }
.topbar__portal-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
}

.topbar__spacer { flex: 1; }

.topbar__help {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-soft);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: all var(--ease) .15s;
}
.topbar__help:hover { background: var(--surface-hover); color: var(--fg); }
.topbar__help svg { color: var(--fg-mute); }

.topbar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--ease) .15s;
}
.topbar__user:hover { border-color: var(--border); box-shadow: var(--sh-xs); }
.topbar__user-meta { text-align: right; line-height: 1.2; }
.topbar__user-name { font-size: 13px; font-weight: 600; color: var(--fg); white-space: nowrap; }
.topbar__user-org { font-size: 11.5px; color: var(--fg-mute); white-space: nowrap; }

/* ── Layout container ────────────────────────────────────── */
.page {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(20px, 3.5vw, 40px) clamp(16px, 4vw, 40px) 96px;
  animation: pageIn .4s var(--ease);
}
.page--narrow { max-width: 920px; }

@keyframes pageIn {
  from { transform: translateY(8px); }
  to { transform: translateY(0); }
}

/* ── Avatar ──────────────────────────────────────────────── */
.av {
  --sz: 40px;
  width: var(--sz);
  height: var(--sz);
  border-radius: calc(var(--sz) * 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(var(--sz) * 0.34);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  color: var(--navy);
  background: linear-gradient(150deg, #EAF1F7, #CFE0EE);
  box-shadow: inset 0 0 0 1px rgba(23,56,79,0.05);
  user-select: none;
}
.av--sm { --sz: 34px; }
.av--lg { --sz: 56px; }
.av--xl { --sz: 76px; }
.av--user {
  color: #fff;
  background: linear-gradient(150deg, var(--steel), var(--navy));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

/* ── Badges / pills ──────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  line-height: 1.3;
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.badge--new   { color: var(--koper); background: var(--koper-soft); }
.badge--new .badge__dot   { background: var(--koper); }
.badge--go    { color: var(--go);   background: var(--go-soft); }
.badge--go .badge__dot    { background: var(--go); }
.badge--no    { color: var(--no);   background: var(--no-soft); }
.badge--no .badge__dot    { background: var(--no); }
.badge--talk  { color: var(--talk); background: var(--talk-soft); }
.badge--talk .badge__dot  { background: var(--talk); }
.badge--offer { color: var(--offer); background: var(--offer-soft); }
.badge--offer .badge__dot { background: var(--offer); }
.badge--hired { color: #fff; background: linear-gradient(150deg, var(--steel), var(--navy)); }
.badge--hired .badge__dot { background: var(--koper-glow, #F2C4A0); }
.badge--withdrawn { color: var(--fg-mute); background: rgba(23,56,79,0.06); }
.badge--withdrawn .badge__dot { background: var(--fg-faint); }
.badge--neutral { color: var(--fg-soft); background: rgba(23,56,79,0.06); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-soft);
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  padding: 4px 11px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.reco {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--koper);
  background: linear-gradient(180deg, #FFF9F4, var(--koper-soft));
  border: 1px solid var(--koper-line);
  padding: 3px 9px 3px 7px;
  border-radius: var(--r-pill);
}
.reco svg { color: var(--koper); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 11px 18px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--ease) .16s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(0.5px) scale(0.992); }
.btn svg { flex-shrink: 0; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(13,31,51,0.18), inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 4px 14px rgba(217,123,61,0.30); transform: translateY(-1px); }

.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(13,31,51,0.2); }
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--sh-md); }

.btn--go {
  background: var(--go);
  color: #fff;
  box-shadow: 0 1px 2px rgba(13,31,51,0.16), inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn--go:hover { background: #277659; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(46,139,106,0.28); }

.btn--offer {
  background: var(--offer);
  color: #fff;
  box-shadow: 0 1px 2px rgba(13,31,51,0.16), inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn--offer:hover { background: #5b49b3; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(106,87,199,0.28); }

.btn--ghost {
  background: var(--surface);
  color: var(--fg-soft);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--surface-soft); border-color: var(--border-strong); color: var(--fg); }

.btn--no {
  background: var(--surface);
  color: var(--no);
  border-color: var(--no-line);
}
.btn--no:hover { background: var(--no-soft); border-color: var(--no); }

.btn--quiet {
  background: transparent;
  color: var(--fg-soft);
  padding: 9px 12px;
}
.btn--quiet:hover { background: var(--surface-hover); color: var(--fg); }

.btn--lg { font-size: 15px; padding: 13px 24px; border-radius: var(--r-md); }
.btn--sm { font-size: 13px; padding: 8px 14px; gap: 6px; }
.btn--block { width: 100%; }

.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--fg-soft);
  cursor: pointer;
  transition: all var(--ease) .15s;
  flex-shrink: 0;
}
.iconbtn:hover { background: var(--surface-soft); color: var(--fg); border-color: var(--border); }
.iconbtn--plain { border-color: transparent; background: transparent; }
.iconbtn--plain:hover { background: var(--surface-hover); }

/* ── Greeting / hero ─────────────────────────────────────── */
.greet { margin-bottom: 26px; }
.greet__eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-mute);
  margin-bottom: 6px;
}
.greet__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.1;
}
.greet__title em { font-style: normal; color: var(--accent); }
.greet__sub {
  font-size: 15.5px;
  color: var(--fg-soft);
  margin-top: 8px;
  max-width: 60ch;
  text-wrap: pretty;
}

/* ── Action banner (te beoordelen) ───────────────────────── */
.cta-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(130% 130% at 100% 0%, #FFF6EE 0%, transparent 55%),
    linear-gradient(180deg, #FFFFFF, #FFFCF9);
  border: 1px solid var(--koper-line);
  box-shadow: var(--sh-md);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--koper), var(--koper-glow, #F2C4A0));
}
.cta-banner__num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--koper);
  line-height: 0.9;
  flex-shrink: 0;
  min-width: 56px;
  text-align: center;
}
.cta-banner__body { flex: 1; min-width: 0; }
.cta-banner__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 650;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.cta-banner__desc { font-size: 14px; color: var(--fg-soft); margin-top: 3px; }
.cta-banner__action { flex-shrink: 0; }

/* ── Stat row ────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  transition: all var(--ease) .18s;
}
.stat:hover { box-shadow: var(--sh-sm); border-color: var(--border); }
.stat__top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.stat__icon {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--surface-soft);
  color: var(--fg-mute);
}
.stat__icon--accent { background: var(--koper-soft); color: var(--koper); }
.stat__icon--talk { background: var(--talk-soft); color: var(--talk); }
.stat__icon--go { background: var(--go-soft); color: var(--go); }
.stat__icon--offer { background: var(--offer-soft); color: var(--offer); }
.stat__icon--hire { background: rgba(23,56,79,0.08); color: var(--navy); }
.stat__label { font-size: 12.5px; font-weight: 500; color: var(--fg-mute); white-space: nowrap; }
.stat__top { min-width: 0; }
.stat__value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
}

/* ── Section heading ─────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-head__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 650;
  color: var(--navy);
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.section-head__hint { font-size: 13px; color: var(--fg-mute); }

/* ── Vacancy cards ───────────────────────────────────────── */
.vac-list { display: flex; flex-direction: column; gap: 12px; }

.vac {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all var(--ease) .18s;
}
.vac:hover { border-color: var(--border); box-shadow: var(--sh-md); transform: translateY(-1px); }
.vac--has-new { border-color: var(--koper-line); }

.vac__main { min-width: 0; }
.vac__title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vac__title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 650;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.vac__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--fg-mute);
  flex-wrap: wrap;
}
.vac__meta span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.vac__meta svg { color: var(--fg-faint); }

.vac__pipeline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.vac__bar {
  flex: 1;
  max-width: 260px;
  height: 6px;
  border-radius: 4px;
  background: rgba(23,56,79,0.07);
  overflow: hidden;
  display: flex;
}
.vac__bar-seg { height: 100%; }
.vac__bar-seg--hired { background: var(--navy); }
.vac__bar-seg--go { background: var(--go); }
.vac__bar-seg--talk { background: var(--talk); }
.vac__bar-seg--offer { background: var(--offer); }
.vac__bar-seg--new { background: var(--koper); }
.vac__bar-seg--no { background: var(--no-line); }
.vac__bar-seg--withdrawn { background: var(--fg-faint); }
.vac__pipeline-label { font-size: 12.5px; color: var(--fg-mute); white-space: nowrap; }

.vac__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.vac__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}
.vac__cta svg { transition: transform var(--ease) .2s; }
.vac:hover .vac__cta svg { transform: translateX(3px); }
.vac__cta--muted { color: var(--fg-mute); }

/* ── Review screen ───────────────────────────────────────── */
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-soft);
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px 12px 7px 9px;
  margin: 0 0 18px -9px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: all var(--ease) .15s;
}
.backlink:hover { background: var(--surface-hover); color: var(--fg); }
.backlink svg { transition: transform var(--ease) .2s; }
.backlink:hover svg { transform: translateX(-2px); }

.review-head { margin-bottom: 22px; }
.review-head__title {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.12;
}
.review-head__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--fg-mute);
  flex-wrap: wrap;
}
.review-head__meta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.review-head__meta svg { color: var(--fg-faint); }

/* segmented tabs */
.segtabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(23,56,79,0.05);
  border-radius: var(--r-md);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.segtabs::-webkit-scrollbar { display: none; }
.segtab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  justify-content: center;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--fg-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  transition: all var(--ease) .16s;
}
.segtab:hover { color: var(--fg); }
.segtab--active {
  background: var(--surface);
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--sh-sm);
}
.segtab__count {
  font-size: 11.5px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: var(--r-pill);
  background: rgba(23,56,79,0.07);
  color: var(--fg-mute);
}
.segtab--active .segtab__count { background: var(--koper-soft); color: var(--koper); }

/* ── Candidate cards ─────────────────────────────────────── */
.cand-list { display: flex; flex-direction: column; gap: 12px; }
.cand-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 12px;
}

.cand {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 18px;
  transition: all var(--ease) .18s;
  cursor: pointer;
  position: relative;
}
.cand:hover { border-color: var(--border); box-shadow: var(--sh-md); transform: translateY(-1px); }

.cand__top { display: flex; align-items: flex-start; gap: 14px; }
.cand__identity { flex: 1; min-width: 0; }
.cand__name-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.cand__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.cand__role { font-size: 13.5px; color: var(--fg-mute); margin-top: 2px; }
.cand__role strong { color: var(--fg-soft); font-weight: 600; }

.cand__pitch {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin-top: 13px;
  text-wrap: pretty;
}

.cand__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 13px;
  font-size: 13px;
  color: var(--fg-mute);
}
.cand__facts span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cand__facts svg { color: var(--fg-faint); }

.cand__skills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }

.cand__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--border-soft);
}
.cand__date { font-size: 12.5px; color: var(--fg-faint); margin-right: auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cand__date svg { color: var(--fg-faint); }

/* resolved candidate feedback note */
.cand__verdict {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  line-height: 1.5;
}
.cand__verdict--go { background: var(--go-soft); color: #1f6049; }
.cand__verdict--no { background: var(--no-soft); color: #8f3a28; }
.cand__verdict--talk { background: var(--talk-soft); color: #1d4258; }
.cand__verdict--offer { background: var(--offer-soft); color: #463a8f; }
.cand__verdict--hired { background: rgba(23,56,79,0.07); color: var(--navy); }
.cand__verdict--withdrawn { background: rgba(23,56,79,0.045); color: var(--fg-soft); }
.cand__verdict svg { flex-shrink: 0; margin-top: 1px; }
.cand__verdict strong { font-weight: 650; }

/* ── Empty state ─────────────────────────────────────────── */
.empty {
  text-align: center;
  padding: 56px 24px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
}
.empty__icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-soft);
  color: var(--fg-faint);
}
.empty__title { font-family: var(--font-display); font-size: 16px; font-weight: 650; color: var(--navy); }
.empty__desc { font-size: 14px; color: var(--fg-mute); margin-top: 5px; max-width: 40ch; margin-inline: auto; text-wrap: pretty; }

/* ── Detail slide-over ───────────────────────────────────── */
.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13,31,51,0.34);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: flex-end;
  animation: fade .25s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  width: 560px;
  max-width: 100vw;
  height: 100%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-xl);
  animation: slideX .42s var(--ease);
}
@keyframes slideX { from { transform: translateX(100%); } to { transform: translateX(0); } }

.sheet__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.sheet__bar-title { font-size: 13px; font-weight: 600; color: var(--fg-mute); letter-spacing: 0.02em; }
.sheet__bar-spacer { flex: 1; }

.sheet__scroll { flex: 1; overflow-y: auto; }

.sheet__hero {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 26px 22px;
}
.sheet__hero-main { flex: 1; min-width: 0; }
.sheet__hero-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.1;
}
.sheet__hero-role { font-size: 14.5px; color: var(--fg-soft); margin-top: 4px; }
.sheet__hero-role strong { color: var(--navy); font-weight: 600; }
.sheet__hero-badges { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.sheet__quickfacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0 26px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.qf {
  background: var(--surface);
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.qf__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qf__value { font-size: 14.5px; font-weight: 550; color: var(--fg); }

.sheet__section { padding: 24px 26px 4px; }
.sheet__section + .sheet__section { padding-top: 8px; }
.sheet__section-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pitch-quote {
  position: relative;
  font-size: 15px;
  line-height: 1.62;
  color: var(--fg);
  background: linear-gradient(180deg, #FFFBF7, var(--koper-soft));
  border: 1px solid var(--koper-line);
  border-radius: var(--r-md);
  padding: 16px 18px 16px 20px;
  text-wrap: pretty;
}
.pitch-quote::before {
  content: '';
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: var(--koper);
}
.pitch-quote__by {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  font-size: 13px;
  color: var(--fg-soft);
}
.pitch-quote__by strong { color: var(--navy); font-weight: 600; }

.skill-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

/* experience timeline */
.xp { display: flex; flex-direction: column; }
.xp__item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  position: relative;
}
.xp__item:last-child { padding-bottom: 0; }
.xp__rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.xp__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--koper);
  background: var(--surface);
  margin-top: 4px;
}
.xp__item:not(:first-child) .xp__dot { border-color: var(--mist); }
.xp__line { flex: 1; width: 2px; background: var(--border); margin: 4px 0 -18px; }
.xp__item:last-child .xp__line { display: none; }
.xp__body { padding-bottom: 2px; }
.xp__role { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.xp__org { font-size: 13.5px; color: var(--fg-soft); }
.xp__period { font-size: 12.5px; color: var(--fg-mute); margin-top: 1px; }

/* CV preview */
.cv {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.cv__preview {
  height: 150px;
  background:
    repeating-linear-gradient(135deg, var(--surface-soft) 0 11px, #F1ECE4 11px 22px);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--fg-faint);
}
.cv__preview span { font-family: var(--font-body); font-size: 12px; font-weight: 500; }
.cv__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
}
.cv__file { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; }
.cv__file-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--no-soft); color: var(--no);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cv__file-name { font-size: 13.5px; font-weight: 600; color: var(--fg); }
.cv__file-meta { font-size: 12px; color: var(--fg-mute); }

/* sticky action bar in sheet */
.sheet__actions {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 10px;
  padding: 16px 26px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.sheet__actions .btn { flex: 1; }
.sheet__actions--done { justify-content: center; }
.sheet__verdict-stack { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.sheet__actions-row { display: flex; gap: 10px; }
.sheet__actions-row .btn { flex: 1; }

.verdict-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
}
.verdict-banner--go { background: var(--go-soft); color: #1f6049; }
.verdict-banner--no { background: var(--no-soft); color: #8f3a28; }
.verdict-banner--talk { background: var(--talk-soft); color: #1d4258; }
.verdict-banner--offer { background: var(--offer-soft); color: #463a8f; }
.verdict-banner--hired { background: rgba(23,56,79,0.07); color: var(--navy); }
.verdict-banner--withdrawn { background: rgba(23,56,79,0.045); color: var(--fg-soft); }
.verdict-banner__icon { flex-shrink: 0; }
.verdict-banner strong { font-weight: 650; }
.verdict-banner__undo {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 4px;
}
.verdict-banner__undo:hover { opacity: 1; }

/* Voorgestelde gespreksmomenten (In gesprek) + wijzigen */
.iprop {
  width: 100%;
  border: 1px solid var(--talk-line);
  border-radius: var(--r-md);
  background: var(--talk-soft);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.iprop__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--talk);
}
.iprop__slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.iprop__slot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.iprop__slot svg { flex-shrink: 0; color: var(--talk); }
.iprop__meta { font-size: 13px; color: var(--fg-soft); }
.iprop__note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  color: var(--fg-soft);
  line-height: 1.45;
}
.iprop__note svg { flex-shrink: 0; margin-top: 2px; }
.iprop .btn { margin-top: 2px; }

/* Beslis-acties (aanbod doen / aanname bevestigen) onder in het paneel */
.decide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.decide__label {
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  margin-bottom: 2px;
}

/* Kandidaat-blokje boven in de doorzet-modal */
.advance-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: rgba(23,56,79,0.03);
  margin-bottom: 4px;
}
.advance-flow__main { min-width: 0; }
.advance-flow__name { font-size: 15px; font-weight: 650; color: var(--navy); }
.advance-flow__role { font-size: 13px; color: var(--fg-soft); margin-top: 1px; }
.advance-flow__vac {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--fg-mute); margin-top: 4px;
}
.advance-flow__vac svg { flex-shrink: 0; }

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(13,31,51,0.4);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade .2s var(--ease);
}
.modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  width: 480px;
  max-width: 100%;
  max-height: 90vh; /* fallback voor browsers zonder dvh */
  max-height: 90dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-xl);
  animation: modalIn .34s var(--spring);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px 16px;
}
.modal__head-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal__head-icon--go { background: var(--go-soft); color: var(--go); }
.modal__head-icon--no { background: var(--no-soft); color: var(--no); }
.modal__head-icon--talk { background: var(--talk-soft); color: var(--talk); }
.modal__head-icon--offer { background: var(--offer-soft); color: var(--offer); }
.modal__head-text { flex: 1; min-width: 0; padding-top: 1px; }
.modal__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.2;
}
.modal__sub { font-size: 14px; color: var(--fg-soft); margin-top: 4px; text-wrap: pretty; }

.modal__body { padding: 4px 24px 8px; overflow-y: auto; }
.modal__foot {
  display: flex;
  gap: 10px;
  padding: 16px 24px 22px;
}
.modal__foot .btn { flex: 1; }

.field { margin-bottom: 16px; }
.field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.field__hint { font-weight: 400; color: var(--fg-mute); }
.field textarea, .field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--fg);
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-soft);
  outline: none;
  resize: vertical;
  transition: all var(--ease) .15s;
}
.field textarea { min-height: 84px; line-height: 1.5; }
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--fg);
  padding: 11px 34px 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background-color: var(--surface-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237E8B94'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: all var(--ease) .15s;
}
.field select:focus {
  border-color: var(--accent);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px rgba(217,123,61,0.12);
}
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-2 .field { margin-bottom: 16px; }

/* offer summary (sheet + card) */
.offer-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--offer-line);
  border: 1px solid var(--offer-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.offer-summary__item { background: var(--surface); padding: 11px 14px; }
.offer-summary__item--full { grid-column: 1 / -1; }
.offer-summary__label { font-size: 11px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--fg-faint); }
.offer-summary__value { font-size: 14px; font-weight: 550; color: var(--fg); margin-top: 2px; }

/* extra action row on candidate cards (offer flow) */
.cand__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cand__actions .btn { flex: 1; min-width: 0; }
.cand__foot { flex-wrap: wrap; }
.cand__foot .btn { min-width: 0; }
.field textarea:focus, .field input:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(217,123,61,0.12);
}

/* reason chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-soft);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--ease) .15s;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: var(--border-strong); color: var(--fg); }
.chip--active {
  color: var(--no);
  background: var(--no-soft);
  border-color: var(--no-line);
  font-weight: 600;
}
.chip--active.chip--go {
  color: var(--go);
  background: var(--go-soft);
  border-color: var(--go-line);
}

/* interview slot options */
.slots { display: flex; flex-direction: column; gap: 9px; }
.slot {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-soft);
  cursor: pointer;
  transition: all var(--ease) .15s;
  text-align: left;
  width: 100%;
}
.slot:hover { border-color: var(--border-strong); background: var(--surface); }
.slot--active {
  border-color: var(--go);
  background: var(--go-soft);
  box-shadow: 0 0 0 3px rgba(46,139,106,0.1);
}
.slot__radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease) .15s;
}
.slot--active .slot__radio { border-color: var(--go); background: var(--go); }
.slot--active .slot__radio::after {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff;
}
.slot__main { flex: 1; }
.slot__day { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.slot__time { font-size: 13px; color: var(--fg-mute); margin-top: 1px; }

/* choice cards (approve flow) */
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-soft);
  cursor: pointer;
  transition: all var(--ease) .15s;
  text-align: left;
  width: 100%;
}
.choice:hover { border-color: var(--go-line); background: var(--surface); box-shadow: var(--sh-sm); transform: translateY(-1px); }
.choice__icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--go-soft); color: var(--go);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.choice__main { flex: 1; }
.choice__title { font-size: 14.5px; font-weight: 650; color: var(--navy); }
.choice__desc { font-size: 13px; color: var(--fg-mute); margin-top: 2px; }
.choice__arrow { color: var(--fg-faint); transition: transform var(--ease) .2s; }
.choice:hover .choice__arrow { transform: translateX(3px); color: var(--go); }

/* toast */
.toast-wrap {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--sh-lg);
  animation: toastIn .35s var(--spring);
}
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.toast__icon { display: flex; }
.toast__icon--go { color: #8ee0bf; }
.toast__icon--no { color: #f0a594; }
.toast__icon--talk { color: var(--mist); }

/* success state in modal */
.success {
  text-align: center;
  padding: 14px 8px 8px;
}
.success__ring {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--go-soft);
  color: var(--go);
  display: flex; align-items: center; justify-content: center;
  animation: pop .4s var(--spring);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.success__title { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: -0.015em; }
.success__desc { font-size: 14px; color: var(--fg-soft); margin-top: 6px; text-wrap: pretty; }

/* ── Mobile menu sheet ───────────────────────────────────── */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(13,31,51,0.34);
  display: flex; justify-content: flex-end;
  animation: fade .2s var(--ease);
}
.menu {
  width: 280px; max-width: 84vw; height: 100%;
  background: var(--surface);
  box-shadow: var(--sh-xl);
  padding: 20px;
  animation: slideX .35s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.menu__user {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 8px 18px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 10px;
}
.menu__item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px;
  border-radius: var(--r-md);
  font-size: 15px; font-weight: 500; color: var(--fg-soft);
  background: none; border: none; cursor: pointer; text-align: left; width: 100%;
}
.menu__item:hover { background: var(--surface-hover); color: var(--fg); }
.menu__item svg { color: var(--fg-mute); }

.hide-desktop { display: none; }

/* tweak: hide recruiter recommendations */
.portal--noreco .reco { display: none !important; }

/* clickable stat cards */
.stat--clickable { cursor: pointer; text-align: left; width: 100%; font-family: inherit; }
.stat--clickable:hover { box-shadow: var(--sh-md); border-color: var(--border); transform: translateY(-1px); }
.stat__top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.stat__chev { margin-left: auto; color: var(--fg-faint); opacity: 0; transition: all var(--ease) .18s; }
.stat--clickable:hover .stat__chev { opacity: 1; transform: translateX(2px); }

/* vacancy line on candidate card (status overview) */
.cand__forvac {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}
.cand__forvac svg { color: var(--accent); opacity: 0.8; }

/* status overview header */
.status-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.status-head__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.status-head__title {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.4vw, 30px);
  font-weight: 700; letter-spacing: -0.025em; color: var(--navy); line-height: 1.1;
}
.status-head__sub { font-size: 14.5px; color: var(--fg-mute); margin-top: 3px; }

/* interview: propose own moments */
.plan-or {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 2px 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-faint);
}
.plan-or::before, .plan-or::after { content: ''; flex: 1; height: 1px; background: var(--border-soft); }
.plan-custom { margin-top: 12px; }
.plan-custom .field { margin-bottom: 0; }

/* account modal */
.acc-section { padding: 4px 0 18px; border-bottom: 1px solid var(--border-soft); margin-bottom: 18px; }
.acc-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 4px; }
.acc-section__title {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 14px;
}
.acc-id { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.acc-id__org-name { font-family: var(--font-display); font-size: 16px; font-weight: 650; color: var(--navy); }
.acc-id__org-role { font-size: 13px; color: var(--fg-mute); }
.acc-error { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--no); margin-bottom: 8px; }
.acc-toggle {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-soft); cursor: pointer; transition: all var(--ease) .15s;
}
.acc-toggle:hover { border-color: var(--border-strong); }
.acc-toggle__text { flex: 1; }
.acc-toggle__label { font-size: 14px; font-weight: 600; color: var(--navy); }
.acc-toggle__desc { font-size: 12.5px; color: var(--fg-mute); margin-top: 2px; }
.acc-switch {
  width: 42px; height: 24px; border-radius: 999px; background: var(--border-strong);
  flex-shrink: 0; padding: 3px; transition: background var(--ease) .18s; display: flex;
}
.acc-switch__dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--sh-sm); transition: transform var(--ease) .18s; }
.acc-toggle--on .acc-switch { background: var(--go); }
.acc-toggle--on .acc-switch__dot { transform: translateX(18px); }

/* help modal */
.help-contact {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: linear-gradient(180deg, #FFFBF7, var(--koper-soft)); border: 1px solid var(--koper-line);
  border-radius: var(--r-md); margin-bottom: 12px;
}
.help-contact__name { font-family: var(--font-display); font-size: 17px; font-weight: 650; color: var(--navy); }
.help-contact__role { font-size: 13px; color: var(--fg-soft); }
.help-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.help-actions .btn { text-decoration: none; }
.help-faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item__q { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--navy); }
.faq-item__q svg { color: var(--accent); flex-shrink: 0; }
.faq-item__a { font-size: 13.5px; line-height: 1.55; color: var(--fg-soft); margin-top: 5px; padding-left: 23px; text-wrap: pretty; }

/* list toolbar: sort + filter */
.list-toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.list-toolbar__count { font-size: 13.5px; color: var(--fg-mute); margin-right: auto; white-space: nowrap; }
.psel-wrap { display: inline-flex; align-items: center; gap: 7px; }
.psel-label { font-size: 13px; color: var(--fg-mute); }
.psel {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500; color: var(--fg);
  padding: 8px 30px 8px 12px; border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); cursor: pointer; appearance: none; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237E8B94'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
  transition: border-color var(--ease) .15s;
}
.psel:hover { border-color: var(--border-strong); }
.psel:focus { border-color: var(--accent); }

/* card open affordance */
.cand { position: relative; }
.cand__chev {
  position: absolute; top: 16px; right: 16px; color: var(--fg-faint);
  /* Altijd zichtbaar: de compacte kaart laat de details weg, dus de klant moet
     kunnen zien dat er meer achter zit. Een hover-only aanwijzing bestaat op
     een touchscreen niet. */
  opacity: .4; transition: all var(--ease) .18s;
}
.cand:hover .cand__chev { opacity: 1; transform: translateX(2px); }

/* ── Compacte kandidaatkaart (Te beoordelen / In gesprek / Aangenomen) ─────
   De klant scant hier op status, datum en actie; het profiel staat één klik
   verderop op de kandidaatpagina. Gemeten 348 px -> 171 px per kaart. */
.cand--compact { padding: 15px 16px; }
.cand--compact .cand__top { gap: 12px; align-items: center; }
.cand--compact .cand__chev { top: 50%; transform: translateY(-50%); right: 14px; }
.cand--compact:hover .cand__chev { transform: translateY(-50%) translateX(2px); }

/* Vacature, plaats en ervaring op één regel onder de functie. */
.cand__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 14px;
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--fg-mute);
}
.cand__meta-vac {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--accent);
}
.cand__meta-vac svg { opacity: .8; }

/* Statusbalk links, knoppen rechts -- op één regel. */
.cand__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.cand__bar .cand__verdict { margin-top: 0; flex: 1 1 15rem; }
.cand__bar .cand__actions { margin-top: 0; flex: 0 1 auto; }
.cand__bar .cand__actions .btn { flex: 0 0 auto; }
.cand--compact .cand__foot { margin-top: 12px; padding-top: 12px; }
/* De chevron zit rechts in de kaart; laat de knoppen er niet onder schuiven. */
.cand--compact .cand__bar,
.cand--compact .cand__foot { padding-right: 22px; }

@media (max-width: 700px) {
  /* Smal scherm: knoppen onder de statusbalk in plaats van ernaast. */
  .cand__bar .cand__verdict { flex-basis: 100%; }
  .cand__bar .cand__actions { flex: 1 1 100%; }
}

@media (max-width: 600px) {
  /* Op telefoonbreedte passen drie knoppen niet naast elkaar met een leesbaar
     label. Elk op een eigen regel: volledige tekst en een ruimer tikvlak. */
  .cand__actions .btn,
  .cand__foot .btn { flex: 1 1 100%; }
  .cand__foot .cand__date { flex: 1 1 100%; margin-right: 0; }
}

@media (max-width: 600px) {
  .help-actions { grid-template-columns: 1fr; }
  .list-toolbar__count { width: 100%; margin-right: 0; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet { width: 100%; }
  .cand-list--grid { grid-template-columns: minmax(0, 1fr); }
  .topbar__help { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .topbar { height: 58px; padding: 0 16px; }
  .topbar__portal-tag, .topbar__divider { display: none; }
  .topbar__user-meta { display: none; }
  .topbar__user { padding: 4px; border: none; background: none; }
  .hide-mobile { display: none !important; }
  .hide-desktop { display: flex; }

  .page { padding: 18px 16px 80px; }

  .cta-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
  .cta-banner__num { font-size: 38px; }
  .cta-banner__action, .cta-banner__action .btn { width: 100%; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat__value { font-size: 25px; }
  .stat__label { white-space: normal; }

  .vac { grid-template-columns: 1fr; gap: 12px; }
  .vac__right { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .vac__bar { max-width: none; }

  .segtab { flex: 0 0 auto; }

  .sheet__hero { padding: 20px; }
  .sheet__quickfacts { margin: 0 20px; }
  .sheet__section { padding: 20px 20px 4px; }
  .sheet__actions { padding: 14px 20px; }
  .sheet__hero-name { font-size: 21px; }

  .modal { border-radius: var(--r-xl) var(--r-xl) 0 0; align-self: flex-end; width: 100%; max-width: 100%; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  /* Bottom sheet: knoppenrij vrij van de iPhone-home-indicator */
  .modal__foot { flex-direction: column-reverse; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }

  /* iOS zoomt in bij focus op velden < 16px — en zoomt niet terug */
  .field input,
  .field textarea,
  .field select { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Gesprek plannen: voorstel-slots (datum + starttijd, Indeed-stijl) ──── */
.plan-modes { margin-bottom: 16px; }
.plan-slot {
  display: grid;
  grid-template-columns: 1fr 108px 38px;
  gap: 8px;
  align-items: center;
  margin-bottom: 9px;
}
.plan-slot input[type="date"] {
  font-family: var(--font-body);
  color: var(--fg);
}
.plan-slot .plan-slot__time {
  width: 100%;
  padding-top: 11px;
  padding-bottom: 11px;
  border-radius: var(--r-md);
  background-color: var(--surface-soft);
}
.plan-slot__rm { color: var(--fg-mute); }
.plan-slot__rm:hover { color: var(--no); }
.plan-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px 2px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--talk);
}
.plan-add:hover { text-decoration: underline; text-underline-offset: 2px; }
.plan-add svg { color: var(--talk); }
@media (max-width: 600px) {
  .plan-slot { grid-template-columns: 1fr 96px 34px; }
}

/* ─────────────────────────────────────────────────────────────
   Uitgebreid voorstel — bijlagen, voorgestelde gespreksmomenten
   en de custom datum-/tijdkiezer (drop-in datepicker.js).
   ───────────────────────────────────────────────────────────── */

/* bijlagen (CV-preview .cv hergebruikt; extra documenten als rijen) */
.attach { display: flex; flex-direction: column; gap: 9px; }
.attach-row {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px;
}
.attach-row__icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: var(--no-soft); color: var(--no);
  display: flex; align-items: center; justify-content: center;
}
.attach-row__icon--alt { background: var(--talk-soft); color: var(--talk); }
.attach-row__main { flex: 1; min-width: 0; }
.attach-row__name { font-size: 13.5px; font-weight: 600; color: var(--fg); }
.attach-row__meta { font-size: 12px; color: var(--fg-mute); margin-top: 1px; }

/* voorgestelde gespreksmomenten — .slots/.slot hergebruikt, extra markers */
.moments-intro { font-size: 13.5px; color: var(--fg-soft); margin-bottom: 13px; text-wrap: pretty; }
.slot__type { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--fg-mute); margin-top: 2px; }
.slot__type svg { color: var(--fg-faint); }
.slot__tag {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 8px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--koper);
}

/* zelf-momenten: datum + tijd, meerdere mogelijk (custom kiezer) */
.moment-rows { display: flex; flex-direction: column; gap: 10px; }
.moment-row { display: grid; grid-template-columns: 1.45fr 1fr 44px; gap: 10px; align-items: start; }
.moment-row__del {
  width: 44px; height: 48px; border-radius: var(--r-md); border: 1px solid transparent;
  background: none; color: var(--fg-faint); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all var(--ease) .15s;
}
.moment-row__del:hover { background: var(--no-soft); color: var(--no); }
.moment-add {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 13.5px; font-weight: 600; color: var(--accent); white-space: nowrap;
  background: none; border: none; cursor: pointer; padding: 8px 10px; margin: 10px 0 0 -10px;
  border-radius: var(--r-sm); transition: background var(--ease) .15s;
}
.moment-add svg { flex-shrink: 0; }
.moment-add:hover { background: var(--surface-hover); }

/* gedeelde trigger-look voor datum- en tijdveld */
.datefield, .timefield { position: relative; }
.datefield__trigger {
  display: flex; align-items: center; gap: 9px; width: 100%; min-height: 48px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--fg);
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-soft); cursor: pointer; text-align: left;
  transition: all var(--ease) .15s;
}
.datefield__trigger svg { color: var(--fg-mute); flex-shrink: 0; }
.datefield__trigger span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.datefield__trigger:hover { border-color: var(--border-strong); }
.datefield__trigger--empty { color: var(--fg-faint); font-weight: 450; }

/* kalender-popover (via portal, .dp-portal verzorgt positie) */
.dp-portal { animation: dpopIn 150ms var(--ease); }
.dpop {
  width: 100%;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-xl); padding: 16px;
}
@keyframes dpopIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dpop__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dpop__month { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--navy); text-transform: capitalize; }
.dpop__nav {
  width: 34px; height: 34px; border-radius: var(--r-sm); border: 1px solid var(--border-soft);
  background: var(--surface); color: var(--fg-soft); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all var(--ease) .15s;
}
.dpop__nav:hover { background: var(--surface-soft); color: var(--fg); border-color: var(--border-strong); }
.dpop__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dpop__grid--dow { margin-bottom: 4px; gap: 3px; }
.dpop__dow {
  text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--fg-faint); padding: 4px 0;
}
.dpop__cell {
  height: 38px; display: flex; align-items: center; justify-content: center;
  border: none; background: none; border-radius: var(--r-sm); cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--fg);
  transition: all var(--ease) .12s;
}
.dpop__cell--empty { cursor: default; }
.dpop__cell:not(.dpop__cell--empty):hover { background: var(--koper-soft); color: var(--navy); }
.dpop__cell--past { color: var(--fg-faint); }
.dpop__cell--today { box-shadow: inset 0 0 0 1px var(--border-strong); }
.dpop__cell--sel, .dpop__cell--sel:hover { background: var(--accent); color: #fff; font-weight: 700; box-shadow: none; }

/* tijd-popover */
.tpop {
  width: 100%; max-height: 248px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--sh-xl); padding: 6px;
}
.tpop__opt {
  display: block; width: 100%; text-align: left; border: none; background: none;
  padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--fg);
  transition: background var(--ease) .12s;
}
.tpop__opt:hover { background: var(--surface-soft); }
.tpop__opt--sel { background: var(--accent); color: #fff; font-weight: 700; }
.tpop__opt--sel:hover { background: var(--accent); }

@media (max-width: 600px) {
  .moment-row { grid-template-columns: 1fr 1fr 44px; }
}

/* ─────────────────────────────────────────────────────────────
   Kandidaat als volledige pagina (vervangt de side-over) — ontwerp
   portal-candidate-page.jsx (.cdetail*).
   ───────────────────────────────────────────────────────────── */
.cdetail { padding-bottom: 112px; animation: cdetailIn .34s var(--ease); }
@keyframes cdetailIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cdetail__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 6px;
}
.cdetail__bar .backlink { margin-bottom: 0; }

.cdetail__hero { display: flex; gap: 18px; align-items: flex-start; padding: 14px 0 20px; }
.cdetail__hero-main { flex: 1; min-width: 0; }
.cdetail__name {
  font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 30px); font-weight: 700;
  letter-spacing: -0.025em; color: var(--navy); line-height: 1.08;
}
.cdetail__role { font-size: 15px; color: var(--fg-soft); margin-top: 5px; }
.cdetail__badges { display: flex; gap: 8px; margin-top: 13px; flex-wrap: wrap; }

/* Quickfacts: auto-fit zodat onvolledige rijen geen lege cellen tonen
   (anders bleef een grijze lege cel staan bij weinig data). */
.cdetail__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px;
  background: var(--border-soft); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); overflow: hidden; margin-bottom: 4px;
}
.cdetail__section { padding: 26px 0 4px; }
.cdetail__section .pitch-quote { font-size: 15.5px; }

/* zwevende actiebalk onderaan de pagina */
.cdetail__actions { position: sticky; bottom: 18px; z-index: 30; margin-top: 28px; }
.cdetail__actions-inner {
  display: flex; gap: 10px;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 14px;
}
.cdetail__actions-inner .btn { flex: 1; }
.cdetail__actions-inner--stack { flex-direction: column; }
.cdetail__actions-inner--stack .btn { width: 100%; }
.cdetail__actions-row { display: flex; gap: 10px; }
.cdetail__actions-row .btn { flex: 1; }

@media (max-width: 600px) {
  .cdetail__hero { gap: 14px; padding: 8px 0 16px; }
  .cdetail__actions { bottom: 0; margin-left: -16px; margin-right: -16px; }
  /* Goedkeuren/Afwijzen vrij van de iPhone-home-indicator */
  .cdetail__actions-inner { border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
}
