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

/* BusiPOS (26-11-2026): kassa op gsm en tablet. Alles groot genoeg voor een duim (knoppen minstens 52 px hoog). */
.bp { --bp-accent: #f59e0b; --bp-vlak: #151a33; --bp-vlak2: #1e2547; --bp-lijn: #2e3766; --bp-inkt: #f1f5f9; --bp-stil: #9aa5c7; --bp-groen: #22c55e; --bp-rood: #ef4444;
  color: var(--bp-inkt); font-size: 16px; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #0b0f24; -webkit-tap-highlight-color: transparent; user-select: none; }
/* in de kassa: geen kopbalk, voet of BusiBot over de knoppen; de knop ☰ toont ze weer */
body.bp-app:not(.bp-metkop) .bk-top, body.bp-app .bk-uitleg, body.bp-app:not(.bp-metkop) #bvFoot, body.bp-app:not(.bp-metkop) #bvb-knop { display: none !important; }
body.bp-app { background: #0b0f24 !important; overscroll-behavior: none; }
/* 27-11-2026: de kassa blijft altijd donker en rustig, welk thema het lid ook koos; en ze krijgt de volle breedte (het raster van de kit hield 320 px vrij voor de uitleg) */
html:has(> body.bp-app) { background: #0b0f24 !important; }
body.bp-app > canvas.bt-vlak { display: none !important; }
body.bp-app #bk-app { display: block !important; }
.bp button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
.bp-kn { border: 1px solid var(--bp-lijn); background: var(--bp-vlak2); color: var(--bp-inkt); border-radius: 14px; padding: 10px 14px; font-weight: 700; white-space: pre-line; line-height: 1.2; }
.bp-kn:active { transform: scale(.97); filter: brightness(1.25); }
.bp-kn:disabled { opacity: .45; }
.bp-groot { min-height: 56px; font-size: 17px; padding: 12px 18px; }
.bp-hoofd { background: var(--bp-accent); border-color: var(--bp-accent); color: #111827; }
.bp-kn.breed { width: 100%; }
.bp-kn.aan { outline: 3px solid var(--bp-accent); outline-offset: -3px; }
.bp-stop { background: var(--bp-rood); border-color: var(--bp-rood); color: #fff; }
.bp-klein { color: var(--bp-stil); font-size: 13.5px; margin: 0; white-space: pre-line; }
.bp-uitleg { color: var(--bp-stil); margin: 6px 0 12px; white-space: pre-line; line-height: 1.5; }
.bp-waarsch { color: #fbbf24; margin: 6px 0; }
.bp-tussenkop { margin: 16px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--bp-stil); }
.bp-teller { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--bp-rood); color: #fff; font: 700 13px/24px system-ui; text-align: center; font-style: normal; }

/* kop en tabbladen */
.bp-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--bp-vlak); border-bottom: 3px solid var(--bp-accent); position: sticky; top: 0; z-index: 12; }
.bp-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; flex: none; }
.bp-logo.leeg { display: grid; place-items: center; font-size: 24px; background: var(--bp-vlak2); }
.bp-zaak { flex: 1; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-stip { width: 12px; height: 12px; border-radius: 50%; background: var(--bp-groen); flex: none; }
.bp-stip.uit { width: auto; height: auto; padding: 4px 10px; background: var(--bp-rood); color: #fff; border-radius: 99px; font-size: 13px; font-weight: 700; }
.bp-wie { border: 1px solid var(--bp-lijn); background: var(--bp-vlak2); border-radius: 10px; padding: 8px 10px; font-weight: 600; min-height: 40px; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-tabs { display: flex; gap: 6px; padding: 8px 10px; background: var(--bp-vlak); overflow-x: auto; position: sticky; top: 59px; z-index: 11; }
.bp-tab { position: relative; flex: 1 0 auto; min-width: 72px; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px solid var(--bp-lijn); background: var(--bp-vlak2); border-radius: 12px; padding: 6px 10px; }
.bp-tab span { font-size: 22px; line-height: 1; } .bp-tab b { font-size: 13px; }
.bp-tab.aan { background: var(--bp-accent); border-color: var(--bp-accent); color: #111827; }
.bp-lijf { flex: 1; padding: 12px; max-width: 1280px; width: 100%; margin: 0 auto; }

/* chips */
.bp-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.bp-chip { flex: none; min-height: 48px; padding: 8px 16px; border-radius: 99px; border: 2px solid var(--k, var(--bp-lijn)); background: var(--bp-vlak2); font-weight: 700; white-space: nowrap; }
.bp-chip.aan { background: var(--k, var(--bp-accent)); border-color: var(--k, var(--bp-accent)); color: #fff; outline: none; }
.bp-chip.aan:not([style]) { color: #111827; }

/* tafels */
.bp-tafels { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.bp-tafel { position: relative; min-height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 16px; border: 2px solid var(--bp-lijn); background: var(--bp-vlak); padding: 8px; }
.bp-tafel b { font-size: 28px; line-height: 1.05; overflow-wrap: anywhere; text-align: center; } .bp-tafel.los b { font-size: 18px; }
.bp-tafel.bezet { background: #14532d; border-color: var(--bp-groen); }
.bp-tafel.vraagt { background: #7c2d12; border-color: #fb923c; animation: bp-knipper 1.2s infinite alternate; }
@keyframes bp-knipper { to { filter: brightness(1.35); } }
.bp-tbedrag { font-weight: 800; font-size: 16px; } .bp-ttijd { font-size: 12.5px; color: #cbd5e1; }
.bp-tspel { position: absolute; top: 4px; inset-inline-end: 6px; font-size: 18px; }
.bp-knoprij { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; align-items: center; }
.bp-knoprij > * { flex: 1 1 160px; }

/* rekening */
.bp-rekkop { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bp-terug { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--bp-lijn); background: var(--bp-vlak2); font-size: 24px; flex: none; padding: 0; }
.bp-reknaam { flex: 1; font-size: 22px; } .bp-rektotaal { font-size: 22px; font-weight: 800; color: var(--bp-accent); }
.bp-wissel { display: flex; gap: 8px; margin-bottom: 8px; } .bp-wissel .bp-chip { flex: 1; }
.bp-tweedelig { display: block; padding-bottom: 90px; }
.bp-rek[data-zijde=kaart] .bp-lijst, .bp-rek[data-zijde=rek] .bp-kaart { display: none; }
.bp-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.bp-prod { position: relative; min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 6px; border-radius: 14px; border: 0; border-bottom: 5px solid var(--k); background: var(--bp-vlak2); text-align: center; }
.bp-picoon { font-size: 22px; line-height: 1; } .bp-picoon:empty { display: none; }
.bp-pnaam { font-weight: 700; font-size: 15px; line-height: 1.15; overflow-wrap: anywhere; } .bp-pprijs { font-size: 13.5px; color: var(--bp-stil); }
.bp-regel { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--bp-lijn); }
.bp-regel.nieuw { background: rgba(245, 158, 11, .12); border-radius: 10px; padding: 6px; margin-bottom: 4px; border: 1px solid var(--bp-accent); }
.bp-regel.loopt { background: rgba(124, 58, 237, .18); border-radius: 10px; padding: 6px; border: 1px solid #7c3aed; }
.bp-pm { width: 48px; height: 48px; border-radius: 12px; font-size: 24px; padding: 0; flex: none; }
.bp-n { min-width: 34px; text-align: center; font-size: 18px; flex: none; }
.bp-rnaam { flex: 1; text-align: start; border: 0; background: transparent; padding: 8px 4px; font-weight: 600; min-height: 48px; }
.bp-rprijs { font-weight: 700; white-space: nowrap; }
.bp-totalen { margin: 12px 0; } .bp-totrij { display: flex; justify-content: space-between; padding: 4px 0; color: var(--bp-stil); }
.bp-totrij.groot { font-size: 24px; font-weight: 800; color: var(--bp-inkt); border-top: 2px solid var(--bp-lijn); padding-top: 10px; margin-top: 6px; }
.bp-acties { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .bp-acties .breed { grid-column: 1 / -1; min-height: 68px; font-size: 20px; }
.bp-onderbalk { position: fixed; left: 0; right: 0; bottom: 0; z-index: 14; display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bp-vlak); border-top: 2px solid var(--bp-accent); }
.bp-onderbalk.vol { display: flex; } .bp-onderbalk .bp-hoofd { flex: 1; font-size: 19px; min-height: 60px; }
.bp-mandknop { min-height: 60px; font-size: 17px; white-space: nowrap; }

/* spelen */
.bp-spelen { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.bp-spel { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border-radius: 18px; border: 2px solid var(--bp-lijn); background: var(--bp-vlak); text-align: center; }
.bp-spel.loopt { border-color: #a78bfa; background: #2e1065; }
.bp-spelicoon { font-size: 40px; line-height: 1; } .bp-spelnaam { font-size: 19px; }
.bp-speltijd { font: 800 36px/1 ui-monospace, monospace; } .bp-spelprijs { font-size: 22px; font-weight: 800; color: var(--bp-accent); }
.bp-spel .bp-groot { width: 100%; margin-top: 4px; }

/* bar en keuken */
.bp-bons { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.bp-kbon { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 16px; background: var(--bp-vlak); border: 2px solid var(--bp-lijn); border-top: 8px solid #0ea5e9; }
.bp-kbon.keuken { border-top-color: #ea580c; }
.bp-kbonkop { display: flex; justify-content: space-between; align-items: baseline; font-size: 22px; } .bp-kbonkop span { font-size: 15px; color: var(--bp-stil); } .bp-kbonkop .laat { color: #f87171; font-weight: 800; }
.bp-kregel { font-size: 19px; font-weight: 700; } .bp-kopm { color: #fbbf24; font-weight: 700; padding-inline-start: 14px; }
.bp-kbon .bp-groot { margin-top: 8px; }

/* vensters */
.bp-achter { position: fixed; inset: 0; z-index: 60; background: rgba(3, 6, 20, .72); display: flex; align-items: flex-end; justify-content: center; }
.bp-venster { --bp-accent: #f59e0b; --bp-vlak: #151a33; --bp-vlak2: #1e2547; --bp-lijn: #2e3766; --bp-inkt: #f1f5f9; --bp-stil: #9aa5c7; --bp-groen: #22c55e; --bp-rood: #ef4444;
  width: 100%; max-width: 520px; max-height: 94dvh; display: flex; flex-direction: column; background: var(--bp-vlak); color: var(--bp-inkt); border-radius: 22px 22px 0 0; font-size: 16px; user-select: none; }
.bp-venster.breed { max-width: 640px; }
.bp-venster button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
.bp-vkop { display: flex; align-items: center; gap: 10px; padding: 14px 16px 6px; } .bp-vkop h2 { flex: 1; margin: 0; font-size: 19px; line-height: 1.25; }
.bp-x { width: 48px; height: 48px; border-radius: 12px; padding: 0; font-size: 18px; flex: none; }
.bp-vlijf { padding: 8px 16px; overflow-y: auto; } .bp-vvoet { display: flex; gap: 10px; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); } .bp-vvoet > * { flex: 1; } .bp-vvoet:empty { padding: 6px; }
.bp-kieslijst { display: flex; flex-direction: column; gap: 8px; } .bp-kieslijst .bp-kn { text-align: start; }
.bp-veld { width: 100%; min-height: 52px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--bp-lijn); background: #0b0f24; color: var(--bp-inkt); font: inherit; user-select: text; }
.bp-veld.groot { font-size: 22px; min-height: 60px; } textarea.bp-veld { min-height: 84px; resize: vertical; }
.bp-betaalnaam { margin: 0 0 8px; color: var(--bp-stil); } .bp-bedrag { font-size: 44px; font-weight: 800; text-align: center; margin: 6px 0 12px; color: var(--bp-accent); }
.bp-wijzen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.bp-wijze { min-height: 76px; font-size: 14px; padding: 6px 4px; } .bp-wijze::first-line { font-size: 24px; }
.bp-wijze.aan { background: var(--bp-accent); border-color: var(--bp-accent); color: #111827; outline: none; }
.bp-wissel-terug { font-size: 24px; font-weight: 800; text-align: center; padding: 10px; border-radius: 12px; background: #14532d; margin: 4px 0 10px; }
.bp-personen { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 20px; margin: 8px 0; }
.bp-splits { margin-bottom: 8px; }
.bp-venster .bp-chip.aan { color: #111827; }
#bp-meld { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 80; background: #22c55e; color: #052e16; font: 700 16px system-ui; padding: 12px 18px; border-radius: 14px; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: 92vw; text-align: center; }
#bp-meld.zicht { opacity: 1; } #bp-meld.fout { background: #ef4444; color: #fff; }

/* pincode */
.bp-start { max-width: 560px; margin: 0 auto; } .bp-start h1 { font-size: 26px; margin: 8px 0; }
.bp-pin { max-width: 320px; margin: 10px auto; } .bp-pinbol { display: flex; justify-content: center; gap: 12px; margin: 14px 0 20px; }
.bp-pinbol span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--bp-stil); } .bp-pinbol span.vol { background: var(--bp-accent); border-color: var(--bp-accent); }
.bp-pintoets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .bp-cijfer { min-height: 72px; font-size: 28px; border-radius: 18px; }

/* beheer */
.bp-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 14px; }
.bp-menuknop { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; border-radius: 18px; }
.bp-menuicoon { font-size: 34px; line-height: 1; } .bp-menuknop b { font-size: 16px; }
.bp-menuknop.aan { background: var(--bp-accent); border-color: var(--bp-accent); color: #111827; outline: none; }
.bp-gks { margin-top: 18px; }
.bp-brij { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; padding: 10px; margin-bottom: 8px; border-radius: 14px; background: var(--bp-vlak); border: 1px solid var(--bp-lijn); }
.bp-bveld { display: flex; flex-direction: column; gap: 3px; flex: 1 1 110px; font-size: 12.5px; color: var(--bp-stil); margin-bottom: 8px; }
.bp-brij .bp-bveld { margin: 0; } .bp-bveld.breed { flex: 3 1 200px; } .bp-bveld.smal { flex: 0 0 72px; }
.bp-bveld input[type=color] { width: 100%; height: 52px; border-radius: 12px; border: 1px solid var(--bp-lijn); background: #0b0f24; padding: 4px; }
.bp-vink { width: 30px; height: 30px; accent-color: var(--bp-accent); margin: 11px 0; }
.bp-vinkrij { flex-direction: row; align-items: center; gap: 10px; font-size: 16px; color: var(--bp-inkt); }
.bp-weg { width: 52px; height: 52px; padding: 0; border-radius: 12px; flex: none; font-size: 18px; }
.bp-stafnaam { flex: 1; font-size: 18px; align-self: center; }
.bp-logorij { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; } .bp-kolom { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bp-logovak { width: 104px; height: 104px; border-radius: 18px; background: #fff; display: grid; place-items: center; font-size: 40px; overflow: hidden; flex: none; } .bp-logovak img { width: 100%; height: 100%; object-fit: contain; }
.bp-qr { display: block; margin: 8px auto; border-radius: 14px; max-width: 280px; width: 100%; height: auto; image-rendering: pixelated; }
.bp-beheer > .bp-kn.breed { margin-top: 10px; }

/* dagrapport */
.bp-rapport { background: var(--bp-vlak); border: 1px solid var(--bp-lijn); border-radius: 16px; padding: 14px; } .bp-rapport h2 { margin: 0 0 10px; font-size: 19px; }
.bp-cijfers { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 10px; }
.bp-cijfer-tegel { padding: 10px; border-radius: 12px; background: var(--bp-vlak2); display: flex; flex-direction: column; } .bp-cijfer-tegel span { font-size: 12.5px; color: var(--bp-stil); } .bp-cijfer-tegel b { font-size: 22px; }
.bp-tabel { width: 100%; border-collapse: collapse; margin: 12px 0; } .bp-tabel caption { text-align: start; font-weight: 800; padding: 6px 0; color: var(--bp-accent); }
.bp-tabel td { padding: 6px 4px; border-top: 1px solid var(--bp-lijn); } .bp-tabel td.r { text-align: end; white-space: nowrap; }
.bp-bonlijst { display: flex; flex-direction: column; gap: 6px; } .bp-bonrij { text-align: start; min-height: 56px; }

/* de bon op het scherm en op papier */
.bp-bon { background: #fff; color: #111; border-radius: 10px; padding: 14px 12px; max-width: 320px; margin: 0 auto; user-select: text; }
.bp-bon pre { margin: 0; font: 12.5px/1.35 ui-monospace, "Courier New", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.bp-bon pre.groot { font-size: 17px; font-weight: 700; } .bp-bon pre.midden { text-align: center; } .bp-bon pre.vet { font-weight: 700; }
.bp-bonlogo { display: block; max-width: 120px; max-height: 80px; margin: 0 auto 8px; }
#bk-afdruk .bp-bon { border-radius: 0; padding: 0; margin: 0; max-width: none; }
#bk-afdruk .bp-rapport, #bk-afdruk .bp-rapport * { background: #fff !important; color: #111 !important; border-color: #999 !important; }

/* een gast roept of bestelt (QR op tafel) */
.bp-tafel.roept { outline: 4px solid #38bdf8; outline-offset: 2px; animation: bp-knipper 1s infinite alternate; }
.bp-bel { position: absolute; top: -8px; inset-inline-start: -8px; width: 30px; height: 30px; border-radius: 50%; background: #38bdf8; display: grid; place-items: center; font-size: 16px; font-style: normal; }
.bp-wachtlijst { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 14px; }
.bp-wacht { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 16px; background: #0c4a6e; border: 2px solid #38bdf8; }
.bp-wacht .bp-knoprij { margin: 8px 0 0; } .bp-wacht .bp-knoprij > * { flex: 1 1 90px; }

/* plattegrond: tafels op hun plaats (x en y in procenten van het vlak) */
.bp-plan { position: relative; width: min(100%, 70dvh * 4 / 3); aspect-ratio: 4 / 3; margin: 0 auto 12px; border-radius: 16px; border: 2px dashed var(--bp-lijn); background: var(--bp-vlak); container-type: inline-size; }
.bp-plan .bp-tafel { position: absolute; transform: translate(-50%, -50%); width: 13%; min-height: 0; aspect-ratio: 1; padding: 2px; gap: 0; border-radius: 12%; }
.bp-plan .bp-tafel.v-rond { border-radius: 50%; } .bp-plan .bp-tafel.v-lang { width: 22%; aspect-ratio: 2 / 1; }
.bp-plan .bp-tafel b { font-size: 4.6cqw; } .bp-plan .bp-tbedrag { font-size: 2.5cqw; } .bp-plan .bp-ttijd { font-size: 2.1cqw; } .bp-plan .bp-tspel { font-size: 2.6cqw; top: 0; }
.bp-plan .bp-bel { width: 5cqw; height: 5cqw; font-size: 2.8cqw; top: -1.5cqw; inset-inline-start: -1.5cqw; }
.bp-plan.bewerk { touch-action: none; background-image: linear-gradient(var(--bp-lijn) 1px, transparent 1px), linear-gradient(90deg, var(--bp-lijn) 1px, transparent 1px); background-size: 10% 10%; }
.bp-plan.bewerk .bp-tafel { cursor: grab; touch-action: none; } .bp-plan.bewerk .bp-tafel.sleep { cursor: grabbing; border-color: var(--bp-accent); z-index: 2; }

/* op een gsm: tafels op het plan groot genoeg voor een duim */
@media (max-width: 600px) { .bp-plan .bp-tafel { width: 16%; } .bp-plan .bp-tafel.v-lang { width: 27%; } .bp-plan .bp-tafel b { font-size: 5.4cqw; } .bp-plan .bp-tbedrag { font-size: 3cqw; } .bp-plan .bp-ttijd { font-size: 2.6cqw; } }

/* de gast aan tafel */
.bp-gasttafel { background: var(--bp-accent); color: #111827; font-weight: 800; padding: 6px 12px; border-radius: 99px; white-space: nowrap; }
.bp-gast .bp-lijf { max-width: 720px; padding-bottom: 110px; } .bp-gast .bp-knoprij { margin-top: 0; }
.bp-gast .bp-prod.kijk { cursor: default; } .bp-gast .bp-onderbalk .bp-hoofd { width: 100%; }
.bp-gastwacht { padding: 12px; border-radius: 14px; background: #0c4a6e; border: 1px solid #38bdf8; margin-bottom: 10px; }
.bp-gastrek { margin-top: 18px; padding: 12px; border-radius: 16px; background: var(--bp-vlak); border: 1px solid var(--bp-lijn); } .bp-gastrek .bp-totrij { color: var(--bp-inkt); }
.bp-kieslijst .bp-kn.aan { background: var(--bp-accent); border-color: var(--bp-accent); color: #111827; outline: none; }

/* QR-kaartjes voor op tafel (afdrukken: 3 naast elkaar op A4) */
.bp-qrvel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
.bp-qrkaart { display: flex; flex-direction: column; align-items: center; gap: 2mm; padding: 5mm 3mm; border: 0.3mm dashed #999; border-radius: 3mm; text-align: center; break-inside: avoid; background: #fff; color: #111; font: 11pt system-ui, sans-serif; }
.bp-qrkaart img { width: 42mm; height: 42mm; image-rendering: pixelated; } .bp-qrkaart img.bp-qrlogo { width: auto; height: 14mm; max-width: 40mm; image-rendering: auto; }
.bp-qrzaak { font-size: 12pt; } .bp-qrtafel { font-size: 20pt; }

/* tablet en breder: kaart en rekening naast elkaar */
@media (min-width: 860px) {
  .bp-wissel { display: none; }
  .bp-tweedelig { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
  .bp-rek[data-zijde] .bp-kaart, .bp-rek[data-zijde] .bp-lijst { display: block; }
  .bp-lijst { background: var(--bp-vlak); border: 1px solid var(--bp-lijn); border-radius: 16px; padding: 12px; position: sticky; top: 140px; max-height: calc(100dvh - 240px); overflow-y: auto; }
  .bp-prods { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); } .bp-prod { min-height: 104px; } .bp-pnaam { font-size: 16px; }
  .bp-tafels { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); } .bp-tafel { min-height: 120px; }
  .bp-achter { align-items: center; } .bp-venster { border-radius: 22px; }
  .bp-mandknop { display: none; } .bp-onderbalk { left: auto; width: 412px; right: max(0px, calc((100vw - 1280px) / 2)); border-radius: 16px 16px 0 0; border: 2px solid var(--bp-accent); border-bottom: 0; }
}

/* voorraad (27-11-2026) */
.bp-vr { position: absolute; bottom: 4px; inset-inline-start: 6px; padding: 0 6px; border-radius: 99px; background: rgba(0, 0, 0, .45); color: #fff; font: 700 11px/18px system-ui; font-style: normal; }
.bp-vr.laag { background: #f59e0b; color: #1b1300; } .bp-vr.op { background: var(--bp-rood); }
.bp-prod.isop { opacity: .45; cursor: default; }
.bp-vrrij { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bp-vrnaam { display: flex; align-items: center; gap: 10px; flex: 1 1 180px; min-height: 44px; font-weight: 600; }
.bp-vrtal { min-width: 52px; text-align: center; font-size: 20px; padding: 4px 8px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.bp-vrtal.laag { background: #f59e0b; color: #1b1300; } .bp-vrtal.op { background: var(--bp-rood); color: #fff; }
.bp-vrlaag { padding: 10px 12px; border-radius: 12px; background: rgba(245, 158, 11, .16); border: 1px solid rgba(245, 158, 11, .5); }

/* betaal-QR (27-11-2026) */
.bp-midden { text-align: center; white-space: pre-line; }
.bp-kopieer { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 6px; padding: 8px 12px; text-align: start; background: var(--bp-vlak2); border: 1px solid var(--bp-lijn); border-radius: 12px; color: var(--bp-inkt); }
.bp-kopieer b { overflow-wrap: anywhere; }
