/* ─────────────────────────────────────────────
   LEAD TODAY — WEBHOOK ADMIN
   Built on huisstijl-leadtoday tokens
   ───────────────────────────────────────────── */

@font-face {
  font-family: "Isidora Sans";
  src: url("../fonts/IsidoraSans-Medium.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Isidora Sans";
  src: url("../fonts/IsidoraSans-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Isidora Sans";
  src: url("../fonts/IsidoraSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --lt-ink:           #101820;
  --lt-blue:          #0093B2;
  --lt-blue-light:    #4CB3C9;
  --lt-blue-soft:     #80C9D9;
  --lt-blue-bg:       #E0F4F9;
  --lt-blue-dark:     #007A94;
  --lt-orange:        #FC4C02;
  --lt-orange-light:  #FEF0E8;
  --lt-orange-dark:   #D93F00;

  --lt-white:         #FFFFFF;
  --lt-bg:            #F8FAFC;
  --lt-bg-soft:       #F1F5F9;
  --lt-border:        #E2E8F0;
  --lt-border-soft:   #F1F5F9;
  --lt-text:          #000000;
  --lt-text-muted:    #64748B;
  --lt-text-subtle:   #94A3B8;
  --lt-text-faint:    #CBD5E1;

  --lt-success:       #16A34A;
  --lt-success-bg:    #DCFCE7;
  --lt-warning:       #FC4C02;
  --lt-warning-bg:    #FEF0E8;
  --lt-error:         #DC2626;
  --lt-error-bg:      #FEE2E2;

  --font-sans: "Isidora Sans", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, "JetBrains Mono", monospace;

  --r-sm:   8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-pill: 999px;

  --shadow-input: 0 1px 2px rgba(16, 24, 32, 0.04);
  --shadow-sm:    0 1px 2px rgba(16, 24, 32, 0.05);
  --shadow-card:  0 1px 4px rgba(16, 24, 32, 0.05), 0 4px 16px rgba(16, 24, 32, 0.06);
  --shadow-card-hover: 0 4px 16px rgba(16, 24, 32, 0.09), 0 16px 40px rgba(16, 24, 32, 0.08);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 0.12s;
  --t-base: 0.15s;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--lt-text);
  background: var(--lt-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--lt-blue); text-decoration: none; }
a:hover { color: var(--lt-blue-dark); }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* ─── Type ─── */
.lt-display {
  font-size: 2.5rem; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.02em;
  color: var(--lt-ink);
}
.lt-h1 {
  font-size: 2rem; font-weight: 700;
  line-height: 1.3; letter-spacing: -0.01em;
  color: var(--lt-ink); margin: 0;
}
.lt-h2 {
  font-size: 1.5rem; font-weight: 700;
  line-height: 1.3; color: var(--lt-ink); margin: 0;
}
.lt-h3 {
  font-size: 1.125rem; font-weight: 600;
  line-height: 1.3; color: var(--lt-ink); margin: 0;
}
.lt-body { font-size: 0.9375rem; font-weight: 500; line-height: 1.6; }
.lt-small { font-size: 0.875rem; font-weight: 500; color: var(--lt-text-muted); }
.lt-eyebrow {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--lt-text-subtle); margin: 0;
}
.lt-mono { font-family: var(--font-mono); }

.text-muted { color: var(--lt-text-muted); }
.text-subtle { color: var(--lt-text-subtle); }
.text-primary { color: var(--lt-blue); }
.text-accent { color: var(--lt-orange); }

/* ─── Layout ─── */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.main {
  flex: 1;
  padding: 32px 0 64px;
}

/* ─── Sidebar layout ─── */
.app-shell {
  display: flex;
  min-height: 100vh;
}
.app-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: var(--lt-white);
  border-right: 1px solid var(--lt-border-soft);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 16px;
  z-index: 50;
}
.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 20px;
}
/* Mobiele nav (hamburger) — verborgen op desktop */
.sidebar__toggle { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.sidebar__burger { display: none; }
.sidebar__burger-close { display: none; }
.sidebar__logo {
  height: 26px;
  width: auto;
  object-fit: contain;
  object-position: left;
}
.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar__section-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lt-text-subtle);
  padding: 16px 12px 6px;
}
.sidebar__link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  color: var(--lt-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.sidebar__link svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar__link:hover { background: var(--lt-bg); color: var(--lt-text); }
.sidebar__link--active,
.sidebar__link--active:hover {
  background: var(--lt-blue-bg);
  color: var(--lt-blue-dark);
}
.sidebar__spacer { flex: 1; min-height: 16px; }
.sidebar__switcher { padding: 8px 4px; }
.sidebar__switcher-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lt-text-subtle);
  padding: 0 8px 6px;
}
.sidebar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px 4px;
  margin-top: 8px;
  border-top: 1px solid var(--lt-border-soft);
}
.sidebar__user-name {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lt-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--lt-blue-bg);
  color: var(--lt-blue);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── Card ─── */
.card {
  background: var(--lt-white);
  border: 1px solid var(--lt-border-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.card--hover:hover {
  border-color: var(--lt-border);
  box-shadow: var(--shadow-card-hover);
}
.card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px 16px;
}
.card__body {
  padding: 16px 28px 28px;
}
.card__title {
  flex: 1;
}
.card__title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: var(--lt-ink);
}
.card__title p {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: var(--lt-text-muted);
}

/* ─── Icon tile ─── */
.icon-tile {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--lt-blue-bg);
  color: var(--lt-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-tile--orange {
  background: var(--lt-orange-light);
  color: var(--lt-orange);
}
.icon-tile--success {
  background: var(--lt-success-bg);
  color: var(--lt-success);
}
.icon-tile svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* ─── Stats grid ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stat {
  background: var(--lt-white);
  border: 1px solid var(--lt-border-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
}
.stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lt-text-subtle);
}
.stat__value {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--lt-ink);
  margin-top: 8px;
}
.stat__delta {
  font-size: 0.875rem;
  color: var(--lt-text-muted);
  margin-top: 4px;
}

/* ─── Submissions list ─── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-head__title { display: flex; flex-direction: column; gap: 4px; }
.section-head h2 { margin: 0; }
.section-head .lt-eyebrow { margin-bottom: 0; }

.list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--lt-white);
  border: 1px solid var(--lt-border-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.list__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr) 140px 90px;
  gap: 16px;
  padding: 16px 28px;
  align-items: center;
  border-bottom: 1px solid var(--lt-border-soft);
  transition: background-color var(--t-fast) var(--ease-out);
}
.list--inbox .list__row {
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr) 116px 140px 90px;
}
.list__row:last-child { border-bottom: 0; }
.list__row:hover { background: var(--lt-bg); }
.list__row--head {
  background: var(--lt-bg);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lt-text-subtle);
}
.list__row--head:hover { background: var(--lt-bg); }
.list__id { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--lt-text-muted); }
.list__primary { font-weight: 600; color: var(--lt-ink); }
.list__primary small { display: block; font-weight: 500; color: var(--lt-text-muted); font-size: 0.8125rem; margin-top: 2px; }
.list__meta { font-size: 0.875rem; color: var(--lt-text-muted); font-family: var(--font-mono); }
.list__time { font-size: 0.875rem; color: var(--lt-text-muted); }

/* ─── Users list ─── */
.users-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) 110px 130px 200px;
  gap: 16px;
  padding: 14px 28px;
  align-items: center;
  border-bottom: 1px solid var(--lt-border-soft);
  transition: background-color var(--t-fast) var(--ease-out);
}
.users-list__row:last-child { border-bottom: 0; }
.users-list__row:hover { background: var(--lt-bg); }
.users-list__row--head {
  background: var(--lt-bg);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lt-text-subtle);
}
.users-list__row--head:hover { background: var(--lt-bg); }

@media (max-width: 900px) {
  .users-list__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 20px;
  }
  .users-list__row--head { display: none; }
}

/* ─── Empty state ─── */
.empty {
  text-align: center;
  padding: 64px 24px;
}
.empty__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  background: var(--lt-blue-bg);
  color: var(--lt-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.empty__icon svg { width: 28px; height: 28px; stroke-width: 2; }
.empty h3 { margin: 0 0 8px; }
.empty p { margin: 0; color: var(--lt-text-muted); max-width: 420px; margin: 0 auto; }

/* ─── Badge / chip ─── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--lt-blue-bg);
  color: var(--lt-blue);
}
.chip--orange { background: var(--lt-orange-light); color: var(--lt-orange-dark); }
.chip--muted  { background: var(--lt-bg-soft); color: var(--lt-text-muted); }
.chip--success { background: var(--lt-success-bg); color: var(--lt-success); }

/* Score gauges (match score / ICP) */
.scores {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  border-bottom: 1px solid var(--lt-border-soft);
}
.score {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 220px;
  min-width: 0;
}
.score + .score {
  border-left: 1px solid var(--lt-border-soft);
  padding-left: 22px;
}
.score__gauge {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
}
.score__gauge svg { display: block; }
.score__gauge svg circle:last-child {
  transition: stroke-dashoffset 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.score__pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
}
.score__info { min-width: 0; }
.score__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lt-text-subtle);
}
.score__level { font-size: 0.9375rem; font-weight: 700; margin-top: 1px; }
.score__reasons { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.score__reasons .chip { padding: 2px 8px; font-size: 0.6875rem; gap: 3px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}
.btn--primary {
  background: var(--lt-blue);
  color: var(--lt-white);
}
.btn--primary:hover { background: var(--lt-blue-dark); color: var(--lt-white); }
.btn--accent {
  background: var(--lt-orange);
  color: var(--lt-white);
}
.btn--accent:hover { background: var(--lt-orange-dark); color: var(--lt-white); }
.btn--outline {
  background: var(--lt-white);
  border-color: var(--lt-border);
  color: var(--lt-ink);
}
.btn--outline:hover { border-color: var(--lt-blue); color: var(--lt-blue); }
.btn--ghost {
  background: transparent;
  color: var(--lt-text-muted);
  height: 36px;
  padding: 0 12px;
}
.btn--ghost:hover { color: var(--lt-ink); background: var(--lt-bg-soft); }
.btn--sm { height: 32px; padding: 0 12px; font-size: 0.8125rem; }
.btn--block { width: 100%; }

/* ─── Form ─── */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lt-text-subtle);
}
.field__input {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--lt-border);
  border-radius: var(--r-md);
  background: var(--lt-white);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--lt-ink);
  box-shadow: var(--shadow-input);
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.field__input:focus {
  outline: none;
  border-color: var(--lt-blue);
  box-shadow: 0 0 0 3px rgba(0, 147, 178, 0.18);
}

.alert {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
}
.alert--error {
  background: var(--lt-error-bg);
  color: var(--lt-error);
  border-color: rgba(220, 38, 38, 0.18);
}

/* ─── Login (split screen) ─── */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth__brand {
  background: var(--lt-blue);
  color: var(--lt-white);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth__brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  object-position: left;
}
.auth__brand-headline {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 480px;
}
.auth__brand-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin-top: 12px;
  line-height: 1.6;
}
.auth__brand-footer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth__form {
  background: var(--lt-white);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth__form-inner {
  width: 100%;
  max-width: 360px;
}
.auth__form-inner h1 { margin: 0 0 8px; }
.auth__form-inner .lt-eyebrow { margin-bottom: 12px; }
.auth__form-inner p { margin: 0 0 24px; color: var(--lt-text-muted); }

@media (max-width: 768px) {
  .auth { grid-template-columns: 1fr; }
  .auth__brand { padding: 32px 24px; }
  .auth__brand-headline { font-size: 1.75rem; }
  .auth__form { padding: 32px 24px; }
  .stats { grid-template-columns: 1fr; }
  .list__row,
  .list--inbox .list__row { grid-template-columns: 1fr; gap: 8px; padding: 16px 20px; }
  .list__row--head { display: none; }

  .app-shell { flex-direction: column; }
  .sidebar {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    flex-direction: column;
    gap: 4px;
    padding: 10px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--lt-border-soft);
  }

  /* Topbalk: logo links, hamburger rechts */
  .sidebar__head { display: flex; align-items: center; justify-content: space-between; }
  .sidebar__brand { padding: 0; }
  .sidebar__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    margin: -6px -6px -6px 0;
    color: var(--lt-text-muted);
    cursor: pointer;
  }
  .sidebar__burger svg { width: 26px; height: 26px; }

  /* Drawer dicht: alles verborgen behalve de topbalk */
  .sidebar__nav,
  .sidebar__switcher,
  .sidebar__user { display: none; }
  .sidebar__spacer { display: none; }

  /* Drawer open */
  .sidebar__toggle:checked ~ .sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 10px;
  }
  .sidebar__toggle:checked ~ .sidebar__switcher {
    display: block;
    margin-top: 12px;
  }
  .sidebar__toggle:checked ~ .sidebar__user {
    display: flex;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--lt-border-soft);
  }

  /* Hamburger ↔ kruisje wisselen */
  .sidebar__toggle:checked ~ .sidebar__head .sidebar__burger-open { display: none; }
  .sidebar__toggle:checked ~ .sidebar__head .sidebar__burger-close { display: block; }
}

/* ─── Status switcher ─── */
.status-switcher {
  display: inline-flex;
  background: var(--lt-bg-soft);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 2px;
}
.status-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lt-text-muted);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.status-switcher__btn:hover { color: var(--lt-ink); }
.status-switcher__btn--active {
  background: var(--lt-white);
  color: var(--lt-ink);
  box-shadow: var(--shadow-sm);
}
.status-switcher__btn--active.status-nieuw    { color: var(--lt-blue); }
.status-switcher__btn--active.status-bezig    { color: var(--lt-orange-dark); }
.status-switcher__btn--active.status-afgerond { color: var(--lt-success); }

.status-switcher__form { margin: 0; padding: 0; display: inline-flex; }

/* ─── Accordion (details/summary) ─── */
.card details > summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color var(--t-fast) var(--ease-out);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.card details > summary::-webkit-details-marker { display: none; }
.card details > summary::marker { display: none; }
.card details:not([open]) > summary { border-radius: var(--r-xl); }
.card details:not([open]) > summary:hover { background-color: var(--lt-bg); }

.card__chevron {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--lt-text-subtle);
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease-out);
}
.card details[open] > summary .card__chevron {
  transform: rotate(180deg);
  color: var(--lt-blue);
}

/* ─── Detail view ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lt-text-muted);
  margin-bottom: 16px;
}
.back-link:hover { color: var(--lt-blue); }
.back-link svg { width: 16px; height: 16px; stroke-width: 2; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 960px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* CSS-only tabs (radio-gestuurd, geen JS) */
.tabs__radio { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.tabs__nav {
  display: flex;
  gap: 4px;
  padding: 0 20px;
  border-bottom: 1px solid var(--lt-border);
}
.tabs__tab {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lt-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .12s, border-color .12s;
}
.tabs__tab:hover { color: var(--lt-text); }
.tabs__panel { display: none; }
#lt-tab-bedrijf:checked ~ .tabs__nav label[for="lt-tab-bedrijf"],
#lt-tab-kvk:checked     ~ .tabs__nav label[for="lt-tab-kvk"] {
  color: var(--lt-text);
  border-bottom-color: var(--lt-blue);
}
#lt-tab-bedrijf:checked ~ .tabs__panel--bedrijf,
#lt-tab-kvk:checked     ~ .tabs__panel--kvk { display: block; }

/* Account-tabs */
#acct-tab-profiles:checked ~ .tabs__nav label[for="acct-tab-profiles"],
#acct-tab-settings:checked ~ .tabs__nav label[for="acct-tab-settings"],
#acct-tab-dev:checked      ~ .tabs__nav label[for="acct-tab-dev"] {
  color: var(--lt-text);
  border-bottom-color: var(--lt-blue);
}
#acct-tab-profiles:checked ~ .tabs__panel--profiles,
#acct-tab-settings:checked ~ .tabs__panel--settings,
#acct-tab-dev:checked      ~ .tabs__panel--dev { display: block; }

.kv {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px 24px;
  font-size: 0.875rem;
}
.kv dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lt-text-subtle);
  padding-top: 2px;
}
.kv dd {
  margin: 0;
  color: var(--lt-ink);
  word-break: break-word;
}

pre.code {
  margin: 0;
  background: var(--lt-bg);
  border: 1px solid var(--lt-border-soft);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--lt-ink);
  overflow-x: auto;
  max-height: 480px;
}

/* ─── Footer ─── */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--lt-border-soft);
  background: var(--lt-white);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--lt-text-subtle);
}

/* ─── Mobiel: sleutel-waarde-lijsten onder elkaar (na de basis-.kv) ─── */
@media (max-width: 768px) {
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 12px; }
  .kv dt:first-child { margin-top: 0; }
}

/* ─── ICP-profielen (inklapbaar) ─── */
.icp-row {
  background: var(--lt-bg-soft);
  border: 1px solid var(--lt-border-soft);
  border-radius: var(--r-lg, 12px);
  margin-bottom: 12px;
}
.icp-row__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--lt-ink);
}
.icp-row__summary::-webkit-details-marker { display: none; }
.icp-row__summary::marker { display: none; }
.icp-row__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icp-row__chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--lt-text-muted);
  transition: transform var(--t-fast) var(--ease-out);
}
.icp-row[open] .icp-row__chevron { transform: rotate(180deg); }
.icp-row__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 16px;
}
.icp-row__actions { display: flex; gap: 8px; align-items: center; }
.icp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 768px) {
  .icp-grid { grid-template-columns: 1fr; }
}
