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

/* BusiPetition (27-11-2026): eigen stijl, voorvoegsel .bp- (komt achter kit.css; de site legt busikit-donker.css en BusiThema erover).
   Tekst en vlakken gebruiken de kleurvariabelen van de kit (leesbaar in licht en donker); een vlak in de petitiekleur (--pk)
   krijgt altijd zijn eigen tekstkleur (--pkt, berekend op contrast). Papier (affiche, lijsten) heeft vaste kleuren. */
.bk [hidden] { display: none !important; }
.bp-publiek .bk-uitleg { display: none; }
.bp-stil { margin: 0; color: var(--bk-stil); }
.bp-regels { white-space: pre-line; }
.bp-laden { font-size: 40px; text-align: center; margin: 40px auto; animation: bp-draai 1.4s linear infinite; }
@keyframes bp-draai { to { transform: rotate(360deg); } }
.bp-werkvak { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.bp-band { margin: 0; padding: 9px 12px; border-radius: 10px; border: 1px dashed var(--bk-lijn); background: var(--bk-vlak); }
.bp-h3 { margin: 6px 0 0; font-size: 16px; }
.bp-blokje { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--bk-lijn); border-radius: 14px; background: var(--bk-vlak); }
.bp-blokje h3 { margin: 0; font-size: 16px; }
.bp-rijveld { display: flex; gap: 8px; max-width: 320px; }
.bp-rijveld .bk-veld { flex: 1; min-width: 0; }
.bp-tekstknop { align-self: flex-start; border: 0; background: none; padding: 4px 0; font: inherit; font-size: 13px; color: var(--bk-accent2); text-decoration: underline; cursor: pointer; text-align: start; }
.bp-tekstknop.gevaar { color: var(--bk-fout); margin-top: 6px; }
.bp-klein { padding: 4px 10px; font-size: 12.5px; align-self: flex-start; }

/* ---------------------------------------------------------------- de openbare pagina */
.bp-vak, .bp-boven { width: 100%; max-width: 780px; margin: 0 auto; }
.bp-boven:empty { display: none; }
.bp-boven { margin-bottom: 16px; }
.bp-pagina { --pk: #2563eb; --pkt: #fff; --pk2: #1e3a8a; position: relative; width: 100%; max-width: 780px; margin: 0 auto; overflow: hidden; border: 1px solid var(--bk-lijn); border-radius: 22px; background: var(--bk-vlak); color: var(--bk-ink); box-shadow: 0 18px 50px rgba(0,0,0,.18); text-align: start; }
.bp-pagina h2 { margin: 0 0 10px; font-size: 17px; }
.bp-pagina section, .bp-kop, .bp-voet { padding: 0 22px; margin: 22px 0; }
.bp-omslag { position: relative; aspect-ratio: 16 / 6.5; min-height: 150px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 140% at 15% 0%, var(--pk) 0%, var(--pk2) 100%); color: var(--pkt); }
.bp-omslag.beeld { aspect-ratio: 16 / 8; }
.bp-omslag img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-omslag::after { content: ''; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.28)); pointer-events: none; }
.bp-omslagicoon { font-size: clamp(64px, 14vw, 110px); line-height: 1; filter: drop-shadow(0 10px 22px rgba(0,0,0,.3)); animation: bp-zweef 5s ease-in-out infinite; }
@keyframes bp-zweef { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.bp-lint { position: absolute; z-index: 1; top: 14px; inset-inline-start: 14px; padding: 6px 13px; border-radius: 99px; font-weight: 800; font-size: 13px; background: #ffffff; color: #0f172a; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.bp-lint.open { background: #dcfce7; color: #14532d; }
.bp-lint.gesloten { background: #e2e8f0; color: #1e293b; }
.bp-lint.overhandigd { background: #dbeafe; color: #1e3a8a; }
.bp-lint.beantwoord { background: #fef3c7; color: #78350f; }
.bp-lint.gewonnen { background: #fde047; color: #422006; }
.bp-lint.concept { background: #fee2e2; color: #7f1d1d; }
.bp-kop { margin-top: 20px !important; }
.bp-aan { margin: 0 0 6px; font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--bk-accent2); overflow-wrap: anywhere; }
.bp-titel { margin: 0; font-size: clamp(26px, 5vw, 40px); line-height: 1.12; letter-spacing: -.015em; overflow-wrap: anywhere; }
.bp-meta { margin: 10px 0 0; color: var(--bk-stil); font-size: 13.5px; }
.bp-pagina .bp-eis { margin-inline: 22px; padding: 16px 18px; border-radius: 16px; border: 2px solid var(--pk); border-inline-start-width: 9px; background: rgba(148,163,184,.1); }
.bp-eis h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--bk-stil); margin-bottom: 6px; }
.bp-eis p { margin: 0; font-size: clamp(18px, 3vw, 22px); font-weight: 700; line-height: 1.3; white-space: pre-line; overflow-wrap: anywhere; }
.bp-telgroot { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.bp-telgroot b { font-size: clamp(50px, 11vw, 84px); line-height: .95; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bp-telgroot span { font-size: 18px; font-weight: 700; color: var(--bk-stil); }
.bp-papier { font-style: normal; font-weight: 700; padding: 3px 10px; border-radius: 99px; border: 1px dashed var(--bk-stil); font-size: 13.5px; }
.bp-baan { display: flex; height: 18px; margin: 14px 0 8px; border-radius: 99px; overflow: hidden; background: rgba(148,163,184,.28); box-shadow: inset 0 0 0 1px rgba(148,163,184,.35); }
.bp-baan i { display: block; height: 100%; width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.bp-baan i.online { background: linear-gradient(90deg, var(--pk), color-mix(in srgb, var(--pk) 70%, #ffffff)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.bp-baan i.papier { background: repeating-linear-gradient(45deg, var(--pk) 0 6px, rgba(255,255,255,.75) 6px 12px); opacity: .8; }
.bp-telonder { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 14px; font-weight: 600; font-size: 14px; }
.bp-dagen { color: var(--bk-stil); }
.bp-nog { margin: 6px 0 0; color: var(--bk-stil); font-size: 13.5px; }
.bp-naarform { display: none; margin-top: 14px; width: 100%; font-size: 17px; padding: 14px 18px; background: var(--pk); color: var(--pkt); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset; }
.bp-naarform:hover:not(:disabled) { background: var(--pk); filter: brightness(1.08); }
.bp-tekst p, .bp-antwoord p, .bp-update p { margin: 0 0 12px; white-space: pre-line; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.bp-pagina .bp-antwoord { margin-inline: 22px; padding: 16px 18px; border-radius: 16px; background: rgba(250,204,21,.13); border: 1px solid rgba(250,204,21,.6); }
.bp-antwoord small, .bp-update small { color: var(--bk-stil); }
.bp-updates .bp-update { position: relative; padding: 0 0 6px 20px; margin-inline-start: 6px; border-inline-start: 2px solid var(--bk-lijn); padding-inline-start: 20px; }
.bp-update::before { content: ''; position: absolute; inset-inline-start: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--pk, var(--bk-accent)); box-shadow: 0 0 0 3px var(--bk-vlak); }
.bp-update h3 { margin: 2px 0 6px; font-size: 16px; }
.bp-updates.beheer { margin-top: 8px; }
.bp-cijfers h2:not(:first-child) { margin-top: 22px; }
.bp-grafiek { display: block; width: 100%; height: auto; }
.bp-raster { stroke: rgba(148,163,184,.3); stroke-width: 1; stroke-dasharray: 3 5; }
.bp-balkje { fill: var(--pk); stroke: rgba(255,255,255,.35); stroke-width: 1; }
.bp-balkje.vandaag { fill: color-mix(in srgb, var(--pk) 60%, #ffffff); }
.bp-as { fill: var(--bk-stil); font-size: 11px; }
.bp-plaatsen { display: grid; gap: 6px; }
.bp-plaatsrij { display: grid; grid-template-columns: minmax(90px, 32%) 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.bp-plaatsrij span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-plaatsbaan { height: 12px; border-radius: 99px; background: rgba(148,163,184,.22); overflow: hidden; }
.bp-plaatsbaan i { display: block; height: 100%; border-radius: 99px; background: var(--pk); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.bp-gewestbaan { display: flex; height: 22px; border-radius: 99px; overflow: hidden; background: rgba(148,163,184,.22); }
.bp-gewestbaan i { display: block; height: 100%; }
.bp-gewest .vla, .bp-gewestleg .vla i { background: #facc15; }
.bp-gewest .bru, .bp-gewestleg .bru i { background: #3b82f6; }
.bp-gewest .wal, .bp-gewestleg .wal i { background: #ef4444; }
.bp-gewestleg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 14px; }
.bp-gewestleg span { background: none !important; display: inline-flex; align-items: center; gap: 6px; }
.bp-gewestleg span i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.bp-muur { display: grid; gap: 8px; }
.bp-muurrij { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--bk-lijn); background: rgba(148,163,184,.07); }
.bp-muurrij.nieuw { animation: bp-nieuw 2.4s ease-out; border-color: var(--pk); }
@keyframes bp-nieuw { 0% { transform: translateY(-14px) scale(.96); opacity: 0; box-shadow: 0 0 0 6px color-mix(in srgb, var(--pk) 45%, transparent); } 30% { transform: none; opacity: 1; } 100% { box-shadow: 0 0 0 0 transparent; } }
.bp-muurkop { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.bp-muurkop span, .bp-muurkop small { color: var(--bk-stil); font-size: 13px; }
.bp-muurkop small { margin-inline-start: auto; }
.bp-avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; background: var(--pk); color: var(--pkt); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.bp-muurrij p { margin: 6px 0 0; font-style: italic; overflow-wrap: anywhere; }
.bp-deelvak { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; padding-top: 20px !important; border-top: 1px solid var(--bk-lijn); }
.bp-deellinks { flex: 1 1 300px; min-width: 0; }
.bp-deellinks .bp-stil { margin-bottom: 10px; }
.bp-deel { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-deelknop { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--bk-lijn); background: var(--bkd-knop, #fff); color: var(--bk-ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.bp-deelknop:hover { filter: brightness(1.1); }
.bp-deelknop.wa { background: #128c4a; color: #ffffff; border-color: #128c4a; padding-inline: 20px; }
.bp-deelknop.fb { background: #1877f2; color: #ffffff; border-color: #1877f2; }
.bp-deelknop.x { background: #000000; color: #ffffff; border-color: #475569; }
.bp-deelknop.in { background: #0a66c2; color: #ffffff; border-color: #0a66c2; }
.bp-qrblok { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bp-qrblok small { color: var(--bk-stil); }
.bp-qr { width: 132px; height: 132px; padding: 6px; border-radius: 12px; background: #ffffff; }
.bp-qr svg, .bp-afqr svg, .bp-lijstqr svg { display: block; width: 100%; height: 100%; }
.bp-voet { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 18px !important; }
.bp-meldknop { border: 0; background: none; color: var(--bk-stil); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.bp-meldvak { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 8px; }
.bp-meldvak:empty { display: none; }
.bp-meldvak h3 { margin: 0; font-size: 15px; }
.bp-gemaakt { margin: 0; text-align: center; font-size: 11.5px; color: var(--bk-stil); opacity: .85; }
.bp-conceptband { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #fee2e2; color: #7f1d1d; font-weight: 600; }
.bp-conceptband .bk-link { color: #7f1d1d; text-decoration: underline; }
.bp-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9999; pointer-events: none; }

/* meldingen: bedankt, intrekken, niet gevonden */
.bp-melding { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 26px 20px; border: 1px solid var(--bk-lijn); border-radius: 22px; background: var(--bk-vlak); color: var(--bk-ink); }
.bp-melding h2 { margin: 0; font-size: clamp(22px, 4vw, 30px); overflow-wrap: anywhere; }
.bp-melding p { margin: 0; font-size: 16px; }
.bp-melding.feest { border: 2px solid #22c55e; background: linear-gradient(180deg, rgba(34,197,94,.16), var(--bk-vlak)); }
.bp-melding.goed { border-color: #22c55e; }
.bp-meldicoon { font-size: 58px; line-height: 1; animation: bp-plop .7s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes bp-plop { 0% { transform: scale(.2) rotate(-25deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.bp-melding .bp-deel { justify-content: center; }
.bp-deelzin { font-weight: 700; }
.bp-welke { font-weight: 700; font-style: italic; }
.bp-midden { justify-content: center; }
.bp-midden a { text-decoration: none; }

/* het tekenformulier */
.bp-formkaart { display: flex; flex-direction: column; gap: 10px; }
.bp-formkaart h3 { margin: 0; font-size: 18px; }
.bp-formkaart > p { margin: 0; }
.bp-formkaart.goed, .bp-formkaart:not(form) { padding: 16px; border-radius: 14px; border: 1px solid var(--bk-lijn); text-align: center; align-items: center; }
.bp-formkaart.goed { border-color: #22c55e; background: rgba(34,197,94,.1); }
.bp-formkaart .bp-deel { justify-content: center; }
.bp-formicoon { font-size: 44px; line-height: 1; }
.bp-wip { animation: bp-wip 1.6s ease-in-out infinite; }
@keyframes bp-wip { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-4px); } }
.bp-onderveld { margin-top: -6px !important; }
.bp-tweeveld { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.bp-vink { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.4; cursor: pointer; }
.bp-vink input { flex: none; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--bk-accent); }
.bp-vink.nodig { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--bk-lijn); background: rgba(148,163,184,.08); }
.bp-formfout { font-weight: 700; font-size: 13.5px; }
.bp-tekenknop { font-size: 17px; padding: 14px 18px; background: var(--pk, var(--bk-accent)); color: var(--pkt, #fff); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 8px 22px rgba(0,0,0,.22); }
.bp-tekenknop:hover:not(:disabled) { background: var(--pk, var(--bk-accent)); filter: brightness(1.1); }
.bp-privkort { text-align: center; }
.bp-test { font-size: 12px; color: var(--bk-stil); }

/* ---------------------------------------------------------------- beheer */
.bp-paneel { display: flex; flex-direction: column; gap: 14px; }
.bp-lijstrij { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--bk-lijn); background: var(--bkd-knop, #fff); color: var(--bk-ink); font: inherit; text-align: start; cursor: pointer; }
.bp-lijstrij b { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-lijstrij small { color: var(--bk-stil); justify-self: end; }
.bp-lijstrij.aan { border-color: var(--bk-accent); box-shadow: 0 0 0 2px var(--bk-zachtlijn); }
.bp-chip { display: inline-block; justify-self: start; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; background: #e2e8f0; color: #1e293b; }
.bp-chip.open { background: #dcfce7; color: #14532d; }
.bp-chip.overhandigd { background: #dbeafe; color: #1e3a8a; }
.bp-chip.beantwoord { background: #fef3c7; color: #78350f; }
.bp-chip.gewonnen { background: #fde047; color: #422006; }
.bp-chip.concept { background: #fee2e2; color: #7f1d1d; }
.bp-statusnu { margin: 0; display: flex; align-items: center; gap: 10px; }
.bp-statusnu small { color: var(--bk-stil); }
.bp-statusknoppen { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-statusknoppen button { padding: 7px 11px; font-size: 13px; }
.bp-stappen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.bp-stap { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px; border-radius: 10px; border: 1px solid var(--bk-lijn); background: transparent; color: var(--bk-stil); font: inherit; font-size: 11px; line-height: 1.15; cursor: pointer; text-align: center; overflow-wrap: anywhere; }
.bp-stap i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; background: rgba(148,163,184,.25); color: var(--bk-ink); }
.bp-stap.aan { border-color: var(--bk-accent); color: var(--bk-ink); background: var(--bk-zacht); }
.bp-stap.aan i { background: var(--bk-accent); color: #ffffff; }
.bp-stapvak { display: flex; flex-direction: column; gap: 10px; }
.bp-tip { margin-top: -5px !important; }
.bp-makerknoppen { margin-top: 4px; }
.bp-stalen { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-staal { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); box-shadow: 0 0 0 1px var(--bk-lijn); cursor: pointer; }
.bp-staal.aan { box-shadow: 0 0 0 3px var(--bk-accent2); }
.bp-staal.eigen { border-radius: 8px; width: 38px; background: none; }
.bp-beeldklein { width: 100%; max-height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--bk-lijn); }
.bp-check { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13.5px; }
.bp-check .ok { color: var(--bk-groen); }
.bp-check .mis { color: var(--bk-fout); font-weight: 700; }
.bp-ai { border: 1px solid var(--bk-zachtlijn); border-radius: 12px; background: var(--bk-zacht); padding: 10px 12px; }
.bp-ai summary { font-weight: 700; cursor: pointer; }
.bp-ai[open] { display: flex; flex-direction: column; gap: 8px; }
.bp-aiuit { display: flex; flex-direction: column; gap: 4px; }
.bp-aiuit:empty { display: none; }

/* het live voorbeeld: pagina + formulier naast elkaar (onder elkaar op een smal scherm) */
.bp-vb { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: center; }
.bp-vb .bp-pagina { flex: 1 1 440px; margin: 0; }
.bp-vbform { flex: 0 1 300px; min-width: 250px; padding: 16px; border: 1px solid var(--bk-lijn); border-radius: 18px; background: var(--bk-vlak); }
.bp-vbformkop { margin: 0 0 10px; font-size: 17px; }
.bp-zoek { max-width: 420px; }
.bp-tabelvak { overflow-x: auto; }
.bp-tabelvak .bk-tabel { min-width: 640px; }
.bp-reden { max-width: 260px; font-size: 13px; overflow-wrap: anywhere; }
.bp-wegknop { border: 0; background: none; color: var(--bk-fout); font-size: 15px; cursor: pointer; padding: 2px 6px; }
.bp-delenblok { flex-direction: row; flex-wrap: wrap; gap: 18px; }
.bp-delenblok > div:first-child { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.bp-drukvoorbeeld { display: flex; flex-wrap: wrap; gap: 16px; }
.bp-vel { position: relative; width: 318px; height: 449px; overflow: hidden; border-radius: 8px; background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.bp-vel > * { width: 794px; min-height: 1123px; transform: scale(.4); transform-origin: top left; }
[dir=rtl] .bp-vel > * { transform-origin: top right; }

/* ---------------------------------------------------------------- papier: affiche, tekenlijst, overhandiging (vaste kleuren) */
.bp-affiche, .bp-lijst, .bp-overhandig { --pk: #2563eb; --pkt: #fff; box-sizing: border-box; background: #ffffff; color: #0f172a; font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: start; }
.bp-affiche, .bp-lijst, .bp-ohblad { display: flex; flex-direction: column; padding: 34px 38px; }
.bp-affiche .bp-gemaakt, .bp-lijst .bp-gemaakt, .bp-overhandig .bp-gemaakt { color: #64748b; margin-top: auto; padding-top: 14px; }
.bp-afband { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: 18px; background: var(--pk); color: var(--pkt); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.bp-afband span { font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.bp-afband b { font-size: 24px; overflow-wrap: anywhere; }
.bp-affiche h1, .bp-ohblad h1 { margin: 30px 0 22px; font-size: 58px; line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere; }
.bp-afeis { padding: 18px 22px; border-radius: 16px; border: 3px solid var(--pk); border-inline-start-width: 12px; }
.bp-afeis small { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #475569; margin-bottom: 4px; }
.bp-afeis p { margin: 0; font-size: 27px; font-weight: 700; line-height: 1.25; white-space: pre-line; overflow-wrap: anywhere; }
.bp-afscan { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.bp-afqr { flex: none; width: 290px; height: 290px; padding: 10px; border: 4px solid #0f172a; border-radius: 22px; background: #ffffff; }
.bp-afscan b { display: block; font-size: 40px; line-height: 1.1; }
.bp-afscan p { margin: 10px 0; font-size: 19px; color: #334155; white-space: pre-line; }
.bp-afscan code { font: 600 14px/1.3 ui-monospace, Consolas, monospace; color: #475569; overflow-wrap: anywhere; }
.bp-afstarter { margin: 26px 0 0; font-size: 17px; color: #334155; }
.bp-lijstkop { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; padding-bottom: 12px; border-bottom: 5px solid var(--pk); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.bp-lijstkop small { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.bp-lijstkop h1 { margin: 4px 0 6px; font-size: 27px; line-height: 1.12; overflow-wrap: anywhere; }
.bp-lijsteis { margin: 0; font-size: 16px; font-weight: 700; white-space: pre-line; }
.bp-lijstuitleg { margin: 6px 0 0; font-size: 13px; color: #475569; }
.bp-lijstqr { flex: none; width: 118px; height: 118px; }
.bp-lijsttabel { width: 100%; border-collapse: collapse; margin-top: 12px; }
.bp-lijsttabel th, .bp-lijsttabel td { border: 1px solid #475569; padding: 5px 8px; text-align: start; height: 50px; font-size: 14px; color: #0f172a; }
.bp-lijsttabel th { height: auto; background: #e2e8f0; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.bp-lijsttabel .nr { width: 44px; text-align: center; color: #475569; }
.bp-lijsttabel th:nth-child(2) { width: 34%; }
.bp-lijsttabel th:nth-child(3) { width: 26%; }
.bp-lijsttabel.vol th, .bp-lijsttabel.vol td { height: auto; }
.bp-lijsttabel.vol tr { break-inside: avoid; }
.bp-lijstpriv { margin: 10px 0 0; font-size: 11.5px; color: #475569; }
.bp-ohblad { min-height: 250mm; break-after: page; page-break-after: always; }
.bp-ohcijfers { margin: 30px 0 10px; }
.bp-ohcijfers .groot { display: flex; align-items: baseline; gap: 12px; }
.bp-ohcijfers .groot b { font-size: 84px; line-height: 1; font-weight: 900; }
.bp-ohcijfers .groot span { font-size: 24px; font-weight: 700; color: #334155; }
.bp-ohcijfers p { margin: 6px 0 0; font-size: 19px; }
.bp-ohklein { margin: 8px 0 0; font-size: 14px; color: #475569; }
.bp-ohlijstkop { margin: 0 0 4px; font-size: 20px; }
#bk-afdruk .bp-affiche { min-height: 272mm; }
#bk-afdruk .bp-affiche, #bk-afdruk .bp-lijst, #bk-afdruk .bp-ohblad { padding: 4mm 6mm; }

/* ---------------------------------------------------------------- breed en smal */
@media (min-width: 861px) {
  .bp-publiek .bk-paneel { position: sticky; top: 52px; align-self: start; max-height: calc(100vh - 52px); }
  .bp-publiek .bk { grid-template-columns: minmax(0, 1fr) 380px; }
}
@media (max-width: 860px) {
  .bp-publiek .bp-naarform { display: inline-flex; }
  .bp-publiek .bk-werk { padding: 10px 10px 24px; }
  .bp-publiek .bk-paneel { scroll-margin-top: 60px; padding-bottom: 60px; }
  .bp-pagina section, .bp-kop, .bp-voet { padding: 0 16px; margin: 18px 0; }
  .bp-pagina .bp-eis, .bp-pagina .bp-antwoord { margin-inline: 16px; padding: 14px; }
  .bp-pagina { border-radius: 18px; }
  .bp-vb .bp-pagina { flex-basis: 100%; }
  .bp-vbform { flex-basis: 100%; }
  .bp-tweeveld { grid-template-columns: 96px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-omslagicoon, .bp-wip, .bp-meldicoon, .bp-muurrij.nieuw, .bp-laden { animation: none; }
  .bp-baan i { transition: none; }
}
