:root { color-scheme: light dark; --bg:#f6f7f9; --card:#fff; --text:#111827; --muted:#566174; --border:#d8dde5; --accent:#1e40af; --soft:#e3eafb; }
@media (prefers-color-scheme:dark) { :root { --bg:#0f1115; --card:#181b21; --text:#f3f4f6; --muted:#b0bac8; --border:#3a4250; --accent:#a5bfff; --soft:#1a2240; } }
* { box-sizing:border-box; }
body { margin:0; padding:32px 16px; background:var(--bg); color:var(--text); font-family:system-ui,-apple-system,"Segoe UI",sans-serif; line-height:1.5; }
main { max-width:560px; margin:auto; }
main.beheer { max-width:880px; }
a { color:var(--accent); text-underline-offset:3px; }
h1 { font-size:30px; line-height:1.2; margin:24px 0 12px; }
h2 { font-size:20px; margin:0 0 12px; }
p { margin:0 0 20px; }
.muted, small { color:var(--muted); }
.card { border:1px solid var(--border); border-radius:18px; background:var(--card); padding:24px; margin:20px 0; }
label { display:block; font-weight:600; margin-bottom:18px; }
label small { font-weight:400; }
input, textarea, select, button { font:inherit; }
input, textarea, select { display:block; width:100%; padding:11px 12px; margin-top:6px; border:1px solid var(--border); border-radius:9px; color:var(--text); background:var(--bg); }
textarea { min-height:170px; resize:vertical; }
button, .button { display:inline-block; cursor:pointer; border:1px solid var(--border); border-radius:10px; padding:10px 16px; background:var(--soft); color:var(--accent); font-weight:600; text-decoration:none; }
button.primary { background:var(--accent); color:var(--bg); border-color:var(--accent); }
button:disabled { opacity:.6; cursor:wait; }
:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.actions, .filters { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.filters label { flex:1; min-width:150px; }
.message { white-space:pre-wrap; overflow-wrap:anywhere; }
.error { color:light-dark(#a32121,#ffb4ab); }
.notice { margin:16px 0; }
.danger { color:light-dark(#a32121,#ffb4ab); background:transparent; }
.meta { font-size:14px; color:var(--muted); }
.top { display:flex; justify-content:space-between; gap:12px; align-items:center; }
[hidden] { display:none !important; }
@media(max-width:480px) { .card { padding:18px; } }
