/* Snowtravel Dashboard – huisstijl gebaseerd op snowtravel.be (Montserrat, marineblauw #05478D, hemelsblauw #04A7DC). */

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --navy: #05478d;
    --navy-dark: #04366b;
    --sky: #04a7dc;
    --sky-soft: #e6f6fc;
    --ink: #222328;
    --muted: #5f6672;
    --line: #dfe6ef;
    --bg: #f6faff;
    --surface: #ffffff;
    --ok: #1e7d4f;
    --warn: #c2410c;
    --bad: #c62828;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(5, 71, 141, .06), 0 4px 16px rgba(5, 71, 141, .05);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 450 15px/1.55 "Montserrat", "Segoe UI", Arial, sans-serif; background: var(--bg); color: var(--ink); }
a { color: var(--navy); }
a:hover { color: var(--sky); }
h1 { font-size: 26px; font-weight: 700; color: var(--navy); margin: 0 0 4px; letter-spacing: -.01em; }
h2 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; }
code { font-family: Consolas, "Cascadia Mono", monospace; background: #eef3f9; padding: .1em .35em; border-radius: 4px; font-size: .88em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[hidden] { display: none !important; }

/* ---------- kop en navigatie ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-inner { max-width: 1320px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { display: block; height: 27px; width: auto; }
.brand-sub { font-weight: 700; color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; padding-left: 12px; border-left: 2px solid var(--line); }
.user { display: flex; align-items: center; gap: 12px; }
.user-name { text-decoration: none; font-weight: 600; color: var(--ink); }
.mainnav { background: var(--navy); }
.mainnav-inner { max-width: 1320px; margin: 0 auto; padding: 0 16px; display: flex; flex-wrap: wrap; gap: 2px; align-items: stretch; }
.mainnav a { color: #dce9f7; text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 14px; border-bottom: 3px solid transparent; white-space: nowrap; }
.mainnav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.mainnav a.active { color: #fff; border-bottom-color: var(--sky); }
/* v2.5.1: menu in groepen (uitklapmenu's), zodat het op elk scherm op één regel past */
.nav-group { position: relative; display: flex; }
.nav-group.nav-right { margin-left: auto; }
.nav-group-btn { background: none; border: 0; border-bottom: 3px solid transparent; color: #dce9f7; font: inherit; font-weight: 600; font-size: 14px; padding: 12px 14px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.nav-group-btn::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .15s; }
.nav-group.open .nav-group-btn::after { transform: rotate(-135deg); margin-top: 3px; }
.nav-group-btn:hover, .nav-group.open .nav-group-btn { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-group-btn.active { color: #fff; border-bottom-color: var(--sky); }
.nav-group-btn:focus-visible, .mainnav a:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 10px 28px rgba(5, 71, 141, .18); padding: 6px; z-index: 30; flex-direction: column; }
.nav-right .nav-menu { left: auto; right: 0; }
.nav-group.open .nav-menu { display: flex; }
.mainnav .nav-menu a { color: var(--ink); border-bottom: 0; border-left: 3px solid transparent; border-radius: 6px; padding: 9px 12px; }
.mainnav .nav-menu a:hover { background: var(--sky-soft); color: var(--navy); }
.mainnav .nav-menu a.active { color: var(--navy); background: var(--sky-soft); border-left-color: var(--sky); }
/* groep met maar één toegelaten scherm: gewoon als link tonen */
.nav-group.single .nav-group-btn { display: none; }
.nav-group.single .nav-menu { display: flex; position: static; background: none; border: 0; box-shadow: none; padding: 0; min-width: 0; }
.mainnav .nav-group.single .nav-menu a { color: #dce9f7; border-left: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 12px 14px; }
.mainnav .nav-group.single .nav-menu a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.mainnav .nav-group.single .nav-menu a.active { color: #fff; background: none; border-bottom-color: var(--sky); }

.container { max-width: 1320px; margin: 0 auto; padding: 24px; }
.footer { max-width: 1320px; margin: 0 auto; padding: 12px 24px 32px; color: var(--muted); font-size: 12px; }

/* ---------- knoppen en formulieren ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
       color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn:hover { border-color: var(--sky); color: var(--navy); }
.btn:focus-visible, select:focus-visible, input:focus-visible, .sort:focus-visible { outline: 3px solid rgba(4, 167, 220, .45); outline-offset: 1px; }
.btn-primary { background: var(--sky); border-color: var(--sky); color: #fff; }
.btn-primary:hover { background: #0390bd; border-color: #0390bd; color: #fff; }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.small { padding: 5px 12px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: default; }
.inline { display: inline; }
label { display: block; margin: .9rem 0 .3rem; font-weight: 600; }
label.checkbox { font-weight: 450; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input[type=tel], input:not([type]), select, .settings-form textarea, .job-form textarea, .rc-ch-form textarea {
    width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; color: var(--ink);
}
.card form .btn { margin-top: 1rem; }
td .btn, .actions .btn { margin-top: 0; }

/* ---------- kaarten en raster ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card.narrow { max-width: 460px; margin: 3rem auto; }
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.blocks .card { margin: 0; min-width: 0; }
.block-full { grid-column: 1 / -1; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; min-height: 30px; }
.block-tools { display: flex; gap: 6px; }
.block-note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.chart-wrap { position: relative; height: 280px; }
.block-full .chart-wrap { height: 320px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 20px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.tile-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.tile-value { font-size: 22px; font-weight: 700; margin: .25rem 0; }
.tile-value.small { font-size: 15px; }
.tile-value.ok { color: var(--ok); }
.tile-value.bad { color: var(--bad); }

/* ---------- dashboard ---------- */
.page-toolbar { float: right; display: flex; gap: 8px; margin-top: 4px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.page-sub { margin: 0; color: var(--muted); }
.page-meta { color: var(--muted); font-size: 13px; white-space: nowrap; }
.dashboard.is-loading { opacity: .55; transition: opacity .15s; }
.loading-text { padding: 40px 0; }

.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
           padding: 14px 16px; margin-bottom: 20px; box-shadow: var(--shadow); }
.filter { margin: 0; min-width: 150px; flex: 0 1 190px; }
.filter-label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.filter select, .filter input { padding: 7px 10px; font-size: 14px; }
.filter-range { display: flex; gap: 10px; }
.filter-actions { display: flex; gap: 8px; margin-left: auto; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--sky); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.kpi-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.kpi-value { font-size: 26px; font-weight: 700; color: var(--navy); margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.kpi-hint { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.kpi-warn { border-top-color: var(--warn); }
.kpi-warn .kpi-value { color: var(--warn); }

.notes { margin: 8px 0 24px; color: var(--muted); font-size: 13px; }
.notes h2 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.notes ul { margin: 6px 0 0; padding-left: 18px; }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); margin-bottom: 20px; }

/* ---------- tabellen ---------- */
.table-search { max-width: 280px; margin-bottom: 10px; padding: 7px 10px; font-size: 14px; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; background: #fafcff; }
.dashboard .table td { white-space: nowrap; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tbody tr:hover td { background: var(--sky-soft); }
.table tfoot td { font-weight: 700; border-top: 2px solid var(--line); border-bottom: 0; }
.sort { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
th[aria-sort=ascending] .sort::after { content: " ▲"; color: var(--sky); }
th[aria-sort=descending] .sort::after { content: " ▼"; color: var(--sky); }
.pager { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; }
.actions { white-space: nowrap; }
.actions > * { margin-right: .35rem; }

/* ---------- status en meldingen ---------- */
.badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef3f9; }
.badge-succeeded { background: #e3f4ea; color: var(--ok); }
.badge-failed { background: #fdecea; color: var(--bad); }
.badge-running, .badge-queued { background: var(--sky-soft); color: var(--navy); }
.badge-cancelled { background: #fdf3dc; color: #8a5a00; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.alert-ok { background: #e3f4ea; color: #134d31; }
.alert-error { background: #fdecea; color: #7a1a14; }
.alert ul { margin: 0; padding-left: 1.1rem; }
.field-error { color: var(--bad); font-size: 13px; }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.status-list li:last-child { border-bottom: 0; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); display: inline-block; }
.status-list .bad .status-dot { background: var(--bad); }

/* ---------- instellingen ---------- */
.label-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.label-group { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px 14px; margin: 0; }
.label-group legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.label-row { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; margin-top: 8px; }
.label-row input { padding: 6px 10px; }

/* ---------- overige ---------- */
.qr { display: block; margin: 1rem auto; background: #fff; }
.log { list-style: none; padding: 0; margin: 0; font: 13px/1.6 Consolas, monospace; max-height: 480px; overflow: auto; }
.log time { color: var(--muted); margin-right: .5rem; }
.log-warning { color: #8a5a00; }
.log-error { color: var(--bad); white-space: pre-wrap; }

@media (max-width: 960px) {
    .blocks { grid-template-columns: minmax(0, 1fr); }
    .page-toolbar { float: none; margin-bottom: 12px; }
    .filter-actions { margin-left: 0; }
    .topbar-inner { padding: 10px 16px; }
    .container { padding: 16px; }
}

@media (max-width: 600px) {
    .user-name, .brand-sub { display: none; }
    .brand img { height: 22px; }
    .page-head { flex-direction: column; align-items: flex-start; }
    .filter { flex: 1 1 100%; }
    .mainnav-inner { padding: 0 6px; }
    .mainnav a, .nav-group-btn { padding: 10px 9px; font-size: 13px; }
    .nav-menu { position: fixed; top: auto; left: 8px; right: 8px; min-width: 0; }
}

@media print {
    @page { size: A4 portrait; margin: 12mm; }
    body { background: #fff; font-size: 11px; }
    .topbar { position: static; }
    .mainnav, .user, .page-toolbar, .filters .filter-actions, .block-tools, .pager, .table-search, .footer { display: none !important; }
    .filters { box-shadow: none; }
    .filters select { border: 0; padding: 0; appearance: none; font-weight: 700; }
    .card, .kpi { box-shadow: none; break-inside: avoid; }
    .container { max-width: none; padding: 0; }
}

/* ---------- subfolder-versie (SPA) ---------- */
.mainnav a { cursor: pointer; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.qr-box { display: flex; justify-content: center; margin: 16px 0; }
.qr-box svg { width: 220px; height: 220px; }
.secret { font-family: Consolas, monospace; letter-spacing: .12em; background: #eef3f9; padding: 6px 10px; border-radius: 6px; display: inline-block; word-break: break-all; }
.form-actions { display: flex; gap: 8px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.form-actions .btn { margin-top: 0; }
.field-hint { color: var(--muted); font-size: 13px; margin-top: 4px; }
.temp-password { font-family: Consolas, monospace; font-size: 18px; background: #fff; padding: 4px 10px; border-radius: 6px; border: 1px dashed var(--line); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 8px; box-shadow: var(--shadow); z-index: 80; max-width: min(560px, calc(100vw - 32px)); text-align: center; }   /* v2.16: onderaan in het midden, boven de Snowie-knop */
.toast.error { background: var(--bad); }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form select { width: auto; padding: 5px 8px; font-size: 13px; }
.cron-examples { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; }
.checkbox-row input { width: auto; }
.warn-box { background: #fff4e5; border: 1px solid #f3c78b; color: #6b3d00; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }

/* ------------------------------------------------------------------ v2.1: drilldown */
.table-block.has-links .row-link { cursor: pointer; }
.row-link:hover td, .row-link:focus td { background: #eef6fc; }
.row-link:focus { outline: 2px solid var(--sky, #04A7DC); outline-offset: -2px; }
.row-link td:first-child { color: var(--navy, #05478D); font-weight: 600; }
.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 .25rem; font-size: .9rem; }
.crumbs a { color: var(--navy, #05478D); text-decoration: none; }
.crumbs a::before { content: "← "; }
.crumbs a:hover { text-decoration: underline; }
.fields { display: grid; grid-template-columns: minmax(8rem, 40%) minmax(0, 1fr); gap: .35rem 1rem; margin: 0; }
.fields dt { color: #5f6672; font-size: .9rem; }
.fields dd { margin: 0; overflow-wrap: anywhere; }
.fields dd a { color: var(--navy, #05478D); font-weight: 600; }
.badge-changed { margin-left: .5rem; background: #fff4d6; color: #7a5300; }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0, 1fr); } .fields dt { margin-top: .4rem; } }

/* ------------------------------------------------------------------ v2.2: Snowie, de chat-assistent */
.snowie-launcher {
    position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: .5rem;
    padding: 6px 16px 6px 6px; border: 0; border-radius: 999px; background: var(--navy); color: #fff;
    font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 20px rgba(5, 71, 141, .35);
    transition: transform .15s ease, background .15s ease;
}
.snowie-launcher:hover { background: var(--navy-dark); transform: translateY(-2px); }
.snowie-launcher:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.snowie-launcher img { width: 52px; height: auto; background: #fff; border-radius: 50%; padding: 3px; }
.snowie.is-open .snowie-launcher { display: none; }
.snowie-panel {
    position: fixed; right: 20px; bottom: 20px; z-index: 61; width: 410px; max-width: calc(100vw - 24px);
    height: min(640px, calc(100vh - 110px)); display: flex; flex-direction: column;
    background: var(--surface); border-radius: 16px; box-shadow: 0 12px 40px rgba(5, 71, 141, .28); border: 1px solid var(--line);
}
.snowie-panel[hidden] { display: none; }
.snowie-peek { position: absolute; top: -62px; left: 14px; width: 120px; height: auto; pointer-events: none; }
.snowie-head {
    display: flex; align-items: flex-start; gap: .25rem; padding: 26px 12px 12px 18px;
    background: linear-gradient(135deg, var(--navy), var(--sky)); color: #fff; border-radius: 16px 16px 0 0;
}
.snowie-head > div { flex: 1; padding-left: 124px; min-height: 30px; }
.snowie-head h2 { margin: 0; font-size: 1.15rem; color: #fff; }
.snowie-head p { margin: 2px 0 0; font-size: .8rem; opacity: .92; }
.snowie-icon { border: 0; background: rgba(255,255,255,.16); color: #fff; width: 32px; height: 32px; border-radius: 8px; font-size: 1.1rem; cursor: pointer; }
.snowie-icon:hover, .snowie-icon:focus-visible { background: rgba(255,255,255,.3); }
.snowie-log { flex: 1; overflow-y: auto; padding: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.snowie-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
.snowie-msg.user { justify-content: flex-end; }
.snowie-avatar { width: 34px; height: auto; flex: none; }
.snowie-bubble { padding: 9px 12px; border-radius: 14px; font-size: .92rem; line-height: 1.45; max-width: 86%; overflow-wrap: anywhere; min-width: 0; }
.snowie-msg.assistant .snowie-bubble { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.snowie-msg.user .snowie-bubble { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.snowie-msg.error .snowie-bubble { background: #fff4f2; border-color: #f3c7bf; }
.snowie-bubble p { margin: 0 0 .5em; } .snowie-bubble p:last-child { margin-bottom: 0; }
.snowie-bubble ul, .snowie-bubble ol { margin: .2em 0 .6em; padding-left: 1.2em; }
.snowie-bubble .snowie-h { font-weight: 700; color: var(--navy); }
.snowie-bubble code { background: var(--sky-soft); padding: 0 4px; border-radius: 4px; }
.snowie-bubble a { color: var(--navy); font-weight: 600; }
.snowie-table { overflow-x: auto; margin: .3em 0 .6em; }
.snowie-table table { border-collapse: collapse; font-size: .82rem; width: 100%; }
.snowie-table th, .snowie-table td { border-bottom: 1px solid var(--line); padding: 4px 6px; text-align: left; white-space: nowrap; }
.snowie-table th { color: var(--muted); font-weight: 600; }
.snowie-typing span { animation: snowie-dot 1.2s infinite; }
.snowie-typing span:nth-child(2) { animation-delay: .2s; } .snowie-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes snowie-dot { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
.snowie-intro { display: flex; gap: 10px; align-items: flex-end; }
.snowie-intro img { width: 92px; height: auto; flex: none; }
.snowie-intro p { margin: 0 0 .4em; font-size: .92rem; }
.snowie-hello { font-weight: 700; color: var(--navy); font-size: 1.05rem !important; }
.snowie-chips { display: flex; flex-direction: column; gap: 6px; }
.snowie-chip { text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--navy); border-radius: 12px; padding: 7px 10px; font: inherit; font-size: .85rem; cursor: pointer; }
.snowie-chip:hover, .snowie-chip:focus-visible { border-color: var(--sky); background: var(--sky-soft); }
.snowie-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.snowie-form textarea { flex: 1; resize: none; font: inherit; font-size: .92rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.snowie-form textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
.snowie-foot { margin: 0; padding: 0 12px 10px; font-size: .72rem; color: var(--muted); }
.snowie-settings-body { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.snowie-settings-body > img { width: 90px; height: auto; }
.snowie-settings-body form { flex: 1 1 320px; max-width: 460px; }
.snowie-settings-info { flex: 1 1 240px; font-size: .92rem; }
label.check { display: flex; gap: .4rem; align-items: center; font-weight: 600; margin-bottom: .6rem; }
@media (max-width: 640px) {
    .snowie-launcher { right: 12px; bottom: 12px; padding-right: 6px; }
    .snowie-launcher-label { display: none; }
    .snowie-panel { inset: 0; width: auto; max-width: none; height: auto; border-radius: 0; }
    .snowie-head { border-radius: 0; padding-top: 12px; }
    .snowie-peek { display: none; }
    .snowie-head > div { padding-left: 0; }
}
@media print { .snowie { display: none; } }

/* ---------- Synchronisatie (Bewotec) ---------- */
.grid-tight { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; }
.grid-tight .tile { padding: 12px 14px; }
.grid-tight .tile-value { font-size: 20px; }
.badge-warning { background: #fff4e5; color: var(--warn); }
.badge-sim { margin-left: .4rem; background: #eef1f6; color: var(--muted); }
.badge-off { background: #eef1f6; color: var(--muted); }
.badge-act-nieuw { background: #e3f4ea; color: var(--ok); }
.badge-act-gewijzigd, .badge-act-vervangen { background: var(--sky-soft); color: var(--navy); }
.badge-act-verplaatst { background: #fff4e5; color: var(--warn); }
.badge-act-fout { background: #fdecea; color: var(--bad); }
.badge-act-ongewijzigd { background: #eef1f6; color: var(--muted); }
.sync-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sync-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; min-width: 0; }
.sync-box h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }
.sync-box p { margin: 0 0 10px; font-size: 13px; flex: 1; }
.sync-box select, .sync-box input[type=text] { width: 100%; }
.sync-box .form-actions { margin-top: 8px; }
.checkbox-row.small { margin-top: 8px; font-weight: 500; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 12px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.chip:hover { border-color: var(--sky); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.small { padding: 2px 8px; font-size: 12px; font-family: Consolas, monospace; }
.chip-search { margin-left: auto; min-width: 220px; max-width: 320px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 6px 0 10px 44px; border-left: 2px solid var(--line); margin-left: 14px; }
.steps li:last-child { border-left-color: transparent; }
.step-nr { position: absolute; left: -15px; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--sky-soft); color: var(--navy); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.step-detail { font-size: 13px; color: var(--muted); word-break: break-word; }
ul.changes { margin: 4px 0 0; padding-left: 18px; color: var(--muted); }
.warn-list { margin: 0; padding-left: 18px; font-size: 14px; max-height: 420px; overflow: auto; }
.warn-list li { margin: 2px 0; }
.warn-error { color: var(--bad); }
.warn-warning { color: #8a5a00; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row > div { flex: 1 1 160px; min-width: 0; }
.form-row > div.grow { flex: 3 1 240px; }
.settings-form textarea, .job-form textarea { width: 100%; }
textarea.mono { font: 13px/1.5 Consolas, monospace; }
.mail-preview iframe { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 8px; background: #fff; margin-top: 8px; }
.mail-subject { font-weight: 600; margin-top: 12px; }
.settings-form .form-actions input[type=email] { width: auto; min-width: 220px; }
@media (max-width: 640px) { .chip-search { margin-left: 0; min-width: 0; width: 100%; max-width: none; } }

/* ---------- v2.4: met / zonder clubformule ---------- */
.kpi-split { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.kpi-part { display: inline-flex; gap: 6px; align-items: baseline; padding: 2px 8px; border-radius: 999px; font-size: 12px; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.kpi-part:hover { border-color: var(--sky); }
.kpi-part-label { color: var(--muted); }
.kpi-part-value { font-weight: 600; }
.kpi-part-ncf { border-color: #f3c58a; background: #fff8ee; }
.badge-formule-cf { background: var(--sky-soft); color: var(--navy); }
.badge-formule-ncf { background: #fff4e5; color: #8a5a00; }
.formule-split { grid-column: 1 / -1; }
.formule-table { margin: 0; }
.formule-table tr.total th, .formule-table tr.total td { font-weight: 700; border-top: 2px solid var(--line); }
.chip-formule { width: auto; margin-left: auto; }
.chip-formule + .chip-search { margin-left: 8px; }

/* ---------- v2.5: rollen, reizen en reislijsten ---------- */
.center { text-align: center; }
.btn.danger { color: var(--bad); border-color: #f1c4c4; }
.btn.danger:hover { background: #fdecec; }
.btn.icon { padding: 3px 8px; min-width: 28px; justify-content: center; }
.strong { font-weight: 700; }
.role-matrix td, .role-matrix th { vertical-align: middle; }
.role-matrix th.center { min-width: 110px; }
.role-matrix input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--navy); }
.role-matrix td.actions { display: table-cell; white-space: normal; }
.role-matrix td.actions .btn { margin: 2px; }
.table tr.group-row td { background: var(--sky-soft); color: var(--navy); font-weight: 700; font-size: 13px; }
.list-picker { align-items: center; flex-wrap: wrap; gap: 8px; }
.list-picker select { min-width: 260px; flex: 0 1 auto; }
.list-trip { margin-top: 18px; }
.list-trip-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.list-logo { height: 46px; width: auto; flex: none; }
.list-trip h3 { margin: 0; font-size: 15px; color: var(--navy); }
.list-table td, .list-table th { padding: 5px 10px; font-size: 13px; }
.table tr.group-row.group-begeleiders td { background: #fff4e0; color: #8a5300; }
.tick-box { display: inline-block; width: 12px; height: 12px; border: 1px solid #8a94a3; border-radius: 2px; }
.list-editor { display: grid; grid-template-columns: minmax(240px, 1fr) 3fr; gap: 16px; align-items: start; }
.list-index { list-style: none; margin: 8px 0; padding: 0; }
.list-index li { padding: 8px 10px; border-radius: 8px; display: flex; flex-direction: column; }
.list-index li.active { background: var(--sky-soft); }
.list-index li a { font-weight: 600; text-decoration: none; }
.field-chooser { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.chosen-fields { margin: 0; padding-left: 22px; }
.chosen-fields li { display: flex; align-items: center; gap: 4px; padding: 3px 0; }
.chosen-fields li span { flex: 1; font-weight: 600; }
.avail-group { margin-bottom: 8px; }
.avail-group strong { display: block; color: var(--muted); margin-bottom: 2px; }
.avail-group .chip { margin: 2px 4px 2px 0; }
.sort-row > div { display: flex; flex-direction: column; }
@media (max-width: 900px) { .list-editor, .field-chooser { grid-template-columns: 1fr; } }
@media print { .trip-lists .list-picker, .trip-lists .block-head .btn { display: none; } }

/* ---------- v2.5.3: datumveld dd/mm/jjjj met kalenderknop ---------- */
.date-field { position: relative; display: inline-flex; align-items: stretch; width: 100%; max-width: 190px; }
.date-field input[type=text] { flex: 1; min-width: 0; padding-right: 36px; font-variant-numeric: tabular-nums; }
.date-field input[type=text]:invalid { border-color: var(--bad); }
.date-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305478d' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 18px; }
.date-btn:hover { background-color: var(--sky-soft); }
.date-picker-native { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.filter label.filter-label { margin: 0 0 4px; }
.filter .date-field { max-width: none; }

/* ---------- v2.6: startpagina en werkingsjaren per rol ---------- */
.season-choice .check { display: flex; align-items: center; gap: 6px; margin: 4px 0; font-weight: 400; }
.season-list { margin: 4px 0 0 24px; }
.season-list.disabled { opacity: .5; }
#f-home { min-width: 240px; }
.computed-example { background: var(--sky-soft); color: var(--navy); border-radius: 8px; padding: 8px 12px; font-weight: 600; }
.computed-form .form-row > div { display: flex; flex-direction: column; min-width: 160px; }
.list-editor .form-actions { margin-bottom: 20px; }
.chosen-fields li .field-head { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chosen-fields li .field-name { font-weight: 600; font-size: 12px; color: var(--muted); }
.chosen-fields li .header-input { padding: 5px 8px; font-size: 14px; }
.field-chooser { grid-template-columns: minmax(300px, 1.3fr) 2fr; }
@media (max-width: 900px) { .field-chooser { grid-template-columns: 1fr; } .chosen-fields li { flex-wrap: wrap; } }

/* ---------- v2.6.2: monitoren in Snowtravel-blauw, uitlijning, voorwaarden ---------- */
.table tr.group-row.group-begeleiders td { background: #0095da; color: #fff; }
.list-table tr.row-begeleider td { color: #0095da; }
.list-table td.num, .list-table th.num { text-align: right; }
.field-head-row { display: flex; gap: 6px; }
.field-head-row .header-input { flex: 1; min-width: 0; }
.align-select { width: auto; padding: 5px 6px; font-size: 13px; }
.conditions { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-top: 14px; }
.cond-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.cond-row select, .cond-row input { width: auto; flex: 1 1 140px; min-width: 0; }
.numbering-row { align-items: flex-end; gap: 16px; }
.list-empty { background: var(--sky-soft); border-radius: 8px; padding: 12px 14px; color: var(--navy); font-weight: 600; }
.extra-columns { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-top: 14px; }
.list-table td.num .tick-box { margin-left: auto; display: block; width: 12px; }
/* v2.6.4: lange tekst loopt terug binnen de kolom, alles bovenaan uitgelijnd */
.list-preview .list-table td { white-space: normal; vertical-align: top; overflow-wrap: anywhere; max-width: 320px; }
.list-table th { vertical-align: bottom; }
.sync-export { align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.sync-export > div { display: flex; flex-direction: column; }

/* ---------- v2.7: Kamerbeheer CF ---------- */
.alert-warn { background: #fff4e5; border: 1px solid #f5c98a; color: #7a4a00; }
.kamer-filters .filter-dates { flex: 0 1 300px; }
.kamer-filters .filter-range .date-field { flex: 1 1 0; min-width: 0; }
.kamer-tools { margin: 0 0 14px; }
.th-sort { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; white-space: nowrap; }
.th-sort:hover, .th-sort:focus-visible { color: var(--navy); text-decoration: underline; }
.kamer-table td { white-space: nowrap; }
.kamer-table td .badge { margin-left: 6px; }
.kamer-table td.actions { white-space: nowrap; }
.kamer-table td.actions { width: 1%; }
.kamer-table td.actions .btn { margin-right: 3px; padding: 2px 7px; min-width: 30px; }
.kamer-table td.actions .k-del:hover, .kamer-table td.actions .k-del:focus-visible { background: var(--bad); border-color: var(--bad); color: #fff; }
.kamer-trips td.neg { color: var(--bad); font-weight: 700; }
.kamer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 18px; }
.kamer-field label { margin-top: 8px; }
.kamer-field .date-field { max-width: none; }
.kamer-field .field-hint { margin: 2px 0 0; }
.kamer-ro { padding: 8px 0; color: var(--muted); }
.kamer-del-what { font-weight: 700; }
.kamer-editor .card { border-top: 3px solid var(--sky); }
@media (max-width: 640px) { .kamer-filters .filter-dates { flex: 1 1 100%; } }

/* ---------- v2.7: Snowie – vragen en antwoorden ---------- */
.snowie-qa-log { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.snowie-qa-log h3 { margin: 0 0 10px; }
.snowie-log-filters { box-shadow: none; }
.snowie-log-filters .filter .date-field { max-width: none; }
.snowie-qa { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px; background: var(--surface); }
.snowie-qa-head { font-size: 13.5px; margin-bottom: 8px; }
.snowie-q, .snowie-a { display: grid; grid-template-columns: 86px 1fr; gap: 10px; margin-bottom: 8px; }
.snowie-q p { margin: 0; font-weight: 600; white-space: pre-wrap; }
.snowie-a-text { white-space: pre-wrap; line-height: 1.5; max-height: 26em; overflow: auto; }
.snowie-a-text.snowie-md { white-space: normal; }
.snowie-a-text.snowie-md p { margin: 0 0 6px; }
.snowie-a-text.snowie-md table { border-collapse: collapse; font-size: 13px; }
.snowie-a-text.snowie-md th, .snowie-a-text.snowie-md td { border-bottom: 1px solid var(--line); padding: 3px 8px; text-align: left; }
.snowie-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 3px; }
.snowie-rate { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 8px; }
.snowie-rate input { flex: 1 1 260px; max-width: 520px; padding: 6px 9px; font-size: 14px; }
.stars { display: inline-flex; gap: 2px; }
.star { background: none; border: 0; padding: 0 2px; font-size: 22px; line-height: 1; cursor: pointer; color: #b8c4cf; }
.star.on { color: #f2a900; }
.star:hover, .star:focus-visible { color: #f2a900; outline: none; transform: scale(1.12); }
@media (max-width: 640px) { .snowie-q, .snowie-a { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- v2.8: Verzekeringen ---------- */
.verz-tabs, .verz-subtabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.verz-subtabs { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 14px; }
.verz-formule, .verz-tab { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; cursor: pointer; color: var(--navy); }
.verz-formule.active, .verz-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.verz-info { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 8px; }
.verz-info p { margin: 0; }
.verz-gen { font-weight: 700; }
.verz-compare { color: var(--muted); }
.verz-season { margin: 0; }
.verz-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.verz-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; cursor: pointer; opacity: .6; }
.verz-chip.on { opacity: 1; }
.verz-chip input { margin: 0; }
.st-nieuw.verz-chip, .verz-st.st-nieuw { background: #cdeed1; color: #185c25; border-color: #9fd6a7; }
.st-gewijzigd.verz-chip, .verz-st.st-gewijzigd { background: #ffe0b3; color: #7a4300; border-color: #f5c27a; }
.st-verwijderd.verz-chip, .verz-st.st-verwijderd { background: #fbcaca; color: #8a1c1c; border-color: #f0a0a0; }
.st-ongewijzigd.verz-chip, .verz-st.st-ongewijzigd { background: #eef1f4; color: #55636f; }
.verz-st { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.verz-conds { margin: 6px 0 10px; }
.verz-conds .cond-row { display: flex; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.verz-conds select, .verz-conds input { padding: 5px 8px; font-size: 14px; }
.verz-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.verz-export { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.verz-blocked { color: #7a4a00; font-size: 13.5px; }
.verz-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.verz-table { font-size: 13px; }
.verz-table td, .verz-table th { white-space: nowrap; vertical-align: top; }
.verz-table td.center, .verz-table th.center { text-align: center; }
.verz-table tr.verz-week td { font-weight: 700; border-top: 2px solid #1d2b36; border-bottom: 2px solid #1d2b36; background: #fff; padding-top: 9px; }
.verz-table tr.verz-empty td { color: var(--muted); font-style: italic; }
.verz-table tr.verz-sub td { background: #e4e8ec; font-weight: 700; }
.verz-table tr.verz-total td { background: var(--navy); color: #fff; font-weight: 700; }
.verz-table tr.st-row-verwijderd td.v { text-decoration: line-through; color: #8a8f94; }
.verz-table tr.verz-changes td { white-space: normal; font-size: 12.5px; color: #7a4300; padding-top: 0; }
.verz-table tr.verz-changes del { color: #8a1c1c; }
.verz-table tr.verz-changes ins { color: #185c25; text-decoration: none; font-weight: 600; }
.verz-layout ol { padding-left: 22px; margin: 6px 0 10px; }
.verz-cols li { margin-bottom: 4px; }
.verz-cols li > * { margin-right: 6px; vertical-align: middle; }
.verz-col-name { display: inline-block; min-width: 170px; font-weight: 600; }
.verz-cols input { padding: 4px 8px; width: 180px; }
.verz-sort { margin-top: 10px; }
.verz-sort-row { display: flex; gap: 6px; align-items: center; margin: 4px 0; }
.verz-vbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.verz-cfg input[type=text] { padding: 5px 7px; font-size: 14px; }
.verz-cfg td { vertical-align: middle; }
.verz-wv { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 18px; }
.verz-wv-group .check-line { display: block; margin: 3px 0; }
.verz-wv-group summary { cursor: pointer; font-weight: 600; }
.verz-status select.verz-only { width: auto; padding: 4px 8px; font-size: 13.5px; }
.verz-conds select, .verz-cols select, .verz-sort select, .verz-cfg select, .verz-vbar select { width: auto; }

/* ---------- v2.9: Historiek → Deelnemers zoeken ---------- */
.dz-search .dz-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.dz-search #dz-q { flex: 1 1 360px; padding: 10px 12px; font-size: 16px; }
.dz-search select { width: auto; padding: 6px 9px; font-size: 14px; }
.dz-seasons .verz-chip { opacity: 1; background: var(--surface); }
.dz-seasons .verz-chip.on { background: var(--sky-soft); border-color: var(--sky); color: var(--navy); font-weight: 600; }
.dz-seasons .verz-chip input:disabled + * { opacity: .7; }
.dz-cols .verz-layout { margin-top: 10px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fbfdff; }
.dz-cols .verz-col-name { min-width: 210px; }
.dz-summary { margin: 4px 0 10px; }
.dz-table tr.dz-group td { font-weight: 700; color: var(--navy); border-top: 2px solid var(--navy); background: #fff; padding-top: 10px; }
.dz-table tr.dz-hit td:first-child { box-shadow: inset 3px 0 0 var(--navy); }
.dz-table tr.dz-mede td { color: #4a5563; }
.dz-table td.dz-name a { font-weight: 600; }
.dz-table tr.dz-mede td.dz-name a { font-weight: 500; }
.dz-badge { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--sky-soft); color: var(--navy); border: 1px solid #b9e3f3; vertical-align: 1px; }
.dz-badge-warn { background: #ffe0b3; color: #7a4300; border-color: #f5c27a; }
td.dz-diff, .dz-table td.dz-diff { color: #7a4300; font-weight: 700; }
.dz-compare th:first-child, .dz-compare tbody th { white-space: nowrap; }
.dz-compare tbody th { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--ink); background: #fafcff; }
.dz-compare tr.dz-diff-row td, .dz-compare tr.dz-diff-row th { background: #fff7ec; }
.dz-compare td.dz-diff { background: #ffe0b3 !important; }
.dz-booking.dz-selected { border-color: var(--sky); box-shadow: 0 0 0 2px var(--sky-soft), var(--shadow); }
.dz-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; margin: 10px 0 4px; }
.dz-f { min-width: 0; }
.dz-fields dt { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.dz-fields dd { margin: 0 0 4px; white-space: pre-wrap; }
.dz-sub { font-size: 14px; color: var(--navy); margin: 14px 0 6px; }
.dz-bus { font-size: 13px; }
.dz-mede-list { margin: 4px 0; padding-left: 20px; columns: 2 260px; }
.dz-legend { margin-top: 6px; }
@media print { .dz-search, .dz-export, .page-toolbar { display: none !important; } }

/* ---------- v2.10: Historiek → Deelnemers vergelijken ---------- */
.vg-years select { width: auto; min-width: 150px; padding: 7px 10px; font-size: 15px; font-weight: 600; }
.vg-form select { width: auto; padding: 6px 9px; font-size: 14px; }
.vg-dirs { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 4px; }
.vg-dir { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 600; cursor: pointer; }
.vg-dir.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.vg-dir:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.vg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 14px 0; }
.vg-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.vg-stat-main { border-color: var(--navy); box-shadow: inset 4px 0 0 var(--navy); }
.vg-stat-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.vg-stat-value { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.2; font-variant-numeric: tabular-nums; }
.vg-stat-sub { font-size: 12px; color: var(--muted); }
.vg-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.vg-bar #vg-filter { width: 280px; max-width: 100%; padding: 7px 10px; }
@media print { .vg-form, .vg-export, .vg-bar #vg-filter { display: none !important; } }
.vg-form .filter-label { display: inline-block; margin: 0 2px 0 6px; }
.vg-form .dz-row > .filter-label:first-child { margin-left: 0; }

/* ======================================================================
   v2.12: taalkeuze, voorkeuren, talen en labels
   ====================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lang-switch { margin: 0; }
.lang-switch select { width: auto; padding: 5px 28px 5px 10px; font-size: 13px; font-weight: 600; }
.choice-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.choice { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--sky); background: var(--sky-soft); }
.choice .muted { margin-left: auto; font-weight: 450; }
.theme-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.theme-choice { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 12px; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 450; }
.theme-choice:has(input:checked) { border-color: var(--sky); background: var(--sky-soft); }
.theme-choice input { align-self: flex-start; }
.theme-text { display: flex; flex-direction: column; gap: 2px; }
.theme-preview { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 22px; gap: 4px; padding: 8px; border-radius: 6px; background: #f6faff; }
.theme-preview span { background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.theme-preview span:first-child { grid-column: span 2; grid-row: span 2; border-top: 3px solid var(--sky); }
.theme-metro .theme-preview { background: #0b2340; border-radius: 0; }
.theme-metro .theme-preview span { border: 0; border-radius: 0; }
.theme-metro .theme-preview span:nth-child(1) { background: #05478d; border-top: 0; }
.theme-metro .theme-preview span:nth-child(2) { background: #0078a8; }
.theme-metro .theme-preview span:nth-child(3) { background: #b9480f; }
.theme-metro .theme-preview span:nth-child(4) { background: #2d7d32; grid-column: span 2; }
.theme-metro .theme-preview span:nth-child(5) { background: #6a3fa0; grid-column: span 2; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.inline-form .field { min-width: 180px; flex: 1 1 180px; }
.inline-form .form-actions .btn { margin-top: 0; }
.labels-table td { vertical-align: middle; }
.labels-table .label-key { max-width: 360px; font-weight: 600; }
.labels-table .label-views { max-width: 220px; }
.labels-table .view-chip { display: inline-block; margin: 2px 4px 2px 0; padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; white-space: nowrap; }
html[data-theme="metro"] .labels-table .view-chip { border-radius: 0; }
.labels-table .label-default { color: var(--muted); max-width: 300px; }
.labels-table .label-value { min-width: 260px; }
.labels-table .label-value input, .labels-table .label-value textarea { width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.labels-table tr.label-changed .label-value input, .labels-table tr.label-changed .label-value textarea { border-color: var(--sky); background: var(--sky-soft); }
.labels-table .btn + .btn { margin-left: 6px; }
@media (max-width: 760px) { .theme-choices { grid-template-columns: minmax(0, 1fr); } .lang-switch select { max-width: 110px; } }
@media (max-width: 600px) {
    .topbar-inner { flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; }
    .brand { margin-right: 0; flex: 1 1 auto; }
    .brand-sub { display: none; }
    .lang-switch select { max-width: 96px; padding: 4px 22px 4px 8px; }
    .user { flex: 1 1 100%; justify-content: space-between; }
}

/* ======================================================================
   v2.12: thema Metro – vlakke kleurtegels, geen afgeronde hoeken, schaduwen of verlopen
   ====================================================================== */
html[data-theme="metro"] {
    --navy: #05478d; --sky: #0078a8; --sky-soft: #e5f1f7; --ink: #1b1b1b; --muted: #55606c; --line: #d5dce4;
    --bg: #ffffff; --surface: #ffffff; --warn: #b9480f; --radius: 0; --shadow: none;
}
html[data-theme="metro"] body { font-family: "Segoe UI", "Segoe UI Variable", "Montserrat", system-ui, sans-serif; font-weight: 400; }
html[data-theme="metro"] h1 { font-size: 42px; font-weight: 300; color: var(--ink); letter-spacing: -.5px; line-height: 1.1; margin-bottom: 10px; }
html[data-theme="metro"] h2 { font-size: 20px; font-weight: 300; color: var(--ink); }
html[data-theme="metro"] h3 { font-weight: 400; }
html[data-theme="metro"] .topbar { background: #0b2340; border-bottom: 0; }
html[data-theme="metro"] .brand img { filter: brightness(0) invert(1); }
html[data-theme="metro"] .brand-sub { color: #b9cde3; border-left-color: #3a5677; font-weight: 400; letter-spacing: .2em; }
html[data-theme="metro"] .user-name { color: #fff; font-weight: 400; }
html[data-theme="metro"] .topbar .btn { background: transparent; color: #fff; border: 2px solid #8fa6c0; }
html[data-theme="metro"] .topbar .btn:hover { border-color: #fff; }
html[data-theme="metro"] .lang-switch select { background: #0b2340; color: #fff; border: 2px solid #5c7899; }
html[data-theme="metro"] .mainnav { background: #05478d; }
html[data-theme="metro"] .mainnav a, html[data-theme="metro"] .nav-group-btn { font-weight: 400; font-size: 15px; color: #d6e6f7; }
html[data-theme="metro"] .mainnav a.active, html[data-theme="metro"] .nav-group-btn.active { border-bottom-color: #fff; border-bottom-width: 4px; }
html[data-theme="metro"] .nav-menu { border: 0; border-radius: 0; box-shadow: none; background: #0b2340; padding: 0; }
html[data-theme="metro"] .mainnav .nav-menu a { color: #fff; border-radius: 0; padding: 12px 16px; border-left: 4px solid transparent; }
html[data-theme="metro"] .mainnav .nav-menu a:hover { background: #05478d; color: #fff; }
html[data-theme="metro"] .mainnav .nav-menu a.active { background: #05478d; color: #fff; border-left-color: #fff; }
html[data-theme="metro"] .btn { border-radius: 0; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-weight: 600; }
html[data-theme="metro"] .btn:hover { background: #f0f3f6; color: var(--ink); border-color: var(--ink); }
html[data-theme="metro"] .btn-primary { background: #0078a8; border-color: #0078a8; color: #fff; }
html[data-theme="metro"] .btn-primary:hover { background: #05478d; border-color: #05478d; color: #fff; }
html[data-theme="metro"] .btn-danger { background: #b3261e; border-color: #b3261e; color: #fff; }
html[data-theme="metro"] input[type=text], html[data-theme="metro"] input[type=email], html[data-theme="metro"] input[type=password], html[data-theme="metro"] input[type=number],
html[data-theme="metro"] input[type=date], html[data-theme="metro"] input[type=search], html[data-theme="metro"] input:not([type]), html[data-theme="metro"] select, html[data-theme="metro"] textarea {
    border-radius: 0; border: 2px solid #c3ccd6;
}
html[data-theme="metro"] input:focus, html[data-theme="metro"] select:focus, html[data-theme="metro"] textarea:focus { border-color: #0078a8; outline: none; }
html[data-theme="metro"] .card, html[data-theme="metro"] .filters, html[data-theme="metro"] .tile { border-radius: 0; box-shadow: none; border: 0; background: #f3f5f8; }
html[data-theme="metro"] .card.narrow { background: #f3f5f8; }
html[data-theme="metro"] .kpi { border: 0; border-radius: 0; box-shadow: none; background: #05478d; color: #fff; min-height: 116px; display: flex; flex-direction: column; justify-content: space-between; }
html[data-theme="metro"] .kpis > .kpi:nth-child(6n+2) { background: #0078a8; }
html[data-theme="metro"] .kpis > .kpi:nth-child(6n+3) { background: #00827f; }
html[data-theme="metro"] .kpis > .kpi:nth-child(6n+4) { background: #6a3fa0; }
html[data-theme="metro"] .kpis > .kpi:nth-child(6n+5) { background: #2d7d32; }
html[data-theme="metro"] .kpis > .kpi:nth-child(6n+6) { background: #3b4a5c; }
html[data-theme="metro"] .kpis > .kpi.kpi-warn { background: #b9480f; }
html[data-theme="metro"] .kpi-label, html[data-theme="metro"] .kpi-hint, html[data-theme="metro"] .kpi-value, html[data-theme="metro"] .kpi a, html[data-theme="metro"] .kpi .muted { color: #fff; }
html[data-theme="metro"] .kpi-value { font-size: 34px; font-weight: 300; }
html[data-theme="metro"] .kpi .btn, html[data-theme="metro"] .kpi button { color: #fff; border-color: rgba(255, 255, 255, .7); }
html[data-theme="metro"] .table th { background: transparent; color: var(--muted); border-bottom: 2px solid var(--ink); }
html[data-theme="metro"] .table tbody tr:hover td { background: #e5f1f7; }
html[data-theme="metro"] .badge, html[data-theme="metro"] .chip, html[data-theme="metro"] .alert, html[data-theme="metro"] .warn-box, html[data-theme="metro"] .toast, html[data-theme="metro"] code { border-radius: 0; }
html[data-theme="metro"] .toast { background: #0b2340; box-shadow: none; }
html[data-theme="metro"] .choice, html[data-theme="metro"] .theme-choice, html[data-theme="metro"] .theme-preview, html[data-theme="metro"] .theme-preview span { border-radius: 0; }
html[data-theme="metro"] .snowie-panel, html[data-theme="metro"] .snowie-bubble, html[data-theme="metro"] .snowie-chip, html[data-theme="metro"] .snowie-launcher { border-radius: 0 !important; }
html[data-theme="metro"] .footer { color: var(--muted); }

/* tegelscherm voor Start en Overzicht */
.metro-home { clear: both; margin: 6px 0 28px; padding-top: 8px; }
.metro-panorama { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.metro-group h2 { font-size: 20px; font-weight: 300; margin: 0 0 12px; color: var(--ink); text-transform: lowercase; }
.metro-grid { display: grid; grid-template-columns: repeat(4, 140px); grid-auto-rows: 140px; grid-auto-flow: dense; gap: 8px; }
.metro-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 12px 14px; color: #fff; text-decoration: none; overflow: hidden; transition: transform .12s ease; }
a.metro-tile:hover { color: #fff; outline: 3px solid rgba(255, 255, 255, .55); outline-offset: -3px; }
a.metro-tile:active { transform: scale(.97); }
a.metro-tile:focus-visible { outline: 3px solid #0b2340; outline-offset: 2px; }
.metro-medium { grid-column: span 2; }
.metro-wide { grid-column: span 2; }
.metro-grid .metro-medium:not(.metro-tile-kpi) { grid-column: span 1; }
.metro-tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.metro-tile-live { font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, .9); max-width: 75%; }
.metro-tile-top svg { margin-left: auto; flex: none; }
.metro-tile-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.metro-tile-name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.metro-tile-num { font-size: 28px; font-weight: 300; line-height: 1; white-space: nowrap; }
.metro-tile-label { font-size: 14px; font-weight: 600; }
.metro-tile-value { font-size: 36px; font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.metro-tile-hint { font-size: 12.5px; color: rgba(255, 255, 255, .9); }
.metro-below .kpis { display: none; }
@media (max-width: 760px) {
    .metro-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 84px; gap: 6px; width: 100%; }
    .metro-group { width: 100%; }
    .metro-tile-value { font-size: 28px; }
    .metro-tile-num { font-size: 22px; }
    .metro-tile-top svg { width: 24px; height: 24px; }
    html[data-theme="metro"] h1 { font-size: 32px; }
}
@media print { .metro-home { display: none; } .metro-below .kpis { display: grid; } }

/* ======================================================================
   v2.13: knoppen uitlijnen (de breedte en hoogte per groep zet app.js gelijk)
   ====================================================================== */
.btn { justify-content: center; text-align: center; box-sizing: border-box; vertical-align: middle; white-space: nowrap; line-height: 1.2; max-width: 100%; }
.form-actions, .filter-actions, .verz-actions, .page-toolbar { align-items: stretch; }
.form-actions > .btn, .filter-actions > .btn, .verz-actions > .btn, .page-toolbar > .btn { margin: 0; }
td > .btn + .btn, td > .btn + a.btn, td > a.btn + .btn { margin-left: 6px; }
td .btn { margin-top: 2px; margin-bottom: 2px; }
.labels-table .btn + .btn { margin-left: 6px; }

/* ======================================================================
   v2.13: tegelscherm aanpassen (Metro)
   ====================================================================== */
.metro-editbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin: 0 0 14px; }
.metro-edit-hint { flex: 1 1 360px; color: var(--muted); font-size: 14px; }
.metro-panorama.is-editing .metro-grid { outline: 2px dashed #9fb3c8; outline-offset: 4px; min-height: 140px; }
.metro-tile.metro-editing { cursor: grab; user-select: none; }
.metro-tile.metro-editing:active { cursor: grabbing; }
.metro-tile.metro-hidden::before { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .62); }
.metro-ctl, .metro-hidden-badge { z-index: 1; }
.metro-tile.is-dragging { opacity: .5; }
.metro-tile.is-over { outline: 3px solid #0b2340; outline-offset: -3px; }
.metro-ctl { position: absolute; right: 6px; top: 6px; display: flex; gap: 3px; }
.metro-ctl-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; background: rgba(11, 35, 64, .82); color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.metro-ctl-btn:hover, .metro-ctl-btn:focus-visible { background: #0b2340; outline: 2px solid #fff; outline-offset: -2px; }
.metro-tile.metro-editing .metro-tile-top svg, .metro-tile.metro-editing .metro-tile-hint, .metro-tile.metro-editing .metro-tile-live { visibility: hidden; }
.metro-tile.metro-editing .metro-tile-label { padding-right: 96px; }
.metro-hidden-badge { position: absolute; left: 14px; top: 40px; padding: 2px 8px; background: #0b2340; color: #fff; font-size: 12px; font-weight: 600; }
.metro-drop { grid-column: span 4; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; border: 2px dashed #c3ccd6; }
@media (max-width: 760px) { .metro-ctl-btn { width: 26px; height: 26px; } .metro-tile.metro-editing .metro-tile-label { padding-right: 88px; } }
@media print { .metro-editbar { display: none; } }

/* ======================================================================
   v2.14: busplanning
   ====================================================================== */
.bp-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 28px; padding: 14px 16px; margin: 0 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.bp-filter, .bp-types { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bp-filters .filter-label { margin-right: 4px; }
.bp-seg { display: inline-flex; gap: 0; }
.bp-seg .btn { border-radius: 0; }
.bp-seg .btn:first-child { border-radius: 999px 0 0 999px; }
.bp-seg .btn:last-child { border-radius: 0 999px 999px 0; margin-left: -1px; }
.bp-seg-btn.is-on, .bp-type.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.bp-dir-help { flex-basis: 100%; margin: 0; }
.bp-strip { display: flex; align-items: stretch; gap: 6px; margin: 0 0 18px; }
.bp-days { flex: 1; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; }
.bp-arrow { flex: 0 0 auto; width: 34px; padding: 0; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-size: 18px; font-weight: 700; cursor: pointer; border-radius: 6px; }
.bp-arrow:disabled { opacity: .35; cursor: default; }
.bp-arrow:not(:disabled):hover, .bp-arrow:focus-visible { background: var(--sky-soft); }
.bp-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 88px; padding: 6px 2px; border: 2px solid var(--navy); border-radius: 6px; color: var(--navy); font: inherit; cursor: pointer; }
.bp-day.is-dark { color: #fff; }
.bp-day-wd { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.bp-day-date { font-size: 15px; font-weight: 700; }
.bp-day-count { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bp-day.is-today .bp-day-wd { text-decoration: underline; }
.bp-day.is-selected { outline: 3px solid var(--sky); outline-offset: 2px; box-shadow: 0 0 0 2px #fff inset; }
.bp-day:focus-visible { outline: 3px solid #0b2340; outline-offset: 2px; }
.bp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin: 0 0 10px; }
.bp-head h2 { margin: 0; font-size: 20px; }
.bp-proposal, .bp-list { margin: 0 0 22px; }
.bp-cards { --bp-n: 4; display: grid; grid-template-columns: repeat(var(--bp-n), minmax(0, 1fr)); gap: 12px; width: 100%; }
@media (max-width: 1000px) { .bp-cards[data-count="3"], .bp-cards[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bp-cards { grid-template-columns: minmax(0, 1fr) !important; } }
.bp-card { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); }
.bp-card-1 { border-top-color: #6a3fa0; } .bp-card-2 { border-top-color: #0078a8; } .bp-card-3 { border-top-color: #05478d; } .bp-card-eigen { border-top-color: #5f6672; }
.bp-card.is-short { border-color: #e7b28f; background: #fff8f2; }
.bp-card-title { font-weight: 700; color: var(--navy); }
.bp-card-big { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 8px; }
.bp-card-num { font-size: 38px; font-weight: 700; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.bp-card-unit { color: var(--muted); }
.bp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; margin: 0 0 10px; font-size: 13px; }
.bp-fact { display: flex; flex-direction: column; min-width: 0; }
.bp-fact-label { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-fact-value { font-weight: 700; font-variant-numeric: tabular-nums; }
.bp-fact-b .bp-fact-value { color: #8a3a0b; }
.bp-day-split { display: inline-flex; gap: 3px; font-size: 11px; font-variant-numeric: tabular-nums; opacity: .9; }
.bp-split-sep { opacity: .7; }
.bp-day .bp-split-b { font-weight: 700; }
.bp-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: -10px 0 16px; }
.bp-legend .bp-split-d, .bp-legend .bp-split-b { padding: 0 6px; border-radius: 999px; background: var(--sky-soft); color: var(--navy); }
.bp-legend .bp-split-b { background: #fde7d6; color: #8a3a0b; font-weight: 700; }
.bp-bar { height: 6px; background: #e3eaf3; border-radius: 3px; overflow: hidden; margin: 0 0 8px; }
.bp-bar span { display: block; height: 100%; background: var(--navy); }
.bp-buses { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 6px; padding: 0; list-style: none; }
.bp-buses li { padding: 2px 8px; font-size: 12px; background: var(--sky-soft); color: var(--navy); border-radius: 999px; white-space: nowrap; }
.bp-buses li.is-extra { background: #fde7d6; color: #8a3a0b; }
.bp-card-note { margin: 0; font-size: 13px; color: var(--muted); }
.bp-notes { margin-top: 10px; }
.bp-notes .alert { margin: 8px 0 0; }
.bp-table td { white-space: nowrap; }
.bp-table tr.has-warning td:first-child { box-shadow: inset 4px 0 0 var(--warn); }
.bp-columns { margin: 0 0 14px; padding: 16px; }
.bp-columns h3 { margin: 0 0 4px; }
.bp-col-list { margin: 10px 0; padding: 0; list-style: none; max-width: 560px; counter-reset: bpc; }
.bp-col { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-bottom: 1px solid var(--line); counter-increment: bpc; }
.bp-col::before { content: counter(bpc) "."; width: 24px; color: var(--muted); font-size: 13px; }
.bp-col-name { flex: 1; }
.bp-col-tools { display: inline-flex; gap: 4px; }
.bp-col-add { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
html[data-theme="metro"] .bp-day, html[data-theme="metro"] .bp-arrow, html[data-theme="metro"] .bp-card, html[data-theme="metro"] .bp-filters { border-radius: 0; }
@media (max-width: 900px) {
  .bp-days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .bp-day { min-height: 64px; }
}
@media print { .bp-filters, .bp-strip .bp-arrow, .bp-actions { display: none; } }

/* v2.14.2: subtotaal per opstapplaats en bestemming in de voorstelkaarten */
.bp-card { display: flex; flex-direction: column; }
.bp-groups { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.bp-card > .bp-card-note { margin-bottom: 12px; }
.bp-groups:empty { display: none; }
.bp-groups-title { display: flex; align-items: center; gap: 6px; width: 100%; padding: 2px 0; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; text-align: left; cursor: pointer; }
.bp-groups.is-open { margin-top: 0; }
.bp-groups.is-open .bp-groups-title { margin: 0 0 6px; }
.bp-groups-title:hover span:nth-child(2), .bp-groups-title:focus-visible span:nth-child(2) { text-decoration: underline; }
.bp-groups-caret { width: 12px; font-size: 12px; }
.bp-groups-count { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.bp-group-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; table-layout: fixed; }
.bp-group-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 3px 4px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-group-table td { padding: 3px 4px; border-bottom: 1px solid #eef2f6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-group-table th:nth-child(1) { width: 18%; } .bp-group-table th:nth-child(2) { width: 31%; }
.bp-group-table th:nth-child(3), .bp-group-table th:nth-child(4) { width: 18%; } .bp-group-table th:nth-child(5) { width: 15%; }
.bp-group-table th { overflow: visible; text-overflow: clip; }
.bp-group-table .num { text-align: right; }
.bp-group-table .bp-g-b { color: #8a3a0b; }
.bp-group-table .bp-g-t { font-weight: 700; }
.bp-group-table tbody tr:hover td { background: var(--sky-soft); }
.bp-group-table tfoot td { font-weight: 700; border-top: 2px solid var(--line); border-bottom: 0; }
.bp-gsort { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.bp-gsort:hover, .bp-gsort:focus-visible { color: var(--navy); text-decoration: underline; }
.bp-gsort.is-on { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bp-gsort-ind { font-size: 9px; }

/* ======================================================================
   v2.15: kaart, routeplanning en beheer van locaties en routes
   ====================================================================== */
.rt-filters { align-items: center; }
.rt-filters input[type=date] { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.rt-filters select { max-width: 320px; }
.rt-go { margin-left: auto; }
.rt-map { position: relative; height: 460px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #eef2f6; z-index: 0; }
.rt-map-large { height: 560px; }
.rt-map.is-placing { cursor: crosshair; outline: 3px solid var(--sky); }
.rt-nomap { padding: 18px; margin: 0 0 16px; border: 1px dashed #c3ccd6; border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.rt-info { margin: -6px 0 10px; }
.rt-pin { background: none; border: 0; }
.rt-pin .rt-pin-dot { position: absolute; left: 6px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #05478d; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.rt-pin-hub .rt-pin-dot { width: 18px; height: 18px; left: 4px; top: 4px; background: #d4a017; }
.rt-pin-onroute .rt-pin-dot { background: #1e9bd7; }
.rt-pin-hotel .rt-pin-dot { background: #2e7d32; border-radius: 3px; }
.rt-pin-bestemming .rt-pin-dot { width: 20px; height: 20px; left: 3px; top: 3px; background: #2e7d32; }
.rt-pin-stop .rt-pin-dot { background: #6a3fa0; }
.rt-pin.is-proposed .rt-pin-dot { opacity: .55; border-style: dashed; }
.rt-pin.is-sel .rt-pin-dot { box-shadow: 0 0 0 3px #f2b134; }
.rt-pin .rt-pin-count { position: absolute; left: 18px; top: -6px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #0b2340; color: #fff; font: 700 11px/18px var(--font, Arial), sans-serif; text-align: center; white-space: nowrap; }
.rt-popup table { margin-top: 4px; border-collapse: collapse; }
.rt-popup td { padding: 1px 8px 1px 0; }
.rt-popup td.num { text-align: right; font-weight: 700; }
.rt-kpis { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.rt-kpis:empty { display: none; }
.rt-kpi { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.rt-kpi.is-warn { border-color: #e7b28f; background: #fff8f2; }
.rt-kpi-label { display: block; font-size: 12px; color: var(--muted); }
.rt-kpi-value { display: block; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rt-state-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 10px; }
.rt-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rt-notes .alert { margin: 6px 0; }
.rt-why { margin: 8px 0 14px; }
.rt-why summary, .rt-units summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.rt-table tr.is-chosen td { background: #eaf4ea; font-weight: 600; }
.rt-badge { display: inline-block; margin: 0 0 0 6px; padding: 1px 8px; border-radius: 999px; background: #e3eaf3; color: #0b2340; font-size: 12px; font-weight: 600; white-space: nowrap; vertical-align: middle; }
.rt-badge.is-ok { background: #e3f4ea; color: #1e7d4f; }
.rt-badge.is-draft { background: #fdf3dc; color: #7a5200; }
.rt-badge.is-warn { background: #fde7d6; color: #8a3a0b; }
.rt-badge.is-info { background: #e6effa; color: #1f5fa8; }
.rt-badge.is-up { background: #e3f4ea; color: #1e7d4f; }
.rt-badge.is-down { background: #fbe1e1; color: #a1161b; }
.rt-badge.is-lock { background: #efeafb; color: #5b3fb0; }
.rt-section { margin: 18px 0 10px; font-size: 20px; }
.rt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; }
.rt-card { padding: 14px 16px; border-top: 5px solid var(--navy); }
.rt-card.has-warning { box-shadow: inset 4px 0 0 #e7a15f; }
.rt-card-head { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 0 0 8px; }
.rt-card-title { font-weight: 700; color: var(--navy); }
.rt-card-title > span:first-child { margin-right: 4px; }
.rt-card-bus select { width: 100%; }
.rt-occ { display: flex; align-items: center; gap: 10px; }
.rt-occ .bp-bar { flex: 1; margin: 0; }
.rt-stops { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.rt-stops th { text-align: left; color: var(--muted); font-weight: 600; padding: 3px 6px; border-bottom: 1px solid var(--line); }
.rt-stops td { padding: 3px 6px; border-bottom: 1px solid #eef2f6; }
.rt-stops .num { text-align: right; }
.rt-stops .rt-uur { white-space: nowrap; width: 70px; }
.rt-stops .rt-aanboord { font-weight: 700; }
.rt-stops tr.rt-stop-hub td { background: #fbf6e3; }
.rt-nopin { color: #b9480f; }
.rt-reasons { margin: 8px 0 4px; padding-left: 18px; font-size: 13px; color: var(--muted); }
.rt-warn { margin: 6px 0 0; font-size: 13px; }
.rt-units { margin: 8px 0 0; }
.rt-unit-acts { display: flex; flex-wrap: wrap; gap: 4px; }
.rt-unit-acts select { max-width: 220px; }
.rt-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.rt-tab.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.rt-pins-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.rt-pins-top p { margin: 0; flex: 1 1 400px; }
.rt-place-hint { margin: -8px 0 12px; padding: 8px 12px; border-radius: 8px; background: #e6effa; color: #1f5fa8; font-weight: 600; }
.rt-pin-table tr.is-sel td { background: #fff7e0; }
.rt-pin-table tr.is-inactive td { color: var(--muted); }
.rt-pin-table tr.rt-group td { background: #f1f4f7; font-weight: 700; color: var(--navy); }
.rt-row-acts { display: flex; flex-wrap: wrap; gap: 4px; }
.rt-results td { background: #f7fafc; }
.rt-result { display: block; margin: 4px 0; text-align: left; white-space: normal; }
.rt-icon-thumb { width: 20px; height: 20px; margin-left: 6px; vertical-align: middle; }
.rt-num { width: 90px; }
.rt-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rt-inline label { min-width: 0; }
.rt-combi { padding: 16px; margin: 0 0 14px; }
.rt-combi-item { padding: 10px 12px; margin: 10px 0; border: 1px solid var(--line); border-radius: 8px; }
.rt-combi-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rt-combi-row input:first-child { flex: 1 1 220px; }
.rt-members, .rt-goals, .rt-companies { margin: 8px 0; padding-left: 22px; }
.rt-members li, .rt-goals li { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
.rt-members li > span:first-child, .rt-goals li > label { flex: 1; }
.rt-companies { padding-left: 0; list-style: none; }
.rt-company { padding: 12px 14px; margin: 0 0 10px; }
.rt-company.is-off { opacity: .6; }
.rt-company-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; }
.rt-company-head label { flex: 1; }
.rt-extra, .rt-profile { padding: 16px; margin: 0 0 14px; }
.rt-status.is-ok { color: #1e7d4f; font-weight: 600; }
.rt-status.is-off { color: var(--muted); }
.rt-form .check { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
html[data-theme="metro"] .rt-card, html[data-theme="metro"] .rt-kpi, html[data-theme="metro"] .rt-map { border-radius: 0; }
@media (max-width: 1100px) { .rt-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .rt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rt-grid { grid-template-columns: 1fr; } .rt-map { height: 340px; } }
@media print { .rt-map, .rt-filters, .rt-plan-actions, .rt-unit-acts { display: none; } }
.leaflet-container img, .leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; }
.leaflet-container { font: inherit; }

.rt-datebar { display: flex; align-items: center; gap: 6px; }
.rt-datebar input[type=date] { width: auto; }

/* v2.16: Snowie-knop verplaatsbaar */
.snowie-launcher.is-dragging { cursor: grabbing; transform: none; transition: none; }
.snowie-launcher { touch-action: none; user-select: none; -webkit-user-drag: none; }
.snowie-launcher img { -webkit-user-drag: none; pointer-events: none; }
/* v2.16: opstapplaats beheren */
.kamer-field.is-wide { grid-column: 1 / -1; }
.rt-opstap-form textarea { width: 100%; }
.rt-editor:empty { display: none; }
.rt-editor { margin: 12px 0; }
/* v2.16: routeplanning – ritblokken op volle breedte, deelnemers, buslijst */
.rt-grid { grid-template-columns: 1fr; }
.rt-busnr { font-weight: 700; font-size: 1.05rem; margin-right: 6px; }
.rt-people-table tr.is-monitor td { background: #f2f2f2; font-weight: 700; }
.rt-people-table tr.rt-unit-start td { border-top: 2px solid var(--line); }
.rt-people-table td { vertical-align: top; }
.rt-cols { margin: 6px 0 14px; }
.rt-cols summary { cursor: pointer; font-weight: 600; }
.rt-cols-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; margin: 8px 0; }
.rt-cols-grid fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; margin: 0; }
.rt-cols-grid legend { font-weight: 600; font-size: .85rem; padding: 0 4px; }
.rt-col-opt { display: flex; align-items: center; gap: 6px; margin: 2px 0; font-weight: normal; }
.rt-buslist { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.rt-buslist h3 { margin: 0 0 6px; font-size: 1rem; }
.rt-buslist-grid { display: grid; grid-template-columns: 110px minmax(240px, 2fr) minmax(200px, 1fr); gap: 8px 16px; align-items: start; }
.rt-chauffeurs { display: flex; flex-wrap: wrap; gap: 6px; }
.rt-chauffeurs select { flex: 1 1 160px; }
.rt-label-cell { display: flex; align-items: center; gap: 8px; }
.rt-swatch { display: inline-block; width: 16px; height: 16px; border-radius: 3px; border: 1px solid #888; flex: none; }
.rt-swatch.is-empty { background: repeating-linear-gradient(45deg, #fff, #fff 3px, #ddd 3px, #ddd 6px); }
.rt-label-list td input[type=color] { width: 44px; height: 28px; padding: 0; border: 0; background: none; }
@media (max-width: 700px) { .rt-buslist-grid { grid-template-columns: 1fr; } }
/* v2.16: deelnemers zonder opstapplaats */
.rt-zonder { margin: 8px 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.rt-zonder.has-open { border-color: #e0a100; background: #fff8e6; }
.rt-zonder summary { cursor: pointer; font-weight: 600; }
.rt-zonder-table tr.is-monitor td { font-weight: 700; }
/* v2.17: vorig werkingsjaar in Overzicht boekingen */
.bp-prevbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 8px; }
.bp-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; color: var(--navy); }
.bp-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bp-switch-track { position: relative; width: 42px; height: 24px; border-radius: 12px; background: #c5ccd6; transition: background .15s; flex: none; }
.bp-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .15s; }
.bp-switch input:checked + .bp-switch-track { background: var(--navy); }
.bp-switch input:checked + .bp-switch-track::after { transform: translateX(18px); }
.bp-switch input:focus-visible + .bp-switch-track { outline: 3px solid var(--sky); outline-offset: 2px; }
.bp-prev-shift { display: inline-flex; gap: 4px; align-items: center; }
.bp-prev { margin: 0 0 6px; }
.bp-prev .bp-prev-strip { margin: 0 0 4px; }
.bp-arrow-spacer { flex: 0 0 34px; }
.bp-prevday { cursor: default; border-style: dashed; justify-content: flex-start; min-height: 88px; }
.bp-prevday .bp-day-date { font-size: 13px; }
.bp-prev-rides { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 2px; }
.bp-prev-ride { display: flex; flex-direction: column; align-items: center; font-size: 10.5px; line-height: 1.15; padding: 2px 1px; border-radius: 4px; background: rgba(255,255,255,.85); color: var(--navy); font-variant-numeric: tabular-nums; }
.bp-prev-ride b { font-weight: 700; }
.bp-prev-ride-1, .bp-prev-ride-4 { border-left: 3px solid #0078a8; }
.bp-prev-ride-2, .bp-prev-ride-3 { border-left: 3px solid #05478d; }
.bp-prev-r2 { font-size: 10px; }
.bp-prev-legend { margin: 0 0 8px 40px; }
@media print { .bp-prevbar .bp-prev-shift { display: none; } }
.bp-prev-ride { align-items: stretch; text-align: center; padding: 2px 2px 2px 3px; }
.bp-prev-r1, .bp-prev-r2 { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; letter-spacing: -.01em; }
.bp-prev-r3 { display: block; font-size: 10px; font-weight: 600; }
.bp-prevday.is-match { outline: 3px dashed var(--sky); outline-offset: 2px; }
/* v2.17: bagagelabel per deelnemer + voorstel voor dezelfde reiscode */
.rt-label-prop { margin: 10px 0 4px; padding: 10px 14px; background: var(--sky-soft); border: 1px solid #9cc9e6; border-left: 4px solid var(--sky); border-radius: var(--radius); }
.rt-label-prop p { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rt-label-prop-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-label-cell .rt-swatch { margin-right: 6px; vertical-align: middle; }
.rt-swatch.is-inherited { opacity: .55; outline: 1px dashed #5f6672; outline-offset: 1px; }
.rt-people-table .rt-label-cell { white-space: nowrap; } .rt-people-table .rt-label-cell select { min-width: 190px; }
/* v2.18: ritcode – de letter van het rittype (O, H, T, Af) apart opgemaakt, zodat O1 nooit als 01 gelezen wordt */
.rit-code { display: inline-flex; align-items: baseline; gap: 1px; font-size: 13px; color: var(--muted, #5f6672); font-variant-numeric: tabular-nums slashed-zero; }
.rit-letter { display: inline-block; font-family: inherit; font-weight: 800; font-size: .82em; line-height: 1.25; padding: 0 3px; border-radius: 3px; background: var(--navy); color: #fff; letter-spacing: .02em; font-variant-numeric: normal; }
.rit-num { font-variant-numeric: tabular-nums slashed-zero; }
.rit-code .rit-num::before { content: "-"; opacity: .6; margin: 0 1px; }
.bp-prev-r1 .rit-letter { font-size: 9px; padding: 0 2px; margin-right: 1px; }
.bp-prev-r1 .rit-num { font-weight: 700; }
/* v2.18: 0 - Jaaroverzicht Boekingen */
.jo-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.jo-check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.jo-key { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.jo-key select { width: auto; }
.jo-scroll { max-height: 72vh; overflow: auto; border: 1px solid var(--line, #dde3ea); border-radius: var(--radius); }
.jo-table { margin: 0; font-variant-numeric: tabular-nums; }
.jo-table thead th { position: sticky; top: 0; z-index: 2; background: #f4f7fa; }
.jo-table thead tr:nth-child(2) th { top: 33px; }
.jo-table th.jo-grp { text-align: center; border-bottom: 1px solid #cfd8e2; color: var(--navy); }
.jo-table th.jo-date { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; white-space: nowrap; font-weight: 600; }
.jo-table thead th.jo-date { z-index: 3; background: #f4f7fa; }
.jo-table .jo-total th.jo-date { background: #eef3f8; }   /* v2.21: zelfde grijs als de andere totalen */
.jo-table td, .jo-table th { padding: 5px 10px; }
.jo-table td.num { white-space: nowrap; }
.jo-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 4px; margin: -2px -4px; font: inherit; color: inherit; cursor: pointer; border-radius: 4px; }
.jo-toggle:hover { background: var(--sky-soft); }
.jo-toggle:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; }
.jo-caret { display: inline-block; width: 12px; color: var(--navy); transition: transform .12s; }
.jo-toggle[aria-expanded="true"] .jo-caret { transform: rotate(90deg); }
.jo-wd { display: inline-block; width: 22px; color: #5f6672; font-weight: 500; text-transform: lowercase; }
.jo-row.is-empty td, .jo-row.is-empty th { color: #9aa3ad; }
.jo-row.is-sat > * { border-top: 2px solid #dfe7ef; }
.jo-zero { color: #b3bbc4; }
.jo-strong { font-weight: 700; }
.jo-extra.is-pos { color: #a14d00; font-weight: 700; }
.jo-extra.is-neg { color: #1d6b3a; font-weight: 700; }
.jo-sep { border-left: 2px solid #dfe7ef; }
.jo-bus { font-weight: 700; color: var(--navy); }
.jo-bus.has-extra { background: #fff1d6; }
.jo-ew { background: #fafbfc; }
.jo-detail > td { background: #f6f9fc; padding: 4px 10px 10px 34px; }
.jo-routes { margin: 0; background: #fff; font-size: 13px; }
.jo-routes th { background: #eef3f8; }
.jo-arrow { color: #5f6672; }
.jo-total th, .jo-total td { font-weight: 700; background: #eef3f8; border-top: 2px solid var(--navy); position: sticky; bottom: 0; }
.jo-legend { margin-top: 8px; }
.jo-key label { display: inline; margin: 0; font-weight: 600; }
.jo-key input.rt-num { width: 76px; min-width: 0; }
.jo-key select { width: auto; min-width: 0; }
.jo-filters { padding: 10px 14px; }
/* v2.19: Jaaroverzicht – geen eigen verticale scroll, verschilkolom, navigatie naar het dagoverzicht, onbekende routes */
.jo-scroll { max-height: none; overflow-x: auto; overflow-y: visible; }
.jo-table thead th, .jo-table thead tr:nth-child(2) th, .jo-total th, .jo-total td { position: static; }
.jo-table th.jo-date { position: static; }
.jo-extra.is-neg { color: #1d6b3a; font-weight: 700; }
.jo-extra.is-pos { color: #b3261e; font-weight: 700; }
.jo-datecell { display: flex; align-items: center; gap: 6px; }
.jo-toggle { width: 24px; height: 24px; justify-content: center; margin: 0; padding: 0; border: 1px solid #c9d3de; background: #fff; border-radius: 5px; flex: none; }
.jo-toggle.is-none { border-color: transparent; background: none; }
.jo-toggle[aria-expanded="true"] { background: var(--sky-soft); border-color: var(--sky); }
.jo-daylink { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); text-decoration: none; font-weight: 600; padding: 2px 6px; border-radius: 5px; }
.jo-daylink .jo-dt { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #9cc9e6; }
.jo-daylink:hover { background: var(--sky-soft); }
.jo-daylink:hover .jo-dt { text-decoration-color: var(--navy); }
.jo-daylink:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; }
.jo-go { color: var(--sky); font-weight: 800; font-size: 15px; line-height: 1; }
.jo-routes tr.is-unknown td { background: #fdecea; color: #8b1a1a; font-weight: 600; }
.jo-routes tr.is-unknown .bp-split-d, .jo-routes tr.is-unknown .bp-split-b { color: #8b1a1a; }
.jo-warn { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #8b1a1a; color: #fff; font-size: 11px; font-weight: 800; margin-right: 6px; vertical-align: 1px; }
.jo-routes-note { margin: 4px 0 0; }
.jo-legend p { margin: 3px 0; }
.jo-table thead tr:nth-child(2) th { white-space: normal; line-height: 1.2; vertical-align: bottom; max-width: 92px; }
.jo-table td, .jo-table th { padding: 5px 8px; }
.bp-next { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-left: auto; }
.bp-next-arrow { font-weight: 800; font-size: 17px; line-height: 1; }
.bp-head .bp-next { align-self: center; }
.jo-export { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.bp-sortrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 6px 0; }
.bp-sortrow .filter-label { min-width: 120px; margin: 0; }
.bp-sortrow select { width: auto; min-width: 220px; }
.bp-sortinfo { margin: 0 0 6px; }
.bp-dirbox { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.bp-dirbox .bp-ds-label { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line, #d0d7de); }
/* v2.19.1: Deelnemers per reis */
.rd-pickrow { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: flex-end; }
.rd-pickrow .filter { display: flex; flex-direction: column; gap: 4px; }
.rd-reisfilter select { min-width: min(560px, 90vw); }
#ls-reis { min-width: min(820px, 92vw); }
.rd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 16px 0 8px; flex-wrap: wrap; }
.rd-head h2 { margin: 0; }
.rd-table tr.rd-done td { background: #e3f4e6; }
.rd-table tr.rd-todo td { background: #fdecea; }
.rd-table tr.rd-dossier td { font-weight: 600; background: var(--surface-2, #f1f4f8); }
.rd-kamercol { width: 1%; white-space: nowrap; }
.rd-kamer { width: 5.5em; text-align: right; padding: 3px 6px; min-height: 0; height: 30px; }
.rd-state { display: inline-block; width: 1.2em; margin-left: 4px; font-weight: 700; }
.rd-state.is-ok { color: #1d6b3a; } .rd-state.is-err { color: #b3261e; } .rd-state.is-busy { color: #6b7280; }
.rd-opm { position: relative; display: inline-flex; color: #1f5fa8; cursor: help; outline-offset: 2px; }
.rd-tip { display: none; position: fixed; z-index: 60; width: 320px; max-width: 70vw; text-align: left; white-space: normal;
  background: #fff; color: #1b1f24; border: 1px solid #c9d2dc; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.15); padding: 8px 10px; font-size: 13px; font-weight: 400; }
.rd-tip strong { display: block; font-size: 12px; margin-top: 4px; }
.rd-tip p { margin: 2px 0 4px; }
.rd-opm:hover .rd-tip, .rd-opm:focus .rd-tip { display: block; }
.rd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rd-table tr.rd-nokamer td { background: #fbe3e1; color: #8b1a1a; }
/* v2.19.1: Lijsten */
.ls-form h2 { margin-top: 0; }
.ls-form .ls-h2 { margin-top: 22px; }
.ls-table td.center input { width: 18px; height: 18px; }
.ls-table .ls-name { font-weight: 600; white-space: nowrap; }
.ls-sets { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ls-set { border: 1px solid var(--line, #d0d7de); border-radius: 8px; padding: 8px 12px; }
.ls-setlist { margin: 4px 0 0 28px; }
.ls-actions { align-items: center; }
.ls-tabs { margin: 0 0 12px; }
.ls-checks { display: grid; gap: 6px; margin-bottom: 8px; }
.ls-setedit { border: 1px solid var(--line, #d0d7de); border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.ls-settop { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.ls-setname { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 240px; }
.ls-setadd { width: auto; min-width: 260px; }
.ls-newset { margin-top: 6px; }
.ls-subtabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line, #d0d7de); margin: 10px 0 14px; }
.ls-subtab { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--muted, #5b6573); cursor: pointer; }
.ls-subtab:hover { color: var(--brand, #1c5c9e); }
.ls-subtab.is-on { color: var(--brand, #1c5c9e); border-bottom-color: var(--accent, #0095da); }
.ls-subtab:focus-visible { outline: 2px solid var(--accent, #0095da); outline-offset: 2px; }
/* v2.21: status per rit en muts-icoon in de deelnemerstabel */
.rt-status.is-voorgesteld { background: #eef1f5; color: #3d4a5c; }
.rt-status.is-bevestigd { background: #e3f0fb; color: #1c5c9e; }
.rt-status.is-geconfigureerd { background: #e3f4e6; color: #1d6b3a; }
.rt-mon-col { width: 22px; padding-left: 2px !important; padding-right: 2px !important; text-align: center; }
.rt-muts { width: 16px; height: auto; vertical-align: middle; }
.rt-next { margin-top: 10px; }
/* v2.21: 3 - Configuratie Rit */
.rc-days .rc-day { cursor: default; justify-content: flex-start; }
.rc-day.is-empty { opacity: .75; }
.rc-rides { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rc-ride-btn { all: unset; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 0 4px; width: 100%; padding: 2px 3px; border-radius: 4px; cursor: pointer; font-size: 11px; line-height: 1.25; background: rgba(255,255,255,.85); color: #1b2733; }
.rc-ride-btn:hover, .rc-ride-btn:focus-visible { outline: 2px solid #05478d; outline-offset: 0; }
.rc-ride.is-voorgesteld .rc-ride-btn { opacity: .5; cursor: not-allowed; }
.rc-ride.is-geconfigureerd .rc-ride-btn { background: #e3f4e6; }
.rc-ride.is-on .rc-ride-btn { background: #05478d; color: #fff; }
.rc-ride.is-on .rc-ride-btn .bp-split-d, .rc-ride.is-on .rc-ride-btn .bp-split-b { color: #fff; }
.rc-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 1.15rem; }
.rc-stops { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0; padding: 0; }
.rc-stop { display: flex; gap: 6px; align-items: baseline; }
.rc-stop + .rc-stop::before { content: '→'; color: #8a96a3; margin-right: 4px; }
.rc-stop-uur { font-variant-numeric: tabular-nums; font-weight: 600; }
.rc-info, .rc-controle, .rc-seats, .rc-overview { margin-top: 14px; }
.rc-req { color: #b3261e; }
.rc-controle { border-left: 4px solid #d18b00; }
.rc-controle.is-ok { border-left-color: #2e7d32; }
.rc-todo { margin: 4px 0 10px 18px; }
.rc-todo-title, .rc-ok { margin: 0 0 6px; font-weight: 600; }
.rc-seat-wrap { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 16px; align-items: start; margin-top: 10px; }
@media (max-width: 900px) { .rc-seat-wrap { grid-template-columns: 1fr; } }
.rc-unassigned h4 { margin: 0 0 6px; }
.rc-people-list { list-style: none; margin: 0; padding: 4px; min-height: 60px; max-height: 70vh; overflow: auto; border: 1px dashed #c4ccd5; border-radius: 6px; }
.rc-people-list.is-drop { background: #eef5fc; border-color: #05478d; }
.rc-person { display: grid; grid-template-columns: 52px 20px 1fr 26px 20px; grid-template-areas: "dos ico naam age opm" "mv mv mv mv mv"; gap: 2px 4px; align-items: center; padding: 4px 6px; border-radius: 4px; cursor: grab; font-size: 13px; }
.rc-person:hover, .rc-person:focus-visible { background: #f1f4f7; outline: none; }
.rc-person.is-sel { background: #dbeaf8; box-shadow: inset 0 0 0 2px #05478d; }
.rc-person.is-monitor { font-weight: 700; }
.rc-p-dossier { grid-area: dos; font-variant-numeric: tabular-nums; }
.rc-p-icon { grid-area: ico; text-align: center; }
.rc-p-naam { grid-area: naam; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-p-age { grid-area: age; text-align: right; color: #5b6875; font-variant-numeric: tabular-nums; }
.rc-p-opm { grid-area: opm; cursor: help; text-align: center; }
.rc-move { grid-area: mv; font-size: 12px; padding: 1px 4px; max-width: 100%; }
.rc-done { padding: 8px; color: #2e7d32; font-weight: 600; list-style: none; }
.rc-plans { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.rc-plan { margin: 0; flex: 1 1 320px; max-width: 560px; }
.rc-plan figcaption { font-weight: 600; margin-bottom: 4px; }
.rc-stage { position: relative; display: inline-block; width: 100%; line-height: 0; border: 1px solid #d5dbe1; border-radius: 6px; overflow: hidden; background: #fff; }
.rc-stage img { width: 100%; height: auto; display: block; user-select: none; }
.rc-stage-edit { cursor: crosshair; }
.rc-seat { position: absolute; transform: translate(-50%, -50%); min-width: 26px; height: 26px; padding: 0 3px; border-radius: 6px; border: 2px solid #05478d; background: rgba(255,255,255,.92); color: #05478d; font: 600 11px/1 system-ui, sans-serif; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.rc-seat-bed { border-color: #6a3fa0; color: #6a3fa0; border-radius: 3px; min-width: 34px; }
.rc-seat.is-taken { background: #05478d; color: #fff; height: 32px; }
.rc-seat-bed.is-taken { background: #6a3fa0; }
.rc-seat.is-monitor { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1e9bd7; }
.rc-seat.is-drop { box-shadow: 0 0 0 3px #f2b705; }
.rc-seat:disabled { cursor: default; opacity: 1; }
.rc-seat-who { font-size: 9px; font-weight: 500; margin-top: 1px; }
.rc-noplan { padding: 10px 12px; background: #fff8e6; border-radius: 6px; line-height: 1.4; }
.rc-table .rt-swatch { margin-right: 6px; }
.rc-dialog { width: min(900px, 94vw); padding: 0; border: 0; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.rc-dialog::backdrop { background: rgba(10,20,30,.45); }
.rc-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #e3e7eb; }
.rc-dialog-head h3 { margin: 0; }
.rc-map { height: min(600px, 70vh); }
.rc-plans-title { margin-top: 24px; }
.rc-plancard { margin-top: 12px; }
.rc-plan-decks { display: flex; flex-wrap: wrap; gap: 16px; }
.rc-deck { flex: 1 1 340px; max-width: 620px; }
.rc-deck-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; }
/* v2.21: 4 - Controle Parking */
.rc-day.is-pick { cursor: pointer; }
.rc-day.is-closed .bp-day-count::after { content: ' ✓'; color: #2e7d32; }
.pk-state { margin-top: 12px; border-left: 4px solid #c62828; }
.pk-state.is-ok { border-left-color: #2e7d32; }
.pk-state-title { font-weight: 600; margin: 0 0 6px; }
.pk-wrap { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 16px; align-items: start; margin-top: 14px; }
@media (max-width: 900px) { .pk-wrap { grid-template-columns: 1fr; } }
.pk-left { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 70px; max-height: calc(100vh - 90px); overflow: auto; }
.pk-parking { background: #fdecea; border: 2px dashed #c62828; border-radius: 8px; padding: 8px 10px; }
.pk-parking.is-drop { background: #f9d4cf; }
.pk-title { margin: 0 0 6px; font-size: .95rem; color: #8e1b1b; letter-spacing: .02em; }
.pk-list { border: 0; background: transparent; max-height: none; padding: 0; }
.pk-person { background: rgba(255,255,255,.75); margin-bottom: 3px; }
.pk-need { grid-area: mv; font-size: 11px; color: #8e1b1b; }
.pk-right { display: flex; flex-direction: column; gap: 14px; }
.pk-bus.is-target { box-shadow: 0 0 0 3px #2e7d32; }
.pk-bus.is-dim { opacity: .45; }
.pk-free { margin-left: auto; font-size: .85rem; font-weight: 600; color: #2e7d32; }
.pk-free.is-full { color: #8a96a3; }
.rc-seat.is-free { border-color: #2e7d32; color: #1d6b3a; background: #e8f5e9; }
.pk-zone { display: block; width: 100%; padding: 14px; border: 2px dashed #2e7d32; border-radius: 6px; background: #f1f8f2; color: #1d6b3a; cursor: pointer; text-align: left; }
.pk-zone:disabled { opacity: .6; cursor: default; }
.pk-zone.is-drop { background: #dcefe0; }
.pk-plan { max-width: 380px; }
.pk-onboard { margin-top: 8px; }
.pk-onboard-list { list-style: none; margin: 6px 0 0; padding: 0; }
.pk-onboard-list li { display: grid; grid-template-columns: 52px 20px 1fr auto auto; gap: 6px; align-items: center; padding: 2px 0; font-size: 13px; }
.pk-onboard-list li.is-monitor { font-weight: 700; }
.pk-seatnr { color: #5b6875; font-size: 12px; }
.rc-deck-tools input.rt-num { width: 90px; flex: 0 0 auto; }
.rc-deck .form-actions label.btn { cursor: pointer; }
.rc-acts a.btn, .pk-back-links a.btn { text-decoration: none; }
/* v2.22: 1 - Dagoverzicht heen + terug, knop naar stap 2 onder de boekingen */
.bp-day-ht { font-size: 10px; font-weight: 600; opacity: .9; white-space: nowrap; }
.bp-dirsec { margin-top: 18px; padding-top: 4px; border-top: 3px solid var(--navy); }
.bp-dirsec-terug { border-top-color: var(--sky); }
.bp-dirsec-title { margin: 8px 0 4px; font-size: 1.3rem; }
.bp-next-row { justify-content: flex-end; margin-top: 12px; }
/* v2.22: 2 - Planning Ritten heen + terug, navigatie per rit */
.rt-dirsec { margin-top: 18px; padding-top: 4px; border-top: 3px solid var(--navy); }
.rt-dirsec-terug { border-top-color: var(--sky); margin-top: 32px; }
.rt-dirsec-title { margin: 8px 0; font-size: 1.3rem; }
.rt-stepnav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.rt-stepnav .rt-next { margin-top: 0; margin-left: auto; }
.rt-prev { text-decoration: none; gap: 6px; }
/* v2.22: menu Busplanning – stippellijnen rond de stappen 1–4, stappen in oplopend grijs */
.mainnav .nav-menu a.nav-sep-before { margin-top: 5px; position: relative; }
.mainnav .nav-menu a.nav-sep-before::before { content: ''; position: absolute; left: 6px; right: 6px; top: -4px; border-top: 2px dotted #9aa6b2; }
.mainnav .nav-menu a.nav-step { margin-top: 2px; color: #1f2a36; }
.mainnav .nav-menu a.nav-step-1 { background: #f2f4f6; }
.mainnav .nav-menu a.nav-step-2 { background: #e6e9ed; }
.mainnav .nav-menu a.nav-step-3 { background: #d9dde2; }
.mainnav .nav-menu a.nav-step-4 { background: #ccd1d7; }
.mainnav .nav-menu a.nav-step:hover, .mainnav .nav-menu a.nav-step.active { background: var(--sky-soft); color: var(--navy); }
/* v2.22: kaart maximaliseren */
.rt-maxbtn { display: block; width: 30px; height: 30px; line-height: 30px; text-align: center; font-size: 17px; text-decoration: none; color: #1f2a36; background: #fff; cursor: pointer; }
.rt-maxbtn:hover { background: #f1f4f7; }
.leaflet-container.is-max { position: fixed !important; inset: 0; width: 100vw !important; height: 100vh !important; max-height: none !important; z-index: 2000; margin: 0 !important; border-radius: 0 !important; }
html.has-max-map .snowie-launcher { display: none; }
/* v2.22: printicoon per dag en navigatie in stap 3 */
.pk-print { all: unset; box-sizing: border-box; cursor: pointer; font-size: 14px; line-height: 1; padding: 2px 4px; border-radius: 4px; background: rgba(255,255,255,.9); align-self: flex-end; }
.pk-print:hover, .pk-print:focus-visible { outline: 2px solid #05478d; }
.rc-acts .rt-nextstep, .rc-acts .rt-prev, .rt-stepnav a { text-decoration: none; gap: 6px; }
.rc-stepnav { margin-top: 16px; }
/* v2.23: grondplannen passen op het scherm (vaste hoogte 1400 px, getoond op max. 72 % van de schermhoogte) */
.rc-plan, .pk-plan, .rc-deck { flex: 0 0 auto; max-width: none; }
.rc-stage { width: auto; display: inline-block; }
.rc-stage img { width: auto; height: min(72vh, 700px); max-width: none; }
.pk-plan .rc-stage img { height: min(62vh, 560px); }
.rc-deck .rc-stage img { height: min(80vh, 760px); }
.rc-deck-warn { color: #a3530a; font-weight: 600; }
/* v2.23: bagagelabel – keuzelijst zo breed als nodig */
.rc-table .rt-label-cell select { width: auto; min-width: 0; max-width: 220px; }
.rc-seat-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rc-meldingen { margin-top: 10px; padding: 10px 12px; background: #fff8e6; border-left: 4px solid #d18b00; border-radius: 6px; }
.rc-meldingen-title { margin: 0 0 6px; font-weight: 600; }
.rc-meldingen ul { margin: 0 0 8px 18px; }
/* v2.24: jaaroverzicht heen (H) en terug (T), detailweergave per opstapplaats en bestemming */
.jo-ht { margin-left: 6px; font-size: .72em; vertical-align: 1px; }
.jo-row.jo-second th.jo-date { border-top-color: transparent; }
.jo-daylink .jo-hide { visibility: hidden; }
.jo-total .jo-ht { margin-left: 4px; background: #fff; color: var(--navy); }
.jo-viewseg { margin: 4px 0 8px; }
.jo-counts { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.jo-counts .jo-count-table { flex: 1 1 360px; width: auto; margin: 0; }
.jo-counts .jo-routes-note { flex: 1 1 100%; margin: 0; }
.jo-count-total th, .jo-count-total td { font-weight: 700; border-top: 2px solid var(--line, #cfd8e3); }
/* v2.24: dagoverzicht – begeleiders vetjes en groeperen */
.bp-table tr.is-monitor td { font-weight: 700; }
.bp-table .rt-mon-col { width: 22px; }
.bp-table tr.bp-grouprow th { background: var(--sky-soft, #e8f4fb); color: var(--navy); text-align: left; font-weight: 700; padding-top: 8px; border-top: 2px solid #b9d7ea; }
.bp-table tr.bp-grouprow .bp-groupname { margin-right: 8px; }
.bp-groep { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; }
.bp-groep select { width: auto; }
/* v2.24: 3 - Configuratie Rit – haltes onder elkaar (chronologisch), chauffeurs even breed */
.rc-stops-wrap { margin: 8px 0; }   /* v2.25: haltetabel zoals in stap 2 */
.rt-popup-stop td.num { white-space: nowrap; }
.rc-info-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 280px)); }
.rc-info-grid .field select, .rc-info select.rc-ch { width: 100%; }
@media (max-width: 700px) { .rc-info-grid { grid-template-columns: 1fr; } }
/* v2.25: Professor Snowie – knop boven die van Snowie, eigen kleuraccent */
.snowie-prof .snowie-launcher { bottom: 104px; }
.snowie-prof .snowie-launcher img { width: 66px; height: auto; }
.snowie-prof .snowie-head { background: linear-gradient(135deg, #1c2533, #05478d); }
.snowie-prof .prof-peek { width: 110px; height: auto; }
.snowie-prof .prof-link::after { content: " ↗"; font-size: .85em; }
/* v2.25: pagina Documentatie */
.docs-intro { display: flex; gap: 16px; align-items: center; margin: 4px 0 14px; }
.docs-intro img { flex: 0 0 auto; }
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 16px; align-items: start; margin-top: 16px; }
.docs-sec h2 { margin-top: 0; }
.docs-sec h3 { margin: 14px 0 6px; font-size: 1rem; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.docs-table td.docs-cell { text-align: right; width: 70px; }
.docs-table .docs-name { font-weight: 600; }
.docs-link { display: inline-block; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line, #cfd8e3); text-decoration: none; font-weight: 600; font-size: .85em; }
.docs-link.docs-html { background: #e8f4fb; }
.docs-link:hover, .docs-link:focus { border-color: var(--sky, #0095da); }
.docs-eerder { margin-top: 10px; }
.docs-eerder summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 4px 0; }
.docs-versie { margin-top: -6px; }
.assist-tabs { margin: 10px 0 14px; }
.assist-link { align-items: center; gap: 14px; }
@media (max-width: 700px) { .docs-grid { grid-template-columns: 1fr; } .docs-intro img { display: none; } }
@media (max-width: 640px) { .snowie-prof .snowie-launcher { bottom: 84px; } }

/* v2.25: Documentatie in het hoofdmenu – op smallere schermen enkel een boekicoon (menu blijft op één regel) */
.mainnav a.nav-docs { display: flex; align-items: center; gap: 6px; }
.mainnav a.nav-docs::before { content: ''; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dce9f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V3H6.5A2.5 2.5 0 0 0 4 5.5z'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 1240px) {
    .mainnav a.nav-docs { font-size: 0; gap: 0; padding-left: 12px; padding-right: 12px; }
}
@media (min-width: 601px) and (max-width: 1100px) {
    .mainnav a, .nav-group-btn { padding-left: 11px; padding-right: 11px; }
    .mainnav a.nav-docs { padding-left: 10px; padding-right: 10px; }
}

/* v2.26: kaart-tooltip met meerdere ritten als tabel (alles binnen de ballon) */
.rt-popup-tabel { border-collapse: collapse; margin-top: 6px; font-size: 13px; }
.rt-popup-tabel th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--muted, #6b7785); padding: 2px 6px; text-align: left; border-bottom: 1px solid #e3e7eb; white-space: nowrap; }
.rt-popup-tabel td { padding: 3px 6px; white-space: nowrap; }
.rt-popup-tabel th.num, .rt-popup-tabel td.num { text-align: right; font-variant-numeric: tabular-nums; }
.rt-popup-tabel td.rt-popup-rit { font-weight: 600; }
.rt-popup-tabel tfoot td { border-top: 1px solid #c9d0d7; font-weight: 600; }
.leaflet-popup-content .rt-popup-stop { max-width: 100%; }

/* v2.26: knoppen van Snowie en Professor Snowie even breed, tekst op twee regels */
.snowie-launcher { width: 212px; height: 64px; padding: 6px 14px 6px 6px; justify-content: flex-start; text-align: left; }
.snowie-launcher img { width: 52px; flex: none; }
.snowie-prof .snowie-launcher img { width: 56px; }
.snowie-launcher-label { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.snowie-launcher-pre { font-weight: 500; font-size: 12px; opacity: .85; }
.snowie-launcher-naam { font-weight: 700; font-size: 15px; white-space: nowrap; }
@media (max-width: 640px) { .snowie-launcher { width: auto; height: auto; } }
.mainnav .nav-menu a.nav-step-5 { background: #bfc5cc; }   /* v2.26: 5 - Overzicht & Publicatie, nog een tint donkerder */
/* v2.26: status Gepubliceerd */
.rt-status.is-gepubliceerd { background: #fbe4dc; color: #8a2e12; }
.rc-ride.is-gepubliceerd .rc-ride-btn { background: #fbe4dc; }
.rc-naar5 { margin-left: 8px; }
/* v2.26: filters met meervoudige keuze */
.filter-multi { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-multi label { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border: 1px solid #c9d3dd; border-radius: 999px; background: #fff; font-size: 13px; cursor: pointer; user-select: none; }
.filter-multi label.is-on { background: var(--sky-soft, #e8f4fb); border-color: var(--sky, #3aa0dc); color: var(--navy, #05478d); font-weight: 600; }
.filter-multi input { margin: 0; accent-color: var(--navy, #05478d); }
/* v2.26: publicatie in 5 - Overzicht & Publicatie */
.pub-card { margin-bottom: 16px; }
.pub-day { margin-top: 12px; }
.pub-day-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pub-day-head h3 { margin: 0; font-size: 15px; }
.pub-table td.pub-act { text-align: right; white-space: nowrap; }
.pub-table td.pub-act .btn + .btn { margin-left: 6px; }
.ls-bus tr.is-disabled td { color: var(--muted, #6b7785); }
.ls-bus tr.is-disabled input { cursor: not-allowed; }
/* v2.26: stoelen en bedden als volledige vorm – vrij = groen met het nummer, bezet = zwart met muts en dossiernummer */
.rc-seat.rc-seat-vorm { transform: none; min-width: 0; padding: 0; border-radius: 4px; border: 1px solid rgba(0,0,0,.25); overflow: hidden; gap: 0; }
.rc-seat.rc-seat-vorm.is-free { background: #2e9e4c; border-color: #1d6b3a; color: #fff; }
.rc-seat.rc-seat-vorm.is-taken { background: #111; border-color: #000; color: #fff; height: auto; }
.rc-seat.rc-seat-vorm .rc-seat-nr { font-size: clamp(8px, 1.1vw, 12px); font-weight: 700; }
.rc-seat.rc-seat-vorm .rc-seat-who { font-size: clamp(7px, .9vw, 11px); font-weight: 700; line-height: 1; }
.rc-seat.rc-seat-vorm .rc-seat-muts { width: 60%; max-width: 22px; max-height: 45%; object-fit: contain; }
.rc-seat.rc-seat-vorm.is-monitor { box-shadow: inset 0 0 0 2px #1e9bd7; }
.rc-seat.rc-seat-vorm.is-drop { box-shadow: inset 0 0 0 3px #f2b705; }
.rc-seat.rc-seat-vorm.rc-seat-edit { background: rgba(46,158,76,.28); border: 2px solid #1d6b3a; color: #0d3d1c; }
.rc-seat.rc-seat-vorm.rc-seat-edit.rc-seat-bed { background: rgba(106,63,160,.22); border-color: #6a3fa0; color: #3a1f60; }
.rc-seat.rc-seat-edit.is-sel { outline: 2px dashed #f2b705; outline-offset: 1px; z-index: 2; cursor: move; overflow: visible; }
.rc-handle { position: absolute; width: 10px; height: 10px; background: #f2b705; border: 1px solid #7a5b00; border-radius: 2px; }
.rc-handle-nw { left: -6px; top: -6px; cursor: nwse-resize; } .rc-handle-se { right: -6px; bottom: -6px; cursor: nwse-resize; }
.rc-handle-ne { right: -6px; top: -6px; cursor: nesw-resize; } .rc-handle-sw { left: -6px; bottom: -6px; cursor: nesw-resize; }
.filter.filter-multiwrap { flex: 0 0 auto; min-width: 0; }
.filter-multiwrap .filter-multi { flex-wrap: nowrap; }
.filter-multiwrap .filter-multi label { white-space: nowrap; }
@media (max-width: 760px) { .filter.filter-multiwrap { flex: 1 1 100%; } .filter-multiwrap .filter-multi { flex-wrap: wrap; } }

/* v2.27: Beheer → Assistenten – achtergrond volgens de score (tekstcontrast ≥ 4,5:1, getest) */
.snowie-qa[data-score] { border-left-width: 5px; }
.snowie-qa[data-score="1"] { background: #fde4e1; border-color: #f3b3ab; border-left-color: #c8372d; }
.snowie-qa[data-score="2"] { background: #ffead2; border-color: #f5c792; border-left-color: #d9731a; }
.snowie-qa[data-score="3"] { background: #fff6cc; border-color: #ecd77a; border-left-color: #c09a00; }
.snowie-qa[data-score="4"] { background: #e3f5e6; border-color: #a9dcb3; border-left-color: #3f9c58; }
.snowie-qa[data-score="5"] { background: #c6ebd2; border-color: #86cf9d; border-left-color: #1e7d43; }
.snowie-qa[data-score] .muted, .snowie-qa[data-score] .snowie-tag { color: #4a515c; }
.snowie-qa[data-score] .star { color: #6b7682; }
.snowie-qa[data-score] .star.on { color: #8a5600; }
.snowie-qa[data-score] .snowie-rate input { background: #fff; }
.snowie-score-n { font-weight: 700; font-size: 13px; color: var(--ink); }
.snowie-qa.is-saving { opacity: .75; }
/* v2.27: Configuratie → Chauffeurs en de link naar de bus */
.rt-buslink { font-weight: 600; }
.rc-bussen tr.is-selected td { background: #eaf3fc; }
.rc-chauffeurs tr.is-inactive td { color: var(--muted); }
.rc-ch-filters { display: flex; flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.rc-ch-filters > input, .rc-ch-filters > select { width: auto; flex: 0 1 auto; margin: 0; }
.rc-ch-filters > input[type=search] { flex: 1 1 260px; max-width: 420px; }
.rc-chauffeurs td.rc-ch-n, .rc-chauffeurs th.rc-ch-n { text-align: center; }
.rc-ch-thumb { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.rc-ch-foto { width: 140px; height: 140px; border-radius: 10px; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.rc-ch-nofoto { background: #dfe7ef; color: #36414d; font-weight: 700; }
.rc-ch-fotobox { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; }
.rc-ch-form textarea { width: 100%; min-height: 64px; resize: vertical; }
.rc-ch-form .rt-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 16px; }
.rt-form-grid .rt-wide { grid-column: 1 / -1; }
.rt-form.is-readonly input:disabled, .rt-form.is-readonly select:disabled, .rt-form.is-readonly textarea:disabled { color: var(--ink); opacity: 1; background: #f5f7f9; }

/* Snowtravel Sync: installatiecontrole in Instellingen synchronisatie */
dl.check-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; align-items: baseline; margin: 6px 0 14px; }
dl.check-list dt { font-weight: 600; }
dl.check-list dd { margin: 0; overflow-wrap: anywhere; }
dl.check-list dd .badge { margin-right: 6px; }
