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

/* BusiStreet (24-11-2026): zoekbalk boven, straatfoto groot, kaart ernaast (op een gsm eronder). Voorvoegsel bs-. */
.bk-werk.bs-werk { padding: 12px; gap: 10px; overflow: hidden; }
.bs-zoek { position: relative; flex: none; z-index: 6; }
.bs-zoek[hidden] { display: none; }
.bs-loep { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 18px; }
.bs-invoer.bk-veld { width: 100%; font-size: 18px; padding: 13px 16px; padding-inline-start: 46px; border-radius: 14px; border-width: 2px; }
.bs-invoer.bk-veld:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(59,130,246,.25); }
.bs-lijst { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #0f172a; border: 1px solid rgba(148,163,184,.35); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.55); }
.bs-lijst[hidden] { display: none; }
.bs-optie { display: block; width: 100%; text-align: start; border: 0; background: transparent; color: #e5e7eb; font: inherit; padding: 10px 14px; cursor: pointer; }
.bs-optie:hover, .bs-optie.aan { background: rgba(59,130,246,.25); }

.bs-vlak { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 10px; }
.bs-kijk, .bs-kaart { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(148,163,184,.3); background: #020617; min-height: 0; }
.bs-kijk:fullscreen { border-radius: 0; border: 0; }
.bs-plat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #020617; user-select: none; }
.bs-plat[hidden], .bs-bolkijker[hidden] { display: none; }
.bs-bolkijker { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.bs-bolkijker:active { cursor: grabbing; }
.bs-chip { position: absolute; inset-inline-start: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 5px 10px; border-radius: 999px; background: rgba(2,6,23,.78); color: #e5e7eb; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-chip:empty { display: none; }
.bs-chip a { color: #93c5fd; }
.bs-tip { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(37,99,235,.9); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; white-space: nowrap; animation: bs-weg 6s forwards; }
.bs-tip[hidden] { display: none; }
@keyframes bs-weg { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.bs-draai { position: absolute; top: 10px; inset-inline-end: 58px; padding: 5px 10px; border-radius: 999px; background: rgba(2,6,23,.78); color: #e5e7eb; font-size: 12px; }
.bs-draai[hidden] { display: none; }
.bs-rond { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(2,6,23,.72); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.bs-rond:hover { background: rgba(37,99,235,.9); }
.bs-rond[hidden] { display: none; }
.bs-vorige { inset-inline-start: 10px; top: 50%; transform: translateY(-50%); }
.bs-volgende { inset-inline-end: 10px; top: 50%; transform: translateY(-50%); }
.bs-groot { inset-inline-end: 10px; top: 10px; width: 38px; height: 38px; font-size: 18px; }
.bs-leeg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: radial-gradient(circle at 50% 30%, #172554, #020617 70%); color: #e5e7eb; }
.bs-leeg[hidden] { display: none; }
.bs-leeg h2 { margin: 0; font-size: 20px; }
.bs-leeg p { margin: 0; color: #9aa4b8; max-width: 420px; }
.bs-leeg a { text-decoration: none; }
.bs-leegicoon { font-size: 48px; line-height: 1; }

/* de kaart */
.bs-kaart { cursor: grab; touch-action: none; user-select: none; background: #0b1220; }
.bs-kaart:active { cursor: grabbing; }
.bs-tegels, .bs-boven { position: absolute; inset: 0; }
.bs-tegels img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.bs-boven { pointer-events: none; }
.bs-bol { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: #2563eb; cursor: pointer; pointer-events: auto; box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.bs-bol:hover { background: #f59e0b; }
.bs-bol.aan { background: #f59e0b; z-index: 2; }
.bs-speld { position: absolute; left: -11px; top: -27px; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #ef4444; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.55); pointer-events: none; z-index: 3; }
.bs-speld[hidden] { display: none; }
.bs-speld.bs-doel { background: #22c55e; }
.bs-lijn { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bs-lijn line { stroke: #111827; stroke-width: 3; stroke-dasharray: 7 6; }
.bs-zoom { position: absolute; inset-inline-end: 10px; top: 10px; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.45); z-index: 4; }
.bs-zoom button { width: 38px; height: 38px; border: 0; background: #fff; color: #0f172a; font-size: 22px; font-weight: 700; cursor: pointer; }
.bs-zoom button + button { border-top: 1px solid #cbd5e1; }
.bs-zoom button:hover { background: #dbeafe; }
.bs-bron { position: absolute; inset-inline-end: 0; bottom: 0; padding: 2px 7px; background: rgba(255,255,255,.85); color: #0f172a; font-size: 11px; text-decoration: none; border-start-start-radius: 6px; z-index: 4; }

.bs-zaak { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: linear-gradient(145deg, #fbbf24, #d97706); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; pointer-events: auto; box-shadow: 0 2px 8px rgba(0,0,0,.55); z-index: 2; }
.bs-zaak:hover { background: #7c3aed; }

/* het paneel */
.bs-paneel { display: flex; flex-direction: column; gap: 14px; }
.bs-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk-knop.bs-tab.aan { background: #2563eb; border-color: #60a5fa; color: #fff; }
.bs-naam { margin: 0 0 2px; font-weight: 700; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.bs-link { display: block; text-align: center; text-decoration: none; margin-top: 8px; box-sizing: border-box; }
.bs-paneel .bk-blok > .bk-knop, .bs-paneel .bk-blok > .bk-hoofdknop { margin-top: 8px; }
.bs-bezig { margin: 8px 0; color: #93c5fd; font-weight: 600; }
.bs-gids { background: rgba(37,99,235,.14); border: 1px solid rgba(96,165,250,.4); border-radius: 12px; padding: 12px 14px; }
.bs-gids h4 { margin: 0 0 6px; font-size: 16px; }
.bs-gids h5 { margin: 12px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #93c5fd; }
.bs-gids p { margin: 0; line-height: 1.5; }
.bs-gids ul { margin: 0; padding-inline-start: 18px; line-height: 1.5; }
.bs-score { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: rgba(37,99,235,.18); border: 1px solid rgba(96,165,250,.4); margin-bottom: 8px; }
.bs-score b { font-size: 26px; }
.bs-uitslag { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; background: rgba(34,197,94,.16); border: 1px solid rgba(74,222,128,.45); }
.bs-uitslag b { font-size: 24px; color: #86efac; }
.bs-eind { font-size: 18px; font-weight: 700; margin: 12px 0 2px; }

@media (max-width: 860px) {
  .bk-vol .bk-links:has(.bs-werk) { height: 86vh; min-height: 520px; }
  .bs-vlak { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1.5fr) minmax(0, 1fr); }
  .bs-invoer.bk-veld { font-size: 16px; }
}

/* welkomvenster bij het eerste bezoek */
.bs-welkom { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(2,6,23,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bs-welkomkaart { width: min(460px, 100%); max-height: 100%; overflow: auto; padding: 26px 24px 22px; border-radius: 22px; background: linear-gradient(160deg, #1e3a8a, #0f172a 60%); border: 1px solid rgba(96,165,250,.5); box-shadow: 0 30px 80px rgba(0,0,0,.6); color: #f1f5f9; text-align: center; animation: bs-op .35s ease-out; }
@keyframes bs-op { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.bs-welkomicoon { font-size: 48px; line-height: 1; }
.bs-welkomkaart h2 { margin: 8px 0 16px; font-size: 24px; }
.bs-welkomkaart ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: start; }
.bs-welkomkaart li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.07); line-height: 1.4; }
.bs-welkomkaart li span:first-child { font-size: 20px; line-height: 1.2; flex: none; }

/* zaken van leden: lijst in de buurt, eigen zaak, ledenspel */
.bs-tabs.bs-drie { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.bs-tabs.bs-drie .bk-knop { padding-inline: 4px; font-size: 13px; }
.bs-zaakrij { display: block; width: 100%; text-align: start; margin-top: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(251,191,36,.45); background: rgba(251,191,36,.1); color: inherit; font: inherit; cursor: pointer; }
.bs-zaakrij:hover { background: rgba(251,191,36,.22); }
.bs-zaakrij b { display: block; overflow-wrap: anywhere; }
.bs-zaakrij span { display: block; font-size: 13px; color: #cbd5e1; overflow-wrap: anywhere; }
.bs-zaakrij em { font-style: normal; font-size: 12px; color: #fbbf24; }
.bs-vorm { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.bs-vorm input[type=text], .bs-vorm input[type=url] { width: 100%; box-sizing: border-box; }
.bs-vink { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; }
.bs-vink input { margin-top: 3px; flex: none; }
.bs-mijnrij { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.06); }
.bs-mijnrij b { overflow-wrap: anywhere; }
.bs-mijnrij button { flex: none; }
.bs-vraag { font-size: 18px; font-weight: 700; margin: 0 0 4px; overflow-wrap: anywhere; }
.bs-zaakdeel[hidden] { display: none; }
