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

/* BusiQuickQuote (13-11-2026): eigen stijl, voorvoegsel .bq- */
.bq-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.bq-bewerk { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bq-kaart { background: #fff; border: 1px solid var(--bk-lijn); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.bq-kaart h3 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bk-stil); }
.bq-kaart > .bk-knop { align-self: flex-start; }
.bq-twee { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
textarea.bk-veld { resize: vertical; min-height: 56px; font: inherit; }
.bq-scroll { overflow-x: auto; }
.bq-regels td input, .bq-regels td select { min-width: 64px; }
.bq-regels td.bq-omscel { min-width: 220px; }
.bq-regels td.bq-ehcel input { min-width: 80px; }
.bq-racties { display: flex; gap: 2px; }
.bq-racties .bk-knop { padding: 5px 8px; }
.bq-kant { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bq-kopbalk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bq-nrchip { font-weight: 800; padding: 4px 10px; border-radius: 8px; background: var(--bk-ink); color: #fff; font-size: 13px; }
.bq-totchip { font-weight: 800; padding: 4px 10px; border-radius: 8px; background: #ecfdf5; color: #047857; font-size: 13px; border: 1px solid #a7f3d0; }
.bq-vak { padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #99f6e4 0%, #cbd5e1 45%, #e2e8f0 100%); }
.bq-houder { position: relative; overflow: hidden; }
.bq-schaal { width: 794px; transform-origin: 0 0; }
[dir=rtl] .bq-schaal { transform-origin: 100% 0; margin-inline-start: auto; }
.bq-korting { display: grid; grid-template-columns: 1fr 72px; gap: 6px; }
.bq-knoppen { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bq-knoppen .bk-knop { padding: 8px; font-size: 12.5px; }
.bq-kleuren { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bq-staal { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--bk-lijn); cursor: pointer; padding: 0; }
.bq-kleur { width: 44px; height: 30px; padding: 2px; border: 1px solid var(--bk-lijn); border-radius: 8px; background: #fff; cursor: pointer; }
.bq-sum { cursor: pointer; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bk-stil); font-weight: 700; }
.bq-details[open] .bq-sum { margin-bottom: 4px; }
.bq-logokies { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.bq-logokies .bk-leeg { margin: 0; width: 100%; padding: 12px; gap: 6px; border-radius: 12px; }
.bq-logokies .bk-leeg h1 { font-size: 15px; }
.bq-logokies .bk-leegicoon { font-size: 26px; }
.bq-logokies .bk-hoofdknop { padding: 7px 12px; }
.bq-logoklein { max-width: 160px; max-height: 64px; object-fit: contain; border: 1px solid var(--bk-lijn); border-radius: 8px; padding: 4px; background: #fff; }
.bq-lijstrij { display: flex; gap: 6px; align-items: center; border: 1px solid var(--bk-lijn); border-inline-start: 4px solid #5eead4; border-radius: 10px; background: #fff; padding-inline-end: 4px; }
.bq-lijstrij.aan { box-shadow: 0 0 0 2px #99f6e4; }
.bq-lijstopen { flex: 1; min-width: 0; border: 0; background: transparent; padding: 7px 8px; text-align: start; font: inherit; cursor: pointer; color: var(--bk-ink); }
.bq-lboven { display: flex; justify-content: space-between; gap: 6px; }
.bq-londer { margin-top: 2px; font-size: 12px; color: var(--bk-stil); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-mini { padding: 3px 8px; font-size: 12px; }

/* ------------------------------------------------------------------ het document (794 x 1123 px = A4 op 96 dpi) */
.bq-doc { --bq: #0f766e; position: relative; width: 794px; min-height: 1123px; padding: 54px 56px 34px; background: #fff; color: #1f2937; font: 12px/1.5 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 18px 40px rgba(15, 23, 42, .25), 0 2px 6px rgba(15, 23, 42, .15); overflow: hidden; }
.bq-doc::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 10px; background: var(--bq); }
[dir=rtl] .bq-doc::before { inset: 0 0 0 auto; }
.bq-kop { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.bq-van { display: flex; flex-direction: column; gap: 3px; max-width: 360px; }
.bq-logo { max-width: 190px; max-height: 74px; object-fit: contain; object-position: left center; display: block; margin-bottom: 8px; }
.bq-vnaam { font-size: 17px; font-weight: 800; color: #0f172a; }
.bq-klein { color: #64748b; font-size: 11px; white-space: pre-line; }
.bq-titelvak { text-align: end; }
.bq-titel { font-size: 36px; font-weight: 800; letter-spacing: .06em; color: var(--bq); text-transform: uppercase; line-height: 1.05; }
.bq-meta { margin-top: 12px; margin-inline-start: auto; border-collapse: collapse; }
.bq-meta td { padding: 2px 0; padding-inline-start: 16px; text-align: end; }
.bq-meta td:first-child { color: #64748b; }
.bq-meta td:last-child { font-weight: 700; color: #0f172a; }
.bq-aan { display: flex; gap: 18px; justify-content: space-between; align-items: stretch; }
.bq-adresvak { padding: 14px 18px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; min-width: 290px; white-space: pre-line; }
.bq-knaam { font-weight: 700; font-size: 14px; color: #0f172a; }
.bq-totvak { padding: 14px 20px; border-radius: 10px; background: color-mix(in srgb, var(--bq) 8%, #fff); border: 1.5px solid var(--bq); text-align: end; display: flex; flex-direction: column; justify-content: center; min-width: 200px; }
.bq-totgroot { font-size: 26px; font-weight: 800; color: var(--bq); line-height: 1.1; white-space: nowrap; }
.bq-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--bq); font-weight: 800; margin-bottom: 4px; }
.bq-onderwerp { font-size: 15px; font-weight: 700; color: #0f172a; }
.bq-intro { white-space: pre-line; font-size: 12.5px; }
.bq-tab { width: 100%; border-collapse: collapse; }
.bq-tab th { background: var(--bq); color: #fff; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; text-align: start; font-weight: 700; }
.bq-tab th:first-child { border-start-start-radius: 6px; }
.bq-tab th:last-child { border-start-end-radius: 6px; }
.bq-tab td { padding: 8px 10px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.bq-tab .g { text-align: end; white-space: nowrap; }
.bq-tab tbody tr:nth-child(even) td { background: #f8fafc; }
.bq-onder { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.bq-onderlinks { flex: 1; min-width: 0; }
.bq-voorwaarden { font-size: 10.5px; color: #334155; white-space: pre-line; padding: 10px 12px; border: 1px dashed #cbd5e1; border-radius: 8px; }
.bq-totalen { min-width: 310px; border-collapse: collapse; }
.bq-totalen td { padding: 5px 12px; }
.bq-totalen td:last-child { text-align: end; white-space: nowrap; font-weight: 600; }
.bq-totalen tr.stil td { color: #64748b; font-size: 11px; padding-top: 2px; padding-bottom: 2px; }
.bq-totalen tr.korting td { color: #be123c; }
.bq-totalen tr.groot td { background: var(--bq); color: #fff; font-size: 15px; font-weight: 800; padding: 10px 12px; }
.bq-totalen tr.groot td:first-child { border-start-start-radius: 8px; border-end-start-radius: 8px; }
.bq-totalen tr.groot td:last-child { border-start-end-radius: 8px; border-end-end-radius: 8px; }
.bq-akkoord { padding: 14px 18px; border-radius: 12px; border: 1.5px solid #cbd5e1; background: #fcfcfd; }
.bq-akkop { font-weight: 800; font-size: 13.5px; color: #0f172a; }
.bq-akuitleg { font-size: 11px; color: #64748b; margin: 2px 0 10px; }
.bq-akvakjes { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 12px; }
.bq-akvak { height: 62px; border-bottom: 1.5px solid #94a3b8; position: relative; }
.bq-akvak span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
.bq-voet { margin-top: auto; padding-top: 12px; border-top: 1px solid #e5e7eb; font-size: 10.5px; color: #64748b; text-align: center; }
@media print {
  #bk-afdruk .bq-doc { width: auto; min-height: 276mm; padding: 6px 0 0 18px; box-shadow: none; }
  #bk-afdruk, #bk-afdruk * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #bk-afdruk .bq-tab tr, #bk-afdruk .bq-onder, #bk-afdruk .bq-akkoord { break-inside: avoid; }
}
@media (min-width: 1180px) {
  .bq-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .bq-kant { position: sticky; top: 0; }
}
@media (max-width: 560px) { .bq-twee { grid-template-columns: 1fr; } .bq-akvakjes { grid-template-columns: 1fr; } }
/* 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; } }
