/* RaBePro Sales — zwart · groen · wit */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-latin-400-normal.woff2) format("woff2"),url(fonts/inter-latin-400-normal.woff) format("woff");}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-latin-500-normal.woff2) format("woff2"),url(fonts/inter-latin-500-normal.woff) format("woff");}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-latin-600-normal.woff2) format("woff2"),url(fonts/inter-latin-600-normal.woff) format("woff");}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-latin-700-normal.woff2) format("woff2"),url(fonts/inter-latin-700-normal.woff) format("woff");}
@font-face{font-family:"Inter";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/inter-latin-800-normal.woff2) format("woff2"),url(fonts/inter-latin-800-normal.woff) format("woff");}
:root {
  --ink: #0d110e;
  --ink-2: #1a201b;
  --text: #1d2420;
  --muted: #6b746e;
  --line: #e4e8e2;
  --line-2: #eef1ec;
  --bg: #f6f7f4;
  --white: #fff;
  --green: #649a28;
  --green-2: #8cc63f;
  --green-soft: #eef6e4;
  --red: #c0392b;
  --red-soft: #fbecea;
  --orange: #c77700;
  --orange-soft: #fdf3e2;
  --blue: #2563a8;
  --blue-soft: #e9f1fa;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13,17,14,.04), 0 4px 16px rgba(13,17,14,.05);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
h1 { font-size: 24px; letter-spacing: -.02em; margin: 0; }
h2 { font-size: 17px; margin: 0 0 12px; letter-spacing: -.01em; }
h3 { font-size: 14px; margin: 20px 0 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--green); }
.topbar-inner { max-width: 1320px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand b { color: var(--green-2); font-weight: 700; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav a, .nav span { color: #c9d0ca; text-decoration: none; padding: 8px 13px; border-radius: 999px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: #fff; background: var(--ink-2); }
.nav a.active { color: var(--ink); background: var(--green-2); }
.nav span.soon { color: #5b645d; cursor: not-allowed; }
.nav span.soon small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; margin-left: 5px; border: 1px solid #3a423b; border-radius: 999px; padding: 1px 6px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.adm-switch select { background: var(--ink-2); color: #fff; border: 1px solid #2c342d; border-radius: 999px; padding: 7px 30px 7px 14px; max-width: 240px; font: inherit; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; cursor: pointer; border: 0; }
.menu { position: relative; }
.menu-list { display: none; position: absolute; right: 0; top: 44px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); min-width: 220px; padding: 6px; z-index: 60; }
.menu.open .menu-list { display: block; }
.menu-list a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--text); }
.menu-list a:hover { background: var(--bg); }
.menu-list .who { padding: 9px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }

/* ---------- Layout ---------- */
.container { max-width: 1320px; margin: 0 auto; padding: 20px 20px 50px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.page-head .sub { color: var(--muted); margin-top: 3px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card + .card { margin-top: 16px; }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); gap: 10px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.stack > * + * { margin-top: 16px; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: inherit; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .12s; }
.tile:hover { transform: translateY(-1px); }
.tile .label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tile .value { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tile .meta { font-size: 12.5px; color: var(--muted); }
.tile::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line); }
.tile.green::after { background: var(--green); }
.tile.red::after { background: var(--red); }
.tile.blue::after { background: var(--blue); }
.tile.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile.dark .label, .tile.dark .meta { color: #a9b2ab; }
.tile.dark::after { background: var(--green-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 17px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.2; }
.btn:hover { border-color: #c9cfc7; background: #fafbf9; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #262e27; border-color: #262e27; }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-green:hover { background: #578a20; border-color: #578a20; }
.btn-danger { color: var(--red); }
.btn-danger:hover { background: var(--red-soft); border-color: #f0c9c4; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon { width: 16px; height: 16px; flex: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font: inherit; }

/* ---------- Forms ---------- */
.form label, label.field { display: block; font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.form label > input, .form label > select, .form label > textarea, label.field > input, label.field > select, label.field > textarea { margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input[type=tel], input[type=url], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--text); background: #fff; border: 1px solid #d6dbd4; border-radius: 10px; padding: 9px 12px; outline: none; transition: border-color .12s, box-shadow .12s;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(100,154,40,.15); }
textarea { min-height: 80px; resize: vertical; }
input[type=color] { width: 54px; height: 38px; padding: 3px; border: 1px solid #d6dbd4; border-radius: 10px; background: #fff; }
.rq::after { content: " *"; color: var(--red); }
.hint { font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.error-text { color: var(--red); font-weight: 500; font-size: 12.5px; margin-top: 4px; }
.check { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 500 !important; cursor: pointer; }
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--green); }
.inline { display: flex; gap: 8px; align-items: center; }
.search { position: relative; }
.search input { padding: 6px 12px 6px 32px; border-radius: 999px; min-width: 300px; font-size: 13px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; border: 1px solid; font-weight: 500; }
.alert ul { margin: 6px 0 0; padding-left: 18px; font-weight: 400; }
.alert-success { background: var(--green-soft); border-color: #d3e8bb; color: #3c6514; }
.alert-error { background: var(--red-soft); border-color: #f3cdc8; color: #8f2a1f; }
.alert-info { background: var(--blue-soft); border-color: #cfe0f3; color: #1d4c80; }
.alert-warn { background: var(--orange-soft); border-color: #f4dcb4; color: #8a5300; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 7px 12px; border-bottom: 1px solid var(--line); background: #fbfcfa; white-space: nowrap; }
.table th a { color: inherit; text-decoration: none; }
.table th a.sorted { color: var(--ink); }
.table td { padding: 5px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; font-size: 13px; line-height: 1.35; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr.click { cursor: pointer; }
.table tbody tr.click:hover td { background: #f8faf6; }
.table .strong { font-weight: 600; }
.table-wrap { overflow-x: auto; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.grey { background: #eff1ee; color: #5f6862; }
.pill.green { background: var(--green-soft); color: #4b7c19; }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.orange { background: var(--orange-soft); color: var(--orange); }
.pill.blue { background: var(--blue-soft); color: var(--blue); }
.tag { display: inline-block; padding: 1px 6px; border-radius: 5px; font-size: 10.5px; font-weight: 600; background: #eff1ee; color: #5f6862; }
.tag.exact { background: #fdeceb; color: #d1342b; }
.tag.app { background: var(--green-soft); color: #4b7c19; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); font-weight: 500; font-size: 13px; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .count { opacity: .6; margin-left: 4px; }

.pager { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.pager .pages { display: flex; gap: 4px; }
.pager a, .pager span.cur { min-width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 8px; text-decoration: none; color: var(--text); padding: 0 8px; }
.pager a:hover { background: var(--bg); }
.pager span.cur { background: var(--ink); color: #fff; }
.pager select { width: auto; padding: 5px 10px; border-radius: 8px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 16px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active { color: var(--ink); border-color: var(--green); }

/* ---------- Invoice editor ---------- */
.editor-meta { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; }
.lines { width: 100%; border-collapse: separate; border-spacing: 0; }
.lines th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; text-align: left; padding: 0 6px 8px; white-space: nowrap; }
.lines td { padding: 5px 4px; vertical-align: top; }
.lines input, .lines select, .lines textarea { padding: 8px 9px; border-radius: 8px; font-size: 13.5px; }
.lines textarea { min-height: 38px; height: 38px; resize: vertical; }
.lines .c-art { width: 150px; } .lines .c-qty { width: 78px; } .lines .c-unit { width: 78px; } .lines .c-price { width: 104px; }
.lines .c-disc { width: 62px; } .lines .c-vat { width: 116px; } .lines .c-gl { width: 190px; } .lines .c-amt { width: 104px; } .lines .c-del { width: 36px; }
.lines .amount { padding: 9px 4px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lines tr.line:hover td { background: #fafbf9; }
.lines .drag { cursor: grab; color: #b5bcb4; padding-top: 10px; }
.del-line { border: 0; background: none; color: #a3aba4; cursor: pointer; padding: 8px; border-radius: 8px; }
.del-line:hover { color: var(--red); background: var(--red-soft); }
.totals { margin-left: auto; width: 340px; }
.totals .row { display: flex; justify-content: space-between; padding: 6px 0; font-variant-numeric: tabular-nums; }
.totals .grand { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px; font-size: 18px; font-weight: 700; }
.regime strong { white-space: nowrap; }
.regime { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--blue-soft); color: #1d4c80; margin-top: 14px; }
.regime.hidden { display: none; }
.sticky-bar { position: sticky; bottom: 0; background: rgba(246,247,244,.92); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 12px 0; margin-top: 20px; z-index: 20; }
.sticky-bar .inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

/* combobox */
.combo { position: relative; }
.combo-list { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.12); max-height: 300px; overflow-y: auto; z-index: 40; padding: 4px; min-width: 280px; }
.combo.open .combo-list { display: block; }
.combo-item { padding: 8px 10px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.combo-item:hover, .combo-item.hl { background: var(--green-soft); }
.combo-item small { color: var(--muted); }
.combo-empty { padding: 10px; color: var(--muted); }

/* ---------- Invoice view ---------- */
.pdf-frame { width: 100%; height: 980px; border: 0; border-radius: var(--radius); background: #e9ece7; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 20px; font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.timeline li::after { content: ""; position: absolute; left: 7.5px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .when { color: var(--muted); font-size: 12px; }
details.tech summary { cursor: pointer; color: var(--muted); font-size: 12.5px; }
details.tech pre { white-space: pre-wrap; font-size: 11.5px; background: #f4f5f2; padding: 10px; border-radius: 8px; max-height: 300px; overflow: auto; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(13,17,14,.45); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal.open { display: flex; }
.modal-card { background: #fff; border-radius: 18px; width: 100%; max-width: 620px; max-height: 92vh; overflow: auto; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal-card.wide { max-width: 1000px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

/* job banner */
#jobs:empty { display: none; }
.job { background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
.job .bar { flex: 1; height: 6px; background: #2b332c; border-radius: 99px; overflow: hidden; min-width: 80px; }
.job .bar span { display: block; height: 100%; background: var(--green-2); transition: width .4s; }
.job.done .bar span { background: var(--green-2); }
.job.err { background: var(--red); }
.job .msg { font-size: 13px; color: #cdd3ce; }

.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty svg { width: 46px; height: 46px; color: #c6ccc4; margin-bottom: 10px; }
.logo-box { border: 1px dashed #cfd5cd; border-radius: 12px; padding: 18px; display: flex; align-items: center; justify-content: center; min-height: 110px; background: repeating-conic-gradient(#fafbf9 0% 25%, #fff 0% 50%) 50% / 16px 16px; }
.logo-box img { max-height: 80px; max-width: 100%; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.check-list li { margin-bottom: 6px; }
.ok-dot, .bad-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.ok-dot { background: var(--green); } .bad-dot { background: var(--red); }
code.copy { background: #f1f3ef; padding: 3px 8px; border-radius: 6px; font-size: 12.5px; }

/* ---------- Login (uniform RaBePro-inlogscherm) ---------- */
.auth-body { background: #fff; min-height: 100vh; }
.auth-wrap { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.auth-panel { background: var(--ink); color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 60px 64px; border-right: 6px solid var(--green); }
.auth-panel .brand { position: absolute; top: 34px; left: 64px; }
.auth-panel h1 { font-size: 46px; line-height: 1.08; letter-spacing: -.035em; font-weight: 800; max-width: 520px; position: relative; z-index: 2; }
.auth-panel h1 em { font-style: normal; color: var(--green-2); }
.auth-panel p { color: #aab3ac; font-size: 16px; max-width: 440px; margin-top: 18px; position: relative; z-index: 2; }
.auth-panel .chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; z-index: 1; opacity: .95; }
.auth-panel .foot { position: absolute; bottom: 26px; left: 64px; font-size: 12px; color: #6f7a71; z-index: 2; }
.auth-side { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg); }
.auth-card { background: #fff; border-radius: 22px; padding: 40px 38px; width: 100%; max-width: 420px; box-shadow: 0 2px 4px rgba(0,0,0,.03), 0 20px 50px rgba(13,17,14,.08); border: 1px solid var(--line); }
.auth-card h1 { font-size: 26px; }
.auth-card .muted { margin: 6px 0 24px; }
.auth-card .btn-primary { padding: 13px 18px; font-size: 15px; margin-top: 8px; }
.auth-card .app-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 14px; }
.auth-card .app-tag::before { content: ""; width: 18px; height: 2px; background: var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
  .editor-meta { grid-template-columns: 1fr 1fr; }
  .lines .c-gl { width: 150px; }
}
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-panel { min-height: 300px; padding: 90px 28px 40px; border-right: 0; border-bottom: 6px solid var(--green); }
  .auth-panel .brand, .auth-panel .foot { left: 28px; }
  .auth-panel h1 { font-size: 34px; }
  .topbar-inner { gap: 12px; padding: 0 12px; }
  .brand span.full { display: none; }
  .adm-switch select { max-width: 130px; }
  .container { padding: 18px 16px 50px; }
  .search input { min-width: 0; }
  .lines thead { display: none; }
  .lines, .lines tbody, .lines tr, .lines td { display: block; width: 100% !important; }
  .lines tr.line { border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin-bottom: 10px; background: #fff; }
  .totals { width: 100%; }
  .kv { grid-template-columns: 110px 1fr; }
  .pdf-frame { height: 70vh; }
}
@media print { .topbar, .sticky-bar, .actions { display: none !important; } }

/* loepje in combo + zoekvenster */
.combo.has-loupe input[type=text] { padding-left: 30px; }
.combo .loupe { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 6px; display: grid; place-items: center; padding: 0; z-index: 2; }
.combo .loupe:hover { color: var(--ink); background: var(--green-soft); }
.combo .loupe svg { width: 14px; height: 14px; }
.combo-list { z-index: 200; }
.picker-list { max-height: 60vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }
.picker-list thead th { position: sticky; top: 0; z-index: 1; }
.picker .search input { min-width: 0; }
.combo-item small { white-space: nowrap; flex: none; }

/* notitie per factuurregel */
.desc-wrap { position: relative; }
.desc-wrap textarea { padding-right: 34px; }
.note-btn { position: absolute; right: 4px; top: 5px; width: 28px; height: 28px; border: 0; background: none; color: #a3aba4; border-radius: 6px; cursor: pointer; display: grid; place-items: center; padding: 0; }
.note-btn svg { width: 15px; height: 15px; }
.note-btn:hover { background: var(--green-soft); color: var(--ink); }
.note-btn.on { color: var(--green); }
.lines textarea.note { margin-top: 5px; min-height: 56px; font-size: 12.5px; background: #fbfcf9; border-style: dashed; resize: vertical; }
