.chip.crm-lopend{color:#285a78;background:#e3edf3}.chip.crm-binnen{color:var(--ok);background:#e5efe3}.chip.crm-gepauzeerd{color:var(--warn);background:#f6ead2}.chip.crm-doodgelopen{background:var(--surface-2);color:var(--muted)}.crm-balk{gap:3px;width:100%;max-width:160px;display:flex}.crm-balk>div{background:var(--line);border-radius:2px;flex:1;height:4px}.crm-balk>div.aan{background:var(--accent)}.crm-balk.zij>div.aan{background:var(--muted);opacity:.6}.crm-balk.groot{gap:6px;max-width:none}.crm-balk.groot>div{border-top:4px solid var(--line);height:auto;color:var(--muted);background:0 0;padding-top:6px;font-size:12.5px}.crm-balk.groot>div.aan{border-top-color:var(--accent);color:var(--ink-2);font-weight:500}.crm-balk.groot.zij>div.aan{border-top-color:var(--muted);opacity:1;background:0 0}.crm-datum{gap:8px;display:grid}.crm-snel{flex-wrap:wrap;gap:6px;display:flex}.crm-snel .filter{height:32px;font-size:13.5px}.crm-kiezer{gap:8px;display:grid}.crm-kies-lijst{max-height:320px;box-shadow:none;overflow-y:auto}.crm-kies-lijst button.list-row{border:0;border-bottom:1px solid var(--line);width:100%;font:inherit;cursor:pointer;color:inherit;background:0 0}.crm-kies-lijst button.list-row:hover{background:var(--surface-2)}.crm-nieuw{color:var(--accent)!important;justify-content:flex-start!important;font-weight:500!important}.crm-home{gap:16px;display:grid}@media (width>=980px){.crm-home{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:start}}.crm-eerst{border-left:4px solid var(--accent)}.crm-eerst .label{text-transform:uppercase;letter-spacing:.06em;color:var(--accent);font-size:12.5px;font-weight:600}.crm-eerst p{margin:6px 0 14px;font-size:18px;line-height:1.35}.crm-groep summary{cursor:pointer;align-items:center;gap:10px;padding:13px 16px;list-style:none;display:flex}.crm-groep summary::-webkit-details-marker{display:none}.crm-groep summary .n{color:var(--muted);margin-left:auto;font-size:14px}.crm-groep summary:after{content:"›";color:var(--muted);font-size:18px;transition:transform .15s}.crm-groep[open] summary:after{transform:rotate(90deg)}.crm-groep+.crm-groep,.crm-groep .list-row:first-of-type{border-top:1px solid var(--line)}.crm-tegels{gap:12px;display:grid}.crm-tegel h3{color:var(--muted);margin-bottom:10px;font-size:14px;font-weight:500}.crm-pijp{gap:8px;display:grid}.crm-pijp a{align-items:center;gap:10px;text-decoration:none;display:flex}.crm-pijp .bar{background:var(--surface-2);border-radius:4px;flex:1;height:8px;overflow:hidden}.crm-pijp .bar i{background:var(--accent);border-radius:4px;height:100%;display:block}.crm-pijp .lbl{width:92px;font-size:14px}.crm-pijp .n{text-align:right;width:24px;font-weight:600}.crm-bord{grid-auto-columns:minmax(240px,1fr);grid-auto-flow:column;gap:12px;padding-bottom:8px;display:grid;overflow-x:auto}.crm-kolom{background:var(--surface-2);border-radius:var(--radius);flex-direction:column;gap:8px;min-height:120px;padding:10px;display:flex}.crm-kolom h3{justify-content:space-between;padding:2px 4px 4px;font-size:14px;display:flex}.crm-kolom h3 span{color:var(--muted);font-weight:500}.crm-kaart{background:var(--surface);border:1px solid var(--line);color:inherit;border-radius:11px;padding:10px 12px;text-decoration:none;display:block}.crm-kaart:hover{border-color:var(--accent)}.crm-kaart strong{line-height:1.3;display:block}.crm-kaart .small{margin-top:3px}.crm-te-laat{color:var(--bad)}.main:has(.crm-breed){max-width:none}.crm-kop{gap:12px;margin-bottom:16px;display:grid}.crm-kop .rij{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.crm-acties{flex-wrap:wrap;gap:8px;display:flex}.crm-zij{background:var(--surface-2);color:var(--ink-2);border-radius:10px;padding:12px 14px}.crm-zij.gepauzeerd{color:#6b470c;background:#f6ead2}.crm-taak{border-bottom:1px solid var(--line);align-items:flex-start;gap:12px;padding:11px 16px;display:flex}.crm-taak:last-child{border-bottom:0}.crm-taak input[type=checkbox]{width:22px;height:22px;min-height:0;accent-color:var(--accent);flex:none;margin-top:1px}.crm-taak input[type=checkbox]:focus:not(:focus-visible){outline:none}.crm-taak .wat{flex:1;min-width:0}.crm-taak.klaar .wat strong{color:var(--muted);font-weight:400;text-decoration:line-through}.crm-taak a{text-decoration:none}.crm-tijdlijn{margin:0;padding:0;list-style:none;display:grid}.crm-tijdlijn li{grid-template-columns:16px 1fr;gap:12px;padding:0 0 16px;display:grid;position:relative}.crm-tijdlijn li:before{content:"";background:var(--line);width:2px;position:absolute;top:16px;bottom:0;left:7px}.crm-tijdlijn li:last-child:before{display:none}.crm-tijdlijn .dot{background:var(--accent);border-radius:50%;width:12px;height:12px;margin:4px 2px 0}.crm-tijdlijn li.systeem .dot{background:var(--line)}.crm-tijdlijn li.systeem .tekst{color:var(--muted);font-size:14px}.crm-tijdlijn .meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px;display:flex}.crm-tijdlijn .tekst{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:2px}.crm-tijdlijn .weg{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-size:12.5px;text-decoration:underline}.crm-soorten{flex-wrap:wrap;gap:6px;display:flex}.crm-persoon{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:11px 16px;display:flex}.crm-persoon:last-child{border-bottom:0}.crm-persoon a{text-decoration:none}.crm-x{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:4px 6px;font-size:20px;line-height:1}.crm-x:hover{color:var(--bad)}.crm-plus{text-align:left;border:0;border-top:1px solid var(--line);width:100%;color:var(--accent);font:inherit;cursor:pointer;background:0 0;padding:12px 16px;font-weight:500;display:block}.crm-plus:hover{background:var(--surface-2)}.card>.crm-plus:first-child{border-top:0}.crm-card-head{justify-content:space-between;align-items:center;gap:10px;padding:14px 16px 10px;display:flex}.crm-card-head h2{font-size:16px}.sheet-bg{z-index:900;background:#14141459;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);width:100%;max-width:640px;max-height:92vh;box-shadow:var(--shadow);border-radius:18px 18px 0 0;gap:14px;padding:18px 16px 22px;display:grid;overflow-y:auto}.sheet h2{margin:0}.sheet .sub{color:var(--muted);margin-top:2px;font-size:14px}@media (width>=700px){.sheet-bg{align-items:center}.sheet{border-radius:18px;padding:22px}}.amount{font-variant-numeric:tabular-nums;white-space:nowrap}.link-btn{font:inherit;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-weight:500;text-decoration:underline}:root{--bg:#f5f5f2;--surface:#fff;--surface-2:#ecece7;--ink:#25272b;--ink-2:#44474d;--muted:#6e7178;--line:#dcdcd5;--accent:#2f5d62;--accent-hover:#264d51;--accent-ink:#fff;--accent-soft:#2f5d624d;--ok:#2f6b3f;--warn:#9a6512;--bad:#a3322a;--radius:14px;--shadow:0 1px 2px #25272b0d, 0 6px 20px #25272b0d;--serif:var(--sans);--display:var(--sans);--sans:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;--nav-h:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.45}a{color:inherit}img{max-width:100%;display:block}h1,h2,h3{font-family:var(--serif);letter-spacing:-.01em;margin:0;font-weight:600}h1{font-family:var(--display);font-size:26px;line-height:1.15}h2{font-size:19px}h3{font-size:16px}.shell{min-height:100vh}.sidebar{display:none}.main{padding:20px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom));max-width:1120px;margin:0 auto}.tabbar{z-index:20;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);background:#fffffff0;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;inset:auto 0 0}.tabbar a{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11.5px;font-weight:500;text-decoration:none;display:flex}.tabbar a.active{color:var(--accent)}.tabbar svg{width:22px;height:22px}@media (width>=900px){.shell{grid-template-columns:232px 1fr;display:grid}.tabbar{display:none}.sidebar{overscroll-behavior:contain;border-right:1px solid var(--line);background:var(--surface);flex-direction:column;gap:2px;height:100dvh;padding:20px 14px 16px;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar .brand{font-family:var(--display);color:var(--ink);padding:4px 8px 20px;font-size:17px;font-weight:600}.sidebar a{color:var(--ink-2);border-radius:10px;flex-shrink:0;align-items:center;gap:10px;padding:7px 10px;font-weight:500;text-decoration:none;display:flex}.sidebar a:hover{background:var(--surface-2)}.sidebar a.active{background:var(--surface-2);color:var(--accent)}.sidebar svg{width:19px;height:19px}.sidebar .sep{background:var(--line);flex-shrink:0;height:1px;margin:8px 4px}.sidebar .who{color:var(--muted);border-top:1px solid var(--line);flex-shrink:0;margin-top:auto;padding:12px 10px 0;font-size:13px}.main{width:100%;padding:32px 36px 48px}}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:18px;display:flex}.page-head .sub{color:var(--muted);margin-top:4px}.back{color:var(--muted);align-items:center;gap:4px;margin-bottom:10px;font-size:14px;text-decoration:none;display:inline-flex}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:18px}.section+.section{margin-top:16px}.section-title{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.btn{border:1px solid var(--line);background:var(--surface);height:42px;color:var(--ink);font:inherit;cursor:pointer;white-space:nowrap;border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:0 16px;font-weight:500;text-decoration:none;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn:disabled{opacity:.55;cursor:default}.btn svg{width:18px;height:18px}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn-primary:hover{background:var(--accent-hover)}.btn-ghost{background:0 0;border-color:#0000}.btn-danger{color:var(--bad)}.btn-sm{border-radius:9px;height:34px;padding:0 12px;font-size:14px}.btn-row{flex-wrap:wrap;gap:8px;display:flex}.field{flex-direction:column;gap:5px;display:flex}.field label{color:var(--ink-2);font-size:13px;font-weight:500}.field .hint{color:var(--muted);font-size:12.5px}input,select,textarea{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:10px;width:100%;min-height:42px;padding:10px 12px;font-size:16px}textarea{resize:vertical;min-height:96px}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent-soft);border-color:var(--accent)}.grid{gap:14px;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid>*,.field{min-width:0}.grid-4{grid-template-columns:repeat(2,1fr)}@media (width>=700px){.grid-4{grid-template-columns:repeat(4,1fr)}}.span-2{grid-column:span 2}.chip{background:var(--surface-2);height:26px;color:var(--ink-2);white-space:nowrap;border-radius:99px;align-items:center;gap:6px;padding:0 10px;font-size:12.5px;font-weight:500;display:inline-flex}.chip:before{content:"";opacity:.8;background:currentColor;border-radius:50%;width:7px;height:7px}.filters{scrollbar-width:none;gap:8px;margin:0 -16px 14px;padding-bottom:4px;padding-left:16px;padding-right:16px;display:flex;overflow-x:auto}.filters::-webkit-scrollbar{display:none}.filter{border:1px solid var(--line);background:var(--surface);height:34px;font:inherit;color:var(--ink-2);cursor:pointer;white-space:nowrap;border-radius:99px;padding:0 13px;font-size:14px}.filter.on{background:var(--ink);border-color:var(--ink);color:var(--bg)}@media (width>=900px){.filters{margin:0 0 14px;padding:0 0 4px}}.search{margin-bottom:12px;position:relative}.search svg{width:18px;color:var(--muted);position:absolute;top:50%;left:12px;transform:translateY(-50%)}.search input{border-radius:12px;height:46px;padding-left:38px}.detail{gap:16px;display:grid}@media (width>=980px){.detail{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start}}.facts{grid-template-columns:1fr 1fr;gap:14px 18px;margin:0;display:grid}.facts dt{color:var(--muted);margin-bottom:2px;font-size:12.5px}.facts dd{overflow-wrap:anywhere;margin:0;font-weight:500}.facts .wide{grid-column:span 2}.prose{white-space:pre-wrap;color:var(--ink-2)}.history{gap:12px;margin:0;padding:0;list-style:none;display:grid}.history li{gap:2px;font-size:14px;display:grid}.history .when{color:var(--muted);font-size:12.5px}.history .chg{color:var(--ink-2);font-size:13px}.toast{left:50%;bottom:calc(var(--nav-h) + 20px + env(safe-area-inset-bottom));z-index:50;color:#fff;box-shadow:var(--shadow);border-radius:12px;max-width:calc(100vw - 32px);padding:12px 16px;font-weight:500;position:fixed;transform:translate(-50%)}@media (width>=900px){.toast{bottom:28px}}.toast.ok{background:var(--ok)}.toast.warn{background:var(--warn)}.toast.bad{background:var(--bad)}.toast.info{background:var(--ink)}.stats{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.stat{text-align:center;padding:12px}.stat .n{font-family:var(--serif);font-size:26px;font-weight:600}.stat .l{color:var(--muted);font-size:12.5px}.tabs{background:var(--surface-2);border-radius:12px;gap:4px;margin-bottom:12px;padding:4px;display:flex}.tabs button{height:36px;font:inherit;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:1;font-size:14px;font-weight:500}.tabs button.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #0000000f}.table{border-collapse:collapse;width:100%}.table th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);padding:8px 12px;font-size:12.5px;font-weight:500}.table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:11px 12px}.table tr:last-child td{border-bottom:0}.table-wrap{overflow-x:auto}.empty{text-align:center;color:var(--muted);padding:40px 16px}.empty h3{color:var(--ink);margin-bottom:6px}.error-box{color:var(--bad);background:#f8e4e1;border-radius:10px;margin-bottom:12px;padding:12px 14px}.muted{color:var(--muted)}.small{font-size:13px}.row{align-items:center;gap:10px;display:flex}.spacer{flex:1}.check-row{align-items:center;gap:10px;display:flex}.check-row input{width:20px;height:20px;min-height:0;accent-color:var(--accent)}.spin{border:2.5px solid var(--line);border-top-color:var(--accent);border-radius:50%;width:22px;height:22px;margin:40px auto;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.notice{background:var(--surface-2);color:var(--ink-2);border-radius:10px;margin-bottom:12px;padding:12px 14px}.notice.warn{color:#6b470c;background:#f6ead2}.list-row{border-bottom:1px solid var(--line);color:inherit;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;text-decoration:none;display:flex}.list-row:last-child{border-bottom:0}a.list-row:hover{background:var(--surface-2)}.list-row .right{flex-direction:column;flex:none;align-items:flex-end;gap:4px;display:flex}.ellipsis{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.ok-box{color:var(--ok);background:#e5efe3;border-radius:10px;margin-bottom:12px;padding:12px 14px}.help-fab{right:16px;bottom:calc(var(--nav-h) + 16px + env(safe-area-inset-bottom));z-index:60;background:var(--accent);width:52px;height:52px;color:var(--accent-ink);font:600 22px/1 var(--sans);cursor:pointer;border:0;border-radius:50%;position:fixed;box-shadow:0 6px 20px #0003}.help-fab.on{background:var(--ink)}.help-dot{background:var(--bad);color:#fff;border:2px solid var(--bg);border-radius:99px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:12px;display:grid;position:absolute;top:-2px;right:-2px}.help-dot.static{border:0;margin-left:6px;display:inline-grid;position:static}.help-panel{right:16px;bottom:calc(var(--nav-h) + 80px + env(safe-area-inset-bottom));z-index:60;width:min(380px,100vw - 32px);max-height:min(560px, calc(100dvh - var(--nav-h) - 110px));background:var(--surface);border-radius:16px;flex-direction:column;display:flex;position:fixed;overflow:hidden;box-shadow:0 16px 48px #00000038}.help-head{border-bottom:1px solid var(--line);gap:10px;padding:14px 16px 10px;display:grid}.help-tabs{background:var(--surface-2);border-radius:10px;gap:4px;padding:3px;display:flex}.help-tabs button{height:32px;font:500 13.5px var(--sans);color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1}.help-tabs button.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #0000000f}.help-body{padding:14px 16px 16px;overflow-y:auto}.help-body h3{margin:6px 0 10px}.help-list{margin:10px 0;padding:0;list-style:none}.help-list button{text-align:left;border:0;border-bottom:1px solid var(--line);width:100%;font:15px var(--sans);color:var(--ink);cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:8px;padding:11px 10px;display:flex}.help-list button:hover{background:var(--surface-2)}.help-list span{color:var(--muted);font-size:18px}.help-back{color:var(--accent);font:500 14px var(--sans);cursor:pointer;background:0 0;border:0;padding:0}.help-manual{color:var(--accent);font-size:14px;font-weight:500;display:block}.help-body .markdown{font-size:14.5px;line-height:1.5}.help-body .markdown ol,.help-body .markdown ul{padding-left:20px}.help-thread{gap:12px;margin:16px 0 0;padding:0;list-style:none;display:grid}.help-thread li{gap:6px;display:grid}.help-thread .q{background:var(--surface-2);white-space:pre-wrap;border-radius:12px 12px 12px 4px;padding:9px 12px;font-size:14.5px}.help-thread .a{white-space:pre-wrap;background:#e5efe3;border-radius:12px 12px 4px;margin-left:24px;padding:9px 12px;font-size:14.5px}@media (width>=900px){.help-fab{bottom:24px;right:24px}.help-panel{max-height:min(600px,100dvh - 120px);bottom:88px;right:24px}}@media print{.help-fab,.help-panel{display:none!important}}.test-ribbon{z-index:70;color:#3b2a00;background:repeating-linear-gradient(-45deg,#f7c948 0 18px,#f5bd2a 18px 36px);flex-wrap:wrap;align-items:center;gap:6px 14px;padding:9px 16px;font-size:14px;display:flex;position:sticky;top:0;box-shadow:0 1px #00000014}.test-ribbon strong{text-transform:uppercase;letter-spacing:.08em;color:#f7c948;background:#3b2a00;border-radius:6px;padding:3px 8px;font-size:12.5px}.test-ribbon a{color:#3b2a00;margin-left:auto;font-weight:600}.test-ribbon .short{display:none}@media (width<=640px){.test-ribbon .long{display:none}.test-ribbon .short{display:inline}.test-ribbon{flex-wrap:nowrap;font-size:13.5px}}@media (width>=900px){.test-ribbon~.shell .sidebar{height:calc(100dvh - 40px);top:40px}}@media print{.test-ribbon{display:none}@page{margin:10mm}body{background:#fff}.sidebar,.tabbar,.no-print{display:none!important}.main{max-width:none;padding:0}.shell{display:block}}
