:root{--bg:#f2f5f6;--surf:#fff;--ink:#12292b;--mut:#5b7073;--line:#d5dfe0;--brand:#0c5c63;--brandtxt:#fff;--ok:#1f7a4d;--warn:#b86e00;--bad:#b3322b;--warnbg:#fff3dc;--badbg:#fde8e6;--okbg:#e2f3ea;--hint:#7a8c8e;--info:#1f5fa8;--infobg:#e3eefb;--yel:#7a5d00;--yelbg:#fcf1c2;
box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
@media (prefers-color-scheme:dark){:root{color-scheme:dark;--bg:#0d1a1c;--surf:#152729;--ink:#e6f0f0;--mut:#93aaad;--line:#2a4144;--brand:#4fc3cb;--brandtxt:#08282b;--ok:#5fd39a;--warn:#f0b24d;--bad:#ff8d85;--warnbg:#3a2d12;--badbg:#3d1c1a;--okbg:#14352a;--hint:#748a8d;--info:#8cb8f0;--infobg:#16283d;--yel:#f2d16b;--yelbg:#3a3210}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
h1,h2,h3{line-height:1.15;margin:0}
button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.wrap{max-width:1600px;margin:0 auto;padding:20px clamp(16px,3vw,40px) 48px}
.top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.topbtns{display:flex;gap:8px}
.logo{font-weight:700;font-size:18px}.logo i{display:inline-block;width:14px;height:14px;background:var(--brand);border-radius:50% 0 50% 0;margin-right:8px}
.btn{background:var(--brand);color:var(--brandtxt);border:0;border-radius:8px;padding:12px 20px;font-weight:500}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn.full{width:100%}
#loginDlg .btn{margin-top:28px}
.hint{color:var(--hint);font-size:13px;line-height:1.45;margin:8px 0 0}
a.btn{text-decoration:none;display:inline-block}
.meta{color:var(--mut);font-size:14px;margin:4px 0}.err{color:var(--bad)}
.me{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.pt{font-size:22px;margin-bottom:12px}
.pad{padding:24px}.pad0{padding:0 24px 24px}.lbl{display:block;margin:16px 0 6px}
.nt{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);font:inherit}
dialog{border:1px solid var(--line);border-radius:14px;background:var(--surf);color:var(--ink);max-width:460px;width:calc(100% - 32px);padding:24px}
dialog::backdrop{background:rgba(0,0,0,.5)}
.wd{max-width:560px;padding:0;overflow:auto}
.hero{background:var(--brand);color:var(--brandtxt);padding:28px 24px}
.hero h1{font-size:clamp(26px,6vw,38px)}.hero p{margin:12px 0 20px;opacity:.92}.hero .btn{background:var(--brandtxt);color:var(--brand)}
.steps{display:grid;gap:12px;padding:16px}.step{border:1px solid var(--line);border-radius:12px;padding:14px}.step h3{font-size:17px}.step p{margin:4px 0 0;color:var(--mut);font-size:15px}
#gt{background:var(--surf);border:1px solid var(--line);border-radius:12px;padding:16px 24px;margin-bottom:20px}
.tl{padding:8px 0 12px}
.tl ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);row-gap:56px}
.tl li{min-width:0;position:relative;padding-top:30px;padding-right:12px}
.tl li::before{content:"";position:absolute;top:8px;left:0;right:0;height:4px;border-radius:2px;background:var(--line)}
.tl li.done::before{background:var(--brand)}
.tl li::after{content:"";position:absolute;top:1px;left:0;width:18px;height:18px;border-radius:50%;background:var(--surf);border:3px solid var(--line)}
.tl li.done::after{background:var(--brand);border-color:var(--brand)}
.tl li.today::after{background:var(--warn);border-color:var(--warn);box-shadow:0 0 0 5px var(--warnbg)}
.who{display:inline-block;margin:4px 0 6px;font-size:11px;font-weight:600;padding:1px 8px;border-radius:99px;border:1px solid var(--brand);background:var(--brand);color:var(--brandtxt)}
.who.partner{background:var(--surf);color:var(--brand);border-style:solid}.who.samen{background:var(--surf);color:var(--brand);border-style:dashed}
.tl time{font-size:13px;color:var(--mut);display:block}.tl strong{font-weight:600;font-size:14px;display:block;line-height:1.3}
/* S-bocht: het einde van een rij buigt af naar het begin van de volgende rij (row-gap 56px, lijn 4px, bocht 20px). */
.conn{display:none;position:absolute;inset:0;pointer-events:none}
.conn i{position:absolute;border:0 solid var(--line)}
.tl li.done .conn i{border-color:var(--brand)}
.conn i:nth-child(1){top:8px;right:-20px;width:40px;height:calc(100% + 22px);border-width:4px 4px 4px 0;border-radius:0 20px 20px 0}
.conn i:nth-child(2){top:calc(100% + 26px);right:20px;border-top-width:4px}
.conn i:nth-child(3){top:calc(100% + 26px);width:40px;height:42px;border-width:4px 0 4px 4px;border-radius:20px 0 0 20px}
.tl li:nth-child(4n):not(:last-child) .conn{display:block}
.tl li:nth-child(4n) .conn i:nth-child(2){left:calc(-300% + 20px)}.tl li:nth-child(4n) .conn i:nth-child(3){left:calc(-300% - 20px)}
.tl li:nth-child(4n):not(:last-child)::before{right:18px;border-radius:0}
@media (max-width:860px){.tl ol{grid-template-columns:repeat(2,1fr)}
  .tl li:nth-child(4n):not(:last-child) .conn{display:none}.tl li:nth-child(4n):not(:last-child)::before{right:0;border-radius:2px}
  .tl li:nth-child(2n):not(:last-child) .conn{display:block}.tl li:nth-child(2n):not(:last-child)::before{right:18px;border-radius:0}
  .tl li:nth-child(2n) .conn i:nth-child(2){left:calc(-100% + 20px)}.tl li:nth-child(2n) .conn i:nth-child(3){left:calc(-100% - 20px)}}
@media (max-width:520px){.tl li .conn,.tl li:nth-child(n) .conn{display:none}.tl ol{grid-template-columns:1fr;row-gap:0}.tl li{padding:0 0 20px 30px}.tl li::before{top:0;bottom:0;left:7px;right:auto;width:4px;height:auto}.tl li:last-child::before{display:none}}
.tx{display:block;font-size:13px;color:var(--mut);margin-top:4px;line-height:1.35}
.cbox{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:10;max-width:370px}
.cfull{position:relative;background:var(--surf);border:1px solid var(--line);border-left:4px solid var(--brand);border-radius:12px;padding:16px 18px;box-shadow:0 8px 24px rgba(0,0,0,.14)}
.ct{display:block;font-size:16px;padding-right:24px}.cp{margin:6px 0 10px;font-size:14px;color:var(--mut);line-height:1.45}
.cn{margin:0 0 4px;font-weight:600;font-size:14px}
.kv.ckv{margin:0;font-size:14px;grid-template-columns:auto 1fr;gap:4px 14px}.ckv dd{overflow-wrap:anywhere}.ckv a{color:var(--brand)}
.cx{position:absolute;top:8px;right:8px;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:var(--mut);font-size:20px;line-height:1}.cx:hover{background:var(--bg)}
.copen{box-shadow:0 6px 18px rgba(0,0,0,.18)}
body.hascbox .wrap{padding-bottom:300px}
@media (max-width:520px){.cbox{left:16px;max-width:none}}
.lnk{background:none;border:0;padding:0;color:var(--brand);text-decoration:underline;font-size:13px;margin-top:6px}
.chip{font-size:12px;font-weight:600;padding:2px 10px;border-radius:99px;white-space:nowrap;min-width:118px;text-align:center}
.chip.ok{background:var(--okbg);color:var(--ok)}.chip.busy{background:var(--yelbg);color:var(--yel)}.chip.todo{background:var(--infobg);color:var(--info)}
.bar{display:block;height:8px;background:var(--line);border-radius:99px;overflow:hidden;margin-bottom:6px}.bar span{display:block;height:100%;background:var(--ok)}
.list{display:flex;flex-direction:column;gap:10px}
.acc{background:var(--surf);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.cust{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;background:transparent;border:0;padding:14px 16px;width:100%}
.cust[aria-expanded="true"]{box-shadow:inset 4px 0 0 var(--brand)}
.cust b{display:block;font-size:17px}.cust small{font-weight:400;color:var(--mut);font-size:14px}.nm>span{color:var(--mut);font-size:14px}
.tsum{display:block;margin-top:8px}
.chev{transition:transform .2s;color:var(--mut)}.cust[aria-expanded="true"] .chev{transform:rotate(180deg)}
.panel{padding:4px 16px 20px;border-top:1px solid var(--line);min-width:0}
.panel>section{margin-top:22px}.panel h3{font-size:18px;margin-bottom:10px}
.kv{display:grid;grid-template-columns:130px 1fr;gap:6px 12px;margin:0}.kv dt{color:var(--mut)}.kv dd{margin:0}
a{color:var(--brand)}
.badge{display:inline-block;border-radius:99px;padding:2px 10px;font-size:13px;font-weight:500}
.b-ok{background:var(--okbg);color:var(--ok)}.b-warn{background:var(--warnbg);color:var(--warn)}.b-bad{background:var(--badbg);color:var(--bad)}
.pl{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:99px;padding:1px 10px;font-size:13px;white-space:nowrap}
.pl i{width:9px;height:9px;border-radius:50%}.pA{background:#2f80ed}.pB{background:#d9822b}.pC{background:#9b51e0}.pD{background:#27ae60}.pAdm{background:var(--brand)}
.pl.g{color:var(--mut)}.pg{background:var(--mut)}
.cdt{display:block;font-size:11px;line-height:1.3;margin-top:2px;white-space:nowrap}
.tw{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:560px}
th,td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);font-size:15px}th{font-weight:500;color:var(--mut);font-size:14px}
tr.oth td{color:var(--mut);opacity:.7}
.rc{width:22px;height:22px;accent-color:var(--brand);cursor:pointer}
.ibtn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);border-radius:8px;background:transparent}
.ibtn:hover{border-color:var(--brand);color:var(--brand)}.ibtn svg{width:20px;height:20px}
.restr{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.restr li{display:flex;gap:10px;background:var(--badbg);border-left:4px solid var(--bad);border-radius:6px;padding:10px 12px}
.restr li.info{background:var(--warnbg);border-color:var(--warn)}
.acts{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.acts label{display:flex;gap:12px;align-items:flex-start;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:12px;cursor:pointer}
.acts input{width:20px;height:20px;margin-top:2px;accent-color:var(--brand);flex:none}
.acts em{display:block;color:var(--ok);font-size:14px;font-style:normal}.acts em.open{color:var(--mut)}
.acts label.ro{cursor:default}.tick{flex:none;width:20px;height:20px;margin-top:2px;border-radius:50%;border:2px solid var(--line);background:var(--surf);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;line-height:1}.tick.ok{background:var(--ok);border-color:var(--ok);color:#fff}.acts label.ro .pl{margin-right:4px}
.grp{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:12px;margin-top:8px}
.mb{border:1px solid var(--line);border-radius:8px;padding:12px;margin-top:10px;background:var(--bg)}.mb label.f{display:block;margin-top:10px}
.row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.inv dl{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:16px 0}.inv dt{color:var(--mut)}.inv dd{margin:0;text-align:right}
.tot{border-top:2px solid var(--ink);padding-top:10px;display:flex;justify-content:space-between;font-weight:500;margin-bottom:16px}
[hidden]{display:none!important}
