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

/* BusiReadLater (01-12-2026), voorvoegsel .rl- */
.rl-kaart { background: var(--bk-vlak); border: 1px solid var(--bk-lijn); border-radius: 18px; padding: 16px; margin-bottom: 14px; min-width: 0; }
.rl-kaart h2 { margin: 0 0 12px; font-size: 18px; }
.rl-banner { padding: 10px 12px; margin-bottom: 12px; border-radius: 12px; background: #fef3c7; border: 1px solid #fde68a; font-size: 13.5px; }
.rl-invoer { background: linear-gradient(135deg, #fff7ed, #fff 60%); border-color: #fed7aa; }
.rl-invoerrij { display: flex; gap: 8px; align-items: stretch; }
.rl-veld { flex: 1; min-width: 0; padding: 13px 14px; border: 2px solid #fdba74; border-radius: 14px; font: inherit; font-size: 16px; background: #fff; color: var(--bk-ink); }
.rl-veld:focus { outline: none; border-color: #ea580c; box-shadow: 0 0 0 4px #ffedd5; }
.rl-veld.wiebel { animation: rl-wiebel .45s; }
@keyframes rl-wiebel { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.rl-plak { padding: 0 12px; font-size: 18px; border-radius: 12px; }
.rl-voeg { background: #ea580c; border-radius: 12px; white-space: nowrap; }
.rl-voeg:hover:not(:disabled) { background: #c2410c; }
.rl-hint { margin-top: 8px !important; }

.rl-nu { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: linear-gradient(135deg, #1e1b4b, #4338ca 60%, #7c3aed); color: #fff; border: 0; box-shadow: 0 12px 30px rgba(67, 56, 202, .25); }
.rl-nulinks { min-width: 0; }
.rl-nulbl { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.rl-nukop { display: flex; gap: 12px; align-items: center; }
.rl-nutitel { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rl-nulink { color: #fff; font-size: 19px; font-weight: 800; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.rl-nulink:hover { text-decoration: underline; }
.rl-nutitel small { color: #c7d2fe; font-size: 12.5px; overflow-wrap: anywhere; }
.rl-nunotitie { margin: 10px 0 0; font-size: 13px; color: #e0e7ff; }
.rl-nuknoppen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rl-nuknoppen .bk-knop { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.rl-nuknoppen .bk-knop:hover:not(:disabled) { background: rgba(255, 255, 255, .22); }
.rl-leesknop { background: #fff; color: #3730a3; }
.rl-leesknop:hover:not(:disabled) { background: #e0e7ff; }
.rl-nuleeg { margin: 6px 0; font-size: 16px; font-weight: 700; }
.rl-nurechts { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rl-ring { width: 110px; height: 110px; }
.rl-ringbg { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 10; }
.rl-ringv { fill: none; stroke: #fbbf24; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.rl-ringv.vol { stroke: #4ade80; }
.rl-ringn { fill: #fff; font: 800 22px system-ui, sans-serif; }
.rl-ringl { fill: #c7d2fe; font: 12px system-ui, sans-serif; }
.rl-reeks { color: #fde68a; font-size: 12.5px; text-align: center; max-width: 140px; }

.rl-av { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; font-weight: 800; font-size: 16px; }
.rl-av.groot { width: 52px; height: 52px; border-radius: 14px; font-size: 24px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }

.rl-cij { margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.rl-cij small { display: block; font-size: 12px; color: var(--bk-stil); margin-top: 2px; }
.rl-leg { display: flex; gap: 14px; margin: 14px 0 4px; font-size: 12.5px; color: var(--bk-stil); }
.rl-lg::before { content: ''; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-inline-end: 5px; vertical-align: -1px; }
.rl-lg.toe::before { background: #fed7aa; }
.rl-lg.gel::before { background: #6366f1; }
.rl-grafiek { overflow-x: auto; }
.rl-grafiek svg { width: 100%; min-width: 480px; height: auto; display: block; }
.rl-rl { stroke: var(--bk-lijn); }
.rl-as { font: 12px system-ui, sans-serif; fill: var(--bk-stil); }
.rl-getal { font: 700 12px system-ui, sans-serif; fill: #3730a3; }
.rl-toe { fill: #fed7aa; }
.rl-gel { fill: #a5b4fc; transform-box: fill-box; transform-origin: bottom; animation: rl-groei .7s ease-out; }
.rl-gel.nu { fill: #6366f1; }
@keyframes rl-groei { from { transform: scaleY(0); } }
.rl-doel { stroke: #16a34a; stroke-width: 1.5; stroke-dasharray: 5 4; }
.rl-doeltxt { font: 600 12px system-ui, sans-serif; fill: #16a34a; }

.rl-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.rl-tab { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--bk-lijn); background: #fff; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.rl-tab b { background: #f1f5f9; border-radius: 999px; padding: 0 7px; font-size: 12px; }
.rl-tab.aan { background: #312e81; border-color: #312e81; color: #fff; }
.rl-tab.aan b { background: rgba(255, 255, 255, .2); }
.rl-zoekrij { display: flex; gap: 8px; margin: 10px 0 8px; }
.rl-zoek { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--bk-lijn); border-radius: 10px; font: inherit; }
.rl-sort { max-width: 42%; padding: 8px; border: 1px solid var(--bk-lijn); border-radius: 10px; font: inherit; font-size: 13px; background: #fff; color: var(--bk-ink); }
.rl-tagrij { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.rl-tagrij:empty { display: none; }
.rl-tagf { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--bk-lijn); background: #fff; font: inherit; font-size: 12.5px; cursor: pointer; color: #4338ca; }
.rl-tagf.aan { background: #4338ca; color: #fff; border-color: #4338ca; }
.rl-ongedaan { display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; margin-bottom: 8px; border-radius: 10px; background: #0f172a; color: #fff; font-size: 13px; }
.rl-ongedaan.zicht { display: flex; }
.rl-ongedaan .bk-knop { padding: 4px 10px; font-size: 13px; }
.rl-lijst { display: flex; flex-direction: column; gap: 8px; }
.rl-leeg { margin: 10px 0; color: var(--bk-stil); text-align: center; padding: 18px; border: 2px dashed var(--bk-lijn); border-radius: 14px; }
.rl-rij { padding: 11px 12px; border: 1px solid var(--bk-lijn); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.rl-rij:hover { border-color: #c7d2fe; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.rl-rij.nieuw { border-color: #fb923c; box-shadow: 0 0 0 3px #ffedd5; animation: rl-in .5s ease-out; }
@keyframes rl-in { from { opacity: 0; transform: translateY(-8px); } }
.rl-rij.gelezen .rl-titel { color: #64748b; }
.rl-rhoofd { display: flex; gap: 10px; align-items: flex-start; }
.rl-rtekst { flex: 1; min-width: 0; }
.rl-titel { color: var(--bk-ink); font-weight: 700; font-size: 15px; text-decoration: none; overflow-wrap: anywhere; line-height: 1.3; }
.rl-titel:hover { color: #4338ca; text-decoration: underline; }
.rl-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; font-size: 12.5px; color: var(--bk-stil); }
.rl-meta span { overflow-wrap: anywhere; }
.rl-mtag { color: #4338ca; }
.rl-mbezig { color: #b45309; font-weight: 600; }
.rl-rnotitie { margin: 5px 0 0; font-size: 13px; color: #475569; overflow-wrap: anywhere; }
.rl-ster { flex: none; border: 0; background: transparent; padding: 2px 4px; font-size: 20px; color: #94a3b8; }
.rl-ster.aan { color: #f59e0b; }
.rl-acties { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding-inline-start: 44px; }
.rl-k { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; }
.rl-k.groen { border-color: #86efac; color: #166534; }
.rl-k.groen:hover:not(:disabled) { background: #dcfce7; }
.rl-weg:hover:not(:disabled) { border-color: var(--bk-fout); color: var(--bk-fout); }
.rl-bewerk { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding: 12px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--bk-lijn); }
.rl-sub { font-size: 13px; color: var(--bk-stil); margin-top: 4px; }
.rl-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rl-chip { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--bk-lijn); background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.rl-chip.aan { background: #4338ca; color: #fff; border-color: #4338ca; }
.rl-minveld { width: 70px; padding: 5px 8px; border: 1px solid var(--bk-lijn); border-radius: 999px; font: inherit; font-size: 13px; }
.rl-tagveld { width: 120px; max-width: 100%; padding: 5px 11px; border-radius: 999px; border: 1px dashed var(--bk-lijn); font: inherit; font-size: 13px; }
.rl-url { font-size: 12px; color: var(--bk-stil); overflow-wrap: anywhere; }
.rl-klaar { align-self: flex-start; margin-top: 4px; padding: 8px 16px; }
.rl-meer { align-self: center; }

.rl-bm { display: inline-flex; align-self: flex-start; gap: 6px; padding: 9px 14px; border-radius: 10px; background: linear-gradient(135deg, #ea580c, #db2777); color: #fff; font-weight: 700; text-decoration: none; cursor: grab; box-shadow: 0 4px 12px rgba(234, 88, 12, .3); }

@media (max-width: 560px) {
  .rl-kaart { padding: 12px; }
  .rl-invoerrij { flex-wrap: wrap; }
  .rl-veld { flex-basis: 100%; }
  .rl-voeg { flex: 1; }
  .rl-nu { grid-template-columns: 1fr; }
  .rl-nurechts { flex-direction: row; justify-content: center; gap: 12px; }
  .rl-ring { width: 92px; height: 92px; }
  .rl-acties { padding-inline-start: 0; }
  .rl-nulink { font-size: 17px; }
}
