:root {
  color-scheme: light dark;
  --fg: #1c1b1a; --bg: #f7f5f2; --card: #fff; --muted: #6b6660; --line: #e4dfd8;
  --accent: #c2410c; --accent-fg: #fff; --accent-soft: #fdeee4; --ok: #15803d; --danger: #b91c1c;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #f1eeea; --bg: #141312; --card: #1f1d1b; --muted: #a39d96; --line: #34302c;
    --accent: #fb7a3c; --accent-fg: #1a0d05; --accent-soft: #3a2116; --ok: #4ade80; --danger: #f87171;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--fg); background: var(--bg); }
a { color: var(--accent); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small-text { font-size: 14px; }

.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 20px; text-decoration: none; color: var(--fg); letter-spacing: -.01em; }
.logo .mark { display: inline-block; }
nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 8px; font-weight: 500; }
nav a.active { color: var(--fg); background: var(--bg); }
nav a.btn { color: var(--accent-fg); }

main { padding-top: 24px; padding-bottom: 32px; min-height: 60vh; }
h1 { font-size: clamp(26px, 5vw, 36px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -.02em; }
h2 { font-size: 21px; margin: 28px 0 10px; }
h3 { font-size: 17px; margin: 0 0 4px; }
p { margin: 0 0 12px; }

.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; font: inherit; font-weight: 600; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-fg); cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn.small, button.small { padding: 7px 12px; font-size: 14px; }
.btn.ghost, button.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
button.danger { background: transparent; color: var(--danger); border: 1px solid var(--line); }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.spread { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }

.hero { padding: 8px 0 12px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.steps .card b { display: block; margin-bottom: 2px; }

.camp { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; transition: border-color .15s; }
.camp:hover { border-color: var(--accent); }
.camp .eis { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.camp .meta { font-size: 13px; color: var(--muted); margin-top: auto; }

.chip { display: inline-block; font-size: 13px; padding: 2px 9px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--fg); white-space: nowrap; }
.chip.party { background: var(--accent-soft); border-color: transparent; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

label { display: block; font-weight: 600; margin-bottom: 4px; }
.hint { font-weight: 400; color: var(--muted); font-size: 14px; }
input[type=text], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: inherit;
}
textarea { min-height: 110px; resize: vertical; }
textarea.letter { min-height: 320px; font-family: inherit; }
.field { margin-bottom: 16px; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
@media (max-width: 640px) { .filters { grid-template-columns: 1fr; } }

.lid { display: flex; flex-direction: column; gap: 6px; }
.lid .naam { font-weight: 700; }
.lid .sub { color: var(--muted); font-size: 14px; }
.lid .links { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.lid details summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.lid details ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }

.pick { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-top: 1px solid var(--line); cursor: pointer; font-weight: 400; margin: 0; }
.pick:first-child { border-top: 0; }
.pick input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.picklist { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); max-height: 360px; overflow: auto; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.checks label { font-weight: 500; display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; margin: 0; font-size: 14px; }
.checks label:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); }
.checks input { accent-color: var(--accent); margin: 0; }

.steun { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.steun .num { font-size: 30px; font-weight: 800; line-height: 1; }
.block { white-space: pre-wrap; }
.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 12px 14px; }
.error { color: var(--danger); font-weight: 600; }
.letters .card { display: flex; flex-direction: column; gap: 10px; }
.notice { border-left: 4px solid var(--accent); }

#toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; z-index: 20; max-width: calc(100% - 32px); }
.foot { font-size: 13px; color: var(--muted); padding-bottom: 32px; border-top: 1px solid var(--line); padding-top: 16px; }
.foot a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mt8 { margin-top: 8px; } .mt20 { margin-top: 20px; } .flex1 { flex: 1; }
.filters.two { grid-template-columns: 1fr 1fr; margin: 0; }
@media (max-width: 640px) { .filters.two { grid-template-columns: 1fr; } }
.pickhead { margin: 16px 0 8px; align-items: center; }
.pickhead h3 { margin: 0; }
#lidchips:empty { display: none; }
.field .chips { margin-top: 8px; }
button.pick { width: 100%; text-align: left; justify-content: flex-start; border: 0; border-radius: 0; border-top: 1px solid var(--line); font-weight: 500; }
nav a.btn.active { background: var(--accent); color: var(--accent-fg); }
