* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, "Segoe UI", Arial, sans-serif; background: #f3f5f9; color: #1d2433; }
header { background: #1f3864; padding: 12px 24px; }
header .logo { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.1rem; }
main { max-width: 1200px; margin: 0 auto; padding: 20px; }
h1 { margin: 0 0 4px; font-size: 1.6rem; color: #1f3864; }
h2 { margin: 0 0 12px; font-size: 1.1rem; }
.kaart { background: #fff; border-radius: 8px; padding: 16px 20px; margin-bottom: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.knoppen { display: flex; gap: 8px; }
.stil { color: #6b7280; margin: 0; }
.vol { color: #b91c1c; margin-left: 6px; }

.rij { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.rij label { display: flex; flex-direction: column; font-size: .85rem; color: #4b5563; gap: 4px; }
.rij label.breed { flex: 1 1 260px; }
.rij label.check { flex-direction: row; align-items: center; gap: 6px; padding-bottom: 8px; }
input, select { font: inherit; padding: 7px 9px; border: 1px solid #cbd2dc; border-radius: 5px; min-width: 150px; }
input[type=number] { min-width: 90px; width: 110px; }
input[type=checkbox] { min-width: 0; }
button, .knop { font: inherit; background: #2f5597; color: #fff; border: 0; border-radius: 5px; padding: 8px 16px; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .knop:hover { background: #1f3864; }
.knop { background: #e5e9f2; color: #1d2433; }
.knop:hover { background: #d3dae8; }
button.gevaar { background: #b91c1c; }
button.link { background: none; color: #2f5597; padding: 0; }
button.link.gevaar { color: #b91c1c; }
button.link:hover { text-decoration: underline; background: none; }

.tabel { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabel th { text-align: left; background: #b4c6e7; padding: 7px 8px; font-weight: 600; }
.tabel td { padding: 6px 8px; border-bottom: 1px solid #e5e7eb; }
.tabel tr.klik { cursor: pointer; }
.tabel tr.klik:hover, .tabel tbody tr:hover { background: #f5f8ff; }
.acties { white-space: nowrap; display: flex; gap: 10px; }
.acties form { margin: 0; }
.tabel a { color: #2f5597; }

.flash { padding: 10px 14px; border-radius: 6px; margin-bottom: 10px; }
.flash.ok { background: #dcfce7; color: #14532d; }
.flash.waarschuwing { background: #fef3c7; color: #78350f; }
.flash.fout { background: #fee2e2; color: #7f1d1d; }
.scroll { max-height: 380px; overflow-y: auto; border: 1px solid #e5e7eb; border-radius: 6px; }
.scroll thead th { position: sticky; top: 0; }
header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
header nav { display: flex; gap: 16px; align-items: center; color: #c9d6ef; font-size: .9rem; }
header nav a, button.link.licht { color: #fff; text-decoration: none; font-size: .9rem; }
header nav form { margin: 0; }
.kaart.smal { max-width: 420px; margin: 40px auto; }
.kolom { display: flex; flex-direction: column; gap: 12px; }
.kolom label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: #4b5563; }
.tafelbalk { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.tafelbalk form { margin-left: auto; }
.stat { font-size: .9rem; color: #4b5563; }
.stat .getal { display: block; font-size: 1.6rem; font-weight: 700; color: #1f3864; }
.stat .getal small { font-size: 1rem; font-weight: 400; color: #6b7280; }
.stat .label { display: block; font-weight: 600; color: #1d2433; margin-bottom: 2px; }
.stat.breed { flex: 1 1 240px; }
dialog#janee { border: 0; border-radius: 10px; padding: 22px 26px; max-width: 440px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
dialog#janee::backdrop { background: rgba(15,23,42,.45); }
dialog#janee p { margin: 0 0 18px; font-size: 1.05rem; line-height: 1.5; }
dialog#janee .totaal { display: block; margin-top: 10px; font-size: 1.25rem; font-weight: 700; color: #1f3864; }
dialog#janee .totaal small { font-weight: 400; font-size: .85rem; color: #6b7280; }
.dialoogknoppen { display: flex; justify-content: flex-end; gap: 10px; }
.dialoogknoppen button { min-width: 80px; }
.tabel tr.is-betaald td { background: #f0fdf4; }
.betaald-cel { white-space: nowrap; }
.betaald-cel input { width: 18px; height: 18px; vertical-align: middle; cursor: pointer; }
.klein { font-size: .75rem; }
.bedrag { white-space: nowrap; }
.getal.groen { color: #15803d; } .getal.rood { color: #b91c1c; }
.betaalvak { font-weight: 600; color: #15803d !important; }
.kaart { overflow-x: auto; }
.tabel tr.is-vrijwilliger td { background: #f5f3ff; }
.vink-cel { white-space: nowrap; text-align: center; }
.vink-cel form { margin: 0; display: inline; }
.vink-cel input[type=checkbox] { width: 18px; height: 18px; vertical-align: middle; cursor: pointer; }
.label-vrijw { display: inline-block; font-size: .75rem; background: #ede9fe; color: #5b21b6; padding: 1px 7px; border-radius: 10px; }
.getal.paars { color: #6d28d9; }
.vrijwvak { font-weight: 600; color: #6d28d9 !important; }
.betaalvak:has(input:disabled) { opacity: .45; }
.persoonkaart { border-left: 4px solid #2f5597; }
.persoonkaart.uit { opacity: .45; border-left-color: #cbd2dc; }
.persoonkop { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.persoonkop .mee { font-weight: 600; color: #1d2433; }
.persoonkop .melding { background: #fef3c7; color: #78350f; padding: 2px 8px; border-radius: 4px; font-size: .85rem; }
.actiebalk { position: sticky; bottom: 0; background: #f3f5f9; padding: 12px 0; display: flex; justify-content: flex-end; gap: 10px; }
