@font-face { font-family: Poppins; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/poppins-latin-700-normal.woff2') format('woff2'); }
/* Merkkleuren: pas deze variabelen aan op de SiteNest-huisstijl. */
:root {
  --brand: #1e3a5f;
  --brand-dark: #1e3a5f;
  --brand-hover: #152b47;
  --accent: #4caf50;
  --ink: #1d2433;
  --muted: #667085;
  --line: #e4e7ec;
  --bg: #f6f7f9;
  --card: #ffffff;
  --ok: #067647;
  --ok-bg: #ecfdf3;
  --err: #b42318;
  --err-bg: #fef3f2;
  --warn: #b54708;
  --warn-bg: #fffaeb;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 Poppins, system-ui, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.5rem; margin: 0; font-weight: 600; }
h1 small { color: var(--muted); font-weight: 400; font-size: 1rem; }
h2 { font-size: 1.1rem; margin: 1.5rem 0 .6rem; font-weight: 600; }
code { background: #eef1f5; padding: .1em .35em; border-radius: 4px; font-size: .9em; }

.top { display: flex; align-items: center; gap: 1.5rem; padding: .35rem 1.5rem; border-bottom: 3px solid var(--accent); background: var(--brand-dark); color: #fff; flex-wrap: wrap; }
.top a { color: #fff; }
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; display: block; }
.auth-logo { display: block; margin: 0 auto 1rem; height: 96px; width: auto; }
.invoice-logo { height: 84px; width: auto; display: block; margin: -1.2rem 0 -.2rem -2.2rem; }
.top nav { display: flex; gap: .25rem; flex: 1; flex-wrap: wrap; }
.top nav.sys { flex: 0 0 auto; }
.top nav.sys a { font-size: .9rem; }
.top nav a { padding: .35rem .7rem; border-radius: 6px; opacity: .85; }
.top nav a:hover, .top nav a.active { background: rgba(255,255,255,.16); opacity: 1; text-decoration: none; }
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; padding: .35rem .7rem; border-radius: 6px; opacity: .85; user-select: none; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ""; display: inline-block; margin-left: .45rem; vertical-align: .15em; border: .3em solid transparent; border-top-color: currentColor; border-bottom-width: 0; }
.dd summary:hover, .dd[open] summary, .dd.active summary { background: rgba(255,255,255,.16); opacity: 1; }
.dd-menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; min-width: 12rem; background: #fff; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.2); padding: .3rem; display: flex; flex-direction: column; }
.top nav.sys .dd-menu { left: auto; right: 0; }
.top .dd-menu a { color: var(--ink); opacity: 1; padding: .45rem .7rem; font-size: .95rem; }
.top .dd-menu a:hover { background: #eef1f5; }
.top .dd-menu a.active { background: #e3ebf5; font-weight: 600; }
.topmenu { display: flex; align-items: center; gap: 1.5rem; flex: 1; }
.nav-toggle { display: none; }
.dd-menu form { margin: 0; }
.top .dd-menu button.link { display: block; width: 100%; text-align: left; padding: .45rem .7rem; font-size: .95rem; color: var(--ink); opacity: 1; border-radius: 6px; }
.top .dd-menu button.link:hover { background: #eef1f5; text-decoration: none; }

/* Mobiel: logo + hamburgerknop; het menu klapt open als lijst over de volle breedte */
@media (max-width: 999px) {
  .top { gap: .25rem 1rem; padding: .35rem 1rem; }
  .brand { margin-right: auto; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .15s, opacity .15s; }
  .top.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .top.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .top.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topmenu { display: none; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: .25rem; padding-bottom: .5rem; }
  .top.open .topmenu { display: flex; }
  .top nav, .top nav.sys { flex: none; flex-direction: column; flex-wrap: nowrap; gap: .1rem; }
  .top nav.sys { border-top: 1px solid rgba(255,255,255,.18); padding-top: .4rem; }
  .top nav a, .top nav.sys a, .dd summary { padding: .7rem .8rem; font-size: 1rem; }
  .dd-menu { position: static; min-width: 0; margin: .1rem 0 .4rem .8rem; background: rgba(255,255,255,.08); box-shadow: none; }
  .top .dd-menu a, .top .dd-menu button.link { color: #fff; padding: .65rem .8rem; }
  .top .dd-menu a:hover, .top .dd-menu button.link:hover { background: rgba(255,255,255,.16); }
  .top .dd-menu a.active { background: rgba(255,255,255,.16); }
}
.codes { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .4rem; padding: 0; margin: .5rem 0 0; }
.codes code { background: #fff; display: block; padding: .3rem .5rem; text-align: center; user-select: all; }
.sessions { margin-top: 1rem; }

main { max-width: 1200px; margin: 0 auto; padding: 1.5rem; }
.narrow { max-width: 460px; margin: 1.5rem auto 3rem; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.actions form { margin: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
section { margin-bottom: 1rem; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1rem; align-items: start; }

.btn, button.btn { display: inline-block; padding: .5rem 1rem; border: 1px solid var(--brand); background: var(--brand); color: #fff; border-radius: 8px; font: inherit; cursor: pointer; }
.btn:hover { background: var(--brand-hover); text-decoration: none; }
.btn-secondary, button.btn-secondary { background: #fff; color: var(--brand); }
.btn-secondary:hover, button.btn-secondary:hover { background: #eef6f9; }
.btn-danger, button.btn-danger { background: #fff; color: var(--err); border-color: var(--err); }
.btn-danger:hover, button.btn-danger:hover { background: var(--err-bg); }
button.link { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; cursor: pointer; }
.top button.link { color: #fff; opacity: .85; }
button.link:hover { text-decoration: underline; }

.flash { padding: .7rem 1rem; border-radius: 8px; margin-bottom: 1rem; border: 1px solid; }
.flash ul { margin: 0; padding-left: 1.2rem; }
.flash-ok { background: var(--ok-bg); border-color: #abefc6; color: var(--ok); }
.mark { font-weight: 700; font-size: 1.1rem; line-height: 1; }
.mark-ok { color: #1a9d4b; }
.mark-no { color: #d92d20; }
.flash-err { background: var(--err-bg); border-color: #fecdca; color: var(--err); }
.key { display: block; margin-top: .4rem; padding: .5rem; background: #fff; word-break: break-all; user-select: all; }

.filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
input, select, textarea { font: inherit; padding: .5rem .6rem; border: 1px solid #cdd2da; border-radius: 8px; background: #fff; width: 100%; }
.filters input, .filters select { width: auto; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--brand); }

.form .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 1.25rem; }
.cell.wide { grid-column: 1 / -1; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .25rem; font-size: .9rem; }
.check { display: inline-flex; align-items: center; gap: .5rem; font-weight: 400 !important; }
.check input { width: auto; }
.err { color: var(--err); margin: .25rem 0 0; font-size: .85rem; }
.hint { color: var(--muted); margin: .25rem 0 0; font-size: .85rem; }
.form-actions { display: flex; gap: .5rem; margin-top: .5rem; }
.inline-form { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; }
.inline-form .field { margin: 0; }
.danger-zone { margin-top: 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.danger-zone form { margin: 0; }

.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: #fafbfc; }
tr:last-child td { border-bottom: 0; }
.num { text-align: right; white-space: nowrap; }
.row-actions { text-align: right; white-space: nowrap; }
.row-actions form { display: inline; margin: 0 .5rem 0 0; }
.empty { color: var(--muted); }
.md-pick { display: flex; gap: .5rem; margin-top: .35rem; }
.md-pick select { width: auto; min-width: 6rem; }
@media (max-width: 599px) {
  /* Domeinen te koop: compact, en de domeinnaam blijft staan bij opzij schuiven */
  .domain-table { font-size: .85rem; }
  .domain-table th, .domain-table td { padding: .5rem .35rem; white-space: nowrap; }
  .domain-table td:first-child { white-space: normal; }
  .domain-table th:first-child, .domain-table td:first-child { position: sticky; left: 0; min-width: 7.5rem; max-width: 8.5rem; overflow-wrap: anywhere; border-right: 1px solid var(--line); background: var(--card); }
}
.pager { display: flex; gap: 1rem; justify-content: center; margin: 1rem 0; align-items: center; }

.badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .78rem; background: #eef1f5; color: var(--muted); font-weight: 600; }
.b-active, .b-paid { background: var(--ok-bg); color: var(--ok); }
.b-final { background: #fff4d6; color: #7a5a00; }
.b-sent, .b-prospect, .b-monthly, .b-quarterly, .b-yearly { background: #e8f3f7; color: var(--brand-dark); }
.b-overdue, .b-suspended { background: var(--warn-bg); color: var(--warn); }
.b-internal { background: #eef1f5; color: var(--brand); }
.b-external { background: #e8f3f7; color: var(--brand-dark); }
.steps { margin: .5rem 0 1rem; padding-left: 1.2rem; }
.b-cancelled, .b-inactive, .b-declined { background: var(--err-bg); color: var(--err); }
.b-approved { background: #e8f3f7; color: var(--brand-dark); }
.b-pending { background: #fff4d6; color: #8a5a00; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; display: flex; flex-direction: column; }
.stat-n { font-size: 1.5rem; font-weight: 700; }
.stat-l { color: var(--muted); font-size: .85rem; }
.stat-warn .stat-n { color: var(--warn); }
.activity { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.activity li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.activity span { color: var(--muted); margin-right: .4rem; }

.details { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.notes { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); }

.lines-edit input { min-width: 100px; }
.lines-edit td:first-child input { min-width: 280px; }
.num-in { text-align: right; }

.invoice { max-width: 820px; padding: 2rem; }
.invoice-head { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.invoice-head h2 { margin-top: 0; }
.invoice-meta { text-align: right; }
.plain th, .plain td { border: 0; padding: .1rem .4rem; background: none; text-transform: none; letter-spacing: 0; font-size: .9rem; }
.plain th { color: var(--muted); font-weight: 500; }
.bill-to { margin-bottom: 1.5rem; }
.lines { margin-bottom: 1.5rem; }
.lines tfoot td { border: 0; padding-top: .25rem; padding-bottom: .25rem; }
.lines .grand td { font-weight: 700; border-top: 2px solid var(--ink); }
.invoice-foot { color: var(--muted); font-size: .9rem; }

@media print {
  .top, .no-print, .flash { display: none !important; }
  body { background: #fff; }
  main { padding: 0; max-width: none; }
  .invoice { border: 0; padding: 0; max-width: none; }
}

.lines-edit tr.muted { color: var(--muted); }
.check { display: block; margin: 1rem 0; }
.tabs { display: flex; gap: .5rem; margin: .5rem 0 1rem; flex-wrap: wrap; }
.tabs a { padding: .3rem .8rem; border-radius: 999px; background: #eef1f5; color: var(--brand); text-decoration: none; font-weight: 600; font-size: .9rem; }
.tabs a.on { background: var(--brand); color: #fff; }
.dialog { border: 0; border-radius: 10px; padding: 1.5rem; max-width: 460px; width: calc(100% - 2rem); box-shadow: 0 10px 40px rgba(30,58,95,.3); }
.dialog::backdrop { background: rgba(30,58,95,.45); }
.dialog h2 { margin-top: 0; }
.pdf-dialog { max-width: 1000px; width: calc(100% - 1.5rem); height: calc(100vh - 1.5rem); padding: 0; overflow: hidden; }
.pdf-dialog[open] { display: flex; flex-direction: column; }
.pdf-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; border-bottom: 1px solid var(--line, #d5dae1); }
.pdf-bar strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.pdf-close { font-size: 1.1rem; line-height: 1; padding: .35rem .7rem; }
.pdf-body { flex: 1; min-height: 0; overflow: auto; background: #f4f6f8; }
.pdf-body iframe { width: 100%; height: 100%; border: 0; background: #fff; display: block; }
.pdf-body img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.row-actions a { margin-right: .5rem; }

/* Leverdatum / periode per factuurregel */
.line-note { color: var(--muted); font-size: .82rem; margin-top: .1rem; }
.line-period { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .35rem; font-size: .8rem; color: var(--muted); }
.line-period label { display: inline-flex; align-items: center; gap: .35rem; }
.line-period input[type=date] { width: auto; padding: .2rem .4rem; font-size: .8rem; }

/* Betalingen, herinneringen, uploads */
.badge.b-partial { background: #fff4d6; color: #8a5a00; }
label.inline { display: inline; font-weight: normal; }
.inline-form { margin-top: 1rem; }

/* Voorbeeld van het geüploade bestand naast het formulier */
.with-preview { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.file-preview iframe { width: 100%; height: 60vh; border: 1px solid var(--line, #d5dae1); border-radius: 8px; background: #fff; }
.file-preview img { max-width: 100%; height: auto; border: 1px solid var(--line, #d5dae1); border-radius: 8px; }
@media (min-width: 1000px) {
  .with-preview { grid-template-columns: 1fr 1fr; align-items: start; }
  .with-preview .file-preview { order: 2; position: sticky; top: 1rem; }
  .file-preview iframe { height: 80vh; }
}
.quick-upload input[type=file] { width: 100%; padding: 1rem; font-size: 1rem; }

/* QR-code voor 2FA */
.qr { margin: .5rem 0 1rem; }
.qr img { display: block; width: 220px; height: 220px; image-rendering: pixelated; background: #fff; padding: 4px; border: 1px solid var(--line, #d5dae1); border-radius: 8px; }

/* Monitoring */
.stat-crit .stat-n { color: var(--err); }
.b-mon-ok { background: var(--ok-bg); color: var(--ok); }
.b-mon-warn { background: #fff4d6; color: #8a5a00; }
.b-mon-crit { background: var(--err-bg); color: var(--err); }
.b-mon-unknown { background: #eef1f5; color: var(--muted); }
.mon-warn { color: #8a5a00; font-weight: 600; }
.mon-crit { color: var(--err); font-weight: 600; }
.issues { margin: .3rem 0 0; padding-left: 1.1rem; font-size: .85rem; }
.issues .i-crit { color: var(--err); }
.issues .i-warn { color: #8a5a00; }
.mon-table td small { color: var(--muted); display: block; }

/* Taken */
.b-low { background: #eef1f5; color: var(--muted); }
.b-medium { background: #e8f3f7; color: var(--brand-dark); }
.b-high { background: #fff4d6; color: #8a5a00; }
.b-critical { background: var(--err-bg); color: var(--err); }
.b-open { background: #eef1f5; color: var(--brand); }
.b-in_progress { background: #e8f3f7; color: var(--brand-dark); }
.b-done { background: var(--ok-bg); color: var(--ok); }
.b-claude { background: #ece8fb; color: #4b3a99; }
.b-shown { background: #e8f3f7; color: var(--brand-dark); }
.task-desc { display: block; color: var(--muted); margin-top: .15rem; }
.task-done td { opacity: .65; }
.due-late { color: var(--err); font-weight: 600; }
.dash-tasks { margin-bottom: 1.5rem; }

.task-meta p { margin: .35rem 0; }
.task-text { margin-top: .75rem; }
.task-section { margin-top: 1.5rem; }
.task-add { margin-top: .75rem; }
.sub-count { color: var(--muted); font-weight: 600; }
/* Taken ordenen: greepje om te slepen en ▲▼-knoppen als alternatief */
.sort-col { width: 1%; white-space: nowrap; }
.sort-cell { white-space: nowrap; width: 1%; }
.sort-cell form { display: inline; margin: 0; }
.drag-handle { display: inline-block; cursor: grab; color: var(--muted); padding: .35rem .5rem; margin-right: .1rem; touch-action: none; user-select: none; -webkit-user-select: none; font-size: 1.1rem; line-height: 1; }
.sort-btn { background: none; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); cursor: pointer; font-size: .8rem; line-height: 1; padding: .4rem .5rem; margin-right: .15rem; min-width: 2rem; min-height: 2rem; }
.sort-btn:hover { color: var(--brand); border-color: var(--brand); }
.task-group + .task-group td { border-top: 2px solid var(--line); }
.task-group tr.drag-chosen td { background: #eef6fa; }
.task-group tr.drag-ghost td { opacity: .4; }
.sort-busy { opacity: .6; pointer-events: none; }
form.inline { display: inline; margin: 0; }
.notes { list-style: none; padding: 0; margin: 1rem 0 0; }
.notes li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .75rem 1rem; margin-bottom: .6rem; }
.note-head { display: block; color: var(--muted); font-size: .85rem; margin-bottom: .25rem; }
.task-note-form { max-width: 40rem; }

/* Footer */
.foot { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem 2rem; color: var(--muted); font-size: .8rem; text-align: center; }
.note-vis { display: block; margin-top: .35rem; font-size: .85rem; }

/* ---- Affiliate inkomsten: overzicht bovenaan ---- */
.fresh { margin: 0 0 .75rem; }
.stat-main { border-color: var(--accent); }
.delta { color: var(--muted); font-size: .78rem; margin-top: .15rem; }
.delta-up { color: var(--ok); font-weight: 600; }
.delta-down { color: var(--err); font-weight: 600; }
.pipeline { display: flex; align-items: stretch; gap: .5rem; flex-wrap: wrap; }
.pipeline .arrow { align-self: center; color: var(--muted); }
.pipeline .step { flex: 1 1 130px; display: flex; flex-direction: column; padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: #fafbfc; }
.step-n { font-size: 1.25rem; font-weight: 700; }
.step-l { color: var(--muted); font-size: .82rem; }
.step-pending { border-left: 4px solid var(--warn); }
.step-approved { border-left: 4px solid var(--brand); }
.step-paid { border-left: 4px solid var(--ok); }
.step-declined { border-left: 4px solid var(--err); }
section.card + section.card, section.card + .net-cards, .net-cards + .net-cards, .net-cards + section.card, .stats + section.card { margin-top: 1rem; }
.chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: .35rem; align-items: end; margin-top: .5rem; }
.chart-col { display: flex; flex-direction: column; min-width: 0; }
.chart-bars { height: 150px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; border-bottom: 1px solid var(--line); }
.bar { display: block; width: 42%; max-width: 18px; min-height: 2px; border-radius: 3px 3px 0 0; }
.bar-old { background: #c5ccd8; }
.bar-now { background: var(--accent); }
.chart-l { text-align: center; font-size: .7rem; color: var(--muted); padding-top: .2rem; }
.chart-now .chart-l { color: var(--brand); font-weight: 700; }
.legend { color: var(--muted); font-size: .82rem; margin: .6rem 0 0; }
.key { display: inline-block; width: .7rem; height: .7rem; border-radius: 2px; margin: 0 .2rem 0 .6rem; vertical-align: -1px; }
.key-old { background: #c5ccd8; }
.key-now { background: var(--accent); }
/* De nieuwe sleutel (API en mail) gebruikt ook .key: niet het kleine vierkantje van de grafieklegenda. */
.newkey .key { display: block; width: auto; height: auto; margin: .4rem 0 0; }
.net-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.net-cards h3 { margin: 0 0 .4rem; }
.net-cards h3 small { color: var(--muted); font-weight: 400; }
.net-n { font-size: 1.6rem; font-weight: 700; margin: 0; }
.net-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; margin: .8rem 0 0; }
.net-facts dt { color: var(--muted); font-size: .78rem; }
.net-facts dd { margin: 0; font-weight: 600; }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--line); }
details > summary { cursor: pointer; list-style-position: inside; }
details > summary h2 { display: inline; font-size: 1.1rem; }
@media (max-width: 599px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .stat { padding: .7rem; }
  .stat-n { font-size: 1.2rem; }
  .pipeline .arrow { display: none; }
  .chart { gap: .2rem; }
  .chart-bars { height: 120px; }
  .chart-l { font-size: .62rem; }
  .page-head .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
}

/* Losse affiliate-transacties: per regel een blokje, zodat er op de telefoon niet zijwaarts gescrold hoeft te worden. */
.tx-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.tx { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; margin-bottom: .5rem; }
.tx-line { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.tx-line > :first-child { min-width: 0; overflow-wrap: anywhere; }
.tx-amount, .tx .badge { white-space: nowrap; }
.tx-product { font-size: .9rem; overflow-wrap: anywhere; }
.tx-meta { color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.tx-declined .tx-amount { text-decoration: line-through; color: var(--muted); }

/* Staafhoogtes als klassen: de Content-Security-Policy staat geen inline style-attributen toe. */
.h0{height:0%}.h1{height:1%}.h2{height:2%}.h3{height:3%}.h4{height:4%}.h5{height:5%}.h6{height:6%}.h7{height:7%}.h8{height:8%}.h9{height:9%}
.h10{height:10%}.h11{height:11%}.h12{height:12%}.h13{height:13%}.h14{height:14%}.h15{height:15%}.h16{height:16%}.h17{height:17%}.h18{height:18%}.h19{height:19%}
.h20{height:20%}.h21{height:21%}.h22{height:22%}.h23{height:23%}.h24{height:24%}.h25{height:25%}.h26{height:26%}.h27{height:27%}.h28{height:28%}.h29{height:29%}
.h30{height:30%}.h31{height:31%}.h32{height:32%}.h33{height:33%}.h34{height:34%}.h35{height:35%}.h36{height:36%}.h37{height:37%}.h38{height:38%}.h39{height:39%}
.h40{height:40%}.h41{height:41%}.h42{height:42%}.h43{height:43%}.h44{height:44%}.h45{height:45%}.h46{height:46%}.h47{height:47%}.h48{height:48%}.h49{height:49%}
.h50{height:50%}.h51{height:51%}.h52{height:52%}.h53{height:53%}.h54{height:54%}.h55{height:55%}.h56{height:56%}.h57{height:57%}.h58{height:58%}.h59{height:59%}
.h60{height:60%}.h61{height:61%}.h62{height:62%}.h63{height:63%}.h64{height:64%}.h65{height:65%}.h66{height:66%}.h67{height:67%}.h68{height:68%}.h69{height:69%}
.h70{height:70%}.h71{height:71%}.h72{height:72%}.h73{height:73%}.h74{height:74%}.h75{height:75%}.h76{height:76%}.h77{height:77%}.h78{height:78%}.h79{height:79%}
.h80{height:80%}.h81{height:81%}.h82{height:82%}.h83{height:83%}.h84{height:84%}.h85{height:85%}.h86{height:86%}.h87{height:87%}.h88{height:88%}.h89{height:89%}
.h90{height:90%}.h91{height:91%}.h92{height:92%}.h93{height:93%}.h94{height:94%}.h95{height:95%}.h96{height:96%}.h97{height:97%}.h98{height:98%}.h99{height:99%}
.h100{height:100%}

/* Kleine logo's bij ja/nee-velden (bijv. websites: WordPress en SiteNest Connect) */
.ico { width: 20px; height: 20px; vertical-align: middle; }
.ico-text { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; background: #e4e7ec; color: #344054; font-size: .65rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
th.ico-col, td.ico-col { text-align: center; width: 1%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
