/* BusiKit (11-11-2026): gedeelde stijl van de losse tools op busimatch.tools (zelfde lichte stijl als BusiTrace en Busi Halftone) */
:root { --bk-ink: #0f172a; --bk-stil: #64748b; --bk-lijn: #e2e8f0; --bk-vlak: #ffffff; --bk-achter: #f1f5f9; --bk-accent: #2563eb; --bk-accent2: #1d4ed8; --bk-zacht: #eff6ff; --bk-zachtlijn: #bfdbfe; --bk-groen: #0f766e; --bk-fout: #dc2626; --bk-waar: #b45309; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bk-achter); color: var(--bk-ink); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.bk-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--bk-vlak); border-bottom: 1px solid var(--bk-lijn); min-height: 52px; }
.bk-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--bk-ink); text-decoration: none; }
.bk-logo img { width: 26px; height: 26px; }
.bk-sp { flex: 1; }
.bk-tknop { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid var(--bk-lijn); border-radius: 9px; background: #fff; color: var(--bk-ink); font-weight: 600; text-decoration: none; cursor: pointer; list-style: none; }
.bk-tknop::-webkit-details-marker { display: none; }
.bk-taal { position: relative; }
.bk-taalmenu { position: absolute; inset-inline-end: 0; top: 40px; background: #fff; border: 1px solid var(--bk-lijn); border-radius: 10px; box-shadow: 0 10px 30px rgba(15,23,42,.15); padding: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 320px; max-width: calc(100vw - 24px); }
.bk-taalmenu a { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 7px; color: var(--bk-ink); text-decoration: none; }
.bk-taalmenu a:hover, .bk-taalmenu a.aan { background: var(--bk-achter); }
.bk-wie { color: var(--bk-stil); font-size: 13px; }

.bk { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: calc(100vh - 52px); }
.bk.bk-vol { height: calc(100vh - 52px); min-height: 560px; }
.bk-links { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.bk-werk { position: relative; flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; padding: 16px 16px 72px; }
.bk-werk.slepen { outline: 4px dashed var(--bk-accent); outline-offset: -10px; }
.bk-leeg { margin: auto; max-width: 480px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px; background: var(--bk-vlak); border: 2px dashed var(--bk-lijn); border-radius: 18px; }
.bk-leeg h1 { margin: 0; font-size: 26px; }
.bk-leeg p { margin: 0; }
.bk-leegicoon { font-size: 52px; line-height: 1; }
.bk-balk { position: sticky; top: 0; z-index: 4; align-self: flex-start; display: flex; align-items: center; gap: 4px; padding: 4px; margin-bottom: 12px; background: rgba(255,255,255,.96); border: 1px solid var(--bk-lijn); border-radius: 10px; box-shadow: 0 4px 16px rgba(15,23,42,.12); flex-wrap: wrap; }
.bk-zknop { border: 0; background: transparent; padding: 6px 10px; border-radius: 7px; font: inherit; font-weight: 600; color: var(--bk-ink); cursor: pointer; }
.bk-zknop:hover { background: var(--bk-achter); }
.bk-zknop.aan { background: var(--bk-accent); color: #fff; }
.bk-melding { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); background: var(--bk-ink); color: #fff; padding: 8px 14px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: 90%; text-align: center; z-index: 5; }
.bk-melding.zicht { opacity: 1; }
.bk-melding.fout { background: var(--bk-fout); }

.bk-paneel { background: var(--bk-vlak); border-inline-start: 1px solid var(--bk-lijn); overflow-y: auto; padding: 16px 16px 90px; display: flex; flex-direction: column; gap: 14px; }
.bk-vol .bk-paneel { max-height: calc(100vh - 52px); }
.bk-kop h1 { margin: 0; font-size: 20px; }
.bk-kop p { margin: 4px 0 0; color: var(--bk-stil); }
.bk-blok { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--bk-lijn); }
.bk-blok h3 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bk-stil); }
.bk-label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.bk-rijlabel { flex-direction: row; align-items: center; gap: 8px; }
.bk-schuifkop { display: flex; justify-content: space-between; }
.bk-label input[type=range] { width: 100%; accent-color: var(--bk-accent); }
.bk-label input[type=checkbox] { accent-color: var(--bk-accent); width: 16px; height: 16px; }
.bk-veld { width: 100%; padding: 7px 9px; border: 1px solid var(--bk-lijn); border-radius: 8px; font: inherit; background: #fff; color: var(--bk-ink); }
.bk-klein { margin: 0; color: var(--bk-stil); font-size: 12.5px; }
.bk-waarsch { margin: 0; color: var(--bk-waar); font-size: 12.5px; }
.bk-waarsch:empty { display: none; }
.bk-ok { margin: 0; color: var(--bk-groen); font-weight: 600; font-size: 13px; }
.bk-gratis { margin: 0; padding: 10px 12px; border-radius: 10px; background: #ecfdf5; border: 1px solid #a7f3d0; font-size: 13px; }
.bk-hoofdknop { display: inline-flex; justify-content: center; align-items: center; gap: 6px; border: 0; border-radius: 10px; padding: 11px 18px; background: var(--bk-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.bk-hoofdknop:hover:not(:disabled) { background: var(--bk-accent2); }
.bk-knop { border: 1px solid var(--bk-lijn); border-radius: 9px; padding: 8px 14px; background: #fff; font: inherit; font-weight: 600; color: var(--bk-ink); cursor: pointer; }
.bk-knop:hover:not(:disabled) { background: var(--bk-achter); }
button:disabled { opacity: .5; cursor: not-allowed; }
.bk-volle { width: 100%; }
.bk-rij { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-link { color: var(--bk-accent2); font-weight: 600; text-decoration: none; }

.bk-uitleg { background: var(--bk-vlak); border-top: 1px solid var(--bk-lijn); padding: 40px 16px 120px; }
.bk-uitbinnen { max-width: 1100px; margin: 0 auto; }
.bk-groot { margin: 0; font-size: 28px; }
.bk-lead { margin: 6px 0 24px; color: var(--bk-stil); font-size: 16px; white-space: pre-line; }
.bk-uitraster { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.bk-kaart { padding: 18px; border: 1px solid var(--bk-lijn); border-radius: 14px; background: #fff; }
.bk-kaart h3 { margin: 0 0 8px; font-size: 17px; }
.bk-kaart p { margin: 0; white-space: pre-line; color: #334155; }

/* tabellen (rekentools) */
.bk-tabel { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--bk-lijn); border-radius: 12px; overflow: hidden; }
.bk-tabel th, .bk-tabel td { padding: 6px 8px; border-bottom: 1px solid var(--bk-lijn); text-align: start; vertical-align: middle; }
.bk-tabel th { background: var(--bk-achter); font-size: 12px; color: var(--bk-stil); text-transform: uppercase; letter-spacing: .04em; }
.bk-tabel td input, .bk-tabel td select { width: 100%; min-width: 60px; padding: 6px 7px; border: 1px solid var(--bk-lijn); border-radius: 7px; font: inherit; }
.bk-tabel td.getal, .bk-tabel th.getal { text-align: end; white-space: nowrap; }
.bk-kaartjes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 16px; }
.bk-cijfer { padding: 14px; border: 1px solid var(--bk-lijn); border-radius: 12px; background: #fff; }
.bk-cijfer span { display: block; color: var(--bk-stil); font-size: 12.5px; }
.bk-cijfer b { display: block; font-size: 22px; margin-top: 2px; }
.bk-cijfer.goed { border-color: #a7f3d0; background: #ecfdf5; }
.bk-cijfer.let { border-color: #fde68a; background: #fffbeb; }
.bk-cijfer.slecht { border-color: #fecaca; background: #fef2f2; }

#bk-afdruk { display: none; }
@media print {
  body > *:not(#bk-afdruk) { display: none !important; }
  #bk-afdruk { display: block !important; }
  #bk-afdruk img { max-width: 100%; }
}
@media (max-width: 860px) {
  .bk { grid-template-columns: 1fr; }
  .bk.bk-vol { height: auto; min-height: 0; }
  .bk-vol .bk-links { height: 62vh; min-height: 360px; }
  .bk-vol .bk-paneel { max-height: none; }
  .bk-paneel { border-inline-start: 0; border-top: 1px solid var(--bk-lijn); padding-bottom: 24px; }
  .bk-taalmenu { grid-template-columns: 1fr; width: 220px; }
  .bk-wie { display: none; }
}
/* kopbalk-smal (14-11-2026): een lange toolnaam mag de pagina op een gsm niet breder maken dan het scherm */
.bk-top > span:first-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-top .bk-logo, .bk-top .bk-tknop, .bk-top .bk-taal { flex: none; }
@media (max-width: 520px) { .bk-top { gap: 6px; padding: 8px 10px; } .bk-logo { font-size: 0; gap: 0; } .bk-sp { display: none; } .bk-top > span:first-of-type { flex: 1 1 0; } .bk-top > a.bk-tknop:last-child { display: inline-block; flex: 0 1 auto; max-width: 132px; line-height: 32px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ---------- gedeelde AI-teksttools (aihulp.ts, voorvoegsel bka-) ---------- */
.bka-tabs { margin-bottom: 14px; }
.bka-vak[hidden] { display: none !important; }
.bka-kaarten { display: grid; gap: 14px; }
.bka-kaarten.compact { gap: 10px; }
.bka-kaart { background: #fff; border: 1px solid var(--bk-lijn); border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(15,23,42,.05); animation: bka-in .4s ease both; }
.bka-kaart:nth-child(2) { animation-delay: .06s; } .bka-kaart:nth-child(3) { animation-delay: .12s; } .bka-kaart:nth-child(4) { animation-delay: .18s; }
.bka-kaart:nth-child(5) { animation-delay: .24s; } .bka-kaart:nth-child(6) { animation-delay: .3s; } .bka-kaart:nth-child(7) { animation-delay: .36s; }
@keyframes bka-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bka-kop { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.bka-kop h3 { margin: 0; flex: 1; min-width: 120px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bk-stil); }
.bka-kopie { border: 1px solid var(--bk-zachtlijn); background: var(--bk-zacht); color: var(--bk-accent2); border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.bka-kopie:hover { background: #dbeafe; }
.bka-ok, .bka-kopie.bka-ok { background: #ecfdf5 !important; border-color: #a7f3d0 !important; color: var(--bk-groen) !important; }
.bka-meter { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--bk-achter); color: var(--bk-stil); white-space: nowrap; }
.bka-meter.groen { background: #ecfdf5; color: var(--bk-groen); }
.bka-meter.oranje { background: #fffbeb; color: var(--bk-waar); }
.bka-meter.rood { background: #fef2f2; color: var(--bk-fout); }
.bka-tekst { margin: 0; white-space: pre-line; font-size: 15px; line-height: 1.6; }
.bka-tekst.groot { font-size: 18px; font-weight: 700; line-height: 1.35; }
.bka-tekst + .bka-tekst { margin-top: 10px; }
.bka-lijst { margin: 0; padding-inline-start: 20px; font-size: 15px; line-height: 1.5; }
.bka-lijst li { margin: 4px 0; }
.bka-lijst li::marker { color: var(--bk-accent); }
.bka-lijst li.rood { color: var(--bk-fout); }
.bka-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bka-tag { padding: 4px 11px; border-radius: 99px; background: var(--bk-zacht); border: 1px solid var(--bk-zachtlijn); color: var(--bk-accent2); font-size: 13px; font-weight: 600; }
.bka-tag.rood { background: #fef2f2; border-color: #fecaca; color: var(--bk-fout); text-decoration: line-through; }
.bka-wacht { height: 96px; border-radius: 14px; margin-bottom: 14px; background: linear-gradient(90deg, #e9eef5 25%, #f8fafc 50%, #e9eef5 75%); background-size: 200% 100%; animation: bka-glans 1.1s linear infinite; }
@keyframes bka-glans { to { background-position: -200% 0; } }
.bka-proef { margin: 0 0 12px; padding: 7px 11px; border-radius: 9px; background: #fffbeb; border: 1px solid #fde68a; color: var(--bk-waar); font-size: 12.5px; }
.bka-leeg { padding: 36px 20px; text-align: center; color: var(--bk-stil); border: 2px dashed var(--bk-lijn); border-radius: 16px; background: #fff; font-size: 15px; }
.bka-teller { display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-size: 11.5px; color: var(--bk-stil); }
textarea.bk-veld { resize: vertical; min-height: 64px; line-height: 1.45; }
.bka-aiknop { background: linear-gradient(135deg, #7c3aed, #2563eb 55%, #0ea5e9); box-shadow: 0 8px 22px rgba(79,70,229,.32); font-size: 15px; padding: 13px 18px; }
.bka-aiknop:hover:not(:disabled) { filter: brightness(1.08); background: linear-gradient(135deg, #7c3aed, #2563eb 55%, #0ea5e9); }
.bka-gesch { display: flex; flex-direction: column; gap: 6px; max-height: 330px; overflow-y: auto; }
.bka-grij { display: flex; align-items: center; gap: 6px; }
.bka-grij input { accent-color: var(--bk-accent); width: 16px; height: 16px; flex: none; }
.bka-open { flex: 1; min-width: 0; text-align: start; border: 1px solid var(--bk-lijn); background: #fff; border-radius: 9px; padding: 6px 9px; cursor: pointer; font: inherit; color: var(--bk-ink); }
.bka-open:hover { background: var(--bk-achter); }
.bka-open b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bka-open small { color: var(--bk-stil); font-size: 11.5px; }
.bka-weg { padding: 6px 9px; }
.bka-kolommen { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.bka-kol h4 { margin: 0 0 8px; font-size: 13px; color: var(--bk-stil); }
@media (max-width: 900px) { .bka-kolommen { grid-template-columns: 1fr; } }


/* ---------- BusiTutor (voorvoegsel btu-) ---------- */
/* stapels */
.btu-stapels { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 10px; scrollbar-width: thin; }
.btu-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; max-width: 220px; border: 1px solid var(--bk-lijn); background: #fff; border-radius: 99px; padding: 7px 8px 7px 14px; font: inherit; font-weight: 600; color: var(--bk-ink); cursor: pointer; }
.btu-chip:hover { border-color: var(--bk-zachtlijn); background: var(--bk-zacht); }
.btu-chip.aan { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.btu-chipnaam { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btu-chipn { min-width: 24px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--bk-achter); color: var(--bk-stil); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.btu-chipn.due { background: #f97316; color: #fff; }
.btu-chip.aan .btu-chipn:not(.due) { background: rgba(255,255,255,.25); color: #fff; }
.btu-chipplus { padding-inline-end: 14px; color: var(--bk-accent2); border-style: dashed; }

/* vandaag */
.btu-koprij { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; margin-bottom: 14px; }
.btu-vandaag { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; border: 1px solid var(--bk-lijn); border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 24px rgba(15,23,42,.06); }
.btu-vlinks { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; flex: 1 1 200px; }
.btu-vlabel { font-size: 13px; font-weight: 700; color: var(--bk-stil); overflow-wrap: anywhere; }
.btu-vgetal { font-size: 20px; font-weight: 700; color: var(--bk-ink); }
.btu-vgetal b { font-size: 46px; line-height: 1; color: #4f46e5; }
.btu-vgetal.klein { font-size: 22px; color: #4f46e5; }
.btu-vgetal.klaar { font-size: 22px; color: #16a34a; }
.btu-vsub { margin: 0; color: var(--bk-stil); }
.btu-start { font-size: 18px; padding: 14px 34px; border-radius: 14px; background: linear-gradient(135deg, #7c3aed, #2563eb); box-shadow: 0 10px 24px rgba(79,70,229,.35); animation: btu-adem 2.4s ease-in-out infinite; }
.btu-start:hover { filter: brightness(1.08); }
@keyframes btu-adem { 50% { transform: scale(1.04); } }
.btu-vrechts { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.btu-ring { width: 112px; height: 112px; }
.btu-ringboog { transition: stroke-dashoffset .7s cubic-bezier(.2,.8,.2,1), stroke .7s; }
.btu-ringpct { font: 800 22px system-ui, sans-serif; fill: var(--bk-ink); }
.btu-ringsub { font: 600 12px system-ui, sans-serif; fill: var(--bk-stil); }
.btu-vrechts.gehaald .btu-ring { animation: btu-puls 1s ease 2; }
.btu-streak { display: flex; align-items: baseline; gap: 6px; font-size: 12.5px; color: var(--bk-stil); }
.btu-streak b { font-size: 18px; color: var(--bk-stil); }
.btu-streak.aan b { color: #ea580c; }
.btu-doel { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--bk-stil); }
.btu-doelkeuze { width: auto; padding: 3px 6px; font-size: 13px; }
@keyframes btu-puls { 50% { transform: scale(1.08); } }

/* heatmap */
.btu-heat { background: #fff; border: 1px solid var(--bk-lijn); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.btu-heatkop { font-size: 12.5px; font-weight: 700; color: var(--bk-stil); }
.btu-heatraster { display: flex; gap: 4px; }
.btu-heatkol { display: flex; flex-direction: column; gap: 4px; }
.btu-cel { width: 15px; height: 15px; border-radius: 4px; background: #eef2f7; }
.btu-cel.t1 { background: #ddd6fe; } .btu-cel.t2 { background: #a78bfa; } .btu-cel.t3 { background: #7c3aed; } .btu-cel.t4 { background: #16a34a; }
.btu-cel.tx { background: transparent; border: 1px dashed #e2e8f0; }
.btu-cel.nu { outline: 2px solid #f97316; outline-offset: 1px; }

/* beheersing in dozen (in de lijst) */
.btu-stand { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 4px 0 10px; }
.btu-standtekst { font-size: 13px; color: var(--bk-stil); padding-bottom: 4px; }
.btu-dozen { display: flex; align-items: flex-end; gap: 6px; height: 74px; }
.btu-doos { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 26px; font-size: 12px; }
.btu-doos b { font-size: 12px; }
.btu-doos small { color: var(--bk-stil); font-size: 12px; }
.btu-doosbalk { width: 100%; border-radius: 6px 6px 3px 3px; transition: height .5s ease; }
.d1 .btu-doosbalk, .btu-badge.d1 { background: #f87171; }
.d2 .btu-doosbalk, .btu-badge.d2 { background: #fb923c; }
.d3 .btu-doosbalk, .btu-badge.d3 { background: #eab308; }
.d4 .btu-doosbalk, .btu-badge.d4 { background: #4ade80; }
.d5 .btu-doosbalk, .btu-badge.d5 { background: #16a34a; }

.btu-speel { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.btu-flip { perspective: 1200px; cursor: pointer; outline: none; min-height: 230px; display: flex; }
.btu-flip[hidden] { display: none; }
.btu-flip:focus-visible .btu-zijde { box-shadow: 0 0 0 3px var(--bk-zachtlijn); }
.btu-binnen { position: relative; flex: 1; min-height: 230px; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.btu-flip.om .btu-binnen { transform: rotateY(180deg); }
.btu-flip.stil .btu-binnen { transition: none; }
.btu-flip.nieuw { animation: btu-in .45s ease both; }
@keyframes btu-in { from { opacity: 0; transform: translateX(26px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
.btu-zijde { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; padding: 34px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; box-shadow: 0 14px 36px rgba(79,70,229,.18); overflow: auto; }
.btu-voor { background: linear-gradient(135deg, #7c3aed, #4f46e5 55%, #2563eb); color: #fff; }
.btu-achter { background: #fff; color: var(--bk-ink); border: 2px solid #c7d2fe; transform: rotateY(180deg); }
.btu-ktekst { font-size: 21px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; white-space: pre-line; }
.btu-achter .btu-ktekst { font-weight: 600; font-size: 19px; }
.btu-klabel { position: absolute; top: 12px; inset-inline-start: 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.btu-achter .btu-klabel { color: #4f46e5; }
.btu-hint { position: absolute; bottom: 10px; font-size: 12px; opacity: .85; }
.btu-antw { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btu-antw[hidden] { display: none; }
.btu-antw .bk-knop { padding: 12px; font-size: 15px; font-weight: 700; border-radius: 12px; }
.btu-nee:not(:disabled) { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.btu-ja:not(:disabled) { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.btu-antw .bk-knop:disabled { opacity: .45; cursor: default; }
.btu-speel[hidden] { display: none; }
.btu-speel { margin-bottom: 14px; }

.btu-beheer { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; background: #fff; border: 1px solid var(--bk-lijn); border-radius: 14px; padding: 12px; }
.btu-nieuw { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.btu-plak summary { cursor: pointer; font-weight: 600; color: var(--bk-accent2); }
.btu-plak[open] { display: flex; flex-direction: column; gap: 6px; }
.btu-lijstkop { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.btu-naam { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; }
.btu-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.btu-aantal { flex: 1; min-width: 120px; font-size: 14px; }
.btu-wanneerk { white-space: nowrap; color: var(--bk-stil); font-size: 12.5px; }
.btu-wanneerk.due { color: #ea580c; font-weight: 700; }
.btu-backup { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--bk-lijn); }
.btu-snel { margin: 0; }
.btu-sc { overflow-x: auto; background: #fff; border: 1px solid var(--bk-lijn); border-radius: 12px; }
.btu-tabel { width: 100%; min-width: 420px; }
.btu-tabel td { vertical-align: top; }
.btu-tabel tr.nu td { background: #f5f3ff; }
.btu-tv { font-weight: 600; }
.btu-badge { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }

.btu-actie { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.btu-wanneer { flex: 1; min-width: 160px; color: var(--bk-stil); font-size: 13px; }
.btu-lestitel { margin: 0 0 12px; font-size: 24px; line-height: 1.25; color: #4f46e5; }
.btu-kop { margin: 16px 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--bk-stil); }
.btu-stappen { list-style: none; margin: 0; padding: 0; position: relative; }
.btu-stappen::before { content: ""; position: absolute; inset-inline-start: 17px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(#c4b5fd, #93c5fd); border-radius: 3px; }
.btu-stap { position: relative; display: flex; gap: 12px; margin-bottom: 12px; animation: bka-in .45s ease both; }
.btu-nr { flex: none; z-index: 1; width: 37px; height: 37px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #2563eb); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(79,70,229,.3); }
.btu-stapb { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--bk-lijn); border-radius: 14px; padding: 12px 14px; }
.btu-stapb h4 { margin: 0 0 4px; font-size: 16px; }
.btu-stapb p { margin: 0; line-height: 1.55; font-size: 15px; }
.btu-vb { margin-top: 8px !important; padding: 8px 10px; background: #fffbeb; border-radius: 9px; font-size: 14px !important; }
.btu-quiz { background: #fff; border: 1px solid var(--bk-lijn); border-radius: 16px; padding: 4px 14px 14px; margin: 14px 0; transition: box-shadow .4s; }
.btu-quiz.perfect { box-shadow: 0 0 0 3px #86efac, 0 10px 30px rgba(34,197,94,.2); }
.btu-quizkop { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.btu-score { font-size: 15px; color: var(--bk-accent2); }
.btu-sbalk { height: 8px; border-radius: 99px; background: var(--bk-achter); overflow: hidden; margin-bottom: 12px; }
.btu-svul { height: 100%; width: 0; background: linear-gradient(90deg, #7c3aed, #2563eb); transition: width .4s ease; }
.btu-svul.klaar { background: linear-gradient(90deg, #22c55e, #10b981); }
.btu-vraag { padding: 10px 0; border-top: 1px dashed var(--bk-lijn); }
.btu-vtekst { margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.btu-opties { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btu-optie { display: flex; align-items: center; gap: 8px; text-align: start; border: 1px solid var(--bk-lijn); background: var(--bk-achter); border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 14px; color: var(--bk-ink); cursor: pointer; transition: transform .15s, background .2s; }
.btu-optie:hover:not(:disabled) { background: var(--bk-zacht); border-color: var(--bk-zachtlijn); transform: translateY(-1px); }
.btu-optie:disabled { cursor: default; opacity: .7; }
.btu-optie.juist { background: #dcfce7; border-color: #86efac; opacity: 1; animation: btu-puls .4s ease 1; }
.btu-optie.fout { background: #fee2e2; border-color: #fca5a5; opacity: 1; animation: btu-schud .35s ease 1; }
@keyframes btu-schud { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.btu-letter { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--bk-lijn); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }
.btu-fb { margin: 8px 0 0; padding: 8px 10px; border-radius: 9px; font-size: 14px; line-height: 1.45; }
.btu-fb[hidden] { display: none; }
.btu-fb.ok { background: #ecfdf5; color: #047857; }
.btu-fb.nok { background: #fef2f2; color: #b91c1c; }
.btu-samen { border-color: #c7d2fe; background: linear-gradient(180deg, #f5f3ff, #fff); }
.btu-let { margin-top: 10px; }
.btu-les.compact .btu-lestitel { font-size: 18px; }

/* afdrukken */
.btu-druk { font: 12pt/1.45 system-ui, sans-serif; color: #000; }
.btu-druk h2 { margin: 0 0 4mm; }
.btu-drukuitleg { margin: 0 0 4mm; font-size: 10pt; color: #444; }
.btu-knip { display: flex; flex-direction: column; }
.btu-kniprij { display: grid; grid-template-columns: 1fr 1fr; break-inside: avoid; page-break-inside: avoid; }
.btu-knipv, .btu-knipa { min-height: 45mm; padding: 5mm; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px dashed #888; margin: -0.5px; }
.btu-knipv { font-weight: 700; font-size: 13pt; }
.btu-knipa { font-size: 11pt; }
.btu-druk ol li { margin-bottom: 3mm; break-inside: avoid; }
.btu-dopt { margin-inline-start: 4mm; }
.btu-sleutel { margin-top: 8mm; font-size: 9pt; color: #555; border-top: 1px solid #ccc; padding-top: 2mm; }

@media (max-width: 640px) {
  .btu-koprij { grid-template-columns: 1fr; }
  .btu-heat { align-items: center; }
  .btu-cel { width: 13px; height: 13px; }
  .btu-vgetal b { font-size: 40px; }
  .btu-nieuw { grid-template-columns: 1fr; }
  .btu-opties { grid-template-columns: 1fr; }
  .btu-ktekst { font-size: 18px; }
}
