/* Busi Halftone op busimatch.tools (11-11-2026): zelfde lichte stijl als BusiTrace, eigen klassen (bh-) */
:root { --bh-ink: #0f172a; --bh-stil: #64748b; --bh-lijn: #e2e8f0; --bh-vlak: #ffffff; --bh-achter: #f1f5f9; --bh-accent: #db2777; --bh-accent2: #be185d; --bh-groen: #0f766e; --bh-fout: #dc2626; --bh-waar: #b45309; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bh-achter); color: var(--bh-ink); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.bh-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--bh-vlak); border-bottom: 1px solid var(--bh-lijn); min-height: 52px; }
.bh-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--bh-ink); text-decoration: none; }
.bh-logo img { width: 26px; height: 26px; }
.bh-sp { flex: 1; }
.bh-tknop { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid var(--bh-lijn); border-radius: 9px; background: #fff; color: var(--bh-ink); font-weight: 600; text-decoration: none; cursor: pointer; list-style: none; }
.bh-tknop::-webkit-details-marker { display: none; }
.bh-taal { position: relative; }
.bh-taalmenu { position: absolute; inset-inline-end: 0; top: 40px; background: #fff; border: 1px solid var(--bh-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); }
.bh-taalmenu a { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 7px; color: var(--bh-ink); text-decoration: none; }
.bh-taalmenu a:hover, .bh-taalmenu a.aan { background: var(--bh-achter); }
.bh-wie { color: var(--bh-stil); font-size: 13px; }

.bh { display: grid; grid-template-columns: minmax(0, 1fr) 340px; height: calc(100vh - 52px); min-height: 560px; }
.bh-links { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.bh-podium { position: relative; flex: 1; min-height: 0; overflow: auto; display: flex; padding: 16px; }
.bh-podium.pas { align-items: center; justify-content: center; overflow: hidden; }
.bh-podium.slepen { outline: 4px dashed var(--bh-accent); outline-offset: -10px; }
.bh-plaat { position: relative; flex: none; margin: auto; box-shadow: 0 10px 30px rgba(15,23,42,.25); touch-action: none; user-select: none; }
.bh-plaat canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bh-orig { background: repeating-conic-gradient(#d4d4d8 0 25%, #fff 0 50%) 0 0/16px 16px; }
.bh-plaat.scherp canvas { image-rendering: pixelated; }
.bh-lijn { position: absolute; top: 0; bottom: 0; width: 28px; margin-inline-start: -14px; cursor: ew-resize; z-index: 2; touch-action: none; }
.bh-streep { position: absolute; top: 0; bottom: 0; left: 13px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.45); }
.bh-greep { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #111827; border: 2px solid #fff; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.bh-leeg { margin: auto; max-width: 460px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px; background: var(--bh-vlak); border: 2px dashed var(--bh-lijn); border-radius: 18px; }
.bh-leeg h1 { margin: 0; font-size: 26px; }
.bh-leeg p { margin: 0; }
.bh-leegicoon { font-size: 52px; color: var(--bh-accent); line-height: 1; }
.bh-balk { position: absolute; left: 12px; top: 12px; z-index: 4; display: flex; align-items: center; gap: 4px; padding: 4px; background: rgba(255,255,255,.96); border: 1px solid var(--bh-lijn); border-radius: 10px; box-shadow: 0 4px 16px rgba(15,23,42,.12); flex-wrap: wrap; max-width: calc(100% - 24px); }
.bh-podium { padding-top: 64px; padding-bottom: 64px; }
.bh-balk:empty { display: none; }
.bh-zknop { border: 0; background: transparent; padding: 6px 10px; border-radius: 7px; font: inherit; font-weight: 600; color: var(--bh-ink); cursor: pointer; }
.bh-zknop:hover { background: var(--bh-achter); }
.bh-zknop.aan { background: var(--bh-accent); color: #fff; }
.bh-melding { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); background: var(--bh-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; }
.bh-melding.zicht { opacity: 1; }
.bh-melding.fout { background: var(--bh-fout); }

.bh-paneel { background: var(--bh-vlak); border-inline-start: 1px solid var(--bh-lijn); overflow-y: auto; padding: 16px 16px 90px; display: flex; flex-direction: column; gap: 14px; }
.bh-kop h1 { margin: 0; font-size: 20px; }
.bh-kop p { margin: 4px 0 0; color: var(--bh-stil); }
.bh-blok { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--bh-lijn); }
.bh-blok h3 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bh-stil); }
.bh-label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.bh-rijlabel { flex-direction: row; align-items: center; gap: 8px; }
.bh-schuifkop { display: flex; justify-content: space-between; }
.bh-label input[type=range] { width: 100%; accent-color: var(--bh-accent); }
.bh-label input[type=color] { width: 38px; height: 30px; padding: 0; border: 1px solid var(--bh-lijn); border-radius: 6px; background: #fff; }
.bh-label input[type=checkbox] { accent-color: var(--bh-accent); width: 16px; height: 16px; }
.bh-veld { width: 100%; padding: 7px 9px; border: 1px solid var(--bh-lijn); border-radius: 8px; font: inherit; background: #fff; color: var(--bh-ink); }
.bh-klein { margin: 0; color: var(--bh-stil); font-size: 12.5px; }
.bh-waarsch { margin: 0; color: var(--bh-waar); font-size: 12.5px; }
.bh-waarsch:empty { display: none; }
.bh-ok { margin: 0; color: var(--bh-groen); font-weight: 600; font-size: 13px; }
.bh-premium { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdf2f8; border: 1px solid #fbcfe8; font-size: 13px; }
.bh-hoofdknop { display: inline-flex; justify-content: center; align-items: center; gap: 6px; border: 0; border-radius: 10px; padding: 11px 18px; background: var(--bh-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.bh-hoofdknop:hover:not(:disabled) { background: var(--bh-accent2); }
.bh-knop { border: 1px solid var(--bh-lijn); border-radius: 9px; padding: 8px 14px; background: #fff; font: inherit; font-weight: 600; color: var(--bh-ink); cursor: pointer; }
.bh-knop:hover:not(:disabled) { background: var(--bh-achter); }
button:disabled { opacity: .5; cursor: not-allowed; }
.bh-volle { width: 100%; }
.bh-link { color: var(--bh-accent2); font-weight: 600; text-decoration: none; }
.bh-link:hover { text-decoration: underline; }

.bh-uitleg { background: var(--bh-vlak); border-top: 1px solid var(--bh-lijn); padding: 40px 16px 120px; }
.bh-uitbinnen { max-width: 1100px; margin: 0 auto; }
.bh-groot { margin: 0; font-size: 28px; }
.bh-lead { margin: 6px 0 24px; color: var(--bh-stil); font-size: 16px; }
.bh-uitraster { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.bh-kaart { padding: 18px; border: 1px solid var(--bh-lijn); border-radius: 14px; background: #fff; }
.bh-kaart h3 { margin: 0 0 8px; font-size: 17px; }
.bh-kaart p { margin: 0; white-space: pre-line; color: #334155; }
.bh-kaart-prem { background: #fdf2f8; border-color: #fbcfe8; }

@media (max-width: 860px) {
  .bh { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .bh-links { height: 62vh; min-height: 360px; }
  .bh-paneel { border-inline-start: 0; border-top: 1px solid var(--bh-lijn); padding-bottom: 24px; overflow: visible; }
  .bh-taalmenu { grid-template-columns: 1fr; width: 220px; }
  .bh-wie { display: none; }
}

/* 19-11-2026: hoek draaien op het beeld + voorvertoning op elke achtergrond */
.bh-balk { flex-wrap: wrap; max-width: calc(100% - 24px); }
.bh-achters { display: inline-flex; gap: 3px; align-items: center; }
.bh-achter { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid #cbd5e1; cursor: pointer; font-size: 11px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.bh-achter.aan { border-color: var(--bh-accent); box-shadow: 0 0 0 2px rgba(219,39,119,.35); }
.bh-draai { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.bh-draaisvg { position: absolute; inset: 0; overflow: visible; }
.bh-draaistr { stroke: #60a5fa; stroke-width: 2; filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); }
.bh-draaimid { fill: #fff; stroke: #60a5fa; stroke-width: 2; }
.bh-draaiknop { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #2563eb; color: #fff; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; cursor: grab; pointer-events: auto; touch-action: none; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.bh-draaiknop:active { cursor: grabbing; }
.bh-draaigetal { position: absolute; transform: translate(-50%, 12px); padding: 2px 8px; border-radius: 99px; background: rgba(15,23,42,.85); color: #fff; font-weight: 700; font-size: 12px; }
