/* Lancelot PS — huisstijl van de Camelot-familie (Caleb stijl: navy sidebar,
   witte kaarten radius 16, Playfair Display + Montserrat) met het GOUD van het
   wapen van Lancelot als enige accent, in plaats van het koraal van de club. */
:root {
  --c-ink: #0d1929;
  --c-sidebar: #0a1929;
  --c-goud: #b8913a;
  --c-goud-hover: #9c7a2e;
  --c-goud-licht: #e7cf8a;
  --c-goud-zacht: #f6efdd;
  --c-body: #f6f5f3;
  --c-link: #1f5f9e;
  --fg-muted: #7d8186;
  --ok: #2f6b4d; --ok-bg: #eef6f0; --ok-line: #cfe6d8;
  --warn: #8a6a12; --warn-bg: #f6efdd; --warn-line: #e7d9b8;
  --bad: #a83a2c; --bad-bg: #fbe9e5; --bad-line: #efc4bb;
  --border-subtle: rgba(13, 23, 41, 0.06);
  --border-default: rgba(13, 23, 41, 0.12);
  --radius-md: 16px;
  --shadow-card: 0 1px 3px rgba(13, 23, 41, 0.05), 0 8px 24px rgba(13, 23, 41, 0.04);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --sidebar-w: 256px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); color: var(--c-ink); background: var(--c-body);
  background-image: radial-gradient(ellipse at 12% -8%, rgba(184, 145, 58, 0.08), transparent 52%), radial-gradient(ellipse at 96% 108%, rgba(10, 25, 41, 0.06), transparent 55%);
  background-attachment: fixed; font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 9px; height: 9px; } ::-webkit-scrollbar-thumb { background: rgba(13,23,41,.16); border-radius: 99px; } ::-webkit-scrollbar-track { background: transparent; }
.hidden, [hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--c-ink); }
b, strong { font-weight: 600; }

/* ══ Login ═════════════════════════════════════════ */
.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0e2438 0%, #0a1929 55%, #071220 100%); }
.login-wapen { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); height: 118vh; opacity: .14; pointer-events: none; mix-blend-mode: screen; filter: grayscale(.2) sepia(.6) saturate(1.8) brightness(1.15); }
.login-wapen img { height: 100%; width: auto; }
.login-card { position: relative; z-index: 1; background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-md);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); padding: 44px 44px 30px; width: 100%; max-width: 440px; text-align: center; }
.login-crest { width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(184,145,58,.45), 0 8px 24px rgba(10,25,41,.18); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.login-crest img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.login-overline { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--c-goud); }
.login-title { font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1.1; margin-top: 4px; }
.login-title span { color: var(--c-goud); }
.login-sub { color: var(--fg-muted); margin: 8px 0 26px; font-size: 13px; }
.login-card input, .login-card select { width: 100%; padding: 12px 14px; border: 1px solid var(--border-default); border-radius: 10px; margin-bottom: 12px; outline: none; background: #fff; }
.login-card input:focus, .login-card select:focus { border-color: var(--c-goud); box-shadow: 0 0 0 3px rgba(184,145,58,.18); }
.login-error { color: var(--bad); margin-top: 10px; font-size: 13px; }
.login-switch { margin-top: 14px; font-size: 13px; } .login-switch a { color: var(--c-goud-hover); font-weight: 500; } .login-switch a:hover { text-decoration: underline; }
.login-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-muted); text-align: left; margin: -2px 0 12px; } .login-check input { width: auto; margin: 0; }
.login-foot { margin-top: 22px; font-size: 11.5px; color: var(--fg-muted); line-height: 1.5; }
.twofa-input { text-align: center; font-size: 28px; letter-spacing: 10px; font-family: var(--font-display); }

/* ══ Knoppen ══════════════════════════════════════ */
.btn-goud { background: var(--c-goud); color: #fff; border: none; border-radius: 10px; padding: 11px 18px; font-weight: 600; box-shadow: 0 2px 8px rgba(184,145,58,.35); transition: background .15s, transform .12s, box-shadow .15s; }
.btn-goud:hover { background: var(--c-goud-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(184,145,58,.45); }
.btn-goud:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-vol { width: 100%; }
.btn-navy { background: var(--c-sidebar); color: #fff; border: none; border-radius: 10px; padding: 10px 16px; font-weight: 600; }
.btn-navy:hover { background: #17334d; }
.btn-ghost { background: none; border: 1px solid var(--border-default); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: 13px; color: var(--c-ink); display: inline-flex; align-items: center; gap: 6px; transition: border-color .14s, color .14s, background .14s; }
.btn-ghost:hover { border-color: var(--c-goud); color: var(--c-goud-hover); background: rgba(184,145,58,.06); }
.btn-ghost:disabled { opacity: .45; cursor: not-allowed; }
.btn-klein { padding: 5px 11px; font-size: 12px; }
.btn-danger { background: none; border: 1px solid var(--bad-line); color: var(--bad); border-radius: 999px; padding: 6px 14px; font-size: 12.5px; }
.btn-danger:hover { background: var(--bad-bg); }
.btn-link { background: none; border: none; color: var(--c-goud-hover); font-weight: 500; padding: 0; font-size: 13px; } .btn-link:hover { text-decoration: underline; }

/* ══ App-shell ═════════════════════════════════════ */
.app { display: flex; min-height: 100vh; }
.app::before { content: ''; position: fixed; top: 0; left: 0; right: 0; height: 8px; background: var(--c-body); z-index: 25; pointer-events: none; }
.sidebar { width: var(--sidebar-w); min-width: var(--sidebar-w); background: linear-gradient(180deg, #0e2438 0%, #0a1929 42%, #071220 100%); color: rgba(255,255,255,.72);
  display: flex; flex-direction: column; position: sticky; top: 8px; height: calc(100vh - 16px); margin: 8px; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(8,20,34,.3); }
.sb-brand { display: flex; align-items: center; gap: 12px; padding: 22px 20px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sb-crest { width: 46px; height: 46px; min-width: 46px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(226,196,141,.4), 0 2px 6px rgba(0,0,0,.25); overflow: hidden; }
.sb-crest img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.sb-brand-name { font-family: var(--font-display); color: #fff; font-size: 23px; font-weight: 700; line-height: 1; }
.sb-brand-word { font-family: var(--font-display); color: #e6ddcf; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; }
.sb-brand-tag { display: inline-block; margin-top: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-goud-licht); background: rgba(226,196,141,.13); border: 1px solid rgba(226,196,141,.3); border-radius: 999px; padding: 2px 9px; }
.sb-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.sb-section { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); padding: 16px 20px 6px; }
.sb-item { display: flex; align-items: center; gap: 11px; padding: 9px 20px; border-left: 3px solid transparent; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.sb-item:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.95); }
.sb-item.active { color: #fff; font-weight: 600; border-left-color: var(--c-goud-licht); background: linear-gradient(90deg, rgba(184,145,58,.32), rgba(184,145,58,.08) 80%); }
.sb-item.active .sb-ico { color: var(--c-goud-licht); }
.sb-ico, .search-ico { display: inline-flex; width: 17px; height: 17px; } .sb-ico svg, .search-ico svg { width: 100%; height: 100%; }
.sb-ext { margin-left: auto; color: rgba(255,255,255,.35); font-size: 12px; }
.sb-badge { margin-left: auto; min-width: 20px; height: 19px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--c-goud); color: #fff; font-size: 11.5px; font-weight: 700; }
.sb-footer { padding: 16px 20px 20px; border-top: 1px solid rgba(255,255,255,.08); }
.sb-addr { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.sb-logout { background: none; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7); border-radius: 999px; padding: 6px 16px; font-size: 12.5px; } .sb-logout:hover { color: #fff; border-color: rgba(255,255,255,.45); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topband { position: relative; height: 150px; overflow: hidden; border-radius: 18px; margin: 8px 8px 4px; box-shadow: 0 8px 22px rgba(8,20,34,.16);
  background: radial-gradient(120% 160% at 10% 0%, #17334d 0%, #0a1929 60%, #071220 100%); color: #eaf1f8; }
.topband::after { content: ''; position: absolute; inset: 0; background: url('/img/wapen-1400.jpg') right 6% center / auto 150% no-repeat; opacity: .13; mix-blend-mode: screen; filter: sepia(.7) saturate(1.6) brightness(1.2); }
.topband-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; height: 100%; padding: 0 32px; }
.topband-inner img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; transform: scale(1); background: #fff; box-shadow: 0 0 0 2px rgba(231,207,138,.5), 0 8px 24px rgba(0,0,0,.35); }
.topband-kop { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; }
.topband-sub { font-family: Georgia, serif; font-style: italic; color: #d9b96a; font-size: 14.5px; margin-top: 3px; }
.topbar { position: sticky; top: 8px; z-index: 20; margin: 4px 8px 12px; padding: 11px 22px; border: 1px solid var(--border-subtle); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(8,20,34,.08); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-search { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 520px; background: #fff; border: 1px solid var(--border-default); border-radius: 999px; padding: 8px 16px; color: var(--fg-muted); }
.topbar-search:focus-within { border-color: var(--c-goud); box-shadow: 0 0 0 3px rgba(184,145,58,.18); }
.topbar-search input { flex: 1; border: none; outline: none; background: none; }
.topbar-right { display: flex; gap: 10px; align-items: center; }
.content { padding: 24px 32px 48px; max-width: 1280px; width: 100%; margin: 0 auto; }

/* ══ Pagina-koppen, kaarten, tabellen ══════════════ */
.page-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.overline { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-goud); }
.h1 { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin: 2px 0 0; line-height: 1.15; }
.h1::after { content: ''; display: block; width: 36px; height: 3px; background: var(--c-goud); border-radius: 2px; margin-top: 8px; }
.h1 span { color: var(--c-goud); }
.page-sub { color: var(--fg-muted); font-size: 13.5px; margin-top: 6px; max-width: 720px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.card { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 22px; }
.card + .card { margin-top: 16px; }
.card-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.card-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-hint { color: var(--fg-muted); font-size: 12.5px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-card); transition: transform .14s, box-shadow .14s, border-color .14s; display: block; }
.stat:hover { transform: translateY(-2px); border-color: rgba(184,145,58,.5); box-shadow: 0 6px 14px rgba(13,23,41,.07), 0 20px 40px rgba(13,23,41,.08); }
.stat-n { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; }
.stat-l { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); margin-top: 6px; }
.stat-s { font-size: 12px; color: var(--fg-muted); margin-top: 4px; }
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.tbl thead th { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); border-bottom: 2px solid var(--border-default); }
.tbl tbody tr:hover { background: rgba(184,145,58,.04); }
.tbl tbody tr.klik { cursor: pointer; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: #4a5666; font-weight: 600; }
.muted { color: var(--fg-muted); }
.klein { font-size: 12.5px; }
.chip { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; background: rgba(13,23,41,.07); color: #4a5666; white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-line); }
.chip.warn { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-line); }
.chip.bad { background: var(--bad-bg); color: var(--bad); border: 1px solid var(--bad-line); }
.chip.goud { background: var(--c-goud-zacht); color: var(--warn); border: 1px solid var(--warn-line); }
.chip.navy { background: var(--c-sidebar); color: #fff; }
.note { border-radius: 10px; padding: 11px 14px; font-size: 13.5px; margin: 12px 0; border: 1px solid; }
.note.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.note.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.note.bad { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.note.info { background: #eef3f8; color: #17334d; border-color: #dbe4ee; }
.empty { text-align: center; color: var(--fg-muted); padding: 34px 20px; }
.empty .empty-title { font-family: var(--font-display); font-size: 18px; color: var(--c-ink); margin-bottom: 6px; }
.rij { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tussen { justify-content: space-between; }
.stapel > * + * { margin-top: 10px; }
.sep { height: 1px; background: var(--border-subtle); margin: 16px 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-chip { border: 1px solid var(--border-default); background: #fff; border-radius: 999px; padding: 5px 13px; font-size: 12.5px; font-weight: 500; color: #4a5666; }
.filter-chip.act { background: var(--c-sidebar); color: #fff; border-color: var(--c-sidebar); }
.filter-chip:hover:not(.act) { border-color: var(--c-goud); color: var(--c-goud-hover); }

/* ══ Formulieren ══════════════════════════════════ */
.form { display: grid; gap: 12px; }
.form label, .veld label { font-size: 12px; font-weight: 600; color: var(--fg-muted); display: block; margin-bottom: 4px; letter-spacing: .02em; }
.form input, .form select, .form textarea, .veld input, .veld select, .veld textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border-default); border-radius: 10px; outline: none; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus, .veld input:focus, .veld select:focus, .veld textarea:focus { border-color: var(--c-goud); box-shadow: 0 0 0 3px rgba(184,145,58,.18); }
.form textarea, .veld textarea { min-height: 90px; resize: vertical; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-acties { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; } .check input { width: auto; }
.hulp { font-size: 12px; color: var(--fg-muted); margin-top: 4px; }
.dropzone { border: 2px dashed var(--border-default); border-radius: 12px; padding: 22px; text-align: center; color: var(--fg-muted); cursor: pointer; transition: border-color .12s, background .12s; }
.dropzone.over { border-color: var(--c-goud); background: rgba(184,145,58,.06); }
.dropzone input { display: none; }

/* ══ Modal ════════════════════════════════════════ */
.modal-bg { position: fixed; inset: 0; background: rgba(10,25,41,.55); backdrop-filter: blur(3px); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal { background: #fff; border-radius: var(--radius-md); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); width: 100%; max-width: 680px; padding: 26px 28px; }
.modal.breed { max-width: 900px; }
.modal-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.modal-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.modal-sluit { background: none; border: none; font-size: 22px; color: var(--fg-muted); line-height: 1; }
.modal-sluit:hover { color: var(--c-ink); }

/* ══ Checklist / oprichting ═══════════════════════ */
.fase { margin-top: 18px; }
.fase-kop { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.fase-kop .overline { color: var(--fg-muted); }
.stap { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: start; padding: 13px 14px; border: 1px solid var(--border-subtle); border-radius: 12px; background: #fff; margin-top: 8px; transition: box-shadow .15s; }
.stap:hover { box-shadow: 0 4px 14px rgba(13,23,41,.05); }
.stap-nr { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px; background: rgba(13,23,41,.07); color: #4a5666; }
.stap.klaar .stap-nr { background: var(--ok); color: #fff; } .stap.bezig .stap-nr { background: var(--c-goud); color: #fff; } .stap.nvt .stap-nr { background: #e6e3dc; color: #8a8a8a; }
.stap.klaar .stap-t { color: var(--fg-muted); text-decoration: line-through; }
.stap-t { font-weight: 600; font-size: 14px; }
.stap-x { font-size: 12.5px; color: var(--fg-muted); margin-top: 4px; line-height: 1.5; }
.stap-m { font-size: 11.5px; color: var(--fg-muted); margin-top: 6px; }
.voortgang { height: 8px; background: rgba(13,23,41,.07); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.voortgang > div { height: 100%; background: linear-gradient(90deg, var(--c-goud), var(--c-goud-licht)); border-radius: 99px; }
.beslispunt { border: 1.5px solid var(--warn-line); background: #fffaf0; border-radius: 12px; padding: 14px 16px; margin-top: 10px; }
.beslispunt.beslist { border-color: var(--ok-line); background: var(--ok-bg); }
.beslispunt b { font-size: 14px; }
.beslispunt .opties { margin: 8px 0 0 18px; font-size: 13px; }

/* ══ Taken ════════════════════════════════════════ */
.taak { border: 1px solid var(--border-subtle); border-left: 3px solid #c4ccd4; border-radius: 12px; background: #fff; padding: 12px 15px; margin-top: 10px; display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }
.taak.p1 { border-left-color: var(--bad); } .taak.p2 { border-left-color: var(--c-goud); }
.taak.afgerond .taak-t, .taak.vervallen .taak-t { text-decoration: line-through; color: var(--fg-muted); }
.taak-t { font-weight: 600; font-size: 14px; }
.taak-m { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; font-size: 12px; color: var(--fg-muted); }
.taak-acties { display: flex; gap: 6px; flex: none; flex-wrap: wrap; justify-content: flex-end; }

/* ══ Documenten ═══════════════════════════════════ */
.doc-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #fff; background: #4a5666; flex: none; }
.doc-ico.pdf { background: #b3372a; } .doc-ico.doc { background: #2b5797; } .doc-ico.img { background: #2f6b4d; } .doc-ico.pages { background: #d9822b; } .doc-ico.txt { background: #6b7280; }
.doc-rij { display: flex; gap: 12px; align-items: center; }
.doc-t { font-weight: 600; } .doc-s { font-size: 12px; color: var(--fg-muted); }
.bijlage { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border-subtle); border-radius: 9px; background: #faf9f6; margin-top: 6px; }
.bijlage .naam { flex: 1; font-size: 13px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-tekst { white-space: pre-wrap; font-size: 13px; line-height: 1.6; background: #faf9f6; border: 1px solid var(--border-subtle); border-radius: 10px; padding: 14px 16px; max-height: 420px; overflow: auto; }

/* ══ Vergadering / besluit ════════════════════════ */
.besluit { border: 1px solid var(--border-subtle); border-radius: 12px; padding: 14px 16px; background: #fff; margin-top: 10px; }
.besluit.genomen, .besluit.uitgevoerd { border-left: 3px solid var(--ok); } .besluit.geveto { border-left: 3px solid var(--bad); } .besluit.ontwerp { border-left: 3px solid var(--c-goud); }
.stem { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.stem > div { text-align: center; background: #faf9f6; border-radius: 10px; padding: 8px; }
.stem b { display: block; font-family: var(--font-display); font-size: 22px; }
.stem span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-muted); }
.aanwezig-rij { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border-subtle); }
.aanwezig-rij:last-child { border-bottom: none; }
.aanwezig-rij select { width: auto; padding: 5px 8px; font-size: 12.5px; }

/* ══ Update-balk ══════════════════════════════════ */
#app-update-bar { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 200; background: var(--c-sidebar); color: #fff; border-radius: 999px; padding: 10px 18px; display: flex; gap: 14px; align-items: center; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
#app-update-bar button { background: var(--c-goud); border: none; color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.toast { position: fixed; bottom: 18px; right: 18px; z-index: 210; background: #fff; border: 1px solid var(--border-subtle); border-left: 4px solid var(--c-goud); border-radius: 12px; padding: 12px 16px; box-shadow: 0 12px 30px rgba(13,23,41,.18); font-size: 13.5px; max-width: 380px; }
.toast.bad { border-left-color: var(--bad); }

/* ══ Responsive ═══════════════════════════════════ */
@media (max-width: 860px) {
  .app { flex-direction: column; }
  .sidebar { width: auto; min-width: 0; height: auto; position: static; margin: 8px; }
  .sb-nav { display: flex; flex-wrap: wrap; padding: 8px; }
  .sb-section { display: none; }
  .sb-item { border-left: none; border-radius: 999px; padding: 7px 13px; font-size: 13px; }
  .sb-item.active { background: rgba(255,255,255,.12); }
  .sb-footer { display: flex; align-items: center; justify-content: space-between; }
  .content { padding: 16px 14px 40px; }
  .topband { height: 110px; } .topband-inner { padding: 0 18px; } .topband-inner img { width: 60px; height: 60px; } .topband-kop { font-size: 22px; } .topband-sub { font-size: 12.5px; }
  .topbar { padding: 9px 14px; }
  .form-2, .form-3 { grid-template-columns: 1fr; }
  .stem { grid-template-columns: repeat(2, 1fr); }
  .modal { padding: 20px 18px; }
  .stap { grid-template-columns: 30px 1fr; } .stap > :last-child { grid-column: 2; }
}
@media print { .sidebar, .topbar, .topband { display: none !important; } .content { padding: 0; } }

/* Aanvraagdossier van een project (ingediend via de website) */
.dossier { background: var(--bg-2, #f6f5f3); border: 1px solid var(--lijn, #e6e2da); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.dossier-kop { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; margin-bottom: 10px; }
.dossier-kern { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 16px; margin-bottom: 8px; font-size: 13px; }
.dossier-kern .dossier-l { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-muted); }
.dossier-groep { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--lijn, #e6e2da); }
.dossier-groep h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--goud-d, #6e5424); }
.dossier-rij { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 5px 0; font-size: 13.5px; }
.dossier-rij .dossier-l { color: var(--fg-muted); }
.dossier-rij .dossier-v { white-space: pre-wrap; }
@media (max-width: 760px) { .dossier-rij { grid-template-columns: 1fr; gap: 2px; } }
