/* VCDO designsysteem — Voka-huisstijl, naar Claude Design-prototype.
   Koppen: Fraunces (serif display). Body: Source Sans 3. */
:root {
  --oranje: #ff6a39;
  --oranje-d: #ed5a2b;
  --blauw: #0c56ff;
  --geel: #ffdc78;
  --groen: #3F7E44;
  --zwart: #16171A;
  --donker: #373737;
  --midden: #484344;
  --staal: #808186;
  --cream: #faf6f0;
  --bg: #f4f4f5;
  --rand: #ececee;
  --rand-i: #e3e3e6;
}

* { box-sizing: border-box; }
[x-cloak] { display: none !important; }

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--donker);
  background: var(--bg);
  font-size: 16px;
}
h1, h2, h3, .serif { font-family: "Fraunces", Georgia, serif; font-weight: 600; color: var(--zwart); }
a { color: var(--blauw); text-decoration: none; }
input, textarea, select, button { font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--oranje); outline-offset: -1px; }
::placeholder { color: #a7a7ac; }

@keyframes vcdoPulse { 0%{box-shadow:0 0 0 0 rgba(255,106,57,.45);} 70%{box-shadow:0 0 0 10px rgba(255,106,57,0);} 100%{box-shadow:0 0 0 0 rgba(255,106,57,0);} }
@keyframes vcdoIn { from{opacity:0;transform:translateY(8px);} to{opacity:1;transform:none;} }
@keyframes vcdoDrawer { from{transform:translateX(100%);} to{transform:none;} }
@keyframes vcdoSpin { to{transform:rotate(360deg);} }
@keyframes vcdoFade { from{opacity:1;} to{opacity:0;} }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--oranje); }
.eyebrow.blauw { color: var(--blauw); }
.eyebrow.grijs { color: var(--staal); }
.hint { color: var(--staal); font-size: 14px; }

/* ===== Knoppen ===== */
.btn { display: inline-flex; align-items: center; gap: 9px; background: var(--oranje); color: #fff; border: none;
  border-radius: 10px; padding: 13px 20px; font-size: 15px; font-weight: 700; cursor: pointer; }
.btn:hover { background: var(--oranje-d); text-decoration: none; }
.btn-secondary { background: #fff; color: var(--blauw); border: 1.5px solid var(--blauw); }
.btn-secondary:hover { background: #f5f8ff; }
.btn-dark { background: var(--zwart); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-klein { padding: 10px 16px; font-size: 14px; border-radius: 9px; }
.ai-dot { width: 16px; height: 16px; border-radius: 50%; display: block;
  background: conic-gradient(var(--oranje), var(--geel), var(--blauw), var(--oranje)); }

/* ===== App-shell: donkere sidebar ===== */
.app { display: flex; min-height: 100vh; }
.sidebar { flex: none; width: 244px; background: var(--zwart); color: #fff; display: flex; flex-direction: column;
  padding: 22px 0; position: sticky; top: 0; height: 100vh; }
.sidebar-logo { padding: 0 22px 18px; }
.sidebar-logo img { height: 26px; filter: brightness(0) invert(1); display: block; }
.sidebar-nav { flex: 1; min-height: 0; overflow-y: auto; padding: 0 14px; display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a { display: block; padding: 8px 14px; border-radius: 9px; color: #c9c9cc; font-size: 14px;
  font-weight: 600; }
.sidebar-nav a:hover { background: #23242a; color: #fff; text-decoration: none; }
.sidebar-nav a.actief { background: var(--oranje); color: #fff; }
.sidebar-kop { font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #5a5b60; padding: 14px 14px 5px; }
.sidebar-foot { margin-top: auto; }
.cyclus-mini { padding: 16px 22px; border-top: 1px solid #2a2b2f; }
.cyclus-mini .bar { height: 7px; border-radius: 4px; background: #2a2b2f; overflow: hidden; margin: 10px 0 9px; }
.cyclus-mini .bar > div { height: 100%; background: var(--geel); }
.user-chip { padding: 16px 18px; border-top: 1px solid #2a2b2f; display: flex; align-items: center; gap: 11px; }
.user-chip .avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--oranje);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.user-chip .naam { font-size: 14px; font-weight: 700; color: #fff; }
.user-chip .rol { font-size: 12px; color: var(--staal); }
.afmelden { display: block; margin: 4px 12px 0; padding: 9px 12px; border-radius: 9px; text-align: center;
  font-size: 13px; font-weight: 700; color: #c9c9cc; background: #23242a; }
.afmelden:hover { background: var(--oranje); color: #fff; text-decoration: none; }
.content { flex: 1; min-width: 0; }
.pagina { margin: 0 auto; padding: 26px 28px 60px; }
.pagina-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.pagina-kop h1 { font-size: 34px; margin: 6px 0 0; }

/* ===== Login (split-screen) ===== */
.login { min-height: 100vh; display: flex; }
.login-left { flex: 1; background: var(--zwart); color: #fff; padding: 56px 60px; display: flex;
  flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-left img.logo { height: 34px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); position: relative; }
.login-left h1 { font-size: 46px; line-height: 1.12; margin: 0 0 18px; color: #fff; }
.login-left p { font-size: 19px; line-height: 1.5; color: #c9c9cc; margin: 0; max-width: 420px; }
.sdg-wheel { position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; opacity: .22;
  background: conic-gradient(#E5243B 0 21.18deg,#DDA63A 21.18deg 42.35deg,#4C9F38 42.35deg 63.53deg,#C5192D 63.53deg 84.71deg,#FF3A21 84.71deg 105.88deg,#26BDE2 105.88deg 127.06deg,#FCC30B 127.06deg 148.24deg,#A21942 148.24deg 169.41deg,#FD6925 169.41deg 190.59deg,#DD1367 190.59deg 211.76deg,#FD9D24 211.76deg 232.94deg,#BF8B2E 232.94deg 254.12deg,#3F7E44 254.12deg 275.29deg,#0A97D9 275.29deg 296.47deg,#56C02B 296.47deg 317.65deg,#00689D 317.65deg 338.82deg,#19486A 338.82deg 360deg); }
.login-right { flex: none; width: 520px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 48px; }
.login-form { width: 100%; max-width: 360px; }
.login-form h2 { font-size: 32px; margin: 0 0 6px; }
.login-scheiding { display: flex; align-items: center; gap: 14px; margin: 24px 0; }
.login-scheiding span.lijn { flex: 1; height: 1px; background: var(--rand); }
.login-scheiding span.tekst { font-size: 13px; color: #a7a7ac; }

/* ===== Kaarten ===== */
.card { background: #fff; border: 1px solid var(--rand); border-radius: 16px; padding: 26px 28px; margin-bottom: 18px; }
.card h2 { font-size: 20px; margin: 0 0 18px; }
.card-hero { background: var(--cream); border: none; border-radius: 18px; padding: 40px 44px; animation: vcdoIn .35s ease; }
.card-hero h1 { font-size: 42px; line-height: 1.1; margin: 10px 0; }
.card-hero p { font-size: 19px; line-height: 1.4; color: var(--midden); margin: 0; max-width: 560px; }

/* ===== Velden ===== */
.veld { display: block; margin-bottom: 16px; }
.veld-label, .veld > span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase; color: var(--staal); margin-bottom: 6px; }
.veld input, .veld textarea, .veld select,
input.veldinput, textarea.veldinput, select.veldinput {
  width: 100%; padding: 11px 13px; border: 1px solid var(--rand-i); border-radius: 9px; font-size: 15px; background: #fff; }
.veld textarea { resize: vertical; line-height: 1.4; }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.veld-check { display: flex; align-items: center; gap: 9px; }
.leesveld { margin: 4px 0 12px; padding: 11px 13px; background: var(--bg); border-radius: 9px; color: var(--midden); font-size: 15px; }
.save-status { min-height: 1.2em; font-size: 14px; }
.opgeslagen { color: var(--groen); font-weight: 700; font-size: 14px; animation: vcdoFade 2.5s forwards; }
.autosave-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--staal); }
.autosave-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--groen); }

/* ===== Toggle switch ===== */
.switch-rij { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px; border: 1px solid var(--rand); border-radius: 11px; margin-bottom: 10px; }
.switch-rij.cream { background: var(--cream); border: none; }
.switch-rij .titel { font-size: 15px; font-weight: 600; color: var(--zwart); }
.switch-rij .sub { font-size: 13px; color: var(--staal); }
.switch { position: relative; width: 46px; height: 26px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: #d7d7da; border-radius: 20px; transition: background .2s; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff;
  border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked ~ .track { background: var(--oranje); }
.switch input:checked ~ .knob { transform: translateX(20px); }
.sub-veld { margin-top: 14px; animation: vcdoIn .25s ease; }

/* Roos: kleine score-knoppen + pct-pil + legende */
.rbtn { width: 32px; height: 32px; border: 1px solid var(--rand-i); background: #fff; border-radius: 8px;
  font-size: 13px; font-weight: 700; color: var(--midden); cursor: pointer; }
.rbtn.aan { background: var(--oranje); border-color: var(--oranje); color: #fff; }
.pctpil { border-radius: 20px; padding: 2px 10px; font-size: 13px; font-weight: 700; background: #f4f4f5; }
.roos-rij { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.roos-legende { display: flex; align-items: center; gap: 10px; }
.roos-legende .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }

/* Evaluatiecommissie */
.ec-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--donker); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.btn-intrekken { background: #fff; border: 1px solid #e3c9c9; color: #C5192D; border-radius: 8px;
  padding: 8px 14px; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-intrekken:hover { background: #fdf2f2; }

/* Agenda-kalender */
.kal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.kal-kop { margin-bottom: 6px; }
.kal-kop > div { text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase; color: var(--staal); padding: 4px 0; }
.kal-week { margin-bottom: 6px; }
.kal-cel { min-height: 94px; border: 1px solid var(--rand); border-radius: 10px; padding: 7px 8px;
  background: #fff; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.kal-cel.buiten { background: #fafafa; }
.kal-cel.vandaag { box-shadow: inset 0 0 0 2px var(--oranje); border-color: transparent; }
.kal-dag { font-size: 13px; font-weight: 700; color: var(--midden); }
.kal-cel.buiten .kal-dag { color: #c5c5c9; }
.kal-cel.vandaag .kal-dag { color: var(--oranje); }
.kal-chip { display: block; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 6px;
  color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navpijl { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 1px solid var(--rand-i); border-radius: 9px; color: var(--donker); font-size: 18px; background: #fff; }
.navpijl:hover { background: var(--bg); text-decoration: none; }

/* ===== Interactieve rondleiding ===== */
.tour-help { position: fixed; bottom: 24px; right: 24px; z-index: 80; width: 50px; height: 50px;
  border-radius: 50%; background: var(--zwart); color: #fff; border: none; font-family: "Fraunces", serif;
  font-size: 24px; font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.tour-help:hover { background: #000; }
#vcdo-tour-root { position: fixed; inset: 0; z-index: 9000; pointer-events: none; }
#vcdo-tour-root > * { pointer-events: auto; }
.tour-overlay, .tour-block { position: fixed; inset: 0; }
.tour-overlay { background: rgba(22,23,26,.6); }
.tour-block { background: transparent; }
.tour-modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 460px;
  max-width: calc(100% - 48px); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.3);
  padding: 36px 38px; animation: vcdoIn .3s ease; }
.tour-modal h2 { font-size: 30px; line-height: 1.15; margin: 0 0 12px; }
.tour-modal p { font-size: 17px; line-height: 1.5; color: var(--midden); margin: 0 0 28px; }
.tour-kop { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.tour-kop img { height: 26px; }
.tour-divider { width: 1px; height: 20px; background: var(--rand-i); }
.tour-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--oranje); margin-bottom: 8px; }
.tour-spot { position: fixed; border-radius: 10px; box-shadow: 0 0 0 9999px rgba(22,23,26,.6); transition: all .2s ease; pointer-events: none; }
.tour-tip { position: fixed; width: 320px; max-width: calc(100% - 32px); background: #fff; border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0,0,0,.28); padding: 22px 24px; animation: vcdoIn .25s ease; }
.tour-tip h3 { font-size: 21px; line-height: 1.2; margin: 0 0 8px; }
.tour-tip p { font-size: 15px; line-height: 1.45; color: var(--midden); margin: 0 0 20px; }
.tour-acties { display: flex; align-items: center; gap: 10px; }
.tour-skip { background: none; border: none; font-size: 14px; font-weight: 700; color: var(--staal); cursor: pointer; padding: 0; }
.tour-prev { background: #f4f4f5; border: none; border-radius: 9px; padding: 10px 16px; font-size: 14px; font-weight: 700; color: var(--donker); cursor: pointer; }
.tour-next { background: var(--oranje); color: #fff; border: none; border-radius: 9px; padding: 10px 18px; font-size: 14px; font-weight: 700; cursor: pointer; }
.tour-next:hover { background: var(--oranje-d); }

/* ===== Chips ===== */
.chip { display: inline-flex; align-items: center; border-radius: 20px; padding: 3px 11px; font-size: 12.5px; font-weight: 700; }
.chip-sdg { color: #fff; }
.chip-zorg { border: 1px solid var(--rand-i); background: #fff; color: var(--midden); padding: 9px 16px; border-radius: 22px;
  font-weight: 600; cursor: pointer; user-select: none; }
.chip-zorg.aan { background: var(--zwart); color: #fff; border-color: var(--zwart); }

/* ===== Meter ===== */
.meter-rij { display: flex; align-items: center; gap: 20px; }
.meter-rij .label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.meter-rij .label .pct { color: var(--oranje); }
.meter { height: 9px; border-radius: 6px; background: #f0f0f2; overflow: hidden; }
.meter > div { height: 100%; background: var(--oranje); transition: width .3s; }

/* ===== Cyclus stappenpad ===== */
.stappen { position: relative; }
.stappen .lijn { position: absolute; left: 8.33%; right: 8.33%; top: 21px; height: 3px; background: var(--rand); border-radius: 2px; }
.stappen .lijn-vol { position: absolute; left: 8.33%; top: 21px; height: 3px; background: var(--oranje); border-radius: 2px; }
.stappen .rij { display: flex; position: relative; }
.stap { flex: 1; text-align: center; padding: 0 5px; }
.stap .bol { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; margin: 0 auto 12px; background: #f4f4f5; border: 1px solid #e3e3e6; color: var(--staal); }
.stap.klaar .bol { background: var(--oranje); border: none; color: #fff; }
.stap.bezig .bol { background: #fff; border: 3px solid var(--oranje); color: var(--oranje); animation: vcdoPulse 2s infinite; }
.stap .titel { font-weight: 700; font-size: 12.5px; line-height: 1.25; color: var(--zwart); }
.stap.todo .titel { font-weight: 600; color: var(--staal); }
.stap .sub { font-size: 12px; color: var(--staal); margin-top: 2px; }
.stap.bezig .sub { color: var(--oranje); font-weight: 700; }

/* ===== Volgende-taak-banner ===== */
.taak-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #fff; border: 1px solid #ffe1d6; border-left: 4px solid var(--oranje); border-radius: 16px;
  padding: 22px 26px; margin-bottom: 22px; }
.taak-banner .tekst { font-size: 19px; font-weight: 600; color: var(--zwart); }

/* ===== Snelkaarten ===== */
.snelkaarten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.snelkaart { background: #fff; border: 1px solid var(--rand); border-radius: 16px; padding: 24px; cursor: pointer; display: block; }
.snelkaart:hover { border-color: var(--oranje); box-shadow: 0 6px 20px rgba(0,0,0,.06); text-decoration: none; }
.snelkaart .ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.snelkaart .titel { font-family: "Fraunces", serif; font-weight: 600; font-size: 21px; color: var(--zwart); margin-bottom: 4px; }
.snelkaart .sub { font-size: 15px; color: var(--staal); }

/* ===== Kanban ===== */
.actie-kop { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.quick-add { background: #fff; border: 1px solid var(--rand); border-radius: 14px; padding: 14px 16px;
  margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.quick-add .plus { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #fff1ea; color: var(--oranje);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.quick-add input { flex: 1; border: none; font-size: 16px; padding: 6px 0; background: none; }
.quick-add input:focus { outline: none; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.kolom { background: #eef0f2; border-radius: 14px; padding: 10px 12px 14px; }
.kolom-kop { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; }
.kolom-kop .naam { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: var(--donker); }
.kolom-kop .stip { width: 9px; height: 9px; border-radius: 50%; }
.kolom-kop .tel { font-size: 13px; font-weight: 700; color: var(--staal); background: #fff; border: 1px solid var(--rand); border-radius: 20px; padding: 1px 9px; }
.kolom-lijst { display: flex; flex-direction: column; gap: 10px; min-height: 60px; }
.kaart { display: block; background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 14px;
  cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.04); text-decoration: none; }
.kaart:hover { box-shadow: 0 6px 18px rgba(0,0,0,.09); border-color: #dcdce0; text-decoration: none; }
.kaart .titel { font-size: 15px; font-weight: 600; color: var(--zwart); line-height: 1.3; margin: 9px 0 10px; }
.kaart .voet { display: flex; align-items: center; justify-content: space-between; }
.kaart .meta { font-size: 12px; color: var(--staal); }
.kaart.af .titel { text-decoration: line-through; text-decoration-color: #cfcfd3; }
.kaart.af { opacity: .85; }

/* ===== Slide-over (actie-detail) ===== */
.drawer-overlay { position: fixed; inset: 0; z-index: 50; }
.drawer-overlay .dim { position: absolute; inset: 0; background: rgba(22,23,26,.42); }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 480px; background: #fff;
  box-shadow: -12px 0 40px rgba(0,0,0,.18); overflow-y: auto; animation: vcdoDrawer .28s ease; }
.drawer-kop { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--rand);
  padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.drawer-kop .sluit { background: none; border: none; font-size: 24px; color: var(--staal); cursor: pointer; line-height: 1; }
.drawer-body { padding: 24px 26px 40px; }
.seg { display: flex; gap: 8px; margin-bottom: 22px; }
.seg button { flex: 1; padding: 10px; border: 1px solid var(--rand-i); background: #fff; border-radius: 9px;
  font-size: 14px; font-weight: 700; color: var(--midden); cursor: pointer; }
.seg button.aan { background: var(--oranje); border-color: var(--oranje); color: #fff; }
.feedback-box { border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.feedback-box.coord { background: #f5f8ff; border: 1px solid #dbe6ff; }
.feedback-box.eval { background: var(--cream); border: 1px solid #f0e6d8; }
.feedback-box .kop { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.feedback-box .kop .av { width: 24px; height: 24px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.feedback-box.coord .av { background: var(--blauw); }
.feedback-box.eval .av { background: var(--donker); }
.feedback-box .kop .lbl { font-size: 13px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.feedback-box.coord .lbl { color: var(--blauw); }
.feedback-box p { font-size: 15px; line-height: 1.45; margin: 0; }

/* ===== Coördinator ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--rand); border-radius: 14px; padding: 20px; }
.stat-card .getal { font-family: "Fraunces", serif; font-weight: 600; font-size: 32px; color: var(--zwart); }
.stat-card .lbl { font-size: 13px; color: var(--staal); margin-top: 2px; }
.tabel { background: #fff; border: 1px solid var(--rand); border-radius: 16px; overflow: hidden; }
.tabel .th, .tabel .tr { display: grid; grid-template-columns: 1.8fr 1.2fr 1.4fr 1.1fr; gap: 16px; padding: 14px 22px; align-items: center; }
.tabel .th { background: var(--cream); font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--staal); }
.tabel .tr { border-top: 1px solid #f2f2f4; }
.tabel .tr:hover { background: #fbfbfc; }
.tabel .bnaam { font-size: 15px; font-weight: 700; color: var(--zwart); }
.tabel .bsub { font-size: 13px; color: var(--staal); }
.statuspil { display: inline-block; border-radius: 20px; padding: 3px 11px; font-size: 12.5px; font-weight: 700; }
.statuspil.actie { background: #fff1ea; color: var(--oranje); }
.statuspil.ok { background: #e9f3ec; color: var(--groen); }
.statuspil.wacht { background: #eef0f2; color: var(--staal); }

/* ===== Flash + indicator ===== */
.flash { padding: 0.7rem 1rem; border-radius: 9px; margin-bottom: 1rem; }
.flash-error { background: #ffe3da; color: #a3290a; }
.flash-info { background: #e3edff; color: #0c3aa3; }
.htmx-indicator { opacity: 0; transition: opacity .2s; color: var(--staal); font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; }
.htmx-request .htmx-indicator, .htmx-indicator.htmx-request { opacity: 1; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--rand); border-top-color: var(--oranje);
  border-radius: 50%; display: inline-block; animation: vcdoSpin .7s linear infinite; }

@media (max-width: 860px) {
  .sidebar { display: none; }
  .veld-rij, .grid-2, .kanban, .snelkaarten, .stat-grid { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .login-right { width: 100%; }
  .drawer { width: 100%; }
}
