:root {
  --bg: #f4f5f2; --card: #ffffff; --text: #1f2320; --muted: #5c645d; --line: #d4d8d1;
  --accent: #6f8014; --accent-text: #ffffff; --notice: #fff6df; --notice-line: #d99a1c; --error: #a4261d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161815; --card: #20231f; --text: #e8ebe5; --muted: #a7afa5; --line: #3a3f37;
    --accent: #b0c829; --accent-text: #161815; --notice: #362c14; --notice-line: #d99a1c; --error: #ff9a90;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 "Segoe UI", system-ui, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
/* Het logo is voor een lichte achtergrond gemaakt */
header img { max-width: 240px; height: auto; background: #fff; border-radius: 8px; padding: 6px 10px; }
nav a { color: var(--muted); text-decoration: none; padding: 4px 10px; border-radius: 6px; border: 1px solid transparent; }
nav a[aria-current="true"] { color: var(--text); border-color: var(--line); background: var(--card); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin-top: 20px; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 1.25rem; margin: 0 0 8px; }
.notice { background: var(--notice); border-left: 4px solid var(--notice-line); padding: 12px 14px; border-radius: 6px; margin-bottom: 0; }
fieldset { border: 0; padding: 0; margin: 16px 0 0; }
legend { padding: 0; font-weight: 600; }
label { display: block; margin-top: 16px; font-weight: 600; }
label.choice { display: inline-flex; align-items: center; gap: 6px; margin: 8px 18px 0 0; font-weight: 400; }
input:not([type="radio"]), textarea {
  display: block; width: 100%; margin-top: 4px; padding: 9px 10px; font: inherit; font-weight: 400;
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
}
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 16px; }
.hint { color: var(--muted); font-size: 0.9rem; margin: 12px 0 0; }
button { margin-top: 18px; padding: 10px 24px; font: inherit; font-weight: 600; border: 0; border-radius: 6px; background: var(--accent); color: var(--accent-text); cursor: pointer; }
button:disabled { opacity: 0.6; cursor: default; }
#status { margin: 14px 0 0; font-weight: 600; }
#status.error { color: var(--error); }
a { color: var(--accent); }
.shop { margin: 14px 0 0; font-weight: 600; }
footer { margin-top: 24px; text-align: center; color: var(--muted); }
a.button { display: inline-block; padding: 12px 28px; border-radius: 6px; background: var(--accent); color: var(--accent-text); font-weight: 600; text-decoration: none; }
a.button[aria-disabled="true"] { opacity: 0.5; cursor: default; }
#download .hint:empty { display: none; }
.trap { position: absolute; left: -10000px; }
