/* 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; } }

/* BusiToday (01-12-2026), voorvoegsel .bt- */
.bt-vb { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 12px; border-radius: 12px; background: #fef3c7; border: 1px solid #fde68a; font-size: 13.5px; font-weight: 600; }
.bt-vb[hidden] { display: none; }
.bt-isvb .bt-raster, .bt-isvb .bt-held, .bt-isvb .bt-graf { outline: 2px dashed #f59e0b; outline-offset: 4px; border-radius: 18px; }
.bt-isvb .bt-tool::before { content: '👀'; position: absolute; inset-inline-end: 44px; top: 12px; font-size: 13px; opacity: .8; }

.bt-kaart { position: relative; background: var(--bk-vlak); border: 1px solid var(--bk-lijn); border-radius: 18px; padding: 16px; min-width: 0; }
.bt-kaart h2 { margin: 0 0 10px; font-size: 17px; }

/* kop: groet + ring */
.bt-held { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; margin-bottom: 14px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, #f97316 0%, #ec4899 52%, #7c3aed 100%); box-shadow: 0 10px 30px rgba(124,58,237,.18); }
.bt-heldtekst { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bt-groet { margin: 0; font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
.bt-datum { margin: 0; font-size: 15px; opacity: .95; text-transform: capitalize; }
.bt-scoretekst { margin: 6px 0 0; font-weight: 700; font-size: 15px; }
.bt-reeks { margin: 0; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.2); align-self: flex-start; padding: 3px 10px; border-radius: 99px; }
.bt-ring { flex: none; }
.bt-ringsvg { width: 112px; height: 112px; display: block; }
.bt-ra { fill: rgba(255,255,255,.18); stroke: rgba(255,255,255,.3); stroke-width: 10; }
.bt-rb { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .7s cubic-bezier(.3,1.4,.5,1); }
.bt-rb.vol { stroke: #fde047; }
.bt-rt { font: 800 24px system-ui, sans-serif; fill: #fff; }
.bt-rs { font: 600 12px system-ui, sans-serif; fill: rgba(255,255,255,.9); }

/* top 3 en notitie */
.bt-rij1 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.bt-toplijst { display: flex; flex-direction: column; gap: 8px; }
.bt-toprij { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--bk-lijn); border-radius: 14px; background: #fff; transition: background .3s; }
.bt-toprij.klaar { background: #ecfdf5; border-color: #a7f3d0; }
.bt-toprij.klaar .bt-toptekst { text-decoration: line-through; color: var(--bk-stil); }
.bt-toptekst { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }
.bt-vink { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 3px solid #f59e0b; background: #fff; color: #b45309; font: 800 17px system-ui, sans-serif; cursor: pointer; transition: background .2s, transform .15s; }
.bt-vink:hover { transform: scale(1.06); }
.bt-toprij.klaar .bt-vink { background: #16a34a; border-color: #16a34a; color: #fff; }
.bt-vink.knal { animation: bt-knal .55s cubic-bezier(.3,1.6,.5,1); }
.bt-vink.knal::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid #16a34a; animation: bt-golf .7s ease-out forwards; }
.bt-vink.knal::before { content: '✨'; position: absolute; left: 50%; top: -6px; font-size: 18px; animation: bt-ster .8s ease-out forwards; }
@keyframes bt-knal { 0% { transform: scale(.6); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes bt-golf { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
@keyframes bt-ster { from { transform: translate(-50%, 0) scale(.5); opacity: 1; } to { transform: translate(-50%, -30px) scale(1.3); opacity: 0; } }
.bt-wis { flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--bk-stil); font-size: 18px; cursor: pointer; }
.bt-wis:hover { background: var(--bk-achter); color: var(--bk-fout); }
.bt-invoer { width: 100%; margin-top: 8px; padding: 12px; border: 2px dashed var(--bk-lijn); border-radius: 12px; font: inherit; font-size: 15px; background: #fff; color: var(--bk-ink); }
.bt-invoer:focus { outline: none; border-color: #f59e0b; border-style: solid; }
.bt-invoer[hidden] { display: none; }
.bt-topvoet { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.bt-topvoet:empty { display: none; }
.bt-gehaald { margin: 0; font-weight: 800; color: #15803d; font-size: 15px; }
.bt-over { align-self: flex-start; font-size: 13px; }
.bt-notitieveld { width: 100%; min-height: 120px; resize: vertical; padding: 10px 12px; border: 1px solid var(--bk-lijn); border-radius: 12px; font: inherit; font-size: 14.5px; background: #fffbeb; color: var(--bk-ink); }

/* kaarten uit de andere tools */
.bt-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 14px; }
.bt-tool { display: flex; flex-direction: column; gap: 10px; border-top: 5px solid var(--bt-k); }
.bt-toolkop { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bt-toolkop h3 { margin: 0; font-size: 15.5px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.bt-toolicoon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 19px; background: color-mix(in srgb, var(--bt-k) 13%, #fff); }
.bt-tellervak { display: flex; align-items: center; gap: 6px; flex: none; }
.bt-mini { width: 44px; height: 7px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.bt-mini i { display: block; height: 100%; background: var(--bt-k); border-radius: 99px; transition: width .5s; }
.bt-teller { font-weight: 800; font-size: 13px; color: var(--bk-stil); }
.bt-teller.vol { color: #15803d; }
.bt-verberg { flex: none; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #94a3b8; font-size: 17px; cursor: pointer; }
.bt-verberg:hover { background: var(--bk-achter); color: var(--bk-ink); }
.bt-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bt-regel { display: flex; align-items: flex-start; gap: 9px; padding: 6px 8px; border-radius: 10px; background: #f8fafc; }
.bt-regel.klaar .bt-regelt { text-decoration: line-through; color: var(--bk-stil); }
.bt-regel.laat { background: #fef2f2; }
.bt-regel.laat small { color: var(--bk-fout); font-weight: 600; }
.bt-regel.feest { background: #fdf2f8; }
.bt-regel.hoofd { background: color-mix(in srgb, var(--bt-k) 10%, #fff); }
.bt-regel.vak { border-inline-start: 4px solid var(--bt-b); }
.bt-regeli { flex: none; font-size: 18px; line-height: 1.3; }
.bt-regelm { min-width: 0; display: flex; flex-direction: column; }
.bt-regelt { font-weight: 600; overflow-wrap: anywhere; }
.bt-regelm small { color: var(--bk-stil); font-size: 12.5px; }
.bt-meer { padding-inline-start: 8px; }
.bt-voet { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 8px; border-top: 1px solid var(--bk-lijn); }
.bt-open { color: var(--bk-accent2); font-weight: 700; text-decoration: none; font-size: 13px; }
.bt-open:hover { text-decoration: underline; }
.bt-bollen { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.bt-bol { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 8px 4px; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--bt-b) 35%, #fff); background: #fff; min-width: 0; }
.bt-bol.aan { background: color-mix(in srgb, var(--bt-b) 16%, #fff); border-color: var(--bt-b); }
.bt-bolicoon { font-size: 22px; }
.bt-bol b { font-size: 12.5px; line-height: 1.2; overflow-wrap: anywhere; }
.bt-bol small { font-size: 12px; color: var(--bk-stil); }
.bt-groot { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bt-groot b { font-size: 40px; line-height: 1; color: var(--bt-k); }
.bt-toms { display: flex; flex-wrap: wrap; gap: 3px; font-size: 20px; }
.bt-toms span { filter: grayscale(1); opacity: .35; }
.bt-toms span.aan { filter: none; opacity: 1; }
.bt-examen { margin: 0; padding: 8px 10px; border-radius: 10px; background: #fef3c7; font-weight: 700; }
.bt-som { margin: 2px 0 0; font-weight: 800; text-align: end; }
.bt-vraag { display: block; padding: 8px 10px; border-radius: 10px; border: 1px dashed #c7d2fe; color: #4338ca; font-weight: 700; text-decoration: none; }
.bt-leeg { grid-column: 1 / -1; margin: 0; padding: 20px; text-align: center; font-size: 16px; font-weight: 600; color: var(--bk-stil); background: var(--bk-vlak); border: 1px dashed var(--bk-lijn); border-radius: 18px; }

/* nog niet gebruikt */
.bt-niet { margin-bottom: 14px; }
.bt-niet[hidden] { display: none; }
.bt-niet h2 { margin-bottom: 4px; }
.bt-voorstel { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 10px; }
.bt-voorstelkaart { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--bk-lijn); border-radius: 14px; background: #fff; color: var(--bk-ink); text-decoration: none; transition: border-color .2s, transform .15s; min-width: 0; }
.bt-voorstelkaart:hover { border-color: var(--bk-accent); transform: translateY(-1px); }
.bt-voorstelkaart div { min-width: 0; display: flex; flex-direction: column; flex: 1; }
.bt-voorstelkaart small { color: var(--bk-stil); font-size: 12.5px; }
.bt-voorsteli { font-size: 24px; flex: none; }
.bt-pijl { flex: none; color: var(--bk-accent); font-weight: 800; }

/* grafiek */
.bt-graf { margin-bottom: 14px; }
.bt-grafkop { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.bt-grafkop h2 { margin: 0; }
.bt-reekspil { padding: 4px 10px; border-radius: 99px; background: #fff7ed; color: #c2410c; font-weight: 700; font-size: 13px; }
.bt-grafvak { overflow-x: auto; }
.bt-grafsvg { width: 100%; min-width: 320px; max-height: 190px; display: block; }
.bt-gachter { fill: #f1f5f9; }
.bt-gstaaf { fill: #fbbf24; transition: height .5s, y .5s; }
.bt-gstaaf.top { fill: #16a34a; }
.bt-gstaaf.leeg { fill: #cbd5e1; }
.bt-gstaaf.nu { stroke: #0f172a; stroke-width: 2; }
.bt-gster { font-size: 13px; }
.bt-glab { font: 700 12px system-ui, sans-serif; fill: var(--bk-stil); text-transform: uppercase; }
.bt-glab.nu { fill: var(--bk-ink); }
.bt-glab2 { font: 500 12px system-ui, sans-serif; fill: #94a3b8; }

/* paneel */
.bt-beheer { display: flex; flex-direction: column; gap: 4px; }
.bt-beheerrij { display: flex; align-items: center; gap: 4px; }
.bt-beheerlabel { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.bt-beheerlabel input { width: 17px; height: 17px; accent-color: var(--bk-accent); flex: none; }
.bt-pijlknop { padding: 3px 9px; font-size: 13px; }

@media (max-width: 860px) {
  .bt-rij1 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .bt-held { padding: 14px; gap: 10px; }
  .bt-groet { font-size: 21px; }
  .bt-ringsvg { width: 88px; height: 88px; }
  .bt-raster { grid-template-columns: 1fr; }
  .bt-isvb .bt-tool::before { display: none; }
}
