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

/* BusiIPLookup (01-12-2026): eigen stijl, voorvoegsel .il- */
.il-prive { margin: 0 0 8px; }
.il-invoer { padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #0f172a, #0e7490 70%, #0891b2); color: #fff; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 30px rgba(14, 116, 144, .25); }
.il-tip { margin: 0; font-size: 13px; color: #cffafe; }
.il-rij { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.il-veld { flex: 1 1 260px; min-width: 0; resize: vertical; padding: 12px 14px; border-radius: 12px; border: 0; font: 600 16px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; background: #fff; color: #0f172a; }
.il-knop { flex: 0 0 auto; padding: 12px 20px; border-radius: 12px; }
.il-snel { display: flex; flex-wrap: wrap; gap: 6px; }
.il-chip { padding: 4px 10px !important; border-radius: 999px !important; font: 12.5px ui-monospace, Consolas, monospace !important; }
.il-invoer .il-chip { background: rgba(255,255,255,.12) !important; color: #fff !important; border-color: rgba(255,255,255,.3) !important; }
.il-balk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 8px; }
.il-aantal { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 8px; background: #f1f5f9; color: #334155; }
.dk-label { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.dk-vb { background: #fef3c7; color: #92400e; }
.dk-live { background: #dcfce7; color: #166534; }

/* kaartjes */
.il-kaarten { display: flex; flex-direction: column; gap: 14px; }
.il-kaart { --il-k: #10b981; position: relative; background: #fff; border: 1px solid var(--bk-lijn); border-radius: 16px; padding: 18px 16px 14px; overflow: hidden; min-width: 0; animation: il-in .35s ease-out both; }
@keyframes il-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.il-kaart.il-publiek { --il-k: #10b981; } .il-kaart.il-eigen { --il-k: #3b82f6; } .il-kaart.il-cgnat { --il-k: #f59e0b; }
.il-kaart.il-lus { --il-k: #8b5cf6; } .il-kaart.il-speciaal { --il-k: #94a3b8; }
.il-strook { position: absolute; inset: 0 0 auto 0; height: 7px; background: linear-gradient(90deg, var(--il-k), color-mix(in srgb, var(--il-k) 40%, #fff)); }
.il-kop { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.il-ip { font: 800 22px ui-monospace, Consolas, monospace; overflow-wrap: anywhere; word-break: break-all; color: #0f172a; }
.il-tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f1f5f9; color: #334155; }
.il-tag.il-soort { background: var(--il-k); color: #fff; }
.il-kopieer { margin-inline-start: auto; padding: 4px 10px; }
.il-uitleg { white-space: pre-line; margin: 10px 0 6px; padding: 10px 12px; border-radius: 10px; background: #f8fafc; border-inline-start: 4px solid var(--il-k); }
.il-binnen { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.il-geenserver { margin: 4px 0 8px; }
.il-blokkop { margin: 8px 0 0; font-size: 13px; }
.il-blokkop code { font-family: ui-monospace, Consolas, monospace; }
.il-hoofd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 4px; }
.il-vlag { font-size: 30px; line-height: 1; }
.il-hnaam { font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.il-land { color: var(--bk-stil); font-weight: 600; }
.il-rooster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 10px 0; }
.il-feit { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: 8px 10px; min-width: 0; }
.il-fk { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--bk-stil); }
.il-fw { font-weight: 600; overflow-wrap: anywhere; }
.il-fw small { display: block; color: var(--bk-stil); font-weight: 400; font-size: 12px; margin-top: 2px; }
.il-mono .il-fw { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.il-abuse { color: #b91c1c; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.il-abuse:hover { text-decoration: underline; }
.il-m { margin: 8px 0; padding: 8px 12px; border-radius: 10px; background: #f8fafc; border-inline-start: 4px solid #94a3b8; }
.il-m.il-rood { background: #fef2f2; border-inline-start-color: #ef4444; }

/* bereik-balk (wow) */
.il-bereik { margin: 10px 0 4px; padding: 10px 12px 8px; border-radius: 12px; background: linear-gradient(180deg, #f8fafc, #fff); border: 1px solid #eef2f7; }
.il-spoor { position: relative; height: 14px; border-radius: 999px; background: repeating-linear-gradient(90deg, #e2e8f0 0 10px, #edf2f7 10px 20px); margin: 30px 4px 6px; direction: ltr; }
.il-vul { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--il-k) 35%, #fff), var(--il-k)); transition: width 1.1s cubic-bezier(.2, .9, .3, 1); }
.il-punt { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; border: 5px solid var(--il-k); box-shadow: 0 0 0 6px color-mix(in srgb, var(--il-k) 22%, transparent); transition: left 1.1s cubic-bezier(.2, .9, .3, 1), inset-inline-start 1.1s cubic-bezier(.2, .9, .3, 1); animation: il-pols 1.8s 1.2s ease-in-out infinite; }
@keyframes il-pols { 50% { box-shadow: 0 0 0 11px color-mix(in srgb, var(--il-k) 10%, transparent); } }
.il-plab { position: absolute; bottom: 20px; transform: translateX(-50%); font: 700 12px ui-monospace, Consolas, monospace; background: #0f172a; color: #fff; padding: 2px 7px; border-radius: 6px; white-space: nowrap; transition: left 1.1s cubic-bezier(.2, .9, .3, 1), inset-inline-start 1.1s cubic-bezier(.2, .9, .3, 1); max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.il-plab:not(.rechts) { transform: translateX(-12px); }
.il-plab.rechts { transform: translateX(calc(-100% + 12px)); }
.il-uiteinden { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--bk-stil); direction: ltr; }
.il-uiteinden code { font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.il-plek { margin-top: 4px; }

/* zwarte lijsten */
.il-bl { margin-top: 10px; }
.il-bl h4 { margin: 0 0 6px; font-size: 13px; }
.il-blzin { margin: 0 0 6px; font-weight: 700; }
.il-blzin.groen { color: #047857; } .il-blzin.rood { color: #b91c1c; }
.il-blchips { display: flex; flex-wrap: wrap; gap: 6px; }
.il-blchip { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid; }
.il-blchip.groen { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.il-blchip.rood { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.il-blchip.oranje { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.il-blchip.grijs { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }

/* tabel */
.il-tabelvak { margin-top: 18px; }
.il-tkop { margin: 0 0 8px; font-size: 15px; }
.il-scroll { overflow-x: auto; border: 1px solid var(--bk-lijn); border-radius: 12px; background: #fff; }
.il-tabel { border-collapse: collapse; width: 100%; font-size: 13px; }
.il-tabel th, .il-tabel td { padding: 6px 10px; text-align: start; border-bottom: 1px solid #eef2f7; white-space: nowrap; }
.il-tabel th { background: #f8fafc; font-size: 12px; }
.il-tabel tr td:first-child { border-inline-start: 4px solid #94a3b8; }
.il-tabel tr.il-publiek td:first-child { border-inline-start-color: #10b981; } .il-tabel tr.il-eigen td:first-child { border-inline-start-color: #3b82f6; }
.il-tabel tr.il-cgnat td:first-child { border-inline-start-color: #f59e0b; } .il-tabel tr.il-lus td:first-child { border-inline-start-color: #8b5cf6; }
.il-mono { font-family: ui-monospace, Consolas, monospace; }
.il-csv { margin-top: 8px; }

/* paneel */
.il-regels { white-space: pre-line; }
.il-legenda { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.il-bol { width: 14px; height: 14px; border-radius: 50%; background: #94a3b8; }
.il-bol.il-publiek { background: #10b981; } .il-bol.il-eigen { background: #3b82f6; } .il-bol.il-cgnat { background: #f59e0b; } .il-bol.il-speciaal { background: #94a3b8; }

@media (max-width: 560px) { .il-ip { font-size: 18px; } .il-rooster { grid-template-columns: 1fr 1fr; } .il-knop { flex: 1 1 100%; } }
@media (max-width: 380px) { .il-rooster { grid-template-columns: 1fr; } }
