/* Verfijning binnen de huidige vormgeving (okt 2026): rustige knoppen, labels en keuzes overal gelijk, en korte beweging
   die iets uitlegt (paneel schuift in, rij licht op na bijwerken, score loopt vol). 'Minder beweging' zet alles uit. */
:root { --ease: cubic-bezier(.2, .8, .2, 1); }
body { font-family: Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }

/* knoppen: overal dezelfde maat, ronding en reactie */
.btn { border-radius: 9px; min-height: 36px; padding: 8px 14px; transition: background .15s, border-color .15s, color .15s, transform .08s; }
.btn.sm { min-height: 30px; padding: 5px 10px; border-radius: 8px; }
.btn:active:not([disabled]) { transform: scale(.98); }
.btn.primary:hover { background: var(--green-d); border-color: var(--green-d); }
.btn.klaar { background: var(--green-bg); border-color: #cfe7bf; color: #3b7f19; }
.btn[disabled] { opacity: .55; cursor: default; }
a:focus-visible, button:focus-visible, .in:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid #3e8a1c; outline-offset: 2px; }
.in { border-radius: 9px; transition: border-color .15s, box-shadow .15s; }
.in:focus { border-color: #9fd47f; box-shadow: 0 0 0 3px rgba(102, 204, 51, .15); }

/* labels en keuzes */
.pill { border-radius: 99px; }
.keuze span { transition: background .15s, border-color .15s, color .15s; }
.keuzechip { font: 600 13px Inter, sans-serif; padding: 8px 13px; min-height: 38px; border-radius: 99px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .08s; }
.keuzechip:hover { border-color: #cfd3d8; }
.keuzechip:active { transform: scale(.97); }
.keuzechip.aan { background: var(--ink); border-color: var(--ink); color: #fff; }
.keuzechip.groot { border-radius: 10px; padding: 11px 12px; min-height: 44px; }
.keuzechip.groot.aan { background: var(--green); border-color: var(--green); }
.keuzechip kbd { font: 600 11px Inter, sans-serif; opacity: .65; margin-right: 4px; }

/* in één blik */
.kb-rij { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.kb { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: #f0f1f3; color: var(--ink2); white-space: nowrap; }
.kb.g { background: var(--green-bg); color: #3b7f19; } .kb.b { background: var(--blue-bg); color: #05659f; }
.kb.a { background: var(--amber-bg); color: #8a5600; } .kb.r { background: var(--red-bg); color: #b42318; } .kb.d { background: var(--ink); color: #fff; }
.kw-ring { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.kw-ring b { font-size: 13px; }
.kw-boog { animation: kw-vol .9s var(--ease) 1; }
@keyframes kw-vol { from { stroke-dashoffset: var(--kw-d); } }
.kw-delen { display: grid; gap: 6px; font-size: 13px; margin-top: 6px; }
.kw-delen div { display: flex; justify-content: space-between; gap: 10px; }
.kw-delen b.g { color: #3b7f19; } .kw-delen b.a { color: #8a5600; }

/* bestand verbeteren */
.bestand { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bestand .bt { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; display: flex; flex-direction: column; gap: 2px; }
.bestand .bt b { font-size: 24px; line-height: 1.2; }
.bestand .bt small { color: var(--muted); font-size: 12px; }
.bestand .bt.donker { background: var(--ink); color: #fff; border-color: var(--ink); justify-content: space-between; gap: 10px; font-size: 13px; }
.bestand .bt.donker b { font-size: 13px; }
.bestand .bt.donker .btn { align-self: flex-start; margin: 0; }

/* moet-eisen */
.eisen { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.eisen > b { font-size: 13px; margin-right: 4px; }
.eis { font: 600 12.5px Inter, sans-serif; padding: 6px 11px; border-radius: 99px; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background .15s, transform .08s; }
.eis.aan { background: var(--ink); border-color: var(--ink); color: #fff; }
.eis.voorstel { background: var(--green-bg); border-color: #cfe7bf; color: #3b7f19; }
.eis.leeg { border-style: dashed; color: var(--muted); }
.eis:active { transform: scale(.97); }
.groep-kop { font-size: 14px; font-weight: 600; margin: 14px 0 8px; }
.groep-kop span { color: var(--muted); font-weight: 500; }

/* past ook bij */
.pb-rij { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #f0f1f3; }
.pb-rij:first-child { border-top: 0; }

/* intake */
.intake { display: flex; flex-direction: column; gap: 14px; min-width: min(600px, 86vw); }
.in-kop { display: flex; align-items: center; gap: 12px; }
.in-l { font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.in-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.in-uit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.in-opvolg { background: #f6f8f3; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.puls { width: 11px; height: 11px; border-radius: 50%; background: var(--green); animation: puls 1.6s ease-in-out infinite; flex: none; }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(102, 204, 51, .45); } 50% { box-shadow: 0 0 0 9px rgba(102, 204, 51, 0); } }

/* beweging met betekenis */
tr.net td, .net { animation: oplichten 1.6s ease-out 1; }
@keyframes oplichten { 0% { background: #e3f5d8; } 100% { background: transparent; } }
.toast { transition: transform .22s var(--ease), opacity .22s var(--ease); }
.modal-box { animation: modal-in .18s var(--ease) 1; }
@keyframes modal-in { from { transform: translateY(10px) scale(.985); opacity: 0; } }
.zijpaneel { transition: transform .24s var(--ease); }
.sel-balk, .bel-vraag { animation: omhoog .22s var(--ease) 1; }
@keyframes omhoog { from { transform: translate(var(--tx, 0), 14px); opacity: 0; } }
.sel-balk { --tx: -50%; }
#view > * { animation: verschijn .18s ease-out 1; }
@keyframes verschijn { from { opacity: 0; transform: translateY(4px); } }
tr.click { transition: background .12s; }

@media (max-width: 900px) {
  .bestand { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .in-uit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intake { min-width: 0; }
}
@media (max-width: 700px) { .sel-balk { --tx: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.in-kop .grow { flex: 1; min-width: 0; }

/* elke pagina gebruikt de volle breedte van het scherm */
.view { max-width: none; }
.pool-tabs { margin-bottom: 14px; }
