/* ==========================================================================
   DVRental — eigen huisstijl
   Kleur: leisteen (inkt), dieselgroen (hoofdkleur), signaalgeel (alleen "actie nodig" / volgende stap).
   Type: Archivo (normaal) en Archivo Narrow-breedte voor dichte tabellen en het planbord.
   ========================================================================== */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: italic; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations");
}

:root {
  --ink: #17212A;
  --ink-2: #3B4752;
  --muted: #66727D;
  --line: #DCE1E4;
  --line-soft: #E9EDEF;
  --canvas: #F2F4F3;
  --surface: #FFFFFF;
  --diesel: #0E5A4C;
  --diesel-2: #13715F;
  --diesel-soft: #E3EFEB;
  --signal: #F2B705;
  --signal-ink: #3A2C00;
  --signal-soft: #FFF4CC;
  --blue: #2F63C8;
  --blue-soft: #E5EDFB;
  --green: #1E8551;
  --green-soft: #E2F3E9;
  --red: #C0392B;
  --red-soft: #FBE7E4;
  --amber: #B86E00;
  --amber-soft: #FDF0DD;
  --grey-soft: #ECEEF0;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --narrow: "Archivo", system-ui, sans-serif;

  --radius-s: 4px;
  --radius-m: 8px;
  --rail-w: 84px;
  --topbar-h: 60px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--canvas);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--diesel); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 26px; line-height: 1.15; font-stretch: 92%; }
h2 { font-size: 18px; line-height: 1.25; }
h3 { font-size: 15px; }
p { margin: 0 0 var(--space-3); }
kbd {
  font-family: var(--font); font-size: 11px; padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: var(--radius-s); color: var(--muted); background: var(--surface);
}
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
h1:focus, h1:focus-visible { outline: none; } /* focus na navigatie (schermlezers) zonder kader */
.narrow { font-stretch: 78%; }
.muted { color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.text-danger { color: var(--red); font-weight: 650; }
.text-ok { color: var(--green); }

/* ------------------------------------------------------------------ shell */
.shell { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: 100vh; }
.rail {
  position: sticky; top: 0; height: 100vh; background: var(--ink); color: #C9D1D7;
  display: flex; flex-direction: column; align-items: stretch; padding: var(--space-3) var(--space-2); gap: 2px; z-index: 20;
}
.rail-brand { display: flex; justify-content: center; margin-bottom: var(--space-4); }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-m);
  background: var(--signal); color: var(--signal-ink); font-weight: 800; font-size: 15px; font-stretch: 85%; letter-spacing: 0.02em;
}
.rail-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 8px; border-radius: var(--radius-m);
  color: #C9D1D7; font-size: 11.5px; font-weight: 500; text-decoration: none; position: relative;
}
.rail-item:hover { background: #22303B; color: #fff; text-decoration: none; }
.rail-item.active { background: #26343F; color: #fff; }
.rail-item.active::before {
  content: ""; position: absolute; left: -8px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 2px 2px 0; background: var(--signal);
}

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: var(--topbar-h); display: flex; align-items: center; gap: var(--space-4); padding: 0 var(--space-6);
  background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10;
}
.search-trigger {
  flex: 1; max-width: 560px; display: flex; align-items: center; gap: var(--space-3); height: 38px; padding: 0 var(--space-3);
  border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--canvas); color: var(--muted);
  font: inherit; cursor: text; text-align: left;
}
.search-trigger span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.search-trigger:hover { border-color: #C5CDD2; }
.topbar-end { margin-left: auto; display: flex; align-items: center; gap: var(--space-4); }
.topbar-date { color: var(--muted); }
.content { padding: var(--space-5) var(--space-6) var(--space-6); width: 100%; box-sizing: border-box; }

/* ------------------------------------------------------------------ knoppen (eigen, naast DevExpress) */
.btn, .btn-signal, .btn-primary, .btn-quiet, .btn-danger {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--radius-m);
  font: inherit; font-weight: 600; cursor: pointer; border: 1px solid transparent; text-decoration: none; white-space: nowrap;
}
.btn { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn:hover { border-color: #BFC7CD; text-decoration: none; }
.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { background: #E3AB00; text-decoration: none; }
.btn-primary { background: var(--diesel); color: #fff; }
.btn-primary:hover { background: var(--diesel-2); text-decoration: none; }
.btn-quiet { background: transparent; color: var(--ink-2); }
.btn-quiet:hover { background: var(--grey-soft); text-decoration: none; }
.btn-danger { background: var(--surface); border-color: #E9B9B3; color: var(--red); }
.btn-danger:hover { background: var(--red-soft); }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 13px; }
button[disabled], .btn[aria-disabled=true] { opacity: .5; cursor: not-allowed; }

/* ------------------------------------------------------------------ paginakop */
.page-head { display: flex; align-items: flex-end; gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.page-head .titles { flex: 1; min-width: 240px; }
.page-head .subtitle { color: var(--muted); margin-top: 4px; }
.page-head .actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: calc(-1 * var(--space-2)) 0 var(--space-5); overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.tabs a {
  padding: 10px 14px; color: var(--ink-2); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.active { color: var(--ink); border-bottom-color: var(--diesel); font-weight: 650; }
.tabs .count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; box-sizing: border-box;
  border-radius: 10px; background: var(--grey-soft); color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1;
}
.tabs a.active .count { background: var(--diesel); color: #fff; }

/* ------------------------------------------------------------------ vlakken */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.panel-head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line-soft); }
.panel-head h2 { font-size: 15px; flex: 1; }
.panel-body { padding: var(--space-4); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); }
.grid-main-side { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-5); align-items: start; }
.stack { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.panel { min-width: 0; }
.table-scroll { overflow-x: auto; max-width: 100%; }
.row { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.divider { border: 0; border-top: 1px solid var(--line-soft); margin: var(--space-4) 0; }

/* sleutel-waarde lijst */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px var(--space-4); margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ status */
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 600;
  white-space: nowrap; background: var(--grey-soft); color: var(--ink-2);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge.plain::before { display: none; }
.badge.s-request { background: var(--signal-soft); color: var(--signal-ink); }
.badge.s-quote { background: var(--grey-soft); color: var(--ink-2); }
.badge.s-reservation { background: var(--blue-soft); color: var(--blue); }
.badge.s-contract { background: var(--green-soft); color: var(--green); }
.badge.s-completed { background: var(--diesel-soft); color: var(--diesel); }
.badge.s-archived { background: var(--grey-soft); color: var(--muted); }
.badge.s-cancelled { background: var(--red-soft); color: var(--red); }
.badge.s-warning { background: var(--amber-soft); color: var(--amber); }
.badge.s-danger { background: var(--red-soft); color: var(--red); }
.badge.s-ok { background: var(--green-soft); color: var(--green); }

/* ------------------------------------------------------------------ stappenbalk ("spoor") van een order */
.track { display: flex; align-items: stretch; margin: 0 0 var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.track-step {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 16px 10px 24px; position: relative; min-width: 0;
  color: var(--muted); background: var(--surface);
}
.track-step + .track-step::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: inherit; z-index: 1;
}
.track-step .step-name { font-weight: 650; font-size: 13.5px; }
.track-step .step-when { font-size: 12px; }
.track-step.done { color: var(--ink-2); background: #F7F9F8; }
.track-step.done .step-name::before { content: "✓ "; color: var(--green); }
.track-step.current { background: var(--signal); color: var(--signal-ink); }
.track-step.current + .track-step::before { background: var(--signal); border-color: var(--signal); }
.track-step.done + .track-step::before { background: #F7F9F8; }
.track-step.cancelled { background: var(--red-soft); color: var(--red); }

/* ------------------------------------------------------------------ werklijst (Vandaag) */
.worklist { display: flex; flex-direction: column; }
.work-item {
  display: grid; grid-template-columns: 4px 36px minmax(0, 1fr) auto; align-items: center; gap: 0 var(--space-3);
  padding: 10px var(--space-4) 10px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink);
}
.work-item:last-child { border-bottom: 0; }
.work-item:hover { background: #FAFBFA; text-decoration: none; }
.work-item .edge { align-self: stretch; border-radius: 0 2px 2px 0; }
.work-item.sev-info .edge { background: var(--line); }
.work-item.sev-warning .edge { background: var(--signal); }
.work-item.sev-critical .edge { background: var(--red); }
.work-item .wi-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius-m); background: var(--canvas); color: var(--ink-2); }
.work-item .wi-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-item .wi-sub { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-item .wi-action { font-weight: 600; color: var(--diesel); font-size: 13px; white-space: nowrap; }
.work-group-title { padding: var(--space-4) var(--space-4) var(--space-2); font-weight: 700; display: flex; gap: var(--space-2); align-items: baseline; }
.work-group-title .count { color: var(--muted); font-weight: 500; }

/* kerncijfers als één regel, geen kaartjes */
.kpi-line { display: flex; flex-wrap: wrap; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); margin-bottom: var(--space-5); }
.kpi { flex: 1 1 140px; padding: 12px 18px; border-right: 1px solid var(--line-soft); min-width: 0; }
.kpi:last-child { border-right: 0; }
.kpi .kpi-value { font-size: 22px; font-weight: 700; font-stretch: 88%; line-height: 1.1; }
.kpi .kpi-label { color: var(--muted); font-size: 12.5px; }
.kpi.alert .kpi-value { color: var(--red); }
a.kpi { color: inherit; }
a.kpi:hover { background: #FAFBFA; text-decoration: none; }

/* ------------------------------------------------------------------ lege toestand */
.empty { padding: var(--space-6) var(--space-4); text-align: center; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 4px; }

/* ------------------------------------------------------------------ meldingen (waarschuwingen bij acties) */
.notice { display: flex; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-m); margin-bottom: var(--space-4); align-items: flex-start; }
.notice.warning { background: var(--signal-soft); color: var(--signal-ink); border: 1px solid #F0D981; }
.notice.danger { background: var(--red-soft); color: #7A1F15; border: 1px solid #EFC2BC; }
.notice.info { background: var(--blue-soft); color: #1E3E7E; border: 1px solid #C9D9F5; }
.notice ul { margin: 4px 0 0; padding-left: 18px; }

/* ------------------------------------------------------------------ eenvoudige tabellen (naast DxGrid) */
table.simple { width: 100%; border-collapse: collapse; }
table.simple th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12.5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.simple td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.simple tr:last-child td { border-bottom: 0; }
table.simple tr.clickable { cursor: pointer; }
table.simple tr.clickable:hover td { background: #FAFBFA; }
table.simple td.actions { text-align: right; white-space: nowrap; }

/* ------------------------------------------------------------------ zoekpalet */
.palette-backdrop { position: fixed; inset: 0; background: rgba(23, 33, 42, .35); z-index: 1000; }
.palette {
  position: fixed; top: 12vh; left: 50%; transform: translateX(-50%); width: min(680px, calc(100vw - 32px)); z-index: 1001;
  background: var(--surface); border-radius: 12px; box-shadow: 0 24px 60px rgba(23, 33, 42, .28); overflow: hidden;
}
.palette-input { display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-4); border-bottom: 1px solid var(--line); color: var(--muted); }
.palette-input input { flex: 1; height: 56px; border: 0; outline: 0; font: inherit; font-size: 17px; color: var(--ink); background: transparent; }
.palette-results { max-height: 60vh; overflow-y: auto; padding: var(--space-2) 0; }
.palette-section { padding: 8px var(--space-4) 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.palette-hit { display: flex; align-items: center; gap: var(--space-3); padding: 8px var(--space-4); color: var(--ink); }
.palette-hit.selected, .palette-hit:hover { background: var(--diesel-soft); text-decoration: none; }
.palette-hit .hit-title { font-weight: 600; white-space: nowrap; }
.palette-hit .hit-sub { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-empty { padding: var(--space-4); color: var(--muted); }

/* ------------------------------------------------------------------ formulieren */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-bottom: 4px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 3px; }
.validation-message { color: var(--red); font-size: 12px; }

/* ------------------------------------------------------------------ filterbalk */
.filterbar { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; margin-bottom: var(--space-3); }
.filterbar .f-search { width: 340px; max-width: 100%; }
.filterbar .f-period { width: 270px; max-width: 100%; }
.filterbar .f-select { width: 200px; }

/* ------------------------------------------------------------------ DevExpress-afstemming */
body, .dxbl-text, .dxbl-grid, .dxbl-btn, input, select, textarea { font-family: var(--font) !important; }
.dxbl-grid-table .dxbl-grid-data-row { cursor: default; }
.grid-clickable .dxbl-grid-data-row { cursor: pointer; }
.grid-narrow .dxbl-grid-table { font-stretch: 86%; }
.dxbl-grid { --dxbl-grid-font-size: 13.5px; }
.dxbl-grid .dxbl-grid-header-content { font-weight: 600; }
.grid-dense .dxbl-grid { font-stretch: 85%; }
.dxbl-btn { font-family: var(--font) !important; }

/* ------------------------------------------------------------------ foutbalk */
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 24px; background: var(--red); color: #fff; z-index: 2000; }
#blazor-error-ui a { color: #fff; text-decoration: underline; margin-left: 8px; }

/* ------------------------------------------------------------------ smal scherm */
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .topbar { gap: var(--space-3); }
  .search-trigger { min-width: 0; }
  .topbar-end .btn-signal .lbl { display: none; }
  .topbar-end .btn-signal { padding: 0 10px; }
  .content { min-width: 0; }
  .rail { position: fixed; bottom: 0; top: auto; left: 0; right: 0; height: auto; flex-direction: row; justify-content: space-around; padding: 4px; }
  .rail-brand { display: none; }
  .rail-item { flex: 1; font-size: 10.5px; padding: 6px 0; }
  .rail-item.active::before { left: 20%; right: 20%; top: -4px; bottom: auto; width: auto; height: 3px; }
  .topbar { padding: 0 var(--space-4); }
  .topbar-date, .search-trigger kbd { display: none; }
  .content { padding: var(--space-4) var(--space-4) 96px; }
  .grid-2, .grid-main-side, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .track { flex-direction: column; }
  .track-step + .track-step::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ------------------------------------------------------------------ orderscherm */
.next-action {
  display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin: calc(-1 * var(--space-2)) 0 var(--space-5);
  padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--signal);
  border-radius: var(--radius-m);
}
.next-action .na-text { flex: 1; min-width: 240px; display: flex; flex-direction: column; }
.small { font-size: 12.5px; }
.lines-table td { vertical-align: top; }
.lines-table tr.child td:first-child { padding-left: 28px; position: relative; }
.lines-table tr.child td:first-child::before { content: "↳"; position: absolute; left: 10px; color: var(--muted); }
.lines-table tr.text-line td { font-style: italic; color: var(--ink-2); }
.lines-table tfoot td { border-bottom: 0; padding-top: 4px; padding-bottom: 4px; }
.lines-table tfoot tr:first-child td { border-top: 1px solid var(--line); padding-top: 10px; }
.lines-table tfoot tr.grand td { font-weight: 700; font-size: 15px; }
.lines-table tr.editing td { background: #FAFBF7; }
.line-desc { font-weight: 550; }
.line-editor { display: grid; grid-template-columns: 2fr repeat(5, minmax(110px, 1fr)); gap: var(--space-3); align-items: end; }
.line-editor .wide { grid-column: span 1; }
.asset-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.asset-chip {
  display: inline-flex; align-items: center; gap: 2px; height: 22px; padding: 0 4px 0 8px; border-radius: 11px; font-size: 12px; font-weight: 600;
  background: var(--grey-soft); color: var(--ink-2); border: 1px dashed #B9C2C8;
}
.asset-chip a { color: inherit; }
.asset-chip.issued { background: var(--blue-soft); color: var(--blue); border-style: solid; border-color: transparent; }
.asset-chip.returned { background: var(--green-soft); color: var(--green); border-style: solid; border-color: transparent; }
.chip-btn { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 2px; display: inline-flex; opacity: .7; }
.chip-btn:hover { opacity: 1; }
.chip-add { height: 22px; padding: 0 8px; border-radius: 11px; border: 1px dashed var(--signal); background: var(--signal-soft); color: var(--signal-ink);
  font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.add-line { display: flex; flex-direction: column; gap: var(--space-2); }
.add-line-row { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.add-line-row .al-product { flex: 1; min-width: 260px; }
.add-line-row .al-qty { width: 110px; }
.add-line-row.extra { gap: 2px; }
.al-preview { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; padding: 6px 0; }
.al-price { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 92px 1fr auto; gap: var(--space-3); padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.timeline li:last-child { border-bottom: 0; }
.timeline .t-when { color: var(--muted); font-size: 12.5px; }
.timeline li.reverted .t-what { text-decoration: line-through; color: var(--muted); }
.deposit-box { padding: var(--space-3); border-radius: var(--radius-m); background: var(--canvas); }
.sticky-save { position: sticky; bottom: 0; padding: var(--space-3) 0; background: linear-gradient(to bottom, rgba(242,244,243,0), var(--canvas) 30%); }
table.simple.compact td { padding: 6px 4px; }
@media (max-width: 1200px) { .grid-main-side { grid-template-columns: minmax(0, 1fr); } .line-editor { grid-template-columns: repeat(2, 1fr); } }
.btn-quiet.is-active { background: var(--diesel-soft); color: var(--diesel); }
.summary-panel { position: sticky; top: calc(var(--topbar-h) + var(--space-4)); }

/* lijsten die tot onderaan het scherm lopen (hoogte via app.js) */
.grid-fill { min-height: 320px; }

/* lijstopties boven een lijst */
.grid-tools { display: flex; gap: 2px; justify-content: flex-end; padding: 6px 8px; border-bottom: 1px solid var(--line-soft); }
