/* ByClaude 03-11-2026 00:50 — EventDesign: kleuren (nachtblauw i.p.v. dieselgroen, geel = spotlicht) en de editor.
   Basis (site.css) komt ongewijzigd uit DVRental; zie C:\Source\MD\opmaak.md. */
:root {
  --diesel: #24477A; --diesel-2: #2D5A99; --diesel-soft: #E4ECF7;
  --ed-left: 272px; --ed-right: 320px;
}

.topbar-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.topbar-title strong { font-size: 15px; }
.brand-mark.small { width: 28px; height: 28px; font-size: 12px; display: inline-grid; place-items: center; border-radius: 6px; background: var(--signal); color: var(--signal-ink); font-weight: 800; }
.ed-site-line { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.ed-site-line:last-child { border-bottom: 0; }
.ed-site-line .icon { color: var(--muted); margin-top: 2px; }

/* ---------------------------------------------------------------- editor */
.ed { display: flex; flex-direction: column; min-height: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.ed-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--surface); position: relative; z-index: 5; }
.ed-title { display: flex; flex-direction: column; min-width: 160px; max-width: 320px; line-height: 1.2; }
.ed-title strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-title .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.ed-seg button { height: 32px; padding: 0 12px; border: 0; background: var(--surface); color: var(--ink-2); font: inherit; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ed-seg button + button { border-left: 1px solid var(--line); }
.ed-seg button.on { background: var(--diesel); color: #fff; }
.ed-tools { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ed-sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.ed-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.ed-input { height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); font: inherit; font-size: 13px; color: var(--ink); min-width: 0; }
.ed-input.full { width: 100%; }
.ed-input:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
.ed-color { width: 100%; height: 32px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); padding: 2px; }
.ed-save { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ed-save.dirty { color: var(--amber); font-weight: 600; }
.ed-menu { position: relative; }
.ed-backdrop { position: fixed; inset: 0; z-index: 30; }
.ed-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 31; min-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(23,33,42,.22); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.ed-pop.right { left: auto; right: 0; }
.ed-pop .um-item, .ed-pop label.um-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: 6px; font: inherit; color: var(--ink); text-align: left; cursor: pointer; text-decoration: none; }
.ed-pop .um-item:hover { background: var(--grey-soft); text-decoration: none; }
.ed-check { display: flex; align-items: center; gap: 8px; padding: 6px 8px; cursor: pointer; justify-content: space-between; }
.ed-check input[type=checkbox] { accent-color: var(--diesel); }
.ed-notice { margin: 8px 10px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.ed-body { position: relative; flex: 1 1 auto; display: grid; grid-template-columns: var(--ed-left) minmax(0, 1fr) var(--ed-right); grid-template-rows: minmax(0, 1fr); min-height: 0; }
.ed-body.is-3d, .ed-body.is-public { grid-template-columns: minmax(0, 1fr); }
.ed-body.is-public:has(.ed-right) { grid-template-columns: minmax(0, 1fr) var(--ed-right); }
.ed-left, .ed-right { overflow-y: auto; padding: 10px 12px 16px; min-height: 0; background: var(--surface); }
.ed-left { border-right: 1px solid var(--line); }
.ed-right { border-left: 1px solid var(--line); }
.ed-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0 8px; }
.ed-canvas { position: relative; min-height: 0; background: #2a3138; }
.ed-map, .ed-scene { position: absolute; inset: 0; }
.ed-map:focus { outline: none; }
.ed-hint { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); background: rgba(23,33,42,.86); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 12.5px; pointer-events: none; white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis; }
.ed-status { position: absolute; left: 10px; bottom: 34px; background: rgba(255,255,255,.94); color: var(--ink); padding: 6px 10px; border-radius: 8px; font-size: 12.5px; max-width: 70%; border: 1px solid var(--line); }

/* bibliotheek */
.ed-pal { margin: 8px 0 14px; display: flex; flex-direction: column; gap: 2px; }
.ed-pal details { border-bottom: 1px solid var(--line-soft); padding: 2px 0; }
/* ByClaude 04-11-2026 23:30 — submenu (RVV-borden per serie) */
.ed-pal details.ed-subcat { border-bottom: 0; margin-left: 12px; padding: 0; }
.ed-pal details.ed-subcat > summary { font-weight: 500; font-size: 12.5px; color: var(--ink-2, #4a5563); }
.ed-pal summary { cursor: pointer; padding: 6px 4px; font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.ed-pal summary::-webkit-details-marker { display: none; }
.ed-pal summary::before { content: "›"; display: inline-block; width: 12px; color: var(--muted); transition: transform .1s; }
.ed-pal details[open] > summary::before { transform: rotate(90deg); }
.ed-pal summary { justify-content: flex-start; gap: 4px; }
.ed-pal summary .count { margin-left: auto; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--grey-soft); color: var(--muted); font-size: 11.5px; font-weight: 600; }
.ed-pal-item { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; padding: 6px 6px 6px 8px; border: 1px solid transparent; border-radius: 6px; background: none; font: inherit; font-size: 13px; color: var(--ink); text-align: left; cursor: pointer; }
.ed-pal-item:hover { background: var(--grey-soft); }
.ed-pal-item.on { background: var(--signal-soft); border-color: #F0D981; }
.ed-pal-item .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-pal-item .dim { color: var(--muted); font-size: 11.5px; font-stretch: 86%; }
.sw { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(23,33,42,.25); display: inline-block; flex: none; }

/* lagen */
.ed-layers { display: flex; flex-direction: column; gap: 2px; }
.ed-layer { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto auto auto; gap: 2px; align-items: center; padding: 4px 4px 4px 8px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.ed-layer:hover { background: var(--grey-soft); }
.ed-layer.active { background: var(--diesel-soft); }
.ed-layer.off .nm { color: var(--muted); text-decoration: line-through; }
.ed-layer .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-icon { width: 26px; height: 26px; display: inline-grid; place-items: center; border: 0; background: none; border-radius: 6px; color: var(--ink-2); cursor: pointer; padding: 0; }
.ed-icon:hover { background: rgba(23,33,42,.08); }

/* eigenschappen */
.ed-form { display: flex; flex-direction: column; gap: 10px; }
.ed-form .field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.ed-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ed-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.ed-checks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.ed-checks li { padding: 6px 8px 6px 10px; border-left: 4px solid var(--line); background: #FAFBFA; border-radius: 4px; }
.ed-checks li.warn { border-left-color: var(--signal); background: var(--signal-soft); }
.ed-checks li.ok { border-left-color: var(--green); background: var(--green-soft); }
.ed-checks li.info { border-left-color: var(--blue); }
.ed-keys { padding-left: 18px; margin: 0; display: flex; flex-direction: column; gap: 4px; color: var(--ink-2); }

/* OpenLayers */
.ed-map .ol-scale-line, .ed-map .ol-scale-bar { left: 10px; bottom: 8px; }
.ed-map .ol-scale-bar-inner { font-family: var(--font); }
.ed-mousepos { position: absolute; right: 8px; bottom: 30px; background: rgba(255,255,255,.88); padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-variant-numeric: tabular-nums; color: var(--ink); }
.ed-map .ol-zoom { top: 10px; left: 10px; }
.ed-map .ol-control button { background: rgba(23,33,42,.78); }
.ed-map .ol-control button:hover, .ed-map .ol-control button:focus { background: rgba(23,33,42,.95); }
.ed-measure-tip { background: rgba(23,33,42,.88); color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ed-measure-tip.done { background: var(--signal); color: var(--signal-ink); }

/* deellink */
.public-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--canvas); }
.public-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.public-main { flex: 1; display: flex; flex-direction: column; padding: 12px; }
.ed-public { flex: 1; }

@media (max-width: 1100px) {
  :root { --ed-left: 220px; --ed-right: 270px; }
}
@media (max-width: 900px) {
  .ed-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(360px, 60vh) auto auto; }
  .ed-body > .ed-canvas { order: -1; }
  .ed-left, .ed-right { border: 0; border-top: 1px solid var(--line); }
  .ed-resize { display: none; }
}
/* ByClaude 03-11-2026 13:25 — sleepgreep tussen paneel en kaart */
.ed-resize { position: absolute; top: 0; bottom: 0; width: 8px; z-index: 5; cursor: col-resize; touch-action: none; }
.ed-resize-left { left: calc(var(--ed-left) - 4px); }
.ed-resize-right { right: calc(var(--ed-right) - 4px); }
.ed-resize:hover, .ed-resize.is-drag { background: linear-gradient(to right, transparent 3px, var(--signal, #2f7de1) 3px, var(--signal, #2f7de1) 5px, transparent 5px); }
body.ed-resizing { cursor: col-resize; user-select: none; }
body.ed-resizing iframe, body.ed-resizing canvas { pointer-events: none; }

/* ByClaude 03-11-2026 02:30 — sets, vak-selectie */
.ed-set-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.ed-dragbox { border: 2px dashed var(--signal); background: rgba(242,183,5,.12); }
.ed-canvas { overflow: hidden; }
.grow { flex: 1 1 auto; min-width: 0; }
.ed-results { list-style: none; margin: 0; padding: 4px 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.ed-results button { width: 100%; text-align: left; border: 0; background: none; padding: 6px 8px; border-radius: 6px; font: inherit; cursor: pointer; }
.ed-results button:hover { background: var(--grey-soft); }
.ed-sitemap { position: relative; height: 560px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #2a3138; }

/* ByClaude 03-11-2026 09:40 — analyses (legenda op de kaart), opmerkingen */
.ed-legend { position: absolute; right: 10px; bottom: 34px; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 12px; display: flex; flex-direction: column; gap: 3px; max-width: 260px; }
.ed-legend strong { font-size: 12.5px; margin-bottom: 2px; }
.ed-legend span { display: flex; align-items: center; gap: 6px; }
.ed-legend i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; border: 1px solid rgba(23,33,42,.25); flex: none; }
.ed-an-result li a { color: inherit; text-decoration: none; }
.ed-an-result li a:hover { text-decoration: underline; }
.ed-pop .um-item.is-active { background: var(--signal-soft); }
.ed-pop .um-item span { text-align: left; }
.ed-comments { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ed-comments button { display: flex; gap: 8px; width: 100%; text-align: left; background: #FAFBFA; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 13px; cursor: pointer; color: inherit; }
.ed-comments button:hover { border-color: var(--accent, #24477A); }
.ed-comments .nr { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--signal); color: var(--ink); font-weight: 700; font-size: 11px; display: grid; place-items: center; border: 2px solid var(--ink); }
.ed-comments li.done .nr { background: var(--green); color: #fff; }
.ed-comments li.done button { opacity: .75; }
.ed-sub { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin: 8px 0; background: #FAFBFA; } /* ByClaude 03-11-2026 11:45 */
.ed-door { display: grid; grid-template-columns: 78px 1fr 1fr 64px 30px 28px; gap: 4px; align-items: center; margin-bottom: 4px; } /* ByClaude 03-11-2026 15:25 */
.ed-quick { min-width: 280px; flex: 1 1 280px; max-width: 460px; } /* ByClaude 03-11-2026 16:25 */
/* ByClaude 03-11-2026 17:55 — kopje in Kaartlagen */
.ed-sub-title { font-size: 12px; font-weight: 600; color: var(--ink-2, #555); margin: 2px 0 4px; }
/* ByClaude 03-11-2026 13:55 — aantal zitplaatsen direct onder de maten */
.ed-seats-total { margin: 2px 0 8px; padding: 6px 8px; border-radius: 6px; background: var(--signal-soft, #fff4cc); font-size: 13px; }
/* ByClaude 03-11-2026 14:20 — kleurkeuze pagode */
.ed-swatches { display: flex; align-items: center; gap: 6px; }
.ed-swatch { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line); cursor: pointer; padding: 0; }
.ed-swatch.on { outline: 2px solid var(--signal, #2f7de1); outline-offset: 2px; }
/* ByClaude 03-11-2026 14:55 — vinkjes links met de tekst ernaast (niet uitgelijnd naar rechts, niet afbreken) */
.ed-check:has(> input[type=checkbox]) { justify-content: flex-start; white-space: nowrap; }
.ed-pop:has(.ed-check) { min-width: 300px; }
/* ByClaude 03-11-2026 15:30 — Wat is nieuw */
.whatsnew section { margin-bottom: 14px; }
.whatsnew h4 { margin: 0 0 6px; font-size: 15px; }
.whatsnew ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
/* ByClaude 03-11-2026 19:05 — bordenlijst: grote vinkjes (tablet) */
.sign-tools { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.sign-check { width: 22px; height: 22px; accent-color: var(--green, #1E8551); cursor: pointer; }
/* ByClaude 03-11-2026 21:25 — opbouwmodus (tablet) */
.build-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.build-progress { flex: 1 1 240px; height: 12px; background: var(--grey-soft, #eef0f2); border-radius: 6px; overflow: hidden; }
.build-progress .bar { height: 100%; background: var(--green, #1E8551); transition: width .3s; }
.build-days { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.chip.on { background: var(--diesel, #17212A); color: #fff; border-color: transparent; }
.build-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.build-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.build-card.done { opacity: .6; }
.build-card.done .build-name { text-decoration: line-through; }
.build-check { width: 32px; height: 32px; accent-color: var(--green, #1E8551); cursor: pointer; }
.build-name { font-weight: 600; font-size: 16px; }
.build-actions { display: flex; gap: 6px; }
.build-photos { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.build-photos img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }

/* ByClaude 03-11-2026 22:25 — multitenant: organisatie in de kop, organisatie kiezen, platformbeheer */
.topbar-org { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #E6EEF8; color: #24477A; text-decoration: none; white-space: nowrap; }
.topbar-org:hover { background: #D5E2F3; }
.org-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.org-list button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border: 1px solid var(--line, #DDE2E8);
    border-radius: 10px; background: #fff; cursor: pointer; font: inherit; }
.org-list button:hover { border-color: #24477A; background: #F5F8FC; }
.org-list .org-mark { width: 36px; height: 36px; border-radius: 8px; background: #1B2430; color: #F2B705; display: grid; place-items: center; font-weight: 700; flex: none; }
.org-list .org-l { display: flex; flex-direction: column; min-width: 0; }
.org-list .org-l span { font-size: 12px; color: #66727D; }
.code-input { font-family: Consolas, 'Courier New', monospace; font-size: 26px !important; letter-spacing: 8px; text-align: center; }
.pf-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #E8F3EC; color: #1E6B3F; }
.pf-badge.off { background: #F7E6E4; color: #9B2C20; }
.pf-badge.test { background: #FFF4D6; color: #7A5A00; }
/* ByClaude 04-11-2026 00:30 — plaatjes in de bibliotheeklijst */
.lib-name { display: inline-flex; align-items: center; gap: 8px; }
.lib-thumb { width: 26px; height: 26px; margin: -4px 0; border-radius: 5px; object-fit: cover; background: #eef2f5; border: 1px solid var(--line-soft); border-bottom: 3px solid var(--sw, #ccc); flex: none; }
/* ByClaude 04-11-2026 13:40 — palet: plaatje, ster voor favorieten, toetsnummer */
.ed-pal-row { display: flex; align-items: center; gap: 2px; }
.ed-pal-row .ed-pal-item { grid-template-columns: 26px minmax(0, 1fr) auto; padding: 3px 6px 3px 4px; flex: 1; min-width: 0; }
.pal-thumb { width: 26px; height: 26px; border-radius: 5px; object-fit: cover; background: #eef2f5; border: 1px solid var(--line-soft); border-bottom: 3px solid var(--sw, #ccc); }
.ed-star { flex: none; width: 24px; height: 24px; border: 0; background: none; color: var(--muted); font-size: 15px; line-height: 1; border-radius: 6px; cursor: pointer; opacity: 0; transition: opacity .1s; }
.ed-pal-row:hover .ed-star, .ed-star.on, .ed-star:focus-visible { opacity: 1; }
.ed-star.on { color: #E0A800; }
.ed-star:hover { background: var(--grey-soft); color: #E0A800; }
.pal-key { font: 600 11px/1 var(--font); padding: 2px 5px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
/* ByClaude 04-11-2026 13:50 — rechtermuisknop-menu in de editor */
.ed-ctx { position: fixed; z-index: 3000; min-width: 210px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 25, 35, .18); font-size: 13px; }
.ed-ctx-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border: 0; background: none; border-radius: 6px; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.ed-ctx-item:hover, .ed-ctx-item:focus-visible { background: var(--grey-soft); outline: none; }
.ed-ctx-item .t { flex: 1; }
.ed-ctx-item kbd { font: 600 10.5px/1 var(--font); color: var(--muted); }
.ed-ctx-item .arr { color: var(--muted); }
.ed-ctx-item.danger { color: #B42318; }
.ed-ctx-sep { height: 1px; background: var(--line-soft); margin: 4px 2px; }
.ed-ctx-subwrap { position: relative; }
.ed-ctx-sub { position: absolute; left: 100%; top: -5px; display: none; max-height: 60vh; overflow: auto; }
.ed-ctx-subwrap:hover > .ed-ctx-sub, .ed-ctx-subwrap:focus-within > .ed-ctx-sub { display: block; }
.ed-ctx.flip .ed-ctx-sub { left: auto; right: 100%; }
/* ByClaude 04-11-2026 14:00 — rondleiding en sneltoetsen */
.ed-tour { position: fixed; z-index: 4001; width: 320px; padding: 14px 16px 12px; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(15, 25, 35, .28); }
.ed-tour h3 { font-size: 15.5px; margin: 2px 0 6px; }
.ed-tour p { font-size: 13.5px; color: var(--ink-2, #3b4650); margin: 0 0 12px; line-height: 1.45; }
.ed-tour-step { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.ed-tour-bar { display: flex; gap: 6px; align-items: center; }
.ed-tour-bar .spacer { flex: 1; }
.ed-tour-ring { position: fixed; z-index: 4000; border-radius: 10px; box-shadow: 0 0 0 3px #F2B705, 0 0 0 9999px rgba(15, 25, 35, .45); pointer-events: none; transition: all .2s; }
.ed-help { position: fixed; inset: 0; z-index: 3500; display: grid; place-items: center; background: rgba(15, 25, 35, .4); }
.ed-help-card { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 64px); overflow: auto; background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 16px 40px rgba(15, 25, 35, .28); }
.ed-help-card h2 { font-size: 18px; margin: 0 0 10px; }
.ed-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4px 24px; }
.ed-help-grid h3 { grid-column: 1 / -1; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 10px 0 2px; }
.ed-help-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.ed-help-row kbd { font: 600 11.5px/1.4 var(--font); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
.ed-map.ed-blank { background-color: #fbfbfa; background-image: radial-gradient(#d9dde1 1px, transparent 1px); background-size: 22px 22px; } /* ByClaude 04-11-2026 14:25 — zaal zonder kaart */
/* ByClaude 04-11-2026 14:30 — startkaart in de editor (plattegrond) */
.ed-start-card { position: absolute; z-index: 20; left: 50%; top: 56px; transform: translateX(-50%); width: min(460px, calc(100% - 32px)); padding: 14px 16px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(15, 25, 35, .2); }
.ed-start-card strong { font-size: 15px; }
.ed-start-card p { margin: 4px 0 10px; font-size: 13px; color: var(--muted); }
/* ByClaude 04-11-2026 14:40 — startscherm nieuw ontwerp */
.start-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 600px) { .start-cards { grid-template-columns: 1fr; } }
.start-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; color: var(--ink); transition: border-color .12s, box-shadow .12s; }
.start-card:hover, .start-card:focus-visible { border-color: var(--mod, #24477A); box-shadow: 0 4px 14px rgba(15, 25, 35, .1); outline: none; }
.start-card strong { font-size: 15px; }
.start-card span { font-size: 12.5px; color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink); }
.chip:hover { border-color: var(--mod, #24477A); }
.chip.on { background: var(--mod, #24477A); border-color: var(--mod, #24477A); color: #fff; }
.hit-list { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.hit { text-align: left; padding: 6px 8px; border: 1px solid transparent; border-radius: 6px; background: var(--surface); font: inherit; font-size: 13px; cursor: pointer; }
.hit.on { border-color: var(--mod, #24477A); background: #fff; }
.grow { flex: 1; }
.ed-array summary { cursor: pointer; padding: 2px 0; } /* ByClaude 04-11-2026 14:00 */
/* ByClaude 04-11-2026 15:25 — tabbladen links en paneel Geplaatst */
.ed-lefttabs { display: flex; gap: 2px; margin: 0 0 8px; border-bottom: 1px solid var(--line-soft); }
.ed-lefttabs button { flex: 1; padding: 8px 6px; border: 0; background: none; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; }
.ed-lefttabs button.on { color: var(--ink); border-bottom-color: var(--mod, #24477A); }
.ed-lefttabs .count { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.ed-placed { margin-top: 6px; max-height: calc(100vh - 360px); overflow: auto; }
.ed-placed summary { cursor: pointer; font-weight: 600; font-size: 13px; padding: 6px 2px; }
.ed-placed summary .count { color: var(--muted); font-size: 11.5px; margin-left: 4px; }
.ed-placed-row { display: flex; align-items: center; gap: 2px; border-radius: 6px; }
.ed-placed-row:hover { background: var(--grey-soft); }
.ed-placed-row.on { background: var(--signal-soft); }
.ed-placed-row.off .nm { opacity: .45; text-decoration: line-through; }
.ed-placed-row .nm { flex: 1; min-width: 0; text-align: left; border: 0; background: none; font: inherit; font-size: 13px; padding: 5px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; color: var(--ink); }
.ed-placed-row input { flex: 1; }
.chip-mini { display: inline-block; font-size: 10.5px; padding: 0 5px; border-radius: 8px; background: var(--mod-soft, #e6ecf5); color: var(--mod, #24477A); margin-left: 4px; vertical-align: 1px; }
.ed-static { padding: 7px 2px; font-weight: 600; font-size: 13.5px; } /* ByClaude 04-11-2026 15:35 */
.ed-unread { border-color: #E0119D !important; color: #B00C7B !important; } /* ByClaude 04-11-2026 16:05 */
.ed-unread .badge-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: #E0119D; color: #fff; font-size: 11px; font-weight: 700; padding: 0 5px; }
.lib-img-prev { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; } /* ByClaude 04-11-2026 16:15 */

/* ByClaude 04-11-2026 17:30 — keuzeknoppen (soort evenement e.d.) met een zachte merkkleur, zodat ze opvallen als knop */
.chip-row .chip { background: var(--mod-soft, #e6ecf5); border-color: color-mix(in srgb, var(--mod, #24477A) 28%, transparent); color: var(--mod, #24477A); font-weight: 500; transition: background .12s, border-color .12s, box-shadow .12s; }
.chip-row .chip:hover { background: color-mix(in srgb, var(--mod, #24477A) 16%, #fff); border-color: var(--mod, #24477A); }
.chip-row .chip.on { background: var(--mod, #24477A); border-color: var(--mod, #24477A); color: #fff; box-shadow: 0 1px 3px color-mix(in srgb, var(--mod, #24477A) 40%, transparent); }
.chip-row .chip.on::before { content: "✓ "; }

/* ByClaude 04-11-2026 17:50 — help-paneel (rechts, je kunt doorwerken) en 'Laat zien waar' */
.help-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); z-index: 1040; background: var(--surface, #fff); border-left: 1px solid var(--line); box-shadow: -12px 0 32px rgba(23, 33, 42, .14); display: flex; flex-direction: column; animation: help-in .18s ease-out; }
@keyframes help-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.help-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px 16px 8px; border-bottom: 1px solid var(--line-soft); }
.help-head h2 { margin: 2px 0 0; font-size: 20px; }
.help-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mod, #0E5A4C); }
.help-search { display: flex; align-items: center; gap: 8px; margin: 10px 16px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2, #FAFAF8); color: var(--muted); }
.help-search input { flex: 1; border: 0; background: transparent; padding: 9px 0; font: inherit; font-size: 14px; color: var(--ink); outline: none; }
.help-search:focus-within { border-color: var(--mod, #0E5A4C); box-shadow: 0 0 0 3px var(--mod-soft); }
.help-body { flex: 1; overflow-y: auto; padding: 4px 16px 24px; font-size: 14px; }
.help-intro { margin: 6px 0 12px; color: var(--ink-2); }
.help-topic { border: 1px solid var(--line-soft); border-radius: 10px; margin-bottom: 8px; background: var(--surface); }
.help-topic > summary { cursor: pointer; padding: 10px 12px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.help-topic > summary::-webkit-details-marker { display: none; }
.help-topic > summary::after { content: "›"; color: var(--muted); font-size: 18px; transition: transform .15s; }
.help-topic[open] > summary::after { transform: rotate(90deg); }
.help-topic[open] > summary { color: var(--mod, #0E5A4C); }
.help-topic ol { margin: 0; padding: 0 14px 8px 32px; display: flex; flex-direction: column; gap: 5px; }
.help-topic > p { margin: 0; padding: 0 12px 10px; color: var(--ink-2); }
.help-topic.faq > summary { font-weight: 500; }
.help-tip { display: flex; gap: 6px; align-items: flex-start; margin: 4px 12px 10px; padding: 8px 10px; border-radius: 8px; background: var(--mod-soft); color: var(--ink-2); font-size: 13px; }
.help-tip.warn { background: #FFF4D6; margin: 8px 0; }
.help-show { margin: 0 12px 12px; }
.help-h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 8px; }
.help-pages { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-link { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.chip-link:hover { border-color: var(--mod); color: var(--mod); }
.help-hit { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; border: 1px solid var(--line-soft); border-radius: 10px; padding: 9px 12px; margin-bottom: 6px; background: var(--surface); font: inherit; cursor: pointer; }
.help-hit:hover { border-color: var(--mod); }
.help-hit-page { font-size: 11.5px; color: var(--mod); font-weight: 600; }
.help-foot { margin-top: 18px; }
.help-flash { outline: 3px solid var(--signal, #F2B705) !important; outline-offset: 2px; border-radius: 8px; animation: help-pulse .65s ease-in-out 4; position: relative; z-index: 5; }
@keyframes help-pulse { 50% { outline-color: transparent; box-shadow: 0 0 0 8px rgba(242, 183, 5, .25); } }
@media (max-width: 640px) { .help-panel { width: 100vw; } }
/* ByClaude 04-11-2026 18:05 — met help open schuift de pagina opzij, zodat knoppen zichtbaar blijven */
@media (min-width: 900px) { body.help-open .main, body.help-open .public-main, body.help-open .public-top { margin-right: min(430px, 100vw); transition: margin-right .18s; } }
@media (min-width: 900px) { body.help-open .topbar-title > .muted, body.help-open .topbar-date { display: none; } body.help-open .topbar-title { white-space: nowrap; overflow: hidden; min-width: 0; } } /* ByClaude 04-11-2026 18:10 */

/* ======================================================================================
   ByClaude 04-11-2026 19:00 — compactere opmaak: kleinere tekst, lagere knoppen en velden,
   minder witruimte; de editor krijgt zo ±15–20% meer kaart.
   ====================================================================================== */
:root { --topbar-h: 48px; --space-5: 18px; --space-6: 22px; --ed-left: 250px; --ed-right: 300px; }
body { font-size: 13.5px; }
h1 { font-size: 23px; }
.page-head { margin-bottom: 14px; }
.page-head .subtitle { font-size: 13.5px; margin-top: 4px; }
.btn, .btn-signal, .btn-primary, .btn-quiet, .btn-danger { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-sm { height: 28px; padding: 0 8px; font-size: 12.5px; }
.btn-lg { height: 40px; }
.topbar { padding: 0 16px; gap: 12px; }
.topbar-end { gap: 8px; }
.topbar-title strong { font-size: 14.5px; }
.topbar-title > .muted { font-size: 12px; }
.field label { font-size: 12px; margin-bottom: 2px; }
.form-grid { gap: 10px 14px; }
.panel-head { padding-top: 10px; padding-bottom: 10px; }
.dxbl-grid { --dxbl-grid-font-size: 13px; }
.dxbl-grid .dxbl-grid-header-row > th { padding: 6px 8px !important; }

/* editor */
.ed-bar { gap: 6px; padding: 5px 8px; }
.ed-bar .btn-sm, .ed-bar .btn-quiet.btn-sm { height: 28px; }
.ed-input { height: 28px; font-size: 12.5px; padding: 0 6px; }
.ed-seg button { height: 28px; padding: 0 10px; font-size: 12.5px; }
.ed-left, .ed-right { padding: 6px 10px 12px; font-size: 12.5px; }
.ed-sec-head { margin: 4px 0 6px; }
.ed-lefttabs { margin-bottom: 6px; }
.ed-lefttabs button { padding: 6px 4px; font-size: 12.5px; }
.ed-pal { margin: 6px 0 10px; gap: 0; }
.ed-pal summary { padding: 4px 4px; font-size: 12.5px; }
.ed-pal-item { padding: 3px 6px; font-size: 12.5px; gap: 6px; }
.ed-pal-row .ed-pal-item { grid-template-columns: 22px minmax(0, 1fr) auto; padding: 2px 4px; }
.ed-pal-row .ed-pal-item img { width: 22px; height: 22px; }
.ed-layer { padding: 1px 2px 1px 6px; font-size: 12.5px; }
.ed-layer .ed-icon, .ed-icon { width: 22px; height: 22px; }
.ed-right .field { margin-bottom: 6px; }
.ed-right .facts, .ed-left .facts { font-size: 12px; }
.ed-right dl.facts dt, .ed-right dl.facts dd { margin-bottom: 1px; }
.ed-row2 { gap: 6px; }
.ed-right .hint, .ed-left .hint { font-size: 11.5px; }
.ed-status { font-size: 12px; padding: 4px 10px; }
.ed-sub { padding: 6px 8px; }
.ed-right .dxbl-text-edit, .ed-left .dxbl-text-edit { font-size: 12.5px; }
/* ByClaude 04-11-2026 19:10 — aantal geselecteerd op de kaart */
.ed-selcount { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); z-index: 6; background: var(--mod, #0E5A4C); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.18); pointer-events: none; white-space: nowrap; }
/* ByClaude 04-11-2026 23:55 — CAD importeren in de kop van de bibliotheek */
.ed-sec-head .ed-cad-import { margin-left: auto; margin-right: 10px; cursor: pointer; color: var(--accent, #2F63C8); }
.ed-sec-head .ed-cad-import:hover { text-decoration: underline; }

/* ByClaude 05-11-2026 02:55 — menupuntje bij een selectie */
.ed-menudot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: 0 2px 8px rgba(15,25,35,.25);
  display: inline-flex; align-items: center; justify-content: center; gap: 2px; padding: 0; cursor: pointer; }
.ed-menudot span { width: 4px; height: 4px; border-radius: 50%; background: #17212A; }
.ed-menudot:hover { background: var(--signal, #F2B705); border-color: #C99700; }
/* ByClaude 05-11-2026 03:00 — bezig-kaart (CAD inlezen) */
.ed-busy-card { display: flex; gap: 12px; align-items: flex-start; }
.ed-busy-card p { margin: 4px 0 0; }
.ed-spinner { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line, #dfe3e7); border-top-color: var(--signal, #F2B705); animation: ed-spin .8s linear infinite; margin-top: 2px; }
@keyframes ed-spin { to { transform: rotate(360deg); } }
/* ByClaude 05-11-2026 03:55 — kalibreren: invulveld bij de lijn */
.ed-cal-pop { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(15,25,35,.2); padding: 10px 12px; min-width: 240px; }
.ed-cal-pop .row { display: flex; gap: 6px; margin-top: 4px; align-items: center; }
.ed-cal-pop input { width: 90px; }
.ed-cal-pop input.invalid { border-color: #C0392B; }

/* ByClaude 05-11-2026 02:40 — tekstje bij de muis tijdens 'Stuk weghalen' */
.ed-cut-tip { background: rgba(31,41,51,.92); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
