/* Overvlucht – stijl. Mobiel eerst; grotere schermen krijgen zijpanelen. */
:root {
  --achtergrond: #0c0c0c;
  --vlak: rgba(17, 22, 30, 0.94);
  --vlak-vast: #11161e;
  --vlak-2: #1a212c;
  --vlak-3: #242d3a;
  --rand: rgba(255, 255, 255, 0.09);
  --tekst: #e8edf5;
  --tekst-zacht: #9aa6b8;
  --accent: #f5b041;
  --accent-tekst: #1b1407;
  --gevaar: #ff4d5e;
  --gevaar-vlak: rgba(255, 77, 94, 0.14);
  --waarschuwing: #fbbf24;
  --waarschuwing-vlak: rgba(251, 191, 36, 0.13);
  --info-vlak: rgba(96, 165, 250, 0.14);
  --ok: #4ade80;
  --straal: 14px;
  --schaduw: 0 8px 28px rgba(0, 0, 0, 0.45);
  --boven: env(safe-area-inset-top, 0px);
  --onder: env(safe-area-inset-bottom, 0px);
  --links: env(safe-area-inset-left, 0px);
  --rechts: env(safe-area-inset-right, 0px);
  --kop-h: 60px;
  --voet-h: 40px;
  --rand-ruimte: 12px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--achtergrond);
  color: var(--tekst);
  font: 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

#kaart { position: fixed; inset: 0; }
.maplibregl-canvas:focus-visible { outline: none; }

/* ---------- Kopbalk ---------- */
.kop {
  position: fixed; z-index: 20;
  top: 0; left: 0; right: 0;
  padding: calc(var(--boven) + 10px) calc(var(--rechts) + var(--rand-ruimte)) 10px calc(var(--links) + var(--rand-ruimte));
  display: flex; gap: 10px; align-items: center;
  background: linear-gradient(to bottom, rgba(12, 12, 12, 0.85), rgba(12, 12, 12, 0));
  pointer-events: none;
}
.kop > * { pointer-events: auto; }
.merk { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.merk img { display: block; border-radius: 8px; }
.merk-naam { font-weight: 650; letter-spacing: 0.01em; display: none; }
.demo-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 6px;
  background: var(--accent); color: var(--accent-tekst);
}

.zoek { position: relative; flex: 1; min-width: 0; max-width: 520px; }
.zoek input {
  width: 100%; height: 44px; padding: 0 14px 0 40px;
  border-radius: 12px; border: 1px solid var(--rand);
  background: var(--vlak); color: var(--tekst);
  font-size: 16px; /* voorkomt inzoomen op iPhone */
  box-shadow: var(--schaduw);
  -webkit-appearance: none; appearance: none;
}
.zoek input::placeholder { color: var(--tekst-zacht); }
.zoek input:focus { outline: none; border-color: var(--accent); }
.zoek-icoon { position: absolute; left: 12px; top: 12px; width: 20px; height: 20px; color: var(--tekst-zacht); pointer-events: none; }
.zoek-resultaten {
  position: absolute; top: 50px; left: 0; right: 0; margin: 0; padding: 6px; list-style: none;
  background: var(--vlak-vast); border: 1px solid var(--rand); border-radius: 12px; box-shadow: var(--schaduw);
  max-height: min(60vh, 420px); overflow: auto; overscroll-behavior: contain;
}
.zoek-resultaten li { border-radius: 8px; }
.zoek-resultaten li[role="option"] { padding: 10px 10px; cursor: pointer; display: flex; gap: 10px; align-items: baseline; }
.zoek-resultaten li[aria-selected="true"], .zoek-resultaten li[role="option"]:hover { background: var(--vlak-3); }
.zoek-resultaten .hoofd { font-weight: 600; font-variant-numeric: tabular-nums; }
.zoek-resultaten .sub { color: var(--tekst-zacht); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zoek-resultaten .leeg { padding: 10px; color: var(--tekst-zacht); font-size: 14px; }

/* ---------- Knoppen rechts ---------- */
.knoppen {
  position: fixed; z-index: 15;
  right: calc(var(--rechts) + var(--rand-ruimte));
  top: calc(var(--boven) + var(--kop-h) + 6px);
  display: flex; flex-direction: column; gap: 8px;
  transition: right 0.2s ease;
}
.knop {
  position: relative; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; cursor: pointer;
  background: var(--vlak); border: 1px solid var(--rand); box-shadow: var(--schaduw);
}
.knop svg { width: 22px; height: 22px; }
.knop:hover { background: var(--vlak-2); }
.knop[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.knop-tekst-3d { font-weight: 750; font-size: 14px; letter-spacing: 0.02em; }
.knop[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-tekst); }
.knop .stip { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (pointer: coarse) { .alleen-muis { display: none; } }

/* ---------- Meldingen ---------- */
.meldingen {
  position: fixed; z-index: 18;
  top: calc(var(--boven) + var(--kop-h) + 6px);
  left: 50%; transform: translateX(-50%);
  width: min(520px, calc(100% - 2 * var(--rand-ruimte) - 60px));
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
.meldingen > * { pointer-events: auto; }
.melding {
  display: flex; gap: 8px; align-items: flex-start; max-width: 520px;
  padding: 9px 8px 9px 14px; border-radius: 18px; font-size: 14px;
  background: var(--vlak-vast); border: 1px solid var(--rand); box-shadow: var(--schaduw);
  border-left: 4px solid var(--tekst-zacht);
}
.melding.fout { border-left-color: var(--gevaar); background: linear-gradient(var(--gevaar-vlak), var(--gevaar-vlak)), var(--vlak-vast); }
.melding.waarschuwing { border-left-color: var(--waarschuwing); background: linear-gradient(var(--waarschuwing-vlak), var(--waarschuwing-vlak)), var(--vlak-vast); }
.melding.info { border-left-color: #60a5fa; background: linear-gradient(var(--info-vlak), var(--info-vlak)), var(--vlak-vast); }
.melding-tekst { flex: 1; }
.melding-sluit { flex: none; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; color: var(--tekst-zacht); display: grid; place-items: center; border-radius: 8px; }
.melding-sluit svg { width: 18px; height: 18px; }
.melding-sluit:hover { background: var(--vlak-3); }

.nood-pil {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 8px 14px; border-radius: 999px; cursor: pointer; text-align: left;
  border: 1px solid var(--gevaar); background: #2a0d12; color: #ffd9dd; font-weight: 600; font-size: 14px;
  box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.6); animation: puls 2s infinite;
}
.nood-pil .code { background: var(--gevaar); color: #fff; padding: 1px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.55); } 70% { box-shadow: 0 0 0 12px rgba(255, 77, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); } }
@media (prefers-reduced-motion: reduce) { .nood-pil { animation: none; } .knoppen { transition: none; } }

/* ---------- Status en legenda ---------- */
.status {
  position: fixed; z-index: 12;
  left: calc(var(--links) + var(--rand-ruimte));
  bottom: calc(var(--voet-h) + 10px);
  max-width: calc(100% - 2 * var(--rand-ruimte) - 120px);
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; font-size: 13px;
  background: var(--vlak); border: 1px solid var(--rand); box-shadow: var(--schaduw);
  font-variant-numeric: tabular-nums;
}
#status-tekst { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-stip { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--tekst-zacht); }
.status-stip.ok { background: var(--ok); }
.status-stip.oud { background: var(--waarschuwing); }
.status-stip.fout { background: var(--gevaar); }

.kaartje {
  background: var(--vlak); border: 1px solid var(--rand); border-radius: var(--straal); box-shadow: var(--schaduw);
}
.legenda {
  position: fixed; z-index: 13;
  right: calc(var(--rechts) + var(--rand-ruimte));
  bottom: calc(var(--voet-h) + 58px);
  width: 240px; max-height: calc(100% - var(--kop-h) - var(--voet-h) - 120px); overflow: auto;
  padding: 12px 14px; font-size: 13px;
}
.legenda h2 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tekst-zacht); }
.legenda ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.legenda-vormen { margin-top: 10px !important; padding-top: 10px !important; border-top: 1px solid var(--rand) !important; }
.legenda li { display: flex; align-items: center; gap: 10px; }
.legenda .kleur { width: 22px; height: 8px; border-radius: 4px; flex: none; }
.legenda img { width: 22px; height: 22px; flex: none; }
.legenda .ring { width: 18px; height: 18px; margin: 2px; border-radius: 50%; flex: none; }
.legenda .ring.nood { border: 2px solid var(--gevaar); background: rgba(255, 77, 94, 0.25); }
.legenda .ring.sel { border: 2px solid #fff; }

/* ---------- Panelen (onderblad op mobiel, zijpaneel op groot scherm) ---------- */
.paneel {
  position: fixed; z-index: 25;
  left: 0; right: 0; bottom: 0;
  max-height: min(52vh, 520px);
  display: flex; flex-direction: column;
  background: var(--vlak-vast); border-top: 1px solid var(--rand);
  border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  padding-bottom: var(--onder);
}
.paneel-kop {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 12px 10px 18px; border-bottom: 1px solid var(--rand);
}
.paneel-kop h2 { margin: 0; font-size: 17px; flex: 1; }
.paneel-sluit {
  flex: none; width: 40px; height: 40px; margin: -6px -2px 0 0; border: 0; border-radius: 10px;
  background: var(--vlak-2); cursor: pointer; display: grid; place-items: center;
}
.paneel-sluit svg { width: 20px; height: 20px; }
.paneel-inhoud { padding: 14px 18px 18px; overflow: auto; overscroll-behavior: contain; flex: 1 1 auto; min-height: 0; }

/* Schakelaars */
.schakel { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; cursor: pointer; }
.schakel input { position: absolute; opacity: 0; pointer-events: none; }
.schakel-baan { flex: none; position: relative; width: 42px; height: 26px; border-radius: 13px; background: var(--vlak-3); transition: background 0.15s; margin-top: -2px; }
.schakel-baan::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #cfd6e2; transition: transform 0.15s; }
.schakel input:checked + .schakel-baan { background: var(--accent); }
.schakel input:checked + .schakel-baan::after { transform: translateX(16px); background: #fff; }
.schakel input:focus-visible + .schakel-baan { outline: 2px solid var(--accent); outline-offset: 2px; }
.schakel small { display: block; color: var(--tekst-zacht); font-size: 13px; }

.squawk-uitleg { margin: 2px 0 10px 54px; display: grid; gap: 4px; font-size: 13px; }
.squawk-uitleg div { display: flex; gap: 8px; }
.squawk-uitleg dt { font-weight: 700; color: #ffb3bb; font-variant-numeric: tabular-nums; }
.squawk-uitleg dd { margin: 0; color: var(--tekst-zacht); }

.hoogte { border: 1px solid var(--rand); border-radius: 12px; padding: 10px 14px 12px; margin: 10px 0 0; }
.hoogte legend { padding: 0 6px; font-weight: 600; }
.hoogte-waarde { margin: 0 0 6px; font-variant-numeric: tabular-nums; color: var(--accent); }
.hoogte label { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; font-size: 14px; color: var(--tekst-zacht); }
.hoogte input[type="range"] { width: 100%; height: 36px; accent-color: var(--accent); }
.hint { margin: 6px 0 0; font-size: 12.5px; color: var(--tekst-zacht); }
.filter-telling { margin: 12px 0 8px; color: var(--tekst-zacht); font-size: 14px; }
.knop-tekst {
  border: 1px solid var(--rand); background: var(--vlak-2); border-radius: 10px; padding: 9px 14px; cursor: pointer;
}
.knop-tekst:hover { background: var(--vlak-3); }

/* ---------- Detailpaneel ---------- */
.details-kop { align-items: center; }
.details-titel { flex: 1; min-width: 0; }
.details-titel h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 20px; letter-spacing: 0.01em; }
.details-sub { margin: 2px 0 0; color: var(--tekst-zacht); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; padding: 2px 7px; border-radius: 6px; text-transform: uppercase; }
.badge.mil { background: #2b3a1e; color: #c7e59a; border: 1px solid #4f6b2e; }
.badge.nood { background: var(--gevaar); color: #fff; }
.badge.weg { background: var(--vlak-3); color: var(--tekst-zacht); }
.details-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 18px 2px; }
.actie-knop {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px;
  border-radius: 10px; border: 1px solid var(--rand); background: var(--vlak-2); cursor: pointer; font-size: 14px;
}
.actie-knop:hover { background: var(--vlak-3); }
.actie-knop svg { width: 18px; height: 18px; }
.actie-knop[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-tekst); font-weight: 600; }
.actie-melding { font-size: 13px; color: var(--ok); }
.nood-uitleg {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px;
  background: var(--gevaar-vlak); border: 1px solid rgba(255, 77, 94, 0.45); color: #ffd9dd;
}
.nood-uitleg strong { color: #fff; }
.weg-uitleg { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; background: var(--vlak-2); color: var(--tekst-zacht); }
.gegevens { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--rand); border-radius: 12px; overflow: hidden; border: 1px solid var(--rand); }
.gegevens > div { background: var(--vlak-vast); padding: 9px 12px; min-width: 0; }
.gegevens > div.breed { grid-column: 1 / -1; }
.gegevens dt { font-size: 12px; color: var(--tekst-zacht); }
.gegevens dd { margin: 2px 0 0; font-size: 15px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gegevens dd small { color: var(--tekst-zacht); font-size: 12.5px; }
.gegevens dd.onbekend { color: var(--tekst-zacht); font-style: italic; }
.gegevens dd.nood { color: #ff8a96; font-weight: 700; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.details-voet { margin: 12px 2px 0; font-size: 12.5px; color: var(--tekst-zacht); }

/* ---------- Voettekst ---------- */
.voet {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  padding: 6px calc(var(--rechts) + var(--rand-ruimte)) calc(var(--onder) + 6px) calc(var(--links) + var(--rand-ruimte));
  font-size: 11.5px; line-height: 1.45; color: var(--tekst-zacht);
  background: rgba(10, 12, 16, 0.88); border-top: 1px solid var(--rand);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.voet a { color: #c9d3e2; text-decoration: underline; text-decoration-color: rgba(201, 211, 226, 0.35); text-underline-offset: 2px; }
.voet .scheiding { margin: 0 4px; }

.paneel { bottom: var(--voet-h); padding-bottom: 0; }

.noscript { position: fixed; inset: 40% 20px auto; text-align: center; }
.fout-scherm { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: var(--achtergrond); text-align: center; }
.fout-scherm div { max-width: 440px; }
.fout-scherm h1 { font-size: 20px; }
.fout-scherm p { color: var(--tekst-zacht); }

/* ---------- Grotere schermen ---------- */
@media (min-width: 600px) {
  .merk-naam { display: inline; }
}
@media (min-width: 900px) {
  :root { --rand-ruimte: 16px; }
  .paneel {
    top: calc(var(--boven) + var(--kop-h) + 6px); bottom: auto;
    width: 360px; max-height: calc(100% - var(--kop-h) - var(--voet-h) - 30px);
    border: 1px solid var(--rand); border-radius: var(--straal); box-shadow: var(--schaduw);
  }
  /* Vluchtpaneel links, filters rechts naast de knoppen. */
  .paneel-detail { right: auto; left: calc(var(--links) + var(--rand-ruimte)); width: 360px; }
  .paneel-filter { left: auto; right: calc(var(--rechts) + var(--rand-ruimte) + 56px); width: 320px; }
  body.details-open .status { left: calc(var(--links) + var(--rand-ruimte) + 372px); }
  body.filters-open .legenda { display: none; }
}

@media (max-width: 899px) {
  .meldingen { left: calc(var(--links) + var(--rand-ruimte)); transform: none; width: auto; right: calc(var(--rechts) + var(--rand-ruimte) + 56px); align-items: flex-start; }
}

/* ---------- 2D/3D-schakelaar rechtsonder ---------- */
.weergave {
  position: fixed; z-index: 14;
  right: calc(var(--rechts) + var(--rand-ruimte));
  bottom: calc(var(--voet-h) + 10px);
  display: flex; padding: 3px; gap: 2px; border-radius: 12px;
  background: var(--vlak); border: 1px solid var(--rand); box-shadow: var(--schaduw);
}
.weergave button {
  border: 0; background: none; cursor: pointer; padding: 7px 13px; border-radius: 9px;
  font-weight: 700; font-size: 13px; color: var(--tekst-zacht);
}
.weergave button[aria-pressed="true"] { background: var(--vlak-3); color: var(--tekst); }
.weergave button:disabled { opacity: 0.6; cursor: progress; }

/* ---------- Vluchtpaneel ---------- */
.details-kop { gap: 12px; }
.mij-badge {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: 0.02em; color: #fff;
  background: var(--vlak-3); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}
.mij-badge-leeg img { width: 26px; height: 26px; }
.paneel-detail .paneel-inhoud { display: grid; gap: 10px; padding: 12px 14px 14px; }
.kaart-blok { background: var(--vlak-2); border: 1px solid var(--rand); border-radius: 14px; padding: 12px 14px; }

.route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.route-veld { display: grid; min-width: 0; }
.route-veld strong { font-size: 24px; letter-spacing: 0.02em; line-height: 1.1; }
.route-veld span { font-size: 12.5px; color: var(--tekst-zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.route-veld:last-of-type { text-align: right; }
.route-lijn { position: relative; height: 2px; background: var(--vlak-3); border-radius: 2px; margin-bottom: 16px; }
.route-gevlogen { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 2px; }
.route-vlieg { position: absolute; top: -10px; width: 20px; height: 20px; margin-left: -10px; color: var(--accent); transform: rotate(0deg); }
.route-vlieg svg { width: 20px; height: 20px; transform: rotate(90deg); }
.route-noot { grid-column: 1 / -1; margin: 0; font-size: 11.5px; color: var(--tekst-zacht); }

.stat-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { display: grid; gap: 2px; }
.stat-label { font-size: 12.5px; color: var(--tekst-zacht); }
.stat-waarde { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat-waarde small { font-size: 13px; font-weight: 500; color: var(--tekst-zacht); }
.stat-sub { font-size: 12px; color: var(--tekst-zacht); min-height: 1em; }
.mini { width: 100%; height: 24px; margin-top: 4px; }
.mini polyline { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mini .mini-leeg { stroke: var(--vlak-3); stroke-width: 1.4; vector-effect: non-scaling-stroke; }

.toestel-kop { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.toestel-kop h3 { margin: 0; font-size: 18px; flex: 1; line-height: 1.25; }
.chip { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 8px; background: var(--vlak-3); color: var(--tekst-zacht); }
.foto-link { display: block; border-radius: 10px; overflow: hidden; background: #000; }
.foto-link img { display: block; width: 100%; height: auto; }
.foto-leeg { display: grid; place-items: center; gap: 6px; padding: 18px 0 12px; color: var(--tekst-zacht); font-size: 12.5px; }
.foto-leeg img { width: 56px; height: 56px; opacity: 0.8; }
.foto-credit { margin: 6px 0 0; font-size: 11.5px; color: var(--tekst-zacht); }
.foto-credit a { color: var(--tekst-zacht); }
.toestel-feiten { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 14px; margin: 10px 0 0; }
.toestel-feiten dt { font-size: 11.5px; color: var(--tekst-zacht); }
.toestel-feiten dd { margin: 2px 0 0; font-weight: 700; font-size: 14.5px; overflow-wrap: anywhere; }
.toestel-feiten div:last-child { text-align: right; }

.sectie { padding: 0; }
.sectie summary { cursor: pointer; list-style: none; padding: 12px 14px; font-weight: 650; display: flex; align-items: center; justify-content: space-between; }
.sectie summary::-webkit-details-marker { display: none; }
.sectie summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--tekst-zacht); border-bottom: 2px solid var(--tekst-zacht); transform: rotate(45deg); margin-right: 4px; transition: transform 0.15s; }
.sectie[open] summary::after { transform: rotate(-135deg); }
.sectie .gegevens { margin: 0 10px 10px; }

.actiebalk {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 8px 10px calc(8px + var(--onder)); border-top: 1px solid var(--rand); background: var(--vlak-vast);
  border-radius: 0 0 var(--straal) var(--straal);
}
.actiebalk .actie-knop { flex-direction: column; height: auto; padding: 7px 4px; gap: 3px; font-size: 12px; justify-content: center; border-radius: 12px; }
.actiebalk .actie-knop svg { width: 20px; height: 20px; }
.actie-melding { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 6px); margin: 0; text-align: center; padding: 6px 10px; border-radius: 10px; background: var(--vlak-3); color: var(--tekst); font-size: 13px; }

/* ---------- Instellingen: icoonkleur ---------- */
.segment { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--vlak-2); border: 1px solid var(--rand); }
.segment button { border: 0; background: none; cursor: pointer; padding: 6px 12px; border-radius: 8px; font-size: 13.5px; color: var(--tekst-zacht); }
.segment button[aria-pressed="true"] { background: var(--vlak-3); color: var(--tekst); font-weight: 600; }
.instelling { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0 12px; }

/* ---------- Registerinformatie in het paneel ---------- */
.toestel-silhouet { width: 34px; height: 34px; flex: none; }
.toestel-klasse { margin: -2px 0 10px; font-size: 13px; color: var(--tekst-zacht); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.klasse-chip { font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; padding: 2px 8px; border-radius: 999px; background: var(--vlak-3); color: var(--tekst); }
.klasse-military { background: #2b3a1e; color: #c7e59a; }
.klasse-cargo { background: #3a2f17; color: #f3d28b; }
.klasse-airliner { background: #1d2d44; color: #b8d4ff; }
.klasse-helicopter, .klasse-emergency { background: #3a1d24; color: #ffc0c8; }
.klasse-business { background: #2d2440; color: #d9c7ff; }
.onzeker { font-size: 11px; padding: 1px 6px; border-radius: 6px; border: 1px dashed rgba(255, 255, 255, 0.3); cursor: help; }
.legenda-noot { display: block !important; font-size: 11.5px; color: var(--tekst-zacht); margin-top: 4px; }
.legenda-noot a { color: var(--accent); }

.zoek-resultaten li[role="option"] { align-items: center; }
.zr-icoon { width: 30px; height: 30px; flex: none; }
.zr-tekst { display: grid; min-width: 0; }

/* =====================================================================
   LIQUID GLASS – één ontwerpsysteem voor alle zwevende onderdelen.
   Doorschijnend glas met blur, een fijne rand, een subtiele glanslijn en
   zachte schaduw. Tekstpanelen krijgen sterker glas voor leesbaarheid.
   ===================================================================== */
:root {
  --glas: rgba(22, 27, 37, 0.52);
  --glas-sterk: rgba(15, 19, 27, 0.76);
  --glas-hover: rgba(40, 47, 60, 0.62);
  --glas-rand: rgba(255, 255, 255, 0.13);
  --glas-rand-licht: rgba(255, 255, 255, 0.22);
  --glas-glans: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 38%, rgba(255, 255, 255, 0) 62%);
  --glas-blur: blur(24px) saturate(170%);
  --glas-schaduw: 0 12px 32px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --straal: 18px;
  --balk-h: 44px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
}

.zoek input, .knop, .melding, .status, .kaartje, .weergave, .zoek-resultaten, .snelfilters, .snel-chip, .nood-pil {
  background: var(--glas-glans), var(--glas);
  -webkit-backdrop-filter: var(--glas-blur);
  backdrop-filter: var(--glas-blur);
  border: 1px solid var(--glas-rand);
  box-shadow: var(--glas-schaduw);
}
.paneel, .zoek-resultaten {
  background: var(--glas-glans), var(--glas-sterk);
  -webkit-backdrop-filter: var(--glas-blur);
  backdrop-filter: var(--glas-blur);
  border: 1px solid var(--glas-rand);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.kop { background: linear-gradient(to bottom, rgba(10, 12, 17, 0.55), rgba(10, 12, 17, 0)); }
.zoek input { border-radius: 14px; height: 46px; font-size: 16px; }
.zoek input:focus { border-color: rgba(245, 176, 65, 0.7); box-shadow: var(--glas-schaduw), 0 0 0 4px rgba(245, 176, 65, 0.14); }
.knop { border-radius: 14px; transition: background 0.18s var(--ease), transform 0.18s var(--ease), border-color 0.18s; }
.knop:hover { background: var(--glas-glans), var(--glas-hover); border-color: var(--glas-rand-licht); }
.knop:active { transform: scale(0.96); }
.knop .stip { top: 4px; right: 4px; width: auto; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; font-size: 10.5px; font-weight: 800; line-height: 16px; text-align: center; color: var(--accent-tekst); }
.paneel { border-radius: 22px 22px 0 0; }
.kaart-blok { background: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.08); border-radius: 16px; }
.actiebalk { background: rgba(10, 13, 19, 0.5); border-top-color: rgba(255, 255, 255, 0.08); }
.actie-knop { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.09); transition: background 0.18s, transform 0.15s; }
.actie-knop:hover { background: rgba(255, 255, 255, 0.1); }
.actie-knop:active { transform: scale(0.96); }
.melding { border-radius: 20px; }
.status { border-radius: 999px; }
.voet { background: rgba(8, 10, 14, 0.62); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
.weergave button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.16); }
.gegevens { background: rgba(255, 255, 255, 0.06); }
.gegevens > div { background: rgba(14, 18, 25, 0.72); }

/* Panelen verschijnen met een rustige beweging */
.paneel:not([hidden]), .zoek-resultaten:not([hidden]), .legenda:not([hidden]) { animation: glasIn 0.24s var(--ease); }
@keyframes glasIn { from { opacity: 0; transform: translateY(8px) scale(0.99); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .paneel { border-radius: 22px; }
  .paneel-detail:not([hidden]) { animation-name: glasInLinks; }
  .paneel-filter:not([hidden]) { animation-name: glasInRechts; }
}
@keyframes glasInLinks { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes glasInRechts { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* Snelfilters: zwevende balk onder de zoekbalk */
.snelfilters {
  position: fixed; z-index: 19;
  top: calc(var(--boven) + var(--kop-h) - 4px);
  left: calc(var(--links) + var(--rand-ruimte));
  right: calc(var(--rechts) + var(--rand-ruimte) + 56px);
  max-width: max-content;
  display: flex; gap: 6px; padding: 5px; border-radius: 16px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.snelfilters::-webkit-scrollbar { display: none; }
.snel-chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 11px;
  font-size: 13px; font-weight: 600; cursor: pointer; color: var(--tekst-zacht);
  background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background 0.18s var(--ease), color 0.18s;
}
.snel-chip:hover { background: rgba(255, 255, 255, 0.08); color: var(--tekst); }
.snel-chip[aria-pressed="true"] { background: rgba(255, 255, 255, 0.16); color: var(--tekst); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.snel-chip .aantal { font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--tekst-zacht); }
.snel-chip[aria-pressed="true"] .aantal { background: var(--accent); color: var(--accent-tekst); }
.snel-chip[data-snel="military"][aria-pressed="true"] .aantal { background: #9bc46a; }

/* Ruimte maken voor de snelfilterbalk */
.meldingen { top: calc(var(--boven) + var(--kop-h) + var(--balk-h) + 6px); }
@media (min-width: 900px) {
  .paneel { top: calc(var(--boven) + var(--kop-h) + var(--balk-h) + 6px); max-height: calc(100% - var(--kop-h) - var(--balk-h) - var(--voet-h) - 30px); }
}

/* Filterpaneel */
.filter-inhoud { display: grid; gap: 14px; }
.filter-groep { display: grid; gap: 8px; }
.filter-groep h3 { margin: 4px 0 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tekst-zacht); display: flex; justify-content: space-between; }
.filter-groep .bereik { text-transform: none; letter-spacing: 0; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.veld { display: grid; gap: 4px; font-size: 12.5px; color: var(--tekst-zacht); }
.veld input, .veld select {
  height: 38px; padding: 0 11px; border-radius: 11px; font: inherit; font-size: 15px; color: var(--tekst);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); -webkit-appearance: none; appearance: none;
}
.veld select { background-image: linear-gradient(45deg, transparent 50%, #9aa6b8 50%), linear-gradient(135deg, #9aa6b8 50%, transparent 50%); background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.veld input:focus, .veld select:focus { outline: none; border-color: rgba(245, 176, 65, 0.7); }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.schuif { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 8px; font-size: 13px; color: var(--tekst-zacht); }
.schuif input { width: 100%; accent-color: var(--accent); height: 30px; }
.schakel.klein { padding: 4px 0; font-size: 14px; }
.squawk-uitleg { margin: 0 0 0 54px; }
.filter-voet { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px calc(10px + var(--onder)); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.filter-voet .filter-telling { margin: 0; font-size: 13px; }
.knop-tekst { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); border-radius: 11px; }
.knop-tekst:disabled { opacity: 0.45; cursor: default; }

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  :root { --glas: rgba(22, 27, 37, 0.94); --glas-sterk: rgba(15, 19, 27, 0.97); }
}
@media (prefers-reduced-motion: reduce) {
  .paneel:not([hidden]), .zoek-resultaten:not([hidden]), .legenda:not([hidden]) { animation: none; }
  .knop, .snel-chip, .actie-knop { transition: none; }
}
.filter-voet .knop-tekst { white-space: nowrap; flex: none; }

/* ---------- Alerts-paneel (zones + pushmeldingen) ---------- */
@media (min-width: 900px) { .paneel-alerts { width: 360px; } }
.alert-inhoud { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start; overflow-x: hidden; }
.alert-inhoud .filter-groep, .alert-wizard .filter-groep { min-width: 0; }
.alert-inhoud p { margin: 0; line-height: 1.45; }
.alert-inhoud h4 { margin: 6px 0 0; font-size: 13px; color: var(--tekst-zacht); font-weight: 600; }
.alert-klein { font-size: 12.5px; color: var(--tekst-zacht); }
.alert-leeg { font-size: 13.5px; color: var(--tekst-zacht); }
.alert-fout { padding: 10px 12px; border-radius: 12px; background: var(--gevaar-vlak, rgba(255, 77, 94, 0.14)); color: #ffd5da; font-size: 13.5px; }
.alert-ok { color: #a7f3c0; font-weight: 600; font-size: 13.5px; }
.alert-stappen { margin: 4px 0 0; padding-left: 20px; font-size: 13.5px; line-height: 1.6; }
.knop-breed {
  width: 100%; border: 0; border-radius: 13px; padding: 11px 16px; cursor: pointer; font-weight: 700; font-size: 14.5px;
  background: var(--accent); color: var(--accent-tekst, #1a1203); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px rgba(245, 176, 65, 0.25);
}
.knop-breed:hover { filter: brightness(1.06); }
.wizard-voet .knop-breed { width: auto; flex: 1; }
.knop-tekst.gevaar { color: #ffb3bc; }
.knop-tekst.actief { background: rgba(245, 176, 65, 0.2); border-color: rgba(245, 176, 65, 0.6); color: var(--tekst); }
.knop-tekst:disabled { opacity: 0.45; cursor: default; }
.ar-knoppen { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-knoppen .knop-tekst { padding: 7px 11px; font-size: 13px; }
.alert-lijst, .alert-historie, .alert-apparaten { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alert-rij { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); display: grid; gap: 8px; }
.alert-rij.uit { opacity: 0.6; }
.ar-kop { display: flex; gap: 10px; align-items: flex-start; }
.ar-kop .schakel { padding: 2px 0 0; }
.ar-tekst { display: grid; gap: 2px; min-width: 0; }
.ar-tekst strong { font-size: 14.5px; overflow-wrap: anywhere; }
.ar-tekst small { font-size: 12px; color: var(--tekst-zacht); line-height: 1.4; }
.alert-historie button {
  width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 1px;
  padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.035); cursor: pointer; color: var(--tekst);
}
.alert-historie button:hover { background: rgba(255, 255, 255, 0.08); }
.ah-tijd { grid-row: span 2; font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--tekst-zacht); padding-top: 1px; }
.ah-wat { font-size: 13.5px; }
.ah-waar { font-size: 12px; color: var(--tekst-zacht); }
.alert-apparaten li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.alert-apparaten small { display: block; font-size: 11.5px; color: var(--tekst-zacht); }
.bereik.push-on { color: #a7f3c0; }
.bereik.push-denied, .bereik.push-unsupported { color: #ffb3bc; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.snel-chip.klein { padding: 6px 11px; font-size: 12.5px; }
.veld.smal input { max-width: 120px; }
.alert-wizard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.alert-wizard .schuif input { min-width: 0; width: 100%; }
.paneel-alerts .wizard-voet { margin: 0 -18px -18px; position: sticky; bottom: -18px; background: rgba(16, 19, 25, 0.94); border-radius: 0 0 18px 18px; }
.visueel-verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alert-toast { align-items: center; gap: 8px; }
.alert-toast .knop-tekst { padding: 6px 10px; font-size: 13px; flex: none; }

/* Handvatten op de kaart om een zone te maken of te verschuiven */
.zone-punt {
  width: 22px; height: 22px; border-radius: 50%; padding: 0; cursor: grab;
  border: 2px solid #1a1203; background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.35), 0 2px 8px rgba(0, 0, 0, 0.5);
}
.zone-punt.hoek { width: 18px; height: 18px; background: #fde68a; }
.zone-punt:active { cursor: grabbing; }
@media (pointer: coarse) { .zone-punt { width: 28px; height: 28px; } .zone-punt.hoek { width: 24px; height: 24px; } }
.schuif.schuif-breed { grid-template-columns: minmax(0, 1fr); }

/* ACARS-onderdeel in het vluchtpaneel */
.acars-inhoud { padding: 4px 2px 2px; display: grid; gap: 8px; }
.acars-status { margin: 0; font-size: 13px; line-height: 1.45; color: var(--tekst-zacht); }
.acars-status strong { color: var(--tekst); }
.acars-status.klein { font-size: 12px; }
.acars-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acars-kop { font-size: 12px; color: var(--tekst-zacht); }
.acars-lijst pre { margin: 2px 0 0; white-space: pre-wrap; font-size: 12.5px; background: rgba(255, 255, 255, 0.04); padding: 6px 8px; border-radius: 8px; }

/* ---------- Rustig ontwerp (v3): filterkaart links, zoeken rechts ---------- */
@media (min-width: 900px) {
  .kop { background: none; }
  .zoek { margin-left: auto; max-width: 300px; }
  .zoek input { height: 38px; font-size: 14px; }
  .snelfilters {
    top: calc(var(--boven) + var(--kop-h) + 8px);
    right: auto; width: 248px; max-width: none;
    flex-wrap: wrap; gap: 6px; padding: 38px 12px 12px; border-radius: 18px;
    overflow: visible;
  }
  .snelfilters::before {
    content: "Map focus"; position: absolute; top: 12px; left: 14px;
    font-size: 13px; font-weight: 700; color: var(--tekst);
  }
  .snel-chip { height: 30px; padding: 0 11px; font-size: 12.5px; background: rgba(255, 255, 255, 0.06); border-radius: 10px; }
  .snel-chip .aantal { display: none; }
  .snel-chip[aria-pressed="true"] { background: rgba(255, 255, 255, 0.92); color: #0c0e12; }
  body.details-open .snelfilters { display: none; }
  .knop { width: 38px; height: 38px; border-radius: 12px; }
}

/* Bronvermelding als klein info-knopje (verplicht, maar niet in de weg) */
.voet { left: auto; right: auto; top: auto; bottom: calc(var(--onder) + 12px); left: calc(var(--links) + var(--rand-ruimte)); padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 31; }
.voet-knop { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(16, 19, 25, 0.75); color: var(--tekst-zacht); font: italic 700 13px Georgia, serif; cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.voet-knop[aria-expanded="true"] { background: rgba(255, 255, 255, 0.9); color: #0c0e12; }
.voet-inhoud { position: absolute; bottom: 34px; left: 0; width: min(420px, calc(100vw - 32px)); padding: 10px 12px; border-radius: 14px; background: rgba(16, 19, 25, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); line-height: 1.6; }
.voet-inhoud .scheiding { display: none; }
.voet-inhoud > span { display: block; }
.status { left: calc(var(--links) + var(--rand-ruimte) + 36px) !important; bottom: calc(var(--onder) + 10px) !important; }
.weergave { bottom: calc(var(--onder) + 10px) !important; }
.nood-weg { margin-left: 4px; padding: 0 6px; border-radius: 6px; font-size: 16px; line-height: 1; opacity: 0.75; }
.nood-weg:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }

/* ===================== Ontwerp v4: rustig, zoals een moderne flight tracker ===================== */
:root { --kaart-glas: rgba(20, 22, 27, 0.8); --kaart-rand: rgba(255, 255, 255, 0.08); }
.kop { background: none; gap: 14px; }
.merk-naam { display: inline; font-weight: 700; font-size: 15px; letter-spacing: 0.01em; }
.merk img { width: 22px; height: 22px; }
.hoofdnav, .zoek-sneltoets { display: none; }
.rond-knop { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--kaart-rand); background: var(--kaart-glas); color: var(--tekst); display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.rond-knop svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.rond-knop:hover { background: rgba(40, 43, 50, 0.9); }

.linkerkolom { position: fixed; z-index: 19; top: calc(var(--boven) + var(--kop-h) + 6px); left: calc(var(--links) + var(--rand-ruimte)); width: 252px; display: grid; gap: 10px; align-content: start; }
.kaartje-l { border-radius: 16px; background: var(--kaart-glas); border: 1px solid var(--kaart-rand); padding: 10px 12px 12px; -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.kaartje-kop { display: flex; align-items: center; gap: 8px; min-height: 22px; }
.kaartje-kop h2 { margin: 0; font-size: 13px; font-weight: 700; }
.kaartje-sub { margin-left: auto; font-size: 11.5px; color: var(--tekst-zacht); }
.klap { width: 22px; height: 22px; border: 0; background: none; color: var(--tekst-zacht); cursor: pointer; display: grid; place-items: center; border-radius: 6px; padding: 0; }
#explore .klap { margin-left: auto; }
.klap:hover { background: rgba(255, 255, 255, 0.08); color: var(--tekst); }
.klap svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s var(--ease); }
.kaartje-l.dicht .klap svg { transform: rotate(180deg); }
.kaartje-l.dicht .kaartje-romp { display: none; }
.kaartje-romp { margin-top: 10px; display: grid; gap: 10px; }
.tabjes { display: flex; gap: 2px; padding: 2px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); }
.tabjes button { flex: 1; border: 0; background: none; color: var(--tekst-zacht); font-size: 11.5px; font-weight: 600; padding: 5px 4px; border-radius: 7px; cursor: pointer; }
.tabjes button[aria-selected="true"] { background: rgba(255, 255, 255, 0.13); color: var(--tekst); }
.explore-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.explore-lijst button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 6px; border: 0; border-radius: 9px; background: none; color: var(--tekst); cursor: pointer; text-align: left; }
.explore-lijst button:hover { background: rgba(255, 255, 255, 0.07); }
.explore-lijst img { width: 26px; height: 26px; flex: none; }
.explore-lijst span { display: grid; min-width: 0; flex: 1; }
.explore-lijst strong { font-size: 12.5px; }
.explore-lijst small { font-size: 11px; color: var(--tekst-zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.explore-lijst em { font-style: normal; font-size: 11px; color: var(--tekst-zacht); font-variant-numeric: tabular-nums; }
.explore-leeg { font-size: 12px; color: var(--tekst-zacht); padding: 4px 2px; }
.linkerkolom .snelfilters { position: static; width: auto; max-width: none; padding: 0; margin: 0; background: none; border: 0; box-shadow: none; display: flex; flex-wrap: wrap; gap: 6px; overflow: visible; -webkit-backdrop-filter: none; backdrop-filter: none; }
.linkerkolom .snelfilters::before { content: none; }
.linkerkolom .snel-chip { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); }
.linkerkolom .snel-chip .aantal { display: none; }
.linkerkolom .snel-chip[aria-pressed="true"] { background: rgba(255, 255, 255, 0.92); color: #0c0e12; }
.meer-filters { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--kaart-rand); background: rgba(255, 255, 255, 0.04); color: var(--tekst); font-size: 12px; font-weight: 600; cursor: pointer; }
.meer-filters:hover { background: rgba(255, 255, 255, 0.1); }
.meer-filters svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Rechts: slanke ronde knopjes; zoom rechtsonder boven 2D/3D */
.knoppen { top: calc(var(--boven) + var(--kop-h) + 6px) !important; gap: 6px !important; }
.knoppen .knop, .zoomknoppen .knop { width: 30px; height: 30px; border-radius: 50%; background: var(--kaart-glas); border: 1px solid var(--kaart-rand); box-shadow: none; }
.knoppen .knop svg, .zoomknoppen .knop svg { width: 15px; height: 15px; }
.knop .stip { top: -3px !important; right: -3px !important; }
.zoomknoppen { position: fixed; z-index: 20; right: calc(var(--rechts) + var(--rand-ruimte)); bottom: calc(var(--onder) + 54px); display: grid; gap: 6px; }
.weergave { border-radius: 10px; }

@media (min-width: 900px) {
  .hoofdnav { display: flex; gap: 2px; position: absolute; left: 50%; transform: translateX(-50%); padding: 3px; border-radius: 12px; background: var(--kaart-glas); border: 1px solid var(--kaart-rand); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .hoofdnav button { border: 0; background: none; color: var(--tekst-zacht); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 9px; cursor: pointer; }
  .hoofdnav button:hover { color: var(--tekst); }
  .hoofdnav button[aria-current] { color: var(--tekst); background: rgba(255, 255, 255, 0.1); }
  .zoek { margin-left: auto; max-width: 250px; }
  .zoek input { height: 34px; border-radius: 999px; font-size: 13px; padding-right: 46px; background: var(--kaart-glas); }
  .zoek-sneltoets { display: block; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 600 10.5px system-ui, sans-serif; color: var(--tekst-zacht); background: rgba(255, 255, 255, 0.08); padding: 2px 6px; border-radius: 6px; pointer-events: none; }
  body.details-open .linkerkolom { display: none; }
  .paneel-filter { right: calc(var(--rechts) + var(--rand-ruimte) + 42px); }
}
@media (max-width: 899px) {
  .linkerkolom { width: auto; right: calc(var(--rechts) + var(--rand-ruimte) + 42px); }
  #explore, #focus .kaartje-kop, .meer-filters { display: none; }
  #focus { padding: 5px; border-radius: 14px; }
  #focus .kaartje-romp { margin: 0; }
  .linkerkolom .snelfilters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .zoomknoppen { display: none; }
}

/* ===================== Vluchtpaneel v4: zwevende kaart met tegels ===================== */
.paneel-detail { background: rgba(13, 14, 17, 0.9); border: 1px solid rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); }
@media (min-width: 900px) {
  .paneel-detail { top: calc(var(--boven) + var(--kop-h) + 6px); bottom: calc(var(--onder) + 14px); max-height: none; width: 344px; border-radius: 28px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6); }
}
.paneel-detail .paneel-kop { border-bottom: 0; padding: 16px 14px 4px 18px; }
.paneel-detail .paneel-kop h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.paneel-detail .paneel-sluit { border-radius: 50%; width: 32px; height: 32px; background: rgba(255, 255, 255, 0.08); }
.paneel-detail .paneel-inhoud { padding: 10px 12px 92px; gap: 10px; }
.paneel-detail .kaart-blok { background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 20px; box-shadow: none; }
.paneel-detail .stat-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.paneel-detail .stat { padding: 12px 14px 10px; display: grid; gap: 2px; }
.paneel-detail .stat-label { font-size: 12.5px; color: var(--tekst-zacht); }
.paneel-detail .stat-waarde { font-size: 25px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.paneel-detail .stat-waarde small { font-size: 13px; color: var(--tekst-zacht); font-weight: 500; }
.paneel-detail .stat-sub { font-size: 12.5px; color: var(--tekst-zacht); }
.paneel-detail .toestel { padding: 16px; }
.paneel-detail .toestel-kop h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.paneel-detail .toestel-kop .chip { margin-left: auto; background: rgba(255, 255, 255, 0.09); border: 0; border-radius: 9px; padding: 3px 9px; font-size: 12.5px; font-weight: 700; color: var(--tekst-zacht); }
.paneel-detail .toestel-feiten dt { font-size: 12.5px; color: var(--tekst-zacht); }
.paneel-detail .toestel-feiten dd { font-size: 17px; font-weight: 600; }
.paneel-detail .sectie > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 15px 16px; font-size: 15.5px; font-weight: 600; cursor: pointer; }
.paneel-detail .sectie > summary::-webkit-details-marker { display: none; }
.paneel-detail .sectie > summary::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); opacity: 0.55; transition: transform 0.2s var(--ease); }
.paneel-detail .sectie[open] > summary::after { transform: rotate(-135deg); }
.paneel-detail .sectie[open] > :not(summary) { padding: 0 16px 14px; }
.paneel-detail .actiebalk { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 6px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(30, 32, 38, 0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); display: flex; gap: 2px; }
.paneel-detail .actiebalk .actie-knop { flex: 1; border-radius: 16px; }

/* ===================== Ontwerp v5: kleiner, iOS-achtig ===================== */
:root { --kaart-glas: rgba(28, 28, 32, 0.72); --kaart-rand: rgba(255, 255, 255, 0.09); --ios-groep: rgba(255, 255, 255, 0.06); }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif; -webkit-font-smoothing: antialiased; letter-spacing: -0.005em; }
.kop { padding-top: calc(var(--boven) + 8px); padding-bottom: 8px; }
.merk-naam { font-size: 14px; font-weight: 600; }
.merk img { width: 20px; height: 20px; }
.rond-knop { width: 30px; height: 30px; }
.rond-knop svg { width: 15px; height: 15px; }
.linkerkolom { width: 228px; gap: 8px; }
.kaartje-l { border-radius: 14px; padding: 9px 10px 10px; -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); }
.kaartje-kop h2 { font-size: 12.5px; font-weight: 600; }
.kaartje-sub { font-size: 11px; }
.kaartje-romp { margin-top: 8px; gap: 8px; }
.tabjes button { font-size: 11px; padding: 4px 3px; }
.explore-lijst button { padding: 5px; gap: 8px; }
.explore-lijst img { width: 22px; height: 22px; }
.explore-lijst strong { font-size: 12px; font-weight: 600; }
.explore-lijst small, .explore-lijst em { font-size: 10.5px; }
.linkerkolom .snel-chip { height: 26px; padding: 0 9px; font-size: 11.5px; font-weight: 500; border-radius: 13px; }
.meer-filters { height: 26px; font-size: 11.5px; font-weight: 500; border-radius: 13px; }
.knoppen .knop, .zoomknoppen .knop { width: 28px; height: 28px; }
.knoppen .knop svg, .zoomknoppen .knop svg { width: 14px; height: 14px; }
.weergave button { font-size: 12px; padding: 5px 10px; }
.status { font-size: 11.5px; padding: 5px 10px; }
@media (min-width: 900px) {
  .hoofdnav { padding: 2px; border-radius: 10px; }
  .hoofdnav button { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 8px; }
  .zoek { max-width: 220px; }
  .zoek input { height: 30px; font-size: 12.5px; }
  .paneel-detail { width: 316px; border-radius: 22px; }
  .paneel-filter { width: 300px; border-radius: 20px; }
}
/* Panelen als iOS-lijsten */
.paneel .paneel-kop h2 { font-size: 16px; font-weight: 600; }
.paneel .paneel-sluit { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.paneel .paneel-sluit svg { width: 14px; height: 14px; }
.filter-groep h3 { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--tekst-zacht); margin: 2px 4px 0; }
.paneel-instellingen .filter-groep { background: var(--ios-groep); border-radius: 12px; padding: 4px 12px 8px; }
.paneel-instellingen .filter-groep h3 { margin: 8px 0 2px; }
.veld input, .veld select { border-radius: 10px; font-size: 13px; }
.schakel span { font-size: 13px; }
.paneel-detail .paneel-kop h2 { font-size: 17px; }
.paneel-detail .stat-waarde { font-size: 21px; }
.paneel-detail .toestel-kop h3 { font-size: 18px; font-weight: 600; }
.paneel-detail .toestel-feiten dd { font-size: 15px; }
.paneel-detail .sectie > summary { font-size: 14px; font-weight: 500; padding: 12px 14px; }
.paneel-detail .kaart-blok { border-radius: 16px; }
.paneel-detail .actiebalk { border-radius: 18px; }

/* ===================== Account: inlogknop, avatar en inlogscherm ===================== */
.account-plek { position: relative; flex: none; }
.inlog-knop { height: 30px; padding: 0 14px; border-radius: 15px; border: 0; background: #f5f5f7; color: #111; font: 600 12.5px -apple-system, system-ui, sans-serif; cursor: pointer; }
.inlog-knop:hover { background: #fff; }
.avatar { width: 30px; height: 30px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #5e5ce6, #0a84ff); color: #fff; font: 600 13px -apple-system, system-ui, sans-serif; cursor: pointer; }
.account-menu { position: absolute; right: 0; top: 38px; min-width: 220px; padding: 6px; border-radius: 14px; background: rgba(30, 30, 34, 0.96); border: 1px solid var(--kaart-rand); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); z-index: 40; }
.account-menu p { margin: 0; padding: 8px 10px 10px; display: grid; gap: 2px; border-bottom: 1px solid var(--kaart-rand); }
.account-menu strong { font-size: 13px; }
.account-menu small { font-size: 11.5px; color: var(--tekst-zacht); }
.account-menu button { width: 100%; margin-top: 4px; text-align: left; border: 0; background: none; color: #ff453a; font-size: 13px; padding: 8px 10px; border-radius: 9px; cursor: pointer; }
.account-menu button:hover { background: rgba(255, 255, 255, 0.07); }
.inlog-scherm { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.inlog-scherm[hidden] { display: none; }
.inlog-kaart { position: relative; width: min(360px, 100%); padding: 26px 22px 20px; border-radius: 24px; background: rgba(28, 28, 32, 0.96); border: 1px solid var(--kaart-rand); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); text-align: center; display: grid; gap: 10px; animation: glasIn 0.24s var(--ease); }
.inlog-sluit { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: var(--tekst); font-size: 18px; line-height: 1; cursor: pointer; }
.inlog-logo { margin: 0 auto; border-radius: 10px; }
.inlog-kaart h2 { margin: 2px 0 0; font-size: 19px; font-weight: 600; }
.inlog-sub { margin: 0 0 6px; font-size: 13px; color: var(--tekst-zacht); }
.inlog-alt { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--kaart-rand); background: rgba(255, 255, 255, 0.06); color: var(--tekst); font-size: 14px; font-weight: 500; }
.inlog-alt:disabled { opacity: 0.55; cursor: not-allowed; }
.inlog-alt small { margin-left: auto; font-size: 11px; color: var(--tekst-zacht); }
.inlog-alt-logo { width: 18px; height: 18px; border-radius: 50%; background: #f5f5f7; display: grid; place-items: center; font: 700 11px system-ui; color: #111; }
.inlog-of { display: flex; align-items: center; gap: 10px; margin: 4px 0; font-size: 11.5px; color: var(--tekst-zacht); }
.inlog-of::before, .inlog-of::after { content: ""; flex: 1; height: 1px; background: var(--kaart-rand); }
#inlog-form { display: grid; gap: 8px; }
#inlog-form input { height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--kaart-rand); background: rgba(0, 0, 0, 0.3); color: var(--tekst); font-size: 14px; }
#inlog-form input:focus { outline: none; border-color: #0a84ff; }
.inlog-hoofd { height: 44px; margin-top: 4px; border: 0; border-radius: 12px; background: #0a84ff; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.inlog-hoofd:disabled { opacity: 0.6; }
.inlog-fout { margin: 0; padding: 8px 10px; border-radius: 10px; background: rgba(255, 69, 58, 0.15); color: #ffb4ae; font-size: 12.5px; text-align: left; }
.inlog-wissel { margin: 4px 0 0; font-size: 13px; color: var(--tekst-zacht); }
.inlog-wissel button { border: 0; background: none; color: #0a84ff; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; }
.inlog-noot { margin: 0; font-size: 11px; color: var(--tekst-zacht); }
@media (max-width: 899px) { .account-plek { order: 3; } }

/* Labelkeuze in Settings (max. 3) */
.label-uitleg { margin: 6px 0 0; font-size: 12.5px; color: var(--tekst); }
.label-uitleg small { color: var(--tekst-zacht); }
.label-keuze { display: flex; flex-wrap: wrap; gap: 6px; }
.label-keuze button { height: 28px; padding: 0 11px; border-radius: 14px; border: 1px solid var(--kaart-rand); background: rgba(255, 255, 255, 0.05); color: var(--tekst-zacht); font-size: 12px; font-weight: 500; cursor: pointer; }
.label-keuze button[aria-pressed="true"] { background: #0a84ff; border-color: #0a84ff; color: #fff; }
.label-keuze button:disabled { opacity: 0.35; cursor: not-allowed; }

/* ===================== Settings als iOS-instellingenlijst ===================== */
.paneel-instellingen .paneel-inhoud.ios-inhoud { display: block; padding: 4px 14px 18px; }
.ios-kop { margin: 14px 6px 6px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--tekst-zacht); }
.ios-kop:first-child { margin-top: 6px; }
.ios-groep { border-radius: 12px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.ios-rij { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 12px; cursor: default; }
label.ios-rij { cursor: pointer; }
.ios-rij + .ios-rij::before { content: ""; position: absolute; top: 0; left: 12px; right: 0; height: 1px; background: rgba(255, 255, 255, 0.08); }
.ios-naam { display: grid; gap: 1px; font-size: 13.5px; color: var(--tekst); min-width: 0; }
.ios-naam small { font-size: 11.5px; color: var(--tekst-zacht); }
.ios-rij input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.ios-rij .schakel-baan { flex: none; width: 44px; height: 26px; border-radius: 13px; background: rgba(120, 120, 128, 0.36); margin: 0; }
.ios-rij .schakel-baan::after { top: 2px; left: 2px; width: 22px; height: 22px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
.ios-rij input:checked + .schakel-baan { background: #30d158; }
.ios-rij input:checked + .schakel-baan::after { transform: translateX(18px); }
.ios-rij input:focus-visible + .schakel-baan { outline: 2px solid #0a84ff; outline-offset: 2px; }
.ios-rij .segment { flex: none; padding: 2px; border-radius: 9px; background: rgba(118, 118, 128, 0.24); border: 0; }
.ios-rij .segment button { padding: 4px 10px; font-size: 12px; font-weight: 500; border-radius: 7px; color: var(--tekst); }
.ios-rij .segment button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.22); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); font-weight: 600; }
.ios-rij-blok { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px 12px; }
.ios-rij-blok .label-keuze button { height: 28px; font-size: 12px; }
@media (min-width: 900px) { .paneel-instellingen { width: 340px; } }
@media (max-width: 899px) { .paneel-instellingen { max-height: 78vh; } }
/* Op de telefoon: het info-knopje en de status niet over een open paneel heen */
@media (max-width: 899px) {
  body.instellingen-open .voet, body.filters-open .voet, body.alerts-open .voet, body.details-open .voet,
  body.instellingen-open .status, body.filters-open .status, body.alerts-open .status { display: none; }
}

/* Bèta-label, Over-groep en update log */
.beta-label { flex: none; padding: 1px 6px; border-radius: 6px; background: rgba(10, 132, 255, 0.18); color: #64b5ff; font: 700 9.5px -apple-system, system-ui, sans-serif; letter-spacing: 0.06em; }
.ios-knop { width: 100%; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.ios-knop:hover { background: rgba(255, 255, 255, 0.04); }
.ios-pijl { font-size: 20px; color: var(--tekst-zacht); line-height: 1; }
.ios-waarde { font-size: 13.5px; color: var(--tekst-zacht); }
.ios-voet { margin: 10px 6px 0; font-size: 11.5px; color: var(--tekst-zacht); line-height: 1.45; }
.updates-view[hidden], .ios-inhoud[hidden] { display: none !important; }
.updates-view .terug { margin: 2px 0 8px; border: 0; background: none; color: #0a84ff; font-size: 14px; cursor: pointer; padding: 4px 0; }
.update-lijst { display: grid; gap: 10px; }
.ios-groep.update { padding: 12px 14px; }
.ios-groep.update header { display: flex; align-items: baseline; gap: 8px; }
.ios-groep.update header strong { font-size: 13.5px; }
.ios-groep.update header small { margin-left: auto; font-size: 11.5px; color: var(--tekst-zacht); }
.ios-groep.update .nieuw { padding: 1px 6px; border-radius: 6px; background: #30d158; color: #062b12; font-size: 10px; font-weight: 700; }
.ios-groep.update h3 { margin: 6px 0 4px; font-size: 13px; font-weight: 600; color: var(--tekst); text-transform: none; letter-spacing: 0; }
.ios-groep.update ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; font-size: 12.5px; color: var(--tekst-zacht); line-height: 1.4; }

/* ===================== Telefoon: kaart tot de rand, grote zoekbalk, zwevende onderbalk ===================== */
#kaart { inset: 0 0 auto 0; height: 100vh; height: 100lvh; }
.tabbalk, .zweef-knop { display: none; }
.inlog-knop { display: inline-flex; align-items: center; gap: 6px; }
.inlog-knop svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 899px) {
  .merk-naam, .beta-label, .demo-label, .linkerkolom, .knoppen, .weergave, .status, .zoomknoppen, #knop-instellingen { display: none !important; }
  .kop { padding: calc(var(--boven) + 10px) calc(var(--rechts) + 12px) 10px calc(var(--links) + 12px); gap: 10px; background: linear-gradient(to bottom, rgba(10, 12, 16, 0.55), rgba(10, 12, 16, 0)); }
  .merk img { width: 30px; height: 30px; border-radius: 9px; }
  .zoek { flex: 1; max-width: none; }
  .zoek input { height: 46px; border-radius: 23px; font-size: 17px; padding-left: 44px; background: rgba(250, 250, 252, 0.96); color: #111; border: 0; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }
  .zoek input::placeholder { color: #6b6f76; }
  .zoek .zoek-icoon { color: #333; stroke: #333; left: 15px; }
  .inlog-knop { width: 46px; height: 46px; padding: 0; border-radius: 50%; justify-content: center; background: rgba(28, 28, 32, 0.8); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .inlog-knop span { display: none; }
  .inlog-knop svg { width: 22px; height: 22px; }
  .avatar { width: 46px; height: 46px; font-size: 18px; }
  .tabbalk { display: flex; position: fixed; z-index: 24; left: calc(var(--links) + 12px); right: calc(var(--rechts) + 12px); bottom: calc(var(--onder) + 10px);
    justify-content: space-around; padding: 8px 6px; border-radius: 30px; background: rgba(24, 25, 30, 0.86); border: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
  .tabbalk button { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 4px 0; border: 0; background: none; color: #f2f2f7; font: 500 11px -apple-system, system-ui, sans-serif; cursor: pointer; border-radius: 18px; }
  .tabbalk button[hidden] { display: none; }
  .tabbalk button:active { background: rgba(255, 255, 255, 0.08); }
  .tabbalk svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
  body.drie-d .tabbalk #tab-3d, body.explore-open .tabbalk [data-tab="explore"] { color: #0a84ff; }
  .zweef-knop { display: grid; place-items: center; position: fixed; z-index: 23; left: calc(var(--links) + 14px); bottom: calc(var(--onder) + 92px); width: 50px; height: 50px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(24, 25, 30, 0.86); color: #f2f2f7; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); cursor: pointer; }
  .zweef-knop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .voet { bottom: calc(var(--onder) + 150px); left: calc(var(--links) + 26px); }
  /* Explore als blad boven de onderbalk */
  body.explore-open .linkerkolom { display: grid !important; position: fixed; top: auto; left: calc(var(--links) + 12px); right: calc(var(--rechts) + 12px); bottom: calc(var(--onder) + 88px); width: auto; z-index: 24; }
  body.explore-open #focus { display: none; }
  body.explore-open #explore { display: block !important; }
  /* Panelen schuiven over de onderbalk */
  .paneel { z-index: 26; }
  body.filters-open .tabbalk, body.instellingen-open .tabbalk, body.alerts-open .tabbalk, body.details-open .tabbalk,
  body.filters-open .zweef-knop, body.instellingen-open .zweef-knop, body.alerts-open .zweef-knop, body.details-open .zweef-knop { display: none; }
  .meldingen { top: calc(var(--boven) + 70px); }
}
@media (max-width: 899px) { body.explore-open .voet, body.explore-open .zweef-knop { display: none; } }

/* Logo van de maatschappij of het kenteken van de luchtmacht in het vluchtpaneel */
.mij-logo { flex: none; width: 46px; height: 46px; border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.mij-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mij-logo.roundel { background: rgba(255, 255, 255, 0.08); border-radius: 50%; padding: 4px; }

/* iPhone: pagina en kaart tot achter de werkbalk van Safari; als Safari die strook zelf vult,
   heeft hij de kleur van de kaart (niet zwart). */
html, body { height: 100%; min-height: 100lvh; background: #20232a; }
#kaart { background: #20232a; }
body.kaart-satelliet, body.kaart-satelliet #kaart { background: #1d2a1c; }

/* ===================== Telefoon: vluchtpaneel in twee standen ===================== */
.paneel-detail .piek, .actie-knop[data-actie="meer"] { display: none; }
@media (max-width: 899px) {
  .actie-knop[data-actie="meer"] { display: flex; }
  /* Stand 1: klein kaartje onderaan, de kaart blijft zichtbaar */
  .paneel-detail:not(.uitgeklapt) { top: auto; max-height: none; height: auto; border-radius: 22px 22px 0 0; padding-bottom: calc(var(--onder) + 8px); }
  .paneel-detail:not(.uitgeklapt) .paneel-kop, .paneel-detail:not(.uitgeklapt) .paneel-inhoud, .paneel-detail:not(.uitgeklapt) .details-voet { display: none; }
  .paneel-detail:not(.uitgeklapt) .piek { display: grid; gap: 10px; padding: 14px 14px 10px; cursor: pointer; }
  .paneel-detail:not(.uitgeklapt) .actiebalk { position: static; margin: 0 10px 2px; }
  .mini-boven { display: flex; align-items: flex-start; gap: 10px; }
  .mini-boven .mij-logo { width: 40px; height: 40px; border-radius: 10px; }
  .mini-links { flex: 1; min-width: 0; display: grid; gap: 2px; }
  .mini-titel { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
  .mini-titel strong { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
  .mini-titel .chip { padding: 1px 7px; border-radius: 7px; background: rgba(10, 132, 255, 0.2); color: #64b5ff; font-size: 12px; font-weight: 700; }
  .mini-sub { font-size: 13px; color: var(--tekst-zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mini-foto { width: 104px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; }
  .mini-sluit { width: 30px !important; height: 30px !important; margin: 0 !important; flex: none; }
  .mini-onder { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .mini-route { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); min-width: 0; }
  .mini-veld { display: grid; min-width: 0; }
  .mini-veld strong { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; }
  .mini-veld small { font-size: 10.5px; color: var(--tekst-zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
  .mini-vlieg { flex: 1; display: grid; place-items: center; color: var(--accent); }
  .mini-vlieg svg { width: 22px; height: 22px; }
  .mini-geen { font-size: 12.5px; color: var(--tekst-zacht); }
  .mini-stats { display: grid; gap: 6px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); min-width: 104px; }
  .mini-stats span { display: grid; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .mini-stats small { font-size: 10.5px; font-weight: 500; color: var(--tekst-zacht); text-transform: uppercase; letter-spacing: 0.03em; }
  .mini-type { font-size: 13.5px; color: var(--tekst); }
  .mini-type small { color: var(--tekst-zacht); font-size: 11px; letter-spacing: 0.04em; }
  .mini-type span { color: var(--tekst-zacht); }
  /* Stand 2: volledig scherm met alle informatie */
  .paneel-detail.uitgeklapt { top: 0; bottom: 0; max-height: none; height: 100%; border-radius: 0; z-index: 30; padding-top: var(--boven); }
  .paneel-detail.uitgeklapt .paneel-inhoud { padding-bottom: calc(var(--onder) + 96px); }
  .paneel-detail.uitgeklapt .actiebalk { position: absolute; left: 10px; right: 10px; bottom: calc(var(--onder) + 10px); }
  .paneel-detail .actiebalk .actie-knop { min-width: 0; }
  .paneel-detail .actiebalk .label { font-size: 11px; }
}

@media (max-width: 899px) {
  .paneel-detail:not(.uitgeklapt) .piek, .paneel-detail:not(.uitgeklapt) .actiebalk { flex: none; }
  /* Explore en zoekresultaten niet tegelijk met een open vluchtpaneel */
  body.details-open .linkerkolom { display: none !important; }
}

/* ===================== Vlieggeschiedenis ===================== */
.zr-historie { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.zr-historie:hover { background: rgba(255, 255, 255, 0.06); }
.zr-klok { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(10, 132, 255, 0.2); color: #64b5ff; font-size: 15px; flex: none; }
.paneel-historie .historie-inhoud { display: block; padding: 8px 14px 18px; }
@media (min-width: 900px) { .paneel-historie { width: 360px; } }
@media (max-width: 899px) { .paneel-historie { max-height: 82vh; } body.historie-open .tabbalk, body.historie-open .zweef-knop, body.historie-open .voet { display: none; } }
.hv-kop { display: grid; gap: 2px; margin: 4px 2px 6px; }
.hv-kop strong { font-size: 20px; font-weight: 700; }
.hv-kop span { font-size: 12.5px; color: var(--tekst-zacht); }
.hv-dag { margin: 12px 4px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--tekst-zacht); }
.hv-lijst { list-style: none; margin: 0; padding: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.hv-vlucht { display: grid; grid-template-columns: 46px 1fr; gap: 2px 10px; padding: 10px 12px; }
.hv-vlucht + .hv-vlucht { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.hv-vlucht.lopend { background: rgba(48, 209, 88, 0.08); }
.hv-tijd { grid-row: span 2; display: grid; align-content: start; font-variant-numeric: tabular-nums; }
.hv-tijd strong { font-size: 14px; }
.hv-tijd small { font-size: 12px; color: var(--tekst-zacht); }
.hv-route { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hv-veld { display: grid; min-width: 0; flex: 1; }
.hv-veld strong { font-size: 15px; }
.hv-veld small { font-size: 11px; color: var(--tekst-zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-veld.onbekend strong { color: var(--tekst-zacht); }
.hv-pijl { color: var(--tekst-zacht); flex: none; }
.hv-extra { font-size: 12px; color: var(--tekst-zacht); line-height: 1.45; }
.hv-leeg { margin: 6px 4px; font-size: 13px; color: var(--tekst-zacht); }
.hv-noot { margin: 12px 4px 0; font-size: 11px; color: var(--tekst-zacht); line-height: 1.45; }
.historie-in-paneel .hv-lijst { margin-bottom: 4px; }

/* ===================== 0.18: hoofdletters en vloeiende animaties ===================== */
:root { --ios-ease: cubic-bezier(0.32, 0.72, 0, 1); --open-duur: 0.3s; --dicht-duur: 0.24s; }

/* Zoekvelden: altijd hoofdletters (de JS zet de waarde ook om); de voorbeeldtekst blijft normaal. */
input[data-hoofdletters] { text-transform: uppercase; }
input[data-hoofdletters]::placeholder { text-transform: none; }

/* Oude "pop"-animaties vervangen door overgangen die ook bij sluiten werken. */
.paneel:not([hidden]), .zoek-resultaten:not([hidden]), .legenda:not([hidden]), .inlog-kaart { animation: none; }
details.sectie.klapt { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  /* Alles wat met het hidden-attribuut open/dicht gaat: invaden + iets schuiven, ook bij het sluiten.
     display/overlay met allow-discrete houden het element zichtbaar tot de animatie klaar is. */
  .paneel, .zoek-resultaten, .legenda, .account-menu, .inlog-scherm, .inlog-kaart, .melding, .nood-pil, .voet-inhoud {
    --uit: translateY(8px) scale(0.985);
    transition:
      opacity var(--dicht-duur) ease,
      transform var(--open-duur) var(--ios-ease),
      display var(--open-duur) allow-discrete,
      overlay var(--open-duur) allow-discrete;
  }
  .paneel[hidden], .zoek-resultaten[hidden], .legenda[hidden], .account-menu[hidden], .inlog-scherm[hidden],
  .melding[hidden], .nood-pil[hidden], .voet-inhoud[hidden] {
    opacity: 0; transform: var(--uit); pointer-events: none;
  }
  @starting-style {
    .paneel:not([hidden]), .zoek-resultaten:not([hidden]), .legenda:not([hidden]), .account-menu:not([hidden]),
    .inlog-scherm:not([hidden]), .melding:not([hidden]), .nood-pil:not([hidden]), .voet-inhoud:not([hidden]) {
      opacity: 0; transform: var(--uit);
    }
  }
  .zoek-resultaten { --uit: translateY(-6px) scale(0.985); transform-origin: top center; }
  .account-menu { --uit: translateY(-6px) scale(0.96); transform-origin: top right; }
  .legenda { --uit: translateY(8px) scale(0.97); transform-origin: bottom right; }
  .melding, .nood-pil { --uit: translateY(-10px) scale(0.97); }
  .voet-inhoud { --uit: translateY(6px) scale(0.98); transform-origin: bottom left; }
  /* Inlogscherm: achtergrond vervaagt, de kaart veert iets op. */
  .inlog-scherm { --uit: none; }
  .inlog-kaart { transition: opacity var(--dicht-duur) ease, transform var(--open-duur) var(--ios-ease); }
  .inlog-scherm[hidden] .inlog-kaart { opacity: 0; transform: translateY(12px) scale(0.96); }
  @starting-style { .inlog-scherm:not([hidden]) .inlog-kaart { opacity: 0; transform: translateY(12px) scale(0.96); } }

  /* Settings <-> Update log: schuift opzij zoals op iOS. */
  .paneel-instellingen .ios-inhoud { transition: opacity 0.22s ease, transform 0.3s var(--ios-ease); }
  @starting-style {
    .paneel-instellingen .updates-view:not([hidden]) { opacity: 0; transform: translateX(24px); }
    .paneel-instellingen .ios-inhoud:not(.updates-view):not([hidden]) { opacity: 0; transform: translateX(-24px); }
  }

  /* Kleine knopjes en keuzes: zacht van kleur wisselen. */
  .segment button, .label-keuze button, .tabjes button, .hoofdnav button, .weergave button, .klap, .meer-filters,
  .explore-lijst button, .ios-knop, .knop-tekst, .paneel-sluit, .rond-knop, .voet-knop, .inlog-knop, .avatar, .zweef-knop, .tabbalk button {
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, transform 0.15s var(--ios-ease);
  }
  .paneel-sluit:active, .rond-knop:active, .zweef-knop:active, .voet-knop:active, .inlog-knop:active, .avatar:active,
  .tabbalk button:active, .segment button:active, .label-keuze button:active, .knop-tekst:active, .knop-breed:active, .inlog-hoofd:active { transform: scale(0.94); }
  .zoek-resultaten li { transition: background-color 0.15s ease; }
}

/* Groot scherm: zijpanelen schuiven van opzij in. */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .paneel-filter { --uit: translateX(18px) scale(0.99); }
  .paneel-detail { --uit: translateX(-18px) scale(0.99); }
}

/* Telefoon: bladen schuiven van onder omhoog; onderbalk en knopjes wijken soepel. */
@media (max-width: 899px) {
  /* Explore staat altijd onderaan klaar, zodat het blad ook bij sluiten op zijn plek wegschuift. */
  .linkerkolom { position: fixed; top: auto; left: calc(var(--links) + 12px); right: calc(var(--rechts) + 12px); bottom: calc(var(--onder) + 88px); width: auto; z-index: 24; }
  #explore { border-radius: 22px; padding: 12px 12px 10px; max-height: min(52vh, 420px); overflow: auto; overscroll-behavior: contain; }
  #explore .kaartje-kop h2 { font-size: 15px; }
  #explore .klap { display: none; }
  #explore .tabjes button { font-size: 12.5px; padding: 7px 4px; }
  #explore .explore-lijst button { padding: 8px 6px; }
  #explore .explore-lijst img { width: 28px; height: 28px; }
  #explore .explore-lijst strong { font-size: 14px; }
  #explore .explore-lijst small, #explore .explore-lijst em { font-size: 12px; }
  .paneel { --uit: translateY(100%); }
  .paneel-detail.uitgeklapt { --uit: translateY(40px); }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .paneel { transition: opacity 0.2s ease, transform 0.36s var(--ios-ease), display 0.36s allow-discrete, overlay 0.36s allow-discrete; }
  .paneel[hidden] { transition-duration: 0.18s, 0.28s, 0.28s, 0.28s; transition-timing-function: ease-in, cubic-bezier(0.4, 0, 1, 1); }
  .linkerkolom, .tabbalk, .zweef-knop, .voet {
    transition: opacity 0.2s ease, transform 0.32s var(--ios-ease), display 0.32s allow-discrete;
  }
  body:not(.explore-open) .linkerkolom { opacity: 0; transform: translateY(24px) scale(0.98); }
  @starting-style { body.explore-open .linkerkolom { opacity: 0; transform: translateY(24px) scale(0.98); } }
  :is(body.filters-open, body.instellingen-open, body.alerts-open, body.details-open, body.historie-open) :is(.tabbalk, .zweef-knop, .voet),
  body.explore-open :is(.zweef-knop, .voet) { opacity: 0; transform: translateY(24px); }
  @starting-style { .tabbalk, .zweef-knop, .voet { opacity: 0; transform: translateY(24px); } }
}

/* ===================== 0.18: afwerking (randjes) ===================== */
/* Het vergrootglas lag onder het (glazen) zoekvak en was daardoor onzichtbaar. */
.zoek-icoon { z-index: 1; top: 50%; transform: translateY(-50%); }
.zoek input, .veld input { text-overflow: ellipsis; }
@media (min-width: 900px) { .zoek { max-width: 284px; } .zoek-icoon { width: 15px; height: 15px; left: 11px; } .zoek input { padding-left: 32px; text-overflow: ellipsis; } }
@media (max-width: 899px) {
  /* iPhone zoomt in bij tekstvelden kleiner dan 16px: dat voorkomen. */
  .veld input, .veld select, #inlog-form input { font-size: 16px; }
  .veld input, .veld select { height: 42px; }
  .veld select { background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px; }
  /* Ruimte voor de thuisbalk van de iPhone onderin de bladen. */
  .paneel-instellingen .paneel-inhoud.ios-inhoud, .paneel-historie .historie-inhoud { padding-bottom: calc(18px + var(--onder)); }
  .paneel-alerts .alert-inhoud { padding-bottom: calc(18px + var(--onder)); }
  .paneel-alerts .wizard-voet { margin-bottom: calc(-18px - var(--onder)); bottom: calc(-18px - var(--onder)); }
  .explore-leeg { font-size: 13px; line-height: 1.45; padding: 6px 4px 2px; }
  /* Rustiger kop op het volledige vluchtpaneel */
  .paneel-detail.uitgeklapt .paneel-kop { padding-top: 12px; }
}
/* Groot scherm: panelen niet over de 2D/3D-knop, het i-knopje en de status heen. */
@media (min-width: 900px) {
  .paneel-filter { max-height: calc(100vh - var(--boven) - var(--kop-h) - var(--balk-h) - 6px - 64px - var(--onder)); }
  .paneel-detail { bottom: calc(var(--onder) + 52px); }
}
/* Koppen in het filterpaneel op één lijn met de velden eronder. */
.paneel-filter:not(.paneel-instellingen) .filter-groep h3 { margin-left: 0; margin-right: 0; }
/* Schakelaars in Filters en Alerts zien er nu hetzelfde uit als in Settings (iOS-stijl). */
.schakel .schakel-baan { width: 44px; height: 26px; border-radius: 13px; background: rgba(120, 120, 128, 0.36); margin-top: -3px; }
.schakel .schakel-baan::after { top: 2px; left: 2px; width: 22px; height: 22px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); transition: transform 0.2s var(--ios-ease, ease); }
.schakel input:checked + .schakel-baan { background: #30d158; }
.schakel input:checked + .schakel-baan::after { transform: translateX(18px); background: #fff; }
.ios-rij .schakel-baan, .ios-rij .schakel-baan::after { transition: background-color 0.2s ease, transform 0.2s var(--ios-ease, ease); }
/* Openklappen van rijen in het vluchtpaneel: geen dubbele rand/achtergrond om de tabel. */
.paneel-detail .sectie[open] > .gegevens { padding: 0; margin: 0 12px 12px; }
.paneel-detail .sectie > summary { border-radius: 16px; }
.paneel-detail .sectie > summary:hover { background: rgba(255, 255, 255, 0.03); }
/* Inlogscherm: leeg logo-rondje (Apple) niet tonen, wel de uitlijning houden. */
.inlog-alt-logo:empty { visibility: hidden; }
.inlog-scherm { padding: calc(16px + var(--boven)) calc(16px + var(--rechts)) calc(16px + var(--onder)) calc(16px + var(--links)); overflow: auto; place-items: stretch; }
.inlog-kaart { margin: auto; }
.inlog-sluit { display: grid; place-items: center; padding: 0; }
/* Zoekresultaten: lange regels netjes afkappen, 'Flight history' ook met hover-randje. */
.zoek-resultaten .zr-historie { border-radius: 8px; margin-top: 4px; }
.zoek-resultaten .hoofd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Account-menu: niet buiten beeld op smalle schermen. */
.account-menu { max-width: calc(100vw - 24px); }

/* ---------- v0.19: vertrektijd en verwachte aankomst in het routeblok ---------- */
.route .route-veld:last-of-type { text-align: left; }
.route .route-lijn + .route-veld { text-align: right; }
.route-veld.onbekend strong { color: var(--tekst-zacht); }
.route-tijden { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.route-tijd { display: grid; gap: 1px; padding: 8px 11px; border-radius: 11px; background: rgba(255, 255, 255, 0.05); min-width: 0; }
.route-tijd span { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tekst-zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-tijd strong { font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
.route-tijd:last-child { text-align: right; }
.route-alleen-tijd { grid-template-columns: 1fr; }

/* ---------- v0.21: kleine verbeteringen ---------- */
/* Zoekresultaten bijna dicht, zodat een melding erachter er niet doorheen schijnt. */
.zoek-resultaten { background: rgba(16, 19, 26, 0.97); z-index: 60; }
.status-stip.wacht { background: var(--waarschuwing); animation: stipKnipper 1.2s ease-in-out infinite; }
@keyframes stipKnipper { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .status-stip.wacht { animation: none; } }
.route-regel { grid-column: 1 / -1; margin: 0; font-size: 12.5px; font-weight: 600; color: var(--tekst); font-variant-numeric: tabular-nums; }

/* Noodgeval: duidelijk blok bovenaan het vluchtpaneel */
.nood-blok { border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; display: grid; gap: 8px;
  background: linear-gradient(rgba(255, 77, 94, 0.16), rgba(255, 77, 94, 0.08)); border: 1px solid rgba(255, 77, 94, 0.45); }
.nood-titel { font-weight: 700; font-size: 15px; color: #ff8b96; letter-spacing: 0.01em; }
.nood-tekst { margin: 0; font-size: 13.5px; color: var(--tekst); }
.nood-feiten { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.nood-feiten div { background: rgba(0, 0, 0, 0.22); border-radius: 10px; padding: 6px 8px; min-width: 0; }
.nood-feiten dt { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tekst-zacht); }
.nood-feiten dd { margin: 0; font-size: 13px; font-weight: 600; }
.nood-feiten small { font-weight: 400; color: var(--tekst-zacht); }
.nood-velden { display: grid; gap: 4px; font-size: 13px; }
.nood-label { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tekst-zacht); }
.nood-veld small, .nood-laden { color: var(--tekst-zacht); }
.nood-voet { margin: 0; font-size: 11.5px; color: var(--tekst-zacht); }

/* ---------- v0.23: vliegveldpaneel ---------- */
.paneel-vliegveld .vv-kop h3 { margin: 4px 0 2px; font-size: 17px; }
.paneel-vliegveld .vv-kop p { margin: 0 0 10px; color: var(--tekst-zacht); font-size: 13px; }
.vv-blok { margin: 0 0 12px; }
.vv-blok h4 { margin: 12px 0 6px; font-size: 11px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tekst-zacht); }
.vv-weer { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.vv-weer-rij { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vv-weer-rij small { display: block; font-size: 10.5px; color: var(--tekst-zacht); text-transform: uppercase; letter-spacing: 0.05em; }
.vv-weer-rij strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.vv-cat { justify-self: start; font-size: 11.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px; }
.vv-cat-vfr { background: rgba(52, 199, 89, 0.2); color: #6ee08a; }
.vv-cat-mvfr { background: rgba(10, 132, 255, 0.2); color: #6fb4ff; }
.vv-cat-ifr { background: rgba(255, 69, 58, 0.2); color: #ff8a80; }
.vv-cat-lifr { background: rgba(191, 90, 242, 0.22); color: #d9a6ff; }
.vv-wolken { margin: 0; font-size: 13px; }
.vv-ruw { margin: 0; font: 11.5px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--tekst-zacht); word-break: break-word; }
.vv-taf { margin-top: 8px; font-size: 13px; }
.vv-taf summary { cursor: pointer; color: var(--tekst-zacht); }
.vv-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, 0.06); margin: 4px 0 6px; }
.vv-tabs button { height: 30px; border: 0; border-radius: 8px; background: none; color: var(--tekst-zacht); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.vv-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.12); color: var(--tekst); }
.vv-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vv-lijst button { width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px; align-items: center; padding: 8px 10px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: var(--tekst); font: inherit; text-align: left; cursor: pointer; }
.vv-lijst button:hover { background: rgba(255, 255, 255, 0.09); }
.vv-tijd { font-weight: 650; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.vv-tijd small, .vv-vlucht small, .vv-ander small { display: block; font-size: 11px; font-weight: 400; color: var(--tekst-zacht); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-vlucht strong { font-size: 13.5px; }
.vv-ander { font-size: 12.5px; color: var(--tekst-zacht); overflow: hidden; }
.vv-ander strong { color: var(--tekst); }
.vv-leeg { margin: 4px 0; font-size: 13px; color: var(--tekst-zacht); }
.vv-noot { margin: 10px 0 0; font-size: 11.5px; color: var(--tekst-zacht); }
@media (max-width: 899px) { body.vliegveld-open .tabbalk, body.vliegveld-open .zweef-knop, body.vliegveld-open .voet { display: none; } }

/* ---------- v0.23: AR (camera naar de lucht) ---------- */
.ar { position: fixed; inset: 0; z-index: 200; background: #05070b; overflow: hidden; touch-action: none; }
.ar-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-zonder-camera .ar-video { display: none; }
.ar-zonder-camera { background: radial-gradient(circle at 50% 30%, #1b2a4a, #05070b 70%); }
.ar-labels { position: absolute; inset: 0; }
.ar-label { position: absolute; left: 0; top: 0; display: grid; gap: 1px; padding: 5px 9px 6px; margin: 0; border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px; background: rgba(10, 13, 20, 0.62); color: #fff; font: inherit; text-align: left; white-space: nowrap; cursor: pointer;
  translate: -50% calc(-100% - 14px); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ar-label::after { content: ''; position: absolute; left: 50%; bottom: -14px; width: 10px; height: 10px; margin-left: -6px; border: 2px solid #fff; border-radius: 50%; }
.ar-label strong { font-size: 14px; }
.ar-label span { font-size: 11.5px; opacity: 0.85; font-variant-numeric: tabular-nums; }
.ar-label-midden { border-color: #ff9e29; background: rgba(255, 158, 41, 0.22); }
.ar-label-midden::after { border-color: #ff9e29; }
.ar-horizon { position: absolute; left: -10%; right: -10%; top: 0; height: 0; border-top: 1px dashed rgba(255, 255, 255, 0.28); transform-origin: 50% 0; pointer-events: none; }
.ar-bovenbalk { position: absolute; left: 0; right: 0; top: 0; padding: calc(env(safe-area-inset-top) + 10px) 14px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)); }
.ar-kompas { display: grid; text-align: center; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); }
.ar-kompas strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.ar-kompas small { font-size: 12px; opacity: 0.85; }
.ar-ijking { display: flex; gap: 6px; }
.ar-knop { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(20, 24, 32, 0.7); color: #fff; font-size: 16px; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ar-tip { position: absolute; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom) + 18px); margin: 0; padding: 10px 14px; border-radius: 14px;
  background: rgba(10, 13, 20, 0.75); color: #fff; font-size: 14px; text-align: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.ar-open .tabbalk, body.ar-open .zweef-knop { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) { .ar { animation: arIn 0.25s ease-out; } }
@keyframes arIn { from { opacity: 0; } to { opacity: 1; } }
.ar-label.ar-stip { padding: 0; width: 22px; height: 22px; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; translate: -50% -50%; }
.ar-label.ar-stip strong, .ar-label.ar-stip span { display: none; }
.ar-label.ar-stip::after { bottom: 6px; left: 50%; width: 8px; height: 8px; margin-left: -5px; border-color: rgba(255, 255, 255, 0.75); }

/* ---------- v0.24: "What's new" na een update ---------- */
.wat-nieuw { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: watNieuwIn 0.25s ease-out; }
.wat-nieuw.weg { opacity: 0; transition: opacity 0.2s ease; }
.wat-nieuw-kaart { width: min(440px, 100%); max-height: min(78vh, 640px); display: grid; grid-template-rows: auto 1fr auto; border-radius: 22px; overflow: hidden;
  background: rgba(22, 26, 34, 0.97); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); animation: watNieuwKaart 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wat-nieuw-kaart header { padding: 18px 20px 8px; }
.wat-nieuw-kaart header h2 { margin: 6px 0 2px; font-size: 20px; }
.wat-nieuw-kaart header small { color: var(--tekst-zacht); font-size: 12.5px; }
.wat-nieuw-kaart .nieuw { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #ff9e29; color: #111; }
.wat-nieuw-inhoud { overflow: auto; padding: 4px 20px 6px; }
.wat-nieuw-inhoud section + section { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.wat-nieuw-inhoud h3 { margin: 6px 0 4px; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.wat-nieuw-inhoud h3 small { font-weight: 400; font-size: 11.5px; color: var(--tekst-zacht); white-space: nowrap; }
.wat-nieuw-inhoud ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 13.5px; line-height: 1.4; }
.wat-nieuw-kaart footer { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.wat-nieuw-kaart footer button { height: 38px; padding: 0 18px; border-radius: 19px; border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.wat-nieuw-alles { background: rgba(255, 255, 255, 0.1); color: var(--tekst); }
.wat-nieuw-ok { background: #0a84ff; color: #fff; min-width: 84px; }
@media (max-width: 899px) { .wat-nieuw { place-items: end center; padding: 0; } .wat-nieuw-kaart { width: 100%; border-radius: 22px 22px 0 0; max-height: 80vh; } }
@keyframes watNieuwIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes watNieuwKaart { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wat-nieuw, .wat-nieuw-kaart { animation: none; } }
.updates-view .deel-log { margin: 12px 0 4px; height: 38px; width: 100%; border-radius: 12px; border: 0; background: rgba(10, 132, 255, 0.16); color: #4da3ff; font: inherit; font-weight: 600; cursor: pointer; }
.updates-view .deel-melding { margin: 0; font-size: 12.5px; color: var(--tekst-zacht); text-align: center; min-height: 1em; }

/* ======================================================================
   v0.25 – rustiger en duidelijker, in de stijl van Apple (iOS-bladen, zachte veren-animaties)
   ====================================================================== */
:root {
  --ios-veer: cubic-bezier(0.32, 0.72, 0, 1);      /* de curve van iOS-bladen */
  --blad: rgba(26, 28, 35, 0.62);                    /* glas (v0.27): kaart schijnt vaag door, maar door de sterke vervaging is niets leesbaar */
  --blad-rand: rgba(255, 255, 255, 0.09);
}

/* Knoppen geven een klein "indrukje" als je erop tikt. */
.actie-knop, .tabbalk button, .knop, .zweef-knop, .vv-lijst button, .wat-nieuw-kaart footer button, .ar-knop, .snel-chip, .label-keuze button {
  transition: transform 0.18s var(--ios-veer), background-color 0.18s ease, opacity 0.18s ease;
}
.actie-knop:active, .tabbalk button:active, .knop:active, .zweef-knop:active, .vv-lijst button:active,
.wat-nieuw-kaart footer button:active, .ar-knop:active, .snel-chip:active, .label-keuze button:active { transform: scale(0.95); }
@media (prefers-reduced-motion: reduce) { .actie-knop:active, .tabbalk button:active, .knop:active { transform: none; } }

@media (max-width: 899px) {
  /* Bladen (Filters, Alerts, Settings, History, Airport, vluchtkaart): glas met een heel sterke vervaging,
     zoals de bladen van iOS 26: je ziet de kaart vaag, maar labels zijn er niet doorheen te lezen. */
  .paneel, .paneel-detail {
    background: var(--blad) !important;
    -webkit-backdrop-filter: blur(36px) saturate(1.9) brightness(0.95);
    backdrop-filter: blur(36px) saturate(1.9) brightness(0.95);
    border-color: var(--blad-rand) !important;
    box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.3), inset 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 -10px 40px rgba(0, 0, 0, 0.4);
  }
  /* Greepje bovenaan elk blad. */
  .paneel:not(.paneel-detail)::before {
    content: ''; position: absolute; top: 7px; left: 50%; width: 38px; height: 5px; margin-left: -19px;
    border-radius: 3px; background: rgba(255, 255, 255, 0.22); pointer-events: none;
  }
  .paneel { transition-timing-function: var(--ios-veer) !important; }

  /* Bovenkant: rustige donkere band achter de klok en batterij (zoals Apple Kaarten),
     zodat er geen vliegtuiglabels door de statusbalk lopen. */
  body::before {
    content: ''; position: fixed; left: 0; right: 0; top: 0; z-index: 6; pointer-events: none;
    height: calc(env(safe-area-inset-top) + 64px);
    background: linear-gradient(rgba(8, 10, 14, 0.72), rgba(8, 10, 14, 0.38) 55%, rgba(8, 10, 14, 0));
  }

  /* Vluchtkaart: alleen de knoppen die je echt gebruikt (Follow, Share, More info).
     3D staat in de onderbalk; Isolate alleen op de computer. */
  .paneel-detail .actie-knop[data-actie="drie-d"], .paneel-detail .actie-knop[data-actie="isoleer"] { display: none; }

  /* Geen route bekend: geen leeg vak, maar één nette rij met hoogte, snelheid en vertrek. */
  .mini-onder.zonder-route { grid-template-columns: 1fr; }
  .mini-stats.breed { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px 12px; }
  .mini-stats.breed span { font-size: 15.5px; }

  /* Onderbalk: iets ronder en rustiger. */
  .tabbalk { border-radius: 26px; border: 1px solid var(--blad-rand); background: rgba(22, 25, 31, 0.9); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); }
}
.vv-atc { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 11px 14px; border-radius: 14px; text-decoration: none; color: var(--tekst);
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.22), rgba(10, 132, 255, 0.08)); border: 1px solid rgba(10, 132, 255, 0.35); transition: transform 0.18s var(--ios-veer); }
.vv-atc:active { transform: scale(0.97); }
.vv-atc svg { width: 26px; height: 26px; flex: none; fill: none; stroke: #6fb4ff; stroke-width: 1.8; stroke-linecap: round; }
.vv-atc span { display: grid; gap: 2px; }
.vv-atc strong { font-size: 14.5px; }
.vv-atc small { font-size: 12px; color: var(--tekst-zacht); }
.ios-keuze { max-width: 46%; height: 32px; padding: 0 8px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); color: var(--tekst); font: inherit; font-size: 13px; }
.ios-test { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(10, 132, 255, 0.18); color: #4da3ff; font-size: 12px; cursor: pointer; transition: transform 0.18s var(--ios-veer); }
.ios-test:active { transform: scale(0.9); }

/* v0.25: onbekende bestemming rustig grijs */
.mini-veld.onbekend strong { color: var(--tekst-zacht); }

/* v0.25: rustiger Alerts-pagina */
.alert-rij .ar-kop { align-items: center; }
.alert-rij .ar-tekst { flex: 1; text-align: left; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-radius: 8px; }
.alert-rij .ar-tekst:active { opacity: 0.6; }
.alert-rij .ar-knoppen { justify-content: flex-end; }
.alert-motor { display: block; margin: 6px 4px 18px; line-height: 1.45; }
.motor-stip { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #f5a524; vertical-align: 1px; }
.motor-stip.ok { background: #30d158; }

/* v0.25: 3D als rond knopje rechtsonder op de kaart in plaats van in de onderbalk */
@media (max-width: 899px) {
  .zweef-knop.zweef-3d { left: auto; right: calc(var(--rechts, 0px) + 14px); font: 700 15px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; letter-spacing: 0.02em; }
  .zweef-knop.zweef-3d[aria-pressed="true"] { color: #0a84ff; }
}

/* ======================================================================
   v0.27 – "Liquid Glass" zoals iOS 26: helder glas met lichtranden (licht valt linksboven en
   rechtsonder op de rand), en in de onderbalk een glazen lens die met je vinger meeschuift en
   op zijn plek veert (js/glas.js). Echte lichtbreking kan alleen Apple zelf; dit benadert het.
   ====================================================================== */
:root {
  --lg-vulling: rgba(30, 32, 38, 0.32);
  --lg-blur: blur(14px) saturate(1.9) brightness(1.05);
  --lg-glans: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 42%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 0.05) 100%);
  --lg-rand: inset 0 1px 0.5px rgba(255, 255, 255, 0.36), inset 0 -1px 0.5px rgba(255, 255, 255, 0.1), inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
  --lg-schaduw: 0 10px 30px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.16);
  --lg-veer: cubic-bezier(0.3, 1.35, 0.45, 1);
  /* Computer en Mac-app: hetzelfde glas iets lichter en met lichtranden. */
  --glas: rgba(24, 28, 36, 0.42);
  --glas-blur: blur(26px) saturate(190%);
  --glas-schaduw: 0 12px 32px rgba(0, 0, 0, 0.34), inset 0 1px 0.5px rgba(255, 255, 255, 0.26), inset 0 -1px 0.5px rgba(255, 255, 255, 0.07);
}
/* Een veer die net iets doorschiet en terugkomt (waar de browser dat kan). */
@supports (transition-timing-function: linear(0, 1)) {
  :root { --lg-veer: linear(0, 0.08 4%, 0.32 9%, 0.62 15%, 0.86 21%, 1.02 27%, 1.08 32%, 1.09 36%, 1.06 42%, 1.02 50%, 0.995 60%, 0.99 68%, 1 80%, 1); }
}

@media (max-width: 899px) {
  /* Glas: onderbalk, ronde knoppen, zoekbalk, inlogknop, meldingen. */
  .tabbalk, .zweef-knop, .inlog-knop, .zoek input, .melding, .nood-pil {
    background: var(--lg-glans), var(--lg-vulling);
    -webkit-backdrop-filter: var(--lg-blur);
    backdrop-filter: var(--lg-blur);
    border: 0;
    box-shadow: var(--lg-rand), var(--lg-schaduw);
  }
  /* Lichtrand rondom (sterker linksboven en rechtsonder), zoals bij Apple. */
  .tabbalk::after, .zweef-knop::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
  }
  .zweef-knop:active, .inlog-knop:active { background: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)), var(--lg-vulling); }

  /* Zoekbalk als glas: witte tekst. */
  .zoek input { color: #fff; }
  .zoek input::placeholder { color: rgba(235, 235, 245, 0.62); }
  .zoek .zoek-icoon { color: rgba(235, 235, 245, 0.75); stroke: currentColor; }

  /* Onderbalk + lens */
  .tabbalk { padding: 6px; border-radius: 34px; touch-action: none; user-select: none; -webkit-user-select: none;
    transition: scale 0.45s var(--lg-veer), opacity 0.3s ease, transform 0.36s var(--ios-ease, ease); }
  .tabbalk.aanraak { scale: 1.025; }
  .tabbalk button { position: relative; z-index: 1; padding: 6px 0; border-radius: 28px; -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, scale 0.4s var(--lg-veer); }
  .tabbalk button:active { background: none; transform: none; }
  .tabbalk button.onder-lens { color: #0a84ff; scale: 1.14; }
  .tab-lens {
    position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: var(--lens-b, 64px); border-radius: 28px; pointer-events: none;
    translate: var(--lens-x, 0px) 0; scale: 0.85; opacity: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.32), inset 0 -1px 0.5px rgba(255, 255, 255, 0.1);
    transition: translate 0.55s var(--lg-veer), scale 0.45s var(--lg-veer), opacity 0.25s ease, width 0.3s ease, box-shadow 0.25s ease, background 0.25s ease;
  }
  .tab-lens.zichtbaar { opacity: 1; scale: 1; }
  /* Vinger erop: de lens groeit en wordt een heldere glazen bel met een sterke lichtrand. */
  .tab-lens.sleept {
    opacity: 1; scale: 1.18 1.12;
    background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.03) 62%), rgba(140, 180, 255, 0.07);
    box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.7), inset 0 -1.5px 1px rgba(255, 255, 255, 0.32), inset 0 0 14px rgba(255, 255, 255, 0.14), 0 8px 20px rgba(0, 0, 0, 0.35);
  }
  .tab-lens.volgt { transition: scale 0.45s var(--lg-veer), opacity 0.2s ease, box-shadow 0.25s ease, background 0.25s ease; } /* volgt je vinger direct */

  /* De vluchtkaart (klein) is glas; volledig scherm iets dichter voor lange teksten. */
  .paneel-detail.uitgeklapt { background: rgba(22, 24, 30, 0.8) !important; }
}

/* Wie in iOS "Verminder doorzichtigheid" aanzet, krijgt gewoon dichte vlakken. */
@media (prefers-reduced-transparency: reduce) {
  :root { --lg-vulling: rgba(30, 32, 38, 0.96); --blad: rgba(26, 28, 35, 0.98); --glas: rgba(22, 27, 37, 0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .tab-lens, .tabbalk, .tabbalk button { transition-duration: 0.01s !important; }
}

/* Toestelfeiten: Operator rechts; "Flight for" (wet lease) over de hele breedte */
.toestel-feiten div:last-child { text-align: left; }
.toestel-feiten > div:nth-child(3) { text-align: right; }
.toestel-feiten > .breed { grid-column: 1 / -1; text-align: left; }
.toestel-feiten small.zacht { display: block; margin-top: 2px; font-weight: 500; font-size: 12px; color: var(--tekst-zacht); }

/* ======================================================================
   v0.29 – ALLES GLAS ("Liquid Glass" zoals Apple): panelen, kaarten, knoppen, balken, pop-ups.
   Doorzichtig met een sterke vervaging (de kaart schijnt erdoor, tekst blijft leesbaar), lichte randen
   (licht van boven), en binnen een paneel lichtere "glas op glas"-vlakken in plaats van dichte kleuren.
   Wie in iPhone/Mac "Verminder doorzichtigheid" aanzet, krijgt dichte vlakken (onderaan).
   ====================================================================== */
:root {
  /* het glas zelf */
  --lg-tint: rgba(22, 24, 30, 0.34);
  --lg-tint-sterk: rgba(20, 22, 28, 0.44);
  --lg-wazig: blur(30px) saturate(190%) brightness(0.86);
  --lg-wazig-licht: blur(18px) saturate(190%) brightness(0.92);
  --lg-glans: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.025) 40%, rgba(255, 255, 255, 0) 65%, rgba(255, 255, 255, 0.035) 100%);
  --lg-randen: inset 0 1px 0.5px rgba(255, 255, 255, 0.30), inset 0 -1px 0.5px rgba(255, 255, 255, 0.07), inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
  --lg-zweef: 0 18px 50px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.18);
  /* glas op glas (binnen een paneel) */
  --lg-binnen: rgba(255, 255, 255, 0.07);
  --lg-binnen-2: rgba(255, 255, 255, 0.12);
  --lg-binnen-3: rgba(255, 255, 255, 0.18);
  --lg-binnen-rand: inset 0 0.5px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 0.5px rgba(255, 255, 255, 0.06);

  /* De oude (dichte) kleuren worden glas – alles wat ze gebruikt, gaat mee. */
  --vlak: var(--lg-tint-sterk);
  --vlak-vast: rgba(255, 255, 255, 0.06);
  --vlak-2: var(--lg-binnen);
  --vlak-3: var(--lg-binnen-2);
  --rand: rgba(255, 255, 255, 0.10);
  --glas: var(--lg-tint);
  --glas-sterk: var(--lg-tint-sterk);
  --glas-hover: rgba(255, 255, 255, 0.14);
  --glas-blur: var(--lg-wazig);
  --glas-glans: var(--lg-glans);
  --glas-schaduw: var(--lg-zweef), var(--lg-randen);
  --kaart-glas: var(--lg-tint);
  --kaart-rand: rgba(255, 255, 255, 0.12);
  --blad: var(--lg-tint-sterk);
}

/* Alles wat boven de kaart zweeft: hetzelfde glas. */
.paneel, .paneel-detail, .zoek-resultaten, .kaartje, .melding, .status, .weergave, .legenda, .account-menu,
.voet-inhoud, .hoofdnav, .snelfilters, .nood-pil, .inlog-kaart, .wat-nieuw-kaart, .knoppen .knop, .zoomknoppen .knop,
.rond-knop, .voet-knop, #knop-instellingen, .inlog-knop, .zoek input {
  background: var(--lg-glans), var(--lg-tint) !important;
  -webkit-backdrop-filter: var(--lg-wazig) !important;
  backdrop-filter: var(--lg-wazig) !important;
  border: 0 !important;
  box-shadow: var(--lg-randen), var(--lg-zweef) !important;
}
/* Grote panelen een tikje meer tint (veel tekst), en ronder. */
.paneel, .paneel-detail, .zoek-resultaten, .inlog-kaart, .wat-nieuw-kaart, .account-menu {
  background: var(--lg-glans), var(--lg-tint-sterk) !important;
}
@media (min-width: 900px) {
  .paneel, .paneel-detail { border-radius: 28px !important; }
  .kaartje { border-radius: 22px !important; }
}
/* Kleine knoppen boven de kaart: minder vervaging, ziet er helderder uit. */
.knoppen .knop, .zoomknoppen .knop, .rond-knop, .voet-knop, #knop-instellingen, .inlog-knop, .hoofdnav, .weergave, .status {
  -webkit-backdrop-filter: var(--lg-wazig-licht) !important;
  backdrop-filter: var(--lg-wazig-licht) !important;
}
.knoppen .knop:hover, .zoomknoppen .knop:hover, .rond-knop:hover, .inlog-knop:hover, #knop-instellingen:hover {
  background: var(--lg-glans), rgba(255, 255, 255, 0.16) !important;
}
.inlog-knop { color: #fff !important; }
.inlog-knop svg { stroke: #fff; }
.zoek input { color: #fff !important; }
.zoek input::placeholder { color: rgba(235, 235, 245, 0.6) !important; }
.zoek .zoek-icoon { color: rgba(235, 235, 245, 0.7) !important; stroke: currentColor !important; }
.zoek input:focus { box-shadow: var(--lg-randen), var(--lg-zweef), 0 0 0 3px rgba(10, 132, 255, 0.45) !important; }
.kop { background: none !important; }

/* Binnen een paneel: glas op glas in plaats van dichte vlakken. */
.kaart-blok, .ios-groep, .vv-weer, .mini-stats, .mini-route, .weg-uitleg, .gegevens, .alert-rij, .vv-lijst button,
.explore-lijst button:hover, .segment, .vv-tabs, .route-tijd, .actie-melding {
  background: var(--lg-binnen) !important;
  border-color: transparent !important;
  box-shadow: var(--lg-binnen-rand);
}
.gegevens > div { background: transparent !important; }
.knop-tekst, .actie-knop, .snel-chip, .label-keuze button, .ios-test, .ios-keuze, select, .knop-breed:not(.knop-breed[data-actie="nieuw"]) {
  border-color: transparent !important;
}
.knop-tekst, .actie-knop, .label-keuze button, .ios-test, .ios-keuze, select {
  background: var(--lg-binnen-2) !important;
  box-shadow: var(--lg-binnen-rand);
}
.knop-tekst:hover, .actie-knop:hover, .label-keuze button:hover { background: var(--lg-binnen-3) !important; }
.segment button[aria-pressed="true"], .vv-tabs button[aria-selected="true"], .weergave button[aria-pressed="true"], .hoofdnav [aria-current="page"], .hoofdnav button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.18) !important;
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
}
.chip, .klasse-chip, .badge.weg { background: rgba(255, 255, 255, 0.12) !important; }
.klasse-military, .badge.mil { background: rgba(132, 190, 70, 0.24) !important; border-color: transparent !important; }
.klasse-cargo { background: rgba(240, 180, 60, 0.22) !important; }
.klasse-airliner { background: rgba(80, 150, 255, 0.24) !important; }
.klasse-helicopter, .klasse-emergency { background: rgba(255, 90, 110, 0.24) !important; }
.klasse-business { background: rgba(170, 130, 255, 0.24) !important; }
.mij-logo { box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.25); }

/* Balk met Follow/Share/More info in de vluchtkaart: zwevend glas. */
.paneel-detail .actiebalk, .actiebalk {
  background: var(--lg-glans), rgba(255, 255, 255, 0.08) !important;
  -webkit-backdrop-filter: var(--lg-wazig-licht) !important;
  backdrop-filter: var(--lg-wazig-licht) !important;
  border: 0 !important;
  box-shadow: var(--lg-randen), 0 10px 30px rgba(0, 0, 0, 0.28) !important;
}
.paneel-detail .actiebalk .actie-knop { background: transparent !important; box-shadow: none; }
.paneel-detail .actiebalk .actie-knop:hover, .paneel-detail .actiebalk .actie-knop[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14) !important; }
.paneel-alerts .wizard-voet, .filter-voet { background: transparent !important; border-top-color: rgba(255, 255, 255, 0.08) !important; }
.paneel-kop { background: transparent !important; border-bottom-color: rgba(255, 255, 255, 0.07) !important; }

/* Pop-ups (What's new, inloggen): het scherm erachter wordt alleen iets donkerder en wazig. */
.wat-nieuw, .inlog-scherm { background: rgba(0, 0, 0, 0.25) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Telefoon: ook de volledig-scherm-vluchtkaart is glas. */
@media (max-width: 899px) {
  .paneel-detail.uitgeklapt { background: var(--lg-glans), rgba(20, 22, 28, 0.5) !important; }
}

/* Toegankelijkheid: "Verminder doorzichtigheid" = dichte vlakken. */
@media (prefers-reduced-transparency: reduce) {
  :root { --lg-tint: rgba(28, 30, 36, 0.97); --lg-tint-sterk: rgba(24, 26, 32, 0.98); --lg-binnen: rgba(255, 255, 255, 0.08); }
}

/* In de iPhone-app met échte Apple-glasknoppen tekent de app de onderbalk en de ronde knoppen zelf. */
html.app-glas .tabbalk, html.app-glas .zweef-knop { display: none !important; }

/* ======================================================================
   v0.30 – LICHTE MODUS (kaart "Light"): licht glas, donkere tekst, zoals iOS in de lichte stand.
   ====================================================================== */
body.thema-licht {
  --tekst: #1d1d1f;
  --tekst-zacht: rgba(60, 60, 67, 0.64);
  --rand: rgba(0, 0, 0, 0.08);
  --lg-tint: rgba(255, 255, 255, 0.5);
  --lg-tint-sterk: rgba(252, 252, 253, 0.66);
  --lg-wazig: blur(30px) saturate(180%) brightness(1.05);
  --lg-wazig-licht: blur(18px) saturate(180%) brightness(1.04);
  --lg-glans: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 40%, rgba(255, 255, 255, 0) 70%);
  --lg-randen: inset 0 1px 0.5px rgba(255, 255, 255, 0.95), inset 0 -1px 0.5px rgba(0, 0, 0, 0.03), inset 0 0 0 0.5px rgba(0, 0, 0, 0.07);
  --lg-zweef: 0 14px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  --lg-binnen: rgba(0, 0, 0, 0.035);
  --lg-binnen-2: rgba(0, 0, 0, 0.055);
  --lg-binnen-3: rgba(0, 0, 0, 0.09);
  --lg-binnen-rand: inset 0 0 0 0.5px rgba(0, 0, 0, 0.05);
  --vlak-vast: rgba(0, 0, 0, 0.03);
  --glas-hover: rgba(0, 0, 0, 0.06);
  --kaart-rand: rgba(0, 0, 0, 0.08);
  color: var(--tekst);
}
body.thema-licht .tabbalk button, body.thema-licht .zweef-knop, body.thema-licht .inlog-knop,
body.thema-licht .zoek input, body.thema-licht .knop, body.thema-licht .rond-knop, body.thema-licht .paneel-sluit,
body.thema-licht .melding, body.thema-licht .status, body.thema-licht .hoofdnav button, body.thema-licht .weergave button {
  color: var(--tekst) !important;
}
body.thema-licht .inlog-knop svg, body.thema-licht .zweef-knop svg, body.thema-licht .knop svg { stroke: currentColor !important; }
body.thema-licht .zoek input::placeholder { color: rgba(60, 60, 67, 0.55) !important; }
body.thema-licht .zoek .zoek-icoon { color: rgba(60, 60, 67, 0.6) !important; }
body.thema-licht .tabbalk button.onder-lens, body.thema-licht.explore-open .tabbalk [data-tab="explore"] { color: #007aff !important; }
body.thema-licht .knoppen .knop:hover, body.thema-licht .rond-knop:hover, body.thema-licht .inlog-knop:hover {
  background: var(--lg-glans), rgba(255, 255, 255, 0.8) !important;
}
/* Gekozen knop in een groep: wit "pilletje" op een grijze baan, zoals iOS. */
body.thema-licht .segment button[aria-pressed="true"], body.thema-licht .vv-tabs button[aria-selected="true"],
body.thema-licht .weergave button[aria-pressed="true"], body.thema-licht .hoofdnav button[aria-pressed="true"], body.thema-licht .hoofdnav [aria-current="page"] {
  background: #fff !important; color: var(--tekst) !important; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
}
body.thema-licht .snel-chip[aria-pressed="true"], body.thema-licht .linkerkolom .snel-chip[aria-pressed="true"] { background: #1d1d1f !important; color: #fff !important; }
body.thema-licht .schakel-baan { background: rgba(120, 120, 128, 0.2); }
body.thema-licht .tab-lens { background: rgba(0, 0, 0, 0.06); box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06); }
body.thema-licht .tab-lens.sleept { background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4) 62%); box-shadow: inset 0 1px 1px #fff, inset 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.12); }
/* Gekleurde labels: donkerder tekst, anders onleesbaar op licht glas. */
body.thema-licht .klasse-military, body.thema-licht .badge.mil { color: #3d6b12 !important; }
body.thema-licht .klasse-cargo { color: #8a5a00 !important; }
body.thema-licht .klasse-airliner { color: #1d5fbf !important; }
body.thema-licht .klasse-helicopter, body.thema-licht .klasse-emergency { color: #b3263a !important; }
body.thema-licht .klasse-business { color: #6a3fc1 !important; }
body.thema-licht .nood-uitleg strong { color: var(--tekst); }
body.thema-licht .melding { color: var(--tekst); }
/* Statusbalk (klok, batterij) op de telefoon: lichte band in plaats van een donkere. */
@media (max-width: 899px) {
  body.thema-licht::before { background: linear-gradient(rgba(243, 243, 241, 0.75), rgba(243, 243, 241, 0.35) 55%, rgba(243, 243, 241, 0)); }
  body.thema-licht .paneel:not(.paneel-detail)::before { background: rgba(0, 0, 0, 0.18); }
  body.thema-licht .paneel-detail.uitgeklapt { background: var(--lg-glans), rgba(252, 252, 253, 0.72) !important; }
}
body.thema-licht .wat-nieuw, body.thema-licht .inlog-scherm { background: rgba(0, 0, 0, 0.12) !important; }

/* ======================================================================
   v0.30 – RUSTIGE TELEFOONINDELING (zoals Apple Kaarten)
   - onderaan een compacte zwevende glasbalk met alleen pictogrammen;
   - rechtsboven een smalle glazen kolom: kaartstijl, 3D, terug naar start;
   - geen losse ronde knoppen meer in de hoeken.
   ====================================================================== */
.kaartknoppen, .modus-menu { display: none; }
@media (max-width: 899px) {
  .tabbalk {
    left: 0 !important; right: 0 !important; width: fit-content; margin-inline: auto;
    bottom: calc(var(--onder) + 12px) !important;
    padding: 5px !important; gap: 2px; border-radius: 30px !important;
  }
  .tabbalk button { flex: none !important; width: 56px; height: 46px; padding: 0 !important; display: grid !important; place-items: center; border-radius: 23px !important; }
  .tabbalk button svg { width: 23px !important; height: 23px !important; stroke-width: 1.65 !important; }
  .tabbalk button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tab-lens { top: 5px !important; bottom: 5px !important; border-radius: 23px !important; }
  body.explore-open .linkerkolom { bottom: calc(var(--onder) + 76px) !important; }

  .kaartknoppen {
    display: grid; position: fixed; z-index: 23; right: calc(var(--rechts) + 12px); top: calc(var(--boven) + 70px);
    width: 46px; border-radius: 23px; overflow: hidden;
    background: var(--lg-glans), var(--lg-tint) !important;
    -webkit-backdrop-filter: var(--lg-wazig-licht); backdrop-filter: var(--lg-wazig-licht);
    box-shadow: var(--lg-randen), var(--lg-zweef);
    transition: opacity 0.25s ease, transform 0.36s var(--ios-veer, ease);
  }
  .kk-knop {
    width: 46px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: none;
    color: var(--tekst); cursor: pointer; -webkit-tap-highlight-color: transparent;
    font: 600 14px -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; letter-spacing: 0.02em;
    transition: background-color 0.15s ease, transform 0.2s var(--lg-veer, ease);
  }
  .kk-knop + .kk-knop { box-shadow: inset 0 0.5px 0 var(--rand); }
  .kk-knop:active { background: var(--lg-binnen-2); transform: scale(0.92); }
  .kk-knop svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
  .kk-knop[aria-pressed="true"], .kk-knop[aria-expanded="true"] { color: #0a84ff; }
  :is(body.filters-open, body.instellingen-open, body.alerts-open, body.details-open, body.historie-open, body.vliegveld-open, body.explore-open, body.ar-open) .kaartknoppen {
    opacity: 0; transform: translateX(16px); pointer-events: none;
  }
  .meldingen { right: calc(var(--rechts) + 66px) !important; }

  /* Menu met de drie kaartstijlen, naast de kolom. */
  .modus-menu {
    display: grid; position: fixed; z-index: 40; right: calc(var(--rechts) + 66px); top: calc(var(--boven) + 70px);
    min-width: 168px; padding: 6px; gap: 2px; border-radius: 18px;
    background: var(--lg-glans), var(--lg-tint-sterk) !important;
    -webkit-backdrop-filter: var(--lg-wazig); backdrop-filter: var(--lg-wazig);
    box-shadow: var(--lg-randen), var(--lg-zweef);
    transform-origin: top right; animation: modusIn 0.22s var(--ios-veer, ease);
  }
  .modus-menu[hidden] { display: none; }
  .modus-menu button {
    display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border: 0; border-radius: 12px;
    background: none; color: var(--tekst); font: 500 15px -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; text-align: left; cursor: pointer;
  }
  .modus-menu button:active { background: var(--lg-binnen-2); }
  .modus-menu button[aria-checked="true"]::after { content: ''; margin-left: auto; width: 6px; height: 11px; border: solid #0a84ff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); }
  .mm-staal { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 0.5px rgba(127, 127, 127, 0.4); }
  .mm-staal.donker { background: linear-gradient(135deg, #2a2d34, #15171c); }
  .mm-staal.licht { background: linear-gradient(135deg, #f7f7f5, #d9dde2); }
  .mm-staal.satelliet { background: linear-gradient(135deg, #3d5a3a, #24372a 55%, #3b4f63); }
}
@keyframes modusIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
/* In de iPhone-app tekent de app deze knoppen zelf (echte Apple-glasknoppen). */
html.app-glas .kaartknoppen, html.app-glas .modus-menu { display: none !important; }

/* v0.30 – rustiger: één accentkleur (Apple-blauw) voor knoppen en keuzes, geen gloed. */
.knop-breed { background: #0a84ff !important; color: #fff !important; box-shadow: none !important; font-weight: 600; }
.knop-breed:active { filter: brightness(0.92); }
.route-vlieg, .mini-vlieg { color: var(--tekst-zacht) !important; }
.route-vlieg svg, .mini-vlieg svg { fill: currentColor; }
.route-gevlogen { background: var(--tekst-zacht) !important; opacity: 0.6; }
.label-keuze button[aria-pressed="true"] { background: #0a84ff; border-color: #0a84ff; }
.label-keuze button[aria-pressed="true"] { background: #0a84ff !important; color: #fff !important; box-shadow: none !important; }

/* ======================================================================
   v0.31 – TELEFOONINDELING ZOALS PLANE FINDER (met onze eigen onderdelen)
   - bovenaan: ronde filterknop + snelfilters als glazen chips (schuifbaar);
   - onderaan: één glazen blad met de zoekbalk (AR-knop erin) en daaronder de tabbladen met tekst;
   - rechts boven het blad: kaartstijl + mijn locatie samen, 3D apart.
   ====================================================================== */
.bodemblad, .topbalk { display: none; }
@media (max-width: 899px) {
  .kop { display: none !important; }
  .tabbalk button.alleen-groot { display: none !important; }

  /* --- bovenaan --- */
  .topbalk { display: flex; align-items: center; gap: 8px; position: fixed; z-index: 22; top: calc(var(--boven) + 8px); left: 0; right: 0; padding: 0 0 0 calc(var(--links) + 12px);
    transition: opacity 0.25s ease, transform 0.36s var(--ios-veer, ease); }
  .tb-filter { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--tekst); cursor: pointer;
    background: var(--lg-glans), var(--lg-tint); -webkit-backdrop-filter: var(--lg-wazig-licht); backdrop-filter: var(--lg-wazig-licht); box-shadow: var(--lg-randen), var(--lg-zweef); }
  .tb-filter svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
  .tb-filter:active { transform: scale(0.92); }
  .tb-chips { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 6px 12px 10px 2px; margin: -6px 0 -10px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .tb-chips::-webkit-scrollbar { display: none; }
  .tb-chips .snelfilters { display: flex !important; flex-wrap: nowrap !important; gap: 8px; padding: 0 !important; margin: 0;
    background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; }
  .tb-chips .snel-chip { flex: none; height: 42px; padding: 0 16px !important; border-radius: 21px !important; font-size: 15px !important; font-weight: 500; white-space: nowrap;
    color: var(--tekst) !important; background: var(--lg-glans), var(--lg-tint) !important; -webkit-backdrop-filter: var(--lg-wazig-licht) !important; backdrop-filter: var(--lg-wazig-licht) !important;
    box-shadow: var(--lg-randen), 0 6px 18px rgba(0, 0, 0, 0.18) !important; border: 0 !important; }
  .tb-chips .snel-chip[aria-pressed="true"] { background: var(--lg-glans), rgba(255, 255, 255, 0.2) !important; color: var(--tekst) !important; }
  .tb-chips .snel-chip[aria-pressed="true"]::before { content: '✓'; margin-right: 6px; font-weight: 600; }
  body.thema-licht .tb-chips .snel-chip[aria-pressed="true"] { background: var(--lg-glans), rgba(255, 255, 255, 0.92) !important; }
  .tb-chips .snel-chip .aantal { display: none; }

  /* --- onderblad --- */
  .bodemblad { display: grid; gap: 10px; position: fixed; z-index: 24; left: calc(var(--links) + 10px); right: calc(var(--rechts) + 10px); bottom: calc(var(--onder) + 6px);
    padding: 10px 10px 8px; border-radius: 34px;
    background: var(--lg-glans), var(--lg-tint-sterk); -webkit-backdrop-filter: var(--lg-wazig); backdrop-filter: var(--lg-wazig); box-shadow: var(--lg-randen), var(--lg-zweef);
    transition: opacity 0.25s ease, transform 0.4s var(--ios-veer, ease); }
  .bb-zoek { position: relative; }
  .bb-zoek .zoek { position: static; flex: 1; max-width: none; margin: 0; }
  .bb-zoek .zoek input { width: 100%; height: 50px !important; border-radius: 25px !important; padding: 0 52px 0 46px !important; font-size: 17px !important;
    background: var(--lg-binnen-2) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: var(--lg-binnen-rand) !important; }
  .bb-zoek .zoek .zoek-icoon { left: 16px !important; top: 15px !important; }
  .bb-zoek .zoek-sneltoets { display: none !important; }
  .bb-ar { position: absolute; z-index: 2; right: 5px; top: 5px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%;
    background: none; color: var(--tekst); cursor: pointer; }
  .bb-ar[hidden] { display: none; }
  .bb-ar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .bb-ar:active { background: var(--lg-binnen-2); }
  .bb-zoek .zoek-resultaten { top: auto !important; bottom: calc(100% + 14px) !important; left: -10px !important; right: -10px !important; max-height: 52vh; border-radius: 24px !important; }

  /* tabbladen in het blad: met tekst, het gekozen tabblad blauw met een lichte "pil" */
  .bodemblad .tabbalk { position: relative !important; inset: auto !important; display: flex !important; width: auto !important; margin: 0 !important; padding: 4px !important; gap: 0 !important;
    border-radius: 28px !important; background: var(--lg-binnen) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: var(--lg-binnen-rand) !important;
    opacity: 1 !important; transform: none !important; scale: 1 !important; }
  .bodemblad .tabbalk::after { display: none !important; }
  .bodemblad .tabbalk button { flex: 1 1 0 !important; width: auto !important; height: 56px !important; display: grid !important; place-items: center; align-content: center; gap: 3px !important;
    border-radius: 24px !important; color: var(--tekst) !important; font: 500 11.5px -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif !important; }
  .bodemblad .tabbalk button[hidden] { display: none !important; }
  .bodemblad .tabbalk button svg { width: 25px !important; height: 25px !important; stroke-width: 1.6 !important; }
  .bodemblad .tabbalk button span { position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip-path: none !important; }
  .bodemblad .tab-lens { top: 4px !important; bottom: 4px !important; border-radius: 24px !important; background: var(--lg-binnen-3) !important; box-shadow: none !important; }
  body:not(.explore-open) .bodemblad .tabbalk [data-tab="kaart"], body.explore-open .bodemblad .tabbalk [data-tab="explore"],
  .bodemblad .tabbalk button.onder-lens { color: #0a84ff !important; }

  /* Explore-lijst boven het blad. */
  body.explore-open .linkerkolom { bottom: calc(var(--onder) + 160px) !important; }

  /* --- rechts boven het blad --- */
  .kaartknoppen { top: auto !important; bottom: calc(var(--onder) + 160px) !important; width: 50px !important; display: grid !important; gap: 12px; justify-items: center;
    background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; overflow: visible !important; border-radius: 0 !important; }
  .kk-groep { display: grid; width: 50px; border-radius: 25px; overflow: hidden;
    background: var(--lg-glans), var(--lg-tint); -webkit-backdrop-filter: var(--lg-wazig-licht); backdrop-filter: var(--lg-wazig-licht); box-shadow: var(--lg-randen), var(--lg-zweef); }
  .kk-groep .kk-knop { width: 50px; height: 50px; }
  .kk-knop.kk-los { width: 54px; height: 54px; border-radius: 50%; font-size: 16px;
    background: var(--lg-glans), var(--lg-tint); -webkit-backdrop-filter: var(--lg-wazig-licht); backdrop-filter: var(--lg-wazig-licht); box-shadow: var(--lg-randen), var(--lg-zweef); }
  .kk-knop + .kk-knop { box-shadow: inset 0 0.5px 0 var(--rand); }
  .modus-menu { top: auto !important; bottom: calc(var(--onder) + 226px) !important; right: calc(var(--rechts) + 72px) !important; transform-origin: bottom right; }

  /* Bronvermelding (i) links boven het blad; meldingen bovenaan onder de chips. */
  .voet { bottom: calc(var(--onder) + 160px) !important; }
  .meldingen { top: calc(var(--boven) + 64px) !important; right: calc(var(--rechts) + 12px) !important; }

  /* Paneel of vluchtkaart open: blad, chips en knoppen schuiven weg. */
  :is(body.filters-open, body.instellingen-open, body.alerts-open, body.details-open, body.historie-open, body.vliegveld-open, body.ar-open) .bodemblad {
    opacity: 0; transform: translateY(40px); pointer-events: none; }
  :is(body.filters-open, body.instellingen-open, body.alerts-open, body.details-open, body.historie-open, body.vliegveld-open, body.ar-open) .topbalk {
    opacity: 0; transform: translateY(-20px); pointer-events: none; }
  body.explore-open .kaartknoppen { opacity: 0; pointer-events: none; }

  /* Account bovenin Settings. */
  .instellingen-account { display: flex; justify-content: flex-end; margin: 0 0 6px; }
  .instellingen-account:empty { display: none; }
  .instellingen-account .inlog-knop { width: auto !important; height: 36px !important; padding: 0 14px !important; border-radius: 18px !important; }
  .instellingen-account .inlog-knop span { display: inline !important; }
  .instellingen-account .avatar { width: 36px !important; height: 36px !important; font-size: 15px !important; }
}
@media (max-width: 899px) {
  .tb-chips .snelfilters { position: static !important; inset: auto !important; width: max-content !important; max-width: none !important; overflow: visible !important; }
  .tb-chips .snelfilters::before { display: none !important; }
  .bodemblad .tabbalk button.alleen-groot { display: none !important; }
  .bb-zoek .zoek .zoek-icoon { top: 50% !important; transform: translateY(-50%); }
}

/* v0.31 – klein vluchtkaartje (telefoon) in de stijl van Plane Finder */
@media (max-width: 899px) {
  .paneel-detail:not(.uitgeklapt) .piek.pf { gap: 12px; padding: 16px 16px 12px; }
  .pf-kop { display: flex; align-items: flex-start; gap: 12px; }
  .pf-kop .mij-logo { width: 44px; height: 44px; border-radius: 11px; flex: none; }
  .pf-titel { flex: 1; min-width: 0; display: grid; gap: 2px; }
  .pf-r1 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .pf-r1 strong { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-right: 2px; }
  .pf-chip { padding: 1px 7px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--tekst-zacht);
    box-shadow: inset 0 0 0 1px var(--rand); font-variant-numeric: tabular-nums; }
  .pf-r2 { font-size: 16px; color: var(--tekst); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pf-r3 { font-size: 14px; color: var(--tekst-zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pf-foto { width: 112px; height: 66px; object-fit: cover; border-radius: 14px; flex: none; }
  .pf-kop .mini-sluit { flex: none; margin: -4px -6px 0 0; }

  .pf-route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px; }
  .pf-veld { display: grid; min-width: 0; }
  .pf-veld.rechts { text-align: right; }
  .pf-veld small { font-size: 14px; color: var(--tekst); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
  .pf-veld strong { font-size: 28px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.1; }
  .pf-balk { position: relative; height: 6px; margin-bottom: 11px; border-radius: 3px; background: var(--lg-binnen-3); overflow: hidden; }
  .pf-gevuld { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: #30d158; transition: width 0.6s var(--ios-veer, ease); }
  .pf-onder { display: flex; justify-content: space-between; gap: 10px; margin-top: -6px; font-size: 14px; color: var(--tekst-zacht); font-variant-numeric: tabular-nums; }

  .pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 10px; border-top: 0.5px solid var(--rand); }
  .pf-stats span { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .pf-stats span + span { box-shadow: inset 0.5px 0 0 var(--rand); }
  .pf-stats svg { width: 20px; height: 20px; fill: none; stroke: var(--tekst-zacht); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}
@media (max-width: 899px) {
  .pf-chips { display: flex; gap: 5px; flex-wrap: nowrap; overflow: hidden; margin: 2px 0 3px; }
  .pf-chips .pf-chip { flex: none; }
  .pf-r3 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
  .pf-foto { width: 100px; height: 62px; }
}
@media (max-width: 899px) {
  body.thema-licht .tb-chips .snel-chip[aria-pressed="true"] { color: #1d1d1f !important; }
}

/* ======================================================================
   iPhone-app 1.3 met échte Apple-glasknoppen (html.app-glas, alleen op de telefoon)
   - de app tekent zelf de balk onderin (de tabbladen), de capsule (kaartstijl + mijn locatie) en de 3D-knop;
     het blad van de website is dan weg (zie onder v0.32);
   - --app-onder = bovenkant van de balk van de app, gemeten vanaf de onderkant van het scherm (de app geeft dit door).
   ====================================================================== */
@media (max-width: 899px) {
  html.app-glas { --app-blad: var(--app-onder, calc(var(--onder) + 52px)); }
  /* Explore-lijst en bronvermelding (i) net boven de balk van de app, op één lijn met de 3D-knop. */
  html.app-glas body.explore-open .linkerkolom, html.app-glas .voet { bottom: calc(var(--app-blad) + 14px) !important; }
}

/* ======================================================================
   v0.32 – telefoon: zoekbalk weer bovenaan (logo links, account rechts), snelfilters eronder,
   onderaan alleen een zwevende glazen balk met Alerts, Explore en Settings.
   ====================================================================== */
@media (max-width: 899px) {
  .kop { display: flex !important; }
  .zoek { position: relative; }
  .zoek input { padding-right: 48px !important; }
  .zoek .bb-ar { position: absolute; z-index: 2; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; }

  /* filterknop + snelfilters onder de zoekbalk */
  .topbalk { top: calc(var(--boven) + 66px) !important; }
  .tb-filter { width: 42px !important; height: 42px !important; }
  .tb-chips .snel-chip { height: 38px !important; font-size: 14.5px !important; padding: 0 14px !important; }

  /* onderaan: compacte zwevende glazen balk met tekst onder de pictogrammen */
  .bodemblad { left: 0 !important; right: 0 !important; width: fit-content; margin-inline: auto; padding: 6px !important; gap: 0 !important; border-radius: 32px !important;
    bottom: calc(var(--onder) + 10px) !important; }
  .bodemblad .tabbalk { background: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 26px !important; }
  .bodemblad .tabbalk button { flex: none !important; width: 86px !important; height: 54px !important; }
  .bodemblad .tab-lens { top: 0 !important; bottom: 0 !important; border-radius: 26px !important; }
  body:not(.explore-open) .bodemblad .tabbalk [data-tab="kaart"] { color: inherit; }

  /* alles wat boven de balk zweeft iets lager */
  .kaartknoppen { bottom: calc(var(--onder) + 92px) !important; }
  .modus-menu { bottom: calc(var(--onder) + 158px) !important; }
  body.explore-open .linkerkolom { bottom: calc(var(--onder) + 92px) !important; }
  .voet { bottom: calc(var(--onder) + 92px) !important; }
  .meldingen { top: calc(var(--boven) + 118px) !important; }
}
/* In de iPhone-app 1.3+ tekent de app de balk onderaan zelf: dan het blad van de website weg. */
@media (max-width: 899px) { html.app-glas .bodemblad { display: none !important; } }
.bb-ar { display: none; }
@media (max-width: 899px) { .bb-ar:not([hidden]) { display: grid; } }
@media (max-width: 899px) {
  body:has(#zoek-resultaten:not([hidden])) .topbalk, body:has(#zoek-invoer:focus) .topbalk { opacity: 0; pointer-events: none; transform: translateY(-8px); }
}

/* v0.33 – luchthavenfilter: chip bovenaan (tik = uit) */
.veld-filter-chip { position: fixed; z-index: 25; left: 50%; transform: translateX(-50%); top: calc(var(--boven) + 68px);
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 8px 0 16px; border: 0; border-radius: 19px; cursor: pointer;
  color: #fff; font: 600 14px -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: rgba(10, 132, 255, 0.92); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.veld-filter-chip[hidden] { display: none; }
.veld-filter-chip .sluit { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); font-size: 12px; }
@media (max-width: 899px) { .veld-filter-chip { top: calc(var(--boven) + 118px); } }
.vv-kaartfilter { width: 100%; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }

/* v0.36 – ATC in de app */
.vv-atc-blok { display: grid; gap: 10px; }
.atc-speler { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: var(--lg-binnen); box-shadow: var(--lg-binnen-rand); }
.atc-kanalen { display: grid; gap: 4px; }
.atc-kanaal { display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 10px; background: none; color: var(--tekst); text-align: left; font: inherit; cursor: pointer; }
.atc-kanaal:hover, .atc-kanaal.speelt { background: var(--lg-binnen-2); }
.atc-kanaal span:last-child { display: grid; }
.atc-kanaal small { color: var(--tekst-zacht); font-size: 12px; }
.atc-knop { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #0a84ff; position: relative; }
.atc-knop::after { content: ''; position: absolute; left: 11px; top: 9px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; }
.atc-kanaal.speelt .atc-knop::after { left: 10px; top: 9px; width: 10px; height: 12px; border: 0; border-left: 3px solid #fff; border-right: 3px solid #fff; box-sizing: border-box; }
.atc-bediening { display: flex; align-items: center; gap: 8px; }
.atc-bediening input[type="range"] { flex: 1; accent-color: #0a84ff; }
.atc-stil { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--lg-binnen-2); cursor: pointer; }
.atc-status { font-size: 12px; color: var(--tekst-zacht); min-width: 90px; text-align: right; }
.atc-status[data-soort="live"] { color: #30d158; font-weight: 600; }
.atc-status[data-soort="fout"] { color: #ff9f0a; }
.atc-freq { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.atc-freq li { display: grid; grid-template-columns: 96px 70px 1fr; gap: 8px; align-items: baseline; padding: 6px 4px; border-bottom: 0.5px solid var(--rand); font-size: 13.5px; }
.atc-freq strong { font-variant-numeric: tabular-nums; }
.atc-freq small { color: var(--tekst-zacht); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-noot { margin: 0; font-size: 11.5px; color: var(--tekst-zacht); }

/* v0.36 – dienstregeling: geplande tijden, gates en bagageband */
.schema-rij { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.schema-lijst .laat, .schema-blok .laat { color: #ff9f0a; }
.schema-blok { display: grid; gap: 8px; }
.schema-kop { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.schema-status { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: rgba(120, 120, 128, 0.2); color: var(--tekst-zacht); }
.schema-kanten { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.schema-kant h5 { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--tekst-zacht); text-transform: uppercase; letter-spacing: 0.03em; }
.schema-kant dl { margin: 0; display: grid; gap: 2px; }
.schema-kant dl div { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; }
.schema-kant dt { color: var(--tekst-zacht); }
.schema-kant dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.schema-kant dd small { font-weight: 400; color: var(--tekst-zacht); }
body.thema-licht .schema-rij { background: rgba(0, 0, 0, 0.04); }

/* v0.36 – bronvermelding echte 3D-modellen */
.model-credits { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 2; max-width: min(90%, 560px); margin: 0; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; color: var(--tekst-zacht); background: rgba(20, 22, 26, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.model-credits[hidden] { display: none; }

/* v0.53 – beter filtermenu: knoppenrijen (segment), labeltjes (chips) en uitleg */
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; margin: 4px 0 10px; border-radius: 11px; background: rgba(120, 120, 128, 0.18); }
.segment button { border: 0; border-radius: 8px; padding: 7px 6px; font: inherit; font-size: 13px; font-weight: 550; color: var(--tekst-zacht); background: transparent; cursor: pointer; }
.segment button[aria-pressed="true"] { color: var(--tekst); background: rgba(255, 255, 255, 0.16); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
body.thema-licht .segment button[aria-pressed="true"] { background: #fff; }
.segment[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.veld-kop { display: block; margin-top: 6px; font-size: 12.5px; color: var(--tekst-zacht); }
.filter-uitleg { margin: 0 0 4px; font-size: 11.5px; line-height: 1.4; color: var(--tekst-zacht); }
.chips-invoer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 42px; padding: 6px 8px; border-radius: 11px; background: rgba(120, 120, 128, 0.16); border: 1px solid rgba(255, 255, 255, 0.08); }
.chips-invoer input { flex: 1 1 120px; min-width: 110px; border: 0; background: transparent; color: var(--tekst); font: inherit; font-size: 14px; padding: 4px 2px; outline: none; }
.chips-invoer:focus-within { border-color: rgba(10, 132, 255, 0.7); }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(10, 132, 255, 0.85); border: 0; cursor: pointer; }
.filter-chip .weg { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; background: rgba(255, 255, 255, 0.22); }
body.thema-licht .chips-invoer { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.08); }

/* v0.54: de iPhone zoomt de hele pagina in als je tikt in een tekstveld kleiner dan 16px
   (o.a. het vliegveld- en typeveld in het filtermenu). Op aanraakschermen daarom altijd 16px. */
@media (pointer: coarse), (max-width: 899px) {
  .chips-invoer input, .zoek input, .veld input, .veld select, textarea { font-size: 16px; }
}

/* v0.59: banen in gebruik (vliegveldpaneel) en vliegvelden in de zoekbalk */
.vv-banen .vv-baan-rij { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.vv-banen .vv-baan-soort { display: inline-flex; align-items: center; gap: 6px; min-width: 92px; font-size: 13px; color: var(--tekst-zacht, rgba(235, 235, 245, 0.6)); }
.vv-banen .vv-baan-soort svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vv-banen .vv-baan-lijst { display: flex; flex-wrap: wrap; gap: 6px; }
.vv-banen .vv-baan { display: inline-flex; align-items: baseline; gap: 5px; padding: 5px 11px; border-radius: 10px; background: rgba(120, 120, 128, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); }
.vv-banen .vv-baan strong { font-size: 19px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.vv-banen .vv-baan small { font-size: 11.5px; opacity: 0.65; }
.vv-banen .vv-baan-geen { font-size: 13px; opacity: 0.55; padding: 5px 0; }
.vv-banen .vv-banen-noot { margin: 6px 0 0; font-size: 11.5px; opacity: 0.55; }
body.thema-licht .vv-banen .vv-baan { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.08); }
.zr-veld .zr-veld-icoon { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(10, 132, 255, 0.18); }
.zr-veld .zr-veld-icoon svg { width: 18px; height: 18px; fill: none; stroke: #4da3ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* v0.62: de sluitknop van de vluchtkaart is veel groter om op te tikken (het hele hoekje rechtsboven),
   en het rondje zelf iets groter. */
.pf-kop .mini-sluit { position: relative; width: 36px !important; height: 36px !important; }
.pf-kop .mini-sluit::before { content: ''; position: absolute; top: -16px; right: -18px; bottom: -46px; left: -10px; }
.pf-kop .mini-sluit svg { width: 16px; height: 16px; }

/* v0.63: verplicht inloggen en het beheerscherm (admin) */
body.inlog-verplicht .inlog-scherm { background: radial-gradient(120% 90% at 50% 0%, #1b2233 0%, #0b0d12 70%); }
.account-menu button.menu-gewoon { color: var(--tekst); }
.beheer-scherm { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.beheer-scherm[hidden] { display: none; }
.beheer-kaart { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 18px 18px 22px; border-radius: 22px; background: rgba(28, 28, 32, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: var(--tekst); }
.beheer-kop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.beheer-kop h2 { margin: 0; font-size: 20px; }
.beheer-sluit { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: var(--tekst); font-size: 15px; cursor: pointer; }
.beheer-sluit::before { content: ''; position: absolute; inset: -12px; }
.beheer-blok { margin-top: 16px; }
.beheer-blok h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tekst-zacht, rgba(235, 235, 245, 0.6)); }
.beheer-blok h3 small { text-transform: none; letter-spacing: 0; margin-left: 6px; }
.beheer-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.beheer-rij div { padding: 10px 12px; border-radius: 12px; background: rgba(120, 120, 128, 0.16); display: grid; gap: 2px; }
.beheer-rij small { font-size: 11.5px; opacity: 0.65; }
.beheer-rij strong { font-size: 16px; }
.beheer-status { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 10px 0; }
.beheer-stip { flex: none; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.beheer-stip.goed { background: #30d158; box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.18); }
.beheer-stip.slecht { background: #ff453a; }
.beheer-knop { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(120, 120, 128, 0.2); color: var(--tekst); font-size: 15px; font-weight: 600; cursor: pointer; }
.beheer-knop.gevaar { color: #ff6961; }
.beheer-knop.klein { min-height: 36px; padding: 0 12px; font-size: 13px; }
.beheer-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.beheer-lijst li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(120, 120, 128, 0.12); }
.beheer-wie { flex: 1; min-width: 0; display: grid; gap: 1px; }
.beheer-wie strong { font-size: 15px; }
.beheer-wie em { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 6px; background: rgba(10, 132, 255, 0.25); color: #6cb6ff; margin-left: 4px; }
.beheer-wie small { font-size: 12px; opacity: 0.65; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.beheer-acties { display: flex; gap: 6px; flex: none; }
.beheer-noot { font-size: 12px; opacity: 0.6; margin: 10px 0 0; }
.beheer-fout { color: #ff6961; }
body.thema-licht .beheer-kaart { background: rgba(250, 250, 252, 0.94); border-color: rgba(0, 0, 0, 0.08); color: #111; }
@media (max-width: 560px) { .beheer-lijst li { flex-wrap: wrap; } .beheer-acties { width: 100%; justify-content: flex-end; } }

/* 1.0: de bovenbalk (zoekbalk + account) lag in laag 20, de snelfilters (22) en het vliegveldlabel (25) erboven.
   Het accountmenu en de zoekresultaten vielen daardoor achter die knoppen. Zolang ze open zijn: bovenbalk erboven. */
body.account-menu-open .kop, body.zoek-open .kop { z-index: 45; }
body.account-menu-open .veld-filter-chip { opacity: 0; pointer-events: none; }
.account-menu { z-index: 46; }
.beheer-knoppen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.beheer-knop small { font-weight: 500; opacity: 0.65; margin-left: 6px; }
.beheer-knop.blauw { color: #6cb6ff; }
.inlog-goed { margin: 2px 0 0; font-size: 13px; color: #30d158; }
.inlog-goed[hidden] { display: none; }
.beheer-mail { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.beheer-mail label { display: grid; gap: 3px; }
.beheer-mail label small { font-size: 11.5px; opacity: 0.65; }
.beheer-mail input { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.25); color: var(--tekst); font-size: 15px; }
.beheer-mail .beheer-knoppen { grid-column: 1 / -1; }
@media (max-width: 560px) { .beheer-mail { grid-template-columns: 1fr; } .beheer-mail input { font-size: 16px; } }
