* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, sans-serif; background: #f5f5f4; color: #1c1917; }
main { max-width: 720px; margin: 0 auto; padding: 16px; }
main.breed { max-width: 1200px; }
h1 { font-size: 1.4rem; margin: 8px 0 16px; }
h2 { font-size: 1.15rem; margin: 0 0 8px; }
.kaart { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 1px 3px #0001; margin-bottom: 16px; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
input, textarea, button { font: inherit; }
input, textarea { width: 100%; padding: 10px; border: 1px solid #d6d3d1; border-radius: 8px; background: #fff; }
textarea { min-height: 70px; }
button { padding: 10px 16px; border: 1px solid #d6d3d1; border-radius: 8px; background: #fff; cursor: pointer; }
button.primair { background: #2563eb; border-color: #2563eb; color: #fff; }
button:disabled { opacity: .4; cursor: default; }
.opties { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.opties button.gekozen { background: #2563eb; border-color: #2563eb; color: #fff; }
.rij { display: flex; gap: 8px; justify-content: space-between; margin-top: 16px; }
.uitleg { font-size: .9rem; color: #44403c; max-height: 50vh; overflow: auto; background: #fafaf9; border-radius: 8px; padding: 12px; margin-top: 8px; }
.klein { font-size: .85rem; color: #78716c; }
.balk { height: 6px; background: #e7e5e4; border-radius: 3px; overflow: hidden; margin-bottom: 12px; }
.balk div { height: 100%; background: #2563eb; }
.tabel { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: .9rem; }
th, td { padding: 8px; border-bottom: 1px solid #e7e5e4; text-align: right; vertical-align: top; }
th:first-child, td:first-child { text-align: left; min-width: 260px; }
td.opm { text-align: left; font-size: .8rem; color: #78716c; }
.fout { color: #b91c1c; }
a { color: #2563eb; }
.opties.twee { grid-template-columns: 1fr 1fr; }
.opties button { padding: 14px 0; font-size: 1.1rem; }
th.groep { text-align: center; background: #fafaf9; }
td.gem, th.gem { font-weight: 600; background: #fafaf9; }
.uitleg > :first-child { margin-top: 0; }
.uitleg > :last-child { margin-bottom: 0; }
.uitleg p { margin: 8px 0 4px; }
.uitleg ul, .uitleg ol { margin: 4px 0; padding-left: 20px; }
.uitleg li { margin: 2px 0; }
details summary { cursor: pointer; margin-top: 8px; }
.uitleg li p { margin: 0; }
button.weg { padding: 0 6px; margin-right: 8px; border: none; background: none; color: #a8a29e; }
button.weg:hover { color: #b91c1c; }
td.opm { white-space: pre-wrap; padding-left: 36px; }
tr.afwijkend td { background: repeating-linear-gradient(135deg, #fef3c7 0 6px, #fde68a 6px 12px); }
.legenda { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; background: repeating-linear-gradient(135deg, #fef3c7 0 3px, #fde68a 3px 6px); border-radius: 3px; }
label.vink { display: flex; align-items: center; gap: 8px; font-weight: 400; }
label.vink input { width: auto; margin: 0; }
span.onduidelijk { margin-left: 8px; padding: 1px 6px; border-radius: 4px; background: #fee2e2; color: #b91c1c; font-size: .75rem; white-space: nowrap; cursor: help; }
