/* ENSAMIO 2.0 — ontwerpsysteem (backlog F-011). Rustig, muzikaal, professioneel.
   Donkerblauw als basis, goud voor de hoofdactie. Huisstijl per gezelschap overschrijft --brand (F-012). */
:root {
  --brand: #0F4554;            /* petrol, de kleur van het Ensamio-logo */
  --brand-2: var(--brand-2-light, #137A6A); /* accentgroen (licht thema) */
  --gold: #E8A93A;             /* hoofdactie */
  --on-brand: #FFFFFF;
  --bg: #EDF5F2;
  --surface: #FFFFFF;
  --surface-2: #E1EEE9;
  --line: #D3E4DE;
  --ink: #10262B;
  --ink-2: #45585C;
  --ink-3: #667A7D;
  --ok: #1F7A4D;  --ok-soft: #E3F4EA;
  --warn: #9A5B00; --warn-soft: #FFF1D6;
  --crit: #B42318; --crit-soft: #FDE7E5;
  --radius: 14px; --radius-lg: 20px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --shadow: 0 1px 2px rgba(10,50,55,.06), 0 10px 28px -8px rgba(10, 50, 55, .16);
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --serif: Lora, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --tap: 44px;                  /* minimale aanraakmaat (WCAG 2.2) */
  color-scheme: light;
}
:root[data-theme="dark"] {
    --brand-2: var(--brand-2-dark, #6FD1B8);
    --bg: #061519; --surface: #0D2227; --surface-2: #143037; --line: #1E4048;
    --ink: #ECF5F2; --ink-2: #BFD2CE; --ink-3: #8DA6A3;
    --ok-soft: #13301F; --warn-soft: #33270F; --crit-soft: #3A1714;
    --shadow: 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.45; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; padding-bottom: env(safe-area-inset-bottom); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.boot { display: grid; place-items: center; min-height: 100vh; color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- schil ---------- */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: var(--space-3); padding: calc(var(--space-3) + env(safe-area-inset-top)) var(--space-4) var(--space-3); background: var(--brand); color: var(--on-brand); }
.topbar .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--gold); color: var(--brand); display: grid; place-items: center; font-weight: 900; font-size: 14px; flex: none; }
.topbar .org { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.topbar .org b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .org small { font-size: 12px; opacity: .75; }
.topbar .beta { font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.12); }
.main { flex: 1; width: 100%; max-width: 920px; margin: 0 auto; padding: var(--space-4) var(--space-4) calc(88px + env(safe-area-inset-bottom)); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; text-decoration: none; color: var(--ink-3); font-size: 12px; font-weight: 700; }
.tabbar a .ico { font-size: 20px; line-height: 1; }
.tabbar a[aria-current="page"] { color: var(--brand-2); }
@media (min-width: 900px) {
  .shell { padding-left: 220px; }
  .tabbar { top: 0; right: auto; width: 220px; grid-template-columns: 1fr; grid-auto-rows: 56px; align-content: start; padding-top: 72px; border-top: 0; border-right: 1px solid var(--line); }
  .tabbar a { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 20px; font-size: 15px; min-height: 0; }
  .topbar { margin-left: -220px; padding-left: calc(220px + var(--space-4)); }
  .main { padding-bottom: var(--space-6); }
}

/* ---------- componenten ---------- */
.page-title { margin: var(--space-2) 0 var(--space-4); font-size: 28px; line-height: 1.15; letter-spacing: -.01em; }
.section-title { margin: var(--space-5) 0 var(--space-2); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow); }
.card + .card { margin-top: var(--space-3); }
.card.hero { background: var(--brand); color: var(--on-brand); border-color: transparent; }
.card.hero .muted { color: rgba(255,255,255,.75); }
.row { display: flex; align-items: center; gap: var(--space-3); }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.list-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); min-height: 64px; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item .title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-chip { flex: none; width: 48px; text-align: center; border-radius: 12px; background: var(--surface-2); padding: 6px 0; }
.date-chip b { display: block; font-size: 18px; line-height: 1; }
.date-chip small { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--ink-3); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--tap); padding: 0 var(--space-4); border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--brand-2); font-weight: 800; cursor: pointer; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.primary { background: var(--gold); border-color: var(--gold); color: var(--brand); }
.btn.dark { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.block { width: 100%; }
.seg { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.seg .btn { min-height: 40px; padding: 0 12px; font-size: 14px; }
.seg .btn[aria-pressed="true"].yes { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.seg .btn[aria-pressed="true"].maybe { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.seg .btn[aria-pressed="true"].no { background: var(--crit-soft); border-color: var(--crit); color: var(--crit); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--ink-2); }
.badge.ok { background: var(--ok-soft); color: var(--ok); } .badge.warn { background: var(--warn-soft); color: var(--warn); } .badge.crit { background: var(--crit-soft); color: var(--crit); }
.banner { border-radius: var(--radius); padding: var(--space-3) var(--space-4); background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.banner.crit { background: var(--crit-soft); color: var(--crit); }
.empty { text-align: center; padding: var(--space-6) var(--space-4); color: var(--ink-3); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-3); font-weight: 700; font-size: 14px; }
.field input { min-height: var(--tap); border: 1px solid var(--line); border-radius: 12px; padding: 0 var(--space-3); background: var(--surface); font-size: 16px; font-weight: 400; }
.auth { min-height: 100vh; display: grid; place-items: center; padding: var(--space-4); }
.auth .card { width: min(420px, 100%); }
.auth .logo { width: 56px; height: 56px; border-radius: 16px; background: var(--brand); color: var(--gold); display: grid; place-items: center; font-size: 26px; font-weight: 900; margin-bottom: var(--space-3); }
.skeleton { height: 64px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s infinite; }
.skeleton + .skeleton { margin-top: var(--space-2); }
@keyframes sk { to { background-position: -200% 0; } }
.toast { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); z-index: 50; }
.log { font-family: ui-monospace, Menlo, monospace; font-size: 12px; white-space: pre-wrap; max-height: 280px; overflow: auto; }
.topbar img.mark.logo { object-fit: contain; background: #fff; padding: 3px; }

/* ---------- agenda en dossier (alpha.3) ---------- */
:root { --ev-rehearsal: var(--brand-2); --ev-performance: var(--gold); --ev-other: #7A6FB0; }
a.link, .list-item a.title { color: inherit; text-decoration: none; display: block; }
.list-item a.date-chip { color: inherit; text-decoration: none; }
.list-item.ev-performance .date-chip { box-shadow: inset 0 -3px 0 var(--ev-performance); }
.list-item.ev-rehearsal .date-chip { box-shadow: inset 0 -3px 0 var(--ev-rehearsal); }
.list-item.compact { min-height: 52px; }
.chev { flex: none; display: grid; place-items: center; width: 32px; min-height: var(--tap); color: var(--ink-3); text-decoration: none; font-size: 24px; }
.hero-title { display: block; color: inherit; text-decoration: none; font-size: 22px; font-weight: 800; margin: 4px 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.seg .btn[aria-pressed="true"]:not(.yes):not(.maybe):not(.no):not(.level-practice):not(.level-reasonable):not(.level-ready) { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.cal-head { display: flex; align-items: center; gap: 4px; margin: 16px 0 8px; }
.cal-head h2 { flex: 1; margin: 0; font-size: 18px; text-transform: capitalize; }
.cal-head .btn.ghost { font-size: 24px; padding: 0 12px; }
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px; }
.cal-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-row + .cal-row { margin-top: 4px; }
.cal-wd { text-align: center; font-size: 12px; font-weight: 800; color: var(--ink-3); padding: 4px 0; text-transform: uppercase; }
.cal-cell { min-height: 48px; border: 0; border-radius: 12px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; padding: 4px 0; }
.cal-cell.empty { cursor: default; }
.cal-cell .n { font-weight: 700; }
.cal-cell.today .n { color: var(--brand-2); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.cal-cell[aria-selected="true"] { background: var(--brand); color: var(--on-brand); }
.cal-cell[aria-selected="true"] .n { color: var(--on-brand); }
.dots { display: flex; gap: 3px; min-height: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ev-other); }
.dot.ev-rehearsal { background: var(--ev-rehearsal); } .dot.ev-performance { background: var(--ev-performance); }
.cal-cell[aria-selected="true"] .dot { box-shadow: 0 0 0 1.5px var(--on-brand); }
@media (min-width: 700px) { .cal-cell { min-height: 64px; } }
.back { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 800; text-decoration: none; color: var(--brand-2); }
.kicker { margin: -8px 0 16px; font-weight: 700; color: var(--ink-2); }
.kicker::first-letter { text-transform: uppercase; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button { min-height: var(--tap); padding: 0 14px; border: 0; background: none; font-weight: 800; color: var(--ink-3); border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--brand-2); border-bottom-color: var(--brand-2); }
.kvs { margin: 0; display: grid; gap: 12px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.kv dt { color: var(--ink-3); font-weight: 700; font-size: 14px; }
.kv dd { margin: 0; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } }
.pre { white-space: pre-wrap; }
.field textarea { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); font-size: 16px; font-weight: 400; resize: vertical; }
.cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.cast-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.cast-tile .big { font-size: 26px; font-weight: 900; margin: 2px 0 6px; }
.cast-tile.short { border-color: var(--crit); } .cast-tile.short .big { color: var(--crit); }
.cast-tile.ok .big { color: var(--ok); }
.meter { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-bottom: 6px; }
.meter i { display: block; height: 100%; background: var(--brand-2); }
.cast-tile.ok .meter i { background: var(--ok); } .cast-tile.short .meter i { background: var(--crit); }
.ok-text { color: var(--ok); } .crit-text { color: var(--crit); }

/* ---------- formulieren en aanwezigheid (alpha.4) ---------- */
.field select { min-height: var(--tap); border: 1px solid var(--line); border-radius: 12px; padding: 0 var(--space-3); background: var(--surface); font-size: 16px; font-weight: 400; }
.field input[type="date"], .field input[type="time"] { -webkit-appearance: none; appearance: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 420px) { .grid2 { grid-template-columns: 1fr; } }
.checks { border: 0; padding: 0; margin: 0 0 12px; }
.checks legend { font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 10px; min-height: var(--tap); cursor: pointer; }
.check input, .list-item.att input { width: 22px; height: 22px; accent-color: var(--brand-2); flex: none; }
.checks .check { display: inline-flex; margin-right: 16px; }
.form-actions { gap: 8px; margin-top: 20px; }
.form-actions.sticky { position: sticky; bottom: calc(66px + env(safe-area-inset-bottom)); background: var(--bg); padding: 12px 0; z-index: 5; }
@media (min-width: 900px) { .form-actions.sticky { bottom: 0; } }
.btn.danger { color: var(--crit); border-color: var(--crit); background: transparent; }
.page-actions { gap: 8px; flex-wrap: wrap; margin: -8px 0 16px; }
@media (min-width: 700px) { .page-actions { float: right; margin-top: -62px; } }
.card.confirm { border-color: var(--warn); }
.dossier-actions { gap: 8px; flex-wrap: wrap; margin: -4px 0 16px; }
.att-bar { gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.list-item.att { cursor: pointer; min-height: 56px; }

/* ---------- dossier: taken, vervoer, bestanden, programma (alpha.6) ---------- */
.list-item.task { align-items: flex-start; }
.tick { flex: none; width: 30px; height: 30px; margin-top: 2px; border-radius: 8px; border: 2px solid var(--line); background: var(--surface); color: #fff; font-weight: 900; display: grid; place-items: center; cursor: pointer; }
.tick[aria-checked="true"] { background: var(--ok); border-color: var(--ok); }
.tick:disabled { cursor: default; opacity: .6; }
.list-item.task.klaar .title { text-decoration: line-through; color: var(--ink-3); }
.list-item.task.nvt .title { color: var(--ink-3); }
.list-item.task.late { box-shadow: inset 3px 0 0 var(--crit); }
.task-btns { gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.task-btns .btn { min-height: 36px; padding: 0 10px; font-size: 14px; }
.meter.big { height: 8px; border-radius: 4px; margin: 0 0 10px; }
.meter.big i { background: var(--ok); }
.inline-form { border-color: var(--brand-2); }
.list .inline-form { border-radius: 0; box-shadow: none; border-width: 0 0 1px; }
.list-item.ride { align-items: flex-start; }
.car { font-size: 24px; flex: none; }
.badge .x { border: 0; background: none; color: inherit; font-size: 16px; line-height: 1; min-width: 28px; min-height: 28px; margin: -6px -8px -6px 0; cursor: pointer; }
.file-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 11px; font-weight: 900; color: var(--ink-2); }
.linkish { border: 0; background: none; padding: 0; text-align: left; color: var(--brand-2); cursor: pointer; font-size: 16px; }
label.btn { cursor: pointer; }
label.btn.disabled { opacity: .6; pointer-events: none; }
.prog-time { flex: none; width: 52px; font-variant-numeric: tabular-nums; color: var(--brand-2); }

/* ---------- muziek (alpha.8) ---------- */
.search input { width: 100%; min-height: var(--tap); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--surface); font-size: 16px; }
.list-item.song { gap: 10px; }
.song-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; text-decoration: none; color: var(--brand-2); font-size: 18px; }
.score-btn { flex: none; min-height: 40px; padding: 0 12px; font-size: 14px; white-space: nowrap; }
@media (max-width: 420px) { .score-btn { padding: 0 10px; } }
a.link-row { text-decoration: none; color: inherit; }
.song-head { gap: 8px; margin: -8px 0 8px; }
.fav { font-size: 26px; color: var(--gold); padding: 0 8px; }
.seg .btn.level-practice[aria-pressed="true"][role] { background: var(--crit-soft); border-color: var(--crit); color: var(--crit); }
.seg .btn.level-reasonable[aria-pressed="true"][role] { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.seg .btn.level-ready[aria-pressed="true"][role] { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.players { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.player { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); background: var(--brand-2); color: #fff; }
.player .play { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--brand-2); font-weight: 900; font-size: 16px; cursor: pointer; }
.player .grow { min-width: 0; }
.player .grow > .row { min-width: 0; }
.player .player-title { min-width: 0; flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .muted { color: rgba(255,255,255,.75); }
.player .time { font-variant-numeric: tabular-nums; opacity: .9; white-space: nowrap; }
.player input[type=range] { width: 100%; accent-color: #fff; margin: 6px 0 0; height: 24px; }
.player .mini { flex: none; min-width: 38px; height: 36px; padding: 0 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-weight: 800; cursor: pointer; }
.player .mini[aria-pressed="true"] { background: #fff; color: var(--brand-2); }
body.reading { overflow: hidden; }
.reader { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: #1b1d22; color: #fff; }
.reader-bar, .reader-foot { display: flex; align-items: center; gap: 8px; padding: calc(6px + env(safe-area-inset-top)) 10px 6px; background: #111317; }
.reader-foot { padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); justify-content: center; }
.reader .btn.ghost { color: #fff; min-width: 44px; }
.reader .btn.ghost[aria-pressed="true"] { background: rgba(255,255,255,.12); }
.reader-title { min-width: 0; text-align: center; }
.reader-title b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.reader-title select { max-width: 100%; min-height: 40px; border-radius: 10px; border: 1px solid #3a3f4a; background: #23262d; color: #fff; padding: 0 10px; font-size: 15px; }
.reader-stage { flex: 1; overflow: auto; display: grid; place-items: start center; padding: 8px; touch-action: pan-y pinch-zoom; -webkit-user-select: none; user-select: none; }
.reader-msg { margin-top: 30vh; color: #c9ced8; text-align: center; }
.sheet { position: relative; background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.4); }
.sheet canvas { display: block; }
.sheet canvas.overlay { position: absolute; inset: 0; pointer-events: none; }
.reader-foot span { min-width: 140px; text-align: center; font-variant-numeric: tabular-nums; }
.reader-legacy { position: absolute; right: 12px; color: color-mix(in srgb, var(--brand-2-dark, #6FD1B8) 70%, #fff); font-size: 13px; text-decoration: none; }
@media (max-width: 560px) { .reader-legacy { display: none; } }
@media (max-width: 420px) { .player { gap: 8px; padding: 10px; } .player .time { font-size: 12px; } }

/* ---------- aantekenen en setlists (alpha.9) ---------- */
.reader.editing canvas.overlay { pointer-events: auto; touch-action: none; cursor: crosshair; }
.ann-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: #111317; border-top: 1px solid #23262d; overflow-x: auto; }
.ann-bar .tool { flex: none; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid #3a3f4a; background: #23262d; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ann-bar .tool[aria-pressed="true"] { background: #fff; color: #111317; }
.ann-bar .tool:disabled { opacity: .4; }
.ann-bar .swatch { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #3a3f4a; cursor: pointer; }
.ann-bar .swatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 2px #111317 inset; }
.ann-bar .sep { flex: none; width: 1px; height: 26px; background: #3a3f4a; margin: 0 4px; }
.ann-bar .finger input { width: 18px; height: 18px; }
.ann-bar .save-state { flex: none; color: color-mix(in srgb, var(--brand-2-dark, #6FD1B8) 70%, #fff); font-size: 13px; margin-left: auto; padding-left: 8px; white-space: nowrap; }
.music-tabs { margin: -8px 0 14px; }
.music-tabs .btn { text-decoration: none; }
.play-all { margin: 4px 0 8px; }
.sl-num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.sl-extra { background: var(--surface-2); }

/* ---------- opnemen, oefenen, setlist bewerken (alpha.10) ---------- */
.rec-live { gap: 12px; align-items: center; }
.rec-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--crit); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.rec-live b { font-size: 22px; font-variant-numeric: tabular-nums; min-width: 64px; }
.rec-row { flex-wrap: wrap; }
.rec-play { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand-2); color: #fff; font-size: 14px; cursor: pointer; }
.reader-rec { padding: 8px 10px; background: #111317; border-top: 1px solid #23262d; }
.reader-rec .btn.dark { background: var(--crit); border-color: var(--crit); }
.reader-rec .rec-live { color: #fff; }
.reader .rec-toggle[aria-pressed="true"] { color: #ff8a80; }
button.list-item.pick { width: 100%; border: 0; background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: inherit; }
.music-tabs { flex-wrap: wrap; }
@media (max-width: 600px) { .reader-bar .btn.ghost .lbl { display: none; } .reader-bar .btn.ghost { padding: 0 10px; } .reader-title { min-width: 80px; } }
.reader-bar .btn.ghost { white-space: nowrap; }
.list-item.compact > .btn.ghost { padding: 0 8px; min-width: 40px; }
.link-edit { gap: 6px; margin-bottom: 8px; }
.link-edit input { flex: 1; min-width: 0; min-height: var(--tap); border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; background: var(--surface); font-size: 16px; }
.file-tools { margin-top: 6px; }
:root[data-theme="dark"] .btn.dark { background: color-mix(in srgb, var(--brand) 78%, #fff); border-color: color-mix(in srgb, var(--brand) 60%, #fff); }

/* ---------- gesprekken (alpha.12) ---------- */
.tabbar a .ico { position: relative; }
.nav-count { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--crit); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-2); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.avatar.group { background: var(--surface-2); color: var(--ink-2); font-size: 18px; }
.avatar.small { width: 34px; height: 34px; font-size: 13px; }
.chat-row .preview { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.chat-row.unread .title { font-weight: 900; }
.chat-row .count { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--brand-2); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
button.list-item.pick.on { background: var(--ok-soft); }
.chat-page { display: flex; flex-direction: column; }
.chat-head { gap: 8px; margin-bottom: 8px; }
.chat { display: flex; flex-direction: column; background: var(--surface-2); border-radius: var(--radius-lg); border: 1px solid var(--line); min-height: 50vh; }
.chat-msgs { flex: 1; padding: 12px; overflow-y: auto; max-height: calc(100vh - 300px); }
.chat.embedded .chat-msgs { max-height: 60vh; }
.chat-empty { text-align: center; color: var(--ink-3); font-size: 14px; margin: 24px 0; }
.chat-day { text-align: center; margin: 12px 0 8px; }
.chat-day span { font-size: 12px; font-weight: 700; color: var(--ink-3); background: var(--surface); padding: 3px 10px; border-radius: 999px; }
.bubble-row { display: flex; margin: 4px 0; }
.bubble-row.mine { justify-content: flex-end; }
.bubble { position: relative; max-width: min(78%, 560px); background: var(--surface); border-radius: 16px 16px 16px 4px; padding: 8px 30px 6px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.bubble-row.mine .bubble { background: var(--brand-2); color: #fff; border-radius: 16px 16px 4px 16px; }
.bubble.pending { opacity: .6; }
.bubble.deleted { opacity: .7; }
.bubble .who { font-size: 12px; font-weight: 800; color: var(--brand-2); margin-bottom: 2px; }
.bubble .text { white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble .meta { font-size: 11px; opacity: .7; text-align: right; margin-top: 2px; }
.bubble .quote { font-size: 13px; border-left: 3px solid currentColor; padding-left: 8px; margin-bottom: 4px; opacity: .8; }
.bubble .more { position: absolute; top: 2px; right: 4px; border: 0; background: none; color: inherit; opacity: .55; font-size: 16px; cursor: pointer; min-width: 28px; min-height: 28px; }
.bubble-menu { position: absolute; z-index: 5; top: 30px; right: 0; display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; min-width: 160px; }
.bubble-menu button { border: 0; background: none; text-align: left; padding: 10px 14px; min-height: 44px; font: inherit; color: inherit; cursor: pointer; }
.bubble-menu button.danger { color: var(--crit); }
.att-img { display: block; border: 0; padding: 0; background: none; margin: 2px 0 4px; cursor: pointer; }
.att-img img { display: block; max-width: 100%; max-height: 280px; border-radius: 10px; }
.att-file { border: 0; background: rgba(0,0,0,.06); color: inherit; border-radius: 10px; padding: 8px 10px; margin: 2px 0 4px; font: inherit; cursor: pointer; text-align: left; }
.chat-readonly { margin: 0; padding: 12px; text-align: center; color: var(--ink-3); font-size: 14px; border-top: 1px solid var(--line); }
.composer { border-top: 1px solid var(--line); padding: 8px; background: var(--surface); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.composer-row { gap: 6px; align-items: flex-end; }
.composer textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 160px; border: 1px solid var(--line); border-radius: 22px; padding: 10px 14px; font-size: 16px; resize: none; background: var(--bg); }
.composer .btn.primary { border-radius: 22px; min-width: 48px; }
.composer .attach { font-size: 18px; padding: 0 10px; }
.reply-bar { display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 4px 8px 8px; color: var(--ink-2); }
.reply-bar button { border: 0; background: none; font-size: 16px; min-width: 32px; min-height: 32px; cursor: pointer; color: inherit; }

/* ---------- berichten, peilingen, meldingen (alpha.13) ---------- */
.topbar .bell { position: relative; color: inherit; text-decoration: none; font-size: 20px; min-width: 40px; min-height: 40px; display: grid; place-items: center; }
.topbar .bell .nav-count { top: 0; right: -2px; }
.card.msg { padding: 0; overflow: hidden; }
.card.msg.unread { border-left: 4px solid var(--gold); }
.card.msg.high { border-color: var(--crit); }
.msg-head { display: flex; gap: 8px; align-items: center; width: 100%; border: 0; background: none; text-align: left; padding: 14px 16px; font: inherit; color: inherit; cursor: pointer; }
.msg-body { padding: 0 16px 14px; }
.card.poll.closed { opacity: .85; }
.poll-options { display: grid; gap: 8px; }
.poll-opt { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font: inherit; color: inherit; cursor: pointer; text-align: left; }
.poll-opt i { position: absolute; inset: 0 auto 0 0; background: var(--ok-soft); z-index: 0; }
.poll-opt span, .poll-opt b { position: relative; z-index: 1; }
.poll-opt.mine { border-color: var(--ok); font-weight: 800; }
.poll-opt:disabled { cursor: default; }
button.list-item.note { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); text-align: left; font: inherit; color: inherit; cursor: pointer; }
.note-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.list-item.note.unread .note-dot { background: var(--brand-2); }
.list-item.note.unread .title { font-weight: 900; }
.note-body { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.avatar { object-fit: cover; }
.avatar.big { width: 84px; height: 84px; font-size: 28px; }
.profile-head { display: flex; align-items: center; gap: 16px; margin: 4px 0 12px; }
.row > .field { flex: 1; min-width: 0; }
.row > .field input { width: 100%; min-width: 0; box-sizing: border-box; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; min-height: var(--tap); }

.right-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.right-row:last-child { border-bottom: 0; }
.right-roles { display: flex; gap: 12px; flex-wrap: wrap; }
.right-roles .check { min-height: 36px; font-size: 14px; }
.sticky-save { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); display: flex; justify-content: flex-end; padding: 8px 0; }
.danger-zone { border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 600px) { .right-row > .grow { flex: 1 1 100%; } .right-row .seg { width: 100%; } }

.offline-bar { background: #fff3cd; color: #5c4400; border-bottom: 1px solid #e6cf7c; padding: 8px var(--space-4); font-size: 14px; font-weight: 600; }
.offline-bar a { color: inherit; text-decoration: underline; margin-left: 6px; }
:root[data-theme="dark"] .offline-bar { background: #4a3b00; color: #ffe9a6; border-color: #7a6200; }
:root[data-theme="dark"] .offline-bar { background: #4a3b00; color: #ffe9a6; border-color: #7a6200; }

/* =====================================================================
   Nieuwe stijl (alpha.20): concertprogramma. Lora voor koppen en cijfers, Inter voor bediening,
   notenbalk als enige terugkerend sierelement, kleur per soort activiteit.
   ===================================================================== */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-Regular.woff) format("woff"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/assets/fonts/inter-SemiBold.woff) format("woff"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 800 900; font-display: swap; src: url(/assets/fonts/inter-ExtraBold.woff) format("woff"); }
:root {
  --stave: repeating-linear-gradient(to bottom, transparent 0 7px, var(--stave-ink, rgba(255,255,255,.16)) 7px 8px);
  --ev-rehearsal: var(--brand-2); --ev-performance: var(--gold); --ev-other: #8B6FD0;
  --radius: 16px; --radius-lg: 24px;
}
html { background-image: radial-gradient(120% 420px at 50% -80px, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%); background-repeat: no-repeat; background-color: var(--bg); }
body { font-feature-settings: "cv11", "tnum" 0; }
h1, h2, h3 { font-family: var(--serif); }

/* kop: gebogen onderrand met notenbalk */
.topbar { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 62%, var(--brand-2))); border-radius: 0 0 26px 26px; padding-bottom: 18px; position: sticky; box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--brand) 70%, transparent); overflow: hidden; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 40px; background: var(--stave); background-size: 100% 8px; opacity: .55; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.topbar > * { position: relative; z-index: 1; }
.topbar .mark { border-radius: 12px; width: 36px; height: 36px; font-family: var(--serif); font-size: 16px; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.topbar .org b { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.topbar .beta { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; font-size: 13px; padding: 2px 10px; background: rgba(255,255,255,.14); }

/* titels */
.page-title { font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: var(--space-4) 0 var(--space-4); text-wrap: balance; }
.section-title { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: var(--ink); margin: 30px 0 12px; }
.section-title::after { content: ""; flex: 1; height: 8px; background: var(--stave); --stave-ink: color-mix(in srgb, var(--ink) 18%, transparent); background-size: 100% 8px; opacity: .9; }

/* kaarten en lijsten: zachter, dieper */
.card { border: 0; box-shadow: var(--shadow); }
.list { border: 0; box-shadow: var(--shadow); }
.list-item { border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); position: relative; padding-left: calc(var(--space-4) + 3px); }
.list-item .title { font-weight: 650; font-size: 16.5px; }
.date-chip { width: 52px; border-radius: 14px; padding: 7px 0 6px; background: color-mix(in srgb, var(--evc, var(--brand-2)) 13%, var(--surface)); box-shadow: none !important; }
.date-chip b { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.date-chip small { text-transform: none; font-weight: 600; font-size: 12px; color: var(--ink-2); }
.list-item.ev-rehearsal { --evc: var(--ev-rehearsal); } .list-item.ev-performance { --evc: var(--ev-performance); } .list-item.ev-other { --evc: var(--ev-other); }
.list-item[class*="ev-"]::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--evc); }
.list-item.ev-performance .date-chip b { color: var(--ink); }

/* knoppen */
.btn { border-radius: 14px; font-weight: 700; border-color: color-mix(in srgb, var(--line) 80%, var(--brand-2)); transition: transform .12s, box-shadow .12s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 88%, #fff), var(--gold)); border-color: transparent; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--gold) 80%, #000), inset 0 1px 0 rgba(255,255,255,.45); }
.btn.dark { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--brand-2))); }
.chip { font-weight: 650; }
.chip[aria-pressed="true"], .seg .btn[aria-pressed="true"]:not(.yes):not(.maybe):not(.no):not(.level-practice):not(.level-reasonable):not(.level-ready) { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--brand-2))); }

/* kaartje voor het eerstvolgende moment: een toegangsbewijs */
.card.hero { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0 18px; padding: 22px 20px 22px 18px; border-radius: 26px; color: #fff; overflow: hidden; margin-bottom: 4px;
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--brand-2) 70%, transparent), transparent 60%), linear-gradient(150deg, color-mix(in srgb, var(--brand) 92%, #000), var(--brand));
  box-shadow: 0 22px 40px -18px color-mix(in srgb, var(--brand) 80%, #000), inset 0 0 0 1px rgba(255,255,255,.08);
  animation: ticket-in .7s cubic-bezier(.2,.8,.2,1) both; }
.card.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 96px; background: var(--stave); background-size: 100% 8px; opacity: .8; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); transform-origin: left; animation: stave-in 1.1s .25s cubic-bezier(.2,.8,.2,1) both; pointer-events: none; }
.card.hero::after { content: ""; position: absolute; left: 86px; top: 14px; bottom: 14px; border-left: 2px dashed rgba(255,255,255,.22); pointer-events: none; }
.card.hero > * { position: relative; z-index: 1; }
.ticket-date { width: 56px; text-align: center; padding-top: 2px; }
.ticket-date b { display: block; font-family: var(--serif); font-size: 46px; font-weight: 600; line-height: .95; letter-spacing: -.04em; color: var(--gold); }
.ticket-date small { display: block; margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 16px; color: rgba(255,255,255,.85); }
.ticket-main { padding-left: 14px; min-width: 0; }
.ticket-kind { font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(255,255,255,.78); }
.card.hero .hero-title { font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 4px 0 6px; text-wrap: balance; }
.card.hero .muted { color: rgba(255,255,255,.8); }
.card.hero .seg .btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
.card.hero .seg .btn[aria-pressed="true"].yes { background: #D9F5E5; color: #0F5B37; border-color: transparent; }
.card.hero .seg .btn[aria-pressed="true"].maybe { background: #FFEBC2; color: #7A4700; border-color: transparent; }
.card.hero .seg .btn[aria-pressed="true"].no { background: #FFDAD6; color: #8F1A10; border-color: transparent; }
@keyframes ticket-in { from { opacity: 0; transform: translateY(18px) scale(.97); clip-path: inset(0 0 40% 0 round 26px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 26px); } }
@keyframes stave-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* zwevende tabbalk */
.tabbar { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); border: 0; border-radius: 28px; padding: 6px; padding-bottom: 6px; gap: 2px; background: color-mix(in srgb, var(--surface) 86%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 14px 34px -10px rgba(16,37,68,.38), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); max-width: 560px; margin: 0 auto; }
.tabbar a { min-height: 54px; border-radius: 22px; font-size: 11.5px; font-weight: 650; transition: background .2s, color .2s; }
.tabbar a .ico { font-size: 21px; }
.tabbar a[aria-current="page"] { background: color-mix(in srgb, var(--brand-2) 15%, transparent); color: var(--brand-2); }
.tabbar a[aria-current="page"] .ico { transform: translateY(-1px); }
.main { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.toast { bottom: calc(100px + env(safe-area-inset-bottom)); font-weight: 650; }
.form-actions.sticky { bottom: calc(92px + env(safe-area-inset-bottom)); }
.sticky-save { bottom: calc(98px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .tabbar { left: 0; right: auto; bottom: 0; max-width: none; margin: 0; width: 232px; border-radius: 0 28px 28px 0; padding: 88px 14px 14px; gap: 4px; grid-auto-rows: 52px; }
  .tabbar a { border-radius: 16px; padding: 0 16px; font-size: 15px; }
  .shell { padding-left: 232px; } .topbar { margin-left: -232px; padding-left: calc(232px + var(--space-4)); }
  .form-actions.sticky, .sticky-save { bottom: 0; } .toast { bottom: 28px; }
  .main { padding-bottom: var(--space-6); }
}

/* overige onderdelen */
.cal, .cast-tile, .poll-opt { border-color: transparent; box-shadow: var(--shadow); }
.cal-wd { text-transform: none; font-weight: 650; }
.cal-head h2 { font-size: 22px; }
.cal-cell { border-radius: 14px; }
.cal-cell .n { font-family: var(--serif); font-size: 17px; }
.cal-cell.today .n { color: var(--brand-2); text-decoration: none; box-shadow: 0 2px 0 var(--gold); }
.cal-cell[aria-selected="true"] { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--brand-2))); box-shadow: 0 8px 16px -8px var(--brand); }
.cast-tile .big { font-family: var(--serif); font-size: 32px; font-weight: 600; }
.tabs button { font-weight: 650; }
.tabs button[aria-selected="true"] { border-bottom-color: var(--gold); }
.badge { font-weight: 700; }
.avatar { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px color-mix(in srgb, var(--brand-2) 35%, transparent); background: linear-gradient(135deg, var(--brand-2), color-mix(in srgb, var(--brand-2) 55%, var(--brand))); }
.bubble { border-radius: 18px 18px 18px 6px; }
.bubble-row.mine .bubble { background: linear-gradient(135deg, var(--brand-2), color-mix(in srgb, var(--brand-2) 70%, var(--brand))); border-radius: 18px 18px 6px 18px; }
.player { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-radius: 18px; box-shadow: var(--shadow); }
.card.msg.unread { border-left-width: 5px; }
.empty { font-family: var(--serif); font-style: italic; font-size: 18px; }
.auth .logo { font-family: var(--serif); border-radius: 20px; box-shadow: var(--shadow); }
.back { font-weight: 650; }
.kicker { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 17px; }
.skeleton { border-radius: var(--radius-lg); height: 72px; }
:root[data-theme="dark"] { --stave-ink: rgba(255,255,255,.12); }
  :root[data-theme="dark"] .section-title::after { --stave-ink: rgba(255,255,255,.14); }
  :root[data-theme="dark"] .tabbar { box-shadow: 0 14px 34px -10px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
  :root[data-theme="dark"] .list-item .title { color: #fff; }
  :root[data-theme="dark"] .topbar { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 70%, #000), color-mix(in srgb, var(--brand) 55%, var(--brand-2))); }

/* =====================================================================
   Organischer (alpha.21): bladvormen, golven, groepsfoto, zachte vlekken van kleur
   ===================================================================== */
:root { --leaf: 28px 28px 28px 8px; --leaf-lg: 34px 34px 34px 10px; --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='12' viewBox='0 0 72 12'%3E%3Cpath d='M2 7c6-7 12-7 17 0s12 7 17 0 12-7 17 0 12 7 17 0' fill='none' stroke='%23E8A93A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.shell::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px 360px at 108% 22%, color-mix(in srgb, var(--gold) 15%, transparent), transparent 70%), radial-gradient(520px 420px at -12% 78%, color-mix(in srgb, var(--brand-2) 13%, transparent), transparent 70%); }
.page-title::after { content: ""; display: block; width: 72px; height: 12px; margin-top: 8px; background: var(--wave) no-repeat; }
.section-title::after { height: 12px; background: var(--wave) repeat-x; background-size: 72px 12px; opacity: .4; --stave-ink: transparent; }
.card, .cal, .cast-tile, .list { border-radius: var(--leaf); }
.cast-tile { border-radius: 22px 22px 22px 8px; }
.list { border-radius: var(--leaf-lg); }
.card.hero { border-radius: var(--leaf-lg); }
.date-chip { border-radius: 18px 18px 18px 6px; }
.btn, .tabs button, .chip { border-radius: 999px; }
.btn { padding: 0 20px; }
.seg .btn { padding: 0 16px; }
.field input, .field select, .field textarea, .search input { border-radius: 18px; }
.composer textarea { border-radius: 24px; }
.avatar { border-radius: 50% 50% 50% 14%; }
.avatar.group { border-radius: 50%; }
.topbar { border-radius: 0 0 38px 38px / 0 0 26px 26px; }
@keyframes ticket-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* groepsfoto */
.cover { position: relative; margin: 6px 0 0; height: 250px; overflow: hidden; border-radius: 40px 90px 40px 90px / 40px 60px 40px 60px; box-shadow: 0 22px 40px -22px color-mix(in srgb, var(--brand) 80%, #000); background: var(--surface-2); animation: ticket-in .7s cubic-bezier(.2,.8,.2,1) both; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.cover::after { content: ""; position: absolute; inset: 0 0 auto; height: 45%; background: linear-gradient(color-mix(in srgb, var(--brand) 70%, #000), transparent); pointer-events: none; }
.cover figcaption { position: absolute; left: 26px; top: 16px; right: 26px; z-index: 1; font-family: var(--serif); font-style: italic; font-size: 18px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.cover + .card.hero { margin-top: -44px; margin-left: 10px; margin-right: 10px; position: relative; z-index: 2; animation-delay: .12s; }
@media (min-width: 700px) { .cover { height: 300px; } .cover figcaption { font-size: 22px; } }

/* fotoweergave bij leden */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none; color: #fff; border-radius: 30px 30px 30px 10px; background: linear-gradient(150deg, var(--brand-2), var(--brand)); box-shadow: var(--shadow); }
.tile:nth-child(3n+2) { border-radius: 30px 30px 10px 30px; }
.tile:nth-child(3n) { border-radius: 10px 30px 30px 30px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 38px; font-weight: 600; opacity: .85; }
.tile b { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 10px; font-size: 13.5px; font-weight: 650; line-height: 1.2; background: linear-gradient(transparent, rgba(8,14,27,.82)); }
.photo-prev { display: block; width: 100%; max-height: 200px; object-fit: cover; border-radius: 28px 60px 28px 60px / 28px 40px 28px 40px; margin-bottom: 12px; }
.avatar.big { width: 104px; height: 104px; font-size: 34px; border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; }
.profile-head .avatar.big { box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--gold); }


/* =====================================================================
   Fris en fel (alpha.22): felle blauwtinten, gouden vlek, iconen, logo in de zijbalk.
   Golfjes en notenbalk zijn weg; Inter in zware snit voor koppen.
   ===================================================================== */
:root { --serif: Inter, -apple-system, "Segoe UI", sans-serif; --vivid: color-mix(in srgb, var(--brand-2-light, #137A6A) 88%, #fff); --vivid-2: color-mix(in srgb, var(--vivid) 70%, #000); --bg: #EDF5F2; }
:root[data-theme="dark"] { --bg: #061519; --surface: #0D2227; --surface-2: #143037; --line: #1E4048; }
html { background-image: radial-gradient(120% 480px at 50% -120px, color-mix(in srgb, var(--vivid) 22%, transparent), transparent 70%); }
:root[data-theme="dark"] html, :root[data-theme="dark"] body { background-image: linear-gradient(180deg, color-mix(in srgb, var(--brand) 30%, #000) 0%, var(--bg) 60%); background-attachment: fixed; }
.shell::before { background: radial-gradient(520px 380px at 105% 18%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%), radial-gradient(560px 460px at -10% 85%, color-mix(in srgb, var(--vivid) 16%, transparent), transparent 70%); }
h1, h2, h3, .page-title, .section-title { font-family: Inter, sans-serif; }
.page-title { font-weight: 800; letter-spacing: -.04em; font-size: 32px; margin-bottom: 14px; }
.page-title::after { display: none; }
.section-title { font-weight: 800; font-size: 19px; letter-spacing: -.02em; margin: 28px 0 12px; }
.section-title::after { height: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 70%, transparent), transparent); opacity: 1; border-radius: 2px; }
.eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.date-chip b, .cal-cell .n, .cast-tile .big, .ticket-date b, .card.hero .hero-title, .topbar .org b, .topbar .mark { font-family: Inter, sans-serif; font-weight: 800; letter-spacing: -.03em; }
.empty, .kicker, .ticket-kind, .ticket-date small, .cover figcaption, .topbar .beta { font-family: Inter, sans-serif; font-style: normal; }
.kicker { font-weight: 650; }

/* iconen */
.icon { display: block; flex: none; }
.tabbar a .ico { display: grid; place-items: center; height: 24px; }
.song-ico { background: color-mix(in srgb, var(--vivid) 14%, var(--surface)); color: var(--vivid); border-radius: 14px 14px 14px 5px; }
:root[data-theme="dark"] .song-ico { color: color-mix(in srgb, var(--brand-2-dark, #6FD1B8) 75%, #fff); background: color-mix(in srgb, var(--vivid) 28%, transparent); }
.topbar .bell { color: #fff; }
.offline-bar { display: flex; align-items: center; gap: 8px; }

/* kop (telefoon) */
.topbar { background: linear-gradient(135deg, var(--vivid-2), color-mix(in srgb, var(--vivid-2) 55%, var(--brand))); border-radius: 0 0 28px 28px; padding-bottom: 16px; }
.topbar::after { display: none; }
.topbar .beta { font-weight: 800; letter-spacing: .06em; font-size: 11px; text-transform: uppercase; }
.topbar .mark { background: var(--gold); }

/* felle kaarten met gouden vlek en logo-watermerk */
.card.hero, .me-card { color: #fff; background: radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, color-mix(in srgb, var(--vivid) 60%, #fff) 55%, transparent), transparent 60%), linear-gradient(140deg, var(--vivid), var(--vivid-2)); box-shadow: 0 24px 44px -20px color-mix(in srgb, var(--vivid) 85%, #000), inset 0 0 0 1px rgba(255,255,255,.12); }
.card.hero { border-radius: 28px; padding: 24px 22px 40px 20px; background-image: var(--wm, none), radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, color-mix(in srgb, var(--vivid) 60%, #fff) 55%, transparent), transparent 60%), linear-gradient(140deg, var(--vivid), var(--vivid-2)); background-repeat: no-repeat; background-position: right -40px top -30px, 0 0, 0 0; background-size: 280px auto, auto, auto; }
.card.hero::before { content: ""; position: absolute; top: -16px; right: -44px; left: auto; width: 210px; height: 54px; height: 54px; border-radius: 50%; background: var(--gold); transform: rotate(-16deg); opacity: 1; mask-image: none; -webkit-mask-image: none; animation: none; }
.card.hero::after { content: ""; position: absolute; left: -6%; right: -3%; bottom: 14px; top: auto; height: 9px; border: 0; border-radius: 100%; background: var(--gold); transform: rotate(-2.2deg); }
.ticket-date b { color: var(--gold); font-size: 48px; }
.ticket-kind { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.card.hero .hero-title { font-size: 28px; letter-spacing: -.04em; }
.ticket-date small { font-size: 15px; font-weight: 700; }

/* profielkaart met ringen */
.me-card { position: relative; border-radius: 28px; padding: 20px; margin: 14px 0 12px; overflow: hidden; }
.cover + .me-card { margin-top: -46px; position: relative; z-index: 2; margin-left: 8px; margin-right: 8px; }
.me-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.me-photo { flex: none; width: 74px; height: 74px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold), 0 8px 18px rgba(0,0,0,.25); }
.me-photo.ini { display: grid; place-items: center; background: rgba(255,255,255,.18); font-weight: 800; font-size: 26px; }
.me-id { min-width: 0; flex: 1; }
.me-id .eyebrow { color: rgba(255,255,255,.78); }
.me-name { font-size: 34px; font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.me-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.16); color: #fff; }
.pill.gold { background: var(--gold); color: var(--on-gold, #2A1D00); }
.me-next { flex: none; margin-left: auto; text-decoration: none; color: #fff; background: rgba(8,18,43,.55); border-radius: 18px; padding: 8px 14px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); max-width: 100%; }
.me-next small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.me-next b { font-size: 15px; }
.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ring-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 22px 22px 22px 8px; background: rgba(255,255,255,.12); text-align: center; }
.ring-tile > span { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.ring { position: relative; width: 64px; height: 64px; }
.ring svg { width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 6; }
.ring-fg { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; transition: stroke-dasharray .8s cubic-bezier(.2,.8,.2,1); }
.ring.ok .ring-fg { stroke: #4FD39A; } .ring.warn .ring-fg { stroke: #FFC857; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 800; }
.ring.ok b { color: #4FD39A; }
.cover { height: 190px; border-radius: 34px 34px 34px 10px; animation: none; }
.cover::after { height: 100%; background: linear-gradient(180deg, rgba(8,18,43,.55), transparent 45%, rgba(8,18,43,.35)); }
.cover + .card.hero { margin-top: 0; }
@media (min-width: 700px) { .cover { height: 260px; } .rings { gap: 16px; } .me-name { font-size: 40px; } }

/* knoppen en tabbalk */
.btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 85%, #fff), var(--gold)); }
.tabbar a[aria-current="page"] { background: color-mix(in srgb, var(--vivid) 16%, transparent); color: var(--vivid); }
:root[data-theme="dark"] .tabbar a[aria-current="page"] { color: color-mix(in srgb, var(--brand-2-dark, #6FD1B8) 75%, #fff); background: color-mix(in srgb, var(--vivid) 35%, transparent); } :root[data-theme="dark"] .tabbar { background: color-mix(in srgb, var(--surface) 88%, transparent); }

/* zijbalk (groot scherm): logo bovenaan, alle onderdelen met iconen */
.tabbar .side-brand, .tabbar .side-extra, .tabbar .side-sep { display: none; }
@media (min-width: 900px) {
  .tabbar { width: 252px; padding: 22px 14px 18px; border-radius: 0 30px 30px 0; background: linear-gradient(185deg, var(--brand), color-mix(in srgb, var(--brand) 68%, #000) 60%, color-mix(in srgb, var(--brand) 45%, #000)); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 14px 0 40px -18px rgba(4,24,28,.6); grid-auto-rows: auto; overflow-y: auto; gap: 3px; align-content: start; }
  .shell { padding-left: 252px; } .topbar { margin-left: -252px; padding-left: calc(252px + var(--space-4)); }
  .tabbar .side-brand { display: grid; place-items: center; padding: 6px 8px 18px; min-height: 96px; }
  .side-brand img { width: 100%; max-height: 92px; object-fit: contain; }
  .side-brand b { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.03em; text-align: center; }
  .tabbar a, .tabbar a.side-extra { display: flex; flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 46px; padding: 0 16px; border-radius: 14px; color: rgba(255,255,255,.78); font-size: 15px; font-weight: 700; }
  .tabbar a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .tabbar a[aria-current="page"] { background: var(--vivid); color: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--vivid) 80%, #000); }
  .tabbar a[aria-current="page"] .ico { transform: none; }
  .tabbar .side-sep { display: block; height: 1px; margin: 10px 8px; background: rgba(255,255,255,.14); }
  .tabbar a.side-extra { display: flex; font-size: 14px !important; font-weight: 650 !important; min-height: 40px !important; }
  .topbar { background: transparent; box-shadow: none; border-radius: 0; color: var(--ink); padding-top: 18px; padding-bottom: 6px; }
  .topbar .mark, .topbar .org { display: none; }
  .topbar::before { content: ""; flex: 1; order: 1; }
  .topbar .bell { color: var(--ink); order: 2; } .topbar .beta { order: 3; background: color-mix(in srgb, var(--vivid) 14%, transparent); color: var(--vivid); }
  .cover { height: 300px; }
}

/* ---------- beheer-overzicht (alpha.22) ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kpi { display: flex; gap: 12px; align-items: center; padding: 14px; background: var(--surface); border-radius: 24px 24px 24px 8px; box-shadow: var(--shadow); }
.kpi-ico { flex: none; width: 46px; height: 46px; border-radius: 16px 16px 16px 6px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--vivid), var(--vivid-2)); }
.kpi.gold .kpi-ico { background: linear-gradient(140deg, color-mix(in srgb, var(--gold) 85%, #fff), var(--gold)); color: var(--on-gold, #2A1D00); }
.kpi.warn .kpi-ico { background: linear-gradient(140deg, #FFB74D, #F57C00); color: #2A1500; }
.kpi small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.kpi strong { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.kpi em { display: block; font-style: normal; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.ov-grid { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 900px) { .ov-grid { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--surface); border-radius: 26px 26px 26px 8px; padding: 18px; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.panel-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.count-badge { min-width: 28px; height: 28px; padding: 0 9px; border-radius: 999px; display: grid; place-items: center; background: var(--gold); color: var(--on-gold, #2A1D00); font-weight: 800; font-size: 13px; }
.count-badge.soft { background: var(--surface-2); color: var(--ink-2); font-weight: 700; font-size: 12px; }
.prio-list { display: grid; gap: 8px; }
.prio { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px 18px 18px 6px; text-decoration: none; color: inherit; background: var(--surface-2); font-weight: 650; }
.prio-ico { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--vivid) 18%, transparent); color: var(--vivid); }
.prio.crit .prio-ico { background: var(--crit-soft); color: var(--crit); } .prio.warn .prio-ico { background: var(--warn-soft); color: var(--warn); }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.quick { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 20px 20px 20px 6px; text-decoration: none; color: inherit; background: var(--surface-2); transition: transform .12s, background .12s; }
.quick:active { transform: scale(.98); } .quick:hover { background: color-mix(in srgb, var(--vivid) 12%, var(--surface-2)); }
.quick > span { width: 40px; height: 40px; border-radius: 14px 14px 14px 5px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--vivid), var(--vivid-2)); margin-bottom: 6px; }
.quick strong { font-size: 15px; } .quick small { color: var(--ink-3); font-size: 12px; line-height: 1.25; }
.more-ov { margin-top: 18px; } .more-ov > summary { cursor: pointer; font-weight: 800; font-size: 17px; padding: 10px 0; list-style: none; } .more-ov > summary::-webkit-details-marker { display: none; }
.more-ov > summary::after { content: " ▾"; color: var(--ink-3); }
.bez { display: grid; gap: 10px; } .bez-row { display: grid; grid-template-columns: minmax(80px, 1.1fr) 2fr auto; align-items: center; gap: 10px; font-size: 14px; }
.bez-row b { min-width: 44px; text-align: right; font-weight: 800; }
.bar { display: block; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; } .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--vivid), color-mix(in srgb, var(--vivid) 60%, #6FD6FF)); } .bar i.low { background: linear-gradient(90deg, #F57C00, var(--crit)); }
.report { margin-top: 12px; } .table-wrap { overflow-x: auto; } .table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap th { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 6px 8px; border-bottom: 2px solid var(--line); }
.table-wrap td { padding: 8px; border-bottom: 1px solid var(--line); }
@media print { .tabbar, .topbar, .no-print, .back, .toast, .offline-bar, .shell::before { display: none !important; } .shell { padding-left: 0 !important; } .panel, .kpi { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; } body, html { background: #fff !important; color: #000; } .main { max-width: none; padding: 0; } }

/* ---------- besloten ruimtes en dirigent (alpha.23) ---------- */
.mastery-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; }
.mastery-row .title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.mastery-row .m { min-width: 34px; height: 28px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; font-weight: 800; font-size: 13px; }
.m.practice { background: var(--crit-soft); color: var(--crit); } .m.reasonable { background: var(--warn-soft); color: var(--warn); } .m.ready { background: var(--ok-soft); color: var(--ok); }
:root[data-theme="dark"] .topbar .beta { color: color-mix(in srgb, var(--brand-2-dark, #6FD1B8) 60%, #fff); }

/* ---------- opnames (alpha.24) ---------- */
.chip-n { margin-left: 6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 11px; background: var(--gold); color: var(--on-gold, #2A1D00); }
.op-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.op-item { background: var(--surface); border-radius: 24px 24px 24px 8px; box-shadow: var(--shadow); overflow: hidden; }
.op-item.official { box-shadow: var(--shadow), inset 4px 0 0 var(--gold); }
.op-main { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.op-main b { display: block; font-weight: 700; } .op-main small { color: var(--ink-3); }
.op-play { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--vivid), var(--vivid-2)); }
.op-badge { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; font-style: normal; font-size: 11.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--gold); color: var(--on-gold, #2A1D00); }
.op-off { margin: 0 8px 8px; } .op-audio { display: block; width: calc(100% - 28px); margin: 0 14px 12px; }

/* ---------- startpagina zoals 1.0 (alpha.25) ---------- */
.cmd { margin: 16px 0 6px; }
.cmd-head h2 { margin: 2px 0 12px; font-size: 24px; font-weight: 800; letter-spacing: -.035em; }
.cmd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .cmd-grid { grid-template-columns: repeat(4, 1fr); } }
.cmd-tile { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 124px; padding: 14px; text-decoration: none; color: inherit; background: var(--surface); border-radius: 24px 24px 24px 8px; box-shadow: var(--shadow); transition: transform .12s; }
.cmd-tile:active { transform: scale(.98); }
.cmd-ico { width: 36px; height: 36px; border-radius: 12px 12px 12px 4px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--vivid), var(--vivid-2)); margin-bottom: 6px; }
.cmd-tile strong { font-size: 30px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.cmd-lab { font-size: 13px; font-weight: 700; } .cmd-tile small { color: var(--ink-3); font-size: 12px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cmd-tile.warn { box-shadow: var(--shadow), inset 0 -4px 0 var(--gold); } .cmd-tile.warn .cmd-ico { background: linear-gradient(140deg, #FFB74D, #F57C00); color: #2A1500; }
.cmd-tile.ok .cmd-ico { background: linear-gradient(140deg, #4FD39A, #1F9D6B); }
.two { display: grid; gap: 12px; margin-top: 14px; } @media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
.mini-list { display: grid; gap: 8px; }
.mini { display: block; text-decoration: none; color: inherit; padding: 10px 12px; border-radius: 16px 16px 16px 5px; background: var(--surface-2); position: relative; }
.mini b { display: block; } .mini small { color: var(--ink-3); }
.mini.ev-rehearsal { box-shadow: inset 4px 0 0 var(--ev-rehearsal); } .mini.ev-performance { box-shadow: inset 4px 0 0 var(--ev-performance); } .mini.ev-other { box-shadow: inset 4px 0 0 var(--ev-other); }
.mini.unread b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--gold); }
.choir { margin-top: 20px; } .choir h2 { margin: 2px 0 12px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.choir img { display: block; width: 100%; height: auto; border-radius: 34px 34px 34px 10px; box-shadow: var(--shadow); }

/* ---- agenda zoals 1.0 (alpha.26) ---- */
.list-item.ag { border-radius: 22px 22px 22px 8px; border: 0; margin-bottom: 8px; background: var(--surface); box-shadow: 0 6px 18px rgba(10,60,60,.09); }
.list-item.ag:last-child { margin-bottom: 0; }
.list-item.ag .date-chip { width: 54px; padding: 8px 0; color: #fff; background: linear-gradient(160deg, var(--vivid), var(--brand-2-dark, var(--brand))); box-shadow: none; }
.list-item.ag.ev-performance .date-chip { background: linear-gradient(160deg, var(--gold), #C98A12); }
.list-item.ag.ev-other .date-chip { background: linear-gradient(160deg, #8B7FC8, #5E5398); }
.list-item.ag .date-chip small { color: rgba(255,255,255,.85); display: block; }
.list-item.ag .date-chip .wd { font-size: 10px; letter-spacing: .04em; }
.ag-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.ag-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ag-export { margin: 12px 0 0; }
.shows { display: grid; gap: 14px; margin-top: 16px; }
@media (min-width: 700px) { .shows { grid-template-columns: repeat(2, 1fr); } }
.show { display: block; color: inherit; text-decoration: none; background: var(--surface); border-radius: 28px 28px 28px 8px; padding: 18px; position: relative; overflow: hidden; box-shadow: 0 8px 22px rgba(10,60,60,.12); }
.show::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--vivid), var(--gold)); }
.show h3 { margin: 12px 0 6px; font-size: 20px; }
.show-top, .show-foot { display: flex; align-items: center; gap: 8px; }
.show-foot { margin-top: 14px; font-weight: 800; } .show-foot .yes { color: var(--ok, #1a8f4c); } .show-foot .no { color: var(--crit, #c0392b); } .show-foot .muted { margin-left: auto; font-weight: 600; }
.pill.yes { background: #dcf5e6; color: #14663a; } .pill.no { background: #fde3e0; color: #9b2a1f; } .pill.maybe { background: #fff1cf; color: #8a6100; }

/* ---- repertoire zoals 1.0 (alpha.27) ---- */
.music-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 4px 0 14px; }
@media (min-width: 700px) { .music-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.music-summary article { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border-radius: 22px 22px 22px 8px; box-shadow: 0 6px 18px rgba(10,60,60,.09); }
.music-summary small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.music-summary strong { font-size: 18px; }
.summary-icon { flex: none; width: 40px; height: 40px; border-radius: 14px 14px 14px 5px; display: grid; place-items: center; color: #fff; }
.summary-icon.blue { background: linear-gradient(160deg, var(--vivid), var(--brand-2-dark, var(--brand))); }
.summary-icon.gold { background: linear-gradient(160deg, var(--gold), #C98A12); }
.music-toolbar { display: grid; gap: 10px; margin-bottom: 14px; }
.rep-layout { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); } .rep-layout > * { min-width: 0; }
@media (min-width: 1000px) { .rep-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.library-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.library-title h2 { margin: 0; font-size: 18px; }
.library-title select { min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 12px; font: inherit; color: inherit; }
.song-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.song-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 12px; background: var(--surface); border-radius: 26px 26px 26px 8px; box-shadow: 0 6px 18px rgba(10,60,60,.09); overflow: hidden; }
.song-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--vivid); }
.song-card.st-ready::before { background: #1a8f4c; } .song-card.st-archive::before { background: var(--ink-3); }
.song-card.st-learning::before { background: linear-gradient(90deg, var(--vivid), var(--gold)); }
.song-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.song-num { width: 42px; height: 42px; border-radius: 14px 14px 14px 5px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, var(--vivid), var(--brand-2-dark, var(--brand))); }
.fav-btn { width: 44px; height: 44px; border: 0; background: transparent; font-size: 24px; color: var(--ink-3); cursor: pointer; }
.fav-btn.on { color: var(--gold); }
.song-card .title { font-weight: 800; font-size: 17px; white-space: normal; }
.song-card .artist { font-size: 13px; color: var(--ink-3); }
.song-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; align-items: center; }
.mini-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2, inherit); }
.mini-pill.learning { background: #fff1cf; color: #8a6100; } .mini-pill.ready { background: #dcf5e6; color: #14663a; }
.song-files { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-top: auto; }
.song-files .score-btn { margin-left: auto; min-height: 36px; padding: 0 14px; }
.setlist-panel { background: var(--surface); border-radius: 26px 26px 26px 8px; padding: 16px; box-shadow: 0 6px 18px rgba(10,60,60,.09); display: grid; gap: 8px; }
.setlist-panel .panel-head { display: flex; justify-content: space-between; align-items: center; } .setlist-panel h3 { margin: 0; font-size: 16px; }
.setlist-mini { display: block; padding: 10px 12px; border-radius: 16px 16px 16px 5px; background: var(--surface-2); color: inherit; text-decoration: none; }
.setlist-mini b { display: block; } .setlist-mini span { font-size: 12px; color: var(--ink-3); }
.setlist-panel .link-btn, .link-btn { color: var(--vivid); font-weight: 700; text-decoration: none; }

/* ---- leden zoals 1.0 (alpha.28) ---- */
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.member-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); color: inherit; text-decoration: none; border-radius: 22px 22px 22px 8px; box-shadow: 0 6px 18px rgba(10,60,60,.09); min-height: 68px; }
.member-card .title { font-weight: 800; }
.member-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.member-card .chev { color: var(--ink-3); font-size: 22px; }

/* ---- commissietaken (alpha.29) ---- */
.ctasks { display: grid; gap: 10px; }
.ctask { background: var(--surface); border-radius: 22px 22px 22px 8px; padding: 14px; box-shadow: 0 6px 18px rgba(10,60,60,.09); border-left: 5px solid var(--vivid); display: grid; gap: 6px; }
.ctask.p-hoog { border-left-color: var(--crit, #c0392b); } .ctask.p-laag { border-left-color: var(--ink-3); }
.ctask.done { opacity: .65; } .ctask.done b { text-decoration: line-through; }
.ctask-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.ctask-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.pill.st-klaar { background: #dcf5e6; color: #14663a; } .pill.st-bezig { background: color-mix(in srgb, var(--vivid) 16%, #fff); color: var(--brand-2-light); } .pill.st-wacht { background: #fff1cf; color: #8a6100; }
.late-txt, .prio-hi { color: var(--crit, #c0392b); font-weight: 700; }
.ctask-form { display: grid; gap: 10px; margin-bottom: 12px; }

/* ---- rechtenmatrix zoals 1.0 (alpha.30) ---- */
.rm-head { display: flex; align-items: center; gap: 0; padding: 12px 16px 0; position: sticky; top: 0; z-index: 3; background: var(--bg); font-size: 12px; font-weight: 800; color: var(--ink-3); }
.rm-head b, .rm-cell { width: 76px; text-align: center; flex: none; }
.rm-group { margin-top: 12px; }
.rm-row { display: flex; align-items: center; gap: 0; padding: 4px 0; border-bottom: 1px solid var(--line); min-height: 48px; }
.rm-row:last-child { border-bottom: 0; }
.rm-row > .grow { font-size: 14px; padding-right: 8px; }
.rm-cell { display: grid; place-items: center; min-height: 44px; cursor: pointer; position: relative; }
.rm-cell input { width: 24px; height: 24px; accent-color: var(--vivid); }
.rm-cell.set::after { content: ''; position: absolute; top: 8px; right: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---- export en back-up (alpha.31) ---- */
.exp-list { display: grid; gap: 10px; }
.exp-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border-radius: 22px 22px 22px 8px; box-shadow: 0 6px 18px rgba(10,60,60,.09); }
.exp-card b { display: block; } .exp-card small { display: block; color: var(--ink-3); font-size: 13px; }

/* ---- dossier en Meer zoals 1.0 (alpha.32) ---- */
.ev-hero { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 16px; margin: 4px 0 14px; color: #fff; border-radius: 28px 28px 28px 8px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--vivid), var(--brand-2-dark, var(--brand))); box-shadow: 0 10px 26px rgba(10,60,60,.22); }
.ev-hero.ev-performance { background: linear-gradient(135deg, #E0A42A, #B8770A); }
.ev-hero.ev-other { background: linear-gradient(135deg, #8B7FC8, #5E5398); }
.ev-hero-date { flex: none; width: 64px; padding: 8px 0; text-align: center; border-radius: 18px 18px 18px 6px; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); }
.ev-hero-date b { display: block; font-size: 26px; line-height: 1.05; } .ev-hero-date small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; opacity: .9; }
.ev-hero .pill { background: rgba(255,255,255,.9); color: var(--brand); }
.ev-hero-meta { color: rgba(255,255,255,.95); font-size: 14px; margin-top: 8px; }
.ev-hero .dossier-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; width: 100%; }
.ev-hero .dossier-actions .btn { background: rgba(255,255,255,.95); color: var(--brand); border-color: transparent; }
.ev-hero .dossier-actions .btn.dark { background: #0F1F4D; color: #fff; }
.tabs { border-bottom: 0; gap: 6px; padding-bottom: 4px; }
.tabs button { border-bottom: 0; border-radius: 999px; background: var(--surface); min-height: 40px; box-shadow: 0 2px 8px rgba(10,60,60,.07); }
.tabs button[aria-selected="true"] { background: var(--vivid); color: #fff; border-bottom: 0; }
.song-ico.mi { width: 44px; height: 44px; color: #fff; background: linear-gradient(160deg, var(--vivid), var(--brand-2-dark, var(--brand))); }
.song-ico.mi.gold { background: linear-gradient(160deg, var(--gold), #C98A12); }
:root[data-theme="dark"] .song-ico.mi { color: #fff; background: linear-gradient(160deg, var(--vivid), var(--brand-2-dark, var(--brand))); } :root[data-theme="dark"] .tabs button[aria-selected="true"] { color: #fff; }

/* ---- voorportaal en inlog per gezelschap (alpha.36) ---- */
.portal { --pv: #0F4554; --pv-gold: #C99A3C; min-height: 100vh; max-width: 560px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 18px 40px; background: radial-gradient(120% 60% at 100% 0, color-mix(in srgb, var(--pv-gold) 14%, transparent), transparent 60%); }
.pv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pv-brand { display: inline-flex; align-items: center; gap: 12px; } .pv-brand b { font-size: 24px; letter-spacing: .22em; color: var(--pv); }
.pv-help, .pv-link, .pv-other { background: none; border: 0; color: var(--pv); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; min-height: 44px; }
.pv-hero h1, .pv-h1 { font-size: clamp(34px, 9vw, 46px); line-height: 1.05; margin: 18px 0 10px; color: var(--ink); }
.pv-hero p, .pv-lead { font-size: 18px; color: var(--ink-3); margin: 0 0 18px; }
.pv-note { background: var(--surface); border-radius: 18px; padding: 4px 16px; margin-bottom: 8px; box-shadow: 0 4px 14px rgba(10,60,60,.08); }
.pv-warn { background: #fff1cf; color: #6b4a00; padding: 12px 14px; border-radius: 14px; font-weight: 700; }
.pv-label { display: block; font-weight: 800; margin: 14px 0 8px; }
.pv-field { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 16px; background: var(--surface); border: 2px solid var(--line); border-radius: 22px; color: var(--pv); }
.pv-field:focus-within { border-color: var(--pv); }
.pv-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 18px; color: var(--ink); outline: none; min-height: 52px; }
.pv-clear, .pv-show { border: 0; background: none; font: inherit; font-weight: 800; color: var(--pv); cursor: pointer; min-height: 44px; padding: 0 6px; font-size: 18px; }
.pv-count { color: var(--ink-3); margin: 12px 0; }
.pv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pv-card { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px 24px 24px 8px; box-shadow: 0 6px 18px rgba(10,60,60,.07); }
.pv-logo { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #fff; }
.pv-logo.big { width: 64px; height: 64px; }
.pv-logo img { width: 100%; height: 100%; object-fit: contain; } .pv-logo i { width: 100%; height: 100%; display: grid; place-items: center; font-style: normal; font-weight: 900; color: #fff; font-size: 22px; }
.pv-txt { flex: 1; min-width: 0; } .pv-txt b { display: block; font-size: 20px; } .pv-txt small { color: var(--ink-3); font-size: 15px; }
.pv-go { flex: none; min-height: 52px; padding: 0 16px; border: 0; border-radius: 18px; background: var(--pv); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.pv-none { padding: 16px; background: var(--surface); border-radius: 18px; display: grid; gap: 4px; color: var(--ink-3); } .pv-none b { color: var(--ink); }
.pv-new { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 18px; background: color-mix(in srgb, var(--pv-gold) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--pv-gold) 40%, transparent); border-radius: 24px 24px 24px 8px; }
.pv-new b { display: block; font-size: 18px; } .pv-new small { color: var(--ink-3); }
.pv-plus { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--pv-gold); color: #fff; font-size: 32px; font-weight: 300; }
.pv-tag { text-align: center; color: var(--ink-3); margin-top: 28px; font-weight: 700; }
.pv-orghead { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 10px 0 22px; } .pv-orghead .pv-logo { width: 96px; height: 96px; } .pv-orghead b { font-size: 22px; color: var(--ink); }
.pv-eyebrow { font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--brand, var(--pv)); margin: 0; }
.pv-secure { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; margin-bottom: 8px; }
.pv-secure b { display: block; } .pv-secure small { color: var(--ink-3); } .pv-secure > div { flex: 1; min-width: 160px; }
.pv-dot { width: 18px; height: 18px; border-radius: 50%; background: #3f8a63; box-shadow: 0 0 0 7px #e3f2ea; }
.pv-chip { padding: 8px 14px; border-radius: 999px; background: #e3f2ea; color: #1f6a45; font-weight: 800; font-size: 14px; }
.pv-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.pv-submit { width: 100%; min-height: 64px; margin-top: 16px; border: 0; border-radius: 22px; background: linear-gradient(135deg, var(--brand, #1D3E86), var(--vivid, #2850A0)); color: #fff; font: inherit; font-size: 20px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 24px rgba(10,60,60,.25); }
.pv-submit:disabled { opacity: .55; cursor: default; }
.pv-other { display: block; margin: 14px auto 0; font-size: 18px; text-decoration: none; }
.pv-small { text-align: center; color: var(--ink-3); font-size: 14px; margin: 14px 0 0; }
:root[data-theme="dark"] .portal { --pv: #7FC2D3; } :root[data-theme="dark"] .pv-go { color: #07202a; } :root[data-theme="dark"] .pv-logo { background: #fff; } :root[data-theme="dark"] .pv-note { color: var(--ink); }
.pv-go { min-height: 48px; padding: 0 12px; font-size: 15px; border-radius: 16px; white-space: nowrap; }
.pv-txt b { font-size: 18px; line-height: 1.2; } .pv-txt small { font-size: 14px; display: block; }
.pv-card { gap: 12px; padding: 12px; } .pv-logo { width: 52px; height: 52px; }
.pv-field input { font-size: 17px; }
.pv-card .pv-txt { overflow-wrap: anywhere; }
.pv-card .pv-txt { overflow-wrap: normal; word-break: normal; }
@media (max-width: 520px) { .pv-card { flex-wrap: wrap; } .pv-txt { flex: 1 1 calc(100% - 76px); } .pv-go { flex: 1 1 100%; min-height: 50px; font-size: 16px; } }

/* ---- Samen zoals 1.0 (alpha.37) ---- */
.samen-tabs a { display: inline-flex; align-items: center; gap: 6px; }
.music-summary.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.music-summary.three article { flex-direction: column; text-align: center; gap: 8px; padding: 12px 6px; }
.music-summary.three strong { font-size: 22px; }
/* gesprekken: elke regel een eigen kaart met een gekleurde ronde avatar */
.list:has(> .chat-row) { background: transparent; box-shadow: none; border: 0; display: grid; gap: 10px; padding: 0; }
.chat-row.list-item { background: var(--surface); border: 0; border-radius: 22px 22px 22px 8px; box-shadow: 0 6px 18px rgba(10,60,60,.09); margin: 0; }
.chat-row .avatar { width: 52px; height: 52px; background: linear-gradient(160deg, var(--vivid), var(--brand-2-dark, var(--brand))); }
.chat-row .avatar.group { background: linear-gradient(160deg, var(--gold), #C98A12); color: #fff; }
.chat-row.unread { box-shadow: 0 6px 18px rgba(10,60,60,.09), inset 4px 0 0 var(--vivid); }
.chat-row.unread .title { font-weight: 900; }
.chat-row .count { background: var(--vivid); color: #fff; min-width: 24px; height: 24px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 13px; font-weight: 800; padding: 0 7px; }
/* berichten */
.card.msg { border-radius: 24px 24px 24px 8px; border-left: 5px solid var(--line); box-shadow: 0 6px 18px rgba(10,60,60,.09); }
.card.msg.unread { border-left: 5px solid var(--vivid); }
.card.msg.high { border-left: 5px solid var(--crit, #c0392b); }
/* peilingen */
.card.poll { position: relative; overflow: hidden; border-radius: 26px 26px 26px 8px; padding-top: 22px; box-shadow: 0 6px 18px rgba(10,60,60,.09); }
.card.poll::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--vivid), var(--gold)); }
.card.poll.closed::before { background: var(--ink-3); opacity: .5; }
.poll-opt { border-radius: 16px 16px 16px 6px; min-height: 52px; }
.poll-opt i { background: color-mix(in srgb, var(--vivid) 22%, transparent); }
.poll-opt.mine { border-color: var(--vivid); border-width: 2px; }

/* 2.0.0-alpha.38 — Setlists en Oefenen in de stijl van 1.0 */
.music-summary.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .music-summary.three article { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; } }
.sl-card { border-radius: 24px 24px 24px 8px; position: relative; overflow: hidden; }
.sl-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--gold)); }
.sl-card.final::before { background: linear-gradient(90deg, var(--ok), var(--brand)); }
.sl-card .song-ico { display: grid; place-items: center; }
.pill.ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.sl-hero { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 12px; border-radius: 24px 24px 24px 8px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.sl-hero div { flex: 1; min-width: 0; } .sl-hero strong, .sl-hero small { display: block; }
.sl-hero small { color: var(--ink-3); text-transform: capitalize; }
.sl-list .list-item { border-radius: 18px 18px 18px 6px; }
.sl-num { background: linear-gradient(160deg, var(--vivid), var(--brand-2-dark, var(--brand))); color: #fff; }
.sl-extra .sl-num { background: var(--surface); color: inherit; }
.pr-card { border-radius: 22px 22px 22px 8px; border-left: 4px solid var(--brand); }
.pr-card.klaar { border-left-color: var(--ok); opacity: .8; }
.pr-card.late { border-left-color: var(--crit); box-shadow: none; }
.pr-card .tick { border-radius: 50%; }
.rec-row { border-radius: 22px 22px 22px 8px; }
.rec-row .grow { flex: 1 1 140px; min-width: 140px; }
.rec-row > .btn { flex: none; min-height: 40px; }
@media (max-width: 520px) { .rec-row > .btn:not(.danger) { margin-left: 58px; } }

/* 2.0.0-alpha.40 — kleuren volgen de gekozen kleurcombinatie; achtergronden worden daarvan afgeleid */
:root { --bg: color-mix(in srgb, var(--brand) 7%, #fff); --surface-2: color-mix(in srgb, var(--brand) 12%, #fff); --line: color-mix(in srgb, var(--brand) 20%, #fff);
  --ink: color-mix(in srgb, var(--brand) 28%, #05090b); --ink-2: color-mix(in srgb, var(--brand) 18%, #4a5558); --ink-3: color-mix(in srgb, var(--brand) 16%, #6a7679); }
:root[data-theme="dark"] { --bg: color-mix(in srgb, var(--brand) 16%, #03080a); --surface: color-mix(in srgb, var(--brand) 26%, #03080a); --surface-2: color-mix(in srgb, var(--brand) 34%, #03080a); --line: color-mix(in srgb, var(--brand) 46%, #03080a);
  --ink: #EEF4F3; --ink-2: color-mix(in srgb, var(--brand-2-dark) 12%, #C6D2D0); --ink-3: color-mix(in srgb, var(--brand-2-dark) 14%, #92A3A1); --brand-2: var(--brand-2-dark); }
:root[data-theme="dark"] .topbar { background: color-mix(in srgb, var(--brand) 82%, #000); }
/* logo's: doorzichtig, zonder wit blokje */
.topbar img.mark.logo { background: transparent; padding: 0; width: auto; max-width: 64px; height: 36px; border-radius: 0; box-shadow: none; object-fit: contain; }
.topbar img.mark.logo.t-white, .side-brand img.t-white { filter: brightness(0) invert(1); }
.topbar img.mark.logo.t-badge { background: #fff; padding: 3px; border-radius: 12px; width: 36px; }
.side-brand img.t-badge { background: #fff; padding: 8px; border-radius: 20px; }
/* weergave-instellingen */
.ap-pal { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; margin-top: 8px; }
.ap-sw { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; min-height: 52px; border-radius: 16px 16px 16px 6px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 700; font-size: 14px; }
.ap-sw[aria-checked="true"] { border-color: var(--brand-2-light); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2-light) 25%, transparent); }
.ap-dots { display: flex; flex: none; } .ap-dots i { width: 20px; height: 20px; border-radius: 50%; margin-right: -6px; border: 2px solid var(--surface); }
.ap-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.ap-pick label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 14px; font-weight: 700; }
.ap-pick input[type=color] { width: 44px; height: 36px; border: 0; padding: 0; background: none; border-radius: 8px; flex: none; }
.ap-pick code { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.ap-logo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ap-logo .ap-prev { width: 84px; height: 64px; border-radius: 16px; background: var(--brand); display: grid; place-items: center; flex: none; }
.ap-logo .ap-prev img { max-width: 70px; max-height: 48px; object-fit: contain; }
.ap-logo .ap-prev img.t-white { filter: brightness(0) invert(1); } .ap-logo .ap-prev img.t-badge { background: #fff; padding: 4px; border-radius: 10px; }

.ap-pal { grid-template-columns: repeat(2, 1fr); } @media (min-width: 700px) { .ap-pal { grid-template-columns: repeat(3, 1fr); } }
.ap-sw { font-size: 13.5px; padding: 8px 10px; min-height: 48px; }
.ap-pick { grid-template-columns: 1fr; } @media (min-width: 700px) { .ap-pick { grid-template-columns: repeat(3, 1fr); } }
.ap-pick label span { flex: 1; } .ap-h { margin: 18px 0 6px; font-size: 16px; }
/* 2.0.0-alpha.41 — onderdelen aan/uit */
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; min-height: 52px; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle-row span { flex: 1; min-width: 0; } .toggle-row strong, .toggle-row small { display: block; } .toggle-row small { color: var(--ink-3); font-size: 13px; }
.toggle-row input[type=checkbox] { width: 24px; height: 24px; flex: none; accent-color: var(--brand-2-light); }
.feat-row:last-child .toggle-row { border-bottom: 0; }
.feat-sub { padding: 0 2px 12px; border-bottom: 1px solid var(--line); } .feat-row:last-child .feat-sub { border-bottom: 0; }
.feat-who select { margin-top: 8px; max-width: 100%; }

/* 2.0.0-alpha.42 — laatst gezien */
.member-card .seen, .profile-head .seen { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.member-card .seen.on, .profile-head .seen.on { color: var(--ok); font-weight: 700; } .member-card .seen.never { opacity: .7; }
.profile-head .seen em { font-style: normal; opacity: .75; }
.toggle-row.off { opacity: .55; } .toggle-row strong svg { vertical-align: -3px; }

/* 2.0.0-alpha.43 — stemgroepen */
.voice-list { display: grid; gap: 12px; } @media (min-width: 700px) { .voice-list { grid-template-columns: 1fr 1fr; } }
.voice-card { display: grid; gap: 10px; padding: 16px; background: var(--surface); border-radius: 24px 24px 24px 8px; box-shadow: 0 6px 18px rgba(10,60,60,.09); }
.voice-top { display: flex; gap: 8px; align-items: center; } .voice-top input { flex: 1; min-width: 0; font-weight: 800; font-size: 18px; }
.voice-btns { display: flex; gap: 4px; } .voice-btns .btn { min-height: 40px; padding: 0 12px; }
.voice-contacts { display: grid; gap: 4px; } .voice-contacts small { color: var(--ink-3); font-weight: 700; }
.vc-edit { margin-top: 6px; }
.voice-list { grid-template-columns: minmax(0, 1fr); } @media (min-width: 700px) { .voice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.voice-list > *, .voice-top > input { min-width: 0; max-width: 100%; } .voice-card .row.form-actions { flex-wrap: wrap; }
.voice-card { grid-template-columns: minmax(0, 1fr); overflow: hidden; } .voice-card > * { min-width: 0; }
.voice-top > input { width: 0; flex: 1 1 0; } .voice-btns { flex: none; } .voice-card .btn { white-space: normal; }
.voice-top > input { background: var(--surface-2, var(--bg)); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
/* alpha.44: Bekijk app als… */
.pv-banner { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 14px 8px; background: var(--gold); color: var(--on-gold); font-weight: 700; }
.pv-banner > span { flex: 1; min-width: 0; } .pv-banner em { font-style: normal; font-weight: 600; opacity: .85; display: block; font-size: 13px; }
.pv-banner .btn { min-height: 36px; padding: 0 14px; background: var(--on-gold); color: var(--gold); border-color: transparent; }
/* alpha.45: Rechtencontrole */
.audit-item { gap: 12px; } .audit-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--brand-2-light, #5aa); }
.audit-item.red .audit-dot { background: #c0392b; } .audit-item.orange .audit-dot { background: #e08a1e; } .audit-item.blue .audit-dot { background: #3b7ddd; }
.audit-ok { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: var(--surface); } .audit-ok strong { display: block; } .audit-ok span { color: var(--ink-3); }
.audit-src { margin-bottom: 14px; } .audit-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; } .audit-row small { display: block; color: var(--ink-3); }
.audit-tag { flex: none; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--line); color: var(--ink); } .audit-tag.committee { background: var(--gold); color: var(--on-gold); } .audit-tag.board { background: var(--brand-2-light, var(--line)); }
/* alpha.46: Logboek en Prullenbak */
.log-groups { flex-wrap: wrap; margin-bottom: 10px; } .log-filters { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 12px; } .log-filters > * { min-width: 0; }
.log-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .log-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--surface); }
.log-row > div { min-width: 0; flex: 1; } .log-row small { display: block; color: var(--ink-3); } .log-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--line); }
.log-row.delete .log-ico { background: #c0392b22; color: #c0392b; } .log-row.insert .log-ico { background: #2f7d3222; color: #2f7d32; } .log-btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .log-row:has(.log-btns) { flex-wrap: wrap; } .log-btns { width: 100%; justify-content: flex-start; } }
.log-filters input, .log-filters select { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
/* alpha.47: onderbalk indelen (v1 v64): eigen knoppen alleen op de telefoon */
@media (max-width: 899px) { .tabbar a { order: var(--o, 0); } .tabbar a.desk-only { display: none; } }
@media (min-width: 900px) { .tabbar a.bn-only { display: none; } }
.bn-set { display: grid; gap: 8px; } .bn-set label { display: grid; gap: 4px; font-weight: 700; } .bn-set select { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 10px; font: inherit; }
.bn-preview { display: flex; gap: 6px; justify-content: space-between; padding: 8px; border-radius: 22px; background: var(--surface); margin: 6px 0 12px; } .bn-preview span { flex: 1; text-align: center; font-size: 12px; font-weight: 700; padding: 8px 2px; border-radius: 16px; background: var(--bg); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* alpha.49: concepten en inplannen */
.msg-later { margin-top: 12px; padding: 12px; border-radius: 16px; background: var(--bg); } .msg-later input[type="datetime-local"] { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 10px; font: inherit; }
.drafts { margin: 14px 0; } .drafts-row { gap: 10px; flex-wrap: wrap; } .drafts-row .grow { min-width: 0; }
/* alpha.50: Beheer-inbox */
.inbox-item { gap: 12px; flex-wrap: wrap; } .inbox-main { min-width: 0; text-decoration: none; color: inherit; } .inbox-item.red .audit-dot { background: #c0392b; } .inbox-item.orange .audit-dot { background: #e08a1e; } .inbox-item.blue .audit-dot { background: #3b7ddd; }
/* alpha.51: introductie en interesses */
.intro-card { margin-bottom: 14px; } .intro-h { margin: 0 0 8px; font-size: 20px; } .intro-list { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
/* alpha.53: subtaken, overdragen, sjablonen */
.subtasks { display: grid; gap: 6px; } .sub { display: flex; gap: 8px; align-items: center; min-width: 0; } .sub span { min-width: 0; overflow-wrap: anywhere; } .sub.done span { text-decoration: line-through; opacity: .65; }
.sub-add, .handover { gap: 8px; flex-wrap: wrap; } .sub-add input { flex: 1 1 0; min-width: 0; }
.tpl-box { display: grid; gap: 8px; margin-bottom: 10px; } .tpl-opt { display: flex; gap: 10px; align-items: center; } .tpl-opt small { display: block; color: var(--ink-3); }
/* alpha.54: Help mee */
.help-form { display: grid; gap: 10px; margin-bottom: 10px; } .help-card.st-vervuld, .help-card.st-gesloten { opacity: .75; }
.help-resps summary { cursor: pointer; } .help-resp { gap: 8px; flex-wrap: wrap; align-items: center; padding: 6px 0; } .help-resp .grow { min-width: 0; }
/* alpha.55 */
.link-btn.danger { color: var(--crit, #c0392b); } .sub .link-btn { margin-left: auto; }
/* alpha.56: zoeken en toevoegen-menu */
.topbar .top-btn { position: relative; font-size: 20px; min-width: 40px; min-height: 40px; color: #fff; order: 1; background: none; border: 0; color: inherit; cursor: pointer; display: inline-grid; place-items: center; }
.ov-wrap { position: fixed; inset: 0; z-index: 60; display: grid; align-items: start; justify-items: center; padding: 56px 12px 12px; }
.ov-back { position: absolute; inset: 0; background: rgba(8,30,40,.5); }
.ov-panel { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 80px); overflow: auto; background: var(--surface); border-radius: 22px; box-shadow: 0 20px 50px rgba(5,30,40,.35); padding: 12px; display: grid; gap: 6px; align-content: start; }
.ov-input { display: flex; gap: 10px; align-items: center; padding: 6px 8px; } .ov-input input { flex: 1 1 0; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 17px; outline: none; }
.ov-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; }
.ov-hint { margin: 8px; } .ov-group h4 { margin: 10px 8px 4px; font-size: 13px; color: var(--ink-3); } .ov-group h4 b { font-weight: 600; }
.ov-item { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: inherit; min-width: 0; } .ov-item strong, .ov-item small { overflow-wrap: anywhere; } .ov-item small { color: var(--ink-3); }
.ov-item.on, .ov-item:hover { background: var(--wash, rgba(20,100,110,.1)); }
.ov-item.add { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; } .ov-item.add .ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--wash, rgba(20,100,110,.1)); }
@media (min-width: 900px) { .topbar .top-btn { color: var(--ink); order: 2; } }
.ov-panel { grid-template-columns: minmax(0, 1fr); } .ov-input input::-webkit-search-cancel-button { display: none; } .ov-input .link-btn { flex: none; }
/* alpha.57: minimum per stemgroep */
.min-voice { border: 0; padding: 0; margin: 10px 0 0; min-width: 0; } .min-voice legend { font-weight: 650; padding: 0; margin-bottom: 4px; }
/* alpha.58 */
.ctask-desc { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
/* alpha.59: oneffenheden */
.music-summary article, .music-summary article > div { min-width: 0; } .music-summary small, .music-summary strong { overflow-wrap: anywhere; } .music-summary small { letter-spacing: .04em; }
.ov-item.add > span:last-child { display: grid; gap: 2px; min-width: 0; } .ov-item.add small { display: block; }
.kpi, .kpi > div { min-width: 0; } .kpi small { overflow-wrap: anywhere; letter-spacing: .06em; } .kpi em { max-width: 100%; }
/* alpha.60: bladwijzers */
.mark-wrap { position: relative; display: inline-flex; align-items: center; } .mark-n { font-size: 12px; margin-left: 4px; font-variant-numeric: tabular-nums; }
.mark-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: min(280px, 80vw); max-height: 60vh; overflow: auto; background: var(--surface); color: var(--ink); border-radius: 16px; box-shadow: 0 14px 36px rgba(5,30,40,.35); padding: 6px; display: grid; gap: 2px; }
.mark-row { display: flex; gap: 4px; align-items: center; } .mark-row .grow { text-align: left; min-width: 0; } .mark-row button { background: none; border: 0; color: inherit; font: inherit; padding: 10px 12px; border-radius: 12px; cursor: pointer; } .mark-row button:hover { background: var(--wash, rgba(20,100,110,.1)); } .mark-row small { display: block; color: var(--ink-3); }
@media (max-width: 600px) { .reader-bar { gap: 2px; padding-left: 4px; padding-right: 4px; } .reader-bar .btn.ghost { padding: 0 6px; min-width: 36px; } .reader-title { min-width: 56px; flex: 1 1 0; } .reader-title select { width: 100%; padding: 0 6px; } .mark-n { margin-left: 2px; } }

/* alpha.61: Mijn muziekmap */
.pm-proj { margin: 16px 0 4px; font-size: 1.05rem; }
.pm-cat { margin: 10px 0 6px; font-size: .9rem; color: var(--muted, #6b6b6b); }
.pm-cat small { font-weight: 400; }

/* alpha.62: nieuwe pdf-versie in de lezer */
.reader-ver { display: grid; gap: 6px; padding: 10px 14px; background: #fff3d6; color: #5a3b00; border-bottom: 1px solid #e8c777; font-size: .92rem; }
.reader-ver strong { font-size: 1rem; }
.reader-ver { gap: 4px; padding: 8px 12px; }
.reader-ver span { font-size: .85rem; line-height: 1.3; }
.reader-ver .btn { padding: 6px 12px; min-height: 0; font-size: .85rem; }

/* alpha.63: notitie per pagina en markeringen van leden bekijken */
.reader-note { display: grid; gap: 4px; padding: 8px 12px; background: #1f2230; color: #e8e8ee; border-bottom: 1px solid #333850; }
.reader-note label { font-size: .8rem; opacity: .8; }
.reader-note textarea { width: 100%; box-sizing: border-box; font: inherit; border-radius: 10px; padding: 8px 10px; background: #14161f; color: inherit; border: 1px solid #3a4060; }
.reader-viewbar { display: flex; gap: 8px; align-items: center; padding: 8px 12px; background: #3b2f12; color: #ffe7a8; font-size: .88rem; }
.btn.has-note { box-shadow: inset 0 -3px 0 #e0a43a; }

/* alpha.64: repetitieplan */
.plan-item { align-items: flex-start; gap: 12px; }
.plan-time { min-width: 52px; display: grid; gap: 2px; text-align: center; }
.plan-time small { color: var(--muted, #6b6b6b); }
.plan-assess { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.plan-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.plan-total { margin-bottom: 6px; }
.plan-total.over { color: #b3261e; font-weight: 600; }
.plan-item { flex-wrap: wrap; }
.plan-main { flex: 1 1 160px; min-width: 0; overflow-wrap: anywhere; }
.plan-acts { flex: 1 1 100%; justify-content: flex-end; }
@media (min-width: 700px) { .plan-acts { flex: 0 0 auto; } }

/* alpha.65: opnamespeler met snelheid, A–B-herhaling en markeringen */
.ap { display: grid; gap: 10px; margin-top: 8px; width: 100%; }
.ap .op-audio { width: 100%; }
.ap-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ap-lab { min-width: 64px; font-size: .85rem; color: var(--muted, #6b6b6b); }
.ap-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-seg button, .ap-quick button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line, #cfd6d9); background: transparent; color: inherit; font: inherit; font-size: .88rem; }
.ap-seg button[aria-pressed="true"] { background: var(--accent, #1b4553); color: #fff; border-color: transparent; }
.ap-seg b { font-variant-numeric: tabular-nums; }
.ap-marks ul { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 4px; }
.ap-marks li { display: flex; gap: 6px; align-items: flex-start; }
.ap-seek { flex: 1; min-width: 0; display: flex; gap: 10px; text-align: left; background: transparent; border: 0; color: inherit; font: inherit; padding: 6px 0; }
.ap-seek span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.ap-seek small { color: var(--muted, #6b6b6b); }
.ap-del { background: transparent; border: 0; color: inherit; font-size: 1.2rem; padding: 4px 8px; }
.ap-tag { font-style: normal; font-size: .75rem; padding: 1px 8px; border-radius: 999px; }
.ap-tag.fb { background: #fde8c8; color: #7a4a00; }
.ap-tag.oa { background: #d8ecf5; color: #0b4a68; }
.ap-add { display: grid; gap: 8px; margin-top: 6px; }
.ap-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.ap-add input { flex: 1; min-width: 0; }
.ap { grid-template-columns: minmax(0, 1fr); box-sizing: border-box; min-width: 0; }
.ap .op-audio { margin: 0; width: 100%; }
.op-item .ap { padding: 0 14px 14px; }
.ap-add .row { flex-wrap: wrap; }
.ap-add input { flex: 1 1 160px; min-width: 120px; }
.ap-marks .kicker { font-size: .8rem; margin: 4px 0; }

/* alpha.66: bestanden selecteren, vastzetten, verplaatsen */
.fsel { width: 22px; height: 22px; flex: none; }
.fpinned { margin: 0 0 14px; padding: 10px 12px; border-radius: 18px; background: #fff8e6; border: 1px solid #ecd28a; }
.fpinned h3 { margin: 0 0 6px; font-size: 1rem; }
.fbar { position: sticky; bottom: 84px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; margin-top: 14px; border-radius: 18px; background: var(--surface, #fff); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.fbar select { max-width: 100%; }
.row > select[aria-label="Sorteren"] { margin-left: auto; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line, #cfd6d9); background: var(--surface, #fff); font: inherit; }
.fbar select { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line, #cfd6d9); background: var(--surface, #fff); font: inherit; }

/* bulkacties */
.bulk-spacer { height: 170px; }
.bulk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface, #fff); border-top: 1px solid var(--line, #cfd6d9); box-shadow: 0 -4px 16px rgba(0,0,0,.12); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: grid; gap: 8px; }
.bulk-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bulk-row b { margin-right: auto; }
.bulk-acts .btn[aria-pressed="true"] { background: var(--accent, #1b4553); color: #fff; }
.bulk-panel { max-height: 36vh; overflow: auto; padding-bottom: 4px; }
.bulk-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.selbox { font-size: 1.3rem; line-height: 1; margin-right: 4px; }
.member-card.picked, .song-card.picked, .tile.picked { outline: 3px solid var(--accent, #1b4553); outline-offset: -3px; }
.song-card { position: relative; }
button.tile.selectable { font: inherit; color: inherit; }

/* commissienotities */
button.list-item.cnote { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.cnote.pin { border-left: 3px solid var(--gold, #c8963e); }

/* bestuur */
.bar { height: 6px; border-radius: 99px; background: var(--line, #cfd6d9); overflow: hidden; margin: 0 0 8px; }
.bar i { display: block; height: 100%; background: var(--accent, #1b4553); }
.pill.dec-in_uitvoering { background: #fde8c8; color: #7a4a00; }
.pill.dec-afgerond { background: #d6efdc; color: #14532d; }
button.pill { border: 0; font: inherit; font-size: .8rem; cursor: pointer; }

/* emoji en mail */
.emoji-bar { margin-top: 4px; }
.emoji-btn { padding: 2px 10px; }
.emoji-grid { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; margin-top: 4px; border: 1px solid var(--line, #cfd6d9); border-radius: 12px; max-width: 420px; }
.emoji-grid button { background: transparent; border: 0; font-size: 1.4rem; line-height: 1; padding: 6px; border-radius: 8px; }
.emoji-grid button:active { background: var(--line, #cfd6d9); }
.composer .emoji-bar { margin: 0 0 2px; }

/* ---------- kop zoals in 1.27 (alpha.75) ---------- */
.page-hero { position: relative; overflow: hidden; border-radius: 28px; padding: 22px 22px 24px; margin: 6px 0 16px; color: #fff;
  background: radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--vivid, #137A6A) 35%, #fff 25%), transparent 62%), linear-gradient(140deg, var(--vivid, #137A6A), var(--vivid-2, #0F4554));
  box-shadow: 0 24px 44px -22px color-mix(in srgb, var(--vivid, #137A6A) 85%, #000), inset 0 0 0 1px rgba(255,255,255,.12); }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -70px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(255,255,255,.1); pointer-events: none; }
.page-hero .hero-kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.page-hero .page-title { margin: 6px 0 8px; font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: #fff; }
.page-hero .hero-sub { margin: 0; font-size: 17px; line-height: 1.4; color: rgba(255,255,255,.86); max-width: 34em; }
.page-hero .hero-bar { display: block; width: 52px; height: 7px; margin-top: 16px; border-radius: 99px; background: var(--gold); }
.page-hero .page-title::after { display: none; }

/* tabs en filters: groter, vetter, rustige kleur; actief gevuld (zoals 1.27) */
.chip, .seg .btn, .tabs button { min-height: 46px; padding: 0 20px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink-2); background: var(--surface); border: 1.5px solid var(--line); box-shadow: 0 1px 2px rgba(10,50,55,.05); }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .seg .btn[aria-pressed="true"]:not(.yes):not(.maybe):not(.no):not(.level-practice):not(.level-reasonable):not(.level-ready) { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 6px 14px -8px var(--brand); }
.chips { gap: 8px; }

/* Vandaag: volgende activiteit als witte kaart onder de naam, met sierstreep */
.me-card::before { content: ""; position: absolute; right: 70px; top: -26px; width: 130px; height: 70px; border-radius: 0 0 70px 70px; background: var(--gold); opacity: .92; transform: rotate(-12deg); pointer-events: none; }
.me-card::after { content: ""; position: absolute; right: -50px; top: 40px; width: 230px; height: 18px; border-radius: 99px; background: rgba(255,255,255,.82); transform: rotate(-22deg); pointer-events: none; }
.me-card > * { position: relative; z-index: 1; }
.me-top { flex-wrap: nowrap; align-items: flex-start; }
.me-id .eyebrow { letter-spacing: .24em; font-size: 14px; font-weight: 800; }
.me-name { font-size: 44px; line-height: 1; }
.me-card .me-next { display: block; margin: 16px 0 0; padding: 12px 18px 14px; border-radius: 18px; background: #fff; color: var(--brand, #0F4554); box-shadow: 0 10px 22px -12px rgba(0,0,0,.45); }
.me-card .me-next small { font-size: 14px; letter-spacing: .16em; color: #B07A12; }
.me-card .me-next b { display: block; margin-top: 2px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.rings { margin-top: 14px; }
.ring-tile { background: rgba(255,255,255,.14); }
.page-hero .hero-actions { pointer-events: auto; }
.page-hero { pointer-events: none; }
.page-hero .hero-actions { pointer-events: auto; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; position: relative; z-index: 1; }
.page-hero .hero-actions .btn { width: 100%; justify-content: center; min-height: 50px; font-size: 17px; font-weight: 800; color: #fff; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.32); box-shadow: none; }
.page-hero .hero-actions .btn.primary { background: var(--gold); border-color: var(--gold); color: #2A1D00; }
@media (min-width: 700px) { .page-hero .hero-actions { flex-direction: row; flex-wrap: wrap; } .page-hero .hero-actions .btn { width: auto; } }
.page-hero ~ .page-actions { float: none; margin: 0 0 14px; }
@media (max-width: 480px) { .chip, .seg .btn, .tabs button { padding: 0 15px; min-height: 44px; font-size: 15px; } .page-hero .page-title { font-size: 36px; } }

/* alpha.76: rijen met tabs, filters en knoppen schuiven zijwaarts i.p.v. onder elkaar te stapelen (telefoon/tablet) */
@media (max-width: 899px) {
  .seg[role="tablist"], .seg[role="group"], .chips[role="tablist"], .chips[role="group"], .hscroll, .page-actions, .samen-tabs, .music-tabs {
    flex-wrap: nowrap !important; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: 100%; padding: 3px 2px; margin-left: -2px; margin-right: -2px; scroll-snap-type: x proximity;
  }
  .seg[role="tablist"]::-webkit-scrollbar, .seg[role="group"]::-webkit-scrollbar, .chips[role="tablist"]::-webkit-scrollbar, .chips[role="group"]::-webkit-scrollbar, .hscroll::-webkit-scrollbar, .page-actions::-webkit-scrollbar { display: none; }
  .seg[role="tablist"] > *, .seg[role="group"] > *, .chips[role="tablist"] > *, .chips[role="group"] > *, .hscroll > *, .page-actions > * { flex: none; white-space: nowrap; scroll-snap-align: start; }
  .hscroll { display: flex; }
  .hscroll .grow { flex: none; }
}

/* alpha.76: verjaardagen bovenaan als strook */
.bday-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 4px -2px 14px; padding: 3px 2px; }
.bday-strip::-webkit-scrollbar { display: none; }
.bday { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--surface); box-shadow: 0 2px 10px rgba(10,60,60,.09); }
.bday-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 22%, var(--surface)); color: color-mix(in srgb, var(--gold) 70%, #5a3d00); }
.bday-t { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; } .bday-t small { color: var(--ink-3); font-weight: 650; }
.bday.now { background: linear-gradient(120deg, color-mix(in srgb, var(--gold) 30%, var(--surface)), var(--surface)); }
.bday.now .bday-t small { color: color-mix(in srgb, var(--gold) 70%, #5a3d00); font-weight: 800; }

/* alpha.77: Repertoire als compacte lijst (zoals 1.27), kleine Partituur-knop, verborgen nummers */
.rep-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.rep-toggle button { border: 0; background: none; min-height: 34px; padding: 0 12px; font-weight: 800; font-size: 13px; color: var(--ink-3); cursor: pointer; }
.rep-toggle button.on { background: var(--brand); color: var(--on-brand); }
.rep-list { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 6px 18px rgba(10,60,60,.08); }
.rep-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto auto auto auto; align-items: center; gap: 8px; min-height: 58px; padding: 6px 10px 6px 4px; border-bottom: 1px solid var(--line); position: relative; }
.rep-row:last-child { border-bottom: 0; }
.rep-row.picked { background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.rep-row .fav-btn, .rep-row .selbox { width: 40px; height: 40px; min-height: 0; display: grid; place-items: center; border: 0; background: none; font-size: 20px; box-shadow: none; position: static; }
.rep-main { min-width: 0; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.rep-main b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rep-main span { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rep-counts { font-size: 12px; font-weight: 700; color: var(--ink-3); white-space: nowrap; } .rep-counts i { font-style: normal; margin: 0 4px; opacity: .5; }
.rep-score { min-height: 32px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--brand-2); font-weight: 800; font-size: 12.5px; text-decoration: none; white-space: nowrap; min-width: 0; }
.rep-score.none { border: 0; padding: 0; min-width: 0; }
.rep-eye { width: 34px; height: 34px; min-height: 0; border: 0; border-radius: 50%; background: none; font-size: 16px; cursor: pointer; opacity: .75; }
.rep-row.hidden-song .rep-main { opacity: .6; }
@media (max-width: 560px) { .rep-st { display: none; } .rep-row { grid-template-columns: 40px minmax(0, 1fr) auto auto auto; gap: 6px; } .rep-counts { display: none; } }
.rep-vo { max-width: 92px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--field, #eef2f3); color: var(--ink-3); font-weight: 800; } .rep-vo.mine { background: var(--ok-soft); color: var(--ok); }
.library-title { flex-wrap: wrap; gap: 8px; } .library-title h2 { font-size: 19px; margin-right: auto; white-space: nowrap; flex: 1 1 auto; min-width: 0; }
.rep-toggle { flex: none; } .library-title select { min-width: 0; max-width: 118px; flex: 0 1 auto; }

/* alpha.78: groepsfoto's */
.gphoto { flex: none; border-radius: 50%; display: inline-grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, color-mix(in srgb, var(--vivid) 85%, #fff), var(--brand-2)); color: #fff; font-weight: 800; box-shadow: 0 2px 8px rgba(10,60,60,.18); }
.gphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gphoto-row { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.gphoto-edit { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.gphoto-btn { position: relative; border: 0; background: none; padding: 0; cursor: pointer; }
.gphoto-btn i { position: absolute; right: -4px; bottom: -4px; font-style: normal; font-size: 13px; background: var(--surface); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.voice-top { align-items: center; gap: 10px; }
.rep-vo-line { display: none; font-style: normal; font-weight: 800; } .rep-vo-line.mine { color: var(--ok); }
@media (max-width: 560px) { .rep-vo { display: none; } .rep-vo-line { display: inline; } .rep-score { padding: 0 8px; } }

/* alpha.79: AI-hulp */
.ai-box { margin: 6px 0 10px; } .ai-btn { border-style: dashed; color: var(--brand-2); }
.ai-form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding: 12px; border-radius: 18px; background: var(--surface); box-shadow: 0 2px 10px rgba(10,60,60,.08); }
.ai-form textarea { width: 100%; box-sizing: border-box; }
.ai-result { margin-top: 8px; padding: 12px 14px; border-radius: 18px; background: color-mix(in srgb, var(--gold) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line)); display: flex; flex-direction: column; gap: 8px; }
.ai-note { margin: 0; font-size: 12.5px; font-weight: 800; color: var(--ink-3); } .ai-err { margin: 0; color: var(--crit); font-weight: 700; }
.ai-text { white-space: pre-wrap; line-height: 1.45; }
.ai-tr { display: block; margin-top: 4px; font-size: 13px; }

/* alpha.80 */
.att-save-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; font-size: 12.5px; }
.rep-folders { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px 12px; padding: 3px 2px; align-items: center; }
.rep-folders::-webkit-scrollbar { display: none; } .rep-folders > * { flex: none; white-space: nowrap; } .rep-crumb { font-weight: 800; color: var(--ink-3); font-size: 13px; }

/* Wizard nieuw gezelschap */
button.pv-new { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.nw-wrap { padding-bottom: 40px; } .nw-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.nw-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; } .nw-steps li { flex: 1; padding: 6px 4px; text-align: center; font-size: 13px; border-bottom: 3px solid var(--line, #ddd); color: var(--ink-3); }
.nw-steps li.on { border-color: var(--pv-gold, #C8963E); color: var(--ink); font-weight: 600; } .nw-steps li.done { border-color: var(--brand, #0F4554); }
.nw-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.nw-type { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 12px; border: 2px solid var(--line, #ddd); border-radius: 14px; background: var(--surface); font: inherit; color: inherit; cursor: pointer; }
.nw-type.on { border-color: var(--pv-gold, #C8963E); } .nw-type small { color: var(--ink-3); font-size: 12px; }
.nw-addr { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; } .nw-addr i { font-style: normal; color: var(--ink-3); font-size: 13px; } .nw-addr input { flex: 1; min-width: 120px; }
.nw-chk.ok { color: #1a7f37; } .nw-chk.bad { color: #b3261e; }
.nw-r { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; } .nw-r small { display: block; color: var(--ink-3); }
.nw-colors { display: flex; gap: 20px; margin: 12px 0; } .nw-colors input { vertical-align: middle; margin-left: 6px; }
.nw-logo { display: flex; gap: 12px; align-items: center; margin: 12px 0; }
.nw-sum { background: var(--surface); border-radius: 14px; padding: 12px; margin: 12px 0; } .nw-sum dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; } .nw-sum dt { color: var(--ink-3); } .nw-sum dd { margin: 0; overflow-wrap: anywhere; }
.nw-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 12px; }
.nw-back { background: none; border: 0; font: inherit; color: var(--ink-2); cursor: pointer; padding: 10px 0; }
.nw-err { color: #b3261e; margin: 10px 0 0; } .nw-note { color: var(--ink-3); font-size: 14px; }
.nw-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #1a7f37; color: #fff; font-size: 36px; margin: 8px 0; }

/* Icoontjes in lopende tekst en knoppen (vervangen de emoticons) */
.ic { display: inline-block; vertical-align: -0.2em; } .ic.g { margin-right: 0.4em; }
.btn .ic, .chip .ic, button .ic { flex: none; }

/* Foutjes: lege lijst zonder marge; brede inhoud mag de pagina nooit breder maken (Safari zoomt dan uit) */
.list > p, .list > .muted { padding: 14px 16px; margin: 0; }
html, body { max-width: 100%; overflow-x: clip; }
.main { min-width: 0; overflow-x: clip; } .main > * { min-width: 0; max-width: 100%; }
.rep-folders, .library-title { width: 100%; max-width: 100%; box-sizing: border-box; }

/* Afspeelbalk (AudioBar) overal in dezelfde stijl; plat in lezer en opname-uitklap */
.audiobar { margin: 6px 0; } .audiobar.flat { margin: 0; box-shadow: none; }
.reader-play { display: grid; gap: 8px; } .reader-play select { width: 100%; min-height: 40px; border-radius: 999px; background: #23262d; color: #fff; border: 1px solid #333844; padding: 0 12px; font: inherit; }
.ap .audiobar { margin: 0 0 8px; }

/* Mapblokjes (iCloud-achtig) */
.ftiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; margin: 0 0 14px; }
.ftile { position: relative; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); border: 2px solid transparent; }
.ftile.on { border-color: var(--brand-2); background: color-mix(in srgb, var(--brand-2) 8%, var(--surface)); }
.ftile-main { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 14px 14px 12px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 20px; min-height: 108px; }
.ftile-ico { color: var(--gold, #C8963E); margin-bottom: 6px; } .ftile-name { font-size: 15px; overflow-wrap: anywhere; line-height: 1.2; } .ftile small { font-size: 12px; }
.ftile-check { position: absolute; top: 12px; right: 12px; color: var(--brand-2); }
.ftile-more { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--ink-3); cursor: pointer; }
.ftile-more:hover, .ftile-more[aria-expanded="true"] { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.fmenu { position: absolute; z-index: 20; top: 46px; right: 8px; min-width: 210px; max-width: min(300px, 80vw); max-height: 60vh; overflow: auto; padding: 6px; border-radius: 16px; background: var(--surface); box-shadow: 0 8px 28px rgba(0,0,0,.22); border: 1px solid var(--line); display: grid; gap: 2px; }
.fmenu button { display: flex; align-items: center; gap: 4px; text-align: left; padding: 10px 12px; min-height: 44px; border: 0; border-radius: 12px; background: none; font: inherit; color: inherit; cursor: pointer; }
.fmenu button:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); } .fmenu button.danger { color: var(--crit, #b3261e); }

/* Contextmenu zoals iOS Bestanden (ActionMenu) */
.amenu-bg { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; background: rgba(8, 12, 16, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
@media (min-width: 700px) { .amenu-bg { align-items: center; } }
.amenu { width: min(420px, 100%); max-height: min(86vh, 720px); overflow-y: auto; border-radius: 28px; padding: 14px 16px 16px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 18px 60px rgba(0,0,0,.4); display: grid; gap: 12px; }
.amenu-head { display: flex; align-items: center; gap: 10px; min-width: 0; } .amenu-head .grow { min-width: 0; display: grid; } .amenu-head b { font-size: 16px; overflow-wrap: anywhere; } .amenu-head small { font-size: 12px; }
.amenu-ico { color: var(--gold, #C8963E); } .amenu-back, .amenu-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--ink) 8%, transparent); display: grid; place-items: center; color: inherit; cursor: pointer; }
.amenu-back .icon { transform: rotate(180deg); }
.amenu-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.amenu-quick button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 0; border-radius: 18px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: inherit; font: inherit; font-size: 13px; cursor: pointer; min-height: 72px; }
.amenu-quick button:disabled, .amenu-group button:disabled { opacity: .4; cursor: default; } .amenu-quick .danger, .amenu-group .danger { color: var(--crit, #b3261e); }
.amenu-group { display: grid; border-radius: 18px; background: color-mix(in srgb, var(--ink) 6%, transparent); overflow: hidden; }
.amenu-group button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; min-height: 52px; border: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); background: none; color: inherit; font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.amenu-group button:first-child { border-top: 0; } .amenu-group button:active { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.amenu-group button > span { min-width: 0; overflow-wrap: anywhere; } .amenu-chev { margin-left: -4px; opacity: .55; font-style: normal; }
.amenu-info { margin: 0; display: grid; gap: 0; border-radius: 18px; background: color-mix(in srgb, var(--ink) 6%, transparent); overflow: hidden; }
.amenu-info > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); } .amenu-info > div:first-child { border-top: 0; }
.amenu-info dt { color: var(--ink-3); } .amenu-info dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.ftile.holding, .list-item.holding { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.ftile, .list-item { -webkit-touch-callout: none; }

.chat-wrap { display: flex; align-items: center; gap: 4px; } .chat-wrap > a { flex: 1; min-width: 0; } .chat-more { flex: none; } .chat-wrap > a { -webkit-touch-callout: none; }

.pv-demo { text-align: center; margin: 14px 0 6px; } .pv-demo .pv-link { display: inline; }

.amenu-row { display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; min-height: 52px; border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); } .amenu-row:first-child { border-top: 0; }
.amenu-del { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--crit, #b3261e); display: grid; place-items: center; cursor: pointer; }
.amenu-pick { max-height: 46vh; overflow-y: auto; } .amenu-pick button[aria-pressed=true] { background: color-mix(in srgb, var(--gold, #C8963E) 14%, transparent); }

.vis-opt { align-items: center; } .vis-opt .grow { display: grid; text-align: left; } .vis-opt small { font-size: 12px; } .vis-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-3); }
/* Kasboek: drie compacte tegels naast elkaar */
.kpis.kpis-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis-sm .kpi { padding: 8px 10px; border-radius: 14px; }
.kpis-sm .kpi small { font-size: 10.5px; letter-spacing: .04em; }
.kpis-sm .kpi strong { font-size: 16px; letter-spacing: -.02em; }
/* Voorportaal bij veel gezelschappen */
.pv-last { width: 100%; text-align: left; cursor: pointer; margin-bottom: 14px; font: inherit; color: inherit; }
.pv-last small { display: block; }
.pv-facets { margin: 8px 0 0; flex-wrap: nowrap; overflow-x: auto; }
/* Selectiebalk: iconen, smal, boven het onderste menu */
.fbar { bottom: calc(96px + env(safe-area-inset-bottom)); gap: 6px; padding: 6px 8px; flex-wrap: nowrap; }
.fbar b { flex: 1 1 auto; font-size: 14px; white-space: nowrap; }
.fbar .fb { position: relative; flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line, #cfd6d9); background: var(--surface, #fff); color: inherit; padding: 0; cursor: pointer; }
.fbar .fb:disabled { opacity: .4; } .fbar .fb.danger { color: var(--crit, #b3261e); }
.fbar .fb-sel select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
/* Platformbeheer: telefoon-vriendelijk */
.pf { overflow-x: hidden; } .pf, .pf * { overflow-wrap: anywhere; min-width: 0; }
.pf .page-title { font-size: 26px; }
.pf .hscroll { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .pf .hscroll > * { flex: none; }
.pf-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .pf-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pf-tile { text-align: left; background: var(--surface); border: 0; border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow); font: inherit; color: inherit; }
.pf-tile small { display: block; font-size: 12px; color: var(--ink-3); } .pf-tile b { display: block; font-size: 22px; letter-spacing: -.02em; } .pf-tile em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.pf-attn { margin: 0; padding-left: 18px; } .pf-attn li { margin: 4px 0; }
.pf-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; } .pf-bar select { flex: 1 1 140px; }
.pf-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.pf-st { flex: none; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--surface-2, #eef2f3); } .pf-st.actief { background: #dff3e4; color: #14532d; } .pf-st.gepauzeerd { background: #fde8c8; color: #7a4a00; }
.pf-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; margin-top: 6px; } .pf-stats .warn { color: #b3261e; }
.pf code { font-size: 12.5px; }
/* Voorportaal: uitklapmenu */
.pv-combo { position: relative; }
.pv-drop { margin-top: 8px; padding: 10px; background: var(--surface, #fff); border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.18); max-height: min(60vh, 520px); overflow-y: auto; }
.pv-drop .pv-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.pv-opt { padding: 0; border: 0; box-shadow: none; background: none; }
.pv-optb { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px; border: 0; border-radius: 14px; background: transparent; font: inherit; color: inherit; cursor: pointer; }
.pv-optb:hover, .pv-optb:focus-visible { background: var(--surface-2, #eef2f3); }
.pv-optb .pv-txt { flex: 1; display: grid; } .pv-optb .pv-logo { width: 40px; height: 40px; flex: none; }
.pv-go-i { color: var(--ink-3); }
.pv-caret { font-size: 14px; }
/* Leden zoals versie 1 */
.mem-hero { border-radius: 28px; overflow: hidden; background: linear-gradient(140deg, var(--vivid, #137A6A), var(--vivid-2, #0F4554)); color: #fff; box-shadow: 0 24px 44px -22px color-mix(in srgb, var(--vivid, #137A6A) 85%, #000), inset 0 0 0 1px rgba(255,255,255,.12); }
.mem-hero img { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.mem-hero-t { padding: 18px 18px 20px; }
.mem-kick { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold, #E8A93A); }
.mem-hero h2 { margin: 6px 0 8px; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; } .mem-hero p { margin: 0 0 14px; opacity: .85; }
.mem-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mem-stats div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 8px 10px; }
.mem-stats b { display: block; font-size: 20px; } .mem-stats small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.mem-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-2); }
.mem-h { margin: 6px 0 12px; font-size: 22px; letter-spacing: -.02em; }
.voice-row { display: grid; grid-template-columns: 84px 1fr 28px; align-items: center; gap: 10px; margin: 8px 0; font-weight: 600; color: var(--ink-3); }
.voice-bar { height: 10px; border-radius: 99px; background: var(--surface-2, #eef0f5); overflow: hidden; } .voice-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--vivid, #137A6A), var(--gold, #E8A93A)); }
.voice-row b { text-align: right; color: var(--brand-2); }
.mem-com { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 700; color: var(--ink-3); } .mem-com select { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--line, #cfd6d9); background: var(--surface, #fff); font: inherit; font-weight: 700; color: inherit; }
/* Social media-tegels */
.soc { margin: 18px 0; } .soc-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.soc-tile { display: grid; justify-items: center; gap: 4px; width: 78px; padding: 10px 6px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.soc-tile img { border-radius: 12px; } .soc-ph { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-2); color: #fff; }
.soc.small .soc-tile { width: 64px; } .soc-tile small { font-size: 12px; }
.set-prof { display: flex; gap: 12px; align-items: center; } .set-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 8px 0 0; font-size: 14px; } .set-facts dt { color: var(--ink-3); } .set-facts dd { margin: 0; font-weight: 700; }
.soc-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: end; margin: 10px 0; } .soc-row img { width: 40px; height: 40px; border-radius: 10px; }
/* Platformbeheer: ruimer op iPad en desktop, knoppen breken niet af */
.pf .btn { white-space: nowrap; }
.pf-grid { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: start; } .pf-grid > .card { margin-bottom: 0 !important; }
@media (min-width: 900px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf .card { padding: 18px 20px; } .pf-tiles { gap: 12px; } .pf-tile { padding: 14px 16px; } }
@media (min-width: 1200px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pf .row > .btn, .pf .row > div { min-width: 0; }
/* Wizard: lange soortnamen blijven in hun tegel */
.nw-type { min-width: 0; } .nw-type b { font-size: 16px; overflow-wrap: anywhere; hyphens: auto; }
.pf button, .pf .btn { overflow-wrap: normal; word-break: normal; }
.soc-ph { background: linear-gradient(140deg, var(--vivid, #137A6A), var(--vivid-2, #0F4554)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.soc-tile:hover .soc-ph, .soc-tile:focus-visible .soc-ph { color: var(--gold, #E8A93A); }
/* Vandaag: inklapbaar "Later" */
.fold { margin: 14px 0; } .fold > summary { cursor: pointer; font-weight: 800; font-size: 18px; padding: 8px 0; list-style: none; display: flex; align-items: center; gap: 8px; }
.fold > summary::before { content: "▸"; color: var(--gold); transition: transform .15s; } .fold[open] > summary::before { transform: rotate(90deg); }
.fold > summary::-webkit-details-marker { display: none; }
/* Mappen: raster of lijst (zoals iCloud) */
.fhead { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 6px; }
.fview { display: inline-flex; border: 1px solid var(--line, #cfd6d9); border-radius: 999px; overflow: hidden; background: var(--surface); }
.fview button { border: 0; background: transparent; color: inherit; width: 40px; height: 34px; display: grid; place-items: center; cursor: pointer; }
.fview button[aria-pressed="true"] { background: var(--brand, #0F4554); color: #fff; }
.flist { list-style: none; margin: 0 0 14px; padding: 0; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.frow { display: flex; align-items: center; border-bottom: 1px solid var(--line, #e3e8ea); } .frow:last-child { border-bottom: 0; } .frow.on { background: color-mix(in srgb, var(--gold, #E8A93A) 14%, transparent); }
.frow-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.frow-main .grow { display: grid; min-width: 0; } .frow-main b { overflow-wrap: anywhere; } .frow-ico { color: var(--gold, #C8963E); } .frow .chev { color: var(--ink-3); }
.frow .ftile-more { position: static; margin-right: 8px; }
/* Agenda: het cijfer van de gekozen dag (ook vandaag) blijft leesbaar in lichte modus */
.cal-cell.today[aria-selected="true"] .n, .cal-cell[aria-selected="true"] .n { color: var(--on-brand, #fff); text-decoration: none; }
/* Meldingen: wegvegen */
.note-wrap { position: relative; overflow: hidden; border-bottom: 1px solid var(--line, #e3e8ea); transition: max-height .2s, opacity .2s; max-height: 220px; touch-action: pan-y; }
.note-wrap.gone { max-height: 0; opacity: 0; }
.note-del { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 22px; background: var(--crit, #b3261e); color: #fff; font-weight: 800; }
.note-wrap .list-item.note { position: relative; width: 100%; background: var(--surface, #fff); border: 0; border-radius: 0; touch-action: pan-y; }
.note-list { padding: 0; overflow: hidden; }
/* alpha.101 — socials als Meer-menu-rijen */
.soc-list.small .song-ico.mi { width: 36px; height: 36px; border-radius: 11px; }
.set-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; } .set-row input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--vivid); flex: none; } .set-row small { display: block; }
.adm-grp { margin-top: 18px; } .adm-grp .list { margin-top: 6px; }
.pf-st.geblokkeerd { background: color-mix(in srgb, #c0392b 16%, var(--surface)); color: #c0392b; }
.pf-danger { border: 1px solid color-mix(in srgb, #c0392b 40%, transparent); border-radius: 14px; padding: 12px; margin-top: 6px; }
/* alpha.103 — BulkBar zoals de selectiebalk bij Bestanden: boven de tabbalk, icoonknoppen */
.bulk-bar { bottom: calc(96px + env(safe-area-inset-bottom)); left: 12px; right: 12px; border: 0; border-radius: 18px; padding: 8px 10px; box-shadow: 0 6px 24px rgba(0,0,0,.2); max-width: 720px; margin: 0 auto; gap: 6px; }
.bulk-spacer { height: 150px; }
.bulk-bar .bulk-row { flex-wrap: nowrap; gap: 6px; } .bulk-bar .bulk-row.bulk-acts { flex-wrap: wrap; justify-content: flex-start; }
.bulk-bar .btn { padding: 8px 12px; min-height: 0; font-size: 14px; white-space: nowrap; }
.bulk-bar .fb { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line, #cfd6d9); background: var(--surface, #fff); color: inherit; padding: 0; cursor: pointer; }
.bulk-bar .fb:disabled { opacity: .4; } .bulk-bar .fb.danger { color: var(--crit, #b3261e); }
.bulk-bar .fb[aria-pressed="true"] { background: var(--vivid, #137A6A); color: #fff; border-color: transparent; }

/* Taalkeuze */
.lang-pick { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--muted, inherit); }
.lang-flag { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: none; cursor: pointer; display: inline-grid; place-items: center; opacity: .75; box-shadow: 0 0 0 1px var(--line, #cfd8dc); overflow: hidden; }
.lang-flag svg { display: block; width: 32px; height: 32px; }
.lang-flag .lang-code { font-size: .7rem; font-weight: 700; color: var(--text, inherit); }
.lang-flag:hover { opacity: 1; }
.lang-flag.on { opacity: 1; border-color: var(--vivid, #0e7490); box-shadow: 0 0 0 2px var(--card, #fff), 0 0 0 4px var(--vivid, #0e7490); }
.lang-flag:focus-visible { outline: 3px solid var(--vivid-2, #22d3ee); outline-offset: 2px; }
.lang-pick.compact { gap: 6px; }
.lang-pick.compact .lang-flag { width: 34px; height: 34px; }
.lang-pick.compact .lang-flag svg { width: 26px; height: 26px; }
.lang-row { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.lang-allow { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0; }

/* aantekenen met Apple Pencil: geen selectie- of kopieermenu bij lang drukken */
.reader.editing canvas.overlay { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.pencil-hint { align-self: center; max-width: 340px; }

/* partituur: markeerstift achter de notenbalk (eigen laag, vermenigvuldigd), kleur en dikte kiezen */
.sheet { isolation: isolate; }
.sheet canvas.hlayer { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; }
.ann-bar .swatch.custom { position: relative; overflow: hidden; background: conic-gradient(#e34d42, #f2c94c, #16a34a, #1d4ed8, #7c3aed, #e34d42); }
.ann-bar .swatch.custom input { position: absolute; inset: -8px; width: 60px; height: 60px; opacity: 0; cursor: pointer; }
.ann-bar .tool.width { gap: 8px; } .ann-bar .tool.width input { width: 110px; accent-color: #fff; }

/* volledig scherm: alleen de partituur; zwevend paneel dat je kunt verslepen */
.reader.focus .reader-bar, .reader.focus .reader-foot, .reader.focus .reader-viewbar, .reader.focus .reader-note, .reader.focus .reader-ver { display: none; }
.reader.focus .reader-stage { padding: 0; }
.rdock { position: fixed; z-index: 120; display: grid; gap: 6px; touch-action: none; }
.rdock-pill { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(17,19,23,.78); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.rdock-btn, .rdock-grip { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.rdock-btn[aria-pressed="true"] { background: rgba(255,255,255,.22); }
.rdock-grip { cursor: grab; grid-auto-flow: column; gap: 2px; align-content: center; touch-action: none; } .rdock-grip i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.7); display: block; }
.rdock-panel { width: min(330px, 92vw); max-height: 60vh; overflow: auto; background: #111317; border: 1px solid #23262d; border-radius: 16px; padding: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.45); order: 2; }
.rdock-panel.up { order: 0; } .rdock-panel.left { justify-self: end; }

/* repertoire: titels altijd leesbaar, ook als de lijst smal is (naast het zijpaneel). Eerst valt weg wat het minst nodig is. */
.rep-list { container-type: inline-size; }
.rep-row { grid-template-columns: 40px minmax(150px, 1fr); grid-auto-flow: column; grid-auto-columns: auto; }
.rep-main b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; }
@container (max-width: 900px) { .rep-counts { display: none; } }
@container (max-width: 760px) { .rep-vo { display: none; } .rep-vo-line { display: inline; } }
@container (max-width: 600px) { .rep-st { display: none; } }

/* zwevend paneel: groter en leesbaar; verborgen pagina's */
.rdock-pill { padding: 4px; gap: 4px; background: rgba(17,19,23,.92); border: 1px solid rgba(255,255,255,.28); }
.rdock-btn, .rdock-grip { width: 42px; height: 42px; color: #fff; }
.rdock-btn[aria-pressed="true"] { background: #f0c27a; color: #111317; }
.rdock-grip i { width: 4px; height: 4px; }
.rdock-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; color: #fff; font-size: 14px; }
.rdock-head button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.rdock-panel { color: #fff; }
.reader-pages { padding: 10px 12px; background: #1f2230; color: #e8e8ee; border-bottom: 1px solid #333850; }
.pg-chips, .rdock-panel .pg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-chip { min-width: 44px; min-height: 40px; border-radius: 10px; border: 1px solid #3a3f4a; background: #23262d; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; padding: 0 8px; }
.pg-chip.cur { border-color: #f0c27a; }
.pg-chip.off { background: transparent; color: #7d8594; text-decoration: line-through; border-style: dashed; }
.reader-pages .btn, .rdock-panel .btn { background: #23262d; color: #fff; border: 1px solid #3a3f4a; min-height: 40px; }

/* pop-ups bij het openen (verjaardag, onbeantwoorde peilingen) */
.ov-wrap.center { align-items: center; padding-top: 12px; z-index: 90; }
.pop-panel { text-align: center; gap: 10px; padding: 22px 18px 16px; max-width: 460px; }
.pop-ico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 22%, var(--surface)); color: var(--brand); }
.pop-h { margin: 6px 0 0; font-size: 22px; }
.pop-names { margin: 0; font-size: 22px; font-weight: 800; color: var(--brand); overflow-wrap: anywhere; }
.pop-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.pop-polls { display: grid; gap: 12px; text-align: left; margin-top: 6px; }
.pop-poll { background: var(--field, #eef2f3); border-radius: 16px; padding: 12px; display: grid; gap: 8px; }
.pop-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pop-off { margin: 8px 0 0; }

/* Pakketmelding (alpha.122) */
.pkg-notice{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;justify-content:space-between;margin:0;padding:10px 16px;background:var(--surface-2,#f1f4f5);border-bottom:1px solid var(--line,#d6dde0);font-size:15px;line-height:1.35}
.pkg-notice.crit{background:#fde8e6;color:#7a1a12;border-color:#f3b9b3}
.pkg-notice a{font-weight:700;text-decoration:underline;min-height:44px;display:inline-flex;align-items:center}

/* ---- inlog, account maken en gezelschap aanmaken: meer beweging (alpha.125) ---- */
@keyframes pvIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pvBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes pvBlob { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(40px, 50px, 0) scale(1.18); } }
@keyframes pvNote { 0% { transform: translate3d(0, 30px, 0) rotate(-10deg); opacity: 0; } 15% { opacity: .7; } 85% { opacity: .5; } 100% { transform: translate3d(var(--dx, 24px), -105vh, 0) rotate(14deg); opacity: 0; } }
@keyframes pvSweep { 0% { transform: translateX(-130%) skewX(-20deg); } 55%, 100% { transform: translateX(300%) skewX(-20deg); } }
@keyframes pvPulse { 0% { box-shadow: 0 0 0 0 rgba(63,138,99,.55); } 100% { box-shadow: 0 0 0 14px rgba(63,138,99,0); } }
@keyframes pvRing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pv-gold) 60%, transparent); } 100% { box-shadow: 0 0 0 22px transparent; } }
@keyframes pvPop { 0% { transform: scale(.3); opacity: 0; } 65% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } }
@keyframes pvGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pv-deco { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pv-deco .b1, .pv-deco .b2 { position: absolute; border-radius: 50%; filter: blur(60px); animation: pvBlob 14s ease-in-out infinite alternate; }
.pv-deco .b1 { width: 46vmax; height: 46vmax; left: -14vmax; top: -12vmax; background: color-mix(in srgb, var(--pv, #0F4554) 20%, transparent); }
.pv-deco .b2 { width: 38vmax; height: 38vmax; right: -12vmax; bottom: -10vmax; background: color-mix(in srgb, var(--pv-gold, #C99A3C) 40%, transparent); animation-duration: 18s; animation-delay: -6s; }
.pv-deco span { position: absolute; bottom: -40px; left: var(--x, 10%); font-family: var(--serif, Georgia, serif); font-size: var(--s, 30px); color: var(--pv-gold, #C99A3C); opacity: 0; animation: pvNote var(--t, 16s) linear infinite; animation-delay: var(--w, 0s); }
.portal > *:not(.pv-deco) { animation: pvIn .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.portal > *:nth-child(2) { animation-delay: .05s; } .portal > *:nth-child(3) { animation-delay: .12s; } .portal > *:nth-child(4) { animation-delay: .19s; } .portal > *:nth-child(5) { animation-delay: .26s; } .portal > *:nth-child(6) { animation-delay: .33s; } .portal > *:nth-child(7) { animation-delay: .4s; } .portal > *:nth-child(n+8) { animation-delay: .47s; }
.pv-brand img { animation: pvBob 5s ease-in-out infinite; transition: transform .4s cubic-bezier(.3, 1.5, .5, 1); } .pv-brand:hover img { transform: rotate(-10deg) scale(1.12); }
.pv-hero h1, .pv-h1 { position: relative; padding-bottom: 12px; }
.pv-hero h1::after, .pv-h1::after { content: ''; position: absolute; left: 0; bottom: 0; width: 72px; height: 5px; border-radius: 3px; background: var(--pv-gold); transform-origin: left; animation: pvGrow .9s .5s cubic-bezier(.2, .7, .2, 1) backwards; }
.pv-card { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.pv-card:hover, .pv-card:focus-within { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(10, 60, 60, .16); border-color: color-mix(in srgb, var(--pv) 40%, var(--line)); }
.pv-card .pv-go, .pv-last .pv-go { transition: transform .25s; } .pv-card:hover .pv-go { transform: translateX(4px); }
.pv-card .pv-logo { transition: transform .4s cubic-bezier(.3, 1.5, .5, 1); } .pv-card:hover .pv-logo { transform: scale(1.1) rotate(-4deg); }
.pv-new { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; } .pv-new:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(201, 154, 60, .25); }
.pv-plus { animation: pvRing 2.4s ease-out infinite; transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); } .pv-new:hover .pv-plus { transform: rotate(90deg) scale(1.1); }
.pv-field { transition: border-color .25s, box-shadow .25s, transform .25s; } .pv-field:focus-within { box-shadow: 0 0 0 5px color-mix(in srgb, var(--pv) 18%, transparent); transform: translateY(-1px); }
.pv-field svg { transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); } .pv-field:focus-within svg { transform: scale(1.2) rotate(-6deg); }
.pv-submit { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, opacity .2s; }
.pv-submit::after { content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: pvSweep 3.8s ease-in-out infinite; }
.pv-submit:disabled::after { display: none; }
.pv-submit:not(:disabled):hover { transform: translateY(-3px); box-shadow: 0 18px 32px rgba(10, 60, 60, .3); } .pv-submit:not(:disabled):active { transform: translateY(0); }
.pv-submit span { display: inline-block; transition: transform .25s; } .pv-submit:not(:disabled):hover span { transform: translateX(6px); }
.pv-orghead .pv-logo { animation: pvRing 3s ease-out infinite, pvBob 6s ease-in-out infinite; }
.pv-dot { animation: pvPulse 1.8s ease-out infinite; }
.pv-secure { transition: transform .3s; } .pv-secure:hover { transform: translateY(-2px); }
.nw-main { animation: pvIn .55s cubic-bezier(.2, .7, .2, 1) backwards; }
.nw-steps li { transition: border-color .4s, color .3s; } .nw-steps li.on { animation: pvGrow .5s backwards; transform-origin: left; }
.nw-check { animation: pvPop .7s cubic-bezier(.3, 1.4, .5, 1) backwards, pvRing 1.8s .6s ease-out 2; }
.nw-types > *, .nw-colors > * { transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s; } .nw-types > *:hover, .nw-colors > *:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .pv-deco { display: none; } .portal > * { animation: none !important; } }
.pv-top { flex-wrap: wrap; gap: 6px 12px; } .pv-top > .row { flex: 1 1 100%; justify-content: space-between; } .pv-top .lang-pick { flex-wrap: nowrap; }
.portal > *:not(.pv-deco) { position: relative; z-index: 1; }

/* alpha.131 — platformbeheer: foto's, logo, icoontjes */
.pfx-hero { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 8px 0 14px; padding: 18px 18px 20px; border-radius: 22px; color: #fff; background: linear-gradient(100deg, rgba(8, 40, 50, .92) 0%, rgba(15, 69, 84, .78) 55%, rgba(15, 69, 84, .35) 100%), var(--pfx-img, none) center / cover, var(--brand); box-shadow: var(--shadow); overflow: hidden; min-height: 150px; }
.pfx-hero-in { position: relative; z-index: 1; max-width: 560px; } .pfx-hero .page-title { color: #fff; margin: 6px 0 2px; } .pfx-hero p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 15px; } .pfx-logo { display: block; width: 130px; height: auto; }
.pfx-out { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); color: #fff; border-radius: 999px; padding: 8px 14px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pfx-out:hover { background: rgba(255, 255, 255, .22); }
.pfx-h-ov { --pfx-img: url('/assets/ph/koor-tablets.webp'); } .pfx-h-org { --pfx-img: url('/assets/ph/orkest.webp'); } .pfx-h-feat, .pfx-h-bh { --pfx-img: url('/assets/ph/dirigent.webp'); } .pfx-h-types, .pfx-h-acc { --pfx-img: url('/assets/ph/mappen.webp'); } .pfx-h-pak { --pfx-img: url('/assets/ph/tablet-groep.webp'); } .pfx-h-aan, .pfx-h-new { --pfx-img: url('/assets/ph/band-bus.webp'); }
.pfx-tabs .btn { white-space: nowrap; }
.pfx-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 12px; background: var(--surface-2); color: var(--brand-2); flex: none; } .pfx-ic-paid { background: #FBEBCB; color: #9A6200; } .pfx-ic-free { background: var(--ok-soft); color: var(--ok); }
:root[data-theme="dark"] .pfx-ic-paid { background: var(--warn-soft); color: var(--gold); }
.pf-tile .pfx-ic { margin-bottom: 6px; }
.pfx-card { overflow: hidden; } .pfx-strip { height: 78px; margin: -16px -16px 12px; background: var(--surface-2) center / cover; } .pfx-s-mappen { background-image: linear-gradient(180deg, rgba(15, 69, 84, 0) 30%, rgba(15, 69, 84, .35)), url('/assets/ph/mappen.webp'); } .pfx-s-tablet { background-image: linear-gradient(180deg, rgba(15, 69, 84, 0) 30%, rgba(15, 69, 84, .35)), url('/assets/ph/tablet-groep.webp'); background-position: center 35%; }
.pfx-av { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .02em; flex: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
@media (max-width: 520px) { .pfx-hero { padding: 14px; min-height: 130px; } .pfx-hero p { font-size: 14px; } .pfx-logo { width: 110px; } }
@media (prefers-reduced-motion: no-preference) { .pfx-hero { animation: pvIn .6s ease backwards; } }
@media (min-width: 900px) { .pfx-strip { margin: -18px -20px 12px; } }
.pfx-brand { display: flex; align-items: center; gap: 10px; } .pfx-brand b { letter-spacing: .12em; font-size: 15px; }
.pfx-mark { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 13px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); } .pfx-mark img { display: block; }
.pfx-hero .page-title { overflow-wrap: normal; word-break: normal; font-size: clamp(24px, 6.5vw, 32px); } .pfx-hero-in { flex: 1 1 auto; }
@media (max-width: 520px) { .pfx-out-t { display: none; } .pfx-out { padding: 9px 10px; } }
.pf-grid > .card { margin-top: 0 !important; }

/* alpha.132 — inlogpagina's met foto */
.pv-banner { position: relative; height: 128px; margin: 6px 0 18px; border-radius: 22px; overflow: hidden; background: var(--pv, #0F4554); box-shadow: 0 8px 24px rgba(15, 69, 84, .22); isolation: isolate; }
.pv-banner::before { content: ''; position: absolute; inset: 0; background: var(--ph) center 30% / cover; animation: pvKen 26s ease-in-out infinite alternate; z-index: -2; }
.pv-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--pv, #0F4554) 10%, transparent) 20%, color-mix(in srgb, var(--pv, #0F4554) 62%, transparent)), radial-gradient(90% 120% at 0 100%, color-mix(in srgb, var(--pv-gold, #C99A3C) 35%, transparent), transparent 60%); }
@keyframes pvKen { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .pv-banner::before { animation: none; } }
@media (min-width: 900px) {
  html:has(.portal) { background: linear-gradient(rgba(6, 30, 38, .74), rgba(6, 30, 38, .5)), url('/assets/ph/koor-tablets.webp') center / cover fixed; } body:has(.portal) { background: transparent; }
  .portal { min-height: auto; margin: 36px auto; max-width: 600px; background-color: var(--bg); border-radius: 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; padding: 26px 34px 40px; }
  .pv-banner { height: 168px; margin-top: 10px; }
}
.login-org .pv-banner + .pv-orghead { margin-top: -62px; position: relative; z-index: 2; } .login-org .pv-banner + .pv-orghead b { text-shadow: none; }
/* alpha.133 — wizard: lagere fotobanner per stap */
.pv-banner.s { height: 96px; margin: 2px 0 14px; } @media (min-width: 900px) { .pv-banner.s { height: 130px; } }
.nw-lock { display: flex; gap: 14px; align-items: center; padding: 16px; margin-top: 8px; border-radius: 18px; background: color-mix(in srgb, var(--pv-gold, #C99A3C) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--pv-gold, #C99A3C) 40%, transparent); } .nw-lock p { margin: 4px 0 0; color: var(--ink-2); } .nw-lock b { display: flex; align-items: center; gap: 6px; }

/* alpha.135: taalkeuze als uitklapmenu met vlaggetjes */
.lang-dd { position: relative; display: inline-block; }
.lang-dd-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 5px 12px 5px 7px; border-radius: 999px; border: 1px solid var(--line, rgba(0, 0, 0, .18)); background: var(--surface, #fff); color: var(--ink, inherit); font: inherit; font-size: .85rem; cursor: pointer; }
.lang-dd-btn i { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.lang-dd-btn:focus-visible, .lang-dd-menu button:focus-visible { outline: 3px solid var(--vivid-2, #22d3ee); outline-offset: 2px; }
.lang-dd-fl { display: inline-grid; width: 26px; height: 26px; flex: none; }
.lang-dd-fl svg { display: block; width: 100%; height: 100%; }
.lang-dd-fl .lang-code { font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.lang-dd-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 80; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: var(--surface, #fff); color: var(--ink, #10303a); border: 1px solid var(--line, rgba(0, 0, 0, .12)); border-radius: 14px; box-shadow: 0 14px 34px rgba(7, 36, 46, .3); }
.lang-dd-menu button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 9px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lang-dd-menu button:hover, .lang-dd-menu button.on { background: rgba(14, 116, 144, .12); }
.lang-dd-menu button.on { font-weight: 700; }
.lang-dd.dark .lang-dd-btn { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .45); }
.pfx-hero-tools { position: relative; z-index: 5; display: flex; gap: 8px; align-items: center; flex: none; }
.pfx-hero-tools .pfx-out { position: static; }
.pfx-hero { overflow: visible; }
.lang-dd-menu { right: auto; left: 0; }
.lang-row .lang-dd-menu, .pfx-hero-tools .lang-dd-menu { left: auto; right: 0; }
.pv-top, .lang-row { position: relative; z-index: 30; }
.portal > .pv-top, .portal > .lang-row { z-index: 70; }
.pfx-hero { z-index: 20; }
.lang-dd-btn { border-width: 2px; border-color: var(--ink-3, #5b7a80); font-weight: 700; }
.lang-dd-btn b { color: var(--ink, inherit); }
.pv-brand img { background: #fff; border-radius: 13px; padding: 5px; box-sizing: content-box; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.lang-dd.dark .lang-dd-btn b { color: #fff; } .lang-dd.dark .lang-dd-btn { border-color: rgba(255, 255, 255, .6); }

/* alpha.136: overal hetzelfde lettertype (Inter); formaten blijven gelijk */
:root { --serif: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; }
button, input, select, textarea { font-family: inherit; }
.pv-deco span { font-family: var(--font); }

.nw-lock-ico { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); }
