/* MSE Tools · basis: kleuren, schil, menu, knoppen, kaarten, grafieken, zijpaneel. Donker eerst. */
:root, [data-theme="dark"] {
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --side-w: 264px;
  --r-card: 18px;
  --gap: 16px;
  --shell: #15171C;
  --card: #1E2129;
  --card-top: #242833;
  --card-2: #272B36;
  --card-3: #323744;
  --line: #323744;
  --line-top: #444B5C;
  --line-2: #3D4353;
  --grid: #2A2E39;
  --ink: #F4F4F2;
  --ink-2: #B4B7BF;
  --ink-3: #80848F;
  --acc: #C91C31;
  --acc-hi: #D92A3F;
  --acc-lo: #AB1428;
  --on-acc: #FFFFFF;
  --acc-soft: rgba(201, 28, 49, .2);
  --acc-ink: #FF5A6E;
  --warn: #F5BF46;
  --warn-ink: #F5BF46;
  --warn-soft: rgba(245, 191, 70, .14);
  --ok: #63B890;
  --ok-soft: rgba(99, 184, 144, .14);
  --bad: #FF5A6E;
  --bad-soft: rgba(255, 90, 110, .14);
  --kolom: #4A4F5C;
  --today: #C91C31;
  --ring: #5B6070;
  --tip-bg: #F4F4F2;
  --tip-ink: #15171C;
  --blok: #0E0F13;
  --blok-lijn: #2D313C;
  --doos: #2C303B;
  --shadow-card: inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-pop: 0 18px 48px -12px rgba(0, 0, 0, .65);
  --shadow-acc: 0 10px 24px -12px rgba(201, 28, 49, .75);
  color-scheme: dark;
}
[data-theme="light"] {
  --shell: #F3F1EC;
  --card: #FFFFFF;
  --card-top: #FFFFFF;
  --card-2: #F4F2ED;
  --card-3: #E6E3DB;
  --line: #E3E0D8;
  --line-top: #E3E0D8;
  --line-2: #D8D4CA;
  --grid: #EDEAE3;
  --ink: #15171C;
  --ink-2: #56585F;
  --ink-3: #8A8C93;
  --acc-ink: #C91C31;
  --warn: #F5BF46;
  --warn-ink: #8A5E00;
  --warn-soft: #FCF0CF;
  --ok: #2F7D5B;
  --ok-soft: #E3F1EA;
  --bad: #C91C31;
  --bad-soft: #FBE6E9;
  --acc-soft: #FBE6E9;
  --kolom: #2B2E37;
  --ring: #BDB9AE;
  --tip-bg: #15171C;
  --tip-ink: #FFFFFF;
  --doos: #15171C;
  --shadow-card: 0 1px 2px rgba(21, 23, 28, .05), 0 10px 26px -18px rgba(21, 23, 28, .16);
  --shadow-pop: 0 18px 44px -14px rgba(21, 23, 28, .28);
  --shadow-acc: 0 10px 22px -12px rgba(201, 28, 49, .55);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--shell); }
body {
  margin: 0; min-height: 100vh;
  font: 500 14px/1.45 var(--font);
  color: var(--ink); background: var(--shell);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  transition: background-color .35s ease, color .35s ease;
}
body.geen-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--acc-ink); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprite .vul { fill: currentColor; stroke: none; }
svg.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.still *, .still *::before, .still *::after { transition: none !important; animation: none !important; }
.mono-l, .mono-b { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
.mono-b { font-weight: 600; }
.ok-t { color: var(--ok); } .warn-t { color: var(--warn-ink); } .bad-t { color: var(--bad); } .mute-t { color: var(--ink-3); }
.mist { color: var(--warn-ink); font-weight: 600; }
.eyebrow { font: 600 11px/1.2 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
kbd { font: 600 10.5px/1 var(--mono); color: var(--ink-3); background: var(--card-2); border: 1px solid var(--line-2); border-radius: 5px; padding: 4px 6px; }

/* ---------- opstartscherm ---------- */
.boot { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--shell); transition: opacity .4s ease; }
.boot.weg { opacity: 0; pointer-events: none; }
.boot-tegel { width: 64px; height: 64px; border-radius: 18px; background: #15171C; border: 1px solid var(--line); display: grid; place-items: center; }
.boot-tegel img { width: 34px; height: auto; display: block; }
.boot-balk { width: 120px; height: 3px; border-radius: 3px; background: var(--card-3); overflow: hidden; }
.boot-balk i { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--acc); animation: boot 1.1s ease-in-out infinite; }
@keyframes boot { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }

/* ---------- schil ---------- */
.app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 14px;
  padding: 18px 14px 14px 16px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 55%, var(--shell));
}
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; padding: 2px 2px 4px; }
.logo-tegel { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: #15171C; border: 1px solid #343846; }
.logo-tegel img { width: 22px; height: auto; display: block; }
.logo-tegel--sm { width: 34px; height: 34px; border-radius: 10px; }
.logo-tegel--sm img { width: 19px; }
.logo b { font-weight: 900; font-size: 17px; letter-spacing: .03em; font-stretch: 112%; white-space: nowrap; }
.logo b span { color: var(--acc-ink); }

.nav { position: relative; display: flex; flex-direction: column; gap: 2px; flex: 1; min-height: 0; }
.nav-lab { font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 16px 0 7px 13px; }
.nav-lab:first-of-type { margin-top: 6px; }
.nav a {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 10px 0 13px; border-radius: 12px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; transition: color .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: var(--card-2); opacity: 0; transition: opacity .2s; }
.nav a:hover::before { opacity: 1; }
.nav a.on, .nav a.on:hover { color: #fff; }
.nav a.on::before { opacity: 0; }
.cnt { margin-left: auto; font: 600 11px/1 var(--mono); font-style: normal; padding: 4px 6px; border-radius: 6px; background: var(--card-3); color: var(--ink-2); transition: background .25s, color .25s; }
.cnt--warn { background: var(--warn-soft); color: var(--warn-ink); }
.nav a.on .cnt { background: rgba(255, 255, 255, .22); color: #fff; }
.nav-end { margin-top: auto; }
.nav-pill { position: absolute; left: 0; right: 0; top: 0; height: 40px; z-index: 0; border-radius: 12px; opacity: 0; background: var(--acc); box-shadow: var(--shadow-acc); will-change: transform, height; }
.side-vandaag {
  display: flex; flex-direction: column; gap: 3px; text-decoration: none; text-align: left;
  padding: 14px 15px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); border-top-color: var(--line-top);
  transition: border-color .2s, background .2s;
}
.side-vandaag:hover { background: var(--card-2); }
.side-vandaag small { font: 600 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.side-vandaag b { font-weight: 800; font-stretch: 118%; font-size: 24px; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; margin-top: 3px; }
.side-vandaag span { font-size: 12.5px; color: var(--ink-2); }

.main { min-width: 0; padding: 0 30px 44px 28px; }
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; height: 70px; margin: 0 -30px 4px -28px; padding: 0 30px 0 28px;
  background: color-mix(in srgb, var(--shell) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.top-brand { display: none; align-items: center; gap: 10px; min-width: 0; }
.top-page { font-weight: 800; font-stretch: 108%; font-size: 17px; letter-spacing: -.01em; }
.search { position: relative; display: flex; align-items: center; gap: 10px; width: min(380px, 38vw); height: 40px; padding: 0 8px 0 13px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.search:focus-within { border-color: var(--acc); }
.search .ic { width: 17px; height: 17px; color: var(--ink-3); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 500 13.5px var(--font); }
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search-res { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-pop); }
.search-res button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; text-align: left; font-weight: 600; font-size: 13.5px; }
.search-res button .ic { width: 16px; height: 16px; color: var(--ink-3); }
.search-res button:hover, .search-res button.on { background: var(--card-2); }
.search-res button > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-res small { margin-left: auto; color: var(--ink-3); font: 500 11px var(--mono); white-space: nowrap; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-date { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-right: 6px; white-space: nowrap; }
.top-date i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.badge--bron { background: var(--warn-soft); color: var(--warn-ink); }
.badge--droog { background: var(--acc-soft); color: var(--acc-ink); }
.ib { width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; text-decoration: none; }
.ib:hover { color: var(--ink); background: var(--card-2); border-color: var(--line-2); }
.ib .ic { width: 17px; height: 17px; }
.ib--s { width: 32px; height: 32px; border-radius: 9px; }
.ib--s .ic { width: 15px; height: 15px; }
.ib--search { display: none; }
.me { width: 38px; height: 38px; border-radius: 11px; background: var(--doos); color: #fff; display: inline-grid; place-items: center; font: 900 11.5px/1 var(--font); letter-spacing: .03em; flex: none; }
[data-theme="light"] .me { color: #fff; }
.me--l { width: 46px; height: 46px; font-size: 13px; border-radius: 13px; }

/* ---------- knoppen en labels ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 11px; font: 700 13.5px/1 var(--font); color: var(--ink); background: var(--card); border: 1px solid var(--line-2); white-space: nowrap; text-decoration: none; transition: background .2s, border-color .2s, transform .15s, opacity .2s; }
.btn:hover { background: var(--card-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn .ic { width: 16px; height: 16px; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; gap: 6px; }
.btn--sm .ic { width: 14px; height: 14px; }
.btn--acc { background: var(--acc); border-color: var(--acc); color: #fff; box-shadow: var(--shadow-acc); }
.btn--acc:hover { background: var(--acc-hi); }
.btn--acc::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transition: left .6s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.btn--acc:hover::after { left: 120%; }
.btn--ghost { background: transparent; }
.btn--blok { width: 100%; height: 44px; }
.btn.bezig { pointer-events: none; }
.btn.bezig::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: draai .7s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }

.pil { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 7px; font: 600 11px/1 var(--mono); white-space: nowrap; background: var(--card-3); color: var(--ink-2); }
.pil::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pil--ok { background: var(--ok-soft); color: var(--ok); }
.pil--warn { background: var(--warn-soft); color: var(--warn-ink); }
.pil--bad { background: var(--bad-soft); color: var(--bad); }
.pil--ink { background: var(--ink); color: var(--card); }
.pil--mute { background: var(--card-3); color: var(--ink-3); }
.dl { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; font: 600 11px/1 var(--mono); background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
.dl--bad { background: var(--bad-soft); color: var(--bad); }
.dl--warn { background: var(--warn-soft); color: var(--warn-ink); }
.stip-d { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.stip-d--ok { background: var(--ok); } .stip-d--warn { background: var(--warn); } .stip-d--bad { background: var(--bad); } .stip-d--acc { background: var(--acc); } .stip-d--ink { background: var(--ink); }
.doos { width: 36px; height: 36px; border-radius: 10px; background: var(--doos); color: #fff; display: inline-grid; place-items: center; flex: none; transition: transform .4s cubic-bezier(.22, 1, .36, 1), background .25s; }
.doos .ic { width: 17px; height: 17px; }
.doos--s { width: 32px; height: 32px; border-radius: 9px; }
.doos--s .ic { width: 16px; height: 16px; }

/* ---------- paginakop en kaarten ---------- */
.page { min-width: 0; }
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 22px 0 22px; }
.ph-eyebrow { font: 600 11px/1.2 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.ph-title { margin: 0; font-weight: 800; font-stretch: 112%; font-size: 34px; line-height: 1.1; letter-spacing: -.03em; }
.ph-title .w, .hero-kop .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.ph-title .w > i, .hero-kop .w > i { display: inline-block; font-style: normal; }
.ph-sub { margin: 9px 0 0; color: var(--ink-2); font-size: 14.5px; max-width: 720px; }
.ph-actions { display: flex; gap: 10px; flex: none; }

.card {
  position: relative; min-width: 0; padding: 20px;
  background: linear-gradient(180deg, var(--card-top) 0%, var(--card) 100%);
  border: 1px solid var(--line); border-top-color: var(--line-top); border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  transition: background-color .35s, border-color .35s;
}
.card-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.card-h--c { align-items: center; }
.card-t { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 108%; font-size: 16px; letter-spacing: -.015em; }
.card-s { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.card-s--r { font: 500 11px var(--mono); }
.sectie-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 34px 0 14px; }
.sectie-h h2 { margin: 0; font-weight: 800; font-stretch: 112%; font-size: 22px; letter-spacing: -.025em; }
.sectie-h a { font: 600 13px var(--font); color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.sectie-h a:hover { color: var(--ink); }
.sectie-h .ic { width: 14px; height: 14px; }

/* ---------- schakelaars ---------- */
.seg { position: relative; display: inline-flex; padding: 3px; background: var(--card-2); border: 1px solid var(--line); border-radius: 11px; flex: none; }
.seg button { position: relative; z-index: 1; height: 30px; padding: 0 12px; border: 0; background: transparent; border-radius: 8px; font: 600 12.5px/1 var(--font); color: var(--ink-2); transition: color .25s; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button.on { color: var(--card); }
.seg-pill { position: absolute; z-index: 0; top: 0; height: 30px; left: 0; width: 0; border-radius: 8px; background: var(--ink); }
.tabs { position: relative; display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin: 0 0 18px; }
.tabs button { position: relative; height: 42px; padding: 0 2px; border: 0; background: transparent; font: 700 13.5px/1 var(--font); color: var(--ink-3); transition: color .25s; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.tabs button:hover { color: var(--ink-2); }
.tabs button.on { color: var(--ink); }
.tabs .cnt { margin-left: 0; }
.tabs button.on .cnt { background: var(--acc); color: #fff; }
.tabs-line { position: absolute; bottom: -1px; left: 0; width: 0; height: 3px; border-radius: 3px; background: var(--acc); }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { position: relative; z-index: 1; height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); font: 600 12.5px/1 var(--font); transition: color .25s, border-color .25s, background .25s; white-space: nowrap; }
.chips button:hover { color: var(--ink); }
.chips button i { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); flex: none; }
.chips button em { font: 600 11px/1 var(--mono); font-style: normal; color: var(--ink-3); }
.chips button.on { color: #fff; border-color: transparent; background: transparent; }
.chips button.on em { color: rgba(255, 255, 255, .8); }
.chips button.on i { background: #fff; }
.chips-pill { position: absolute; z-index: 0; top: 0; left: 0; height: 32px; width: 0; border-radius: 999px; background: var(--acc); box-shadow: var(--shadow-acc); }

/* ---------- kolomgrafiek ---------- */
.kgr { position: relative; height: 240px; user-select: none; -webkit-user-select: none; }
.kgr:focus-visible { outline-offset: 6px; }
.kgr svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kgr .gl { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.kgr .yl, .kgr .gem-t { font: 500 11px var(--mono); fill: var(--ink-3); }
.kgr .gem-t { fill: var(--ink-2); font-weight: 600; }
.kgr .xl { font: 500 11px var(--mono); fill: var(--ink-3); text-anchor: middle; }
.kgr .xl.td { fill: var(--ink); font-weight: 600; }
.kgr .gem { stroke: var(--ink-3); stroke-width: 1; shape-rendering: crispEdges; opacity: .7; }
.kgr .c rect { fill: var(--kolom); transition: fill .2s; }
.kgr .c.td rect { fill: var(--today); }
.kgr .c { transition: opacity .2s; }
.kgr.hov .c:not(.on) { opacity: .3 !important; }
.kgr .c.on rect { fill: var(--ink); }
.kgr .c.td.on rect { fill: var(--today); }
.kgr .nu-t { font: 600 10.5px var(--mono); letter-spacing: .08em; fill: var(--acc-ink); text-transform: uppercase; }
.kgr .hit { fill: transparent; cursor: crosshair; }
.tip { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); background: var(--tip-bg); color: var(--tip-ink); border-radius: 11px; padding: 8px 11px; font-size: 12px; line-height: 1.3; white-space: nowrap; box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .45); opacity: 0; transition: opacity .15s ease; }
.tip.on { opacity: 1; }
.tip b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tip span { display: block; opacity: .62; font-size: 11.5px; margin-top: 2px; }
.tip::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: inherit; transform: rotate(45deg); border-radius: 0 0 2px 0; }
.spark { flex: 0 1 88px; min-width: 46px; height: 30px; overflow: visible; }
.spark path { fill: none; stroke: var(--ink-2); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.spark circle { fill: var(--ink); }

/* ---------- lijsten ---------- */
.rows { display: flex; flex-direction: column; }
.row { display: grid; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); width: 100%; background: transparent; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; color: inherit; border-radius: 12px; transition: background .25s, padding .25s; }
.rows > .row:first-child { border-top-color: transparent; }
button.row:hover { background: var(--card-2); padding-left: 10px; padding-right: 10px; }
.row-t { min-width: 0; }
.row-t b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-t span { display: block; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.tijd { font: 500 11.5px var(--mono); color: var(--ink-3); white-space: nowrap; }

/* ---------- toestanden ---------- */
.laad { display: grid; gap: 10px; padding: 4px 0; }
.skel { display: block; height: 46px; border-radius: 12px; background: linear-gradient(90deg, var(--card-2) 0%, var(--card-3) 50%, var(--card-2) 100%); background-size: 220% 100%; animation: skel 1.5s ease-in-out infinite; }
@keyframes skel { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.leeg-t, .fout-t { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 38px 20px; }
.leeg-t > .ic, .fout-t > .ic { width: 26px; height: 26px; color: var(--ink-3); margin-bottom: 4px; }
.fout-t > .ic { color: var(--bad); }
.leeg-t b, .fout-t b { font-weight: 800; font-stretch: 108%; font-size: 16px; letter-spacing: -.01em; }
.leeg-t span, .fout-t span { color: var(--ink-2); font-size: 13.5px; max-width: 440px; }
.leeg-t .btn, .fout-t .btn { margin-top: 10px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--tip-bg); color: var(--tip-ink); border-radius: 11px; padding: 11px 16px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-pop); transition: opacity .25s, transform .35s cubic-bezier(.2, .8, .2, 1); max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- zijpaneel ---------- */
.drawer-bg { position: fixed; inset: 0; z-index: 90; background: rgba(8, 9, 12, .55); opacity: 0; transition: opacity .3s; }
.drawer-bg.on { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(520px, 100vw); display: flex; flex-direction: column; background: var(--shell); border-left: 1px solid var(--line-2); box-shadow: var(--shadow-pop); }
.drawer--breed { width: min(720px, 100vw); }
.drawer-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.drawer-t { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.drawer-t > div { min-width: 0; }
.drawer-t h2 { margin: 8px 0 0; font-weight: 800; font-stretch: 108%; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.drawer-pil { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 24px 24px; }
.drawer-f { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--card) 60%, var(--shell)); }
.d-sec { padding: 18px 0 4px; }
.d-sec + .d-sec { border-top: 1px solid var(--line); margin-top: 14px; }
.d-kop { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 600 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.d-kop small { font-size: 11px; color: var(--ink-2); background: var(--card-3); border-radius: 6px; padding: 3px 6px; letter-spacing: 0; }
.detail-leeg { margin: 0; color: var(--ink-3); font-size: 13px; }

/* ---------- formulieren ---------- */
.veld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.veld > span { font: 600 10.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.veld input, .veld select, .veld textarea { width: 100%; min-width: 0; height: 42px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); font: 500 14px var(--font); transition: border-color .2s, background .2s; }
.veld textarea { height: auto; padding: 11px 13px; resize: vertical; line-height: 1.45; }
.veld select { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.veld input:focus, .veld select:focus, .veld textarea:focus { border-color: var(--acc); background: var(--card); }
.veld input::placeholder, .veld textarea::placeholder { color: var(--ink-3); }
.zoekveld { display: flex; align-items: center; gap: 9px; height: 38px; width: 280px; padding: 0 12px; border-radius: 11px; background: var(--card-2); border: 1px solid var(--line-2); transition: border-color .2s; }
.zoekveld:focus-within { border-color: var(--acc); }
.zoekveld .ic { width: 15px; height: 15px; color: var(--ink-3); }
.zoekveld input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 500 13.5px var(--font); }
.zoekveld input::placeholder { color: var(--ink-3); }
.zoekveld input::-webkit-search-cancel-button { display: none; }
.zoekveld--vol { width: 100%; }
