:root {
  --bg: #f3f5fb; --card: #fff; --text: #172033; --muted: #667085; --line: #e4e7ef;
  --primary: #4f46e5; --primary-text: #fff; --danger: #d92d20; --success: #12b76a; --mine: #eef2ff; --ring: #e0e7ff;
  --head1: #4338ca; --head2: #7c3aed;
  --s-received: #475467; --s-received-bg: #f2f4f7; --s-submitted: #b54708; --s-submitted-bg: #fef0c7;
  --s-approved: #175cd3; --s-approved-bg: #d1e9ff; --s-prepared: #6941c6; --s-prepared-bg: #ebe9fe;
  --s-paid: #067647; --s-paid-bg: #d1fadf; --s-rejected: #b42318; --s-rejected-bg: #fee4e2;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1220; --card: #181c2e; --text: #e8eaf4; --muted: #98a2b3; --line: #2a3048; --primary: #818cf8; --mine: #232a4a; --ring: #2e3470;
    --head1: #312e81; --head2: #4c1d95;
    --s-received-bg: #2a3048; --s-received: #cfd4e0; --s-submitted-bg: #4a3410; --s-submitted: #fdb022; --s-approved-bg: #102a56; --s-approved: #84caff;
    --s-prepared-bg: #2e1f5e; --s-prepared: #bdb4fe; --s-paid-bg: #053321; --s-paid: #47cd89; --s-rejected-bg: #55160c; --s-rejected: #fda29b; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--primary); }
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: .75rem 1rem; background: var(--card); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; text-decoration: none; color: var(--text); }
.org { color: var(--muted); }
.topbar nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.topbar nav a { text-decoration: none; }
.menu { position: relative; }
.menu summary { cursor: pointer; color: var(--primary); list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " ▾"; font-size: .8em; }
.menu[open] summary::after { content: " ▴"; }
.menu-items { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 10; display: flex; flex-direction: column; min-width: 12rem; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.12); padding: .35rem 0; }
.menu-items a { padding: .45rem .9rem; white-space: nowrap; }
.menu-items a:hover { background: var(--line); }
.langs a.active { font-weight: 700; }
main { padding: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; max-width: 760px; margin: 0 auto 1rem; }
.card.narrow { max-width: 420px; }
.card.wide { max-width: 1200px; }
h1 { font-size: 1.4rem; margin: 0 0 1rem; }
h2 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
label { display: block; margin: 0 0 .9rem; font-weight: 600; }
label.check { display: inline-flex; gap: .35rem; font-weight: 400; margin-right: .8rem; }
input:not([type=checkbox]), textarea, select { display: block; width: 100%; margin-top: .25rem; padding: .55rem .65rem; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 1rem; padding: .75rem 1rem 0; }
button, .button { display: inline-block; padding: .55rem 1rem; font: inherit; border-radius: 6px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; text-decoration: none; }
button.primary, .button.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
button.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
button.link { border: 0; background: none; color: var(--primary); padding: 0; }
form.inline { display: inline; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.error { color: var(--danger); font-weight: 400; }
.success { color: var(--success); }
.muted { color: var(--muted); }
.small { font-size: .85rem; font-weight: 400; }
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1rem; }
.tabs a { padding: .3rem .7rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); font-size: .9rem; }
.tabs a.active { background: var(--primary); color: var(--primary-text); border-color: var(--primary); }
table.list { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.list th, table.list td { text-align: left; padding: .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list .num { text-align: right; white-space: nowrap; }
tr.mine { background: var(--mine); }
.badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .8rem; border: 1px solid currentColor; white-space: nowrap; }
.status-paid { color: var(--success); }
.status-rejected { color: var(--danger); }
.status-submitted, .status-approved, .status-payment_prepared { color: var(--primary); }
.steps { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; counter-reset: s; }
.steps li { counter-increment: s; padding: .25rem .6rem; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.steps li::before { content: counter(s) ". "; }
.steps li.done { color: var(--success); border-color: var(--success); }
.steps li.current { color: var(--primary-text); background: var(--primary); border-color: var(--primary); }
dl.details { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; }
dl.details dt { color: var(--muted); }
dl.details dd { margin: 0; white-space: pre-wrap; }
.task { border: 1px solid var(--primary); border-radius: 8px; padding: .75rem 1rem; margin: 0 0 1rem; }
.task p { margin: 0 0 .5rem; }
.task .task-hint { margin: .5rem 0 0; font-size: .9rem; }
.reject { margin-top: 1.5rem; }
.reject summary { cursor: pointer; color: var(--danger); }
ul.files, ul.history { padding-left: 1.2rem; }
form.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1rem; align-items: end; }
.nav-toggle, .nav-button { display: none; }
@media (max-width: 640px) {
  /* Kopbalk: hamburgermenu in plaats van drie regels links */
  .topbar { gap: .25rem .75rem; padding: .6rem 1rem; }
  .org { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
  .nav-button { display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 6px; color: var(--primary); cursor: pointer; user-select: none; }
  .burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; } .burger::after { top: 6px; }
  .topbar nav.mainnav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: .4rem 0 0; border-top: 1px solid var(--line); }
  .nav-toggle:checked ~ nav.mainnav { display: flex; }
  .nav-toggle:focus-visible + .nav-button { outline: 2px solid var(--primary); outline-offset: 2px; }
  nav.mainnav > a, nav.mainnav .menu summary, nav.mainnav form button.link { display: block; width: 100%; text-align: left; padding: .7rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  nav.mainnav form.inline { display: block; }
  nav.mainnav .menu-items { position: static; min-width: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 0 1rem; background: none; }
  nav.mainnav .menu-items a { padding: .65rem .25rem; border-bottom: 1px solid var(--line); }

  main { padding: .75rem .5rem; }
  .card { padding: 1rem; border-radius: 8px; }
  h1 { font-size: 1.25rem; }

  /* Filtertabs: één regel om horizontaal te vegen */
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -1rem; margin-right: -1rem; padding: 0 1rem .2rem; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { flex: none; white-space: nowrap; }

  /* Tabellen als kaartjes, met kolomnaam voor elke waarde */
  table.list thead { display: none; }
  table.list tr { display: block; border-bottom: 1px solid var(--line); padding: .6rem 0; }
  table.list td { display: block; border: 0; padding: .1rem 0; overflow-wrap: anywhere; }
  table.list td[data-label] { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; }
  table.list td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: .85rem; }
  table.list td:empty { display: none; }
  table.list .num { text-align: left; }
  table.list td .button { margin-top: .4rem; }

  /* Declaratielijst: referentie en bedrag bovenaan, omschrijving, dan indiener en datum */
  table.claims tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "ref amount" "desc desc" "sub sub" "date status"; gap: .15rem .75rem; padding: .7rem .5rem; margin: 0 -.5rem; }
  table.claims td { padding: 0; }
  table.claims .c-ref { grid-area: ref; font-weight: 600; }
  table.claims .c-amount { grid-area: amount; text-align: right; font-weight: 600; }
  table.claims .c-desc { grid-area: desc; }
  table.claims .c-sub { grid-area: sub; color: var(--muted); font-size: .9rem; }
  table.claims .c-date { grid-area: date; color: var(--muted); font-size: .85rem; align-self: center; }
  table.claims .c-status { grid-area: status; text-align: right; }

  /* Gegevens onder elkaar in plaats van twee smalle kolommen */
  dl.details { grid-template-columns: 1fr; gap: 0; }
  dl.details dt { font-size: .85rem; margin-top: .6rem; }
  dl.details dd { overflow-wrap: anywhere; }

  /* Kleinere voorbeelden, zodat het formulier niet ver weg staat */
  .attachment iframe.preview { height: 50vh; min-height: 280px; }
  .attachment img.preview { max-height: 50vh; }
  form > button.primary { width: 100%; padding: .7rem 1rem; }
  form.search input { max-width: none; flex: 1; }
  .row h1 { margin-bottom: .25rem; }
  .actions button, .actions .button, .task button { width: 100%; }
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.attachment { margin: 0 0 1rem; }
.attachment .thumb-row { display: flex; align-items: center; gap: .75rem; padding: .4rem; border: 1px solid var(--line); border-radius: 8px; }
.attachment summary.thumb-row { cursor: pointer; list-style: none; }
.attachment summary.thumb-row::-webkit-details-marker { display: none; }
.attachment summary.thumb-row:hover { border-color: var(--primary); }
.attachment .thumb { flex: none; width: 64px; height: 64px; border-radius: 6px; border: 1px solid var(--line); background: #fff; object-fit: cover; }
.attachment .thumb.file { display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: var(--danger); background: var(--bg); }
.attachment .thumb-text { display: flex; flex-direction: column; min-width: 0; }
.attachment .thumb-name { overflow-wrap: anywhere; }
.attachment .thumb-hint { font-size: .85rem; color: var(--primary); }
.attachment .thumb-hint.muted { color: var(--muted); }
.attachment .thumb-hint.hide, .attachment details[open] .thumb-hint.show { display: none; }
.attachment details[open] .thumb-hint.hide { display: inline; }
.attachment details[open] summary.thumb-row { border-color: var(--primary); margin-bottom: .5rem; }
.attachment .preview { display: block; width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.attachment img.preview { width: auto; max-width: 100%; max-height: 80vh; object-fit: contain; }
.attachment iframe.preview { height: 80vh; min-height: 420px; }
.attachment figcaption { margin-top: .35rem; font-size: .9rem; }
.help h2 { scroll-margin-top: 1rem; }
.help .toc { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.help .toc a { display: inline-block; padding: .25rem .7rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.help .toc a.mine { background: var(--primary); color: var(--primary-text); border-color: var(--primary); }
.help li { margin-bottom: .3rem; }
.help-link { font-size: .9rem; }
.faq dt { font-weight: 600; margin-top: .75rem; }
.faq dd { margin: .15rem 0 0; }
pre.log { max-height: 24rem; overflow: auto; padding: .75rem; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; font-size: .8rem; white-space: pre-wrap; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
form.search { display: flex; gap: .5rem; align-items: center; margin: 0 0 1rem; }
form.search input { margin-top: 0; max-width: 320px; }
.pager { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
.error-text { color: var(--danger); }

/* ---------- Vormgeving: kleuren, zijbalk, statuslabels en stappenbalk ---------- */
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.topbar { background: linear-gradient(110deg, var(--head1), var(--head2)); border: 0; color: #fff; padding: .9rem 1.5rem; box-shadow: 0 2px 12px rgba(67,56,202,.25); }
.brand { color: #fff; font-size: 1.15rem; letter-spacing: -.01em; }
.brand::before { content: "€"; display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; margin-right: .55rem; border-radius: 8px; background: rgba(255,255,255,.2); font-weight: 800; }
.org { color: rgba(255,255,255,.75); }
.topbar nav a, .topbar .menu summary, .topbar button.link { color: rgba(255,255,255,.9); }
.topbar nav > a, .topbar .menu summary { padding: .3rem .65rem; border-radius: 8px; }
.topbar nav > a:hover, .topbar .menu summary:hover { background: rgba(255,255,255,.16); color: #fff; }
.topbar .menu-items { border: 0; box-shadow: 0 12px 32px rgba(16,24,40,.18); border-radius: 12px; }
.topbar .menu-items a { color: var(--text); }
.langs a.active { color: #fff; }
main { padding: 1.75rem 1rem; }
.card { border: 0; border-radius: 16px; padding: 1.75rem; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.06); }
h1 { font-size: 1.6rem; letter-spacing: -.02em; }
h2 { font-size: 1.05rem; margin-top: 2rem; }
button, .button { border-radius: 10px; font-weight: 600; }
button.primary, .button.primary { background: linear-gradient(110deg, var(--head1), var(--head2)); border: 0; box-shadow: 0 4px 12px rgba(79,70,229,.3); }
input:not([type=checkbox]), textarea, select { border-radius: 10px; background: var(--card); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring); }
.tabs a { border: 0; background: var(--bg); color: var(--muted); font-weight: 500; }
.tabs a.active { background: var(--primary); color: #fff; }
table.list th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
table.list .c-ref a { font-weight: 600; text-decoration: none; }
table.list .c-amount { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 641px) { tr.mine td:first-child { box-shadow: inset 3px 0 0 var(--primary); } }
.task { border: 0; background: var(--mine); border-radius: 12px; padding: 1rem 1.25rem; }
dl.details { background: var(--bg); border-radius: 12px; padding: 1rem 1.25rem; }
.attachment .thumb-row { border-radius: 12px; }
ul.history { list-style: none; padding: 0; border-left: 2px solid var(--line); margin-left: .4rem; }
ul.history li { position: relative; padding: 0 0 .6rem 1.1rem; }
ul.history li::before { content: ""; position: absolute; left: -6px; top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
ul.history li .muted { display: block; font-size: .8rem; }
@media (max-width: 640px) {
  .topbar { padding: .7rem 1rem; }
  .nav-button { color: #fff; border-color: rgba(255,255,255,.35); }
  .topbar nav.mainnav { border-top-color: rgba(255,255,255,.2); }
  nav.mainnav > a, nav.mainnav .menu summary, nav.mainnav form button.link, nav.mainnav .menu-items a { border-bottom-color: rgba(255,255,255,.15); color: #fff; }
  .topbar nav > a, .topbar .menu summary { border-radius: 0; }
  main { padding: 1rem .6rem; }
  .card { padding: 1.1rem; border-radius: 14px; }
  table.claims tr { border-radius: 12px; }
  dl.details { padding: .25rem 1rem .9rem; }
}
/* Voortgang als stappenbalk met bolletjes */
.steps { flex-wrap: nowrap; gap: 0; margin: .5rem 0 1.5rem; }
.steps li { flex: 1; position: relative; border: 0; border-radius: 0; background: none; text-align: center; padding: 2.1rem .2rem 0; font-size: .8rem; line-height: 1.25; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: var(--card); border: 2px solid var(--line); color: var(--muted); }
.steps li::after { content: ""; position: absolute; top: .82rem; right: 50%; width: 100%; height: 3px; background: var(--line); }
.steps li:first-child::after { display: none; }
.steps li.done { color: var(--text); border: 0; }
.steps li.done::before { content: "✓"; background: var(--success); border-color: var(--success); color: #fff; }
.steps li.done::after, .steps li.current::after { background: var(--success); }
.steps li.current { color: var(--primary); background: none; font-weight: 700; border: 0; }
.steps li.current::before { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 4px var(--ring); }
/* Statuslabels als gekleurde pillen */
.badge { border: 0; padding: .2rem .7rem; font-weight: 600; font-size: .78rem; }
.status-received { color: var(--s-received); background: var(--s-received-bg); }
.status-submitted { color: var(--s-submitted); background: var(--s-submitted-bg); }
.status-approved { color: var(--s-approved); background: var(--s-approved-bg); }
.status-payment_prepared { color: var(--s-prepared); background: var(--s-prepared-bg); }
.status-paid { color: var(--s-paid); background: var(--s-paid-bg); }
.status-rejected { color: var(--s-rejected); background: var(--s-rejected-bg); }

button.link { font-weight: inherit; }
table.list .c-ref { white-space: nowrap; }

@media (min-width: 641px) {
  table.list td { padding: .8rem .5rem; }
  table.list tbody tr:hover { background: var(--bg); }
}
@media (max-width: 640px) { table.claims tr { grid-template-columns: minmax(0,1fr) auto; } table.claims .badge { white-space: normal; } }
@media (min-width: 641px) {
  /* Vaste zijbalk links */
  body.has-sidebar { padding-left: 248px; }
  .has-sidebar .topbar { position: fixed; inset: 0 auto 0 0; width: 248px; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: .25rem; padding: 1.5rem 1rem; overflow-y: auto; background: linear-gradient(180deg, var(--head1), var(--head2)); box-shadow: 2px 0 16px rgba(67,56,202,.2); }
  .has-sidebar .brand { display: flex; align-items: center; }
  .has-sidebar .org { margin: .2rem 0 1.75rem; padding-left: 2.35rem; font-size: .85rem; }
  .has-sidebar .topbar nav { margin: 0; flex-direction: column; align-items: stretch; gap: .15rem; flex: 1; }
  .has-sidebar .topbar nav > a, .has-sidebar .topbar .menu summary, .has-sidebar .topbar form button.link { display: block; padding: .55rem .8rem; border-radius: 10px; width: 100%; text-align: left; color: rgba(255,255,255,.9); }
  .has-sidebar .topbar nav > a:hover, .has-sidebar .topbar .menu summary:hover, .has-sidebar .topbar form button.link:hover { background: rgba(255,255,255,.16); color: #fff; }
  .has-sidebar .topbar nav > a[href="/help"] { margin-top: auto; }
  .has-sidebar .topbar form.inline { display: block; }
  .has-sidebar .topbar .menu-items { position: static; background: none; border: 0; box-shadow: none; padding: 0 0 .25rem .9rem; min-width: 0; }
  .has-sidebar .topbar .menu-items a { color: rgba(255,255,255,.85); padding: .4rem .8rem; border-radius: 10px; font-size: .95rem; }
  .has-sidebar .topbar .menu-items a:hover { background: rgba(255,255,255,.16); color: #fff; }
  .has-sidebar main { padding: 2rem; }
}
.topbar nav a .count { display: inline-block; min-width: 1.4rem; padding: 0 .4rem; margin-left: .3rem; border-radius: 999px; background: #fff; color: var(--head1); font-size: .75rem; font-weight: 700; text-align: center; line-height: 1.4rem; }
.has-sidebar .topbar nav > a.active { background: rgba(255,255,255,.22); color: #fff; font-weight: 600; }
@media (min-width: 641px) {
  /* Op desktop staat 'Nieuwe declaratie' al in de zijbalk */
  .has-sidebar .page-new { display: none; }
  .has-sidebar .topbar nav > a .count { float: right; }
}

/* Interne opmerkingen: alleen voor het bestuur, duidelijk anders gekleurd. */
.internal { margin-top: 1.5rem; padding: 1rem 1.25rem; border: 1px dashed var(--s-prepared, var(--primary)); border-radius: 12px; background: var(--mine); }
.internal h2 { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.badge-internal { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; color: var(--s-rejected); background: var(--s-rejected-bg); }
ul.comments { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.comments li { padding: .5rem 0; border-bottom: 1px solid var(--line); white-space: pre-line; }
ul.comments li .muted { display: block; font-size: .8rem; white-space: normal; }
.admin-tools { margin: 0 0 1rem; }
table.list .comment-flag { display: inline-flex; align-items: center; gap: .15rem; margin-left: .35rem; vertical-align: middle; color: var(--muted); font-size: .75rem; font-weight: 600; text-decoration: none; }
table.list .comment-flag:hover { color: var(--primary); }
.option { margin-bottom: .9rem; }
.option label.check { margin-bottom: 0; }
.option p { margin: .15rem 0 0 1.6rem; }
.option label.inline-number { display: flex; align-items: center; gap: .5rem; margin: .35rem 0 0 1.6rem; font-weight: normal; }
.option label.inline-number input { width: 5.5rem; margin: 0; }
fieldset legend { font-weight: 600; padding: 0 .3rem; }

/* Tweestapsverificatie: QR-code altijd op wit, anders scant de app hem niet in donkere modus. */
img.qr { background: #fff; padding: .4rem; border-radius: 6px; border: 1px solid var(--line); max-width: 100%; height: auto; }
code.secret { font-size: 1.05rem; letter-spacing: .05em; word-break: break-all; }
ul.recovery-codes { columns: 2; list-style: none; padding: 0; font-size: 1.1rem; }
ul.recovery-codes li { padding: .2rem 0; }

/* Meekijken als een andere gebruiker: alleen-lezen */
.view-as-banner { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .75rem 1rem; background: var(--s-submitted-bg); color: var(--s-submitted); border-bottom: 2px solid var(--s-submitted); }
.view-as-banner p { margin: 0; }
.view-as-banner form { margin-left: auto; }
.viewing-as main form[method="post"] :is(button, input, textarea, select) { opacity: .5; pointer-events: none; }
.actions-inline { display: inline-flex; flex-wrap: wrap; gap: .4rem; }

/* Eenvoudige weergave: grote letters, alleen eigen taken */
.simple-view { font-size: 18px; }
.simple-view main .card { max-width: 720px; }
.simple .lead { font-size: 1.15rem; }
.task-cards { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.task-card { display: grid; gap: .3rem; padding: 1.1rem 1.25rem; border: 2px solid var(--primary); border-radius: 14px; background: var(--mine); color: var(--text); text-decoration: none; }
.task-card:hover { box-shadow: 0 4px 16px rgba(67,56,202,.18); }
.tc-amount { font-size: 1.6rem; font-weight: 700; }
.tc-what { font-size: 1.15rem; }
.tc-who { color: var(--muted); font-size: .95rem; }
.tc-go { margin-top: .5rem; justify-self: start; font-size: 1.1rem; padding: .75rem 1.4rem; }
.nothing { font-size: 1.25rem; padding: 1.5rem 0; }
.done-banner { background: var(--s-paid-bg); color: var(--s-paid); border-radius: 10px; padding: .8rem 1rem; font-weight: 600; }
.simple-view .task button.primary { font-size: 1.2rem; padding: .9rem 1.6rem; }
@media (max-width: 760px) { .tc-go { justify-self: stretch; text-align: center; } }

/* Uitroepteken bij Instellingen en Updates als er een nieuwe versie is (alleen beheerders). */
.alert-dot { display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; margin-left: .3rem; border-radius: 50%; background: var(--danger); color: #fff; font-size: .72rem; font-weight: 800; line-height: 1; vertical-align: middle; }
