/* Arcavo design tokens (SPEC §10, 2.14.0: sober and dense, own design). Geist is self-hosted (OFL, static/fonts). */
@font-face { font-family: Geist; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --bg: #FFFFFF; --sidebar: #F7F7F5; --card: #FFFFFF; --border: #E7E7E4; --border-soft: #F1F1EE; --border-input: #E1E1DD;
  --hover: #EFEFEC; --active: #EAEAE7;
  --text: #18191A; --text-2: #3F4341; --muted: #5B5F5C; --faint: #6E726F;
  --accent: #135C46; --accent-hover: #0D4535; --accent-light: #EEF4F1; --accent-text: #135C46;
  --warn-text: #8A4B0E; --warn-bg: #FBF4EA; --warn-chip: #FBF4EA; --warn-chip-text: #8A4B0E;
  --block-text: #B42318; --block-bg: #FDF3F2; --block-border: #F2D3CF; --block-btn: #B42318; --block-btn-text: #B42318;
  --sc-bank: #B9CFC7; --sc-deposito: #D5E2DD; --sc-beleggen: #3E7D69; --sc-pensioen: #6F9A8C; --sc-eigen-woning: #135C46;
  --sc-verhuurd: #7FA99B; --sc-bv: #2B6B57; --sc-overig: #DADFDC;
  --rail: #232826; --rail-text: #B9C1BD; --rail-active: #2E9A72; --rail-line: #3A423F;
  --panel: #D6E3DC; --panel-line: #BFD1C7; --panel-text-2: #3F4A45; --panel-strong: #A9C2B5;
  --bv: #8A6A3B; --radius: 8px; --radius-s: 6px; --radius-xs: 6px;
  --sans: Geist, 'Helvetica Neue', Arial, sans-serif; --serif: var(--sans);
  /* 2.16.0: tokens for what used to be fixed white or a fixed rail shade, so the dark theme can change them. */
  --field: #FFFFFF; --on-accent: #FFFFFF; --warn-border: #F1E2CC;
  --rail-hover: #2C322F; --rail-avatar-text: #E4E8E6; --rail-avatar-hover: #4A534F; --rail-faint: #8C9590;
  --panel-hover: rgba(255,255,255,.35);
  --sk-bezit-fill: rgba(19, 92, 70, .14); --sk-schuld-fill: rgba(180, 35, 24, .14); --sk-netto-fill: rgba(19, 92, 70, .30);
  color-scheme: light;
}
/* 2.16.0 dark theme, derived from the same tokens as in Tracker: near-black with a hint of green, hairlines instead of
   boxes, the accent lighter so it keeps its contrast. Follows the device (prefers-color-scheme) unless the user chose
   light or dark under Instellingen (data-theme on <html>). The two blocks below must stay identical (a test checks). */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #111312; --sidebar: #181B1A; --card: #111312; --border: #262B29; --border-soft: #1D2120; --border-input: #2F3532;
  --hover: #202422; --active: #252A28; --field: #181B1A;
  --text: #ECEEEC; --text-2: #C9CECB; --muted: #9AA19D; --faint: #858C88;
  --accent: #5FB394; --accent-hover: #7CC6AA; --accent-light: #17251F; --accent-text: #7CC6AA; --on-accent: #0B1310;
  --warn-text: #E3A35B; --warn-bg: #2A2013; --warn-chip: #2A2013; --warn-chip-text: #E3A35B; --warn-border: #4A3820;
  --block-text: #F08A7E; --block-bg: #2A1714; --block-border: #4A2620; --block-btn: #F08A7E; --block-btn-text: #F08A7E;
  --sc-bank: #35524A; --sc-deposito: #2A3F38; --sc-beleggen: #5FB394; --sc-pensioen: #7FA99B; --sc-eigen-woning: #2E9A72;
  --sc-verhuurd: #4F7D70; --sc-bv: #3E7D69; --sc-overig: #3A423F;
  --rail: #0A0C0B; --rail-text: #A3ACA7; --rail-active: #2E9A72; --rail-line: #252B28;
  --rail-hover: #171B19; --rail-avatar-text: #DDE3E0; --rail-avatar-hover: #2F3532; --rail-faint: #6E7671;
  --panel: #18231E; --panel-line: #29392F; --panel-text-2: #A7B7AE; --panel-strong: #3A5144; --panel-hover: rgba(255,255,255,.04);
  --bv: #D2AE77;
  --sk-bezit-fill: rgba(95, 179, 148, .16); --sk-schuld-fill: rgba(240, 138, 126, .16); --sk-netto-fill: rgba(95, 179, 148, .32);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #111312; --sidebar: #181B1A; --card: #111312; --border: #262B29; --border-soft: #1D2120; --border-input: #2F3532;
  --hover: #202422; --active: #252A28; --field: #181B1A;
  --text: #ECEEEC; --text-2: #C9CECB; --muted: #9AA19D; --faint: #858C88;
  --accent: #5FB394; --accent-hover: #7CC6AA; --accent-light: #17251F; --accent-text: #7CC6AA; --on-accent: #0B1310;
  --warn-text: #E3A35B; --warn-bg: #2A2013; --warn-chip: #2A2013; --warn-chip-text: #E3A35B; --warn-border: #4A3820;
  --block-text: #F08A7E; --block-bg: #2A1714; --block-border: #4A2620; --block-btn: #F08A7E; --block-btn-text: #F08A7E;
  --sc-bank: #35524A; --sc-deposito: #2A3F38; --sc-beleggen: #5FB394; --sc-pensioen: #7FA99B; --sc-eigen-woning: #2E9A72;
  --sc-verhuurd: #4F7D70; --sc-bv: #3E7D69; --sc-overig: #3A423F;
  --rail: #0A0C0B; --rail-text: #A3ACA7; --rail-active: #2E9A72; --rail-line: #252B28;
  --rail-hover: #171B19; --rail-avatar-text: #DDE3E0; --rail-avatar-hover: #2F3532; --rail-faint: #6E7671;
  --panel: #18231E; --panel-line: #29392F; --panel-text-2: #A7B7AE; --panel-strong: #3A5144; --panel-hover: rgba(255,255,255,.04);
  --bv: #D2AE77;
  --sk-bezit-fill: rgba(95, 179, 148, .16); --sk-schuld-fill: rgba(240, 138, 126, .16); --sk-netto-fill: rgba(95, 179, 148, .32);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; } a:hover { color: var(--accent-hover); text-decoration: underline; }
h1, h2, h3, .serif { font-family: var(--sans); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 20px; line-height: 1.3; } h2 { font-size: 15px; line-height: 1.4; } h3 { font-size: 14px; }
code { font-size: 13px; background: var(--sidebar); padding: 1px 5px; border-radius: 4px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .strong { font-weight: 600; } .right { text-align: right; }
.inline { display: inline; }
.shell { display: flex; min-height: 100vh; }
/* 2.15.0: a narrow black rail with icon and label, the work in the middle, a green side panel on the right. */
.sidebar { width: 84px; flex-shrink: 0; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--rail); color: var(--rail-text); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; justify-content: center; padding: 2px 0 6px; }
.brand::before { content: 'A'; width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; background: var(--rail-active); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand-name { font-family: var(--sans); font-size: 14px; font-weight: 600; } .brand-sub { font-size: 12px; color: var(--faint); }
.nav { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; }
.nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 54px; padding: 4px 2px; border-radius: 8px; color: var(--rail-text); text-decoration: none; font-size: 11px; line-height: 1.15; text-align: center; }
.nav a:hover { background: var(--rail-hover); color: #fff; text-decoration: none; }
.nav a.active { color: #fff; font-weight: 500; background: transparent; }
.nav-ico { flex-shrink: 0; color: currentColor; width: 16px; height: 16px; padding: 5px 12px; box-sizing: content-box; border-radius: 13px; }
.nav a.active .nav-ico { background: var(--rail-active); color: #fff; }
.nav .nav-label { flex-grow: 0; }
.nav a.disabled { color: var(--rail-text); opacity: .6; cursor: default; }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: transparent; color: var(--faint); font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.nav .badge { position: absolute; top: 2px; right: 8px; background: var(--accent); color: var(--on-accent); font-size: 11px; height: 16px; min-width: 16px; padding: 0 4px; }
.sidebar-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rail-line); width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; }
.rail-avatar { width: 32px; height: 32px; border-radius: 16px; background: var(--rail-line); color: var(--rail-avatar-text); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.rail-avatar:hover { background: var(--rail-avatar-hover); color: #fff; text-decoration: none; }
.rail-logout { background: none; border: 0; padding: 4px 2px; min-height: 32px; color: var(--rail-text); font: inherit; font-size: 11px; cursor: pointer; }
.rail-logout:hover { color: #fff; text-decoration: underline; }
.rail-version { color: var(--rail-faint); font-size: 10px; } .rail-version:hover { color: #fff; }
.side-panel { width: 340px; flex-shrink: 0; margin-left: auto; background: var(--panel); position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 18px 20px 32px; display: flex; flex-direction: column; gap: 24px; color: var(--text); }
.panel-section { display: flex; flex-direction: column; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 6px; }
.panel-head h2 { font-size: 13px; font-weight: 600; } .panel-head a { font-size: 13px; color: var(--accent-hover); }
.panel-count { font-weight: 400; color: var(--panel-text-2); }
.panel-row { display: flex; flex-direction: column; gap: 1px; padding: 10px 0; border-top: 1px solid var(--panel-line); color: var(--text); text-decoration: none; }
.panel-section .panel-row:last-of-type { border-bottom: 1px solid var(--panel-line); }
.panel-more > summary { min-height: 40px; display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--accent-text); font-size: 13px; font-weight: 500; }
.panel-more[open] > summary { border-bottom: 1px solid var(--panel-line); } /* 2.16.5: 'Lees meer' in Nog te regelen */
a.panel-row:hover { text-decoration: none; background: var(--panel-hover); }
.panel-title { font-size: 14px; } .panel-meta { font-size: 12px; color: var(--panel-text-2); }
.panel-empty { margin: 0; padding: 10px 0; font-size: 13px; color: var(--panel-text-2); border-top: 1px solid var(--panel-line); }
.panel-kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--panel-line); font-size: 13px; }
.panel-kv span:first-child { color: var(--panel-text-2); } .panel-kv span:last-child { text-align: right; }
.panel-section .panel-kv:last-of-type { border-bottom: 1px solid var(--panel-line); }
.panel-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px; }
.panel-actions .btn { background: var(--field); border-color: var(--panel-strong); }
.signal.panel-row { position: relative; flex-direction: column; gap: 1px; align-items: stretch; padding: 10px 0 10px 16px; border-bottom: 0; font-size: 14px; color: var(--text); }
.signal.panel-row::before { content: ''; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 3px; background: var(--accent); }
.signal.panel-row.fout::before { background: var(--block-text); } .signal.panel-row.aandacht::before { background: var(--warn-text); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; flex-direction: column; padding: 0 0 14px 20px; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); }
.timeline li::after { content: ''; position: absolute; left: 3.5px; top: 16px; bottom: 0; width: 1px; background: var(--panel-strong); }
.timeline li:last-child { padding-bottom: 0; } .timeline li:last-child::after { display: none; }
.panel-page { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.panel-page .panel-row, .panel-page .panel-kv, .panel-page .panel-empty { border-color: var(--border-soft) !important; }
.panel-page .panel-meta, .panel-page .panel-count, .panel-page .panel-kv span:first-child, .panel-page .panel-empty { color: var(--muted); }
.panel-page .panel-actions .btn { border-color: var(--border-input); }
.panel-page .timeline li::after { background: var(--border-input); }
.main { flex-grow: 1; padding: 28px 48px 48px; display: flex; flex-direction: column; gap: 28px; min-width: 0; max-width: 1280px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--border-soft); }
.page-head .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.grid { display: grid; gap: 16px 40px; } .grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.span-2 { grid-column: span 2; }
/* A "card" is a section: separated by a hairline and whitespace, no box (2.14.0). */
.card { background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 16px 0 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-head h2 { font-size: 15px; }
.kpi .label { font-size: 13px; color: var(--muted); } .kpi .value { font-family: var(--sans); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; } .kpi .delta { font-size: 13px; color: var(--faint); } .kpi .delta.up { color: var(--accent); } .kpi .delta.down { color: var(--block-text); }
.kpis .kpi.span-2 .value { font-size: 40px; letter-spacing: -0.025em; } .kpi .value { white-space: nowrap; }
.row { display: flex; align-items: center; gap: 16px; } .row.between { justify-content: space-between; } .col { display: flex; flex-direction: column; gap: 4px; } .grow { flex-grow: 1; min-width: 0; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; min-height: 36px; align-items: center; border-bottom: 1px solid var(--border-soft); } .kv span:first-child { color: var(--muted); }
.list-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--border-soft); border-radius: 0; }
.list-item.blocked { background: transparent; } .list-item.blocked .muted { color: var(--block-text); }
.tile { padding: 12px 0; border: 0; border-top: 1px solid var(--border-soft); border-radius: 0; display: flex; flex-direction: column; gap: 4px; }
/* Statuses are words, not pills (2.14.0). */
.chip { display: inline; padding: 0; border-radius: 0; background: none !important; border: 0 !important; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--faint); }
.chip-high, .chip-source { color: var(--accent); } .chip-mid, .chip-assume { color: var(--warn-text); } .chip-low { color: var(--block-text); }
.chip-neutral, .chip-estimate { color: var(--faint); }
.status-ok { color: var(--accent-text); } .status-warn { color: var(--warn-text); } .status-err { color: var(--block-text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: var(--radius-xs); border: 1px solid var(--border-input); background: var(--field); color: var(--text); font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--sidebar); color: var(--text); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); } .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-danger { border-color: var(--block-border); color: var(--block-btn-text); } .btn-small { min-height: 28px; padding: 0 10px; font-size: 13px; }
.btn-ghost { border-color: var(--border-input); color: var(--text); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linklike { background: none; border: none; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: none; min-height: 32px; }
.linklike:hover { text-decoration: underline; }
.seg { display: inline-flex; gap: 0; padding: 0; border: 1px solid var(--border-input); border-radius: var(--radius-xs); background: var(--field); overflow: hidden; }
.seg a, .seg button { min-height: 30px; min-width: 48px; padding: 0 12px; border-radius: 0; border: none; border-left: 1px solid var(--border-input); background: transparent; color: var(--muted); font: inherit; font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.seg > :first-child, .seg > form:first-child > button { border-left: none; } .seg > form { display: contents; } /* 2.16.0: buttons in forms (Weergave) */ .seg-fit { align-self: flex-start; width: fit-content; max-width: 100%; } .seg .active { background: var(--accent-light); color: var(--text); font-weight: 500; }
.bar { height: 6px; border-radius: 2px; background: var(--border-soft); overflow: hidden; } .bar > div { height: 6px; border-radius: 2px; background: var(--accent); } .bar > div.bv { background: var(--sc-verhuurd); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; } table.data th { text-align: left; font-weight: 500; color: var(--faint); font-size: 12px; padding: 0 10px 8px 0; border-bottom: 1px solid var(--border); } table.data td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--border-soft); vertical-align: top; } table.data td.num, table.data th.num { text-align: right; padding-right: 0; } table.data tr:last-child td { border-bottom: 1px solid var(--border-soft); }
.table-scroll { overflow-x: auto; max-width: 100%; }
.sub-row { padding-left: 16px; font-size: 13px; border-left: 1px solid var(--border); margin-left: 4px; } .sub-row-2 { padding-left: 32px; } .sub-row .amount { white-space: nowrap; flex-shrink: 0; padding-left: 8px; }
.plain-list { list-style: none; padding: 0; margin: 0; } .plain-list li { padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
table.data a.rowlink { color: inherit; text-decoration: none; font-weight: 500; } table.data a.rowlink:hover { color: var(--accent); }
form.stack { display: flex; flex-direction: column; gap: 12px; } label { font-size: 12px; font-weight: 500; color: var(--muted); display: block; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input:not([type]), select, textarea { width: 100%; min-height: 34px; padding: 6px 10px; border: 1px solid var(--border-input); border-radius: var(--radius-xs); font: inherit; background: var(--field); color: var(--text); }
textarea { min-height: 96px; } input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-light); outline-offset: 0; border-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 2px; } .fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 16px; } .fields .full { grid-column: 1 / -1; }
.help { font-size: 12px; color: var(--faint); }
.flashes { display: flex; flex-direction: column; gap: 8px; } .flash { padding: 10px 14px; border-radius: var(--radius-s); border: 1px solid var(--border); background: var(--card); font-size: 14px; } .flash-success { color: var(--accent-text); } .flash-error { color: var(--block-text); border-color: var(--block-border); } .flash-info { color: var(--text); }
.notice { padding: 10px 14px; border-radius: var(--radius-s); font-size: 14px; border: 1px solid var(--border); background: var(--sidebar); color: var(--text); } .notice-warn { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn-text); } .notice-block { background: var(--block-bg); color: var(--block-text); border-color: var(--block-border); } .notice-info { background: var(--sidebar); color: var(--text); }
.auth-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--sidebar); }
.auth-card { width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.auth-card h1 { font-size: 20px; } .auth-card form { display: flex; flex-direction: column; gap: 12px; } .auth-card .btn { min-height: 40px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .filters select, .filters input { width: auto; min-width: 160px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } .doc-frame { width: 100%; height: 720px; border: 1px solid var(--border); border-radius: var(--radius-s); background: #fff; }
.manual-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; } .manual-grid h3 { margin: 0; }
.doc-text { width: 100%; max-height: 720px; overflow: auto; margin: 0; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--card); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }
.pre { white-space: pre-wrap; font-family: inherit; font-size: 14px; max-height: 720px; overflow: auto; }
.diff td.old { color: var(--muted); text-decoration: line-through; } .diff td.new { font-weight: 600; }
.sparkline { width: 100%; height: 200px; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); } .dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 6px; vertical-align: middle; }
.signals { display: flex; flex-direction: column; gap: 0; } .signal { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border: 0; border-bottom: 1px solid var(--border-soft); border-radius: 0; background: transparent; font-size: 14px; } .signal.fout { color: var(--block-text); } .signal.aandacht { color: var(--warn-text); } .signal-summary { align-items: center; } .signal-summary .btn { flex-shrink: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.app-foot { font-size: 12px; color: var(--faint); padding-top: 8px; }
@media (max-width: 1200px) { .shell { flex-wrap: wrap; } .main { flex: 1 1 calc(100% - 84px); } .side-panel { width: auto; height: auto; position: static; flex: 1 1 100%; margin-left: 84px; padding: 24px 48px 40px; } }
@media (max-width: 1100px) { .side-panel { padding: 24px 28px 40px; } .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } .split, .manual-grid { grid-template-columns: 1fr; } .main { padding: 24px 28px 40px; } }
@media (max-width: 800px) { .grid-4, .grid-2, .fields { grid-template-columns: 1fr; } }
@media print { .side-panel, .sidebar, .topbar, .tabbar, .btn, .flashes { display: none !important; } .main { padding: 0; } .card { break-inside: avoid; } }

/* --- Screens: register, documents, settings, dashboard chart (additions; tokens unchanged) --- */
.chart { width: 100%; height: auto; display: block; }
.chart .gridline { stroke: var(--border-soft); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
.chart .area { fill: var(--accent-light); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot-last { fill: var(--accent); }
.sc-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; } .sc-basis { stroke: var(--accent); stroke-width: 2.5; }
.sc-voorzichtig { stroke: var(--bv); stroke-dasharray: 5 4; } .sc-gunstig { stroke: var(--muted); stroke-dasharray: 2 3; }
table.sc-table td.num, table.sc-table th.num { white-space: nowrap; } table.sc-table { font-size: 13px; }
.sc-mark { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 3; } .sc-zero { stroke: var(--block-border); stroke-width: 1; }
.dot.sc-dot-basis { background: var(--accent); } .dot.sc-dot-voorzichtig { background: var(--bv); } .dot.sc-dot-gunstig { background: var(--muted); }
.sc-area-bank { fill: var(--sc-bank); } .dot.sc-dot-bank { background: var(--sc-bank); }
.sc-area-deposito { fill: var(--sc-deposito); } .dot.sc-dot-deposito { background: var(--sc-deposito); }
.sc-area-beleggen { fill: var(--sc-beleggen); } .dot.sc-dot-beleggen { background: var(--sc-beleggen); }
.sc-area-pensioen { fill: var(--sc-pensioen); } .dot.sc-dot-pensioen { background: var(--sc-pensioen); }
.sc-area-eigen_woning { fill: var(--sc-eigen-woning); } .dot.sc-dot-eigen_woning { background: var(--sc-eigen-woning); }
.sc-area-verhuurd { fill: var(--sc-verhuurd); } .dot.sc-dot-verhuurd { background: var(--sc-verhuurd); }
.sc-area-bv { fill: var(--sc-bv); } .dot.sc-dot-bv { background: var(--sc-bv); }
.sc-area-overig { fill: var(--sc-overig); } .dot.sc-dot-overig { background: var(--sc-overig); }
.sc-area { stroke: var(--bg); stroke-width: .5; opacity: .9; } .sc-legend { margin-top: 8px; flex-wrap: wrap; }
.sc-section { margin: 28px 0 4px; } .sc-cards { align-items: start; }
.sc-dev { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); margin: -4px 0 12px; }
.sc-pand { border: 0; border-top: 1px solid var(--border-soft); border-radius: 0; padding: 12px 0 4px; margin: 0; }
.sc-pand legend { font-weight: 500; padding: 0 0 6px; float: left; width: 100%; }
.sensitive { display: inline-flex; align-items: baseline; gap: 6px; } .sensitive .lock { font-size: 12px; opacity: .7; }
.kv-grid .kv { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.kv-grid .kv span:last-child { font-size: 15px; color: var(--text); }
.total { font-size: 22px; }
.filters.card { flex-direction: row; align-items: flex-end; gap: 12px 16px; padding: 16px 24px; }
.filters .filters-actions { display: flex; gap: 8px; align-items: center; }
.subnav { display: flex; gap: 6px; flex-wrap: wrap; } .subnav a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid var(--border-input); border-radius: var(--radius-xs); background: var(--field); color: var(--text); text-decoration: none; font-size: 13px; } .subnav a:hover { background: var(--sidebar); text-decoration: none; }
.scroll-y { max-height: 520px; overflow: auto; }
ul.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
label.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; } label.check input { width: 20px; height: 20px; margin: 0; }
details.cat-fields { border: 1px solid var(--border); border-radius: var(--radius-s); padding: 8px 14px; } details.cat-fields summary { cursor: pointer; min-height: 36px; display: flex; align-items: center; font-weight: 500; } details.cat-fields .fields { padding: 8px 0 12px; }
details summary { cursor: pointer; }
details > summary.strong { list-style: none; min-height: 40px; display: flex; align-items: center; gap: 6px; } details > summary.strong::-webkit-details-marker { display: none; } details > summary.strong::before { content: '▸'; color: var(--accent); } details[open] > summary.strong::before { content: '▾'; }
h4 { font-family: var(--sans); font-size: 14px; font-weight: 600; margin: 8px 0 0; }
input[type=file] { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-xs); background: var(--field); font: inherit; }
select[multiple] { min-height: 160px; }
.card > form.row { align-items: flex-end; }

/* --- Screens: voorstellen, noodmap & overdracht (additions; tokens unchanged) --- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
table.proposal-fields input.compact, table.proposal-fields select { min-height: 40px; padding: 6px 10px; font-size: 14px; }
table.proposal-fields td { vertical-align: middle; }
.score { font-variant-numeric: tabular-nums; margin-left: 4px; }
.doc-image { width: 100%; height: auto; max-height: 720px; object-fit: contain; border: 1px solid var(--border); border-radius: var(--radius-s); background: #fff; }
.seg a .small { font-weight: 400; margin-left: 4px; opacity: .8; }
.page-head .sub .chip { vertical-align: middle; }
.reg-section-head { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0 0; padding-bottom: 6px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text); }
.card-head + .reg-section-head { margin-top: 4px; }
.pension-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin: 12px 0 0; font-size: 14px; font-weight: 500; min-height: 36px; align-items: center; border-bottom: 1px solid var(--border-soft); }
.card-head + .pension-head { margin-top: 4px; }
.pension-total { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); font-weight: 600; } .pension-total span:first-child { color: var(--text); }
.pension-details { margin: 6px 0 4px; } .pension-details > summary { color: var(--accent); font-size: 14px; min-height: 32px; display: flex; align-items: center; }
.pension-details[open] > summary { margin-bottom: 6px; }
.pension-details > summary { list-style: none; } .pension-details > summary::-webkit-details-marker { display: none; }
.pension-details > summary::before { content: '▸'; margin-right: 6px; } .pension-details[open] > summary::before { content: '▾'; }
@media (min-width: 801px) {
  table.data td.num:not(:last-child), table.data th.num:not(:last-child) { padding-right: 20px; }
  table.reg-table { table-layout: fixed; } table.reg-table td { overflow-wrap: anywhere; }
  table.reg-table col.col-desc { width: 32%; } table.reg-table col.col-inst { width: 18%; } table.reg-table col.col-cat { width: 16%; } table.reg-table col.col-val { width: 18%; } table.reg-table col.col-src { width: 16%; }
  table.reg-table.with-owner col.col-desc { width: 26%; } table.reg-table.with-owner col.col-owner { width: 14%; } table.reg-table.with-owner col.col-inst { width: 16%; } table.reg-table.with-owner col.col-cat { width: 14%; } table.reg-table.with-owner col.col-val { width: 16%; } table.reg-table.with-owner col.col-src { width: 14%; }
}
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border); margin-top: -12px; overflow-x: auto; }
.tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 400; white-space: nowrap; }
.tabs a:hover { color: var(--text); text-decoration: none; } .tabs a.active { border-bottom-color: var(--accent); color: var(--text); font-weight: 500; }
tr.muted td { color: var(--muted); }

/* 1.1.0: inbox address and version sections */
.inbox-address { font-family: var(--sans); font-size: 18px; font-weight: 500; word-break: break-all; user-select: all; }
.release { border-top: 1px solid var(--border-soft); padding-top: 12px; }
.release ul { margin: 6px 0 0; padding-left: 20px; }
.release h3 { font-size: 14px; }

/* 1.1.1: greeting on Overzicht */
.greeting-line { display: none; }

/* 1.2.1: public pages */
.auth-card.public-page { max-width: 720px; }
.public-page h2 { font-size: 16px; margin-top: 12px; }
.public-page ul { margin: 0; padding-left: 20px; }
.public-page p, .public-page li { line-height: 1.55; }

/* 1.3.0: chooser tiles and step plan */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.choice { display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--card); color: var(--text); text-decoration: none; }
.choice:hover, .choice:focus-visible { border-color: var(--accent); background: var(--card); color: var(--text); text-decoration: none; }
.choice-title { font-weight: 500; font-size: 14px; } .choice-sub { font-size: 13px; color: var(--muted); }
.steps { display: flex; flex-direction: column; gap: 8px; counter-reset: stap; }
.step-row { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--border-soft); border-radius: 0; background: transparent; color: var(--text); text-decoration: none; }
.step-row:hover { color: var(--accent); text-decoration: none; }
.step-nr { width: 24px; height: 24px; flex-shrink: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-input); font-weight: 500; font-size: 12px; color: var(--muted); }
.step-row.klaar .step-nr { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.auto-list { margin: 0; padding-left: 20px; } .auto-list li { margin: 4px 0; }

/* 1.4.0: source tiles */
.choice-source { border-style: dashed; } .choice-source .choice-title::after { content: ' · automatisch'; color: var(--accent); font-weight: 500; font-size: 13px; }
.model-list { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; } .model-option { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--card); cursor: pointer; } .model-option input { margin-top: 4px; }
.danger-zone { border-color: var(--block-btn); margin-top: 16px; }
.flashes { position: sticky; top: 8px; z-index: 20; border-radius: var(--radius-s); }
.recent-uploads { margin-top: 8px; } .recent-uploads ul { margin: 4px 0; padding-left: 18px; }
.bulk-bar { gap: 12px; align-items: center; margin-bottom: 12px; } .bulk-check { display: flex; align-items: center; padding-right: 4px; }

/* 1.11.0: sankey "Opbouw vermogen" on Overzicht. Colours from the SPEC §10 accent plus one warm tone for debts
   (validated against the accent: CVD ΔE 14.4, normal 24.2); every node is also labelled, so colour is never alone. */
.sankey { width: 100%; height: auto; display: block; overflow: visible; }
.sankey-narrow { display: none; }
.sk-link { stroke: var(--bg); stroke-width: 1; }
.sk-link.sk-bezit, .sk-link.sk-tekort { fill: var(--sk-bezit-fill); }
.sk-link.sk-schuld { fill: var(--sk-schuld-fill); }
.sk-link.sk-netto { fill: var(--sk-netto-fill); }
.sk-link:hover { filter: brightness(.9); }
.sk-node.sk-bezit, .sk-node.sk-midden { fill: var(--accent); }
.sk-node.sk-schuld, .sk-node.sk-tekort { fill: var(--block-text); }
.sk-node.sk-netto { fill: var(--accent-hover); }
.sk-label { font-family: var(--sans); font-size: 13px; fill: var(--text); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; }
.sk-name { font-weight: 600; }
.sk-amount { fill: var(--muted); font-variant-numeric: tabular-nums; }
.sk-dot-bezit { background: var(--accent); } .sk-dot-schuld { background: var(--block-text); } .sk-dot-netto { background: var(--accent-hover); }
/* 2.16.1: clickable blocks in "Opbouw vermogen" and the list of posts below the chart */
.sk-hit { cursor: pointer; } .sk-hit:hover .sk-name, .sk-hit:focus-visible .sk-name, .sk-hit[aria-expanded="true"] .sk-name { text-decoration: underline; fill: var(--accent-text); }
.sk-hit:hover .sk-node, .sk-hit:focus-visible .sk-node { filter: brightness(1.15); } .sk-hit:focus { outline: none; }
.sk-detail { display: none; scroll-margin-bottom: 120px; margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; } .sk-detail.open, .sk-detail:target { display: block; }
.sk-detail-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; } .sk-detail-head span { color: var(--muted); font-size: 13px; } .sk-detail-head .sk-close { margin-left: auto; font-size: 13px; }
.sk-table summary { min-height: 44px; display: flex; align-items: center; color: var(--accent); font-weight: 600; font-size: 14px; }
tr.sk-total td { font-weight: 600; border-top: 1px solid var(--border); }
@media (max-width: 800px) {
  .sankey-wide { display: none; } .sankey-narrow { display: block; }
  .sk-label { font-size: 12px; }
}

/* 1.14.0: passkeys */
[hidden] { display: none !important; }
.passkey-alt { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border-soft); }

/* 1.10.0: phone layout (iPhone 16 Pro is 402 pt wide). The desktop layout above 800px is unchanged. */
.topbar, .tabbar, .filter-details > summary { display: none; }
.btn.mobile-only, .chart-narrow, .mobile-meta { display: none; }
.btn-block { width: 100%; }
.center { text-align: center; }
.avatar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 22px; background: var(--active); color: var(--text); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; }
.card.menu-list { padding: 0; gap: 0; border-top: 0; }
.menu-list > a, .menu-list > .menu-disabled { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 16px; color: var(--text); text-decoration: none; border-top: 1px solid var(--border-soft); }
.menu-list > :first-child { border-top: none; }
.menu-list > a:hover { color: var(--accent); }
.menu-list .chev { color: var(--muted); font-size: 22px; line-height: 1; }
.menu-disabled { color: var(--muted) !important; }
@media (max-width: 800px) {
  body { font-size: 16px; -webkit-text-size-adjust: 100%; }
  .shell { display: block; min-height: 0; }
  .sidebar { display: none; }
  .side-panel { display: none; }
  .topbar { display: flex; align-items: center; justify-content: space-between; min-height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0; border-bottom: 1px solid var(--border-soft); background: var(--bg); }
  .topbar .brand-name { font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none; }
  .main { padding: 20px 16px calc(88px + env(safe-area-inset-bottom)); gap: 16px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); background: var(--bg); border-top: 1px solid var(--border); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; color: var(--muted); text-decoration: none; font-size: 11px; line-height: 1.1; }
  .tabbar a.active { color: var(--accent); font-weight: 600; }
  .tabbar .badge { position: absolute; top: 4px; left: 50%; margin-left: 6px; min-width: 20px; height: 20px; padding: 0 6px; font-size: 11px; }
  h1 { font-size: 20px; } h2 { font-size: 16px; } h3 { font-size: 15px; }
  .page-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .page-head .actions { gap: 8px; }
  .card { padding: 14px 0 0; gap: 10px; }
  .help { font-size: 13px; }
  .kv { font-size: 15px; }
  .btn { min-height: 44px; font-size: 15px; } .btn-small { min-height: 44px; font-size: 14px; }
  .nav a, .kv, .list-item { min-height: 48px; }
  .linklike { min-height: 44px; }
  input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input:not([type]), select, textarea,
  table.proposal-fields input.compact, table.proposal-fields select { font-size: 16px; min-height: 44px; }
  .flashes { top: 8px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .kpis .kpi:first-child, .kpis .kpi:last-child { grid-column: 1 / -1; }
  .kpis .kpi .value { font-size: 24px; }
  .kpis .kpi:first-child .value { font-size: 36px; }
  .list-item { flex-wrap: wrap; gap: 8px 12px; padding: 14px; }
  .list-item > .grow { flex: 1 1 220px; }
  .list-item > .btn { margin-left: auto; }
  .filter-details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--field); font-weight: 600; list-style: none; }
  .filter-details > summary::-webkit-details-marker { display: none; }
  .filter-details > summary::after { content: '▾'; color: var(--muted); }
  .filter-details[open] > summary { margin-bottom: 8px; }
  .filters.card { flex-direction: column; align-items: stretch; padding: 16px; }
  .filters select, .filters input { width: 100%; min-width: 0; }
  .filters .filters-actions .btn { flex: 1 1 0; }
  .card > form.row, .reject-form { flex-wrap: wrap; } .reject-form > .grow { flex-basis: 100%; } .reject-form .btn { flex: 1 1 auto; }
  .bulk-bar { flex-wrap: wrap; } .bulk-bar input[type=text] { flex-basis: 100%; }
  .seg { flex-wrap: wrap; }
  .doc-frame { height: 70vh; } .doc-text, .pre, .doc-image { max-height: 60vh; }
  .inbox-address { font-size: 20px; }
  .choice-grid { grid-template-columns: 1fr; }
  .sparkline { height: 160px; }
  .chart-wide { display: none; } .chart-narrow { display: block; }
  .card-head { flex-wrap: wrap; row-gap: 8px; } .card-head .seg { flex-wrap: nowrap; }
  .card-head .total { font-size: 19px; }
  .page-head .actions .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .diff td.old { text-decoration: none; }

  /* Tables become lists: one block per row, the first cell as title, the column header (set by app.js) above each value. */
  table.data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.data, table.data tbody { display: block; width: 100%; }
  table.data tr { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
  table.data tr:last-child { border-bottom: none; }
  table.data td { display: block; padding: 0; border: none !important; width: auto !important; font-size: 15px; }
  table.data td:first-child { flex-basis: 100%; font-weight: 600; }
  table.data td.num { margin-left: auto; text-align: right; }
  table.data td:empty, table.data td.leeg { display: none; }
  table.data td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
  table.data td:has(input, select, textarea) { flex-basis: 100%; }

  /* Register: name and institution on the left, amount on the right (no column labels). */
  table.data.list-mobile tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: start; padding: 14px 0; }
  table.data.list-mobile td { grid-column: 1; }
  table.data.list-mobile td::before { content: none; }
  table.data.list-mobile td:not(:first-child):not(.num) { font-size: 13px; color: var(--muted); }
  table.data.list-mobile td.num { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  table.data.list-mobile td.num > div:first-child { font-size: 16px; font-weight: 500; }
  table.data.list-mobile td.c-src, table.data.list-mobile td.c-inst, table.data.list-mobile td.c-cat { display: none; }
  table.data.list-mobile .mobile-meta { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
  table.data.list-mobile td.num .chip-estimate { display: block; width: fit-content; margin: 4px 0 0 auto; font-family: var(--sans); font-size: 11px; }

  /* Decision buttons on a proposal stay within thumb reach while scrolling the fields. */
  .decision-bar { position: sticky; bottom: calc(57px + env(safe-area-inset-bottom)); z-index: 10; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 -16px; padding: 12px 16px; background: var(--card); border-top: 1px solid var(--border); }
  .decision-bar .btn { width: 100%; }
  .decision-bar .btn.mobile-only { display: inline-flex; order: 1; }
  .decision-bar .btn-primary { order: 2; }
  .decision-bar .btn[value=corrigeren] { order: 3; grid-column: 1 / -1; }
}

/* 1.17.0 Abonnementen en bankafschrift */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
details.card > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; }
details.inline-details { display: inline-block; margin-left: 8px; }
details.inline-details > summary { cursor: pointer; color: var(--accent); display: inline; }
details.inline-details form { margin-top: 6px; gap: 8px; flex-wrap: wrap; }
details.inline-details select { width: auto; min-width: 160px; }
label.row { font-weight: 500; margin: 0; gap: 8px; }
label.row input[type=checkbox] { width: auto; }
@media (max-width: 800px) {
  details.inline-details { display: block; margin: 4px 0 0; }
  details.inline-details select { width: 100%; }
}
.filters input[type=checkbox] { min-width: 0; width: auto; min-height: 0; }

/* 1.19.0: utility classes instead of inline style attributes, which the CSP (style-src 'self') blocks */
.w-720 { max-width: 720px !important; } .w-920 { max-width: 920px !important; } .w-640 { max-width: 640px !important; }
.w-560 { max-width: 560px !important; } .w-520 { max-width: 520px !important; } .w-360 { max-width: 360px !important; }
.w-280 { max-width: 280px !important; } .w-40p { width: 40% !important; } .w-auto { width: auto !important; }
.fix-220 { width: 220px !important; flex: 0 0 220px !important; } .minw-180 { min-width: 180px !important; }
.gap-8 { gap: 8px !important; } .gap-10 { gap: 10px !important; } .gap-12 { gap: 12px !important; }
.gap-14 { gap: 14px !important; } .gap-16 { gap: 16px !important; }
.justify-end { justify-content: flex-end !important; } .align-end { align-items: flex-end !important; }
.wrap { flex-wrap: wrap !important; } .mt-6 { margin-top: 6px !important; } .mt-8 { margin-top: 8px !important; }
.mt-12 { margin-top: 12px !important; } .pt-0 { padding-top: 0 !important; } .bg-accent { background: var(--accent) !important; }
.js-pct { width: 0; }

/* 2.14.0: scenario as list + panel; Overzicht footer */
.sc-layout { display: grid; grid-template-columns: minmax(220px, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.sc-list { display: flex; flex-direction: column; } .sc-list h2 { margin: 0 0 8px; }
.sc-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 10px; border-top: 1px solid var(--border-soft); color: var(--text); text-decoration: none; }
.sc-list a:last-child { border-bottom: 1px solid var(--border-soft); }
.sc-list a:hover { background: var(--sidebar); text-decoration: none; }
.sc-list a.active { background: var(--accent-light); border-radius: var(--radius-xs); font-weight: 500; }
.sc-list-val { color: var(--muted); white-space: nowrap; } .sc-list a.active .sc-list-val { color: var(--text); }
.sc-panel > .card { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
@media (max-width: 900px) { .sc-layout { grid-template-columns: 1fr; gap: 20px; } }
