/* werk-m.css — het werk op het vel voor Medewerkers, Partners, Verbinden, Verbruik, Ontwikkelaars en de Verankeringskaart
   (golf 6, pakket M; bouwplan webapp §5 schermen 8–11 en 15, §6.1 R1 Kobalt, §7). Bron: de proef richting-1/stijl.css +
   gedeeld/structuur.css (tabellen, chips, zoekveld, blokkoppen), besluit Oskar 17-10.

   Twee standen, één bestand:
   - html.m.bureau (vlag VIDIMUS_BUREAU=nieuw, nooit in de app): de oude stylesheets staan uit (bureau/oud-uit.js); hier krijgen de
     onderdelen die de schermen al gebruiken (kl-tabel, kl-chips, xbtn, drawer, sk-optie, dst …) de merklaag;
   - html:not(.bureau) (vlag uit of in de app): alleen het nieuwe dat de pagina erbij kreeg (.b-kop, .b-alleen-nieuw) gaat weg,
     het oude scherm blijft zoals het was.
   De paginastijlen (mensen.css, verbinden.css, ontwikkelaars.css, facturatie.css) blijven geladen: ze doen de indeling en lezen
   hun kleuren uit de oude namen (--ink, --line …), die hier op de merklaag wijzen. Geen nieuwe kleuren: alleen --m-*, wit, en inkt,
   kobalt of rood met doorzichtigheid. Beweging alleen transform en opacity; met reduced motion niets. */

/* ── de oude stand ──────────────────────────────────────────── */
html:not(.bureau) .b-kop, html:not(.bureau) .b-alleen-nieuw { display: none !important; }
/* wat in het oude scherm een style-attribuut was (bouwplan §8 punt 2), nu een klasse; en het woord naast het kruisje alleen in het nieuwe bureau */
html:not(.bureau) .pt-smal { max-width: 44rem; }
html:not(.bureau) .pt-noot { margin-top: .8rem; }
html:not(.bureau) .pt-boek label { display: flex; align-items: center; gap: 10px; max-width: 44rem; margin: 10px 0; font-size: 14px; }
html:not(.bureau) .pt-boek select { flex: 1; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
html:not(.bureau) .ps-weg svg { display: block; margin: auto; }
html:not(.bureau) .ps-bevestig { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13.5px; }
html:not(.bureau) .br-nieuw-vak { margin-top: 12px; }
html:not(.bureau) .br-fout-vak { margin: 0; color: var(--bad); }
html:not(.bureau) .kaart { max-width: 76rem; }
html:not(.bureau) .kt-inleiding { max-width: 66ch; margin: -8px 0 18px; }

/* ── de oude namen op de merklaag ───────────────────────────── */
html.m.bureau {
  --ink: var(--m-inkt); --ink-2: rgba(11, 15, 23, .72); --ink-3: rgba(11, 15, 23, .62);
  --line: rgba(11, 15, 23, .09); --line-2: rgba(11, 15, 23, .16);
  --card: var(--m-wit); --bg: var(--m-licht); --bg-2: var(--m-licht);
  --hoofd: var(--m-kobalt); --hoofd-zacht: rgba(36, 56, 214, .07); --hoofd-lijn: rgba(36, 56, 214, .3); --hoofd-gloed: rgba(36, 56, 214, .16);
  --bad: var(--m-rood); --ok: var(--m-kobalt); --act: var(--m-kobalt); --metal: var(--m-inkt);
  --ui: var(--m-f-tekst); --mono: var(--m-f-mono);
  --out: var(--m-ease); --inout: var(--m-ease-weg);
}
html.m.bureau .b-alleen-oud { display: none !important; }

/* ── het vel: letters en kleine hulpen ──────────────────────── */
html.m.bureau .b-vel { font-size: 15px; line-height: 1.5; }
html.m.bureau .b-vel :is(h1, h2, h3, p) { margin: 0; }
html.m.bureau .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.m.bureau :is(.mono, .sk-mono, code, kbd, pre) { font-family: var(--m-f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
html.m.bureau .b-vel code { font-size: .9em; }
html.m.bureau :is(.dc-note, .bu-sub, .fa-sub, .kl-voet) { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
html.m.bureau .dc-note b { color: var(--ink); }
html.m.bureau .lbl { font: 600 12.5px/1.3 var(--m-f-tekst); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html.m.bureau .b-vel a:not(.b-knop):not(.xbtn) { color: var(--m-kobalt); text-underline-offset: 3px; }
html.m.bureau .am-fout, html.m.bureau .auth-err { min-height: 0; font-size: 13.5px; color: var(--m-rood); }
html.m.bureau .am-fout:empty, html.m.bureau .auth-err:empty { display: none; }
html.m.bureau .b-kop .b-knop .m-ico { flex: none; }
html.m.bureau .b-kop .b-onder b { color: var(--m-wit); font-weight: 600; }

/* blokkop op het vel (zoals .blok-kop van de proef): kop in de smalle letter, uitleg eronder, actie rechts */
html.m.bureau .b-vel :is(.sec-lbl, .fa-blok-kop, .b-blok-kop) { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 10px; padding: 0; }
html.m.bureau .b-vel :is(.sec-lbl h2, .fa-blok-kop h2, .sk-kop, .sk-org h2, .ai-beheer h2, .ai-kaart-kop h2, .fa-aan-kop h2, .b-blok h2) { margin: 0; font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 28px; letter-spacing: -.035em; line-height: 1.02; color: var(--ink); }
html.m.bureau .b-blok { display: grid; gap: 12px; margin-top: 44px; }
html.m.bureau .b-blok:first-child, html.m.bureau .b-vel > .b-alleen-oud:first-child + .b-blok { margin-top: 0; }

/* ── knoppen op het vel ─────────────────────────────────────── */
html.m.bureau .b-vel :is(.xbtn, .dc-btn, .cn-copy, .prow-add button), html.m.bureau .drawer :is(.xbtn, .dc-btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; height: auto; padding: 0 16px; border: 0;
  border-radius: var(--b-hoek-knop); background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2);
  font: 600 14.5px/1.2 var(--m-f-tekst); white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform var(--m-d-xs) var(--m-ease), background-color var(--m-d-xs) var(--m-ease), opacity var(--m-d-xs) var(--m-ease);
}
html.m.bureau .b-vel :is(.xbtn, .dc-btn, .cn-copy):hover, html.m.bureau .drawer :is(.xbtn, .dc-btn):hover { background-color: var(--m-licht); }
html.m.bureau :is(.xbtn, .dc-btn, .cn-copy):active { transform: scale(.97); }
html.m.bureau :is(.xbtn, .dc-btn, .cn-copy):disabled { opacity: .5; cursor: not-allowed; transform: none; }
html.m.bureau :is(.b-vel, .drawer) :is(.xbtn.red, .dc-btn:not(.ghosted), .prow-add button) { background: var(--m-inkt); color: var(--m-wit); box-shadow: none; }
html.m.bureau :is(.b-vel, .drawer) :is(.xbtn.red, .dc-btn:not(.ghosted)):hover { background: var(--m-inkt); opacity: .9; }
html.m.bureau :is(.b-vel, .drawer) :is(.kl-gevaar, .xbtn.kl-gevaar) { background: var(--m-rood) !important; color: var(--m-wit) !important; box-shadow: none !important; }
html.m.bureau :is(.b-vel, .drawer) .me-weg:not(.kl-gevaar) { color: var(--m-rood); box-shadow: inset 0 0 0 1.5px rgba(163, 32, 15, .35); }
html.m.bureau :is(.b-vel, .drawer) :is(.xbtn, .dc-btn) svg:not(.m-ico) { width: 14px; height: 14px; }
html.m.bureau :is(.vb-link, .b-tekstknop) { padding: 0; border: 0; background: none; font: 600 14px/1.4 var(--m-f-tekst); color: var(--m-kobalt); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; cursor: pointer; }
html.m.bureau .vb-link:disabled { color: var(--ink-3); cursor: default; }
html.m.bureau kbd.b-kbd { vertical-align: 1px; }

/* ── zoeken en chips (proef: .zoek en .chip) ────────────────── */
html.m.bureau .kl-balk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 12px; }
html.m.bureau .kl-zoek { flex: 0 1 340px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px; border: 0; border-radius: 12px; background: var(--m-licht); color: var(--ink-3); box-shadow: none; }
html.m.bureau .kl-zoek:focus-within { box-shadow: 0 0 0 2px var(--m-kobalt); }
html.m.bureau .kl-zoek svg { flex: none; width: 17px; height: 17px; }
html.m.bureau .kl-zoek input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 400 14.5px var(--m-f-tekst); color: var(--ink); }
html.m.bureau .kl-zoek kbd { display: var(--b-sneltoetsen); padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 11px; color: var(--ink-3); }
html.m.bureau .kl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
html.m.bureau .kl-chips button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 12px; border: 0; border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 500 13.5px var(--m-f-tekst); color: var(--ink); cursor: pointer; transition: background-color var(--m-d-xs) var(--m-ease); }
html.m.bureau .kl-chips button:hover { background: var(--m-licht); }
html.m.bureau .kl-chips button b { font: 650 13px var(--m-f-tekst); font-variant-numeric: tabular-nums; color: var(--ink-3); }
html.m.bureau .kl-chips button.cur { background: rgba(36, 56, 214, .07); box-shadow: inset 0 0 0 1.5px rgba(36, 56, 214, .3); color: var(--m-kobalt); }
html.m.bureau .kl-chips button.cur b { color: var(--m-kobalt); }

/* ── tabbladen (proef: .tabs, een lijn eronder) ─────────────── */
html.m.bureau .b-vel .seg { display: flex; gap: 4px; width: 100%; max-width: none; margin: 0 0 22px; padding: 0; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--line); overflow-x: auto; scrollbar-width: none; }
html.m.bureau .b-vel .seg button { flex: none; height: auto; padding: 12px 14px; border: 0; border-radius: 10px 10px 0 0; background: none; box-shadow: none; font: 500 15px var(--m-f-tekst); color: var(--ink-3); cursor: pointer; }
html.m.bureau .b-vel .seg button:hover { color: var(--ink); }
html.m.bureau .b-vel .seg button.cur, html.m.bureau .b-vel .seg button[aria-selected="true"] { background: none; color: var(--ink); font-weight: 650; box-shadow: inset 0 -2.5px 0 var(--m-kobalt); }
html.m.bureau .b-vel .seg.vb-prog, html.m.bureau .b-vel .seg.ai-keuzes { width: auto; margin: 0; gap: 4px; padding: 3px; border-radius: 12px; background: var(--m-licht); box-shadow: none; }
html.m.bureau .b-vel :is(.vb-prog, .ai-keuzes).seg button { padding: 6px 12px; border-radius: 9px; font-size: 13.5px; }
html.m.bureau .b-vel :is(.vb-prog, .ai-keuzes).seg button.cur { background: var(--m-wit); box-shadow: 0 1px 2px rgba(11, 15, 23, .12); }

/* ── tabel (proef: .lkop/.lrij): haarlijnen, geen kader, rij = knop ─ */
html.m.bureau .kl-kader { border: 0; border-radius: 0; background: none; overflow: visible; }
html.m.bureau .kl-tabel, html.m.bureau .rg-table { width: 100%; border-collapse: collapse; border-spacing: 0; background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; font-size: 14.5px; }
html.m.bureau :is(.kl-tabel, .rg-table) thead th { padding: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: 600 12.5px/1.3 var(--m-f-tekst); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html.m.bureau .rg-table thead th, html.m.bureau .kl-tabel thead th.fa-th { padding: 8px 14px; }
html.m.bureau .kl-tabel thead button { display: inline-flex; align-items: center; gap: 4px; width: 100%; height: 38px; padding: 0 14px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
html.m.bureau .kl-tabel thead button svg { width: 13px; height: 13px; opacity: .45; }
html.m.bureau .kl-tabel thead th[aria-sort="ascending"] button, html.m.bureau .kl-tabel thead th[aria-sort="descending"] button { color: var(--ink); }
html.m.bureau .kl-tabel thead th[aria-sort="ascending"] button svg, html.m.bureau .kl-tabel thead th[aria-sort="descending"] button svg { opacity: 1; }
html.m.bureau :is(.kl-tabel, .rg-table) tbody td { padding: 12px 14px; border: 0; border-top: 1px solid var(--line); background: none; vertical-align: middle; font: 400 14.5px/1.4 var(--m-f-tekst); color: var(--ink); }
html.m.bureau :is(.kl-tabel, .rg-table) tbody tr:first-child td { border-top: 0; }
html.m.bureau :is(.kl-tabel, .rg-table) tbody tr { cursor: default; transition: background-color var(--m-d-xs) var(--m-ease); }
html.m.bureau .kl-tabel tbody tr:has(.kl-rij):hover { background: var(--m-licht); cursor: pointer; }
html.m.bureau .rg-table tbody tr:hover td { background: none; color: inherit; }
html.m.bureau .kl-tabel td time, html.m.bureau .kl-tabel .fa-num { font: 400 13.5px var(--m-f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
html.m.bureau .kl-rij { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
html.m.bureau .kl-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(36, 56, 214, .07); font: 600 12px/1 var(--m-f-tekst); letter-spacing: .02em; color: var(--m-kobalt); }
html.m.bureau .kl-naam { display: grid; gap: 1px; min-width: 0; }
html.m.bureau .kl-naam b, html.m.bureau .kl-naam small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.m.bureau .kl-naam b { font-size: 15px; font-weight: 650; }
html.m.bureau .kl-naam small { font-size: 13px; color: var(--ink-3); }
html.m.bureau .kl-skel td { padding: 12px 14px; }
html.m.bureau :is(.kl-skel i, .skel) { display: block; min-height: 30px; border-radius: 10px; background: var(--m-licht); animation: b-puls-m 1.4s var(--m-ease) infinite alternate; }
@keyframes b-puls-m { from { opacity: 1; } to { opacity: .5; } }
html.m.bureau .kl-voet { margin: 12px 2px 0; }
/* leeg en fout: één zin en één actie, links uitgelijnd, geen gestreept leeg vak */
html.m.bureau :is(.kl-leeg, .vb-leeg, .sk-leeg, .rg-empty) { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; align-items: center; justify-items: start; margin: 8px 0 0; padding: 22px 20px; border: 0; border-radius: 16px; background: var(--m-licht); backdrop-filter: none; text-align: left; font-size: 15px; color: var(--ink-3); }
html.m.bureau .rg-empty::before { content: none; }
html.m.bureau :is(.kl-leeg, .vb-leeg, .sk-leeg) > svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-3); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
html.m.bureau :is(.kl-leeg, .vb-leeg) p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
html.m.bureau :is(.kl-leeg, .vb-leeg) p b { color: var(--ink); font-weight: 650; }
html.m.bureau :is(.kl-leeg, .vb-leeg) > :nth-child(n+3) { grid-column: 2; }
/* zonder icoon (de kaart): één kolom, anders duwt de knop de pagina breder dan 390 */
html.m.bureau :is(.kl-leeg, .vb-leeg, .sk-leeg):not(:has(> svg)) { grid-template-columns: minmax(0, 1fr); }
html.m.bureau :is(.kl-leeg, .vb-leeg, .sk-leeg):not(:has(> svg)) > * { grid-column: 1; }

/* ── status: het vierkante punt + woord (V2), ook voor de chips van statuschip.js en partner-stap.js ── */
html.m.bureau :is(.dst, .vm-st) { --pk: var(--c-neutraal); display: inline-flex; align-items: center; gap: 7px; height: auto; padding: 0; border-radius: 0; background: none; font: 600 13px/1.25 var(--m-f-tekst); white-space: nowrap; color: var(--pk-tekst, var(--pk)); }
html.m.bureau :is(.dst, .vm-st) > svg { display: none; }
html.m.bureau :is(.dst, .vm-st)::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 1.5px; box-shadow: inset 0 0 0 1.6px var(--pk); }
html.m.bureau :is(.dst-blauw, .vm-st-blauw) { --pk: var(--m-kobalt); }
html.m.bureau :is(.dst-blauw, .vm-st-blauw)::before { background: var(--pk); }
html.m.bureau :is(.dst-oranje, .vm-st-oranje) { --pk: var(--m-oranje); }
html.m.bureau :is(.dst-rood, .vm-st-rood) { --pk: var(--m-rood); }
html.m.bureau :is(.dst-rood, .vm-st-rood)::before { background: linear-gradient(90deg, var(--pk) 0 40%, transparent 40% 60%, var(--pk) 60% 100%); box-shadow: none; }
html.m.bureau :is(.dst-inkt, .vm-st-inkt) { --pk: var(--m-inkt); }
html.m.bureau :is(.dst-inkt, .vm-st-inkt)::before { background: var(--pk); }
html.m.bureau :is(.dst-grijs, .vm-st-grijs) { --pk: rgba(11, 15, 23, .45); --pk-tekst: rgba(11, 15, 23, .66); }
html.m.bureau :is(.dst-grijs, .vm-st-grijs)::before { box-shadow: none; outline: 1.5px dotted var(--pk); outline-offset: -1.5px; }
/* een soort (telefoon, bureau) is geen status: het eigen lijnicoon, geen punt */
html.m.bureau .b-soort.dst { gap: 6px; font-weight: 500; color: var(--ink); }
html.m.bureau .b-soort.dst::before { content: none; }
html.m.bureau .b-soort.dst > svg { display: inline-block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-3); }

/* ── formulieren: label boven het veld, fout eronder ────────── */
html.m.bureau :is(.b-vel, .drawer) :is(.ob-vraag, .fld > label) { display: block; font: 600 14px/1.3 var(--m-f-tekst); letter-spacing: 0; text-transform: none; color: var(--ink); }
html.m.bureau :is(.b-vel, .drawer) .ob-vraag small { font-weight: 400; color: var(--ink-3); }
html.m.bureau :is(.b-vel, .drawer) .fld { display: grid; gap: 6px; }
html.m.bureau :is(.b-vel, .drawer) :is(input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), select, textarea) {
  width: 100%; min-height: 44px; height: auto; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--m-wit);
  font: 400 15px/1.3 var(--m-f-tekst); color: var(--ink); box-shadow: none;
}
html.m.bureau :is(.b-vel, .drawer) textarea { padding: 10px 12px; line-height: 1.5; resize: vertical; }
html.m.bureau :is(.b-vel, .drawer) :is(input, select, textarea):focus { outline: none; border-color: var(--m-kobalt); box-shadow: 0 0 0 3px rgba(36, 56, 214, .16); }
html.m.bureau :is(.b-vel, .drawer) .kl-zoek input:not([type="radio"]):not([type="checkbox"]):not([type="file"]) { height: 100%; min-height: 0; border: 0; padding: 0; background: transparent; box-shadow: none; }   /* zwaarder dan de algemene veldregel: het zoekveld is één vak */
html.m.bureau :is(.b-vel, .drawer) :is(input[type="radio"], input[type="checkbox"]) { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--m-kobalt); }
html.m.bureau :is(.b-vel, .drawer) fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
html.m.bureau :is(.b-vel, .drawer) .sk-waarvoor { display: grid; gap: 8px; }
html.m.bureau :is(.b-vel, .drawer) .sk-opties { display: grid; gap: 8px; }
html.m.bureau :is(.b-vel, .drawer) .sk-optie { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--m-wit); box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: pointer; transition: background-color var(--m-d-xs) var(--m-ease), box-shadow var(--m-d-xs) var(--m-ease); }
html.m.bureau :is(.b-vel, .drawer) .sk-optie:has(input:checked) { background: rgba(36, 56, 214, .07); box-shadow: inset 0 0 0 1.5px rgba(36, 56, 214, .45); }
html.m.bureau :is(.b-vel, .drawer) .sk-optie:has(input:disabled) { opacity: .6; cursor: default; }
html.m.bureau :is(.b-vel, .drawer) .sk-optie span { display: grid; gap: 2px; }
html.m.bureau :is(.b-vel, .drawer) .sk-optie b { font-size: 15px; font-weight: 650; }
html.m.bureau :is(.b-vel, .drawer) .sk-optie small { font-size: 13px; line-height: 1.45; color: var(--ink-3); }
html.m.bureau :is(.b-vel, .drawer) .sk-optie em { margin-left: 6px; padding: 1px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 12px var(--m-f-tekst); font-style: normal; color: var(--ink-3); }

/* ── Technisch detail en feiten ─────────────────────────────── */
html.m.bureau :is(.b-vel, .drawer) details.kv-tech { margin: 0; padding: 12px 0 4px; border: 0; border-top: 1px solid var(--line); background: none; font-size: 13.5px; }
html.m.bureau :is(.b-vel, .drawer) details.kv-tech > summary { cursor: pointer; font: 650 14px var(--m-f-tekst); color: var(--ink); list-style: revert; }
html.m.bureau :is(.b-vel, .drawer) details.kv-tech[open] > summary { margin-bottom: 10px; }
html.m.bureau :is(.b-vel, .drawer) .kv-feiten { display: grid; gap: 8px; margin: 0; }
html.m.bureau :is(.b-vel, .drawer) .kv-feiten > div { display: grid; grid-template-columns: minmax(8.5rem, 34%) minmax(0, 1fr); gap: 12px; font-size: 14px; }
html.m.bureau :is(.b-vel, .drawer) .kv-feiten dt { color: var(--ink-3); font: 400 13.5px var(--m-f-tekst); letter-spacing: 0; text-transform: none; }
html.m.bureau :is(.b-vel, .drawer) .kv-feiten dd { margin: 0; overflow-wrap: anywhere; }
html.m.bureau :is(.b-vel, .drawer) .kv-feiten.mono dd { font: 400 12.5px var(--m-f-mono); }
html.m.bureau :is(.b-vel, .drawer) .kv-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
html.m.bureau :is(.b-vel, .drawer) .kv-kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
html.m.bureau :is(.b-vel, .drawer) .sk-code { display: inline-block; max-width: 100%; padding: 8px 12px; border-radius: 10px; background: var(--m-licht); font: 400 13px/1.45 var(--m-f-mono); color: var(--ink); overflow-wrap: anywhere; }
html.m.bureau :is(.b-vel, .drawer) :is(pre.curl, .codecard, .sk-vb-code pre) { margin: 0; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--m-inkt); box-shadow: none; color: rgba(255, 255, 255, .88); font: 400 12.5px/1.65 var(--m-f-mono); white-space: pre; overflow-x: auto; }

/* ── de lade: een paneel rechts op inkt-scrim, op de telefoon een blad van onder ── */
html.m.bureau .drawer-veil { position: fixed; inset: 0; z-index: 70; background: rgba(11, 15, 23, .5); backdrop-filter: none; opacity: 0; pointer-events: none; transition: opacity var(--m-d-m) var(--m-ease); }
html.m.bureau .drawer-veil.on { opacity: 1; pointer-events: auto; }
html.m.bureau .drawer { position: fixed; z-index: 71; top: 0; right: 0; bottom: 0; left: auto; margin: 0; width: min(560px, 100vw); height: auto; max-height: none; display: flex; flex-direction: column; border: 0; border-radius: var(--b-hoek-vel) 0 0 var(--b-hoek-vel); background: var(--m-wit); backdrop-filter: none; box-shadow: -24px 0 60px -30px rgba(11, 15, 23, .55); color: var(--ink); opacity: 0; visibility: hidden; transform: translateX(32px); pointer-events: none; transition: transform var(--m-d-m) var(--m-ease), opacity var(--m-d-m) var(--m-ease), visibility 0s linear var(--m-d-m); }
html.m.bureau .drawer.on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: transform var(--m-d-m) var(--m-ease), opacity var(--m-d-m) var(--m-ease), visibility 0s; }
html.m.bureau .drawer-bar { display: flex; align-items: center; gap: 12px; padding: 22px 24px 14px; border: 0; }
html.m.bureau .drawer-bar .lbl { font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 28px; letter-spacing: -.035em; line-height: 1.02; color: var(--ink); }
html.m.bureau .drawer-bar .x { flex: none; display: grid; place-content: center; width: 40px; height: 40px; margin-left: auto; border: 0; border-radius: 12px; background: var(--m-licht); color: var(--ink); font: 400 22px/1 var(--m-f-tekst); cursor: pointer; }
html.m.bureau .drawer-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 22px; padding: 6px 24px 32px; }
html.m.bureau .drawer h2 { margin: 0; font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 26px; letter-spacing: -.035em; line-height: 1.05; word-break: normal; overflow-wrap: anywhere; }
html.m.bureau .drawer .sk-form { display: grid; gap: 18px; }
html.m.bureau .drawer .sk-form > .xbtn.red, html.m.bureau .drawer .sk-form > button[type="submit"] { justify-self: start; min-height: 46px; }

/* ── Medewerkers ────────────────────────────────────────────── */
html.m.bureau .me-raster { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; }
html.m.bureau .me-lijst-vak { min-width: 0; }
html.m.bureau .me-tabel td:first-child { width: auto; }
html.m.bureau .me-tabel .kl-naam { min-width: 8.5rem; }
html.m.bureau .me-tabel :is(thead th button, tbody td) { padding-inline: 10px; }   /* de naam wordt nooit tot één letter samengeknepen */
html.m.bureau .me-ik { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/1.4 var(--m-f-tekst); color: var(--ink-3); vertical-align: 1px; }
html.m.bureau .me-ziet { max-width: 16rem; white-space: normal; overflow: visible; color: var(--ink-3); }
html.m.bureau .me-tabel td:nth-child(3) { white-space: nowrap; }
html.m.bureau .me-rij[aria-expanded="true"] td { background: var(--m-licht); }
html.m.bureau .me-rij[aria-expanded="true"] td:first-child { box-shadow: inset 3px 0 0 var(--m-kobalt); }
html.m.bureau .me-pijl { flex: none; margin-left: auto; color: var(--ink-3); transition: transform var(--m-d-s) var(--m-ease); }
html.m.bureau .me-rij[aria-expanded="true"] .me-pijl { transform: rotate(180deg); }
html.m.bureau .me-open > td { padding: 0 !important; border-top: 0 !important; }
html.m.bureau .me-open-vak { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 32px; margin: 0 0 12px; padding: 18px 20px 20px; border-radius: 0 0 16px 16px; background: var(--m-licht); animation: me-in var(--m-d-m) var(--m-ease) both; }
html.m.bureau .me-open-vak > .kv-kop { grid-column: 1 / -1; }
html.m.bureau .me-open-vak > :is(.me-blok, .me-koppel, .me-acties, .kv-tech, .me-uitleg, .am-fout, .kv-links) { grid-column: 1 / -1; }
html.m.bureau .me-open-vak h2 { font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 24px; letter-spacing: -.03em; line-height: 1.05; }
@keyframes me-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
html.m.bureau .me-blok { display: grid; gap: 10px; }
html.m.bureau .me-blok h3 { font-size: 14px; font-weight: 650; }
html.m.bureau .me-bewijs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
html.m.bureau .me-acties { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
html.m.bureau .me-uitleg { max-width: 64ch; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
html.m.bureau .me-slot { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--m-wit); }
html.m.bureau .me-slot svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--ink-3); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
html.m.bureau .me-koppel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 20px; align-items: center; padding: 14px; border-radius: 14px; background: var(--m-wit); }
html.m.bureau .me-qr { display: grid; place-items: center; padding: 8px; border-radius: 12px; background: var(--m-wit); box-shadow: inset 0 0 0 1px var(--line); }
html.m.bureau .me-qr img { display: block; image-rendering: pixelated; }
html.m.bureau .me-koppel-tekst { display: grid; gap: 10px; justify-items: start; }
html.m.bureau .me-keuze { display: flex; flex-wrap: wrap; gap: 8px 18px; }
html.m.bureau :is(.me-keuze label, .me-stroom) { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
html.m.bureau .me-lijst { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 4px 16px; max-height: 15rem; margin-top: 10px; padding: 10px 12px; overflow-y: auto; border-radius: 12px; background: var(--m-wit); box-shadow: inset 0 0 0 1px var(--line); }
html.m.bureau .me-ok { font-size: 13.5px; color: var(--ink-3); }
html.m.bureau .me-noot { color: var(--m-oranje); }
html.m.bureau .me-noot:empty { display: none; }
html.m.bureau .me-linkveld { flex: 1 1 100%; font-family: var(--m-f-mono) !important; font-size: 13px !important; }
/* rechts: wie mag wat (Stripe e3445d52: de uitleg per rol naast de lijst) */
html.m.bureau .me-rollen { position: sticky; top: 24px; display: grid; gap: 14px; padding: 20px 20px 18px; border-radius: 20px; background: var(--m-licht); }
html.m.bureau .me-rollen h2 { font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 24px; letter-spacing: -.03em; line-height: 1.05; }
html.m.bureau .me-rollen dl { display: grid; gap: 12px; margin: 0; }
html.m.bureau .me-rollen dt { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 650; }
html.m.bureau .me-rollen dt .m-ico { color: var(--ink-3); }
html.m.bureau .me-rollen dd { margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
html.m.bureau .me-rollen p { font-size: 13px; line-height: 1.45; color: var(--ink-3); }

/* ── Partners (Monarch 8dc5ed24: een tabel per partner, een rij die openklapt) ── */
html.m.bureau .pt-tabel td:first-child { width: 32%; }
html.m.bureau .pt-tabel td.pt-tel { font-variant-numeric: tabular-nums; }
html.m.bureau .pt-tabel td.pt-tel b { font-weight: 650; }
html.m.bureau .pt-tabel td.pt-tel.betwist b { color: var(--m-rood); }
html.m.bureau .pt-rij[aria-expanded="true"] td { background: var(--m-licht); }
html.m.bureau .pt-rij[aria-expanded="true"] td:first-child { box-shadow: inset 3px 0 0 var(--m-kobalt); }
html.m.bureau .pt-rij[aria-expanded="true"] .me-pijl { transform: rotate(180deg); }
html.m.bureau .pt-open > td { padding: 0 !important; border-top: 0 !important; }
html.m.bureau .pt-open-vak { display: grid; gap: 12px; margin: 0 0 12px; padding: 16px 20px 18px; border-radius: 0 0 16px 16px; background: var(--m-licht); animation: me-in var(--m-d-m) var(--m-ease) both; }
html.m.bureau .pt-antwoorden { display: grid; margin: 0; padding: 0; list-style: none; }
html.m.bureau .pt-antwoorden li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
html.m.bureau .pt-antwoorden li:first-child { border-top: 0; }
html.m.bureau .pt-antwoorden time { font: 400 13px var(--m-f-mono); color: var(--ink-3); }
html.m.bureau .pt-lbl { display: none; }   /* op de telefoon zegt elk getal wat het telt (de kolomkoppen vallen weg) */
html.m.bureau .pt-boek { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: end; }
html.m.bureau .pt-boek label { display: grid; gap: 6px; max-width: 360px; font: 600 14px var(--m-f-tekst); }
html.m.bureau .plist { display: block; margin: 8px 0 0; padding: 0; list-style: none; }
html.m.bureau .plist > li, html.m.bureau .ps-rij { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) auto; gap: 10px 20px; align-items: center; padding: 14px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; backdrop-filter: none; box-shadow: none; font-size: 14.5px; }
html.m.bureau .ps-rij:first-child { border-top: 0; }
html.m.bureau .ps-wie b { font: 650 15px/1.35 var(--m-f-tekst); overflow-wrap: anywhere; }
html.m.bureau .ps-wie small { display: block; color: var(--ink-3); font-size: 13px; }
html.m.bureau .ps-strook { display: flex; gap: 4px; max-width: 30rem; margin: 6px 0 0; padding: 0; list-style: none; }
html.m.bureau .ps-strook li { flex: 1; display: grid; gap: 4px; min-width: 0; padding: 0; border: 0; font-size: 11.5px; color: var(--ink-3); }
html.m.bureau .ps-strook i { display: block; height: 3px; border-radius: 2px; background: var(--line-2); }
html.m.bureau .ps-strook li.af i { background: var(--m-kobalt); }
html.m.bureau .ps-strook li.wacht i { background: var(--m-oranje); }
html.m.bureau .ps-strook span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }   /* 390: 'Mandaat getekend' breekt af in plaats van een beletselteken */
html.m.bureau .ps-acties { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 14px; }
html.m.bureau .ps-acties .cn-copy { min-height: 36px; font-size: 13.5px; }
html.m.bureau .ps-weg, html.m.bureau .plist .ps-acties button.ps-weg { width: auto; height: auto; min-height: 36px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: 600 13.5px var(--m-f-tekst); color: var(--m-rood); cursor: pointer; }
html.m.bureau .ps-weg-tekst, html.m.bureau .ps-weg-tekst.sr-only { position: static !important; width: auto; height: auto; overflow: visible; clip-path: none; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
html.m.bureau .ps-bevestig { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 12px; background: rgba(163, 32, 15, .05); font-size: 14px; }
html.m.bureau .ps-bevestig b { color: var(--m-rood); }

/* ── Verbinden ──────────────────────────────────────────────── */
html.m.bureau .vb-main { max-width: none; }
html.m.bureau .vb-wegen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 0 0 32px; }
html.m.bureau .vb-weg { gap: 10px; padding: 20px; border: 0; border-radius: 20px; background: var(--m-licht); box-shadow: none; }
html.m.bureau .vb-weg-kop h2 { font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 24px; letter-spacing: -.03em; line-height: 1.05; }
html.m.bureau .vb-weg-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--m-wit); color: var(--m-kobalt); }
html.m.bureau .vb-weg p { font-size: 14px; color: var(--ink-3); }
html.m.bureau .vb-analist { background: var(--m-wit); }
html.m.bureau .vb-rijen { border: 0; border-radius: 0; background: none; overflow: visible; }
html.m.bureau .vb-rij { padding: 10px 4px 12px; border-top: 1px solid var(--line); }
html.m.bureau .vb-rij:first-child { border-top: 0; }
html.m.bureau .b-vel :is(.vb-stap, .vb-stap-klein) { margin: 2px 0 0 calc(13.5rem + 12px); }   /* onder de naam, niet onder de status */
html.m.bureau .b-kop .vb-teller { display: none; }   /* de zin onder de titel telt al mee */
html.m.bureau .b-vel .vb-hoofd.xbtn.red { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }   /* één primaire knop: die in de kop */
html.m.bureau .b-vel .vb-hoofd.xbtn.red:hover { background: var(--m-wit); opacity: 1; }
html.m.bureau .vb-rij.open { border-radius: 16px; background: var(--m-licht); box-shadow: inset 3px 0 0 var(--m-kobalt); }
html.m.bureau button.vb-open:hover { background: rgba(11, 15, 23, .04); }
html.m.bureau .vb-groep-kop { margin: 0 0 4px; font: 650 17px/1.25 var(--m-f-tekst); }
html.m.bureau .vb-detail { margin: 12px -4px -12px; border-top: 1px solid var(--line); background: none; }
html.m.bureau .vb-herstel { border: 0; background: var(--m-wit); box-shadow: inset 0 0 0 1.5px rgba(36, 56, 214, .3); }
html.m.bureau .vb-nr { border-color: var(--line-2); background: var(--m-wit); color: var(--ink-3); }
html.m.bureau .vb-onbekend-rij { border: 0; background: rgba(163, 32, 15, .05); }
html.m.bureau .vb-peil { background: var(--m-licht); }
html.m.bureau .vb-alles { border: 0; background: var(--m-licht); }
html.m.bureau .vb-alles-ic { background: var(--m-wit); }
html.m.bureau .vb-oud { background: var(--m-licht); }
html.m.bureau .vb-vervang { background: rgba(36, 56, 214, .07); }
html.m.bureau .vb-niets { border: 0; background: var(--m-licht); }
html.m.bureau .vb-test.oranje, html.m.bureau .vb-stap.oranje { color: var(--m-oranje); }
html.m.bureau .vb-balk { margin-bottom: 16px; }
html.m.bureau .vb-balk .vb-nieuw { margin-left: auto; }
html.m.bureau .b-kop .vb-kop-rechts { display: grid; gap: 6px; justify-items: end; }
html.m.bureau .b-kop .vb-stroom-kies { min-height: 42px; min-width: 14rem; padding: 0 12px; border: 0; border-radius: var(--b-hoek-knop); background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); font: 600 14.5px var(--m-f-tekst); color: var(--m-wit); }
html.m.bureau .b-kop .vb-stroom-kies option { color: var(--m-inkt); }
html.m.bureau .ai-stap { border: 0; border-radius: 20px; background: var(--m-licht); }
html.m.bureau .ai-stap h2 { font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 22px; letter-spacing: -.03em; }
html.m.bureau .ai-mfa { background: var(--m-wit); }
html.m.bureau :is(.sk-lijst) { border: 0; border-radius: 0; background: none; overflow: visible; }
html.m.bureau .sk-lijst > li { padding: 14px 4px; border-top: 1px solid var(--line); }
html.m.bureau .sk-lijst > li:first-child { border-top: 0; }
html.m.bureau .sk-eenmalig { border: 0; background: rgba(36, 56, 214, .07); }
html.m.bureau .br-kanalen input, html.m.bureau .br-kanalen select { min-height: 40px; }

/* ── Verbruik en facturatie (Visitors 5f03f4fd: één balk + teller; Cursor 819744b3: inbegrepen en op verbruik) ── */
html.m.bureau .fa-maandkaart { margin: 0 0 40px; padding: 24px; border: 0; border-radius: 20px; background: var(--m-licht); box-shadow: none; }
html.m.bureau .fa-bedrag { font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 56px; letter-spacing: -.04em; line-height: .95; color: var(--ink); }
html.m.bureau .fa-lbl { font: 600 13px var(--m-f-tekst); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html.m.bureau .fa-balk { height: 6px; border-radius: 3px; background: rgba(11, 15, 23, .09); overflow: hidden; }
html.m.bureau .fa-balk i { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--m-kobalt); transform-origin: 0 50%; transform: scaleX(var(--fa-deel, 0)); }
html.m.bureau .fa-balk.vol i { background: var(--m-oranje); }
html.m.bureau .fa-dag i { display: block; width: 100%; height: 100%; background: var(--m-kobalt); transform-origin: 50% 100%; transform: scaleY(var(--fa-h, 0)); border-radius: 2px 2px 0 0; }
html.m.bureau .fa-dag.later i { opacity: .3; }
html.m.bureau .fa-aandeel i { display: block; height: 4px; width: 100%; margin-top: 4px; border-radius: 2px; background: rgba(36, 56, 214, .45); transform-origin: 0 50%; transform: scaleX(var(--fa-deel, 0)); }
html.m.bureau .fa-blok { margin: 0 0 44px; padding: 0; border: 0; background: none; }
html.m.bureau .fa-aansluiting { display: grid; gap: 12px; padding: 20px 22px; border-radius: 20px; background: var(--m-licht); }
html.m.bureau .fa-aan-kop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
html.m.bureau .fa-aan-actie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
html.m.bureau .fa-akkoord { display: flex; gap: 10px; align-items: flex-start; max-width: 64ch; font-size: 14px; line-height: 1.5; }
html.m.bureau .fa-regels { margin: 0; padding: 0; list-style: none; }
html.m.bureau .fa-regels li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
html.m.bureau .fa-regels li b { font: 400 14px var(--m-f-mono); font-variant-numeric: tabular-nums; }
html.m.bureau .fa-regels li.fa-totaal { font-weight: 650; }
html.m.bureau .fa-regels li.fa-totaal b { font-weight: 600; }
html.m.bureau .fa-bronnen { margin: 0 0 44px; }
html.m.bureau .br-soort { display: block; font-size: 13px; color: var(--ink-3); }
html.m.bureau .br-naam { font-weight: 650; }
html.m.bureau #brRows td:nth-child(3) { white-space: nowrap; }
html.m.bureau .br-acties { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 14px; }
html.m.bureau .br-acties :is(a, button) { padding: 0; border: 0; background: none; font: 600 13.5px var(--m-f-tekst); color: var(--m-kobalt); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
html.m.bureau .br-melding { flex: 1 1 100%; font-size: 13.5px; text-align: right; color: var(--m-rood); }   /* review M-6: stoppen mislukt, gezegd in de rij */
html.m.bureau .br-melding:empty { display: none; }
html.m.bureau .kl-leeg.fa-fout { margin-bottom: 28px; }   /* review M-13: de foutkaart raakt Aansluiting niet */
html.m.bureau .br-geweigerd { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 6px; font-size: 13.5px; color: var(--m-rood); }
html.m.bureau .br-geweigerd button { padding: 0; border: 0; background: none; font: 600 13.5px var(--m-f-tekst); color: var(--m-kobalt); text-decoration: underline; cursor: pointer; }
html.m.bureau .br-weiger { display: grid; gap: 8px; margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: rgba(163, 32, 15, .05); }
html.m.bureau .br-signaal, html.m.bureau .br-telt { font-size: 13px; color: var(--m-oranje); font-weight: 600; }
html.m.bureau .br-edit td { background: var(--m-licht); }
html.m.bureau .br-let-op { box-shadow: inset 3px 0 0 var(--m-oranje); }
html.m.bureau .br-meta { display: block; font-size: 13px; color: var(--ink-3); }
html.m.bureau details.aansluit { margin: 14px 0 0; border: 0; border-radius: 16px; background: var(--m-licht); box-shadow: none; backdrop-filter: none; overflow: hidden; }
html.m.bureau details.aansluit > summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
html.m.bureau details.aansluit > summary .lbl { display: none; }
html.m.bureau details.aansluit > summary b { font-size: 14.5px; font-weight: 650; }
html.m.bureau details.aansluit > summary i { margin-left: auto; font-style: normal; color: var(--ink-3); }
html.m.bureau .aansluit-body { display: grid; gap: 12px; padding: 0 18px 18px; }
html.m.bureau .br-form2 { display: grid; gap: 12px; }
html.m.bureau .br-rij { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
html.m.bureau .br-rij > :is(input, select) { flex: 1 1 12rem; width: auto; }
html.m.bureau .br-snip { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--m-inkt); color: rgba(255, 255, 255, .88); font: 400 12.5px/1.6 var(--m-f-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
html.m.bureau .fa-prijzen { max-width: 860px; }

/* ── Ontwikkelaars ──────────────────────────────────────────── */
html.m.bureau .sk-org { margin-top: 36px; padding: 20px 22px; border: 0; border-radius: 20px; background: var(--m-licht); }
html.m.bureau .sk-org p { color: var(--ink-3); }
html.m.bureau .sk-ai:not([hidden]) { margin-top: 20px; padding: 20px 22px; border-radius: 20px; background: var(--m-licht); }   /* review M-12: dezelfde kaart als de organisatiesleutel */
html.m.bureau .sk-ai p { max-width: 68ch; color: var(--ink-3); }
html.m.bureau .sk-toevoegen { padding: 18px 20px; border: 0; border-radius: 18px; background: var(--m-licht); }
html.m.bureau .sk-toevoegen > .xbtn { margin-bottom: 0; align-self: end; }
html.m.bureau .sk-vb { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
html.m.bureau .sk-vb summary b { font-weight: 650; }
html.m.bureau .sk-vb summary span { color: var(--ink-3); }
html.m.bureau .sk-bevestig { background: rgba(163, 32, 15, .05); }
html.m.bureau .sk-paneel > .bu-sub { margin: 0 0 16px; font-size: 14.5px; }

/* ── Verankeringskaart (onder Technisch detail) ─────────────── */
html.m.bureau .kaart { max-width: none !important; }
html.m.bureau .kt-uitleg, html.m.bureau .kt-blok { display: grid; gap: 12px; margin: 0; padding: 22px 24px; border: 0; border-radius: 20px; background: var(--m-licht); backdrop-filter: none; box-shadow: none; }
html.m.bureau .kt-uitleg { margin-bottom: 28px; }
html.m.bureau .kt-kop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
html.m.bureau .kt-kop .nr { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--m-wit); font: 600 13px/1 var(--m-f-mono); color: var(--m-kobalt); }
html.m.bureau .kt-kop h2 { font-family: var(--m-f-display); font-weight: 650; font-stretch: 82%; font-size: 26px; letter-spacing: -.035em; line-height: 1.05; }
html.m.bureau .kt-kop .lbl { flex-basis: 100%; }
html.m.bureau .kt-blok h3 { margin: 6px 0 0; font-size: 14.5px; font-weight: 650; }
html.m.bureau .kt-pijl { width: 1px; height: 22px; margin: 4px 0 4px 37px; background: var(--line-2); }
html.m.bureau .kt-formules { display: grid; gap: 12px; margin: 0; padding-left: 20px; }
html.m.bureau .kt-formules li { display: grid; gap: 4px; font-size: 14px; }
html.m.bureau .kt-formules code, html.m.bureau .kt-code { display: block; padding: 6px 10px; border-radius: 8px; background: var(--m-wit); font-size: 12.5px; overflow-wrap: anywhere; }
html.m.bureau .kt-formules span { color: var(--ink-3); font-size: 13.5px; }
html.m.bureau .kt-rij { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
html.m.bureau .kt-rij.drie { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.m.bureau .kt-knoop { display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: 12px; background: var(--m-wit); min-width: 0; }
html.m.bureau .kt-knoop.wacht { outline: 1.5px dashed var(--line-2); outline-offset: -1.5px; }
html.m.bureau .kt-knoop small { font-size: 12.5px; color: var(--ink-3); overflow-wrap: anywhere; }
html.m.bureau .kt-hash { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--ink); cursor: copy; }
html.m.bureau .kt-hash.lang { white-space: normal; overflow-wrap: anywhere; }
html.m.bureau .kt-hash.leeg { color: var(--ink-3); cursor: default; font-family: var(--m-f-tekst); }
html.m.bureau .kt-hash.gekopieerd { color: var(--m-kobalt); }
html.m.bureau .kt-formule { display: grid; gap: 6px; }
html.m.bureau :is(.kt-feit, .kt-sub) { font-size: 14px; }
html.m.bureau .kt-sub { color: var(--ink-3); }
html.m.bureau .kt-leeg { font-size: 14px; color: var(--ink-3); }
html.m.bureau .kt-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
html.m.bureau .kt-meer > summary { cursor: pointer; font-weight: 650; font-size: 14px; }
html.m.bureau .kt-mens, html.m.bureau .kt-stroom { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ── het blad Nieuwe voorwaarden (voorwaarden.js) en het AI-voorstel (ai-verbinding.js): hun stijl staat in bureau.css, dat hier
   uit staat (oud-uit.js). Zelfde blad, op de merklaag, gecentreerd op het werk naast de zijbalk. ── */
html.m.bureau .vw-blad { box-sizing: border-box; position: fixed; left: calc(50% + var(--b-zij-breedte, 248px) / 2); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60;
  width: min(640px, calc(100vw - var(--b-zij-breedte, 248px) - 32px)); display: grid; gap: 10px; padding: 18px 20px; border: 0; border-radius: 20px; background: var(--m-wit); color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -24px rgba(11, 15, 23, .45); font: 400 14px/1.5 var(--m-f-tekst); }
html.m.bureau .vw-blad .lbl { font: 500 13px/1.3 var(--m-f-tekst); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html.m.bureau .vw-blad b.kop { font-size: 16px; font-weight: 650; }
html.m.bureau .vw-blad p { margin: 0; color: var(--ink-2); }
html.m.bureau .vw-blad ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--ink-2); }
html.m.bureau .vw-blad ul small { font-size: 12.5px; color: var(--ink-3); }
html.m.bureau .vw-blad .rij { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
html.m.bureau .vw-blad .rij a:not(.dc-btn), html.m.bureau .vw-blad .rij button.link { padding: 0; border: 0; background: none; font: 600 13.5px var(--m-f-tekst); color: var(--m-kobalt); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html.m.bureau .vw-blad :is(.dc-btn, .xbtn) { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--b-hoek-knop, 14px); background: var(--m-inkt); color: var(--m-wit); font: 600 14px var(--m-f-tekst); text-decoration: none; cursor: pointer; }
html.m.bureau .vw-blad .fout { color: var(--m-rood); }
html.m.bureau .ai-blad { padding-right: 52px; }
html.m.bureau .ai-blad .ai-later { font-size: 13px; color: var(--ink-3); }
html.m.bureau .ai-blad-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--ink-3); font: 300 22px/1 var(--m-f-tekst); cursor: pointer; }
html.m.bureau .ai-blad-x:hover { background: var(--m-licht); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { html.m.bureau .vw-blad { animation: m-vw-in var(--m-d-m) var(--m-ease) both; } }
@keyframes m-vw-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ── tussenmaat (1024) ──────────────────────────────────────── */
@media (max-width: 1180px) {
  html.m.bureau .me-raster { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  html.m.bureau .me-rollen { position: static; }
  html.m.bureau .ps-rij { grid-template-columns: minmax(0, 1fr) auto; }
  html.m.bureau .ps-rij > .ps-stand { grid-column: 1 / -1; grid-row: 2; }
  html.m.bureau .me-tabel :is(thead th:nth-child(5), td.me-sinds) { display: none; }   /* sinds staat in de open rij; zo past de lijst op 1024 */
  html.m.bureau .me-rollen dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.m.bureau .kt-rij { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.m.bureau .b-kop .vb-kop-rechts { justify-items: start; }
}

/* ── telefoon (390): een rij wordt een kaart, de status blijft zichtbaar ── */
@media (max-width: 760px) {
  html.m.bureau .b-vel { font-size: 14.5px; }
  html.m.bureau .kl-zoek { flex: 1 1 100%; }
  html.m.bureau :is(.kl-tabel, .rg-table), html.m.bureau :is(.kl-tabel, .rg-table) tbody { display: block; }
  html.m.bureau :is(.kl-tabel, .rg-table) thead { display: none; }
  html.m.bureau :is(.kl-tabel, .rg-table) tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--line); }
  html.m.bureau :is(.kl-tabel, .rg-table) tbody tr:first-child { border-top: 0; }
  html.m.bureau :is(.kl-tabel, .rg-table) tbody td { display: block; padding: 0; border: 0; font-size: 14px; min-width: 0; }
  html.m.bureau :is(.kl-tabel, .rg-table) tbody td:first-child { grid-column: 1 / -1; width: auto; }
  html.m.bureau .kl-tabel tbody tr.kl-skel, html.m.bureau :is(.me-open, .pt-open, .br-edit) { display: block; padding: 0; border: 0; }
  html.m.bureau :is(.me-open, .pt-open, .br-edit) > td { display: block; }
  html.m.bureau .me-tabel td.me-ziet, html.m.bureau .me-tabel td.me-sinds { display: none; }
  html.m.bureau .me-open-vak { grid-template-columns: minmax(0, 1fr); padding: 14px; border-radius: 14px; }
  html.m.bureau .me-koppel { grid-template-columns: minmax(0, 1fr); }
  html.m.bureau .me-rollen dl { grid-template-columns: minmax(0, 1fr); }
  html.m.bureau .pt-antwoorden li { grid-template-columns: minmax(0, 1fr) auto; }
  html.m.bureau .pt-antwoorden li time { grid-column: 1 / -1; }
  html.m.bureau .pt-boek { grid-template-columns: minmax(0, 1fr); }
  html.m.bureau .pt-lbl { display: inline; color: var(--ink-3); }
  html.m.bureau #brRows td:nth-child(5) { grid-column: 1 / -1; }   /* de acties onder de bron, nooit over de verbinding heen */
  html.m.bureau #brRows .br-acties { justify-content: flex-start; }
  html.m.bureau #brRows .br-melding { text-align: left; }
  html.m.bureau .b-vel .seg.sk-tabs { gap: 0; padding-right: 28px; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(to right, #fff calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #fff calc(100% - 28px), transparent); }   /* review M-11: de rand vervaagt, er staat meer */
  html.m.bureau .b-vel .seg.sk-tabs button { padding: 12px 10px; scroll-snap-align: start; }
  html.m.bureau #brRows td:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
  html.m.bureau .pt-tabel tbody td:not(:first-child) { font-size: 14px; }
  html.m.bureau :is(.plist > li, .ps-rij) { grid-template-columns: minmax(0, 1fr); }
  html.m.bureau .ps-acties { justify-content: flex-start; }
  html.m.bureau .vb-wegen { grid-template-columns: minmax(0, 1fr); }
  html.m.bureau .b-kop .vb-stroom-kies { width: 100%; min-width: 0; }
  html.m.bureau .b-kop .vb-kop-rechts { justify-items: stretch; width: 100%; }
  html.m.bureau .b-vel :is(.vb-stap, .vb-stap-klein) { margin-left: 0; }
  html.m.bureau .fa-maandkaart { padding: 18px 16px; }
  html.m.bureau .fa-bedrag { font-size: 44px; }
  html.m.bureau .kt-rij, html.m.bureau .kt-rij.drie { grid-template-columns: minmax(0, 1fr); }
  html.m.bureau .kt-uitleg, html.m.bureau .kt-blok { padding: 16px; }
  html.m.bureau .drawer { top: auto; left: 0; width: 100vw; max-height: 92vh; border-radius: var(--b-hoek-vel) var(--b-hoek-vel) 0 0; transform: translateY(32px); }
  html.m.bureau .drawer-bar { padding: 18px 16px 10px; }
  html.m.bureau .vw-blad { left: 50%; width: calc(100vw - 32px); max-height: 80vh; overflow-y: auto; }
  html.m.bureau .drawer-body { padding: 4px 16px 28px; }
  html.m.bureau .drawer-bar .lbl { font-size: 24px; }
  html.m.bureau :is(.b-vel, .drawer) :is(.xbtn, .dc-btn, .cn-copy) { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html.m.bureau .me-open-vak, html.m.bureau .pt-open-vak { animation: none; }
  html.m.bureau .drawer, html.m.bureau .drawer-veil, html.m.bureau .me-pijl { transition: none; }
}
