:root{--navy:#121b2b;--navy2:#21334f;--orange:#e77524;--bg:#f4f6f8;--ink:#1c293b;--muted:#6b7888;--line:#dce2e9}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:15px}button,input,textarea,select{font:inherit}button{cursor:pointer}header{height:84px;background:var(--navy);color:white;padding:0 max(calc((100vw - 1240px)/2),24px);display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:13px}.brandmark{width:44px;height:44px;background:var(--orange);border-radius:9px;color:white;font-size:29px;font-weight:900;display:grid;place-items:center;font-style:italic}.brand strong{font-size:20px;letter-spacing:1px}.brand strong span{color:var(--orange)}.brand small{display:block;font-size:9px;letter-spacing:2.1px;margin-top:2px;color:#b5bdc8}.right{display:flex;align-items:center;gap:26px}.muted{color:var(--muted);font-weight:400}.right .muted{color:#aab5c3}.main{max-width:1240px;margin:auto;padding:35px 24px 85px}.heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:28px}.eyebrow{color:var(--orange);font-size:11px;letter-spacing:2px;font-weight:800}.heading h1,.login h1{margin:6px 0;font-size:34px;letter-spacing:-1px}.heading p,.panel p{margin:0;color:var(--muted);line-height:1.6}.btn{border:1px solid transparent;border-radius:8px;padding:12px 18px;font-weight:750;background:#fff;transition:background .15s;color:var(--ink)}.btn.primary{background:var(--orange);color:#fff}.btn.primary:hover{background:#c96018}.btn:disabled{opacity:.5;cursor:wait}.btn.ghost{border-color:#cfd7e2;background:transparent}.right .ghost{color:white;border-color:#63718b}.btn.small{font-size:12px;padding:8px 11px}.btn.full{width:100%}.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:25px}.tab{padding:14px 19px;background:transparent;color:var(--muted);font-weight:750;border:0;border-bottom:3px solid transparent}.tab.active{color:var(--navy);border-color:var(--orange)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 345px;align-items:start;gap:24px}.formcol{display:grid;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:26px;box-shadow:0 5px 17px #15263b08}.panel-title{display:flex;gap:15px;align-items:center;margin-bottom:22px}.panel-title>b{display:grid;place-items:center;background:#fff1e7;color:#db6b1c;width:40px;height:40px;flex:0 0 auto;border-radius:9px}.panel h2{margin:0 0 3px;font-size:21px;letter-spacing:-.4px}.panel-title p{font-size:13px}.fields{display:grid;gap:17px}.fields label,.login label{display:grid;gap:7px;color:#374257;font-weight:700;font-size:13px}label em,.signTitle em,.label-like em{font-style:normal;color:#cd471f}.fields input:not([type=radio]):not([type=checkbox]):not([type=file]),.fields select,.fields textarea,.login input{border:1px solid #cbd4e0;border-radius:7px;background:#fff;padding:12px 13px;width:100%;outline:none;font-weight:450;color:var(--ink);font-size:15px}.fields input:focus,.fields select:focus,.fields textarea:focus,.login input:focus{border-color:var(--orange);box-shadow:0 0 0 3px #e7752419}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:15px}.status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.status{cursor:pointer;min-width:0}.status input{position:absolute;opacity:0}.status span{display:flex;flex-direction:column;gap:5px;padding:12px 9px;border:1px solid #dce2e9;border-radius:8px;min-height:77px}.status strong{font-size:12px}.status small{font-size:11px;color:var(--muted);font-weight:500}.status input:checked+span{border-color:var(--orange);background:#fff7f0;box-shadow:inset 0 0 0 1px var(--orange)}.label-like,.signTitle{font-size:13px;font-weight:750}.fields input[type=file]{border:1px dashed #bcc7d5;padding:12px;border-radius:7px;font-size:13px;width:100%}.fields small{color:var(--muted);font-weight:450}.signature{position:relative;border:1px solid #cbd4e0;border-radius:9px;background:#fff;overflow:hidden}.signature canvas{height:148px;width:100%;touch-action:none;display:block;cursor:crosshair}.clear-sign{position:absolute;right:10px;bottom:10px;border:0;border-radius:5px;padding:5px 10px;background:#eef0f4;font-size:12px;color:#536176;font-weight:700}.notice{background:#f2f5f8;border-left:3px solid #8492a5;padding:12px 14px;font-size:12px;color:#536176;line-height:1.6}.fields label.checkline{display:flex;align-items:start;gap:10px;line-height:1.5}.checkline input{width:18px;height:18px;accent-color:var(--orange);flex-shrink:0}.sticky{position:sticky;top:20px}.sidecol .panel h2{margin:8px 0 10px}.sidecol .panel p{font-size:13px}.summary{margin:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.summary div{display:flex;justify-content:space-between;gap:8px;padding:13px 0;border-bottom:1px solid #edf0f4;font-size:12px}.summary div:last-child{border-bottom:0}.summary span{color:var(--muted)}.summary b{text-align:right;font-weight:700;max-width:65%}.sidecol p.tiny{font-size:11px;margin:13px 0 0}.message{margin-top:12px;font-size:13px;line-height:1.6;white-space:pre-line}.message.success{color:#156b3d}.message.error,.error{color:#bb3c2d}.login-wrap{min-height:calc(100vh - 170px);display:grid;place-items:center;padding:30px 18px}.login{width:min(430px,100%);padding:37px}.login form{display:grid;gap:18px;margin-top:25px}.error:empty{display:none}.archive-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.archive-list{display:grid;gap:10px}.archive-item{display:flex;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:9px;padding:17px;align-items:center}.archive-item strong{display:block}.archive-item small{display:block;margin-top:5px;color:var(--muted)}.archive-buttons{display:flex;flex-wrap:wrap;gap:8px}.archive-buttons button{font-size:12px;padding:9px 12px}.pill{font-size:11px;border-radius:100px;padding:3px 8px;font-weight:700;display:inline-block;background:#fff0de;color:#a55a11;margin:0 4px}.pill.ok{background:#e7f8ee;color:#216c41}footer{text-align:center;padding:20px;color:#7b8896;font-size:12px}@media(max-width:900px){.layout{grid-template-columns:1fr}.sticky{position:static}.sidecol{order:2}.status-grid{grid-template-columns:1fr 1fr 1fr}.desktop{display:none}}@media(max-width:600px){header{padding:0 16px;height:74px}.brand strong{font-size:17px}.brandmark{width:39px;height:39px}.main{padding:25px 13px 60px}.heading{align-items:flex-start;flex-direction:column}.heading h1{font-size:28px}.heading>.btn{width:100%}.panel{padding:18px}.twocol,.status-grid{grid-template-columns:1fr}.status span{min-height:unset}.archive-item{align-items:flex-start;flex-direction:column}.archive-buttons{width:100%}.signature canvas{height:190px}.brand small{font-size:8px}.right .small{font-size:11px}}
/* ---- Uitbreidingen v2 ---- */
[hidden]{display:none!important}
.userline{font-size:13px}.userline b{color:#fff}
.netbanner{background:#bb3c2d;color:#fff;text-align:center;padding:10px 16px;font-size:14px;font-weight:700;position:sticky;top:0;z-index:20}
.draftnotice{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fff7f0;border:1px solid #f3c9a6;border-radius:10px;padding:12px 16px;margin-bottom:18px;font-size:14px;color:#7a4314}
.photolist{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.photolist:empty{display:none}
.photo{position:relative;border-radius:8px;overflow:hidden;border:1px solid var(--line);aspect-ratio:4/3;background:#f2f5f8}
.photo img{width:100%;height:100%;object-fit:cover;display:block}
.photo-del{position:absolute;top:6px;right:6px;width:34px;height:34px;border-radius:50%;border:0;background:#131f31d9;color:#fff;font-size:20px;line-height:1;font-weight:700}
.fields label.photoadd{display:block;cursor:pointer}
.photoadd input{position:absolute;width:1px;height:1px;opacity:0}
.photoadd span{display:block;text-align:center;border:1px dashed #bcc7d5;border-radius:7px;padding:16px;font-size:15px;color:var(--navy);font-weight:750;background:#fafbfc}
.photoadd input:focus-visible+span{border-color:var(--orange);box-shadow:0 0 0 3px #e7752419}
.fields small.error{color:#bb3c2d}
.modal{position:fixed;inset:0;background:#0d1522b3;display:grid;place-items:center;padding:18px;z-index:50}
.modal .login form{display:grid;gap:14px;margin-top:18px}
.modal .login label{display:grid;gap:7px}
.health-list{display:grid;gap:8px;margin-top:14px}
.health{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:9px;padding:12px 14px}
.health>b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;flex:0 0 auto;font-size:13px;color:#fff;background:#216c41}
.health.fout>b{background:#bb3c2d}.health.waarschuwing>b{background:#d98a1c}
.health strong{display:block;font-size:14px}.health small{display:block;color:var(--muted);margin-top:3px;font-size:12px;word-break:break-word}
.audit-list{overflow-x:auto}
.audit-list table{width:100%;border-collapse:collapse;font-size:12px}
.audit-list th,.audit-list td{text-align:left;padding:7px 8px;border-bottom:1px solid var(--line);vertical-align:top}
.audit-list th{color:var(--muted);font-weight:700}
@media(max-width:600px){.draftnotice{flex-direction:column;align-items:flex-start}.userline{display:none}}
/* ---- PV v3 ---- */
.status-grid.two{grid-template-columns:1fr 1fr}
.defect-list{display:grid;gap:10px}
.defect-list:empty{display:none}
.defect{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:9px;padding:12px;background:#fafbfc}
.defect-nr{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff1e7;color:#db6b1c;font-weight:800;flex:0 0 auto;margin-top:22px}
.defect-fields{flex:1;display:grid;gap:10px;min-width:0}
.threecol{display:grid;grid-template-columns:1.2fr 1fr .6fr;gap:10px}
.defect-del{border:0;background:#eef0f4;color:#536176;width:36px;height:36px;border-radius:50%;font-size:20px;font-weight:700;flex:0 0 auto;margin-top:22px}
#addDefect{justify-self:start}
#legalPreview{white-space:pre-line}
@media(max-width:600px){.threecol,.status-grid.two{grid-template-columns:1fr}}
/* ---- Standaardhandtekening ---- */
.sigchoice{display:grid;gap:8px}
.defaultsig{display:grid;place-items:center;height:148px;background:#fff}
.defaultsig img{max-width:90%;max-height:120px}
.sigpreview{display:block;max-width:320px;max-height:110px;margin-top:8px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px}
@media(max-width:600px){.defaultsig{height:190px}}
.btn.danger{color:#bb3c2d;border-color:#f0c4be}
.health .btn.small{padding:7px 10px;font-size:12px;align-self:center}
