/* KG the place of beauty · beheer van de online agenda */
:root {
  --bg: #fff8f7;
  --bg-alt: #fdf1ef;
  --kaart: #fff;
  --donker: #a3625a;
  --espresso: #8e5149;
  --bruin: #b06c63;
  --tekst: #2a2523;
  --inkt: #1c1917;            /* tekst en titels: (bijna) zwart; roze blijft voor zijbalk, agenda en accenten */
  --zacht: #6f6a67;
  --goud: #c99c5f;
  --goud-donker: #9a6d38;
  --lijn: #f6e0dc;
  --nude: #fcdad8;
  --rood: #a5443a;
  --groen: #4f7a55;
  --schaduw: 0 10px 30px -14px rgba(163, 98, 90, .22);
  --schaduw-groot: 0 30px 70px -20px rgba(163, 98, 90, .35);
  --display: "Playfair Display", Georgia, serif;
  --script: "Alex Brush", cursive;
  --body: "Work Sans", "Segoe UI", sans-serif;
  --rose: #c4847a;
  --rose-donker: #a3625a;
  --top: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tekst); font: 400 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
body.bh-modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
a { color: var(--inkt); }
h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--inkt); margin: 0 0 .4em; }
.bh-script { font-family: var(--script); color: var(--goud); font-size: 34px; line-height: 1; margin: 0; }

/* ---------- knoppen */
.bh-knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 5px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; position: relative; }
.bh-knop svg { width: 16px; height: 16px; }
.bh-knop-donker { background: var(--inkt); color: #fff; }
.bh-knop-donker:hover { background: #3d3633; }
.bh-knop-goud { background: var(--goud); color: var(--inkt); }
.bh-knop-goud:hover { background: #d9b47c; }
.bh-knop-licht { background: #fff; border-color: var(--lijn); color: var(--inkt); }
.bh-knop-licht:hover { border-color: var(--bruin); }
.bh-knop-rood { background: var(--rood); color: #fff; }
.bh-knop-rood:hover { background: #8d372f; }
.bh-knop-rood-licht { background: #fff; border-color: #e6c7c2; color: var(--rood); }
.bh-knop-rood-licht:hover { border-color: var(--rood); }
.bh-klein { min-height: 36px; padding: 0 12px; font-size: 13px; }
.bh-knop:disabled { opacity: .75; cursor: wait; }
.bh-knop.is-bezig { color: transparent !important; }
.bh-knop.is-bezig > * { visibility: hidden; }
.bh-knop.is-bezig::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: bh-draai .7s linear infinite; }
.bh-knop-licht.is-bezig::after, .bh-knop-rood-licht.is-bezig::after, .bh-knop-goud.is-bezig::after { border-color: rgba(163, 98, 90, .2); border-top-color: var(--inkt); }
@keyframes bh-draai { to { transform: rotate(360deg); } }
.bh-ikoon { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--lijn); border-radius: 50%; background: #fff; color: var(--inkt); }
.bh-ikoon:hover { border-color: var(--bruin); }

/* ---------- aanmelden */
.bh-login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(ellipse at top, #fff 0%, var(--donker) 60%); }
.bh-login { width: 100%; max-width: 380px; text-align: center; }
.bh-login-logo { width: 190px; height: auto; margin: 0 auto; }
.bh-login .bh-script { margin: 6px 0 26px; font-size: 40px; }
.bh-login-form { background: var(--bg); padding: 28px 26px; border-radius: 6px; text-align: left; box-shadow: var(--schaduw-groot); }
.bh-login-form label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--inkt); margin-bottom: 8px; }
.bh-login-form input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--lijn); border-radius: 5px; background: #fff; font-size: 16px; }
.bh-login-form input:focus { outline: none; border-color: var(--goud); box-shadow: 0 0 0 3px rgba(201, 156, 95, .25); }
.bh-login-form .bh-knop { width: 100%; margin-top: 18px; height: 48px; }
.bh-login-terug { display: inline-block; margin-top: 22px; color: rgba(255, 255, 255, .6); font-size: 13px; text-decoration: none; }
.bh-login-terug:hover { color: #fff; }
.bh-fout { margin: 12px 0 0; padding: 10px 12px; background: #f7e4e1; color: var(--rood); border-radius: 5px; font-size: 14px; }

/* ---------- bovenbalk */

@keyframes bh-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- werkbalk */
.bh-balk { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 14px; }
.bh-nav { display: flex; align-items: center; gap: 8px; }
.bh-periode { border: 0; background: none; padding: 4px 8px; font-family: var(--display); font-size: 24px; color: var(--inkt); border-radius: 5px; }
.bh-periode small { font-family: var(--body); font-size: 14px; color: var(--zacht); margin-left: 4px; }
.bh-periode:hover { background: var(--bg-alt); }
.bh-schakel { display: inline-flex; padding: 3px; background: var(--bg-alt); border-radius: 6px; margin-left: auto; }   /* rechts, naast de knoppen: de wisselende periodetitel duwt hem niet opzij */
.bh-schakel button { border: 0; background: none; padding: 7px 0; min-width: 64px; text-align: center; border-radius: 5px; font-size: 13px; color: var(--inkt); }
.bh-schakel button.is-actief { background: #fff; color: var(--inkt); box-shadow: 0 1px 4px rgba(163, 98, 90, .12); font-weight: 500; }
.bh-schakel-vol { display: flex; margin-bottom: 14px; }
.bh-schakel-vol button { flex: 1; }
.bh-acties { display: flex; gap: 10px; }
.bh-samenvatting { display: flex; gap: 22px; margin: -4px 0 12px; font-size: 13px; color: var(--zacht); }
.bh-samenvatting strong { color: var(--inkt); font-weight: 600; }
.bh-zoek { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--lijn); border-radius: 5px; background: #fff; flex: 1; min-width: 220px; max-width: 420px; color: var(--zacht); }
.bh-zoek:focus-within { border-color: var(--goud); box-shadow: 0 0 0 3px rgba(201, 156, 95, .2); }
.bh-zoek input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; height: 100%; color: var(--tekst); }
.bh-zoek-breed { max-width: 560px; }

/* ---------- weekagenda */
.bh-kalender { background: #fff; border: 1px solid var(--lijn); border-radius: 6px; box-shadow: var(--schaduw); transition: opacity .2s; }
.is-laden { opacity: .55; pointer-events: none; }
.bh-week { --kol: 56px; }
.bh-week-kop { position: sticky; top: var(--top); z-index: 5; display: grid; grid-template-columns: var(--kol) repeat(var(--dagen), 1fr); background: #fff; border-bottom: 1px solid var(--lijn); border-radius: 6px 4px 0 0; }
.bh-dagkop { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 4px; border: 0; border-left: 1px solid var(--lijn); background: none; color: var(--inkt); }
.bh-dagkop span { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; }
.bh-dagkop strong { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--inkt); line-height: 1; transition: background .15s; }
.bh-dagkop:hover strong { background: var(--bg-alt); }
.bh-dagkop em { display: inline-flex; align-items: center; min-width: 22px; height: 22px; justify-content: center; padding: 0 7px; border-radius: 11px; font-style: normal; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; background: rgba(201, 156, 95, .2); color: var(--goud-donker); box-shadow: inset 0 0 0 1px rgba(201, 156, 95, .4); }
.bh-dagkop em i { display: none; font-style: normal; font-weight: 500; }
.bh-week[style*="--dagen:1"] .bh-dagkop em i { display: inline; white-space: pre; }
.bh-dagkop.is-vandaag span { color: var(--inkt); }
.bh-dagkop:hover { background: var(--bg); }
.bh-dagkop.is-dicht strong, .bh-dagkop.is-dicht span { color: #c9a49e; }
.bh-dagkop.is-vandaag strong { background: var(--donker); color: #fff; font-size: 17px; box-shadow: 0 0 0 3px rgba(201, 156, 95, .35); }
.bh-dagkop.is-vandaag em { background: var(--goud); color: var(--inkt); box-shadow: none; }
.bh-week-lijf { position: relative; display: grid; grid-template-columns: var(--kol) repeat(var(--dagen), 1fr); }
.bh-uren-kol { position: relative; }
.bh-uren-kol span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 11px; color: var(--zacht); font-variant-numeric: tabular-nums; }
.bh-uren-kol span:first-child { transform: none; }
.bh-dag { position: relative; border-left: 1px solid var(--lijn); cursor: copy; }
.bh-dag.is-vandaag { background: rgba(201, 156, 95, .05); }
.bh-lijn { position: absolute; left: 0; right: 0; border-top: 1px solid #f9e8e5; pointer-events: none; }
.bh-dicht { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, #fbeeec 0 6px, #f9e8e5 6px 12px); pointer-events: none; }
.bh-blok { position: absolute; left: 3px; right: 3px; border: 1px dashed #d7b3ad; border-radius: 5px; padding: 4px 8px; text-align: left; font-size: 12px; color: var(--inkt);
  background: repeating-linear-gradient(135deg, rgba(163, 98, 90, .08) 0 6px, rgba(163, 98, 90, .15) 6px 12px); overflow: hidden; z-index: 1; }
.bh-blok span { font-weight: 500; }
.bh-afspraak { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 5px 8px; overflow: hidden; text-align: left;
  border: 0; border-left: 3px solid var(--goud); border-radius: 5px; background: var(--donker); color: #fff; font-size: 12px; line-height: 1.3; box-shadow: 0 6px 16px -8px rgba(163, 98, 90, .6); transition: transform .12s, box-shadow .12s; }
.bh-afspraak:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(163, 98, 90, .7); z-index: 3; }
.bh-afspraak.is-beheer { background: var(--bruin); border-left-color: var(--nude); }
.bh-afspraak.is-voorbij { opacity: .55; }
.bh-afspraak strong { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bh-af-tijd { color: var(--goud); font-size: 11px; font-variant-numeric: tabular-nums; }
.bh-afspraak.is-beheer .bh-af-tijd { color: var(--nude); }
.bh-af-wat { color: rgba(255, 255, 255, .7); }
.bh-af-wat { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bh-afspraak.is-kort { flex-direction: row; align-items: center; justify-content: flex-start; gap: 7px; padding: 2px 8px; }
.bh-afspraak.is-kort .bh-af-tijd { flex: none; }
.bh-afspraak.is-kort strong { flex: 1; min-width: 0; text-align: left; }
.bh-afspraak.is-kort .bh-af-wat { display: none; }
.bh-afspraak.is-middel .bh-af-wat { -webkit-line-clamp: 1; }
.bh-af-extra { position: absolute; right: 12px; top: 6px; display: flex; gap: 16px; align-items: baseline; max-width: 55%; font-size: 12px; color: rgba(255, 255, 255, .75); }
.bh-af-extra em { font-style: italic; color: var(--goud); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bh-af-extra span { white-space: nowrap; }
.bh-afspraak.is-kort .bh-af-extra { top: 50%; transform: translateY(-50%); }
.bh-nu { position: absolute; height: 0; border-top: 2px solid #c0533f; z-index: 4; pointer-events: none; }
.bh-nu::before { content: ""; position: absolute; left: -5px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: #c0533f; }

/* ---------- lijsten */
.bh-lijst { max-width: 880px; }
.bh-lijstdag { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--inkt); margin: 22px 0 8px; }
.bh-lijstdag:first-child { margin-top: 4px; }
.bh-rij { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 16px; margin-bottom: 6px; border: 1px solid var(--lijn); border-radius: 6px; background: #fff; text-align: left; transition: border-color .15s, box-shadow .15s; }
.bh-rij:hover { border-color: var(--goud); box-shadow: var(--schaduw); }
.bh-rij-tijd { display: flex; flex-direction: column; min-width: 64px; font-family: var(--display); font-size: 19px; color: var(--inkt); line-height: 1.15; }
.bh-rij-tijd small { font-family: var(--body); font-size: 11px; color: var(--zacht); }
.bh-rij-wie { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bh-rij-wie strong { font-weight: 600; color: var(--inkt); }
.bh-rij-wie span { font-size: 13px; color: var(--zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-rij-prijs { display: flex; flex-direction: column; align-items: flex-end; font-weight: 500; color: var(--inkt); white-space: nowrap; }
.bh-rij-prijs small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--goud-donker); }
.bh-rij.is-geannuleerd { opacity: .6; }
.bh-rij.is-geannuleerd .bh-rij-wie strong { text-decoration: line-through; }
.bh-leeg { text-align: center; padding: 60px 20px; color: var(--zacht); }
.bh-leeg-klein { color: var(--zacht); font-size: 13px; margin: 6px 0; }

.bh-klanten { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.bh-klant { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--lijn); border-radius: 6px; background: #fff; text-align: left; transition: border-color .15s, box-shadow .15s; }
.bh-klant:hover { border-color: var(--goud); box-shadow: var(--schaduw); }
.bh-avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--nude); color: var(--inkt); font-family: var(--display); font-size: 16px; }
.bh-avatar.is-groot { width: 64px; height: 64px; font-size: 24px; background: var(--donker); color: var(--goud); }
.bh-klant-wie { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bh-klant-wie strong { color: var(--inkt); font-weight: 600; }
.bh-klant-wie span { font-size: 12px; color: var(--zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-klant-cijfers { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; color: var(--zacht); white-space: nowrap; }
.bh-klant-cijfers strong { color: var(--inkt); }
.bh-klant-cijfers .is-volgende { color: var(--goud-donker); font-weight: 500; }

/* ---------- instellingen */
.bh-instellingen { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.bh-instellingen #urenForm { grid-row: span 2; }
.bh-kaart { background: #fff; border: 1px solid var(--lijn); border-radius: 6px; padding: 24px; box-shadow: var(--schaduw); }
.bh-kaart h2 { font-size: 22px; }
.bh-uitleg { color: var(--zacht); font-size: 14px; margin: 0 0 16px; }
.bh-kaart > label, .bh-form label { display: block; font-size: 13px; color: var(--inkt); margin-bottom: 12px; }
.bh-kaart > label small, .bh-form label small { color: var(--zacht); }
.bh-kaart input, .bh-kaart select, .bh-form input:not([type=checkbox]), .bh-form select, .bh-form textarea, .bh-notitie textarea {
  display: block; width: 100%; margin-top: 5px; height: 42px; padding: 0 12px; border: 1px solid var(--lijn); border-radius: 5px; background: #fff; font-size: 15px; color: var(--tekst); }
.bh-form textarea, .bh-notitie textarea { height: auto; padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--goud) !important; box-shadow: 0 0 0 3px rgba(201, 156, 95, .2); }
select { -webkit-appearance: none; appearance: none; padding-right: 30px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23745f4e' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 11px center; }
.bh-kaart .bh-knop { margin-top: 6px; }
/* Openingsuren: een tabel met per dag één regel (dag · open van–tot · pauze · totaal). */
.bh-uren { margin-bottom: 18px; }
.bh-uurkop, .bh-uurrij { display: grid; grid-template-columns: 160px 210px minmax(0, 1fr) 60px; align-items: center; gap: 16px; }
.bh-uurkop { padding: 0 0 8px; border-bottom: 1px solid var(--lijn); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--zacht); }
.bh-uurkop span:last-child, .ur-totaal { text-align: right; }
.bh-uurrij { min-height: 58px; padding: 8px 0; border-bottom: 1px solid var(--lijn); }
.bh-uurrij.is-dicht { background: #fcf9f8; }
.ur-open, .ur-pauze, .pauze-uren { display: flex; align-items: center; gap: 8px; }
.ur-tot { font-size: 13px; color: var(--zacht); }
.bh-uren select { width: 84px !important; height: 36px !important; margin: 0 !important; font-size: 14px !important; padding-left: 9px !important; font-variant-numeric: tabular-nums; }
.bh-pauze.bh-check { margin: 0 6px 0 0 !important; align-items: center; }
.bh-pauze.bh-check input { margin: 0; }
.ur-totaal { font-size: 14px; font-weight: 600; color: var(--inkt); font-variant-numeric: tabular-nums; }
.bh-gesloten { display: none; grid-column: 2 / 4; color: var(--zacht); font-size: 14px; font-style: italic; }
.bh-uurrij.is-dicht .ur-open, .bh-uurrij.is-dicht .ur-pauze { display: none; }
.bh-uurrij.is-dicht .bh-gesloten { display: block; }
.bh-uursom { display: flex; justify-content: flex-end; gap: 16px; padding: 12px 0 0; font-size: 14px; color: var(--zacht); }
.bh-uursom strong { min-width: 64px; text-align: right; color: var(--inkt); font-variant-numeric: tabular-nums; }
.bh-toggle { display: flex !important; align-items: center; gap: 10px; width: 140px; margin: 0 !important; cursor: pointer; color: var(--inkt) !important; font-size: 14px !important; font-weight: 500; }
.bh-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bh-toggle i { position: relative; flex: none; width: 36px; height: 20px; border-radius: 10px; background: #e8cfca; transition: background .2s; }
.bh-toggle i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.bh-toggle input:checked + i { background: var(--goud-donker); }
.bh-toggle input:checked + i::after { transform: translateX(16px); }
.bh-toggle input:focus-visible + i { box-shadow: 0 0 0 3px rgba(201, 156, 95, .35); }
.bh-rij2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bh-rij2 > label { margin-bottom: 12px; }
.bh-blokken { margin-bottom: 14px; }
.bh-blokrij { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--lijn); }
.bh-blokrij > span { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.bh-blokrij strong { font-weight: 500; color: var(--inkt); }
.bh-blokrij em { font-size: 13px; color: var(--zacht); }
.bh-blokrij .bh-ikoon { width: 34px; height: 34px; color: var(--rood); }

/* ---------- modals */
.bh-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bh-modal-achter { position: absolute; inset: 0; background: rgba(20, 20, 20, .45); opacity: 0; transition: opacity .2s; backdrop-filter: blur(2px); }
.bh-modal-doos { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 40px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-radius: 6px;
  padding: 28px; box-shadow: var(--schaduw-groot); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .2s, transform .2s; }
.bh-modal.is-klein .bh-modal-doos { max-width: 440px; }
.bh-modal.is-open .bh-modal-achter { opacity: 1; }
.bh-modal.is-open .bh-modal-doos { opacity: 1; transform: none; }
.bh-modal-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--zacht); border-radius: 50%; }
.bh-modal-x:hover { background: var(--bg-alt); color: var(--inkt); }
.bh-modal h3 { font-size: 26px; padding-right: 36px; }
.bh-knoppen { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bh-vraag p { color: var(--tekst); margin: 0 0 8px; }
.bh-vraag .bh-vraag-titel { font-size: 24px; margin: 0 0 10px; padding-right: 0; }
.bh-vraag-lijst { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid var(--lijn); border-radius: 6px; background: #fff; }
.bh-vraag-lijst li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; }
.bh-vraag-lijst li + li { border-top: 1px solid var(--lijn); }
.bh-vraag-lijst b { display: block; font-weight: 600; color: var(--inkt); font-size: 15px; }
.bh-vraag-lijst small { display: block; color: var(--zacht); font-size: 13px; line-height: 1.4; }
.bh-vraag-ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #f7e9e6; color: var(--rood); }
.bh-vraag-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bh-vraag-let { display: flex; gap: 8px; margin: 12px 0 0 !important; padding: 10px 12px; border-radius: 6px; background: #fbf1ef; color: var(--rood) !important; font-size: 13.5px; line-height: 1.45; }
.bh-vraag-let::before { content: "!"; flex: none; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--rood); color: #fff; font-weight: 700; font-size: 12px; margin-top: 1px; }
/* klanten: knop "Wijzigen" per rij */
th.klant-actie, td.klant-actie { width: 1%; text-align: right; padding-left: 0; }
.bh-ico-knop { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--lijn); border-radius: 5px; background: #fff; color: var(--inkt); cursor: pointer; }
.bh-ico-knop:hover { border-color: var(--bruin); color: var(--inkt); }
.bh-ico-knop svg { width: 16px; height: 16px; }
.bh-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bh-check { display: flex !important; align-items: flex-start; gap: 10px; margin: 14px 0 0 !important; font-size: 14px !important; color: var(--tekst) !important; cursor: pointer; }
.bh-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bruin); flex: none; }
.bh-check input:disabled + span { color: #c9a49e; }

.bh-kicker { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.bh-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; background: var(--bg-alt); color: var(--inkt); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.bh-badge.is-groen { background: #e3eee2; color: var(--groen); }
.bh-badge.is-rood { background: #f5e1de; color: var(--rood); }
.bh-badge.is-goud { background: #f6ebd6; color: var(--goud-donker); }
.bh-wanneer { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-weight: 500; color: var(--inkt); }
.bh-wanneer svg { color: var(--goud-donker); }
.bh-beh { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--lijn); border-radius: 6px; background: #fff; }
.bh-beh li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--lijn); }
.bh-beh li em { font-style: normal; color: var(--zacht); white-space: nowrap; }
.bh-beh li.is-totaal { border: 0; background: var(--bg-alt); font-weight: 500; }
.bh-beh li.is-totaal em { color: var(--inkt); }
.bh-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.bh-contact a, .bh-contact button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--lijn); border-radius: 20px; background: #fff; color: var(--inkt); font-size: 13px; text-decoration: none; }
.bh-contact a:hover, .bh-contact button:hover { border-color: var(--goud); }
.bh-contact svg { width: 15px; height: 15px; color: var(--goud-donker); }
.bh-opm { padding: 12px 14px; margin-bottom: 14px; border-left: 3px solid var(--goud); background: #fff; border-radius: 0 3px 3px 0; }
.bh-opm span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--goud-donker); }
.bh-opm p { margin: 4px 0 0; white-space: pre-line; }
.bh-notitie { display: block; font-size: 13px; color: var(--inkt); }
.bh-notitie small { color: var(--zacht); }
.bh-knoppen-detail { justify-content: flex-start; }
.bh-knoppen-detail [data-bewaar] { margin-left: auto; }

/* ---------- formulieren in modals */
.bh-form fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.bh-form legend { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--goud-donker); margin-bottom: 10px; padding: 0; }
.bh-label { display: block; font-size: 13px; color: var(--inkt); margin-bottom: 5px; }
.bh-form label.bh-zoek { display: flex; max-width: none; margin-bottom: 8px; font-size: 15px; }
.bh-form .bh-zoek input:not([type=checkbox]) { display: block; height: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.bh-gekozen { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; min-height: 32px; }
.bh-gekozen button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border: 0; border-radius: 20px; background: var(--donker); color: #fff; font-size: 13px; }
.bh-gekozen button svg { width: 13px; height: 13px; opacity: .7; }
.bh-duur { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--inkt); }
.bh-behlijst { max-height: 230px; overflow-y: auto; border: 1px solid var(--lijn); border-radius: 6px; background: #fff; }
.bh-behcat { position: sticky; top: 0; margin: 0; padding: 7px 12px; background: var(--bg-alt); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--inkt); }
.bh-behitem { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-bottom: 1px solid #fbeeec; background: none; text-align: left; font-size: 14px; }
.bh-behitem:hover { background: var(--bg); }
.bh-behitem i { flex: none; width: 18px; height: 18px; border: 1.5px solid #dbb9b3; border-radius: 5px; position: relative; }
.bh-behitem.is-aan i { background: var(--donker); border-color: var(--donker); }
.bh-behitem.is-aan i::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--goud); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bh-behitem span { flex: 1; }
.bh-behitem em { font-style: normal; font-size: 12px; color: var(--zacht); white-space: nowrap; }
.bh-datum { display: flex !important; align-items: center; gap: 9px; width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--lijn); border-radius: 5px; background: #fff; text-align: left; font-size: 15px; color: var(--tekst); }
.bh-datum svg { color: var(--goud-donker); }
.bh-datum:hover { border-color: var(--bruin); }
.bh-vrij { margin-top: 12px; }
.bh-uurknoppen { display: flex; flex-wrap: wrap; gap: 6px; }
.bh-uurknoppen button { min-width: 62px; padding: 7px 0; border: 1px solid var(--lijn); border-radius: 5px; background: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.bh-uurknoppen button:hover { border-color: var(--goud); }
.bh-uurknoppen button.is-aan { background: var(--donker); border-color: var(--donker); color: #fff; }
.bh-klantzoek { position: relative; }
.bh-suggesties { position: absolute; left: 0; right: 0; top: calc(100% - 8px); z-index: 5; background: #fff; border: 1px solid var(--lijn); border-radius: 6px; box-shadow: var(--schaduw); overflow: hidden; }
.bh-klantzoek { margin-bottom: 14px; }
.bh-zoek-klant { max-width: none; width: 100%; }
.bh-zoek-klant input { font-size: 15px; }
.bh-suggesties { top: calc(100% + 4px); max-height: 320px; overflow-y: auto; }
.bh-suggesties button { display: flex; flex-direction: column; gap: 1px; width: 100%; padding: 9px 12px; border: 0; border-bottom: 1px solid #fbeeec; background: none; text-align: left; }
.bh-suggesties button:hover, .bh-suggesties button.is-actief { background: var(--bg); }
.bh-suggesties button.is-actief { box-shadow: inset 3px 0 0 var(--goud); }
.bh-suggesties strong { font-weight: 600; color: var(--inkt); }
.bh-suggesties strong em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--goud-donker); background: rgba(201, 156, 95, .18); padding: 1px 6px; border-radius: 8px; margin-left: 4px; vertical-align: 1px; }
.bh-suggesties span { font-size: 12px; color: var(--tekst); }
.bh-suggesties small { font-size: 11px; color: var(--zacht); }
.bh-sugg-leeg { margin: 0; padding: 12px; font-size: 13px; color: var(--zacht); }
.bh-gekozen { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 10px 12px; border: 1px solid var(--lijn); border-left: 3px solid var(--goud); border-radius: 6px; background: var(--bg); }
.bh-gekozen[hidden] { display: none; }
.bh-gekozen > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bh-gekozen strong { font-weight: 600; color: var(--inkt); }
.bh-gekozen span { font-size: 12px; color: var(--zacht); }
.bh-gekozen-av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--donker); color: var(--goud); font-family: var(--display); font-size: 14px; }

/* ---------- datumkiezer (assets/js/datumkiezer.js): kleuren van het beheer */
:root { --dk-bg: #fff; --dk-tekst: var(--donker); --dk-zacht: var(--zacht); --dk-lijn: var(--lijn); --dk-hover: var(--bg-alt); --dk-accent: var(--donker);
  --dk-accent-tekst: #fff; --dk-vandaag: var(--goud); --dk-link: var(--bruin); --dk-radius: 6px; --dk-titelfont: var(--display); }
.dk-titel { font-weight: 400 !important; font-size: 18px !important; color: var(--inkt); }
.bh-form .dk-veld input { width: 100%; }

/* ---------- klantfiche */
.bh-klantkop { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-right: 30px; }
.bh-klantkop h3 { margin: 0 0 6px; padding: 0; }
.bh-klantkop .bh-contact { margin: 0; }
.bh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.bh-stats div { padding: 12px 10px; background: #fff; border: 1px solid var(--lijn); border-radius: 6px; text-align: center; }
.bh-stats strong { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--inkt); }
.bh-stats span { font-size: 11px; color: var(--zacht); text-transform: uppercase; letter-spacing: .08em; }
.bh-klantfiche h4 { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--goud-donker); }
.bh-geschiedenis { max-height: 330px; overflow-y: auto; }

/* ---------- meldingen */
.bh-toasts { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: calc(100% - 32px); max-width: 460px; pointer-events: none; }
.bh-toast { padding: 12px 18px; border-radius: 6px; background: var(--inkt); color: #fff; font-size: 14px; box-shadow: var(--schaduw-groot); border-left: 3px solid var(--goud);
  opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.bh-toast.is-zichtbaar { opacity: 1; transform: none; }
.bh-toast.is-fout { border-left-color: #e07b6b; }
.bh-toast.is-let { border-left-color: #e8a94a; }

/* ---------- gsm */
@media (max-width: 1100px) {
  .bh-instellingen { grid-template-columns: 1fr; }
  .bh-instellingen #urenForm { grid-row: auto; }
}
@media (max-width: 820px) {
  :root { --top: 56px; }
  .bh-balk { gap: 10px; }
  .bh-nav { width: 100%; }
  .bh-periode { font-size: 19px; margin-left: auto; text-align: right; }
  .bh-periode small { display: none; }
  .bh-acties { display: none; }
  .bh-schakel { order: 3; margin-left: 0; }
  .bh-samenvatting { order: 4; margin: 0 0 10px; gap: 14px; font-size: 12px; }
  .bh-week { --kol: 46px; }
  .bh-dagkop { flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; }
  .bh-dagkop span { font-size: 10px; }
  .bh-dagkop strong { font-size: 18px; }
  .bh-dagkop em { display: none; }
  .bh-dagkop strong { width: 30px; height: 30px; }
  .bh-week[style*="--dagen:1"] .bh-dagkop { flex-direction: row; align-items: center; gap: 8px; }
  .bh-week[style*="--dagen:1"] .bh-dagkop em { display: inline-flex; }
  .bh-zoek { max-width: none; min-width: 0; width: 100%; flex-basis: 100%; }
  .bh-klanten { grid-template-columns: minmax(0, 1fr); }
  .bh-klant { min-width: 0; padding: 12px; gap: 12px; }
  .bh-klant-wie span { max-width: 100%; }
  .bh-rij { padding: 11px 12px; gap: 12px; }
  .bh-kaart { padding: 18px 16px; }
  .bh-uurkop { display: none; }
  .bh-uurrij { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 12px 0; }
  .ur-open, .ur-pauze, .bh-gesloten { grid-column: 1 / -1; }
  .ur-totaal { grid-row: 1; grid-column: 2; }
  .bh-modal { padding: 0; align-items: flex-end; }
  .bh-modal-doos { max-width: none !important; max-height: 92vh; max-height: calc(100dvh - 16px - env(safe-area-inset-top)); border-radius: 14px 14px 0 0; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .bh-modal h3 { font-size: 23px; }
  .bh-knoppen .bh-knop { flex: 1; }
  .bh-knoppen-detail [data-bewaar] { flex-basis: 100%; margin-left: 0; order: -1; }
  .bh-stats { grid-template-columns: repeat(2, 1fr); }
  .bh-toasts { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .bh-form input:not([type=checkbox]), .bh-form select, .bh-form textarea { font-size: 16px; }
}
@media (max-width: 420px) {
  .bh-rij2 { grid-template-columns: 1fr; gap: 0; }
  .bh-rij2 > div { margin-bottom: 12px; }
}

/* =====================================================================
   Opbouw zoals de andere FiMar-beheertools: zijbalk met menu, bovenbalk, pagina's
   ===================================================================== */
.mi { width: 19px; height: 19px; }
.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; transition: grid-template-columns .2s; }
.zij-klein .app { grid-template-columns: 68px minmax(0, 1fr); }
.inhoud { min-width: 0; display: flex; flex-direction: column; }

/* ---------- zijbalk */
.zij { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--donker); color: rgba(255, 255, 255, .72); z-index: 30; }
.zij-kop { display: flex; align-items: center; justify-content: center; min-height: 88px; padding: 10px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.zij-logo { display: block; text-decoration: none; transition: opacity .15s; }
.zij-logo:hover { opacity: .85; }
.zij-logo img { display: block; width: 104px; height: auto; }
.zij-logo-s { display: none; font-family: var(--display); font-size: 24px; color: var(--goud); letter-spacing: .04em; }
.zij-klap { position: absolute; top: 50%; right: -14px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; margin-top: -14px; padding: 0;
  border: 1px solid var(--lijn); border-radius: 50%; background: #fff; color: var(--inkt); box-shadow: 0 2px 8px rgba(163, 98, 90, .18); transition: background .15s, color .15s, transform .15s; cursor: pointer; }
.zij-klap:hover { background: var(--goud); border-color: var(--goud); color: var(--inkt); transform: scale(1.1); }
.zij-klap:focus-visible { outline: 2px solid var(--goud); outline-offset: 2px; }
.zij-klap .mi { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .2s; }
.zij-nav { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px 24px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.zij-groep { margin: 20px 10px 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--goud-donker); }
.zij-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; margin-bottom: 2px; border-radius: 5px; color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 14px; letter-spacing: .02em; white-space: nowrap; transition: background .15s, color .15s; }
.zij-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.zij-nav a.on { background: rgba(201, 156, 95, .12); color: #fff; }
.zij-nav a.on .mi { color: var(--goud); }
.zij-nav a.on::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--goud); }
.zij-nav .t { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.zij-nav .n { min-width: 22px; padding: 1px 7px; border-radius: 10px; background: var(--goud); color: var(--inkt); font-size: 11px; font-weight: 600; text-align: center; }
.zij-voet { padding: 14px 20px 22px; font-size: 30px; opacity: .55; text-align: center; }
.zij-klein .zij-kop { padding: 10px 0; min-height: 64px; }
.zij-klein .zij-logo img { display: none; }
.zij-klein .zij-logo-s { display: block; }
.zij-klein .zij-klap .mi { transform: rotate(180deg); }
.zij-klein .zij-groep { height: 1px; margin: 12px 8px; background: rgba(255, 255, 255, .1); font-size: 0; }
.zij-klein .zij-nav { padding: 8px 10px; }
.zij-klein .zij-nav a { justify-content: center; padding: 11px 0; }
.zij-klein .zij-nav a.on::before { left: -10px; }
.zij-klein .zij-nav .t, .zij-klein .zij-voet { display: none; }
.zij-klein .zij-nav .n { position: absolute; top: 2px; right: 4px; min-width: 0; padding: 0 5px; font-size: 10px; }
.zij-scherm { display: none; }

/* ---------- bovenbalk */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: var(--top); padding: 0 24px; background: rgba(255, 250, 250, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lijn); }
.zij-open, .top-logo { display: none; }
.who { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.who form { margin: 0; }
.lokaal-balk { display: inline-flex; align-items: center; gap: 7px; max-width: 420px; padding: 6px 12px; border-radius: 999px; background: #f6ebd6; color: #6d5530; font-size: 12px; white-space: nowrap; overflow: hidden; }
.lokaal-balk .mi { width: 15px; height: 15px; }
.lokaal-balk span { overflow: hidden; text-overflow: ellipsis; }
.web-knop { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border: 1px solid var(--lijn); border-radius: 999px; background: #fff; color: var(--inkt); text-decoration: none; font-weight: 500; transition: border-color .15s, background .15s, color .15s; }
.web-knop .mi { width: 17px; height: 17px; color: var(--goud-donker); }
.web-knop .mi:last-child { width: 13px; height: 13px; color: var(--zacht); }
.web-knop:hover { border-color: var(--donker); background: var(--donker); color: #fff; }
.web-knop:hover .mi { color: var(--goud); }
/* Bovenbalk: tot wanneer klanten online kunnen boeken (oranje < 60 dagen, rood < 30 of gesloten) */
.periode { position: relative; }
.periode summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 12px; border: 1px solid var(--lijn); border-radius: 999px; background: #fff; color: var(--inkt); white-space: nowrap; cursor: pointer; user-select: none; transition: border-color .15s, background .15s; }
.periode summary::-webkit-details-marker { display: none; }
.periode summary:hover, .periode[open] summary { border-color: var(--goud); }
.periode summary .mi { width: 17px; height: 17px; color: var(--goud-donker); }
.periode .periode-l { color: var(--zacht); }
.periode summary b { font-weight: 600; }
.periode.is-bijna summary { border-color: var(--goud); background: #fbf0dc; }
.periode.is-kort summary { border-color: var(--rood); background: #f7e4e1; color: var(--rood); }
.periode.is-kort summary .mi, .periode.is-kort .periode-l { color: var(--rood); }
.periode-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; display: grid; gap: 12px; width: 320px; max-width: calc(100vw - 32px); padding: 16px; background: #fff; border: 1px solid var(--lijn); border-radius: 6px; box-shadow: var(--schaduw-groot); animation: bh-in .15s ease; }
.periode-pop > b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--inkt); }
.periode-pop p { margin: -6px 0 0; font-size: 13px; line-height: 1.5; color: var(--zacht); }
.periode-pop input[type=date] { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--lijn); border-radius: 5px; background: #fff; font: inherit; font-size: 15px; }
.periode-snel { display: flex; flex-wrap: wrap; gap: 6px; }
.periode-snel .bh-knop { padding: 6px 10px; font-size: 12.5px; }
@media (max-width: 1100px) { .periode .periode-l { display: none; } }
.periode-kort { display: none; }
@media (max-width: 560px) { .periode summary { padding: 7px 10px; } .periode-lang { display: none; } .periode-kort { display: inline; font-size: 13px; } }
.hulp-knop { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--inkt); transition: background .15s, color .15s; }
.hulp-knop:hover { background: var(--bg-alt); color: var(--inkt); }
.hulp-knop .mi { width: 21px; height: 21px; }
.profiel { position: relative; }
.profiel summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; color: var(--inkt); cursor: pointer; user-select: none; }
.profiel summary::-webkit-details-marker { display: none; }
.profiel summary:hover, .profiel[open] summary { background: var(--bg-alt); }
.profiel .av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--donker); color: var(--goud); font-family: var(--display); font-size: 14px; letter-spacing: .03em; }
.profiel .pn { font-weight: 500; }
.profiel .chev { width: 14px; height: 14px; stroke-width: 2; transition: transform .15s; }
.profiel[open] .chev { transform: rotate(180deg); }
.profiel .pm { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 280px; max-width: calc(100vw - 32px); padding: 6px; background: #fff; border: 1px solid var(--lijn); border-radius: 6px; box-shadow: var(--schaduw-groot); animation: bh-in .15s ease; }
.profiel .pm-kop { padding: 8px 10px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--lijn); }
.profiel .pm-kop b { display: block; font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--inkt); }
.profiel .pm-kop small { color: var(--zacht); overflow-wrap: anywhere; }
.profiel .pm a, .profiel .pm button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 5px; background: none; color: var(--tekst); text-align: left; text-decoration: none; font: inherit; font-size: 14px; cursor: pointer; }
.profiel .pm a:hover, .profiel .pm button:hover { background: var(--bg); }
.profiel .pm a.on { background: var(--bg); font-weight: 600; }
.profiel .pm form { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--lijn); }
.profiel .pm button { color: var(--rood); }
.profiel .pm-versie { margin: 6px 0 0; padding: 8px 10px 4px; border-top: 1px solid var(--lijn); font-size: 11px; color: var(--zacht); line-height: 1.5; }

/* ---------- pagina */
.main { width: 100%; padding: 24px clamp(16px, 2.4vw, 32px) 70px; }
.kop-rij { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 18px; }
.kop-rij h1 { margin: 0 auto 0 0; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.15; color: var(--inkt); }
.kop-rij h1 small { margin-left: 6px; font-family: var(--body); font-size: 14px; color: var(--zacht); letter-spacing: .02em; }
.sectie { margin: 26px 0 12px; font-size: 22px; }
.sectie small { font-family: var(--body); font-size: 13px; color: var(--zacht); margin-left: 6px; }
.terug { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--inkt); font-size: 14px; text-decoration: none; }
.terug:hover { color: var(--inkt); }
.terug .mi { width: 16px; height: 16px; }
.bh-uitleg.klein { font-size: 13px; margin: 10px 0; }
.zacht { color: var(--zacht); }
.raster2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.raster2.breed-links { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); }
.bh-kaart > :last-child { margin-bottom: 0; }
.bh-kaart p { margin: 0 0 12px; }

/* ---------- meldingen */
.flash { margin: 0 0 16px; padding: 12px 16px; border-radius: 5px; border-left: 3px solid var(--groen); background: #e9f1e7; color: #35563a; font-weight: 500; transition: opacity .4s, transform .4s; }
.flash a { color: inherit; font-weight: 600; }
.flash-err { border-left-color: var(--rood); background: #f8e6e3; color: var(--rood); }
.flash-info { border-left-color: var(--goud); background: #f8efdf; color: #6d5530; }
.flash.weg { opacity: 0; transform: translateY(-6px); }

/* ---------- filter */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.filter select { width: auto; height: 42px; padding: 0 12px; border: 1px solid var(--lijn); border-radius: 5px; background-color: #fff; background-position: right 13px center; padding-right: 38px !important; font-size: 14px; color: var(--inkt); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.filter select:hover { border-color: var(--goud); }
.filter .bh-zoek { max-width: 380px; margin: 0; }
.wis { border: 0; background: none; color: var(--inkt); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 6px; cursor: pointer; }
.wis:hover { color: var(--inkt); }
.soorten { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.soorten legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 13px; color: var(--inkt); }
.soorten label { position: relative; cursor: pointer; margin: 0 !important; }
.soorten input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.soorten span { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--lijn); border-radius: 999px; background: #fff; color: var(--tekst); font-size: 13.5px; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.soorten span b { font-weight: 600; font-size: 11.5px; color: var(--zacht); }
.soorten label:hover span { border-color: var(--goud); }
.soorten input:checked + span { background: var(--donker); border-color: var(--donker); color: #fff; }
.soorten input:checked + span b { color: var(--goud); }
.soorten input:focus-visible + span { box-shadow: 0 0 0 3px rgba(201, 156, 95, .35); }
.soorten label.nul span { opacity: .55; }
.bh-kaart .soorten { margin-bottom: 14px; }

/* ---------- tabellen */
.tabel { position: relative; overflow-x: auto;   /* relative: anders ontsnapt een verborgen .bh-sr-label uit de scrollbak en wordt de hele pagina breder */
  background: #fff; border: 1px solid var(--lijn); border-radius: 6px; box-shadow: var(--schaduw); }
.tabel.vlak { box-shadow: none; }
.tabel table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabel th { padding: 12px 14px; border-bottom: 1px solid var(--lijn); background: var(--bg); color: var(--goud-donker); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.tabel td { padding: 11px 14px; border-bottom: 1px solid #f9e8e5; vertical-align: middle; }
.tabel tbody tr:last-child td { border-bottom: 0; }
.tabel td b { font-weight: 600; color: var(--inkt); }
.tabel .r { text-align: right; }
.nw { white-space: nowrap; }
td .sub { display: block; font-size: 12.5px; color: var(--zacht); margin-top: 1px; }
td.wat { min-width: 200px; }
tr[data-href], tr[data-afspraak], tr[data-klik] { cursor: pointer; transition: background .12s; }
tr[data-href]:hover td, tr[data-afspraak]:hover td, tr[data-klik]:hover td { background: #fffafa; }
tr[data-href]:focus-visible, tr[data-afspraak]:focus-visible, tr[data-klik]:focus-visible { outline: 2px solid var(--goud); outline-offset: -2px; }
tr.is-weg td { color: var(--zacht); }
tr.is-weg td b { color: var(--zacht); text-decoration: line-through; font-weight: 500; }
tr.is-komend td:first-child { box-shadow: inset 3px 0 0 var(--goud); }
td .wie { display: flex; align-items: center; gap: 12px; }
td .wie .bh-avatar { width: 36px; height: 36px; font-size: 14px; flex: none; }
.volgende { color: var(--goud-donker); font-weight: 500; }
.opm-ico { color: var(--goud-donker); }
th.sorteer button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
th.sorteer button::after { content: "\2195"; opacity: .4; font-size: .95em; transition: opacity .15s; }
th.sorteer button:hover::after, th.sorteer button:focus-visible::after { opacity: .8; }
th.sorteer button:focus-visible { outline: 2px solid var(--goud); outline-offset: 2px; border-radius: 2px; }
th.sorteer[aria-sort] { color: var(--inkt); }
th.sorteer[aria-sort=ascending] button::after { content: "\2191"; opacity: 1; }
th.sorteer[aria-sort=descending] button::after { content: "\2193"; opacity: 1; }

/* ---------- klantfiche */
.klant-kop { gap: 16px; }
.klant-kop .klant-wie { margin-right: auto; min-width: 0; }
.klant-kop h1 { margin: 0 0 4px; }
.klant-kop .bh-contact { margin: 0; }
.kop-knoppen, .klant-knoppen { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.klant-notitie { margin: 18px 0 0; padding: 14px 16px; max-width: 760px; }
.klant-notitie label { display: block; font-size: 13px; color: var(--inkt); margin-bottom: 8px; }
.klant-notitie textarea { display: block; width: 100%; margin-top: 6px; }
.klant-modal .bh-form > label { display: block; margin-bottom: 12px; }
.klant-modal .beh-hint { display: block; margin: -4px 0 12px; }
.klant-twee { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.klant-twee label { display: block; margin-bottom: 12px; }
.klant-twee input, .klant-twee select { display: block; width: 100%; margin-top: 6px; }
.klant-notitie .klant-twee label { margin-bottom: 8px; }
.klant-notitie .beh-hint { margin: -2px 0 10px; }
.klant-twee :disabled { background: var(--bg); color: var(--zacht); cursor: not-allowed; }
.klant-extra { margin: 8px 0 0; font-size: 14px; color: var(--zacht); }
@media (max-width: 560px) { .klant-twee { grid-template-columns: 1fr; } }

/* ---------- gebruikers */
/* Gebruikers: venster wijzigen */
.gb-pw-veld { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.gb-pw-veld input { flex: 1; min-width: 0; margin-top: 0 !important; font-family: ui-monospace, Consolas, monospace; letter-spacing: .03em; }
.gb-pw-veld .bh-knop { flex: none; }
.gb-pw-veld .bh-knop svg { width: 14px; height: 14px; }
.gb-pw-hint { display: block; margin-top: 6px; }
.bh-kaart input:disabled { background: var(--bg); color: var(--zacht); }

/* ---------- wachtwoord */
.pw-meter { height: 5px; margin: -4px 0 10px; background: var(--lijn); border-radius: 5px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--rood); transition: width .25s, background-color .25s; }
.pw-meter[data-stand="2"] i { background: var(--goud); }
.pw-meter[data-stand="3"] i { background: var(--groen); }
.pw-regels { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 14px; margin: 0 0 16px; padding: 0; font-size: 12.5px; color: var(--zacht); }
.pw-regels li { display: flex; align-items: flex-start; gap: 7px; transition: color .2s; }
.pw-regels li[data-regel="woorden"] { grid-column: 1 / -1; }
.pw-regels li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 2px; border: 1.5px solid currentColor; border-radius: 50%; box-sizing: border-box; }
.pw-regels li.ok { color: var(--groen); }
.pw-regels li.ok::before { border: 0; background: var(--groen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2 6 9.6l4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pw-regels li.mis { color: var(--rood); }
.pw-zelfde { min-height: 1.2em; margin: -4px 0 14px !important; font-size: 12.5px; }
.pw-zelfde.ok { color: var(--groen); }
.pw-zelfde.mis { color: var(--rood); }

/* ---------- contact */
.bh-kaart textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid var(--lijn); border-radius: 5px; background: #fff; font: inherit; font-size: 15px; resize: vertical; }
.fimar { margin: 0; }
.fimar div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--lijn); font-size: 14px; }
.fimar div:last-child { border-bottom: 0; }
.fimar dt { color: var(--zacht); }
.fimar dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- afwezigheden / uren */
.bh-blokrij.is-voorbij { opacity: .6; }
.bh-blokrij strong .bh-badge { margin-left: 6px; font-style: normal; vertical-align: 1px; }
.bh-pagina-afwezig .bh-kaart { max-width: 760px; }
.bh-pagina-instellingen .bh-instellingen { max-width: 760px; grid-template-columns: minmax(0, 1fr); }
.bh-pagina-uren .bh-instellingen { max-width: 920px; grid-template-columns: minmax(0, 1fr); }
/* Instellingen: snelknoppen voor de einddatum en de status (is-bijna < 60 dagen, is-kort < 30, is-voorbij = gesloten) */
.inst-snel { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.inst-snel .bh-knop { padding: 7px 12px; font-size: 12.5px; }
.inst-status { padding: 10px 12px; border-radius: 5px; background: rgba(201, 156, 95, .14); color: var(--inkt); font-size: 14px; }
.inst-status.is-bijna { background: #fbf0dc; color: var(--goud-donker); }
.inst-status.is-kort, .inst-status.is-voorbij { background: #f7e4e1; color: var(--rood); }
/* Wachtwoordveld met Toon/Verberg (de Mollie-sleutel) */
.inst-ww { position: relative; margin-top: 6px; }
.inst-ww input { width: 100%; font-family: ui-monospace, Consolas, monospace; }
.inst-ww-uitleg { display: block; margin-top: 6px; }
.pauze-uren { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- inloggen: ingelogd blijven */
.bh-onthoud small { display: block; font-size: 12px; color: var(--zacht); }

/* ---------- wachtwoord tonen (kern.js zet een oogje in elk wachtwoordveld) */
.ww-veld { position: relative; display: block; }
.ww-veld input { width: 100%; padding-right: 46px !important; }
.ww-oog { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--zacht); cursor: pointer; }
.ww-oog:hover, .ww-oog[aria-pressed=true] { color: var(--goud-donker); }
.ww-oog svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- handleiding */
.hl { background: var(--bg); }
.hl-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 24px; background: var(--donker); }
.hl-logo { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.hl-logo img { height: 56px; width: auto; }
.hl-logo b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--goud); }
.hl-shell { display: grid; grid-template-columns: 270px minmax(0, 760px); gap: 48px; max-width: 1160px; margin: 0 auto; padding: 36px 24px 90px; }
.hl-toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; font-size: 14px; }
.hl-toc summary { list-style: none; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--goud-donker); margin-bottom: 10px; cursor: pointer; }
.hl-toc summary::-webkit-details-marker { display: none; }
.hl-toc ol { list-style: none; margin: 0; padding: 0; }
.hl-toc ol ol { margin: 4px 0 12px 22px; }
.hl-toc a { display: flex; gap: 8px; padding: 4px 0; color: var(--tekst); text-decoration: none; }
.hl-toc a:hover { color: var(--goud-donker); }
.hl-toc a span { color: var(--zacht); min-width: 18px; font-variant-numeric: tabular-nums; }
.hl-toc .hl-toc-h { font-weight: 600; color: var(--inkt); }
.hl-main h1 { font-family: var(--display); font-weight: 400; font-size: 40px; color: var(--inkt); margin: 0 0 14px; }
.hl-lead { font-size: 17px; line-height: 1.7; color: var(--inkt); margin: 0 0 32px; }
.hl-main section { padding: 26px 0 8px; border-top: 1px solid var(--lijn); scroll-margin-top: 80px; }
.hl-main h2 { font-size: 26px; }
.hl-main p, .hl-main li { line-height: 1.7; }
.hl-main ul { padding-left: 20px; }
.hl-main li { margin-bottom: 6px; }
.hl-ico .mi { width: 16px; height: 16px; vertical-align: -3px; color: var(--goud-donker); }
.hl-tab { width: 100%; border-collapse: collapse; margin: 6px 0 18px; border: 1px solid var(--lijn); background: #fff; font-size: 14px; }
.hl-tab th, .hl-tab td { padding: 10px 14px; border-bottom: 1px solid var(--lijn); text-align: left; vertical-align: top; }
.hl-tab th { width: 34%; background: var(--bg); font-weight: 600; color: var(--inkt); }
.hl-tip { display: flex; gap: 12px; padding: 14px 16px; border-left: 3px solid var(--goud); background: #f8efdf; color: #6d5530; border-radius: 5px; }
.hl-tip .mi { flex: none; margin-top: 3px; }
.hl-main h3 { font-size: 19px; margin: 28px 0 10px; scroll-margin-top: 80px; }
.hl-fig { margin: 14px 0 20px; }
.hl-fig a { display: block; border: 1px solid var(--lijn); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 6px 22px rgba(60, 40, 30, .08); }
.hl-fig img { display: block; width: 100%; height: auto; }
.hl-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--zacht); text-align: center; }
.hl-fig.is-gsm { max-width: 300px; margin-left: auto; margin-right: auto; }
.hl-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.hl-duo .hl-fig { margin: 14px 0 20px; }

/* ---------- tablet en gsm: menu als schuifpaneel */
@media (max-width: 1100px) {
  .raster2, .raster2.breed-links { grid-template-columns: minmax(0, 1fr); }
  .lokaal-balk span { display: none; }
}
@media (max-width: 860px) {
  .app, .zij-klein .app { grid-template-columns: minmax(0, 1fr); }
  .zij { position: fixed; left: 0; top: 0; bottom: 0; width: 264px; height: auto; transform: translateX(-100%); transition: transform .25s ease; }
  .zij-open-m .zij { transform: none; box-shadow: var(--schaduw-groot); }
  .zij-klap { display: none; }
  .zij-klein .zij-kop { min-height: 88px; }
  .zij-klein .zij-logo img { display: block; }
  .zij-klein .zij-logo-s { display: none; }
  .zij-klein .zij-groep { height: auto; margin: 20px 10px 8px; background: none; font-size: 10.5px; }
  .zij-klein .zij-nav { padding: 8px 12px 24px; }
  .zij-klein .zij-nav a { justify-content: flex-start; padding: 9px 12px; }
  .zij-klein .zij-nav .t, .zij-klein .zij-voet { display: block; }
  .zij-klein .zij-nav .n { position: static; min-width: 22px; padding: 1px 7px; font-size: 11px; }
  .zij-scherm { position: fixed; inset: 0; z-index: 29; display: block; background: rgba(20, 20, 20, .4); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .zij-open-m .zij-scherm { opacity: 1; pointer-events: auto; }
  .top { padding: 0 12px 0 6px; gap: 6px; }
  .who { gap: 4px; min-width: 0; }
  .zij-open { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; color: var(--inkt); cursor: pointer; }
  .zij-open:hover { background: var(--bg-alt); }
  .zij-open .mi { width: 22px; height: 22px; }
  .top-logo { display: block; }
  .top-logo img { display: block; height: 46px; width: auto; }
  .web-knop { padding: 0; width: 38px; height: 38px; justify-content: center; }
  .web-knop span, .web-knop .mi:last-child { display: none; }
  .lokaal-balk { padding: 6px 9px; }
  .lokaal-balk b { display: none; }
  .profiel .pn, .profiel .chev { display: none; }
  .profiel summary { padding: 3px; }
  .main { padding: 16px 12px 60px; }
  .kop-rij h1 { font-size: 26px; }
  .filter .bh-zoek { max-width: none; flex: 1 1 100%; }
  .filter select { flex: 1; }
  .filter .soorten { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .tabel { margin: 0 -12px; border-left: 0; border-right: 0; border-radius: 0; }
  .raster2 .tabel { margin: 0; border: 1px solid var(--lijn); border-radius: 6px; }
  .tabel th, .tabel td { padding: 10px 12px; }
  .bh-pagina-afspraken th:nth-child(5), .bh-pagina-afspraken td:nth-child(5) { display: none; }
  .bh-pagina-klanten th:nth-child(4), .bh-pagina-klanten td:nth-child(4) { display: none; }
  .klant-knoppen { width: 100%; }
  .klant-kop .bh-knop { flex: 1; justify-content: center; }
  .pw-regels { grid-template-columns: 1fr; }
  .hl-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px 16px 70px; }
  .hl-toc { position: static; max-height: none; padding: 14px 16px; border: 1px solid var(--lijn); background: #fff; border-radius: 6px; }
  .hl-toc details:not([open]) summary { margin: 0; }
  .hl-main h1 { font-size: 30px; }
  .hl-top { padding: 0 16px; }
  .hl-logo b { display: none; }
  .hl-duo:not(.is-gsm) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .bh-pagina-afspraken th:nth-child(3), .bh-pagina-afspraken td:nth-child(3) { display: none; }
  .bh-pagina-klanten th:nth-child(3), .bh-pagina-klanten td:nth-child(3), .bh-pagina-klanten th:nth-child(5), .bh-pagina-klanten td:nth-child(5) { display: none; }
  td .wie .bh-avatar { display: none; }
}
.bh-login-form .bh-onthoud { display: flex !important; align-items: flex-start; gap: 10px; margin: 16px 0 4px !important; font-size: 14px !important; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--tekst) !important; line-height: 1.4; cursor: pointer; }
.bh-login-form .bh-onthoud input { width: 18px; height: 18px; margin: 1px 0 0; padding: 0; box-shadow: none; accent-color: var(--bruin); flex: none; }
.bh-login-form .bh-onthoud span { font-weight: 500; }
.bh-login-form .bh-onthoud small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--zacht); }
.bh-login-form input + label, .bh-login-form .ww-veld + label { margin-top: 18px; }
.bh-pagina-afspraken td:nth-child(2) b { white-space: nowrap; }

/* ---------- maandoverzicht (Agenda › Maand) */
.bh-maand-kop { position: sticky; top: var(--top); z-index: 5; display: grid; grid-template-columns: repeat(7, 1fr); background: #fff; border-bottom: 1px solid var(--lijn); border-radius: 6px 4px 0 0; }
.bh-maand-kop span { padding: 11px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--inkt); }
.bh-maand-kop span + span { border-left: 1px solid var(--lijn); }
.bh-maand-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(128px, auto); }
.bh-mdag { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 7px 7px 9px; border-left: 1px solid var(--lijn); border-top: 1px solid var(--lijn); cursor: pointer; transition: background .15s; }
.bh-mdag:nth-child(7n + 1) { border-left: 0; }
.bh-mdag:nth-child(-n + 7) { border-top: 0; }
.bh-mdag:hover { background: var(--bg); }
.bh-mdag:focus-visible { outline: 2px solid var(--goud); outline-offset: -2px; }
.bh-mdag.is-dicht { background: repeating-linear-gradient(135deg, #fffafa 0 6px, #fbeeec 6px 12px); }
.bh-mdag.is-afwezig { background: repeating-linear-gradient(135deg, rgba(163, 98, 90, .06) 0 6px, rgba(163, 98, 90, .12) 6px 12px); }
.bh-mdag.is-buiten { background: #fffafa; }
.bh-mdag.is-buiten .bh-mdag-kop strong { color: #d6b5af; }
.bh-mdag.is-buiten .bh-mafspraak, .bh-mdag.is-voorbij .bh-mafspraak { opacity: .55; }
.bh-mdag-kop { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 2px; }
.bh-mdag-kop strong { display: inline-grid; place-items: center; min-width: 28px; height: 28px; font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--inkt); line-height: 1; }
.bh-mdag.is-dicht .bh-mdag-kop strong { color: #c9a49e; }
.bh-mdag.is-vandaag .bh-mdag-kop strong { background: var(--donker); color: #fff; border-radius: 50%; font-size: 15px; }
.bh-mdag-kop em { font-style: normal; font-size: 11px; font-weight: 600; background: var(--bg-alt); color: var(--inkt); padding: 1px 7px; border-radius: 10px; }
.bh-mafspraak { display: block; width: 100%; padding: 3px 6px; border: 0; border-left: 3px solid var(--goud); border-radius: 5px; background: var(--donker); color: #fff;
  font-size: 12px; line-height: 1.35; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-mafspraak span { color: var(--goud); font-size: 11px; font-variant-numeric: tabular-nums; margin-right: 5px; }
.bh-mafspraak.is-beheer { background: var(--bruin); border-left-color: var(--nude); }
.bh-mafspraak.is-beheer span { color: var(--nude); }
.bh-mafspraak:hover { box-shadow: 0 6px 14px -8px rgba(163, 98, 90, .7); }
.bh-mblok { display: block; width: 100%; padding: 2px 6px; border: 1px dashed #d7b3ad; border-radius: 5px; background: rgba(255, 255, 255, .6); color: var(--inkt);
  font-size: 11px; font-weight: 500; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-mmeer { font-size: 11px; font-weight: 500; color: var(--inkt); padding: 1px 6px; }
.bh-mpunten { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; margin-top: auto; }
.bh-mpunten i { width: 6px; height: 6px; border-radius: 50%; background: var(--goud-donker); }
@media (max-width: 820px) {
  .bh-maand-kop span { padding: 8px 0; text-align: center; font-size: 10px; }
  .bh-maand-raster { grid-auto-rows: minmax(62px, auto); }
  .bh-mdag { padding: 5px 2px 7px; align-items: center; gap: 4px; }
  .bh-mdag-kop { justify-content: center; margin: 0; }
  .bh-mdag-kop em { display: none; }
  .bh-mdag-kop strong { min-width: 26px; height: 26px; font-size: 15px; }
}
.bh-gekozen .bh-gekozen-av { font-size: 14px; color: var(--goud); }
.bh-gekozen [data-andere] { flex: none; background: #fff; color: var(--inkt); border: 1px solid var(--lijn); }
.bh-gekozen [data-andere]:hover { border-color: var(--bruin); }
@media (max-width: 820px) { .bh-gekozen [data-andere] { padding: 7px 10px; font-size: 12px; } }

/* ---------- Afspraken › "Agenda": naar de afspraak in de agenda, die daar oplicht */
.bh-naar-agenda { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--lijn); border-radius: 5px; background: #fff; color: var(--inkt); font-size: 12px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.bh-naar-agenda svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.bh-naar-agenda:hover { border-color: var(--goud); color: var(--inkt); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* oplichten: gouden kader dat pulseert, de rest van de agenda dimt even */
@keyframes bh-oplichten { 0% { box-shadow: 0 0 0 3px var(--goud), 0 0 0 0 rgba(201, 156, 95, .75); } 70%, 100% { box-shadow: 0 0 0 3px var(--goud), 0 0 0 18px rgba(201, 156, 95, 0); } }
#agKalender .bh-afspraak, #agKalender .bh-mafspraak, #agKalender .bh-mblok { transition: opacity .4s, filter .4s, transform .25s, box-shadow .25s; }
#agKalender.is-focus .bh-afspraak:not(.is-uitgelicht), #agKalender.is-focus .bh-mafspraak:not(.is-uitgelicht), #agKalender.is-focus .bh-mblok { opacity: .28; filter: saturate(.4); }
.bh-afspraak.is-uitgelicht, .bh-mafspraak.is-uitgelicht { animation: bh-oplichten 1.1s ease-out infinite; z-index: 6; opacity: 1 !important; transform: scale(1.04); }
.bh-mdag.is-uitgelicht { animation: bh-oplichten 1.1s ease-out infinite; position: relative; z-index: 2; background: rgba(201, 156, 95, .18); }
/* Afspraken: de rij waar je vandaan kwam */
@keyframes bh-rij { 0%, 55% { background: rgba(201, 156, 95, .32); } 100% { background: transparent; } }
tr.is-uitgelicht td { animation: bh-rij 4.5s ease-out; }
tr.is-uitgelicht td:first-child { box-shadow: inset 4px 0 0 var(--goud); }
@media (max-width: 820px) { .bh-naar-agenda span { display: none; } .bh-naar-agenda { padding: 6px 8px; } }

/* ---------- korte afspraken: de behandeling op dezelfde lijn; dagweergave: telefoon naast de naam */
.bh-afspraak.is-kort strong { flex: 0 1 auto; max-width: 45%; }
.bh-afspraak.is-kort .bh-af-wat { display: block; flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.bh-af-naam { display: flex; align-items: baseline; gap: 10px; min-width: 0; max-width: 100%; }
.bh-af-naam strong { min-width: 0; }
.bh-af-tel { flex: none; font-size: 12px; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.bh-afspraak.is-kort .bh-af-naam { flex: 0 1 auto; max-width: 50%; }
.bh-afspraak.is-kort .bh-af-naam strong { max-width: none; }
.bh-afspraak.is-kort .bh-af-extra { position: static; transform: none; flex: none; max-width: 40%; margin-left: auto; }

/* week: korte afspraken in twee lijnen */
.bh-afspraak.is-stapel { justify-content: center; gap: 0; padding: 2px 8px; }
.bh-af-rij { display: flex; align-items: baseline; gap: 6px; min-width: 0; max-width: 100%; }
.bh-af-rij .bh-af-tijd { flex: none; }
.bh-af-rij strong { min-width: 0; font-size: 12px; }
.bh-afspraak.is-stapel .bh-af-wat { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; line-height: 1.3; }

/* ---------- nieuwe afspraak: keuzelijst met alle klanten */
.bh-zoek-klant { padding-right: 4px; }
.bh-klantlijst-knop { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-left: 1px solid var(--lijn); border-radius: 0; background: none; color: var(--inkt); cursor: pointer; }
.bh-klantlijst-knop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s; }
.bh-klantlijst-knop:hover { color: var(--inkt); }
.bh-klantlijst-knop.is-open svg { transform: rotate(180deg); }
.bh-suggesties.is-lijst { max-height: 360px; }
.bh-sugg-kop { position: sticky; top: 0; z-index: 1; margin: 0; padding: 7px 12px; background: var(--bg-alt); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--inkt); }

/* ---------- breed venster (nieuwe afspraak): klant links, behandeling + moment rechts */
.bh-modal.is-breed .bh-modal-doos { max-width: 1120px; }
@media (min-width: 900px) {
  .bh-kolommen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: start; }
  .bh-kol-klant { position: sticky; top: 0; }
  .bh-kol-beh { padding-left: 36px; margin-left: -18px; border-left: 1px solid var(--lijn); }
  .bh-modal.is-breed .bh-behlijst { max-height: 300px; }
  .bh-modal.is-breed .bh-knoppen { border-top: 1px solid var(--lijn); padding-top: 18px; }
}

/* ---------- agenda: legende onder de kalender */
.bh-legende { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 2px 0; padding: 0; list-style: none; font-size: 12px; color: var(--inkt); }
.bh-legende li { display: flex; align-items: center; gap: 8px; }
.bh-legende i { flex: none; width: 22px; height: 14px; border-radius: 5px; }
.bh-legende .is-online { background: var(--donker); box-shadow: inset 3px 0 0 var(--goud); }
.bh-legende .is-beheer { background: var(--bruin); box-shadow: inset 3px 0 0 var(--nude); }
.bh-legende .is-voorbij { background: var(--donker); box-shadow: inset 3px 0 0 var(--goud); opacity: .55; }
.bh-legende .is-blok { border: 1px dashed #d7b3ad; background: repeating-linear-gradient(135deg, rgba(163, 98, 90, .08) 0 4px, rgba(163, 98, 90, .15) 4px 8px); }
.bh-legende .is-dicht { border: 1px solid var(--lijn); background: repeating-linear-gradient(135deg, #fbeeec 0 4px, #f4dcd8 4px 8px); }
@media (max-width: 820px) { .bh-legende { gap: 6px 16px; font-size: 11px; } }

/* ---------- behandelingen */
.beh-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 4px 0 18px; }
.beh-filter .bh-zoek { flex: 0 1 320px; }
.beh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.beh-chips button { padding: 5px 12px; border: 1px solid var(--lijn); border-radius: 20px; background: #fff; color: var(--inkt); font: inherit; font-size: 13px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.beh-chips button b { font-weight: 600; color: var(--zacht); font-size: 11px; margin-left: 2px; }
.beh-chips button:hover { border-color: var(--goud); color: var(--inkt); }
.beh-chips button.is-actief { background: var(--donker); border-color: var(--donker); color: #fff; }
.beh-chips button.is-actief b { color: var(--goud); }
.beh-cat { margin-bottom: 18px; padding: 20px 24px 8px; scroll-margin-top: 90px; }
.beh-cat-kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.beh-cat-kop h2 { margin: 0; }
.beh-cat-kop h2 small { font-family: var(--tekstfont, inherit); font-size: 13px; color: var(--zacht); font-weight: 400; margin-left: 4px; }
.beh-cat-kop h2 .bh-badge { font-family: var(--tekstfont, inherit); font-style: normal; font-size: 10px; padding: 2px 8px; margin-left: 6px; vertical-align: 4px; }
.beh-lijst { list-style: none; margin: 0; padding: 0; }
.beh-rij { display: grid; grid-template-columns: 30px minmax(0, 1fr) 92px 120px; align-items: center; gap: 16px; padding: 13px 10px; margin: 0 -10px; border-top: 1px solid var(--lijn); border-radius: 5px; cursor: pointer; transition: background .15s; scroll-margin-top: 120px; }
.beh-rij:first-child { border-top: 0; }
.beh-rij:hover, .beh-rij:focus-visible { background: var(--bg); outline: none; }
.beh-wat { min-width: 0; }
.beh-wat strong { font-weight: 500; color: var(--inkt); font-size: 14.5px; }
.beh-wat .bh-badge { margin-left: 6px; vertical-align: 1px; font-style: normal; font-size: 10px; padding: 2px 8px; }
.beh-wat small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.beh-duur { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--inkt); white-space: nowrap; }
.beh-duur .mi { width: 15px; height: 15px; }
.beh-prijs { text-align: right; font-weight: 600; color: var(--inkt); white-space: nowrap; font-variant-numeric: tabular-nums; }
.beh-prijs small { font-weight: 400; font-size: 11.5px; color: var(--zacht); }
.beh-greep { display: inline-grid; place-items: center; width: 30px; height: 34px; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--zacht); font-size: 17px; line-height: 1; cursor: grab; touch-action: none; }
.beh-greep:hover, .beh-greep:focus-visible { border-color: var(--lijn); background: #fff; color: var(--inkt); outline: none; }
.beh-greep-uitleg { color: var(--inkt); font-size: 15px; }
.beh-rij.sleept { position: relative; z-index: 2; background: #fff; box-shadow: 0 10px 24px rgba(120, 60, 60, .16); border-color: transparent; }
.beh-rij.sleept .beh-greep { border-color: var(--goud); color: var(--goud-donker); }
.beh-sleepbezig, .beh-sleepbezig * { cursor: grabbing !important; user-select: none; }
.beh-cat.is-deels .beh-greep { opacity: .3; cursor: not-allowed; }
.beh-rij.is-offline .beh-wat strong, .beh-rij.is-offline .beh-prijs { color: var(--inkt); }
.beh-rij.is-uitgelicht { animation: bh-rij 4s ease-out; box-shadow: inset 4px 0 0 var(--goud); }
.beh-modal .bh-modal-doos { max-width: 920px; }
.beh-euro { position: relative; display: block; }
.beh-euro i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--zacht); pointer-events: none; }
.bh-form .beh-euro input { padding-left: 28px; }
.beh-hint { display: block; margin: -4px 0 4px; font-size: 12px; color: var(--zacht); }
.beh-eenheid { margin-top: 12px; }
.bh-toggle.beh-online { width: auto; align-items: flex-start; }
.bh-toggle.beh-online i { margin-top: 2px; }
.bh-toggle.beh-online span small { display: block; font-weight: 400; font-size: 12.5px; color: var(--zacht); margin-top: 2px; }
.bh-knoppen .bh-vul { flex: 1; }
@media (max-width: 700px) {
  .beh-cat { padding: 16px 16px 4px; }
  .beh-rij { grid-template-columns: 30px auto minmax(0, 1fr); gap: 4px 10px; }
  .beh-greep { grid-row: 1 / span 2; align-self: center; }
  .beh-wat { grid-column: 2 / -1; }
  .beh-wat small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .beh-duur { grid-row: 2; grid-column: 2; }
  .beh-prijs { grid-row: 2; grid-column: 3; text-align: right; }
}

/* ---------- categorieën (beheer/categorieen): rij met foto, venster met fotokeuze */
.cat-kaart { padding: 10px 24px; }
.cat-rij { grid-template-columns: 30px 64px minmax(0, 1fr) auto 34px; }
.cat-foto { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: var(--bg-alt); display: block; }
.cat-rij.is-offline .cat-foto { filter: grayscale(.7); opacity: .6; }
.cat-kortnaam { font-size: 12px; color: var(--inkt); margin-left: 4px; }
.cat-rij .beh-wat small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cat-aantal a { font-size: 13px; color: var(--inkt); white-space: nowrap; text-decoration: none; border-bottom: 1px solid var(--lijn); }
.cat-aantal a:hover { color: var(--inkt); border-color: var(--goud); }
.cat-link a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; color: var(--zacht); }
.cat-link a:hover, .cat-link a:focus-visible { background: #fff; color: var(--goud-donker); }
.cat-link .mi { width: 16px; height: 16px; }
.cat-fotokeuze { display: grid; gap: 10px; }
.cat-fotogroot { width: 100%; height: auto; max-width: 320px; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--lijn); }
.cat-fotogroot.is-standaard { opacity: .55; filter: grayscale(.4); }
.cat-fotoknoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cat-fotoknoppen .bh-knop, .bh-form label.cat-kies { display: inline-flex; align-items: center; min-height: 38px; height: 38px; margin: 0; padding: 0 14px; font-size: 13px; color: var(--inkt); }
.cat-kies { position: relative; overflow: hidden; cursor: pointer; }
.cat-kies input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.cat-kies:focus-within { outline: 2px solid var(--goud); outline-offset: 2px; }
.cat-fotohint { margin: 0; }
.cat-fotohint.is-fout { color: var(--rood); }
.cat-adres { margin: 12px 0 0; font-size: 13px; color: var(--zacht); }
.cat-adres a { color: var(--goud-donker); }
@media (max-width: 700px) {
  .cat-kaart { padding: 6px 16px; }
  .cat-rij { grid-template-columns: 30px 52px minmax(0, 1fr) 34px; gap: 4px 10px; }
  .cat-rij .beh-greep { grid-row: 1 / span 2; }
  .cat-foto { width: 52px; height: 52px; grid-row: 1 / span 2; }
  .cat-rij .beh-wat { grid-column: 3; }
  .cat-aantal { grid-row: 2; grid-column: 3; }
  .cat-link { grid-row: 1 / span 2; grid-column: 4; }
}

/* ---------- afspraken: categorie bij elke afspraak */
.bh-cats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 3px; }
.bh-cat { display: inline-block; padding: 1px 8px; border-radius: 10px; background: #f6ebd6; color: var(--goud-donker); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.6; }
tr.is-weg .bh-cat { background: var(--bg-alt); color: var(--zacht); }

/* ---------------------------------------------------------------- keuzemenu achter een knop (Exporteren: Excel of PDF) */
.keuzemenu { position: relative; display: flex; }
.keuzemenu summary { list-style: none; user-select: none; cursor: pointer; }
.keuzemenu summary::-webkit-details-marker { display: none; }
.keuzemenu summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); margin-left: 4px; transition: transform .15s; }
.keuzemenu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.keuzemenu[open] summary { border-color: var(--goud); }
.keuzemenu .km { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 210px; background: #fff; border: 1px solid var(--lijn); border-radius: 6px; box-shadow: var(--schaduw); padding: 6px; }
.keuzemenu .km a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 5px; color: var(--inkt); text-decoration: none; white-space: nowrap; font-size: 14px; }
.keuzemenu .km a:hover { background: var(--bg); }
.keuzemenu .km .mi { width: 17px; height: 17px; color: var(--goud-donker); }
.keuzemenu .km-hint { margin: 4px 10px 4px; padding-top: 7px; border-top: 1px solid var(--lijn); font-size: 12px; color: var(--zacht); }

/* ---------------------------------------------------------------- nieuwe online boekingen (zelfde regel als de teller in het menu) */
.bh-nieuw { display: inline-block; vertical-align: 1px; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--goud); color: #4a3830; font-size: 10px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; line-height: 1.5; }
tr.is-nieuw td { background: rgba(201, 156, 95, .13); }
tr.is-nieuw:hover td { background: rgba(201, 156, 95, .2); }
tr.is-nieuw td:first-child { box-shadow: inset 4px 0 0 var(--goud); }
.filter-breuk { flex-basis: 100%; height: 0; }
.filter .bh-zoek { max-width: 560px; }

/* klanten: geslacht naast de naam */
.klant-geslacht { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 6px; border-radius: 50%; vertical-align: -4px; }
.klant-geslacht svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.klant-geslacht.is-v { background: #f7e4e1; color: #b0665c; }
.klant-geslacht.is-m { background: #e6ecf1; color: #5b7489; }
/* ---------- kortingscodes */
.bh-beh li.is-korting { color: var(--goud-donker); }
.bh-beh li.is-korting span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bh-beh li.is-korting svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bh-beh li.is-korting small { color: var(--zacht); }
.bh-beh li.is-korting em { color: var(--goud-donker); }
.kc-uitleg { margin: -6px 0 18px; color: var(--zacht); font-size: 14px; max-width: 760px; }
.kc-code-tag { display: inline-block; padding: 3px 9px; border: 1px dashed var(--goud); border-radius: 6px; background: #fbf6ec; color: var(--inkt); font-family: ui-monospace, Consolas, monospace; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-decoration: none; }
td .kc-code-tag + .sub { display: block; margin-top: 4px; }
tr.kc-uit td { color: var(--zacht); }
tr.kc-uit .kc-code-tag { border-color: var(--lijn); background: var(--bg-alt); color: var(--zacht); }
.kc-aan-form { margin: 0; }
.bh-toggle.kc-aan { margin: 0; }
.kc-avatar .mi { width: 28px; height: 28px; }
.kc-code { font-family: ui-monospace, Consolas, monospace; letter-spacing: .05em; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.kc-code .bh-badge { font-family: var(--sans, inherit); letter-spacing: .08em; }
.bh-stats strong small { font-size: .6em; color: var(--zacht); font-weight: 400; }
.kc-modal .bh-modal-doos { max-width: 720px; }
.kc-modal fieldset { margin: 4px 0 14px; }
.kc-modal .beh-hint { display: block; margin: 4px 0 10px; }
.kc-modal .kc-voorbeeld:empty { display: none; }
.kc-code-veld { position: relative; display: block; }
.bh-form .kc-code-veld input { text-transform: uppercase; font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; padding-right: 44px; }
.bh-form .kc-code-veld input::placeholder { text-transform: none; font-family: inherit; letter-spacing: normal; }
.bh-form .kc-code-veld input[readonly] { background: var(--bg-alt); color: var(--zacht); }
.kc-maak { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 6px; background: none; color: var(--goud-donker); cursor: pointer; }
.kc-maak:hover { background: var(--bg-alt); }
.kc-maak .mi { width: 18px; height: 18px; }
.kc-modal .bh-toggle { margin-top: 4px; }

/* ---------- Voorschot (Mollie) in de detailkaart van een afspraak ---------- */
.bh-beh li.is-voorschot { color: var(--goud-donker); }
.bh-beh li.is-voorschot span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bh-beh li.is-voorschot svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bh-beh li.is-voorschot small { color: var(--zacht); }
.bh-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--goud-donker); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bh-link:disabled { opacity: .6; cursor: default; }

/* Instellingen: tabbladen (Online boeken · Voorschot · Instagram) */
.inst-tabs { display: flex; gap: 2px; margin: 0 0 18px; border-bottom: 1px solid var(--lijn); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x; scrollbar-width: none;   /* overflow-y: anders kan je de tabbladen op een iPhone ook op en neer schuiven */
  /* past niet alles: zachte schaduw aan de kant waar nog tabbladen staan (scroll-schaduw) */
  background: linear-gradient(90deg, var(--bg) 30%, transparent) left / 40px 100% no-repeat local, linear-gradient(270deg, var(--bg) 30%, transparent) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(163, 98, 90, .16), transparent) left / 14px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(163, 98, 90, .16), transparent) right / 14px 100% no-repeat scroll; }
.inst-tabs::-webkit-scrollbar { display: none; }
.inst-tabs [role=tab] { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px 13px; border: 0; border-bottom: 2px solid transparent; flex: none; margin-bottom: -1px;
  background: none; color: var(--zacht); font: inherit; font-size: 14.5px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: color .2s, border-color .2s; }
.inst-tabs [role=tab] .mi { width: 18px; height: 18px; }
.inst-tabs [role=tab]:hover { color: var(--inkt); }
.inst-tabs [role=tab][aria-selected=true] { color: var(--inkt); border-bottom-color: var(--goud); }
.inst-tabs [role=tab]:focus-visible { outline: 2px solid var(--goud); outline-offset: -2px; border-radius: 5px; }
.inst-chip { padding: 2px 8px; border-radius: 10px; font-style: normal; font-size: 11.5px; font-weight: 600; line-height: 1.5; }
.inst-chip.is-groen { background: #e6f0e4; color: #4c7445; }
.inst-chip.is-goud { background: #fbf0dc; color: var(--goud-donker); }
.inst-chip.is-rood { background: #f7e4e1; color: var(--rood); }
.inst-chip.is-grijs { background: #f9e8e5; color: var(--zacht); }
html:not([data-inst-tab=boeken]) .bh-pagina-instellingen [data-paneel=boeken] { display: none; }   /* vóór de JS loopt: geen flits */
.inst-paneel { display: grid; gap: 18px; }
.inst-paneel[hidden] { display: none !important; }
.inst-form { display: contents; }
.inst-bewaar { display: flex; justify-content: flex-end; }
.inst-twee { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .inst-twee { grid-template-columns: 1fr; } .inst-tabs [role=tab] { padding: 11px 10px 12px; gap: 6px; } .inst-chip { display: none; } }
.inst-twee { margin-top: 16px; }
.inst-punten { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.6; color: var(--inkt); }
.inst-punten li + li { margin-top: 6px; }
.inst-ig-knoppen { display: flex; flex-wrap: wrap; gap: 10px; }
.inst-instagram label { display: block; margin-bottom: 14px; }

/* Klanten: labels (lijst + fiche) en de instellingen in het venster "Klant wijzigen" */
.klant-labels { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.klant-label { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 10px; background: #f9e8e5; color: var(--zacht); font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.klant-label.is-account { background: rgba(201, 156, 95, .18); color: var(--goud-donker); }
.klant-label.is-vrij { background: #e6f0e4; color: #4c7445; }
.wie .klant-label { margin-left: 8px; vertical-align: 1px; font-size: 11px; padding: 1px 8px; }
.klant-inst { margin: 4px 0 14px; padding: 14px 0 0; border: 0; border-top: 1px solid var(--lijn); }
.klant-inst legend { padding: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--goud-donker); }
.klant-inst [hidden] { display: none !important; }
.klant-inst .bh-toggle { margin: 0 !important; }
.klant-inst-info { display: flex; gap: 10px; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--inkt); }
.klant-inst-info svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* ---------------------------------------------------------------- Foto's (beheer/fotos) */
.foto-kaart { margin-bottom: 24px; }
.foto-kop h2 { margin: 0 0 6px; font-size: 20px; }
.foto-kop h2 small { color: var(--zacht); font-size: 14px; font-weight: 400; }
.foto-kop .bh-uitleg { margin: 0 0 18px; }
.foto-kop .bh-badge { vertical-align: 1px; }
.foto-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.foto-tegel { position: relative; border: 1px solid var(--lijn); border-radius: 6px; background: #fff; overflow: hidden; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.foto-tegel:hover, .foto-tegel:focus-visible { border-color: var(--goud); box-shadow: var(--schaduw); outline: none; }
.foto-tegel img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--bg-alt); }
.foto-tegel.is-enkel-over img { opacity: .8; }
.foto-greep { position: absolute; top: 6px; left: 6px; background: rgba(255, 255, 255, .92); border-color: var(--lijn); color: var(--inkt); }
.foto-badge { position: absolute; top: 8px; right: 8px; box-shadow: 0 1px 4px rgba(120, 60, 60, .15); }
.foto-alt { display: block; padding: 7px 10px 8px; font-size: 12px; line-height: 1.35; color: var(--inkt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foto-alt i { color: var(--zacht); }
.foto-tegel.sleept { z-index: 3; cursor: grabbing; box-shadow: 0 14px 30px rgba(120, 60, 60, .25); border-color: var(--goud); }
.foto-tegel.sleept .beh-greep { border-color: var(--goud); color: var(--goud-donker); }
.foto-tegel.is-uitgelicht, .foto-plek.is-uitgelicht { animation: bh-oplichten 1.1s ease-out 3; border-color: var(--goud); }
.foto-plekken { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.foto-plek { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 6px 14px; align-items: start; padding: 12px; border: 1px solid var(--lijn); border-radius: 6px; background: #fff; }
.foto-plek img { grid-row: 1 / span 2; width: 96px; height: 96px; object-fit: cover; border-radius: 5px; background: var(--bg-alt); }
.foto-plek img.is-staand { height: 120px; }
.foto-plek img.is-liggend { height: 72px; }
.foto-plek-tekst { display: grid; gap: 4px; justify-items: start; }
.foto-plek-tekst small { color: var(--zacht); font-size: 12.5px; line-height: 1.4; }
.foto-plek .bh-knop { justify-self: start; }
.foto-waar { margin: -6px 0 14px; color: var(--zacht); font-size: 14px; }
.foto-voorbeelden { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 12px; max-height: 280px; overflow-y: auto; }
.foto-voorbeelden img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 5px; border: 1px solid var(--lijn); }
.foto-hint { display: block; margin: 8px 0 16px; }
.foto-hint.is-fout { color: var(--rood); }
.foto-modal .cat-fotokeuze { margin-bottom: 4px; }
.foto-modal .cat-fotokeuze .foto-hint { margin: 0 0 12px; }
.foto-plekgroot { aspect-ratio: auto; max-height: 360px; object-fit: contain; }
@media (max-width: 700px) {
  .foto-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .foto-plekken { grid-template-columns: minmax(0, 1fr); }
  .foto-plek { grid-template-columns: 76px minmax(0, 1fr); }
  .foto-plek img, .foto-plek img.is-staand, .foto-plek img.is-liggend { width: 76px; height: 76px; }
}
/* Klantfiche: schakelaar "Voorschot bij online boeken" (meteen bewaard) */
.klant-vs-form { margin: 10px 0 0; }
.bh-toggle.klant-vs { width: auto; font-size: 13px !important; color: var(--zacht) !important; }
.bh-toggle.klant-vs input:checked ~ span { color: var(--inkt); }

/* ---------------------------------------------------------------- cadeaubonnen */
.cb-tabel td.cb-acties { white-space: nowrap; text-align: right; }
.cb-acties form { display: inline-block; margin: 0; vertical-align: middle; }
.cb-acties > .bh-ico-knop, .cb-acties form + .bh-ico-knop { vertical-align: middle; }
.bh-knop.cb-klein { padding: 5px 11px; font-size: 12.5px; min-height: 0; margin: 0 2px; }
tr.cb-dof td { color: var(--zacht); }
tr.cb-dof .kc-code-tag { border-color: var(--lijn); background: var(--bg-alt); color: var(--zacht); }
tr.is-nieuw td { background: #fbf6ec; }
@media (max-width: 760px) { .cb-tabel td.cb-acties { white-space: normal; } }
.cb-tabel .kc-code-tag { white-space: nowrap; }
a.bh-knop { text-decoration: none; }
.cb-tabel small.cb-adres { margin-top: 3px; line-height: 1.4; }
.kc-modal .cb-post[hidden], .kc-modal .cb-verzend[hidden] { display: none; }

/* Cadeaubonnen · inwisselen in meerdere keren */
.cb-tabel b.cb-rest { color: var(--goud-donker); }
.cb-tabel ul.cb-gebruik { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12px; color: var(--zacht); line-height: 1.5; }
.cb-inwissel-modal .bh-modal-doos { max-width: 480px; }
.cb-inwissel-modal .cb-i-rij { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cb-inwissel-modal .cb-i-rij .beh-euro { flex: 1 1 140px; max-width: 180px; }
.cb-inwissel-modal .cb-i-na:empty { display: none; }/* Kruisje achter een inwisseling of achter "verstuurd": een vergissing wegdoen */
.cb-x-form { display: inline; }
.cb-x { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--zacht); vertical-align: -4px; cursor: pointer; opacity: .55; transition: opacity .15s, background .15s, color .15s; }
.cb-x svg { width: 12px; height: 12px; }
.cb-x:hover, .cb-x:focus-visible { opacity: 1; background: #f6e3e1; color: #b0473b; }
.cb-tabel ul.cb-gebruik .nw { white-space: nowrap; }
.cb-tabel .cb-g-noot { display: inline-block; max-width: 110px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.cb-tabel td:has(> ul.cb-gebruik) { min-width: 150px; }

/* ---------- webshop: producten */
.pr-cadeaubon { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 12px 16px; background: #fff; border: 1px dashed var(--lijn); border-radius: 6px; font-size: 14px; }
.pr-cadeaubon > span:nth-child(2) { flex: 1; }
.pr-cadeaubon small { display: block; color: var(--zacht); font-size: 13px; }
.pr-cb-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #f6ebd6; color: var(--goud-donker); }
.pr-cb-ico .mi { width: 20px; height: 20px; }
.pr-tabel .pr-c-foto { width: 64px; }
.pr-tabel .pr-c-foto img { display: block; width: 48px; height: 48px; object-fit: cover; border-radius: 5px; border: 1px solid var(--lijn); background: #fff; }
.pr-tabel .pr-c-foto img.is-standaard { opacity: .45; filter: grayscale(1); }
.pr-tabel .pr-naam { color: var(--inkt); font-weight: 500; text-decoration: none; }
.pr-tabel b.pr-promo { color: var(--rood); }
.pr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: -6px; }
.pr-kolommen { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.pr-kol { display: grid; gap: 18px; }
.pr-form .bh-kaart h2 { margin: 0 0 14px; font-size: 19px; }
.pr-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.pr-euro { position: relative; display: block; }
.pr-euro::before { content: "€"; position: absolute; left: 12px; top: 50%; transform: translateY(calc(-50% + 2px)); color: var(--zacht); font-size: 15px; pointer-events: none; }
.bh-form .pr-euro input { padding-left: 28px; }
.pr-btw select { max-width: 140px; }
.bh-form label.pr-toggle { width: auto; margin-bottom: 14px !important; align-items: flex-start; }
.pr-toggle i { margin-top: 1px; }
.pr-toggle span small { display: block; font-weight: 400; font-size: 12px; color: var(--zacht); }
.pr-voorraad input { max-width: 140px; }
.pr-fotos, .pr-nieuw { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.pr-fotos:not(:empty), .pr-nieuw:not(:empty) { margin-bottom: 12px; }
.pr-foto { position: relative; margin: 0; aspect-ratio: 1; border: 1px solid var(--lijn); border-radius: 6px; overflow: hidden; background: #fff; cursor: grab; }
.pr-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-foto.sleept { opacity: .4; }
.pr-foto.is-nieuw { cursor: default; border-style: dashed; }
.pr-foto.is-nieuw::after { content: "nieuw"; position: absolute; left: 6px; top: 6px; padding: 1px 6px; border-radius: 9px; background: rgba(255, 255, 255, .9); font-size: 11px; color: var(--zacht); }
.pr-foto.is-weg img { opacity: .25; filter: grayscale(1); }
.pr-hoofd { display: none; position: absolute; left: 6px; top: 6px; padding: 1px 7px; border-radius: 9px; background: var(--goud-donker); color: #fff; font-size: 11px; }
.pr-fotos .pr-foto:first-child .pr-hoofd { display: block; }
.pr-foto-knoppen { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 2px; padding: 4px; background: linear-gradient(transparent, rgba(0, 0, 0, .35)); }
.pr-foto-knoppen button, .bh-form label.pr-foto-weg { display: grid; place-items: center; width: 26px; height: 26px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--inkt); font-size: 17px; line-height: 1; cursor: pointer; }
.bh-form label.pr-foto-weg { margin-left: auto; position: relative; }
.pr-foto-weg input { position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important; }
.pr-foto-weg .mi { width: 14px; height: 14px; }
.pr-foto.is-weg .pr-foto-weg { background: var(--rood); color: #fff; }
.pr-foto-knoppen button:hover, .pr-foto-weg:hover { background: #fff; color: var(--goud-donker); }
.pr-fotos .pr-foto:first-child [data-foto-links], .pr-fotos .pr-foto:last-child [data-foto-rechts] { visibility: hidden; }
.bh-form label.pr-kies { gap: 6px; margin-bottom: 8px; }
.pr-kies .mi { width: 16px; height: 16px; }
[data-fotos-hint].is-fout { color: var(--rood); }
.pr-bewaarbalk { position: sticky; bottom: 0; z-index: 5; margin-top: 18px; padding: 12px 0; background: var(--bg, #fffafa); border-top: 1px solid var(--lijn); }
@media (max-width: 900px) {
  .pr-kolommen { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pr-rij { grid-template-columns: minmax(0, 1fr); }
  .pr-cadeaubon { flex-wrap: wrap; }
  .pr-tabel th:nth-child(3), .pr-tabel td:nth-child(3), .pr-tabel th:nth-child(5), .pr-tabel td:nth-child(5) { display: none; }
}
.inst-uitleg { display: block; margin: -4px 0 0; font-size: 13px; color: var(--zacht); }

/* ---------- thema zoals de website: roze, wit en goud (geen bruin), ronde knoppen */
/* zijbalk: wit dat overloopt in blush, met het gewone logo */
.zij { background: linear-gradient(180deg, #fff 0%, #fff7f6 45%, var(--nude) 100%); color: var(--tekst); border-right: 1px solid var(--lijn); }
.zij-kop { border-bottom-color: var(--lijn); }
.zij-nav { scrollbar-color: rgba(163, 98, 90, .25) transparent; }
.zij-nav a { color: var(--tekst); }
.zij-nav a .mi { color: var(--inkt); }
.zij-nav a:hover { background: rgba(252, 218, 216, .55); color: var(--inkt); }
.zij-nav a.on { background: #fff; color: var(--inkt); font-weight: 500; box-shadow: 0 4px 14px -8px rgba(163, 98, 90, .45); }
.zij-nav .n { color: var(--tekst); background: #e2c08a; }
.zij-klein .zij-groep { background: var(--lijn); }
.zij-voet { color: var(--goud); opacity: .8; }
.bh-knop { border-radius: 999px; font-weight: 600; letter-spacing: .03em; padding: 0 20px; }
.bh-klein { padding: 0 14px; }
.bh-knop-donker { background: var(--inkt); color: #fff; }
.bh-knop-donker:hover { background: #3d3633; }
.bh-knop-goud { background: var(--goud); color: var(--tekst); box-shadow: 0 6px 16px -8px rgba(154, 109, 56, .7); }
/* initialen: blush met roze letter in plaats van goud op donker */
.bh-avatar.is-groot, .bh-gekozen-av, .profiel .av { background: var(--nude); color: var(--inkt); }
/* handleiding: lichte bovenbalk met het gewone logo */
.hl-top { background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--lijn); backdrop-filter: blur(8px); }
.hl-logo { color: var(--tekst); }
.hl-logo b { color: var(--goud-donker); }
.bh-knop-goud:hover { background: var(--bruin); color: #fff; }
.bh-knop-licht:hover { border-color: var(--bruin); color: var(--inkt); }
.kop-rij h1 { color: var(--inkt); }
.kop-rij h1 em { color: var(--inkt); font-style: italic; }
/* aanmelden: wit met roze penseelstreek, zoals de hero op de website */
.bh-login-body { background: url('../assets/img/penseel.svg') no-repeat 50% 30% / min(1100px, 160vw) auto, linear-gradient(180deg, #fff 0%, #fdeeec 55%, #fcdad8 100%); }
.bh-login-logo { filter: drop-shadow(0 0 24px rgba(255, 255, 255, .9)); }
.bh-login .bh-script { color: var(--inkt); }
.bh-login-form { background: rgba(255, 252, 250, .96); border-radius: 10px; }
.bh-login-terug { color: var(--inkt); }
.bh-login-terug:hover { color: var(--inkt); }
/* klantfiche: adres (optioneel, voor bestellingen in de webshop) */
.klant-adres { border: 0; padding: 0; margin: 6px 0 4px; min-width: 0; }
.klant-adres legend { padding: 0; margin-bottom: 10px; }
.klant-adres legend small { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--zacht); font-size: 12px; }
.klant-adres-rij { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 0 14px; }
.klant-adres-rij.is-gemeente { grid-template-columns: 110px minmax(0, 1fr); }
.klant-adres-rij label { display: block; margin-bottom: 12px; }
.klant-adres-rij input { display: block; width: 100%; margin-top: 6px; }
.klant-adres-tekst { display: flex; align-items: center; gap: 6px; }
.klant-adres-tekst svg { width: 15px; height: 15px; }

/* bestellingen (webshop): lijst en detail */
.bs-tabel .bs-nr { font-weight: 600; color: var(--inkt); text-decoration: none; font-variant-numeric: tabular-nums; }
.bs-tabel .bs-nr:hover { color: var(--inkt); text-decoration: underline; }
.bs-tabel .bs-prod { max-width: 280px; }
.bs-tabel .sub .mi { width: 13px; height: 13px; vertical-align: -2px; }
.bs-acties { white-space: nowrap; text-align: right; }
.bs-acties form { display: inline; }
.bh-knop.bs-klein { padding: 5px 11px; font-size: 12.5px; min-height: 0; margin: 0 2px; }
.bs-kop-badge { vertical-align: middle; margin-left: 8px; font-family: var(--body); }
.kop-knoppen form { display: inline-flex; margin: 0; }
.bs-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.bs-hoofd, .bs-zij { display: grid; gap: 20px; min-width: 0; }
@media (max-width: 1000px) { .bs-detail { grid-template-columns: minmax(0, 1fr); } .bs-detail > * { min-width: 0; } }
.bs-kaart { padding: 20px 22px; }
.bs-kaart h2 { font-size: 19px; margin: 0 0 12px; }
.bs-kaart p { margin: 0 0 10px; }
.bs-regels { margin: 0; box-shadow: none; border: 0; }
.bs-regels tfoot td { border-top: 1px solid var(--lijn); padding-top: 8px; padding-bottom: 8px; }
.bs-regels tfoot tr + tr td { border-top: 0; padding-top: 2px; }
.bs-regels .bs-totaal td { font-weight: 600; color: var(--inkt); font-size: 15px; }
.bs-regels .bs-terug td { color: #8a3a2f; }
.bs-opmerking { margin-top: 16px; padding: 12px 14px; border-radius: 6px; background: #fbf5e9; font-size: 14px; }
.bs-opmerking p { margin: 4px 0 0; }
.bs-naam { font-weight: 600; color: var(--inkt); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bs-contact { margin-bottom: 10px; }
.bs-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--inkt); }
.bs-link .mi { width: 16px; height: 16px; }
.bs-adres { line-height: 1.55; color: var(--inkt); }
.bs-sub { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--zacht); margin: 16px 0 6px; font-family: var(--body); font-weight: 600; }
.bs-tijdlijn { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.bs-tijdlijn li { display: flex; justify-content: space-between; gap: 10px; padding-left: 16px; position: relative; }
.bs-tijdlijn li::before { content: ""; position: absolute; left: 0; top: .45em; width: 7px; height: 7px; border-radius: 50%; background: var(--goud); }
.bs-tijdlijn time { color: var(--zacht); font-variant-numeric: tabular-nums; }
.bs-annuleer .bs-vink { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--inkt); margin-bottom: 10px; }
.bs-annuleer .bs-vink input { width: auto; height: auto; margin: 0; }
.bh-notitie.bs-kaart textarea { display: block; width: 100%; margin-top: 6px; }
/* klantfiche: bestellingen */
.klant-best td .sub { max-width: 360px; }
.bs-mollie { font-size: 12.5px; margin-top: -6px !important; }
.kop-knoppen .bh-knop.bs-klein { padding: 10px 18px; font-size: 14px; }
/* kleine productfoto's bij bestellingen */
.bs-foto { display: inline-block; flex: none; vertical-align: middle; border-radius: 5px; overflow: hidden; background: var(--bg-alt, #fbeeec); border: 1px solid var(--lijn); }
.bs-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bs-fotos { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; }
.bs-meer { font-size: 12px; color: var(--zacht); margin-left: 2px; }
.bs-prod-cel { display: flex; align-items: center; gap: 12px; }
.klant-best .bs-foto { margin-right: 4px; }
.klant-best-tekst { display: block; margin-top: 4px; }
/* lage schermen (laptop): menu compacter en zonder handtekening, zodat alle items zichtbaar blijven */
@media (max-height: 940px) {
  .zij-voet { display: none; }
  .zij-groep { margin: 14px 10px 5px; }
  .zij-nav a { padding: 7px 12px; }
}

/* nieuws: staande foto (zoals op de pagina Nieuws), korte tekst in de lijst op max. 2 regels */
.nw-fotogroot { aspect-ratio: 4 / 5; max-width: 260px; }
.nw-tabel .nw-kort { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 520px; }
@media (max-width: 860px) { .nw-tabel th:nth-child(3), .nw-tabel td:nth-child(3) { display: none; } }

/* Klantfiche: kopkaart (naam, gegevens, notitie, cijfers) en tabbladen Afspraken / Bestellingen */
.klant-hoofd { padding: 0; margin-bottom: 22px; overflow: hidden; }
.kh-top { display: flex; align-items: center; gap: 16px; padding: 22px 24px 18px; }
.kh-naam { flex: 1; min-width: 0; }
.kh-naam h1 { margin: 0 0 6px; overflow-wrap: anywhere; }
.kh-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 13px; color: var(--zacht); }
.klant-hoofd .klant-knoppen { flex-wrap: nowrap; align-items: stretch; }
.klant-hoofd .klant-knoppen form { display: flex; }
.kh-weg { width: 42px; height: auto; align-self: stretch; color: var(--rood); border-color: #e6c7c2; }
.kh-weg:hover { border-color: var(--rood); color: var(--rood); }
.kh-midden { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--lijn); }
.kh-gegevens { list-style: none; margin: 0; padding: 16px 24px; display: grid; gap: 10px; align-content: start; font-size: 14px; }
.kh-gegevens li { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--inkt); }
.kh-gegevens li > svg { flex: none; width: 16px; height: 16px; color: var(--goud-donker); }
.kh-gegevens a { color: var(--inkt); text-decoration: none; overflow-wrap: anywhere; }
.kh-gegevens a:hover { color: var(--goud-donker); text-decoration: underline; }
.kh-gegevens .kh-vs { padding-top: 2px; }
.kh-vs .klant-vs-form { margin: 0; }
.kh-notitie { margin: 16px 24px 16px 0; padding: 12px 16px; border-left: 3px solid var(--goud); background: var(--bg-alt); border-radius: 0 6px 6px 0; font-size: 14px; color: var(--inkt); align-self: start; }
.kh-notitie strong { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--goud-donker); }
.kh-notitie p { margin: 0; }
.kh-notitie.is-leeg { border-left-color: var(--lijn); background: none; color: var(--zacht); }
.kh-link { padding: 0; border: 0; background: none; color: var(--goud-donker); font: inherit; text-decoration: underline; cursor: pointer; }
.kh-stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0; border-top: 1px solid var(--lijn); background: #fffafa; }
.kh-stats div { padding: 12px 16px 14px; border-left: 1px solid var(--lijn); min-width: 0; }
.kh-stats div:first-child { border-left: 0; padding-left: 24px; }
.kh-stats dt { font-size: 11px; color: var(--zacht); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kh-stats dd { margin: 2px 0 0; font-family: var(--display); font-size: 20px; color: var(--inkt); white-space: nowrap; }
.klant-tabs { margin-bottom: 14px; }
.klant-tabs .inst-chip { min-width: 22px; text-align: center; }
.klant-paneel[hidden] { display: none !important; }
.klant-paneel-info { margin: 0 0 10px; font-size: 13px; color: var(--zacht); }
@media (max-width: 860px) {
  .kh-top { flex-wrap: wrap; padding: 18px 16px 14px; }
  .klant-hoofd .klant-knoppen { width: 100%; }
  .klant-hoofd .klant-knoppen { flex-wrap: wrap; }
  .klant-hoofd .klant-knoppen .bh-knop { flex: 1 1 0; min-width: 0; justify-content: center; }
  .klant-hoofd .klant-knoppen .bh-knop-donker { flex-basis: 100%; }
  .klant-hoofd .klant-knoppen form { flex: none; }
  .kh-midden { grid-template-columns: 1fr; }
  .kh-gegevens { padding: 14px 16px; }
  .kh-notitie { margin: 0 16px 14px; }
  .kh-stats { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .kh-stats div, .kh-stats div:first-child { padding: 10px 16px 12px; border-left: 0; border-top: 1px solid var(--lijn); }
  .kh-stats div:nth-child(-n+2) { border-top: 0; }
  .kh-stats div:nth-child(even) { border-left: 1px solid var(--lijn); }
  .kh-stats div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .klant-tabs .inst-chip { display: inline-block; } .klant-tabs [role=tab] { flex: 1; justify-content: center; } }

/* Cadeaubon in detail (zelfde opbouw als een bestelling) en badges in de lijsten op één regel */
.bs-tabel .bh-badge { white-space: nowrap; }
.cb-feiten { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 0; }
.cb-feiten div { padding: 12px 14px; border: 1px solid var(--lijn); border-radius: 6px; background: #fffafa; }
.cb-feiten dt { font-size: 11px; color: var(--zacht); text-transform: uppercase; letter-spacing: .08em; }
.cb-feiten dd { margin: 2px 0 0; font-family: var(--display); font-size: 20px; color: var(--inkt); }
.cb-feiten dd.cb-rest { color: var(--goud-donker); }
.cb-feiten dd.cb-verlopen { color: var(--rood); }
.bs-kaart .cb-feiten + .bs-opmerking { margin-top: 16px; }
.bs-opmerking .cb-wens { font-style: italic; margin-top: 6px; }
.bs-regels .cb-x-form .cb-x { margin: 0; }

/* ---------------------------------------------------------------- Nieuw binnen (beheer/binnen) */
.nb-uitleg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -6px 0 18px; color: var(--zacht); font-size: 14px; }
.nb-nieuw-tel { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px; border-radius: 999px; background: rgba(201, 156, 95, .18); color: var(--goud-donker); font-size: 13px; font-weight: 600; }
.nb-dot { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--goud); box-shadow: 0 0 0 3px rgba(201, 156, 95, .25); }
.tabel tr[data-groep-kop] td { padding: 16px 14px 7px; background: var(--bg); border-bottom: 1px solid var(--lijn); cursor: default; }
.tabel tr[data-groep-kop]:not(:first-child) td { border-top: 1px solid var(--lijn); }
.tabel tr[data-groep-kop] b { font-family: var(--display); font-size: 16px; font-weight: 500; color: var(--inkt); }
.tabel tr[data-groep-kop] .zacht { font-size: 13px; }
.tabel tr[data-groep-kop] small { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 10px; background: var(--bg-alt); color: var(--inkt); font-size: 11px; font-weight: 600; vertical-align: 2px; }
.tabel tr[data-groep-kop]:hover td { background: var(--bg); }
.nb-binnen b { font-variant-numeric: tabular-nums; }
.bh-pagina-binnen td:nth-child(2) b { white-space: nowrap; }
@media (max-width: 860px) { .bh-pagina-binnen .nb-tabel th:nth-child(5), .bh-pagina-binnen .nb-tabel td:nth-child(5) { display: none; } }
@media (max-width: 560px) {
  .tabel tr[data-groep-kop] td { padding: 14px 12px 6px; }
}

/* Instellingen › Verjaardagen */
.inst-acties { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.vj-lijst { list-style: none; margin: 0; padding: 0; }
.vj-lijst li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--lijn); font-size: 14px; }
.vj-lijst li:last-child { border-bottom: 0; }
.vj-lijst .vj-dag { flex: 0 0 92px; color: var(--zacht); font-size: 13px; }
.vj-lijst a { flex: 1; min-width: 0; color: var(--inkt); font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vj-lijst a:hover { text-decoration: underline; }
.vj-lijst .inst-chip { flex: none; }

/* ---------- Instellingen: één opbouw op elk tabblad
   - aan/uit-rij (schakel() in instellingen.php): titel + uitleg links, schakelaar rechts, lijn eronder
   - velden: label 13.5px, uitleg onder het veld als blok
   - hoofdschakelaar uit = de velden eronder iets gedimd (blijven wel invulbaar) */
.inst-kolommen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.inst-kolom { display: grid; gap: 18px; }
@media (max-width: 980px) { .inst-kolommen { grid-template-columns: minmax(0, 1fr); } }
.inst-paneel .bh-kaart h2 { margin: 0 0 18px; }
.inst-paneel .bh-kaart label:not(.inst-schakel):not(.bh-toggle) { display: block; margin: 0 0 18px; font-size: 13.5px; font-weight: 500; color: var(--inkt); }
.inst-paneel .bh-kaart label:not(.inst-schakel):not(.bh-toggle):last-child { margin-bottom: 0; }
.inst-paneel .bh-kaart label > :is(input, select, textarea) { margin-top: 6px; }
.inst-paneel .bh-kaart label > :is(input, select, textarea) ~ small { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--zacht); }
.inst-paneel .bh-kaart label > small { font-weight: 400; color: var(--zacht); }
.inst-twee { margin-top: 0; }
.bh-kaart > .inst-schakel, .inst-schakel { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 0 0 18px; padding: 0 0 18px; border-bottom: 1px solid var(--lijn); cursor: pointer; }
.bh-kaart > .inst-schakel:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.inst-schakel-tekst { display: grid; gap: 4px; min-width: 0; }
.inst-schakel-tekst b { font-size: 15px; font-weight: 600; color: var(--inkt); }
.inst-schakel-tekst small { font-size: 13px; line-height: 1.5; color: var(--zacht); }
.inst-schakel .bh-toggle { width: auto !important; flex: none; margin-top: 2px !important; }
.bh-kaart:has(.inst-schakel.is-hoofd input:not(:checked)) > :not(h2, .inst-schakel, .inst-status, .inst-acties, .inst-noot) { opacity: .5; transition: opacity .2s; }
.inst-noot { margin: 8px 0 0; font-size: 12.5px; color: var(--zacht); }
.inst-paneel .bh-uitleg { margin: -4px 0 18px; }
.inst-paneel .inst-status { margin: 12px 0 14px; }
.bh-kaart > :not(h2, .inst-schakel) + .inst-schakel { padding-top: 18px; border-top: 1px solid var(--lijn); }
.inst-paneel .bh-kaart > :last-child { margin-bottom: 0; }

/* ---------- Nieuwe bestelling (bestelling-nieuw.php) en betaallink bij een bestelling ---------- */
.bsn .bs-kaart label:not(.bs-vink):not(.bsn-keuze label) { display: block; margin: 0 0 12px; font-size: 13.5px; font-weight: 500; color: var(--inkt); }
.bsn .bs-kaart label > input:not([type=radio]):not([type=checkbox]), .bsn .bs-kaart label > textarea { margin-top: 6px; }
.bsn .bs-zij { position: sticky; top: 20px; }
.bsn-adres { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 0 12px; }
.bsn-zoek { max-width: none; width: 100%; margin: 4px 0 10px; }
.bsn-prods { display: grid; max-height: 360px; overflow-y: auto; border: 1px solid var(--lijn); border-radius: 6px; }
.bsn-prod { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; border: 0; border-bottom: 1px solid #fbeeec; background: #fff; text-align: left; cursor: pointer; }
.bsn-prod:last-child { border-bottom: 0; }
.bsn-prod:hover:not(:disabled) { background: var(--bg); }
.bsn-prod:disabled { cursor: default; opacity: .5; }
.bsn-prod.is-gekozen { box-shadow: inset 3px 0 0 var(--goud); }
.bsn-prod-tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bsn-prod-tekst b { font-weight: 600; color: var(--inkt); }
.bsn-prod-tekst em, .bsn-regel-tekst em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--zacht); background: var(--bg); padding: 1px 6px; border-radius: 8px; margin-left: 4px; vertical-align: 1px; }
.bsn-prod-tekst small, .bsn-prod-prijs small { font-size: 12px; color: var(--zacht); }
.bsn-prod-prijs { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bsn-prod-prijs s { font-size: 12px; color: var(--zacht); }
.bsn-weinig { color: var(--goud-donker); font-weight: 600; }
.bsn-op { color: #a8483b; font-weight: 600; }
.bsn-plus { display: grid; place-items: center; flex: none; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; background: var(--bg); color: var(--inkt); font-weight: 600; font-size: 14px; }
.bsn-prod.is-gekozen .bsn-plus { background: var(--donker); color: #fff; }
.bsn-regels { margin-bottom: 8px; }
.bsn-leeg { margin: 0 0 6px; color: var(--zacht); font-size: 14px; }
.bsn-regel-kop { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--goud-donker); font-weight: 600; margin-bottom: 4px; }
.bsn-regel { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--lijn); }
.bsn-regel-tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bsn-regel-tekst b { font-weight: 600; color: var(--inkt); }
.bsn-regel-tekst small { font-size: 12px; color: var(--zacht); }
.bsn-aantal { display: flex; align-items: center; border: 1px solid var(--lijn); border-radius: 6px; overflow: hidden; flex: none; }
.bsn-aantal button { width: 32px; height: 34px; border: 0; background: #fff; font-size: 17px; color: var(--inkt); }
.bsn-aantal button:hover:not(:disabled) { background: var(--bg); }
.bsn-aantal button:disabled { opacity: .35; }
.bsn .bsn-aantal input { width: 44px; height: 34px; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--lijn); border-right: 1px solid var(--lijn); border-radius: 0; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.bsn-aantal input::-webkit-inner-spin-button, .bsn-aantal input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bsn-regel-tot { min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.bsn-weg { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 15px; background: none; color: var(--zacht); }
.bsn-weg:hover { background: #f6e6e3; color: #a8483b; }
.bsn-weg svg { width: 15px; height: 15px; }
.bsn-keuze { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.bsn-keuze label { position: relative; display: block; margin: 0; cursor: pointer; }
.bsn-keuze input { position: absolute; opacity: 0; }
.bsn-keuze label > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px 12px 40px; border: 1px solid var(--lijn); border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.bsn-keuze label > span::before { content: ''; position: absolute; left: 14px; top: 15px; width: 16px; height: 16px; border: 1.5px solid var(--lijn); border-radius: 50%; background: #fff; }
.bsn-keuze input:checked + span { border-color: var(--donker); box-shadow: 0 0 0 1px var(--donker); }
.bsn-keuze input:checked + span::before { border: 5px solid var(--donker); }
.bsn-keuze input:focus-visible + span { outline: 2px solid var(--goud); outline-offset: 2px; }
.bsn-keuze b { font-weight: 600; color: var(--inkt); font-size: 14.5px; }
.bsn-keuze small { font-size: 12.5px; color: var(--zacht); }
.bsn-keuze label.is-uit { opacity: .5; cursor: not-allowed; }
.bsn-noot { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0 !important; padding: 10px 12px; border-radius: 6px; background: var(--bg); font-size: 13px; color: var(--tekst); }
.bsn-noot svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--goud-donker); }
.bsn-tot { margin: 0 0 14px; }
.bsn-tot > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.bsn-tot dt, .bsn-tot dd { margin: 0; }
.bsn-tot .is-totaal { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--lijn); font-weight: 700; font-size: 17px; color: var(--inkt); }
.bsn-wat { font-size: 13px; line-height: 1.55; color: var(--tekst); padding: 10px 12px; border-left: 3px solid var(--goud); background: var(--bg); border-radius: 0 6px 6px 0; }
.bsn-knop { width: 100%; justify-content: center; }
.bsn .bh-fout { margin: 0 0 10px; }
@media (max-width: 980px) { .bsn .bs-zij { position: static; } }
@media (max-width: 560px) {
  .bsn-keuze { grid-template-columns: 1fr; }
  .bsn-regel { flex-wrap: wrap; }
  .bsn-regel-tekst { flex-basis: calc(100% - 56px); }
  .bsn-aantal { margin-left: 56px; }
  .bsn-regel-tot { flex: 1; }
}
.bs-betaallink { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--lijn); }
.bs-betaallink form { margin: 0; }
.bs-betaallink form .bh-knop { width: 100%; justify-content: center; }
.bs-link-veld { display: flex; gap: 6px; }
.bs-link-veld input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--lijn); border-radius: 5px; font-size: 12.5px; color: var(--tekst); background: var(--bg); }
.bs-betaallink small { font-size: 12px; line-height: 1.5; }
/* .bh-kaart input maakt elk veld 100% breed: de keuzerondjes en het vinkje hier niet */
.bsn .bsn-keuze input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; }
.bsn .bsn-keuze label > span::before { box-sizing: border-box; }
.bsn .bsn-keuze input:checked + span::before { border: 1.5px solid var(--donker); background: var(--donker); box-shadow: inset 0 0 0 3px #fff; }
.bsn .bs-vink { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font-size: 14px; color: var(--inkt); cursor: pointer; }
.bsn .bs-vink input { width: 17px; height: 17px; margin: 0; padding: 0; flex: none; accent-color: var(--donker); }
.bsn .bh-zoek input { display: block; height: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }

/* ---------- afspraken: datum één keer per dag + lijn tussen de dagen (kern.js dagBanden) */
.af-dag { display: inline-block; min-width: 76px; }
tr.dag-vervolg .af-dag { visibility: hidden; }
tr.dag-grens td { border-bottom: 1.5px solid #ecd2cd; }
tr.is-weg td b.af-dag { color: var(--inkt); text-decoration: none; font-weight: 600; }

/* ---------- Nieuw binnen: bolletje achter het uur = nieuw sinds je vorige bezoek */
.nb-binnen .nb-dot { margin-left: 8px; vertical-align: 1px; }
/* ---------- agenda-items: online geboekt = blush met roze rand, door het salon ingepland = licht goud met gouden rand; donkere tekst */
.bh-afspraak, .bh-mafspraak, .bh-legende .is-online, .bh-legende .is-voorbij { background: #fbd8d3; border-left: 3px solid var(--rose); color: var(--tekst); box-shadow: 0 1px 2px rgba(163, 98, 90, .12); }
.bh-legende .is-online, .bh-legende .is-voorbij { box-shadow: inset 3px 0 0 var(--rose); }
.bh-af-tijd, .bh-af-extra em, .bh-mafspraak span { color: var(--inkt); font-weight: 600; }
.bh-af-wat, .bh-af-extra, .bh-af-tel { color: rgba(28, 25, 23, .62); }
.bh-afspraak.is-beheer, .bh-mafspraak.is-beheer, .bh-legende .is-beheer { background: #f7e6c6; border-left-color: var(--goud); color: var(--tekst); }
.bh-legende .is-beheer { box-shadow: inset 3px 0 0 var(--goud); }
.bh-afspraak.is-beheer .bh-af-tijd, .bh-afspraak.is-beheer .bh-af-extra em, .bh-mafspraak.is-beheer span { color: var(--goud-donker); }
.bh-afspraak.is-beheer .bh-af-wat, .bh-afspraak.is-beheer .bh-af-extra, .bh-afspraak.is-beheer .bh-af-tel { color: rgba(28, 25, 23, .62); }
.bh-afspraak:hover, .bh-mafspraak:hover { box-shadow: 0 8px 18px -8px rgba(163, 98, 90, .45); }
.bh-afspraak.is-voorbij, .bh-mdag.is-voorbij .bh-mafspraak, .bh-mdag.is-buiten .bh-mafspraak, .bh-legende .is-voorbij { opacity: .62; }

/* rechterkant wit, hoofdknoppen licht goud */
body, .hl { background: #fff; }
.bh-knop-donker, .bh-knop-goud { background: #e2c08a; color: var(--tekst); box-shadow: 0 6px 16px -10px rgba(154, 109, 56, .6); }
.bh-knop-donker:hover, .bh-knop-goud:hover { background: #d6ad6f; color: var(--tekst); }
.bh-knop-donker.is-bezig::after { border-color: rgba(74, 56, 48, .2); border-top-color: var(--tekst); }
.top { background: rgba(255, 255, 255, .94); }
/* filterknoppen (Komend, Voorbij …) in goud */
.soorten span { border-color: #ecd3a4; }
.soorten label:hover span { border-color: #d6ad6f; background: #fdf6ea; }
.soorten input:checked + span { background: #e2c08a; border-color: #e2c08a; color: var(--tekst); font-weight: 600; }
.soorten input:checked + span b, .beh-chips button.is-actief b { color: var(--tekst); opacity: .8; }
.beh-chips button { border-color: #ecd3a4; }
.beh-chips button:hover { border-color: #d6ad6f; background: #fdf6ea; }
.beh-chips button.is-actief { background: #e2c08a; border-color: #e2c08a; color: var(--tekst); }

/* paginatitels vet */
.main h1, .hl-main h1 { font-weight: 700; }
.main h1 small { font-weight: 400; }

/* gesloten: effen vlak in plaats van strepen */
.bh-dicht { background: #f9eeec; }
.bh-mdag.is-dicht { background: #f9eeec; }
.bh-legende .is-dicht { background: #f9eeec; border-color: #f0dcd8; }

/* Openingsuren op een smaller scherm (tablet): de pauze schuift onder de openingsuren. */
@media (max-width: 1180px) and (min-width: 821px) {
  .bh-uurkop span:nth-child(3) { display: none; }
  .bh-uurkop, .bh-uurrij { grid-template-columns: 150px minmax(0, 1fr) 60px; row-gap: 8px; }
  .bh-uurkop span:last-child { grid-column: 3; }
  .bh-uurrij .ur-pauze { grid-column: 2; grid-row: 2; }
  .bh-uurrij .ur-totaal { grid-column: 3; grid-row: 1; }
  .bh-uurrij > .bh-toggle { grid-row: 1; }
  .bh-uurrij .bh-gesloten { grid-column: 2; grid-row: 1; }
}

/* Gsm: de kolom met het potlood (wijzigen) blijft rechts in beeld, ook als de rest van de tabel opzij scrolt. */
@media (max-width: 820px) {
  .tabel th.klant-actie, .tabel td.klant-actie { position: sticky; right: 0; z-index: 1; padding-left: 8px; background: #fff; box-shadow: -10px 0 10px -10px rgba(28, 25, 23, .25); }
  .tabel th.klant-actie { background: var(--bg); }
}

/* Gsm: Afspraken en Nieuw binnen als kaartjes i.p.v. een brede tabel, zodat alles zonder opzij scrollen in beeld staat.
   Elke rij wordt een raster: links datum · klant · behandeling, rechts status · prijs · agenda-knop. */
@media (max-width: 820px) {
  .bh-pagina-afspraken .tabel table, .bh-pagina-afspraken .tabel tbody, .bh-pagina-afspraken .tabel thead,
  .bh-pagina-binnen .nb-tabel table, .bh-pagina-binnen .nb-tabel tbody { display: block; }
  .bh-pagina-binnen .nb-tabel thead { display: none; }
  /* Afspraken: de kolomkoppen blijven als rij sorteerknoppen */
  .bh-pagina-afspraken .tabel thead tr { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 12px; border-bottom: 1px solid var(--lijn); background: var(--bg); }
  .bh-pagina-afspraken .tabel thead th { display: block; padding: 0; border: 0; background: none; }
  .bh-pagina-afspraken .tabel thead th:nth-child(5), .bh-pagina-afspraken .tabel thead th:last-child { display: none; }
  .tabel tr[data-groep-kop] { display: block; }
  .tabel tr[data-groep-kop] td { display: block; }
  .bh-pagina-afspraken .tabel tr[data-afspraak], .bh-pagina-binnen .nb-tabel tr[data-afspraak] {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px; border-bottom: 1px solid #f9e8e5; }
  .bh-pagina-afspraken .tabel tr[data-afspraak] td, .bh-pagina-binnen .nb-tabel tr[data-afspraak] td { display: block; padding: 0; border: 0; min-width: 0; }
  .bh-pagina-afspraken .tabel tr[data-afspraak]:hover, .bh-pagina-binnen .nb-tabel tr[data-afspraak]:hover { background: #fffafa; }
  .tabel tr[data-afspraak] td:empty { display: none; }
  .tabel tr[data-afspraak] td.wat { font-size: 13.5px; }
  .tabel tr[data-afspraak] .bh-naar-agenda { align-self: end; }

  /* Afspraken: 1 datum · 2 klant · 3 behandeling · 4 prijs · 5 via (verborgen) · 6 status · 7 agenda */
  .bh-pagina-afspraken .tabel tr[data-afspraak] td:nth-child(1) { grid-area: 1 / 1; }
  .bh-pagina-afspraken .tabel tr[data-afspraak] td:nth-child(2) { grid-area: 2 / 1; }
  .bh-pagina-afspraken .tabel tr[data-afspraak] td:nth-child(3) { grid-area: 3 / 1; }
  .bh-pagina-afspraken .tabel tr[data-afspraak] td:nth-child(4) { grid-area: 2 / 2; justify-self: end; }
  .bh-pagina-afspraken .tabel tr[data-afspraak] td:nth-child(5) { display: none; }
  .bh-pagina-afspraken .tabel tr[data-afspraak] td:nth-child(6) { grid-area: 1 / 2; justify-self: end; }
  .bh-pagina-afspraken .tabel tr[data-afspraak] td:nth-child(7) { grid-area: 3 / 2; justify-self: end; align-self: end; }

  /* Nieuw binnen: 1 binnen · 2 klant · 3 behandeling · 4 afspraak · 5 prijs · 6 status · 7 agenda */
  .bh-pagina-binnen .nb-tabel tr[data-afspraak] td:nth-child(1) { grid-area: 1 / 1; }
  .bh-pagina-binnen .nb-tabel tr[data-afspraak] td:nth-child(2) { grid-area: 2 / 1; }
  .bh-pagina-binnen .nb-tabel tr[data-afspraak] td:nth-child(3) { grid-area: 3 / 1; }
  .bh-pagina-binnen .nb-tabel tr[data-afspraak] td:nth-child(4) { grid-area: 4 / 1; }
  .bh-pagina-binnen .nb-tabel tr[data-afspraak] td:nth-child(5) { grid-area: 2 / 2; justify-self: end; }
  .bh-pagina-binnen .nb-tabel tr[data-afspraak] td:nth-child(6) { grid-area: 1 / 2; justify-self: end; }
  .bh-pagina-binnen .nb-tabel tr[data-afspraak] td:nth-child(7) { grid-area: 3 / 2 / 5 / 3; justify-self: end; align-self: end; }
  .bh-pagina-binnen .nb-tabel tr[data-afspraak] td:nth-child(4) .sub { display: inline; margin-left: 6px; }
}

/* Gsm: het sluitkruisje van een venster blijft bovenaan in beeld, ook als je in een lang formulier (bv. Nieuwe afspraak) naar beneden scrolt. */
@media (max-width: 820px) {
  .bh-modal-x { position: sticky; top: 0; float: right; z-index: 3; margin: -14px -8px 0 8px; background: var(--bg); box-shadow: 0 0 0 4px var(--bg); }
  .bh-modal h3 { padding-right: 0; }
}

/* Gsm: Bestellingen en Cadeaubonnen als kaartjes (zoals Afspraken), zodat een rij volledig in beeld staat.
   1 nummer · 2 klant/koper · 3 producten / voor-van · 4 levering · 5 totaal · 6 status · 7 actieknoppen */
@media (max-width: 820px) {
  .tabel .bs-tabel, .tabel .bs-tabel tbody { display: block; }
  .tabel .bs-tabel thead { display: none; }
  .tabel .bs-tabel tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px; border-bottom: 1px solid #f9e8e5; }
  .tabel .bs-tabel tbody tr:last-child { border-bottom: 0; }
  .tabel .bs-tabel tbody tr:hover { background: #fffafa; }
  .tabel .bs-tabel tbody td { display: block; padding: 0; border: 0; min-width: 0; max-width: none; white-space: normal; }
  .tabel .bs-tabel td:nth-child(1) { grid-area: 1 / 1; }
  .tabel .bs-tabel td:nth-child(6) { grid-area: 1 / 2; justify-self: end; text-align: right; }
  .tabel .bs-tabel td:nth-child(2) { grid-area: 2 / 1; overflow-wrap: anywhere; }
  .tabel .bs-tabel td:nth-child(5) { grid-area: 2 / 2; justify-self: end; }
  .tabel .bs-tabel td:nth-child(3) { grid-area: 3 / 1 / 4 / 3; }
  .tabel .bs-tabel td:nth-child(4) { grid-area: 4 / 1 / 5 / 3; }
  .tabel .bs-tabel td:nth-child(4) .sub { display: inline; margin-left: 6px; }
  .tabel .bs-tabel td:nth-child(4) .sub:empty { display: none; }
  .tabel .bs-tabel td:nth-child(7) { grid-area: 5 / 1 / 6 / 3; text-align: left; white-space: normal; }
  .tabel .bs-tabel td:nth-child(7):empty { display: none; }
  .tabel .bs-tabel td:nth-child(7) .bh-knop.bs-klein { margin: 4px 6px 0 0; }
  .tabel .bs-tabel td:nth-child(6) .sub { max-width: 170px; margin-left: auto; }
}

/* Cadeaubon aanmaken: de vaste bedragen uit Instellingen als snelknoppen onder het bedrag */
.cb-snel { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; }
.cb-snel[hidden] { display: none; }
.cb-snel button { height: 34px; padding: 0 14px; border: 1px solid var(--lijn); border-radius: 999px; background: #fff; color: var(--inkt); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.cb-snel button:hover { border-color: var(--goud); }
.cb-snel button.is-aan { background: var(--donker); border-color: var(--donker); color: #fff; }

/* Klantenfiche op de gsm: afspraken en bestellingen als kaartjes, zonder zijwaarts scrollen. */
@media (max-width: 820px) {
  .tabel .kf-kaart, .tabel .kf-kaart tbody { display: block; }
  .tabel .kf-kaart thead { display: none; }
  .tabel .kf-kaart tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px; border-bottom: 1px solid #f9e8e5; }
  .tabel .kf-kaart tbody tr:last-child { border-bottom: 0; }
  .tabel .kf-kaart tbody tr.is-komend { box-shadow: inset 3px 0 0 var(--goud); }
  .tabel .kf-kaart tbody tr.is-komend td:first-child { box-shadow: none; }
  .tabel .kf-kaart tbody td { display: block; padding: 0; border: 0; min-width: 0; max-width: none; white-space: normal; }
  /* Afspraken: datum | status, behandeling | prijs */
  .tabel .kf-afs td:nth-child(1) { grid-area: 1 / 1; }
  .tabel .kf-afs td:nth-child(4) { grid-area: 1 / 2; justify-self: end; }
  .tabel .kf-afs td:nth-child(2) { grid-area: 2 / 1; overflow-wrap: anywhere; }
  .tabel .kf-afs td:nth-child(3) { grid-area: 2 / 2; justify-self: end; text-align: right; }
  /* Bestellingen: nummer | status, producten | totaal, levering */
  .tabel .kf-best td:nth-child(1) { grid-area: 1 / 1; }
  .tabel .kf-best td:nth-child(5) { grid-area: 1 / 2; justify-self: end; max-width: 190px; text-align: right; }
  .tabel .kf-best td:nth-child(5) .bh-badge { white-space: normal; line-height: 1.35; border-radius: 10px; }
  .tabel .kf-kaart td:nth-child(1) b { white-space: nowrap; }
  .tabel .kf-best td:nth-child(2) { grid-area: 2 / 1; overflow-wrap: anywhere; }
  .tabel .kf-best td:nth-child(4) { grid-area: 2 / 2; justify-self: end; text-align: right; }
  .tabel .kf-best td:nth-child(3) { grid-area: 3 / 1 / 4 / 3; color: var(--zacht, #8a7a70); font-size: 13px; }
  .tabel .kf-best td .sub { max-width: none; }
}

/* Bestelling openen op de gsm: de producttabel past op het scherm (geen kopregel, geen aparte stukprijs). */
@media (max-width: 820px) {
  .bs-kaart { padding: 16px; }
  .bs-regels { overflow: visible; }
  .bs-regels table { min-width: 0; width: 100%; }
  .bs-regels thead { display: none; }
  .bs-regels td:nth-child(3) { display: none; }
  .bs-regels td { padding-left: 6px; padding-right: 6px; }
  .bs-regels td:first-child { padding-left: 0; width: 1%; }
  .bs-regels td:last-child { padding-right: 0; }
  .bs-regels tfoot td:first-child { padding: 0; }
  .bs-regels .bs-prod-cel { gap: 10px; }
  .bs-regels .bs-prod-cel .sub { overflow-wrap: anywhere; }
}

/* Terug naar de lijst op de gsm: de kaart oplichten als geheel, niet elk vakje apart. */
@media (max-width: 820px) {
  .tabel .bs-tabel tbody tr.is-uitgelicht, .tabel .kf-kaart tbody tr.is-uitgelicht { animation: bh-rij 4.5s ease-out; box-shadow: inset 4px 0 0 var(--goud); }
  .tabel .bs-tabel tbody tr.is-uitgelicht td, .tabel .kf-kaart tbody tr.is-uitgelicht td { animation: none; box-shadow: none; }
}

/* ---------------------------------------------------------------- wachtwoord vergeten (loginscherm, wachtwoord-vergeten, wachtwoord-nieuw) */
.bh-login-vergeten { margin: 14px 0 0; text-align: center; font-size: 13.5px; }
.bh-login-vergeten a { color: var(--zacht); text-decoration: underline; text-underline-offset: 3px; }
.bh-login-vergeten a:hover { color: var(--inkt); }
.bh-login-uitleg { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: var(--tekst); }
.bh-login-ok { margin: 0 0 14px; padding: 12px 14px; background: #e8f1e6; color: var(--groen); border-radius: 5px; font-size: 14px; line-height: 1.5; }
.bh-login-form .bh-fout + .bh-login-knop, .bh-login-form .bh-login-uitleg + .bh-login-knop { margin-top: 18px; }
.bh-login-knop { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; text-decoration: none; }
.bh-login-form .bh-fout { margin-top: 0; }
.bh-login-form form .bh-fout, .bh-login-form input ~ .bh-fout { margin-top: 12px; }
.bh-kz { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bh-login-form .pw-regels { margin-top: 10px; }
.bh-login-form .pw-zelfde { margin: 8px 0 0 !important; }

/* Gebruikers op de gsm: één kolom; e-mailadres en laatste login onder de naam, de hele rij opent het venster om te wijzigen */
.gb-tabel .gb-mob { display: none; }
@media (max-width: 860px) {
  .gb-tabel th:nth-child(n+2), .gb-tabel td:nth-child(n+2) { display: none; }
  .gb-tabel .gb-mob { display: block; margin-top: 3px; }
  .gb-tabel td:first-child { position: relative; padding-right: 34px; }
  .gb-tabel td:first-child::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid var(--zacht); border-right: 1.5px solid var(--zacht); transform: translateY(-50%) rotate(45deg); }
  .gb-tabel .wie { align-items: flex-start; }
}
