:root {
  --sb-bg: #f4f7fb;
  --sb-card: #ffffff;
  --sb-text: #0f172a;
  --sb-muted: #64748b;
  --sb-accent: #073889;
  --sb-accent-soft: #e0efff;
  --sb-hero-blue-soft-start: #d3e6f0;
  --sb-hero-blue-soft-end: #e9f4f8;
  /* Profiel-hero + directory-locatie: donkerblauwe gradient */
  --sb-gradient-hero-blue: linear-gradient(90deg, #073889 0%, #0065cc 55%, #073889 100%);
  --sb-radius: 12px;
  --sb-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  --sb-font-display: "Exo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --sb-font-body: "Exo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sb-font-body);
  background: var(--sb-bg);
  color: var(--sb-text);
  line-height: 1.5;
}

.sb-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.sb-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: #0065cc;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-bottom: 0.75rem;
  transition: color 0.15s;
}

.sb-back-btn:hover {
  color: #03153f;
}

.sb-wrap-narrow {
  max-width: 880px;
}

/* Directory-overzicht: gebruik schermbreedte i.p.v. smalle kolom */

.sb-wrap-directory {
  max-width: min(1520px, calc(100vw - 2rem));
  width: 100%;
}

/* Profiel + Perfect Match zijpaneel */

.sb-wrap-profile-with-aside {
  max-width: min(1200px, calc(100vw - 2rem));
}

.sb-profile-page-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 900px) {
  .sb-profile-page-layout {
    grid-template-columns: 1fr minmax(260px, 300px);
  }

  .sb-profile-aside {
    position: sticky;
    top: 1rem;
  }
}

/* Perfect Match aside — design reference: cream card, navy title, pill CTA (Exo via --sb-font-display) */

.sb-perfect-match-card {
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: 1.25rem 1.35rem;
  background: #ffffff;
  border: none;
  border-radius: 16px;
  box-shadow: none;
  font-family: var(--sb-font-display);
}

.sb-perfect-match-title-check {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--sb-font-display);
  color: #0a225d;
  line-height: 1.25;
}

.sb-perfect-match-teaser-check {
  margin: 0 0 1rem !important;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #666666;
  font-family: var(--sb-font-display);
}

.sb-perfect-match-btn-check {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: #f79c44;
  color: #ffffff;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: var(--sb-font-display);
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.sb-perfect-match-btn-check:hover:not(:disabled) {
  background: #e88935;
}

.sb-perfect-match-btn-check:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

/* Legacy class names kept for tags/summary below the fold */

.sb-perfect-match-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.sb-perfect-match-teaser {
  margin: 0 0 0.85rem !important;
  font-size: 0.92rem;
  line-height: 1.45;
}

.sb-perfect-match-btn {
  width: 100%;
  justify-content: center;
}

.sb-perfect-match-err {
  margin: 0.75rem 0 0;
  color: #b91c1c;
  font-size: 0.9rem;
}

.sb-perfect-match-body {
  margin-top: 1rem;
}

.sb-perfect-match-summary {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

/* Eerste bezoek zonder profiel: geen intro-regels boven het kaart; focus op het witte venster */

.sb-wrap-first-visit {
  max-width: 960px;
  min-height: min(72vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.sb-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--sb-font-display);
  color: var(--sb-accent);
  margin: 0 0 0.5rem;
}

.sb-sub {
  color: var(--sb-muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  font-family: var(--sb-font-display);
}

.sb-review-error-banner {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.sb-interview-header {
  margin-bottom: 1rem;
}

.sb-interview-header-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.sb-interview-title {
  color: var(--sb-accent);
  margin-bottom: 0.25rem;
}

.sb-interview-subtitle {
  max-width: 80ch;
  margin-bottom: 0;
}

.sb-interview-inline-alert {
  box-sizing: border-box;
  max-width: min(640px, 100%);
  margin: 0 auto 1rem;
  padding: 0.55rem 0.85rem;
  text-align: center;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.sb-profile-generating-banner--bottom {
  margin-top: 1.25rem;
}

.sb-profile-generating-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-sizing: border-box;
  max-width: min(640px, 100%);
  margin: 0 auto 1rem;
  padding: 0.65rem 1rem;
  text-align: center;
  color: var(--sb-accent);
  background: rgba(7, 56, 137, 0.06);
  border: 1px solid #c7d7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
  font-family: var(--sb-font-display);
}

.sb-profile-generating-spinner {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #c7d7eb;
  border-top-color: var(--sb-accent);
  border-radius: 50%;
  animation: sbSpin 0.85s linear infinite;
}

.sb-interview-resume-notice {
  box-sizing: border-box;
  max-width: min(640px, 100%);
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  background: rgba(7, 56, 137, 0.08);
  border: 1px solid #c7d7eb;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--sb-accent);
}

.sb-interview-resume-notice p {
  margin: 0 0 0.65rem;
}

.sb-interview-soft-fail {
  box-sizing: border-box;
  max-width: min(640px, 100%);
  margin: 0 auto 1rem;
  padding: 0.85rem 1rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #78350f;
}

.sb-interview-soft-fail p {
  margin: 0 0 0.75rem;
}

.sb-interview-soft-fail-link {
  color: #0a225d;
  font-weight: 600;
  text-decoration: underline;
}

.sb-interview-soft-fail-link:hover {
  text-decoration: none;
}

.sb-link-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--sb-muted);
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.sb-link-btn:hover {
  text-decoration: underline;
}

.sb-location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sb-location-pill {
  appearance: none;
  border: 1px solid #c7d7eb;
  background: #ffffff;
  color: var(--sb-accent);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.sb-location-pill:hover {
  background: rgba(7, 56, 137, 0.06);
}

.sb-location-pill-active {
  background: var(--sb-accent);
  color: #ffffff;
  border-color: var(--sb-accent);
}

.sb-location-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(7, 56, 137, 0.12);
}

.sb-chat-card {
  padding: 0;
  overflow: hidden;
  height: 520px;
  display: flex;
  flex-direction: column;
}

.sb-chat-messages {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.sb-chat-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-end;
  max-width: 100%;
}

.sb-chat-row-ai {
  justify-content: flex-start;
}

.sb-chat-row-user {
  justify-content: flex-end;
}

.sb-chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sb-font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: #ffffff;
  background: linear-gradient(135deg, #073889 0%, #0065cc 100%);
  box-shadow: 0 6px 16px rgba(3, 21, 63, 0.18);
  flex: 0 0 auto;
}

.sb-chat-composer {
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0.75rem 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
}

.sb-chat-input {
  width: 100%;
  min-height: 42px;
  max-height: 140px;
  resize: none;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  padding: 0.6rem 0.75rem;
  font: inherit;
  line-height: 1.35;
}

.sb-chat-input:focus {
  outline: none;
  border-color: rgba(7, 56, 137, 0.45);
  box-shadow: 0 0 0 4px rgba(7, 56, 137, 0.12);
}

.sb-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: var(--sb-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sb-chat-send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.sb-chat-footer {
  border-top: 1px solid #e2e8f0;
  padding: 0.75rem 0.75rem;
  display: flex;
  justify-content: flex-end;
  background: #ffffff;
}

.sb-choice-card-wrap {
  padding: 1.25rem;
}

.sb-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sb-choice-card {
  appearance: none;
  border: 1px solid #e2e8f0;
  border-radius: var(--sb-radius);
  background: #ffffff;
  min-height: 220px;
  padding: 1.4rem 1.25rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.sb-choice-card:hover {
  border-color: rgba(7, 56, 137, 0.55);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.sb-choice-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(7, 56, 137, 0.12), 0 10px 26px rgba(15, 23, 42, 0.12);
  border-color: rgba(7, 56, 137, 0.65);
}

.sb-choice-icon {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--sb-accent-soft);
  color: var(--sb-accent);
  box-shadow: 0 8px 18px rgba(3, 21, 63, 0.08);
  margin-bottom: 0.35rem;
}

.sb-choice-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sb-accent);
}

.sb-choice-sub {
  color: var(--sb-muted);
  font-size: 0.95rem;
  max-width: 40ch;
}

.sb-voice-shell {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  font-family: var(--sb-font-display);
}

.sb-voice-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sb-voice-hero {
  flex-shrink: 0;
  text-align: center;
  padding-bottom: 0.35rem;
}

.sb-voice-hero-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  font-weight: 800;
  color: var(--sb-accent);
  line-height: 1.25;
}

.sb-voice-hero-sub {
  margin: 0 auto;
  max-width: 38ch;
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.4;
}

.sb-voice-orb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.sb-voice-center {
  display: grid;
  place-items: center;
  width: 100%;
  margin-top: 0;
}

.sb-voice-core-question {
  margin-top: 0.4rem;
  min-height: 24px;
  max-width: min(720px, 100%);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.35rem;
  box-sizing: border-box;
  text-align: center;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  color: rgba(7, 56, 137, 0.92);
  white-space: normal;
  overflow-wrap: break-word;
  animation: sbFadeIn 0.3s ease both;
}

.sb-voice-core-question-placeholder {
  animation: none;
}

.sb-voice-orb {
  width: 200px;
  height: 200px;
  border-radius: 999px;
  position: relative;
  will-change: transform;
  transition: transform 0.18s ease-out;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: transparent;
}

.sb-voice-orb-core {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #0d3a82 0%, #0a2d6e 46%, #061f4f 100%);
  border: none;
  box-shadow: 0 18px 40px rgba(3, 21, 63, 0.25);
}

.sb-voice-orb-idle {
  animation: sbPulseSlow 3s ease-in-out infinite;
}

.sb-voice-orb:hover {
  filter: brightness(1.08);
}

.sb-voice-orb:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(7, 56, 137, 0.12);
}

.sb-voice-orb-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}

.sb-voice-orb-idle .sb-voice-orb-icon {
  color: #073889;
  filter: none;
}

.sb-voice-orb-speaking .sb-voice-orb-icon {
  color: rgba(255, 255, 255, 0.95);
}

.sb-voice-orb-error .sb-voice-orb-icon {
  color: rgba(255, 255, 255, 0.9);
}

.sb-voice-orb-listening .sb-voice-orb-core {
  background: transparent;
  border: none;
}

.sb-voice-orb-speaking .sb-voice-orb-core {
  background: transparent;
  border: none;
  animation: none;
}

.sb-voice-orb-speaking::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, rgba(115, 178, 255, 0) 0%, rgba(115, 178, 255, 0.5) 18%, rgba(115, 178, 255, 0) 35%, rgba(115, 178, 255, 0) 100%);
  opacity: 0.6;
  filter: blur(3px);
  animation: sbSweep 1.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.sb-voice-orb-listening::before,
.sb-voice-orb-speaking::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 2px solid rgba(115, 178, 255, 0.35);
  opacity: 0.0;
  z-index: 1;
}

.sb-voice-orb-listening::before {
  opacity: 0.9;
  animation: sbWaveOut 1.35s ease-out infinite;
}

.sb-voice-orb-speaking::before {
  opacity: 0.9;
  animation: sbWaveOut 1.05s ease-out infinite;
}

.sb-voice-orb::before,
.sb-voice-orb::after {
  pointer-events: none;
}

.sb-voice-orb-processing .sb-voice-orb-core {
  background: transparent;
  border: none;
}

.sb-voice-processing {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
}

.sb-voice-processing::before {
  content: '';
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.85);
  animation: sbSpin 1.1s linear infinite;
}

.sb-voice-orb-processing::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(115, 178, 255, 0) 0%, rgba(115, 178, 255, 0.35) 40%, rgba(115, 178, 255, 0) 70%);
  opacity: 0.55;
  transform: translateX(-25%);
  animation: sbShimmer 1.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.sb-voice-orb-error .sb-voice-orb-core {
  background: transparent;
  border: none;
  box-shadow: none;
}

.sb-voice-orb-error::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 2px solid rgba(190, 18, 60, 0.35);
  opacity: 0.95;
  z-index: 1;
}

.sb-voice-error-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(190, 18, 60, 0.12);
  color: rgba(190, 18, 60, 0.95);
  border: 1px solid rgba(190, 18, 60, 0.18);
}

.sb-voice-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.sb-voice-mute-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.sb-voice-mute-btn-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.sb-voice-mic {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 2px solid rgba(7, 56, 137, 0.55);
  background: #ffffff;
  color: var(--sb-accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.sb-voice-mic:hover {
  transform: translateY(-1px);
  border-color: rgba(7, 56, 137, 0.75);
}

.sb-voice-mic:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(7, 56, 137, 0.12), 0 10px 26px rgba(15, 23, 42, 0.12);
}

.sb-voice-mic-active {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.sb-voice-permission {
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(7, 56, 137, 0.18);
  background: #f0f6fc;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  text-align: center;
}

.sb-voice-permission-title {
  font-weight: 800;
  color: var(--sb-accent);
  margin-bottom: 0.35rem;
}

.sb-voice-permission-body {
  margin-bottom: 0;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.45;
}

.sb-intro-draft-actions {
  justify-content: center;
  margin-bottom: 0;
}

@keyframes sbPulseSlow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes sbPulseTalk {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes sbWaveOut {
  0% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@keyframes sbSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sbSweep {
  0% {
    transform: rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: rotate(35deg);
    opacity: 0.65;
  }
  100% {
    transform: rotate(0deg);
    opacity: 0.3;
  }
}

@keyframes sbShimmer {
  0% {
    transform: translateX(-30%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(18%);
    opacity: 0.65;
  }
  100% {
    transform: translateX(-30%);
    opacity: 0.35;
  }
}

@keyframes sbFadeIn {
  from {
    opacity: 0;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .sb-choice-grid {
    grid-template-columns: 1fr;
  }
  .sb-choice-card {
    min-height: 200px;
  }
  .sb-voice-shell {
    min-height: 70vh;
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-choice-card,
  .sb-voice-orb,
  .sb-voice-orb-speaking::after,
  .sb-voice-orb-processing::after,
  .sb-voice-orb-speaking .sb-voice-orb-core,
  .sb-voice-processing::before,
  .sb-voice-orb-listening::before,
  .sb-voice-orb-speaking::before {
    animation: none !important;
    transition: none !important;
  }
}

.sb-display {
  font-family: var(--sb-font-display);
  letter-spacing: -0.01em;
}

.sb-display-sub {
  font-family: var(--sb-font-display);
  font-weight: 600;
  max-width: none;
}

.sb-directory-subtitle {
  width: 100%;
}

.sb-toolbar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: stretch;
}

/* Zoekbalk en profielkaart gelijke onderkant: cellen vullen rijhoogte */

.sb-toolbar-layout > .sb-card {
  height: 100%;
  min-height: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

/* Zoekbalk + profiel één blok; verjaardagen rechts op dezelfde rij */

.sb-directory-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

/* Witte kaarten, geen kleurenbalk: gradient-top op kaarten uit */

.sb-directory-header-row .sb-toolbar::before,
.sb-directory-header-row .sb-toolbar-soft-card::before,
.sb-directory-header-row .sb-birthdays-widget--sidebar::before {
  display: none;
}

.sb-directory-header-row .sb-card.sb-toolbar,
.sb-directory-header-row .sb-card.sb-toolbar-soft-card,
.sb-directory-header-row .sb-card.sb-birthdays-widget--sidebar {
  background: #ffffff;
}

.sb-directory-header-row .sb-toolbar-layout {
  margin-bottom: 0;
  min-width: 0;
}

.sb-directory-header-row .sb-birthdays-widget--sidebar {
  margin-bottom: 0;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.sb-directory-header-row--toolbar-only {
  grid-template-columns: minmax(0, 1fr);
}

.sb-toolbar-soft-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

/* Anchor for absolute dropdown; card stays header height when list is open */

.sb-birthdays-widget-shell {
  position: relative;
  z-index: 5;
  width: 100%;
  min-width: 0;
}

.sb-birthdays-widget-top {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}

.sb-birthdays-widget-top--clickable {
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}

.sb-birthdays-widget-top--clickable:hover {
  background: rgba(7, 56, 137, 0.04);
}

.sb-birthdays-widget-top:disabled {
  cursor: default;
}

.sb-birthdays-widget-header-strip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #073889 0%, #0065cc 100%);
  color: #ffffff;
  margin: -0.65rem -0.75rem 0;
  padding: 0.45rem 0.85rem;
  border-radius: 12px 12px 0 0;
  width: calc(100% + 1.5rem);
}

.sb-birthdays-widget-cake {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
  color: #ffffff;
}

.sb-birthdays-widget-cake svg {
  display: block;
  width: 22px;
  height: 22px;
}

.sb-birthdays-widget-header-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Title + chevron on one row */

.sb-birthdays-widget-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}

.sb-birthdays-widget-title {
  margin: 0;
  font-family: var(--sb-font-display);
  font-weight: 700;
  color: #ffffff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex: 1;
  min-width: 0;
}

.sb-birthdays-widget-body {
  padding: 0.55rem 0.1rem 0;
}

.sb-birthdays-loading-line {
  margin: 0;
}

.sb-directory-header-row .sb-birthdays-widget--sidebar.sb-birthdays-widget--collapsed {
  min-height: 0;
}

.sb-birthdays-summary {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--sb-text);
}

/* Icon-only toggle: same row as title; one SVG + rotation = stable hit target */

.sb-birthdays-expand-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.25rem;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  line-height: 0;
  border-radius: 8px;
  transition: background 0.12s ease, color 0.12s ease;
}

.sb-birthdays-expand-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.sb-birthdays-expand-toggle:focus-visible {
  outline: 2px solid var(--sb-accent);
  outline-offset: 2px;
}

.sb-birthdays-chevron {
  display: block;
  width: 22px;
  height: 22px;
  transform: rotate(90deg);
  transform-origin: center center;
  transition: transform 0.15s ease;
}

.sb-birthdays-expand-toggle--expanded .sb-birthdays-chevron {
  transform: rotate(-90deg);
}

.sb-birthdays-expanded-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

/* Sidebar: list drops over content below (no layout shift) */

.sb-birthdays-widget--sidebar .sb-birthdays-expanded-block {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 0.35rem;
  z-index: 40;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  padding: 0.5rem 0.65rem 0.6rem;
  max-height: min(55vh, 300px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sb-birthdays-expanded-block .sb-birthdays-list {
  flex: 0 1 auto;
}

.sb-birthdays-list-note {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  line-height: 1.35;
}

.sb-toolbar-profile-card {
  min-width: 0;
  max-width: 260px;
}

.sb-btn--on-soft.sb-btn-secondary {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(7, 56, 137, 0.22);
  color: var(--sb-accent);
}

/* Profiel review: opnieuw interview (boven profielfoto) */

.sb-review-reinterview-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
  background: #f8fafc;
  border: 1px solid rgba(7, 56, 137, 0.14);
}

.sb-review-reinterview-text {
  margin: 0;
  flex: 1 1 14rem;
  min-width: 0;
  font-family: var(--sb-font-display);
  letter-spacing: -0.01em;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--sb-text);
}

/* Exo voor knop; specificiteit > .sb-btn */

.sb-card.sb-review-reinterview-banner .sb-btn.sb-review-reinterview-btn {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--sb-font-display);
  font-weight: 700;
}

.sb-toolbar-filters {
  padding: 0.65rem 0.85rem 0.6rem;
}

.sb-toolbar-filters .sb-row {
  margin-bottom: 0;
}

/* ── Directory filter bar ─────────────────────────────────────── */

.sb-filter-bar {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.sb-search-field {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  align-items: center;
}

.sb-search-field-icon {
  position: absolute;
  left: 0.7rem;
  color: var(--sb-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.sb-search-field-input {
  width: 100%;
  padding: 0.52rem 2rem 0.52rem 2.1rem;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  font: inherit;
  font-size: 0.88rem;
  color: var(--sb-text);
  background: var(--sb-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sb-search-field-input::placeholder {
  color: #94a3b8;
}

.sb-search-field-input:focus {
  outline: none;
  border-color: var(--sb-accent);
  box-shadow: 0 0 0 3px rgba(7, 56, 137, 0.1);
}

.sb-search-field-clear {
  position: absolute;
  right: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #e2e8f0;
  color: var(--sb-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  padding: 0;
}

.sb-search-field-clear:hover {
  background: #cbd5e1;
  color: var(--sb-text);
}

.sb-filter-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sb-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sb-select-styled {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.52rem 2rem 0.52rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sb-text);
  background: var(--sb-bg);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  min-width: 0;
}

.sb-select-styled:focus {
  outline: none;
  border-color: var(--sb-accent);
  box-shadow: 0 0 0 3px rgba(7, 56, 137, 0.1);
}

.sb-select-styled:hover {
  border-color: #94a3b8;
}

.sb-select-chevron {
  position: absolute;
  right: 0.55rem;
  color: var(--sb-muted);
  pointer-events: none;
}

.sb-sort-row {
  display: flex;
  align-items: center;
  margin-top: 0.35rem;
}

.sb-select-wrap--sort {
  display: inline-flex;
  align-items: center;
}

.sb-sort-icon {
  position: absolute;
  left: 0.6rem;
  color: var(--sb-muted);
  pointer-events: none;
  z-index: 1;
}

.sb-select-styled--sort {
  padding-left: 2rem;
  background: transparent;
  border-color: transparent;
  font-size: 0.82rem;
  color: var(--sb-muted);
  font-weight: 600;
}

.sb-select-styled--sort:hover {
  border-color: #e2e8f0;
  color: var(--sb-text);
}

.sb-select-styled--sort:focus {
  border-color: var(--sb-accent);
  box-shadow: 0 0 0 3px rgba(7, 56, 137, 0.1);
  color: var(--sb-text);
}

.sb-profile-actions-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
}

.sb-toolbar-soft-card .sb-profile-actions-row .sb-btn {
  flex: 1 1 0;
  justify-content: center;
  padding: 0.38rem 0.5rem;
  font-size: 0.78rem;
  line-height: 1.25;
}

.sb-choice-section {
  margin-top: 0.25rem;
  min-height: calc(100dvh - 260px);
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.sb-choice-header {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sb-accent);
  text-align: center;
}

.sb-toolbar-soft-card .sb-toolbar-actions-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.sb-toolbar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  background: #e9f4f8;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(3, 21, 63, 0.12);
  flex: 0 0 auto;
}

.sb-toolbar-avatar-fallback {
  background: linear-gradient(135deg, rgba(7, 56, 137, 0.18) 0%, rgba(65, 151, 203, 0.18) 100%);
}

.sb-toolbar-user-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.sb-card.sb-nieuw-bij-hero {
  margin-bottom: 1.1rem;
  padding: 0;
  border: 1px solid rgba(7, 56, 137, 0.12);
  background: linear-gradient(135deg, #e9f4f8 0%, #d3e6f0 100%);
  overflow: hidden;
}

.sb-nieuw-bij-hero-header {
  background: linear-gradient(135deg, #073889 0%, #0065cc 100%);
  padding: 0.9rem 1.25rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.12);
}

.sb-nieuw-bij-hero-title {
  margin: 0 0 0.2rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
}

.sb-nieuw-bij-hero-sub {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}

.sb-nieuw-bij-hero-grid {
  padding: 1rem 1.15rem 1.15rem;
}

.sb-nieuw-bij-hero .sb-profile-tile {
  background: #ffffff;
}

.sb-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  cursor: pointer;
  user-select: none;
}

.sb-checkbox-label input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--sb-accent);
}

.sb-toolbar-date-filters {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.sb-toolbar-date-label {
  font-size: 0.82rem;
  color: #64748b;
}

.sb-input--date {
  width: auto;
  min-width: 9.75rem;
}

.sb-directory-groups {
  min-width: 0;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sb-location-group-head {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  margin-bottom: 0.75rem;
}

.sb-location-group-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--sb-accent);
}

.sb-location-group-meta {
  white-space: nowrap;
}

.sb-profile-tile {
  position: relative;
}

.sb-profile-tile-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  background: #f79c44;
  color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  white-space: nowrap;
  max-width: calc(100% - 5rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-section-title {
  font-family: var(--sb-font-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--sb-accent);
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

.sb-section-title--spaced {
  margin: 1.25rem 0 0.75rem;
}

/* Rubriek-groepen (interviewblokken) op de reviewpagina — alleen titels donkerblauw; labels blijven zwart */

.sb-rubric-group-title {
  font-family: var(--sb-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sb-accent);
  letter-spacing: -0.01em;
  margin: 1rem 0 0.5rem;
}

.sb-rubric-group-title--first {
  margin-top: 0;
}

/* Het vaste rondje — alle tekst in het venster (profiel + review) in Exo */

.sb-rubrics-panel {
  font-family: "Exo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.sb-rubrics-panel .sb-textarea,
.sb-rubrics-panel .sb-input {
  font-family: inherit;
}

/* Vraaglabels binnen het rubriekenvenster: zwart, vet (niet blauw) */

.sb-card--rubrics .sb-form-label {
  color: #0a0a0a;
  font-weight: 700;
}

/* ── Rubric cards (profile view) ─────────────────────────────── */

.sb-rubrics-section-title {
  margin: 0.25rem 0 0.9rem;
}

.sb-rubric-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sb-rubric-card {
  background: var(--sb-card);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1.5px solid #e8edf4;
}

.sb-rubric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7, 56, 137, 0.12);
}

.sb-rubric-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  font-family: var(--sb-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.05);
}

/* Achtergrondinformatie — Hero Blauw Soft family */

.sb-rubric-card-header--bg {
  background: linear-gradient(135deg, #e9f4f8 0%, #d3e6f0 100%);
  color: #073889;
  border-bottom-color: rgba(7, 56, 137, 0.08);
}

/* Hero — Hero Blauw → Blauw Bold */

.sb-rubric-card-header--hero {
  background: linear-gradient(135deg, #073889 0%, #0065cc 100%);
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* Persoonlijke vragen — Hero Oranje Thin family */

.sb-rubric-card-header--personal {
  background: linear-gradient(135deg, #fde1b6 0%, #f9d49a 100%);
  color: #944100;
  border-bottom-color: rgba(244, 96, 21, 0.08);
}

/* Favorieten — Hero Groen soft */

.sb-rubric-card-header--fav {
  background: linear-gradient(135deg, #e2f7e5 0%, #c8eece 100%);
  color: #1d7a2a;
  border-bottom-color: rgba(56, 189, 71, 0.1);
}

/* Fun vragen — Hero Geel soft */

.sb-rubric-card-header--fun {
  background: linear-gradient(135deg, #fff5d9 0%, #ffecb8 100%);
  color: #7a5600;
  border-bottom-color: rgba(255, 189, 13, 0.12);
}

.sb-rubric-card-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.sb-rubric-card-title {
  white-space: nowrap;
}

.sb-rubric-card-body {
  padding: 1rem 1.25rem 1.15rem;
  flex: 1;
  font-size: 1rem;
  line-height: 1.65;
}

.sb-rubric-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sb-rubric-dl dt {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  padding-top: 0.65rem;
}

/* Label colors match their category header — all Hero brand palette */

.sb-rubric-card-header--bg + .sb-rubric-card-body .sb-rubric-dl dt { color: #073889; }

.sb-rubric-card-header--hero + .sb-rubric-card-body .sb-rubric-dl dt { color: #0065cc; }

.sb-rubric-card-header--personal + .sb-rubric-card-body .sb-rubric-dl dt { color: #f46015; }

.sb-rubric-card-header--fav + .sb-rubric-card-body .sb-rubric-dl dt { color: #38bd47; }

.sb-rubric-card-header--fun + .sb-rubric-card-body .sb-rubric-dl dt { color: #c65b00; }

.sb-rubric-dl dt:first-of-type {
  padding-top: 0;
}

.sb-rubric-dl dd {
  margin: 0.15rem 0 0;
  padding: 0;
  white-space: pre-wrap;
  color: var(--sb-text);
}

.sb-rubric-dl--compact dt {
  padding-top: 0.5rem;
}

.sb-rubric-dl--compact dd {
  font-weight: 500;
}

.sb-rubric-card--full {
  margin-bottom: 1rem;
  overflow: visible;
}

.sb-rubric-card--full > .sb-rubric-card-header {
  border-radius: 14px 14px 0 0;
}

.sb-rubric-empty {
  margin: 0;
  color: var(--sb-muted);
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .sb-rubric-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Rubrics dual-view (carousel + list) ──────────────────────── */

.sb-rv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.sb-rubric-card-header .sb-rv-toggle--on-hero {
  flex-shrink: 0;
}

/* ── Toggle (card / list) ─────────────────────────────────────── */

.sb-rv-toggle {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: #eef1f6;
  flex-shrink: 0;
}

.sb-rv-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #6b7589;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.sb-rv-toggle-btn:hover {
  color: #2d3a50;
}

.sb-rv-toggle-btn--active {
  background: #fff;
  color: #1a1a2e;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.sb-rv-toggle--on-hero {
  background: rgba(255, 255, 255, 0.15);
  margin-left: auto;
}

.sb-rv-toggle--on-hero .sb-rv-toggle-btn {
  color: rgba(255, 255, 255, 0.6);
}

.sb-rv-toggle--on-hero .sb-rv-toggle-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

.sb-rv-toggle--on-hero .sb-rv-toggle-btn--active {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: none;
}

/* ── Carousel content + sequenced animation ───────────────────── */

.sb-rv-content {
  transition: opacity 0.15s ease-out;
}

.sb-rv-content--leaving {
  opacity: 0;
}

.sb-rv-title {
  text-align: center;
  font-family: var(--sb-font-display);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
  animation: sb-rv-title-enter 0.3s ease-out both;
}

@keyframes sb-rv-title-enter {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── Tile grid ────────────────────────────────────────────────── */

.sb-rv-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sb-rv-tile {
  border-radius: 12px;
  padding: 14px 18px;
  animation: sb-rv-tile-enter 0.35s ease-out both;
}

.sb-rv-tile--wide {
  grid-column: 1 / -1;
}

@keyframes sb-rv-tile-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sb-rv-tile-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.sb-rv-tile-value {
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  white-space: pre-wrap;
}

/* ── Compact tiles (list view) ────────────────────────────────── */

.sb-rv-tiles--compact .sb-rv-tile {
  padding: 10px 14px;
}

.sb-rv-tiles--compact .sb-rv-tile-label {
  font-size: 10px;
}

.sb-rv-tiles--compact .sb-rv-tile-value {
  font-size: 13px;
}

/* ── Carousel navigation (arrows + dots) ──────────────────────── */

.sb-rv-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.sb-rv-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid #dce1ea;
  border-radius: 50%;
  background: #fff;
  color: #4a5568;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s;
}

.sb-rv-nav-btn:hover {
  border-color: #a0aec0;
  color: #1a1a2e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
}

.sb-rv-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.sb-rv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #d1d5de;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.sb-rv-dot--active {
  transform: scale(1.3);
}

.sb-rv-dot:hover:not(.sb-rv-dot--active) {
  background: #a0aab8;
}

/* ── List view ────────────────────────────────────────────────── */

.sb-rv-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.sb-rv-list-section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sb-rv-list-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sb-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.sb-rv-list-heading-line {
  flex: 1;
  border-bottom: 1.5px solid;
}

/* ── Radial view ──────────────────────────────────────────────── */

.sb-radial {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 0 1rem;
  overflow: visible;
}

.sb-radial-cta {
  margin: 0 0 0.25rem;
  font-family: var(--sb-font-display);
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  text-align: center;
  letter-spacing: 0.01em;
}

.sb-radial-stage {
  position: relative;
  width: var(--sb-radial-s, 560px);
  height: var(--sb-radial-s, 560px);
  max-width: 100%;
  flex-shrink: 0;
  background: radial-gradient(circle at center, #f0f6fb 0%, transparent 70%);
  border-radius: 50%;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.4s ease,
              background 0.4s ease 0.1s;
}

.sb-radial-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sb-radial-line {
  transition: opacity 0.2s ease, stroke-width 0.2s ease;
}

.sb-radial-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  box-shadow: 0 0 0 3.5px rgba(0, 101, 204, 0.25);
  overflow: hidden;
  z-index: 2;
}

.sb-radial-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.sb-radial-photo--empty {
  background: linear-gradient(135deg, #9ecae2, #4197cb);
}

.sb-radial-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 25;
  transform: translate(-50%, -50%);
}

.sb-radial-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
  box-shadow: 0 2px 10px rgba(3, 21, 63, 0.18);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.sb-radial-icon-btn:hover {
  box-shadow: 0 4px 18px rgba(3, 21, 63, 0.28);
}

.sb-radial-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.sb-radial-icon-inner img {
  filter: brightness(0) invert(1);
}

.sb-radial-label {
  margin-top: 6px;
  font-family: var(--sb-font-display);
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-align: center;
  white-space: nowrap;
  line-height: 1.3;
  transition: font-weight 0.15s ease, color 0.15s ease;
  pointer-events: none;
}

.sb-radial-label--active {
  font-weight: 700;
  color: #03153f;
}

.sb-radial-node--active .sb-radial-icon-btn {
  box-shadow: 0 4px 20px rgba(3, 21, 63, 0.32);
}

/* ── Heartbeat: indicate circles are clickable ────────────────── */

@keyframes sb-radial-heartbeat {
  0%, 60%, 100% { transform: scale(1); }
  8% { transform: scale(1.11); }
  18% { transform: scale(0.98); }
  26% { transform: scale(1.06); }
  34% { transform: scale(1); }
}

.sb-radial-icon-btn {
  animation: sb-radial-heartbeat 4s ease-in-out infinite;
  animation-fill-mode: both;
}

.sb-radial-node--active .sb-radial-icon-btn,
.sb-radial--match .sb-radial-icon-btn,
.sb-radial--card-open .sb-radial-icon-btn {
  animation: none;
}

/* ── Radial card ─────────────────────────────────────────────── */

/* Desktop: absolute-centered inside the stage.                  */

/* The stage grows dynamically so circles are always outside     */

/* the card bounds — overlap is structurally impossible.          */

.sb-radial-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: calc(100% - 48px);
  max-width: 460px;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 44px rgba(3, 21, 63, 0.22), 0 0 0 1px rgba(0, 101, 204, 0.08);
  animation: sb-radial-card-in 0.3s ease-out 0.06s both;
  display: flex;
  flex-direction: column;
}

/* Mobile: normal-flow card below the stage */

.sb-radial-card--below {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  margin: 0.5rem auto 0;
  animation-name: sb-radial-card-below-in;
  animation-delay: 0s;
}

@keyframes sb-radial-card-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes sb-radial-card-below-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sb-radial-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sb-font-display);
  font-size: 17px;
  font-weight: 700;
  padding: 14px 20px 12px;
  flex-shrink: 0;
  border-radius: 14px 14px 0 0;
}

.sb-radial-card-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sb-radial-card-header-icon img {
  filter: brightness(0) invert(1);
}

.sb-radial-card-body {
  padding: 4px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--sb-font-display);
}

.sb-radial-card-field {
  padding: 10px 0;
}

.sb-radial-card-field--border {
  border-bottom: 1px solid #eef1f6;
}

.sb-radial-card-field-label {
  font-family: var(--sb-font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.sb-radial-card-field-value {
  font-family: var(--sb-font-display);
  font-size: 15px;
  color: #1a1a2e;
  line-height: 1.55;
  white-space: pre-wrap;
}

.sb-radial-card-empty {
  color: #94a3b8;
  font-size: 14px;
  font-style: italic;
  margin: 0;
  padding: 10px 0;
}

/* ── Perfect Match: radial match mode ────────────────────────── */

/* ── PM trigger card (mirrors the aside card) ────────────────── */

.sb-radial-pm-card {
  text-align: center;
  padding: 0.75rem 1.25rem 1rem;
  max-width: 420px;
  animation: sb-pm-btn-enter 0.4s ease-out both;
}

.sb-radial-pm-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  font-family: var(--sb-font-display);
  color: #0a225d;
}

.sb-radial-pm-btn {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.55rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #d3e6f0, #e9f4f8);
  color: #03153f;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--sb-font-display);
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.sb-radial-pm-btn:hover {
  background: linear-gradient(135deg, #c5dbe9, #daeaf3);
}

@keyframes sb-pm-btn-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Viewer photo (hidden in normal mode, visible in match mode) */

.sb-radial-match-viewer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 0 0 3.5px rgba(245, 158, 11, 0.3);
  opacity: 0;
  transform: translate(calc(-50% + 80px), -50%) scale(0.5);
  transition: opacity 0.4s ease 0.6s, transform 0.4s ease 0.6s;
  pointer-events: none;
}

/* ── Match mode active state ─────────────────────────────────── */

.sb-radial--match .sb-radial-stage {
  --sb-radial-s: 560px;
  height: 150px;
  border-radius: 24px;
  background: transparent;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
              height 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
              border-radius 0.4s ease 0.2s,
              background 0.3s ease 0s;
}

.sb-radial--match .sb-radial-svg {
  opacity: 0;
  transition: opacity 0.35s ease 0s;
}

.sb-radial-svg {
  transition: opacity 0.35s ease 0.55s;
}

.sb-radial--match .sb-radial-node {
  opacity: 0;
  pointer-events: none;
  transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              top 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease 0s;
}

.sb-radial-node {
  transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              top 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease 0.55s;
}

.sb-radial--match .sb-radial-center {
  transform: translate(calc(-50% - 52px), -50%) scale(0.727);
  box-shadow: 0 0 0 3.5px rgba(0, 101, 204, 0.3);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, box-shadow 0.3s ease 0.3s;
}

.sb-radial-center {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.25s, box-shadow 0.3s ease 0.25s;
}

.sb-radial--match .sb-radial-match-viewer {
  opacity: 1;
  transform: translate(calc(-50% + 52px), -50%) scale(0.727);
  transition: opacity 0.45s ease 0.35s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
}

.sb-radial--match .sb-radial-card {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease 0s;
}

/* ── Match info (below stage) ────────────────────────────────── */

.sb-radial-match-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  animation: sb-match-info-in 0.5s ease-out 0.9s both;
}

@keyframes sb-match-info-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.sb-radial-match-names {
  font-family: var(--sb-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #03153f;
  text-align: center;
}

.sb-radial-match-body {
  max-width: 32rem;
  text-align: center;
  width: 100%;
}

.sb-radial-match-summary {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
  white-space: pre-wrap;
  animation: sb-match-text-in 0.45s ease-out both;
}

@keyframes sb-match-text-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sb-radial-match-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #64748b;
  padding: 0.5rem 0;
}

.sb-radial-match-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid #e2e8f0;
  border-top-color: #f79c44;
  border-radius: 50%;
  animation: sbSpin 0.7s linear infinite;
}

.sb-radial-match-error {
  margin: 0;
  color: #b91c1c;
  font-size: 0.9rem;
}

.sb-radial-match-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.25rem;
  padding: 0.4rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.sb-radial-match-back:hover {
  color: #03153f;
  border-color: #94a3b8;
  background: #f8fafc;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .sb-radial--match .sb-radial-stage,
  .sb-radial--match .sb-radial-svg,
  .sb-radial--match .sb-radial-node,
  .sb-radial--match .sb-radial-center,
  .sb-radial--match .sb-radial-match-viewer,
  .sb-radial--match .sb-radial-card,
  .sb-radial-stage,
  .sb-radial-svg,
  .sb-radial-node,
  .sb-radial-center,
  .sb-radial-match-viewer {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .sb-radial-match-info,
  .sb-radial-match-summary,
  .sb-radial-pm-btn,
  .sb-radial-icon-btn {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
}

/* ── List view fields ────────────────────────────────────────── */

.sb-rv-list-section {
  border-left: 3px solid;
  padding-left: 1rem;
  padding-bottom: 0.25rem;
}

.sb-rv-list-heading-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.sb-rv-list-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 1.5rem;
}

.sb-rv-list-field-label {
  font-family: var(--sb-font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sb-rv-list-field-value {
  font-size: 15px;
  color: #1a1a2e;
  line-height: 1.55;
  white-space: pre-wrap;
}

/* ── Compact rubric card (fun fact) ──────────────────────────── */

/* ── Fun fact (inline inside Over card) ───────────────────────── */

.sb-fun-fact-inline {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
}

.sb-fun-fact-inline-label {
  display: block;
  font-family: var(--sb-font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0065cc;
  margin-bottom: 0.25rem;
}

.sb-fun-fact-inline-text {
  display: block;
  color: #1e293b;
  white-space: pre-wrap;
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 600px) {
  .sb-rv-tiles {
    grid-template-columns: 1fr;
  }

  .sb-rv-tile--wide {
    grid-column: auto;
  }

  .sb-rv-title {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .sb-radial-stage {
    --sb-radial-s: 340px !important;
  }

  .sb-radial-center {
    width: 80px;
    height: 80px;
  }

  .sb-radial-icon-btn {
    width: 46px;
    height: 46px;
  }

  .sb-radial-label {
    font-size: 9px;
  }

  .sb-radial-card {
    max-width: 100%;
    border-radius: 12px;
  }

  .sb-radial-card-header {
    font-size: 15px;
    padding: 12px 14px 10px;
  }

  .sb-radial-card-body {
    padding: 4px 14px 14px;
  }

  .sb-radial-card-field-label {
    font-size: 11px;
  }

  .sb-radial-card-field-value {
    font-size: 14px;
  }

  .sb-rv-list-field {
    padding-left: 0.75rem;
  }

  .sb-radial--match .sb-radial-stage {
    height: 120px;
  }

  .sb-radial--match .sb-radial-center {
    transform: translate(calc(-50% - 40px), -50%) scale(0.636);
  }

  .sb-radial--match .sb-radial-match-viewer {
    transform: translate(calc(-50% + 40px), -50%) scale(0.636);
  }

  .sb-radial-match-viewer {
    width: 80px;
    height: 80px;
  }

  .sb-radial-pm-card {
    max-width: 320px;
    padding: 0.5rem 1rem 0.75rem;
  }

  .sb-radial-pm-title {
    font-size: 0.92rem;
  }

  .sb-radial-pm-btn {
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
  }

  .sb-radial-match-names {
    font-size: 0.95rem;
  }

  .sb-radial-match-summary {
    font-size: 0.88rem;
  }
}

.sb-card.sb-profile-hero {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--sb-gradient-hero-blue);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(3, 21, 63, 0.18);
  /* Alles in het blauwe venster expliciet Exo (display) */
  font-family: var(--sb-font-display);
}

.sb-card.sb-profile-hero .sb-profile-hero-name.sb-display {
  font-family: var(--sb-font-display);
}

.sb-card.sb-profile-hero a,
.sb-card.sb-profile-hero button {
  font-family: var(--sb-font-display);
}

.sb-card.sb-profile-hero .sb-title {
  color: #ffffff;
}

.sb-card.sb-profile-hero .sb-chip {
  color: rgba(255, 255, 255, 0.85);
}

.sb-profile-hero-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  background: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.sb-profile-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.sb-profile-hero-identity {
  margin-top: 0.85rem;
}

.sb-profile-hero-name {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.sb-profile-hero-birthday {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
}

.sb-profile-hero-birthday-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 0;
}

.sb-profile-hero-birthday-text {
  color: rgba(255, 255, 255, 0.92);
}

.sb-profile-hero-body {
  min-width: 0;
}

.sb-profile-hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  margin-top: 0.25rem;
}

.sb-profile-hero-kicker .sb-profile-hero-meta-item {
  margin-top: 0;
}

.sb-on-blue {
  color: #ffffff !important;
}

.sb-card.sb-profile-hero .sb-badge-on-blue {
  background: #f79c44;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.sb-profile-hero-fields {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

@media (max-width: 960px) {
  .sb-profile-hero-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sb-profile-field {
  background: #ffffff;
  border: 1px solid rgba(7, 56, 137, 0.12);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
}

.sb-profile-field-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--sb-muted);
  margin-bottom: 0.15rem;
}

.sb-profile-field-label-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sb-profile-field-icon {
  display: inline-flex;
  color: var(--sb-accent);
}

.sb-profile-field-value {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--sb-text);
}

.sb-profile-hero-meta-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sb-muted);
}

.sb-card.sb-profile-hero .sb-profile-hero-meta-item {
  color: rgba(255, 255, 255, 0.9);
}

.sb-profile-contact {
  margin-top: 0.9rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(7, 56, 137, 0.12);
}

.sb-profile-contact-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--sb-accent);
  margin-bottom: 0.4rem;
}

.sb-profile-contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.5rem;
  align-items: baseline;
  margin-top: 0.25rem;
}

.sb-profile-contact-label {
  font-size: 0.82rem;
  color: var(--sb-muted);
}

.sb-profile-contact-link {
  color: var(--sb-accent);
  font-weight: 700;
  text-decoration: none;
}

.sb-profile-contact-link:hover {
  text-decoration: underline;
}

.sb-profile-contact-missing {
  color: var(--sb-muted);
}

/* Profiel-hero: doorzichtige vakken op de gradient, tekst en iconen wit */

.sb-card.sb-profile-hero .sb-profile-field,
.sb-card.sb-profile-hero .sb-profile-contact {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.sb-card.sb-profile-hero .sb-profile-field-label {
  color: rgba(255, 255, 255, 0.85);
}

.sb-card.sb-profile-hero .sb-profile-field-icon {
  color: #ffffff;
}

.sb-card.sb-profile-hero .sb-profile-field-value {
  color: #ffffff;
}

.sb-card.sb-profile-hero .sb-profile-contact-title {
  color: #ffffff;
}

.sb-card.sb-profile-hero .sb-profile-contact-label {
  color: rgba(255, 255, 255, 0.78);
}

.sb-card.sb-profile-hero .sb-profile-contact-link {
  color: #ffffff;
}

.sb-card.sb-profile-hero .sb-profile-contact-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.sb-card.sb-profile-hero .sb-profile-contact-missing {
  color: rgba(255, 255, 255, 0.55);
}

.sb-profile-contact-right {
  margin-left: auto;
  max-width: 360px;
}

.sb-gallery-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0.1rem 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}

.sb-gallery-thumb {
  flex: 0 0 auto;
  width: 160px;
  height: 160px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  scroll-snap-align: start;
}

.sb-gallery-thumb:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 2px;
}

.sb-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.82);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.sb-lightbox-body {
  width: min(900px, 92vw);
  max-height: 86vh;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.sb-lightbox-img {
  max-width: 92vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.sb-lightbox-caption {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  max-width: min(900px, 92vw);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.sb-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.sb-lightbox-nav-left {
  left: 16px;
}

.sb-lightbox-nav-right {
  right: 16px;
}

.sb-gallery-admin-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.sb-gallery-dropzone {
  border: 2px dashed rgba(7, 56, 137, 0.25);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 0.25rem;
}

.sb-gallery-dropzone-plus {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(7, 56, 137, 0.08);
  color: #073889;
  font-size: 26px;
  font-weight: 900;
}

.sb-gallery-dropzone-text {
  font-family: var(--sb-font-display);
  font-weight: 800;
  color: #073889;
}

.sb-gallery-dropzone-sub {
  font-size: 0.85rem;
  color: var(--sb-muted);
  text-align: center;
}

.sb-gallery-error {
  margin-top: 0.5rem;
  color: #b91c1c;
  font-weight: 700;
}

.sb-gallery-admin-grid {
  margin-top: 0.9rem;
  display: grid;
  /* Vaste kolombreedte: bij één foto geen volle breedte (was minmax(..., 1fr)) */
  grid-template-columns: repeat(auto-fill, minmax(118px, 148px));
  gap: 0.65rem;
  justify-content: start;
}

.sb-gallery-admin-item {
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 0.5rem;
  background: #ffffff;
  min-width: 0;
}

.sb-gallery-admin-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 0.45rem;
}

.sb-gallery-admin-caption {
  font-size: 0.92rem;
}

.sb-gallery-admin-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.sb-gallery-admin-handle {
  position: absolute;
  bottom: 8px;
  right: 10px;
  color: rgba(15, 23, 42, 0.35);
  font-weight: 900;
  user-select: none;
}

@media (max-width: 720px) {
  .sb-card.sb-profile-hero {
    grid-template-columns: 1fr;
  }
  .sb-profile-hero-left {
    align-items: stretch;
  }
  .sb-profile-hero-photo {
    width: 100%;
    height: 220px;
  }
  .sb-profile-hero-fields {
    grid-template-columns: 1fr;
  }

  .sb-profile-contact-row {
    grid-template-columns: 1fr;
  }

  .sb-gallery-thumb {
    width: 140px;
    height: 140px;
  }

  .sb-chat-card {
    height: 70vh;
    min-height: 420px;
  }

  .sb-msg {
    max-width: 92%;
  }

  .sb-toolbar-layout {
    grid-template-columns: 1fr;
  }

  .sb-toolbar-layout > .sb-card {
    height: auto;
  }

  .sb-toolbar-profile-card {
    max-width: none;
  }

  .sb-directory-header-row {
    grid-template-columns: 1fr;
  }

  .sb-directory-header-row .sb-birthdays-widget--sidebar {
    height: auto;
  }
}

.sb-card {
  background: var(--sb-card);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

/* Wins over .sb-card background (must follow .sb-card in cascade). */

.sb-card.sb-nieuw-bij-hero {
  background: linear-gradient(135deg, #e9f4f8 0%, #d3e6f0 100%);
}

.sb-card.sb-toolbar-soft-card {
  background: #ffffff;
  border: 1px solid #e9f4f8;
  padding: 0.5rem 0.65rem 0.55rem;
  position: relative;
  overflow: hidden;
}

.sb-card.sb-toolbar-soft-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #073889 0%, #4197cb 45%, #f46015 100%);
  z-index: 0;
}

.sb-card.sb-toolbar-soft-card > * {
  position: relative;
  z-index: 1;
}

.sb-card.sb-birthdays-widget--sidebar {
  background: #ffffff;
  border: 1px solid #e9f4f8;
  padding: 0.65rem 0.75rem 0.75rem;
  box-shadow: var(--sb-shadow);
  position: relative;
  /* overflow: visible so the dropdown can overlay content below; top accent uses ::before only */
  overflow: visible;
}

/* Later page sections stack above earlier siblings by default; lift card when open so the dropdown paints on top */

.sb-birthdays-widget--sidebar.sb-birthdays-widget--expanded {
  z-index: 30;
}

.sb-card.sb-birthdays-widget--sidebar::before {
  display: none;
}

.sb-card.sb-birthdays-widget--sidebar > * {
  position: relative;
  z-index: 1;
}

.sb-birthdays-widget--sidebar .sb-birthdays-row:not(.sb-birthdays-row--today) {
  background: #f1f5f9;
}

.sb-birthdays-widget--sidebar .sb-birthdays-row:not(.sb-birthdays-row--today):hover {
  background: #e2e8f0;
}

.sb-birthdays-widget--sidebar .sb-birthdays-fallback {
  background: #f1f5f9;
}

.sb-birthdays-widget--sidebar .sb-birthdays-fallback:hover {
  background: #e2e8f0;
}

.sb-birthdays-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-height: 0;
}

.sb-birthdays-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 0.35rem 0.4rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background 0.12s ease;
}

.sb-birthdays-row:hover {
  background: rgba(255, 255, 255, 0.85);
}

.sb-birthdays-row--today {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid rgba(245, 158, 11, 0.42);
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.12);
}

/* Statisch confetti-patroon (alleen vandaag jarig): ligt boven de gradient, onder avatar/tekst */

.sb-birthdays-row--today::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
  opacity: 0.72;
  background-image:
    radial-gradient(circle at 8% 18%, #ec4899 0 2px, transparent 3px),
    radial-gradient(circle at 22% 72%, #06b6d4 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 88% 14%, #eab308 0 2px, transparent 3px),
    radial-gradient(circle at 78% 82%, #8b5cf6 0 2px, transparent 3px),
    radial-gradient(circle at 52% 8%, #f97316 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 94% 48%, #10b981 0 2px, transparent 3px),
    radial-gradient(circle at 6% 52%, #e11d48 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 38% 42%, #3b82f6 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 62% 58%, #d946ef 0 2px, transparent 3px),
    radial-gradient(circle at 15% 38%, #14b8a6 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 72% 28%, #f43f5e 0 1.5px, transparent 2.5px),
    linear-gradient(118deg, transparent 42%, #f472b6 42% 58%, transparent 58%),
    linear-gradient(32deg, transparent 42%, #38bdf8 42% 58%, transparent 58%),
    linear-gradient(152deg, transparent 42%, #fbbf24 42% 58%, transparent 58%);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    16px 3px,
    12px 2.5px,
    14px 2.5px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    92% 68%,
    8% 32%,
    48% 88%;
  background-repeat: no-repeat;
}

.sb-birthdays-row--today > .sb-birthdays-avatar-wrap,
.sb-birthdays-row--today > .sb-birthdays-text {
  position: relative;
  z-index: 1;
}

.sb-birthdays-row--today:hover {
  filter: brightness(1.02);
}

.sb-birthdays-row-inner {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
}

.sb-birthdays-row-inner .sb-birthdays-row {
  flex: 1;
  min-width: 0;
}

.sb-birthdays-wish-btn {
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
  padding: 0.28rem 0.45rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.12s ease;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) {
  .sb-birthdays-row-inner--today:hover .sb-birthdays-wish-btn {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (hover: none) {
  .sb-birthdays-row-inner--today .sb-birthdays-wish-btn {
    opacity: 1;
    pointer-events: auto;
  }
}

.sb-birthdays-wish-btn:hover:not(:disabled) {
  background: #fff;
  border-color: rgba(217, 119, 6, 0.85);
}

.sb-birthdays-wish-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.sb-birthdays-wish-sent {
  flex: 0 0 auto;
  align-self: center;
  font-size: 0.68rem;
  font-weight: 650;
  color: #15803d;
  white-space: nowrap;
  padding-right: 0.1rem;
}

.sb-birthdays-avatar-wrap {
  flex: 0 0 auto;
}

.sb-birthdays-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(3, 21, 63, 0.1);
  display: block;
}

.sb-birthdays-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(7, 56, 137, 0.12);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--sb-accent);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(3, 21, 63, 0.08);
}

.sb-birthdays-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  text-align: left;
}

.sb-birthdays-name {
  font-weight: 750;
  font-size: 0.82rem;
  color: var(--sb-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-birthdays-when {
  font-size: 0.72rem;
  color: var(--sb-muted);
}

.sb-birthdays-row--today .sb-birthdays-when {
  color: #92400e;
  font-weight: 650;
}

.sb-birthdays-fallback {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 0.4rem 0.45rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  margin-top: 0.15rem;
}

.sb-birthdays-fallback:hover {
  background: rgba(255, 255, 255, 0.88);
}

.sb-birthdays-muted {
  color: var(--sb-muted);
  font-size: 0.78rem;
}

/* Directory: locatie-sectie — zelfde blauwe gradient als profiel-hero; tegels blijven wit */

.sb-card.sb-location-group {
  padding: 0.75rem 1rem 1rem;
  background: var(--sb-gradient-hero-blue);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(3, 21, 63, 0.18);
}

.sb-location-group .sb-location-group-title {
  color: #ffffff;
}

.sb-location-group .sb-location-group-meta {
  color: rgba(255, 255, 255, 0.88);
}

.sb-location-group .sb-location-group-head {
  margin-bottom: 0.65rem;
}

.sb-location-group .sb-grid {
  padding-top: 0.15rem;
}

.sb-btn--directory-tile {
  font-family: var(--sb-font-display);
  background: #a8c6df;
  color: #ffffff;
  border: none;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.sb-btn--directory-tile:hover {
  background: #9bb8d0;
  filter: none;
}

.sb-empty-state {
  border: 1px solid #e9f4f8;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  position: relative;
  overflow: hidden;
}

.sb-empty-state--welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: min(56vh, 520px);
  margin-bottom: 0;
  /* Zelfde donkerblauwe gradient als locatie-secties in het profielengrid */
  background: var(--sb-gradient-hero-blue);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(3, 21, 63, 0.18);
}

.sb-empty-state--welcome::before {
  display: none;
}

.sb-empty-state--welcome .sb-empty-state-title {
  color: #ffffff;
}

.sb-empty-state--welcome .sb-empty-state-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.sb-empty-state--welcome .sb-empty-state-cta {
  font-family: var(--sb-font-display);
  font-weight: 700;
  background: #ffffff;
  color: var(--sb-accent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.sb-empty-state--welcome .sb-empty-state-cta:hover {
  background: #f8fafc;
  filter: none;
}

.sb-empty-state--welcome .sb-empty-state-inner {
  flex: 1;
  min-height: min(48vh, 460px);
  padding: 2rem 1.75rem 2.25rem;
  gap: 1rem;
}

@media (min-width: 640px) {
  .sb-empty-state--welcome .sb-empty-state-inner {
    padding: 2.5rem 2.5rem 2.75rem;
  }

  .sb-empty-state--welcome .sb-empty-state-title {
    font-size: 1.55rem;
  }

  .sb-empty-state--welcome .sb-empty-state-subtitle {
    font-size: 1.05rem;
    max-width: 48ch;
  }
}

.sb-empty-state::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #073889 0%, #4197cb 45%, #f46015 100%);
}

.sb-empty-state-inner {
  position: relative;
  z-index: 1;
  min-height: 260px;
  padding: 1.25rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.sb-empty-state-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--sb-accent);
  margin: 0;
}

.sb-empty-state-subtitle {
  margin: 0;
  max-width: 70ch;
}

.sb-empty-state-cta {
  margin-top: 0.65rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(3, 21, 63, 0.12);
}

.sb-toolbar {
  border: 1px solid #e9f4f8; /* Hero blauw hairline */
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.sb-toolbar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #073889 0%, #4197cb 45%, #f46015 100%);
}

.sb-toolbar .sb-row {
  position: relative;
  z-index: 1;
}

.sb-intro-draft-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sb-text);
}

.sb-intro-draft-card .sb-btn {
  font-family: var(--sb-font-display);
  font-weight: 700;
}

.sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--sb-accent);
  color: #fff;
  text-decoration: none;
}

.sb-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.sb-btn-secondary {
  background: transparent;
  color: var(--sb-accent);
  border: 1px solid #c7d7eb;
}

.sb-btn--danger-subtle {
  background: transparent;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
}

.sb-btn--danger-subtle:hover {
  background: #fef2f2;
}

.sb-photo-preview {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.sb-leave-dialog {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 420px;
  width: 90%;
  margin: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.sb-leave-dialog-text {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1e293b;
}

.sb-leave-dialog-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.sb-input,
.sb-textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font: inherit;
}

.sb-textarea {
  min-height: 120px;
  resize: vertical;
}

.sb-msg {
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  max-width: min(72%, 72ch);
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.45;
}

.sb-msg-user {
  background: #073889;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom-right-radius: 6px;
}

.sb-msg-ai {
  background: #f1f5f9;
  color: var(--sb-text);
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 6px;
}

.sb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.sb-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(220, 252, 231, 0.65);
  color: #166534;
}

.sb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.sb-profile-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--sb-radius);
  padding: 1rem;
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

.sb-profile-card:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.sb-avatar {
  width: 100%;
  aspect-ratio: 1;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  background: #e2e8f0;
}

.sb-profile-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--sb-radius);
  background: #fff;
  box-shadow: var(--sb-shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.sb-profile-tile-admin-bar {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  display: flex;
  gap: 0.2rem;
  z-index: 3;
}

.sb-profile-tile-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(100, 116, 139, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.sb-profile-tile-admin-btn:hover:not(:disabled) {
  background: #f8fafc;
  color: #475569;
  border-color: rgba(71, 85, 105, 0.35);
}

.sb-profile-tile-admin-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.sb-profile-tile-admin-btn--danger {
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.35);
}

.sb-profile-tile-admin-btn--danger:hover:not(:disabled) {
  background: #f1f5f9;
  color: #475569;
  border-color: rgba(71, 85, 105, 0.4);
}

.sb-profile-tile:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.sb-profile-tile-top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.sb-profile-tile-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sb-profile-tile-welcome-below-photo {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.45rem;
}

.sb-profile-tile-welcome-btn {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.sb-profile-tile-welcome-feedback {
  margin: 0;
  max-width: 11.5rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: #166534;
}

.sb-avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  background: #e9f4f8; /* Hero blauw hairline */
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(3, 21, 63, 0.12);
}

.sb-profile-tile-body {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sb-profile-name {
  font-family: var(--sb-font-display);
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--sb-text);
}

.sb-profile-meta {
  font-size: 0.88rem;
  color: var(--sb-muted);
}

.sb-profile-meta-line {
  font-size: 0.88rem;
  color: var(--sb-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.sb-profile-sep {
  color: #b8c2c7; /* Hero grijs light */
  padding: 0 0.25rem;
}

.sb-profile-tile-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.sb-chip {
  font-size: 0.8rem;
  color: var(--sb-muted);
}

.sb-form-label {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--sb-font-display);
  font-weight: 800;
  color: #073889;
  letter-spacing: -0.01em;
}

.sb-crop-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  background: #0f172a;
  border-radius: 10px;
  overflow: hidden;
}

/* Review: maand/jaar- en dag/maand-rolwielen (geen kalender-popup) */

.sb-wheel-pair {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  max-width: 440px;
}

.sb-wheel-column-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(7, 56, 137, 0.16);
  background: linear-gradient(180deg, #f1f5f9 0%, #fff 45%, #f8fafc 100%);
  overflow: hidden;
}

.sb-wheel-scroller {
  position: relative;
  z-index: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.sb-wheel-spacer {
  flex-shrink: 0;
}

.sb-wheel-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  scroll-snap-align: center;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.2;
  color: #64748b;
  cursor: pointer;
  padding: 0 0.4rem;
}

.sb-wheel-item:hover {
  color: #0f172a;
}

.sb-wheel-item--active {
  font-weight: 800;
  color: var(--sb-accent);
}

.sb-wheel-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.sb-wheel-fade--top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), transparent);
}

.sb-wheel-fade--bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: linear-gradient(0deg, rgba(248, 250, 252, 0.98), transparent);
}

.sb-wheel-highlight-band {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 50%;
  height: 40px;
  margin-top: -20px;
  border-radius: 8px;
  border: 1px solid rgba(7, 56, 137, 0.14);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .sb-wheel-scroller {
    scroll-behavior: auto;
  }
}

/* ── Skeleton loading states ────────────────────────────────────── */

@keyframes sb-skeleton-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.sb-skeleton {
  background: linear-gradient(90deg, #e8edf4 25%, #f0f4f9 37%, #e8edf4 63%);
  background-size: 800px 100%;
  animation: sb-skeleton-shimmer 1.6s ease-in-out infinite;
  border-radius: 6px;
}

.sb-skeleton-circle {
  composes: sb-skeleton;
  border-radius: 50%;
}

.sb-skeleton--profile-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.sb-skeleton--profile-hero {
  background: var(--sb-card);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.sb-skeleton--profile-hero-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(90deg, #e8edf4 25%, #f0f4f9 37%, #e8edf4 63%);
  background-size: 800px 100%;
  animation: sb-skeleton-shimmer 1.6s ease-in-out infinite;
}

.sb-skeleton--profile-hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.5rem;
}

.sb-skeleton--card {
  background: var(--sb-card);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.sb-skeleton--card-rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sb-skeleton--directory-wrap {
  padding: 1.5rem 0;
}

.sb-skeleton--toolbar {
  background: var(--sb-card);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sb-skeleton--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.sb-skeleton--tile {
  background: var(--sb-card);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.sb-skeleton--tile-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(90deg, #e8edf4 25%, #f0f4f9 37%, #e8edf4 63%);
  background-size: 800px 100%;
  animation: sb-skeleton-shimmer 1.6s ease-in-out infinite;
}

.sb-skeleton--review-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.sb-skeleton--interview-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sb-skeleton--chat-bubble {
  border-radius: 14px;
  padding: 0;
}

.sb-skeleton--chat-bubble-left {
  align-self: flex-start;
  max-width: 65%;
}

.sb-skeleton--chat-bubble-right {
  align-self: flex-end;
  max-width: 50%;
}

.sb-skeleton--location-group {
  background: var(--sb-card);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.sb-skeleton--location-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .sb-skeleton,
  .sb-skeleton--profile-hero-photo,
  .sb-skeleton--tile-photo {
    animation: none;
  }
}

/* ─── Admin Stats ──────────────────────────────────────────── */

.sb-stats-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.sb-stats-header .sb-title {
  margin-bottom: 0.15rem;
}

.sb-stats-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sb-stats-kpi {
  text-align: center;
  padding: 1.1rem 0.75rem;
}

.sb-stats-kpi-value {
  font-family: var(--sb-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sb-accent);
  line-height: 1.1;
}

.sb-stats-kpi-label {
  font-size: 0.82rem;
  color: var(--sb-muted);
  margin-top: 0.25rem;
}

.sb-stats-mode-card {
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
}

.sb-stats-section-title {
  font-family: var(--sb-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.sb-stats-mode-bars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sb-stats-mode-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  align-items: center;
  gap: 0.75rem;
}

.sb-stats-mode-label {
  font-size: 0.88rem;
  font-weight: 500;
}

.sb-stats-bar-track {
  height: 22px;
  background: #e2e8f0;
  border-radius: 11px;
  overflow: hidden;
}

.sb-stats-bar-fill {
  height: 100%;
  border-radius: 11px;
  transition: width 0.5s ease;
  min-width: 2px;
}

.sb-stats-bar-fill--chat {
  background: var(--sb-accent);
}

.sb-stats-bar-fill--voice {
  background: #10b981;
}

.sb-stats-bar-fill--unknown {
  background: #94a3b8;
}

.sb-stats-mode-count {
  font-size: 0.82rem;
  color: var(--sb-muted);
  text-align: right;
  white-space: nowrap;
}

.sb-stats-mode-donut-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.sb-stats-donut {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.sb-stats-donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.sb-stats-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sb-stats-legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.sb-stats-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sb-stats-legend-dot--chat {
  background: var(--sb-accent);
}

.sb-stats-legend-dot--voice {
  background: #10b981;
}

.sb-stats-table-card {
  padding: 1.25rem 1.5rem;
}

.sb-stats-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.sb-stats-filter-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.sb-stats-filter-btn {
  font-family: var(--sb-font-body);
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: transparent;
  color: var(--sb-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.sb-stats-filter-btn:hover {
  border-color: var(--sb-accent);
  color: var(--sb-accent);
}

.sb-stats-filter-btn--active {
  background: var(--sb-accent);
  border-color: var(--sb-accent);
  color: #fff;
}

.sb-stats-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sb-stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.sb-stats-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sb-muted);
  padding: 0.5rem 0.65rem;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.sb-stats-table td {
  padding: 0.6rem 0.65rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.sb-stats-table tbody tr:hover {
  background: #f8fafc;
}

.sb-stats-profile-link {
  color: var(--sb-accent);
  text-decoration: none;
  font-weight: 500;
}

.sb-stats-profile-link:hover {
  text-decoration: underline;
}

.sb-stats-date {
  color: var(--sb-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.sb-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 10px;
  white-space: nowrap;
}

.sb-stats-badge--published {
  background: #d1fae5;
  color: #065f46;
}

.sb-stats-badge--review {
  background: #fef3c7;
  color: #92400e;
}

.sb-stats-badge--draft {
  background: #e2e8f0;
  color: #475569;
}

.sb-stats-badge--chat {
  background: var(--sb-accent-soft);
  color: var(--sb-accent);
}

.sb-stats-badge--voice {
  background: #d1fae5;
  color: #065f46;
}

.sb-stats-badge--unknown {
  background: #f1f5f9;
  color: #64748b;
}

@media (max-width: 600px) {
  .sb-stats-mode-row {
    grid-template-columns: 70px 1fr 80px;
    gap: 0.5rem;
  }

  .sb-stats-table-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
