*{box-sizing:border-box} :root{font-family:Segoe UI,Arial,sans-serif;color:#203735;background:#f5f7f6;font-size:14px}body{margin:0;display:flex}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dce5e1;background:white;color:#28443c;border-radius:8px;padding:10px 14px}button:hover{background:#f0f5f1}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f5a26e;outline-offset:2px}aside{width:225px;background:#fff;border-right:1px solid #e2e9e5;position:fixed;inset:0 auto 0 0;padding:30px 19px;display:flex;flex-direction:column}.logo{width:175px;height:73px;object-fit:contain;margin-bottom:46px}.workspace,.eyebrow,.later p{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#789087}.workspace{margin:0 12px 18px}.nav{border:0;text-align:left;margin-bottom:8px;font-size:19px;display:flex;gap:14px;align-items:center}.nav span{font-size:14px}.nav.active{background:#eaf2ec;color:#286044;font-weight:600}.later{border-top:1px solid #e8ede9;margin:32px 10px;padding-top:15px}.later span{display:block;color:#86948e;font-size:13px;margin:22px 0}.local{margin-top:auto;background:#f4f7f4;padding:15px 10px;border-radius:10px;font-size:12px}.local i{display:inline-block;background:#639775;width:7px;height:7px;border-radius:50%;margin-right:5px}.local small{display:block;color:#84918b;margin:5px 0 0 14px}main{margin-left:225px;width:calc(100% - 225px)}header{height:76px;background:white;border-bottom:1px solid #e2e9e5;display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:13px}header span{color:#a6b4ad;margin:0 13px}.header-actions{display:flex;align-items:center;gap:8px}.avatar{border-radius:50%;background:#eaf1ea;color:#376344;padding:11px 15px;margin-left:10px}.content{padding:36px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:16px}.eyebrow{color:#b27d4a}h1{font-size:30px;letter-spacing:-.8px;font-weight:650;margin:10px 0}p{color:#7a8b83}.primary{background:#2d6146;color:white;border-color:#2d6146}.primary:hover{background:#224b35}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stats article{background:white;border:1px solid #e2e9e5;border-radius:12px;padding:18px 22px}.stats span{display:block;color:#7a8b83;font-size:12px}.stats strong{display:block;margin-top:9px;font-size:27px;font-weight:600}.stats article:first-child{border-top:3px solid #d9a35f}section{background:white;border:1px solid #e0e7e2;border-radius:13px;overflow:hidden}.toolbar{display:flex;align-items:center;justify-content:space-between;padding:20px;gap:18px;flex-wrap:wrap}.weeknav,.filters{display:flex;align-items:center;gap:7px}h2{font-size:17px;margin:0}.weeknav h2{margin-left:12px}.filters input{width:210px}input,select,textarea{border:1px solid #dce5df;border-radius:7px;padding:10px;background:#fff;color:#29433a;min-width:0}.legend{display:flex;align-items:center;gap:18px;padding:0 20px 18px;font-size:11px}.legend small{color:#88958f;margin-left:auto}.installation{color:#ba7e32}.maintenance{color:#437f69}.service{color:#6086b5}.absence{color:#9a83a2}.board-scroll{overflow:auto}.board{display:grid;grid-template-columns:190px repeat(5,minmax(165px,1fr));min-width:1030px}.cell{border-top:1px solid #e7ece8;border-right:1px solid #e7ece8;min-height:157px;padding:9px;background:#fff}.dayhead{min-height:62px;background:#f8faf8;text-align:center;padding:12px;color:#819187;font-size:11px}.dayhead strong{display:block;font-size:14px;color:#344e43;margin-top:5px}.dayhead.today{background:#edf4e9}.person{padding:22px 16px;background:#fcfdfb}.person strong{display:block;font-size:13px}.person small{display:block;color:#86978c;margin:7px 0}.initial{background:#edf2e9;border-radius:50%;display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;margin-bottom:9px;color:#5e7e60;font-size:11px}.job{display:block;width:100%;border:0;border-left:3px solid #c69756;border-radius:6px;background:#faf0dc;text-align:left;padding:10px;margin-bottom:7px;color:#705a30;font-size:11px;line-height:1.5}.job.maintenance{background:#eaf3ec;border-color:#6d9d7d;color:#3f6951}.job.service{background:#edf2fa;border-color:#7c9fc5;color:#4a698f}.job.absence{background:#f2edf3;border-color:#aa8bb0;color:#7a6180}.job b{display:block;font-size:11px;margin-bottom:3px}.job strong{display:block;font-size:12px}.job small{display:block;opacity:.8}.job:hover{filter:brightness(.97)}.cell.dragover{background:#edf5e9;outline:2px dashed #6b9b74;outline-offset:-4px}.footnote{font-size:11px;margin:16px 20px}.notice{font-size:11px;color:#839187;margin:20px 0;line-height:1.6}dialog{border:0;border-radius:15px;padding:26px;width:600px;max-width:95vw;max-height:92vh;color:#29433a;box-shadow:0 20px 80px #16342630}dialog::backdrop{background:#1a302b66}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-head h2{margin-top:5px;font-size:22px}.dialog-head .close{border:0;font-size:22px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin-bottom:15px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e5ece5;padding-top:17px}footer div{display:flex;gap:7px}.danger{color:#af5146}.error{color:#a9473b;font-size:12px}.employee-row{display:flex;justify-content:space-between;align-items:center;padding:20px;border-top:1px solid #e7ece8}.employee-row small{color:#819184;display:block;margin-top:5px}#toast{position:fixed;bottom:24px;right:28px;background:#284c37;color:white;border-radius:9px;padding:14px 22px;box-shadow:0 5px 20px #0002;z-index:10}[hidden]{display:none!important}@media(min-width:1600px){.content{padding:42px 48px}.cell{min-height:178px}}@media(max-width:1000px){aside{width:175px;padding:25px 12px}.logo{width:145px}main{margin-left:175px;width:calc(100% - 175px)}.content{padding:22px}header{padding:0 22px}.legend small{display:none}.stats{gap:10px}.stats article{padding:15px}h1{font-size:24px}}@media(max-width:650px){body{display:block}aside{position:static;width:100%;height:auto;padding:12px;flex-direction:row;align-items:center;border-bottom:1px solid #ddd;gap:8px}.logo{width:95px;height:42px;margin:0}.workspace,.later,.local{display:none}.nav{margin:0;padding:9px;font-size:14px}.nav span{font-size:12px}main{margin:0;width:100%}header{height:65px;padding:0 14px}header>div:first-child{display:none}.content{padding:20px 12px}.intro{align-items:flex-start}.intro .primary{font-size:12px;white-space:nowrap}h1{font-size:22px}.intro p{font-size:12px}.stats{grid-template-columns:1fr 1fr}.stats strong{font-size:23px}.toolbar{padding:15px}.weeknav h2{font-size:13px;margin-left:3px}.filters{width:100%}.filters input,.filters select{width:50%}.legend{gap:12px;font-size:10px;padding:0 15px 15px}.formgrid{gap:0 10px}}
/* Agrozon-huisstijl: donkere omlijsting, lichte werkruimte. */
:root{--agrozon-navy:#203543;--agrozon-green:#79b52b;--agrozon-text:#eff5f7}
body{background:var(--agrozon-navy)}
aside{background:var(--agrozon-navy);border-right:1px solid #3b505b;color:var(--agrozon-text)}
.logo{background:var(--agrozon-navy)}
.workspace,.later p{color:#b5c6ce}
.nav{background:transparent;color:#dce7ec;border:1px solid transparent}
.nav:hover{background:#304957;color:#fff}
.nav.active{background:#314c35;color:#e4f7d0;border-color:#6c993d;box-shadow:inset 3px 0 var(--agrozon-green)}
.later{border-color:#40545e}.later span{color:#bdcbd2}
.local{background:#2b4350;color:#eef5f7}.local i{background:var(--agrozon-green)}.local small{color:#becdd3}
main{min-height:100vh;display:flex;flex-direction:column;border-right:8px solid var(--agrozon-navy);background:#f5f7f6}
header{background:var(--agrozon-navy);color:#f3f7f8;border-bottom:3px solid var(--agrozon-green);flex-shrink:0}
header span{color:#b7c9d0}.header-actions button{background:#2d4654;color:#f5f8fa;border-color:#526874}.header-actions button:hover{background:#3c5969}
.avatar{background:var(--agrozon-green);color:#172c19;font-weight:700}
.content{flex:1}.eyebrow{color:#547d27}.stats article:first-child{border-top-color:var(--agrozon-green)}
.primary{background:#477d24;border-color:#477d24}.primary:hover{background:#38641b}
.app-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--agrozon-navy);border-top:3px solid var(--agrozon-green);padding:14px 36px;color:#d5e3e9;font-size:11px;flex-wrap:wrap}
.app-footer strong{color:white;font-weight:600}.app-footer .footer-status{color:#d5ebbc}
@media(max-width:650px){main{border-right:0}.app-footer{padding:14px;font-size:10px}aside{border-bottom:1px solid #40545e}.nav.active{box-shadow:inset 0 -3px var(--agrozon-green)}}

/* Volledige navigatie, met scrollruimte voor kleine schermen. */
aside{padding:22px 15px 16px}.logo{height:62px;margin-bottom:24px}.workspace{flex-shrink:0;margin-bottom:12px}.sidebar-menu{min-height:0;overflow-y:auto;flex:1;padding:0 4px 10px 0;scrollbar-width:thin;scrollbar-color:#58717e transparent}.sidebar-menu .nav{width:100%;min-height:42px;padding:9px 11px;margin-bottom:4px;gap:11px;border-radius:7px}.nav-icon{width:21px;flex-shrink:0;text-align:center;font-size:20px!important}.sidebar-menu .nav>span:not(.nav-icon){font-size:12px}.nav.planned{opacity:1;cursor:default;color:#bacbd3;background:transparent}.nav.planned:hover{background:transparent}.nav.planned small{margin-left:auto;font-size:9px;color:#b7cbd7;background:#2b4451;padding:3px 5px;border-radius:4px}.menu-divider{border-top:1px solid #40545e;margin:14px 6px}.local{flex-shrink:0;margin-top:15px}
@media(max-width:650px){aside{flex-wrap:wrap;padding:10px 12px}.logo{height:38px;width:105px;margin:0}.sidebar-menu{display:flex;overflow-x:auto;overflow-y:hidden;gap:5px;flex-basis:100%;padding:6px 0 0}.sidebar-menu .nav{width:auto;min-height:38px;flex-shrink:0;gap:7px}.sidebar-menu .nav.planned,.menu-divider{display:none}.local{display:none}}

.settings-layout{display:grid;grid-template-columns:220px 1fr;border-top:1px solid #e2e9e5}.settings-menu{padding:20px;background:#f3f6f3;display:flex;flex-direction:column;gap:10px}.settings-menu button{text-align:left}.settings-body{padding:28px;line-height:1.7}.employee-actions{display:flex;gap:8px}@media(max-width:650px){.settings-layout{grid-template-columns:1fr}.employee-actions{flex-direction:column}}

.empty-state{padding:25px;text-align:center;color:#687e72}.employee-row>div:first-child{overflow-wrap:anywhere}#customersView .filters input{width:260px}@media(max-width:650px){#customersView .filters{flex-wrap:wrap}#customersView .filters input{width:100%}}

.customer-type{display:inline-block!important;color:#446b29!important;background:#eef5e6;padding:3px 8px;border-radius:5px;margin:7px 0 4px!important}#customersView .filters{flex-wrap:wrap}#customersView .filters input{width:235px}

.settings-group{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#64776e;padding:16px 3px 0}.settings-menu .selected{border-color:#79b52b;background:#eaf3df}.checkbox-label{display:flex;flex-direction:row;align-items:center;gap:9px}.checkbox-label input{accent-color:#477d24}#choiceSettings>.toolbar{padding:0;margin-bottom:15px}#choiceList .employee-row{padding:16px 0;gap:15px}#choiceSettings>p{font-size:12px}

.extra-employees{grid-column:1/-1;border:1px solid #dce5df;border-radius:8px;padding:12px;margin:0 0 16px;min-width:0}.extra-employees legend{font-size:12px;padding:0 6px}.extra-employees>small{display:block;color:#6e8075;font-size:11px;line-height:1.5}.extra-employees>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.extra-employees .checkbox-label{margin:0;font-size:12px}.crew-label{font-weight:600;border-bottom:1px solid #b3bdac55;padding-bottom:4px;margin-bottom:4px}@media(max-width:650px){.extra-employees>div{grid-template-columns:1fr}}

/* De werkbonstatus bepaalt de kleur van de gehele klus. */
.status-amber{--status-bg:#fff0c8;--status-line:#c18519;--status-ink:#674b13}.status-blue{--status-bg:#e5efff;--status-line:#4b79bf;--status-ink:#2f568c}.status-green{--status-bg:#e5f3e5;--status-line:#518653;--status-ink:#315e35}.status-purple{--status-bg:#f0e5fa;--status-line:#9561b5;--status-ink:#70408f}.status-red{--status-bg:#ffe5e2;--status-line:#bc5752;--status-ink:#923b37}.status-gray{--status-bg:#e9edef;--status-line:#7b8992;--status-ink:#4b5b66}
.job[class*="status-"]{background:var(--status-bg);border-left-color:var(--status-line);color:var(--status-ink)}.status-chip{display:inline-block;padding:5px 10px;border-radius:5px;background:var(--status-bg);color:var(--status-ink);border-left:3px solid var(--status-line);font-weight:600}.status-dot{display:inline-block;flex-shrink:0;width:11px;height:11px;border-radius:50%;background:var(--status-line)}.job-context-menu{position:fixed;z-index:50;width:260px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;background:white;border:1px solid #d4dfd8;border-radius:10px;padding:7px;box-shadow:0 8px 36px #132e3833}.job-context-menu button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;border-radius:5px;font-size:12px;padding:11px}.job-context-menu button[aria-checked="true"]{background:#eaf3df;font-weight:700}.context-heading{padding:10px 11px 5px;font-size:10px;font-weight:700;letter-spacing:1px;color:#7c8d82}.context-status:focus-visible{outline-offset:-3px}

.dossier-dialog{width:850px}.dossier-dialog .employee-row{gap:16px}.dossier-dialog .status-chip{font-size:11px;margin-top:8px}.employee-actions{flex-wrap:wrap}input[readonly]{background:#f2f5f3;color:#52685c}

.work-order-number{font-weight:700;letter-spacing:.5px;margin-bottom:4px}

.office-strip{display:block;margin:-10px -10px 8px;padding:6px 9px;border-radius:4px 4px 0 0;background:var(--status-bg);color:var(--status-ink);border-bottom:3px solid var(--status-line);font-size:10px;font-weight:700;line-height:1.4}.job:has(.office-strip){overflow:hidden}

.auth-body{display:grid;place-items:center;min-height:100vh;padding:24px}.auth-body .auth-card{margin:0;width:440px;max-width:100%;min-height:auto;background:white;padding:32px;border-radius:14px;border:0}.login-logo{width:190px;background:#203543;padding:12px;margin-bottom:18px}.auth-card h1{font-size:25px}.auth-card small{display:block;color:#708276;margin-top:22px}.auth-card form button{width:100%}.technician-body{display:block}.technician-body main{margin:0;width:100%}#myJobs{display:grid;gap:16px}#myJobs section{padding:20px}#myJobs article{border-top:1px solid #dfe7e1;padding:12px 0}#myJobs article p{color:#29433a;margin:6px 0}.account-form{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.account-form label{margin:0}.account-form .error{grid-column:1/-1}@media(max-width:650px){.account-form{grid-template-columns:1fr}}

.activation-control{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;padding:10px 12px;border:1px solid #dce5df;border-radius:8px;white-space:nowrap;font-size:12px;background:white}.activation-control input{width:17px;height:17px;accent-color:#477d24;margin:0}.activation-control span{font-weight:600}

.password-control{display:flex;gap:8px;align-items:stretch;min-width:0}.password-control input{width:100%;flex:1;min-width:0}.password-control button{flex-shrink:0;font-size:12px;padding:9px 12px}.auth-card .password-control button{width:auto}

.extra-employees>div{display:block}.extra-employee-chooser{display:flex;gap:8px;margin-bottom:12px}.extra-employee-chooser select{flex:1;min-width:0}.selected-extra-employees{display:flex;flex-wrap:wrap;gap:8px}.extra-employee-tag{display:flex;align-items:center;gap:10px;background:#edf4e8;border:1px solid #d2e1c8;border-radius:7px;padding:5px 8px;font-size:12px}.extra-employee-tag button{padding:2px 6px;border:0;background:transparent;font-size:19px}.extra-employee-chooser button:disabled{opacity:.5;cursor:default}

/* Uitgebreid palet en tweekleurige statussen. */
.status-amber{--status-bg:#fff0c8;--status-line:#c18519;--status-ink:#674b13}.second-amber{--second-bg:#fff0c8;--second-line:#c18519}
.status-blue{--status-bg:#e5efff;--status-line:#4b79bf;--status-ink:#2f568c}.second-blue{--second-bg:#e5efff;--second-line:#4b79bf}
.status-green{--status-bg:#e5f3e5;--status-line:#518653;--status-ink:#315e35}.second-green{--second-bg:#e5f3e5;--second-line:#518653}
.status-purple{--status-bg:#f0e5fa;--status-line:#9561b5;--status-ink:#70408f}.second-purple{--second-bg:#f0e5fa;--second-line:#9561b5}
.status-red{--status-bg:#ffe5e2;--status-line:#bc5752;--status-ink:#923b37}.second-red{--second-bg:#ffe5e2;--second-line:#bc5752}
.status-gray{--status-bg:#e9edef;--status-line:#7b8992;--status-ink:#4b5b66}.second-gray{--second-bg:#e9edef;--second-line:#7b8992}
.status-orange{--status-bg:#ffe6cb;--status-line:#d77a24;--status-ink:#7d491c}.second-orange{--second-bg:#ffe6cb;--second-line:#d77a24}
.status-pink{--status-bg:#fbe2ef;--status-line:#bd5b8b;--status-ink:#803c5d}.second-pink{--second-bg:#fbe2ef;--second-line:#bd5b8b}
.status-teal{--status-bg:#dcf4ef;--status-line:#328c80;--status-ink:#245f57}.second-teal{--second-bg:#dcf4ef;--second-line:#328c80}
.status-cyan{--status-bg:#def5fc;--status-line:#368ba4;--status-ink:#285a6c}.second-cyan{--second-bg:#def5fc;--second-line:#368ba4}
.status-lime{--status-bg:#eef5ce;--status-line:#849c30;--status-ink:#4f601d}.second-lime{--second-bg:#eef5ce;--second-line:#849c30}
.status-brown{--status-bg:#efe5d9;--status-line:#946d42;--status-ink:#644a30}.second-brown{--second-bg:#efe5d9;--second-line:#946d42}
.job.dual-color,.office-strip.dual-color,.status-chip.dual-color{background:linear-gradient(110deg,var(--status-bg) 0%,var(--status-bg) 50%,var(--second-bg) 50%,var(--second-bg) 100%);color:#243442}.status-dot.dual-color{background:linear-gradient(90deg,var(--status-line) 50%,var(--second-line) 50%)}

/* Twee rechte kleurhelften over het hele klusblok. */
.office-first-amber{--office-first:#fff0c8}.office-second-amber{--office-second:#fff0c8}
.office-first-blue{--office-first:#e5efff}.office-second-blue{--office-second:#e5efff}
.office-first-green{--office-first:#e5f3e5}.office-second-green{--office-second:#e5f3e5}
.office-first-purple{--office-first:#f0e5fa}.office-second-purple{--office-second:#f0e5fa}
.office-first-red{--office-first:#ffe5e2}.office-second-red{--office-second:#ffe5e2}
.office-first-gray{--office-first:#e9edef}.office-second-gray{--office-second:#e9edef}
.office-first-orange{--office-first:#ffe6cb}.office-second-orange{--office-second:#ffe6cb}
.office-first-pink{--office-first:#fbe2ef}.office-second-pink{--office-second:#fbe2ef}
.office-first-teal{--office-first:#dcf4ef}.office-second-teal{--office-second:#dcf4ef}
.office-first-cyan{--office-first:#def5fc}.office-second-cyan{--office-second:#def5fc}
.office-first-lime{--office-first:#eef5ce}.office-second-lime{--office-second:#eef5ce}
.office-first-brown{--office-first:#efe5d9}.office-second-brown{--office-second:#efe5d9}
.job.dual-color,.office-strip.dual-color,.status-chip.dual-color{background:linear-gradient(180deg,var(--status-bg) 50%,var(--second-bg) 50%)}.job.office-split{background:linear-gradient(180deg,var(--office-first) 50%,var(--office-second) 50%);color:#243442}

/* Compacte koprij: geen minimale hoogte van de klusrijen overnemen. */
.board > .cell.dayhead{min-height:56px;padding:8px 10px;height:auto}.board > .dayhead strong{margin-top:3px}

.employee-order-controls{display:flex;gap:6px;margin-top:12px}.employee-order-controls button{padding:3px 10px;font-size:17px;line-height:1.3}.employee-order-controls button:disabled{opacity:.3;cursor:default}

.planning-group-heading{grid-column:1/-1;text-align:left;border-radius:0;border:0;border-top:1px solid #d9e3da;border-bottom:1px solid #d9e3da;background:#eaf0e8;color:#355439;padding:10px 16px;font-size:12px;font-weight:650}.planning-group-heading:hover{background:#dfe9dc}.filters{flex-wrap:wrap}

.planning-group-row{grid-column:1/-1;display:flex;align-items:stretch;background:#eaf0e8;border-top:1px solid #d9e3da;border-bottom:1px solid #d9e3da}.planning-group-row .planning-group-heading{flex:1;min-width:0;border:0}.group-order-controls{display:flex;align-items:center;gap:5px;padding:5px 12px}.group-order-controls button{padding:3px 10px;font-size:17px}.group-order-controls button:disabled{opacity:.3;cursor:default}

.permissions-form{padding:10px 24px 24px}.permission-row{display:flex;flex-direction:row;align-items:center;gap:12px;padding:13px 0;margin:0;border-bottom:1px solid #e5ece5;font-size:13px}.permission-row input{width:18px;height:18px;accent-color:#477d24}.permissions-form>button{margin-top:20px}

.job-navigation{grid-column:1/-1;margin-bottom:15px}.job-navigation small{display:block;color:#73877b;font-size:11px;margin-top:8px}.navigation-link{display:inline-block;background:#edf4e8;border:1px solid #c9dcbc;border-radius:7px;padding:10px 14px;color:#315c25;text-decoration:none;font-size:12px;font-weight:600}.navigation-link:hover{background:#deecd4}

.customer-dialog{width:760px}.form-section-title{font-size:13px;border-top:1px solid #e4ebe4;padding-top:16px;margin:8px 0 16px;color:#4b6a4a}.customer-summary{padding:0 20px 18px;color:#6c8174;font-size:12px}.customer-table-scroll{overflow:auto}.customer-table{width:100%;border-collapse:collapse;min-width:940px;text-align:left}.customer-table th{background:#f2f6f1;color:#6a7f70;font-size:11px;padding:13px 16px;font-weight:600}.customer-table td{padding:18px 16px;border-top:1px solid #e4ebe4;vertical-align:top;font-size:12px}.customer-table td small{display:block;line-height:1.6;color:#6d7e72}.customer-table .customer-type{font-size:10px}.debtor-cell{font-weight:700;white-space:nowrap;color:#426b2d}.customer-actions{display:flex;gap:6px;flex-wrap:wrap}.customer-actions button{font-size:11px;padding:8px 10px}.dossier-contact{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 24px;padding:16px;background:#f3f7f1;border-radius:8px}.dossier-contact:empty{display:none}.dossier-contact small{display:block;color:#758574;font-size:10px;margin-bottom:4px}.dossier-contact span{font-size:12px;overflow-wrap:anywhere}.dossier-notes{grid-column:1/-1;white-space:pre-wrap}.dossier-tabs{display:flex;gap:8px;border-bottom:1px solid #dde7db;padding-bottom:12px;margin:18px 0}.dossier-tabs [aria-selected="true"]{background:#eaf2df;border-color:#8eaf6b;color:#365b22}.customer-upload{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:16px;background:#f3f7f1;border-radius:8px}.customer-upload label{margin:0;flex:1}.customer-upload small{flex-basis:100%;color:#788673;font-size:11px}#customerFileList{margin-top:16px}#customerFileList .employee-row{padding:16px 0}#customerForm footer{position:sticky;bottom:-26px;background:white;padding-bottom:12px}@media(max-width:650px){.dossier-contact{grid-template-columns:1fr}.customer-dialog .formgrid{grid-template-columns:1fr}.customer-upload input{max-width:100%}}

.internal-comment-label,.internal-comment-box{background:#fff3df;border:1px solid #e6cc9c;border-radius:8px;padding:14px}.internal-comment-label small{color:#80653b;font-size:11px}.internal-comment-box{margin:16px 0;font-size:12px;white-space:pre-wrap}.job-file-upload{background:#f2f6ef;border:1px solid #dce7d5;border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:10px}.job-file-upload label{margin:0}.job-file-upload>button{align-self:flex-start}.attachment-info{font-size:11px;color:#70836f;line-height:1.6}.job-attachments-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin:16px 0}.job-attachment{border:1px solid #dce5d8;border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:8px;min-width:0}.job-attachment strong{font-size:11px;overflow-wrap:anywhere}.job-attachment small{font-size:10px;color:#748172}.job-attachment img{width:100%;height:130px;object-fit:cover;border-radius:5px}.job-attachment .navigation-link{font-size:11px;align-self:flex-start}#jobFilesPanel{margin:20px 0}

.attachment-photo-button{padding:0;border:0;background:transparent;display:block;width:100%;cursor:zoom-in}.photo-viewer{width:min(1100px,96vw);max-width:96vw;padding:15px;overflow:auto}.photo-viewer>img{display:block;max-width:100%;max-height:78vh;width:auto;height:auto;margin:12px auto;object-fit:contain}.photo-viewer>p{text-align:center;overflow-wrap:anywhere;font-size:12px}.photo-viewer-close{display:block;margin-left:auto}.attachment-pending{border-style:dashed;background:#f6faef}

.attachment-section{border:0;border-radius:0;overflow:visible;margin-top:18px}.attachment-section>.form-section-title{border:0;margin:0;padding:0 0 10px}.attachment-file-name{font-size:12px;font-weight:650;color:#315c25;overflow-wrap:anywhere;text-decoration:underline}.attachment-file-name:hover{color:#548e38}.job-file-upload>label:not(.checkbox-label){border-bottom:1px solid #dde7d7;padding-bottom:12px}.job-attachments-sections .job-attachment{margin:0}

.pdf-link{margin:0 0 16px;background:#eaf1e4;border-color:#97b47f}.pdf-link:hover{background:#d9e8ce}

/* Artikelen en werkbonmaterialen */
.article-brand-heading{padding:12px 18px;background:#edf3e9;color:#203543;margin:22px 0 0}.job-materials{border-top:1px solid #dfe7df;margin-top:24px;padding-top:12px}.job-materials small{display:block}.material-picker{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0}.material-picker label{flex:1 1 140px;margin:0}.material-picker button{margin-bottom:0}.material-line{display:grid;grid-template-columns:minmax(150px,2fr) minmax(80px,1fr) minmax(100px,1fr) auto auto;gap:12px;align-items:center;border-bottom:1px solid #dfe7df;padding:14px 0}.material-line label{margin:0}.material-total{text-align:right;font-weight:700;color:#203543}.article-dialog{max-width:700px}#articleList .employee-row{padding:18px}#articlesView>.filters{padding:16px 0}@media(max-width:700px){.material-line{grid-template-columns:1fr 1fr}.material-line>div{grid-column:1/-1}}

.material-table-scroll{overflow-x:auto;margin-top:18px}.material-table{width:100%;min-width:720px;border-collapse:collapse;text-align:left}.material-table th,.material-table td{padding:12px 10px;border-bottom:1px solid #dfe7df;vertical-align:middle}.material-table th{color:#203543;font-size:13px;white-space:nowrap}.material-table td:nth-child(2){min-width:190px}.material-table td:nth-child(2) strong{font-weight:500}.material-table td:nth-child(2) small{color:#708477}.material-table input{min-width:82px;width:90px;margin:0;padding:9px}.material-table .material-money{white-space:nowrap;text-align:right}.material-table th:nth-child(6){text-align:right}.article-actions{display:flex;gap:10px;flex-wrap:wrap}.article-actions button:last-child:not(:first-child){color:#a43a32}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

#jobDialog{width:min(1100px,calc(100vw - 48px));max-width:1100px}

.article-table-scroll{overflow-x:auto}.article-table{width:100%;min-width:760px;border-collapse:collapse;text-align:left}.article-table th,.article-table td{padding:16px;border-bottom:1px solid #dfe7df;vertical-align:middle}.article-table th{font-size:13px;color:#203543;white-space:nowrap}.article-table td:nth-child(2){width:45%;min-width:220px}.article-table .article-price{white-space:nowrap}.article-table td:nth-child(3){white-space:nowrap}.article-table small{display:block}.article-table .article-actions{flex-wrap:nowrap}.article-table .article-actions button{white-space:nowrap}.article-table .article-actions button[aria-label]{min-width:38px;padding:10px}

.workbon-material-picker{display:grid;grid-template-columns:100px 110px minmax(180px,1fr) auto}.workbon-material-picker .material-brand-filter{grid-column:1/-1;max-width:300px}.workbon-material-picker label{min-width:0}.material-table td:nth-child(2){min-width:0}.material-table td:nth-child(2) strong{font-weight:inherit}.material-table td:nth-child(3){min-width:220px;width:45%}.material-table td:nth-child(3) strong{font-weight:500}.material-table td:nth-child(3) small{color:#708477}@media(max-width:700px){.workbon-material-picker{grid-template-columns:90px minmax(100px,1fr)}.workbon-material-picker label:nth-child(4){grid-column:1/-1}}

.brand-manager{width:min(800px,calc(100vw - 48px));max-width:800px}.brand-manager-row{display:flex;gap:12px;align-items:center;margin:14px 0}.brand-manager-row input{flex:1;min-width:80px}.brand-manager-row button{white-space:nowrap}@media(max-width:600px){.brand-manager-row{flex-wrap:wrap}.brand-manager-row input{flex-basis:100%}}

/* Uitlijning artikelbeheer */
#articlesView .articles-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px}#articlesView .articles-toolbar h2{margin:12px 0}#articlesView .articles-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:260px}#articlesView .articles-actions button{margin:0;width:100%;text-align:center}#articlesView .article-brand-button{background:#e8f2dc;border-color:#c8dfad;color:#294330}#articlesView .article-brand-button:hover{background:#dbecc9;border-color:#9dc379}#articlesView>.articles-toolbar+p{margin:0;padding:0 24px 18px}#articlesView>.filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:0 24px 24px}#articlesView>.filters input,#articlesView>.filters select{margin:0;min-height:48px}#articlesView>.filters input{flex:1 1 280px;max-width:420px}#articlesView>.filters select{flex:0 1 260px}@media(max-width:650px){#articlesView .articles-toolbar{flex-direction:column;gap:12px;padding:18px}#articlesView .articles-actions{min-width:0;width:100%}#articlesView>.filters{padding:0 18px 18px}#articlesView>.filters input,#articlesView>.filters select{flex:1 1 100%;max-width:none}#articlesView>.articles-toolbar+p{padding:0 18px 18px}}

.communication-dialog{width:min(800px,calc(100vw - 48px));max-width:800px}.communication-dialog details{margin:16px 0;border:1px solid #dfe7df;border-radius:10px;padding:14px}.communication-dialog summary{cursor:pointer;font-weight:700}.communication-preview{white-space:pre-wrap;font-family:inherit;line-height:1.6;color:#203543}.communication-subject{font-weight:700}.communication-connection{background:#edf3e9;padding:12px;border-radius:8px}.context-communication{border-top:1px solid #dfe7df;margin-top:12px;padding-top:12px}.context-communication summary{cursor:pointer;padding:12px 16px;font-weight:700}.context-email{margin-left:14px}.context-communication button{width:100%;text-align:left}.job-context-menu{max-height:calc(100vh - 32px);overflow-y:auto}

.work-order-filters{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;padding:0 24px 16px}.work-order-filters label{margin:0}.work-order-filters label:first-child{grid-column:span 2}.work-order-filters input,.work-order-filters select{width:100%;margin:8px 0 0}.work-order-summary,#workOrderRangeError{padding:0 24px}.work-order-table-scroll{overflow-x:auto}.work-order-table{width:100%;min-width:1150px;border-collapse:collapse;text-align:left}.work-order-table th,.work-order-table td{padding:16px 14px;border-bottom:1px solid #dfe7df;vertical-align:top}.work-order-table th{color:#203543;white-space:nowrap;font-size:13px}.work-order-table strong,.work-order-table small{display:block}.work-order-table small{color:#708477;margin-top:6px}.work-order-table .work-order-open{background:#e8f2dc;border-color:#c8dfad;white-space:nowrap;padding:9px}.work-order-table .status-chip{display:inline-block;white-space:nowrap}.work-order-pagination{display:flex;gap:20px;justify-content:flex-end;align-items:center;padding:20px 24px}@media(max-width:800px){.work-order-filters{grid-template-columns:1fr 1fr}.work-order-filters label:first-child{grid-column:1/-1}}@media(max-width:500px){.work-order-filters{grid-template-columns:1fr}.work-order-pagination{gap:10px;padding:16px}}

.project-dialog{width:min(850px,calc(100vw - 48px));max-width:850px}.project-detail-dialog{width:min(1050px,calc(100vw - 48px));max-width:1050px}.project-description{white-space:pre-wrap;background:#edf3e9;border-radius:8px;padding:16px}.project-upload{display:flex;gap:16px;flex-wrap:wrap;align-items:end;margin:18px 0}.project-upload label{flex:1 1 250px}.project-photos{display:flex;gap:16px;flex-wrap:wrap}.project-photo{width:180px;padding:10px;background:#f3f7ef}.project-photo img{width:160px;height:120px;object-fit:contain}.project-photo small{display:block;overflow-wrap:anywhere}.project-detail-dialog h3{margin-top:28px}#projectsView>.filters{padding:0 24px 20px;display:flex;gap:12px;flex-wrap:wrap}#projectsList .employee-row,#dossierProjects .employee-row{padding:18px}#dossierProjects>button{margin:12px 0}

.quote-dialog{width:min(1500px,calc(100vw - 40px));max-width:1500px}.quote-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px}.quote-sidebar{background:#f2f6ef;padding:20px;border-radius:12px;min-width:0}.quote-sidebar .quote-actions{display:flex;flex-direction:column;gap:10px}.quote-grand-total{font-size:30px;display:block;color:#203543}.quote-summary small{display:block}.quote-revisions,.quote-files{display:flex;flex-direction:column;gap:8px;margin:18px 0;overflow-wrap:anywhere}.quote-log-entry{border-left:3px solid #79b52b;padding:0 0 20px 14px;overflow-wrap:anywhere}.quote-log-entry small{display:block;color:#708477;margin-top:6px}.quote-log-entry p{white-space:pre-wrap;margin:8px 0}.quote-article-picker{display:flex;gap:12px;align-items:end;margin:14px 0}.quote-article-picker label{width:130px}.quote-article-name{flex:1}.quote-lines{overflow-x:auto;margin:16px 0}.quote-lines .material-table{min-width:700px}.quote-lines input{max-width:100px}.quote-lines select{min-width:66px}.quote-upload input{max-width:100%;margin-bottom:10px}.quote-action-dialog{width:min(650px,calc(100vw - 40px));max-width:650px}#quotesView>.filters{display:flex;gap:12px;flex-wrap:wrap;padding:0 24px 20px}#quoteList .employee-row{padding:18px}@media(max-width:1000px){.quote-layout{grid-template-columns:1fr}.quote-sidebar{border-top:1px solid #dfe7df}}

.quote-template-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:16px;background:#edf4e6;border:1px solid #d5e5c5;border-radius:10px;margin-bottom:24px}.quote-template-controls label{flex:1 1 280px;margin:0}.quote-template-controls small{flex-basis:100%;color:#708477}.quote-template-controls button{background:#e8f2dc;border-color:#c8dfad}.quote-template-controls select{margin-top:8px}

.quote-article-picker{flex-wrap:wrap;padding:16px;background:#f2f7ed;border-radius:10px}.quote-article-picker label{width:auto;flex:1 1 190px;min-width:0}.quote-article-picker .quote-article-choice{flex:2 1 100%;max-width:100%}.quote-article-picker select,.quote-article-picker input{width:100%;min-width:0}.quote-article-picker .quote-add-article{margin-left:auto}

.quote-line-movable{cursor:grab;touch-action:none;user-select:none}.quote-line-movable::before{content:"⠿";color:#7b8d79;margin-right:9px}.quote-line-movable:focus-visible{outline:2px solid #75ad36;outline-offset:-3px}.quote-line-dragging{opacity:.45}.quote-lines tr.quote-line-before td{box-shadow:inset 0 3px #78ac37}.quote-lines tr.quote-line-after td{box-shadow:inset 0 -3px #78ac37}

.article-brand-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.article-brand-order{display:inline-flex;gap:7px}.article-brand-order button{padding:5px 13px;font-size:20px}.catalog-article-drag{cursor:grab;touch-action:none;user-select:none}.catalog-article-drag strong::before{content:"↕ ";color:#78906e}.catalog-article-drag:focus-visible{outline:2px solid #78ac37;outline-offset:-3px}.catalog-dragging{opacity:.45}.article-table tr.catalog-drop-before td{box-shadow:inset 0 3px #78ac37}.article-table tr.catalog-drop-after td{box-shadow:inset 0 -3px #78ac37}
#quoteList .employee-row{display:grid;grid-template-columns:minmax(0,1fr) 150px 140px;align-items:center;gap:24px}#quoteList .employee-row>div{min-width:0;overflow-wrap:anywhere}#quoteList .employee-row>strong{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}#quoteList .employee-row>button{justify-self:end;white-space:nowrap}@media(max-width:650px){#quoteList .employee-row{grid-template-columns:minmax(0,1fr) auto;gap:12px}#quoteList .employee-row>div{grid-column:1/-1}#quoteList .employee-row>strong{text-align:left}}

.mail-settings-dialog{width:min(780px,calc(100vw - 40px));max-width:780px}.mail-settings-dialog details{margin:20px 0;padding:16px;background:#f0f6e9;border-radius:8px}.mail-settings-dialog li{margin:9px 0}.mail-return-url{overflow-wrap:anywhere}.mail-settings-actions{display:flex;flex-wrap:wrap;gap:10px}.mail-connection-status{font-weight:600}

.job-signature-dialog{width:min(850px,calc(100vw - 30px));max-width:850px}.job-signature-dialog canvas{display:block;width:100%;height:auto;aspect-ratio:3/1;border:1px solid #b9cbb0;border-radius:8px;background:white;touch-action:none}.signature-summary{background:#f1f6ed;padding:12px;border-radius:8px}.signature-summary p{margin:7px 0}#jobCompletionPanel{padding:18px;background:#eff5e8;border-radius:10px;margin:20px 0}

/* Houd bestandsinformatie en acties per rij op dezelfde hoogte. */
.job-attachment > .attachment-file-name,
.job-attachment > strong { flex: 1 0 auto; }
.job-attachment > small { min-height: 2.8em; line-height: 1.4; }
.job-attachment > .navigation-link { min-width: 122px; box-sizing: border-box; text-align: center; }
#employeeAccountPanel{margin-top:22px;padding:20px;background:#f0f6e9;border:1px solid #dce7d5;border-radius:10px}#employeeAccountPanel .account-form{display:flex;flex-direction:column;gap:12px}#employeeAccountPanel .account-form label{width:100%}#employeeAccountPanel .employee-row{flex-wrap:wrap;gap:12px}#employeeAccountPanel h3{margin-top:0}
.technician-body .toolbar{display:flex;flex-wrap:wrap;gap:10px}.technician-body #week{flex:1 1 100%;order:-1;margin:0 0 8px}.technician-day.is-today{border-left:4px solid #76b82a}#myJobs details{margin-top:14px;padding:12px;background:#f2f6ee;border-radius:8px}#myJobs summary{cursor:pointer;font-weight:650}#myJobs .job-attachment{padding:10px;border:1px solid #dce5d8}#weekSummary{color:#61766c}@media(max-width:650px){.technician-body .content{padding:16px}.technician-body .toolbar>button{flex:1 1 40%}.technician-body header{gap:12px;padding:16px}.technician-body #week{font-size:18px}#myJobs .technician-day{padding:14px}}
.contract-dialog{width:min(850px,calc(100vw - 32px));max-width:850px}.contract-detail{white-space:pre-wrap;overflow-wrap:anywhere}.contract-row{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;gap:20px;align-items:center;padding:20px;border-top:1px solid #dfe7e1}.contract-row small{display:block;color:#71837a;margin-top:6px}.contract-amount{text-align:right;font-weight:650}.contract-dialog input[type=file]{margin:12px 0}.contract-dialog>.employee-row{flex-wrap:wrap}@media(max-width:700px){.contract-row{grid-template-columns:1fr}.contract-amount{text-align:left}}
.maintenance-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;padding:22px;border-top:1px solid #dfe7e1}.maintenance-row small{display:block;color:#6b8074;margin:7px 0}.maintenance-actions{display:flex;flex-direction:column;gap:10px;min-width:175px;align-self:center}.maintenance-status{display:inline-block;border-radius:6px;padding:6px 10px;background:#edf3e7;font-size:12px;font-weight:650}.maintenance-overdue{background:#fff0e9;color:#973c24}.maintenance-unplanned,.maintenance-done{background:#fff4d9;color:#805a12}.maintenance-planned{background:#e9f0fc;color:#355b93}.maintenance-dialog{width:min(650px,calc(100vw - 30px));max-width:650px}.maintenance-row details{margin-top:14px}.maintenance-row summary{cursor:pointer}@media(max-width:700px){.maintenance-row{grid-template-columns:1fr}.maintenance-actions{flex-direction:row;flex-wrap:wrap}}
#jobTitleChoice{margin-bottom:10px}.job-title-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 12px}.job-titles-dialog{width:min(800px,calc(100vw - 32px));max-width:800px}.job-title-list{margin-top:20px}.job-title-list .employee-row{gap:12px;flex-wrap:wrap}.job-title-list .employee-row>div{flex:1 1 250px}

#jobTitlesSettings .job-titles-dialog{width:100%;max-width:none}.job-title-list small{display:block;margin-top:5px;color:#71837a}#jobTitlesSettings form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}#jobTitlesSettings form label{flex:1 1 280px}

/* Klusomschrijving en opslaanknop op gelijke hoogte. */
#jobTitlesSettings form{align-items:flex-end}#jobTitlesSettings form label{margin:0;min-width:0}#jobTitlesSettings form input[name=name]{box-sizing:border-box;height:54px;margin:8px 0 0}#jobTitlesSettings form>button[type=submit]{box-sizing:border-box;height:54px;margin:0;white-space:nowrap}@media(max-width:650px){#jobTitlesSettings form>button[type=submit]{width:100%}}

/* Binnenruimte rond het beheer van klusomschrijvingen. */
#jobTitlesSettings .job-titles-dialog{box-sizing:border-box;padding:24px}#jobTitlesSettings .job-title-list{margin-top:24px}#jobTitlesSettings .job-title-list .employee-row{padding-left:0;padding-right:0}@media(max-width:650px){#jobTitlesSettings .job-titles-dialog{padding:16px}}

.contract-row{grid-template-columns:minmax(0,1fr) auto}@media(max-width:700px){.contract-row{grid-template-columns:1fr}}

.job-project-files{margin-top:24px;padding-top:20px;border-top:1px solid #dce5d8}.job-project-files:empty{display:none}

.article-save-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.article-dialog footer{gap:12px;flex-wrap:wrap}

.article-group-code{margin-top:8px;font-size:13px}

.job-title-order{display:inline-flex;gap:6px}.job-title-order button{padding:10px 14px;font-size:20px}

/* Keuzelijsten: vaste actiekolommen, ook bij langere beschrijvingen. */
#choiceList .employee-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px}#choiceList .employee-row>div{min-width:0;overflow-wrap:anywhere}#choiceList .employee-row>button{margin:0;min-height:50px;white-space:nowrap}#choiceList .employee-row>button:nth-child(2){grid-column:2}#choiceList .employee-row>button:nth-child(3){grid-column:3}@media(max-width:650px){#choiceList .employee-row{grid-template-columns:1fr auto;gap:10px}#choiceList .employee-row>div{grid-column:1/-1}#choiceList .employee-row>button:nth-child(2){grid-column:1;justify-self:end}#choiceList .employee-row>button:nth-child(3){grid-column:2}}

.technician-back{margin:10px 0 16px;display:inline-block}.technician-body #week{scroll-margin-top:20px}

/* Compacte, brede werkbonnen op het weekplanbord. */
.board{grid-template-columns:190px repeat(5,minmax(250px,1fr));min-width:1440px}
.board>.cell:not(.dayhead){min-height:112px;padding:7px}
.board>.person{padding:14px 12px}
.board .job{padding:7px 9px;margin-bottom:5px;font-size:11px;line-height:1.3;min-height:0}
.board .job .work-order-number{float:right;display:inline;font-size:9px;letter-spacing:0;margin:0 0 2px 8px}
.board .job b{font-size:11px;line-height:1.3;margin-bottom:3px}
.board .job strong{font-size:12px;line-height:1.3;margin-bottom:2px}
.board .job .job-customer,.board .job .job-location{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.board .job .job-location{font-size:10px}
.board .job .job-postal,.board .job .job-work-type,.board .job .job-execution-status{display:none}
.board .job .office-strip{margin:-7px -9px 5px;padding:3px 7px;border-bottom-width:2px;font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.board .job .crew-label{font-size:10px;line-height:1.2;margin-bottom:3px}

.project-photo-card{width:180px;display:flex;flex-direction:column;gap:8px}.project-file-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.project-photo-card .project-photo{height:100%}

.object-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.contract-detail span{white-space:pre-wrap;overflow-wrap:anywhere}

.report-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px}.report-tabs{display:flex;gap:12px;margin:24px}.report-tabs [aria-pressed="true"]{background:#eaf2df;border-color:#72b62b;color:#35551d}.report-output{padding:0 24px 24px}.report-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:24px 0}.report-card{display:flex;flex-direction:column;gap:16px;padding:18px;border:1px solid var(--line,#dce5df);border-radius:12px;background:#f4f7f1}.report-card>span{display:block;line-height:1.4;min-height:2.8em}.report-card strong{display:block;font-size:28px;line-height:1.15;margin:0;margin-top:auto}.report-table-scroll{overflow-x:auto}.report-table{width:100%;border-collapse:collapse;min-width:850px}.report-table th,.report-table td{text-align:left;padding:14px 10px;border-bottom:1px solid #dce5df;vertical-align:top}.report-table button{white-space:nowrap}.report-table td{overflow-wrap:anywhere}.report-output h3{margin-top:28px}@media(max-width:750px){.report-filters{grid-template-columns:1fr 1fr}.report-output{padding:0 16px 16px}}

#reportsView>p{margin-left:24px;margin-right:24px}

.dashboard-cards{margin:0 24px 24px}.dashboard-card{text-align:left;cursor:pointer;color:inherit}.dashboard-card:hover{border-color:#72b62b;background:#edf4e6}.dashboard-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:0 24px 24px}.dashboard-panel{padding:20px;border:1px solid #dce5df;border-radius:14px;min-width:0}.dashboard-panel-head{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:12px}.dashboard-panel-head h3{margin:0}.dashboard-panel-head button{white-space:nowrap}.dashboard-entry{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px 0;border-top:1px solid #e4ebe6}.dashboard-entry>div{min-width:0;overflow-wrap:anywhere}.dashboard-entry small{display:block;margin-top:6px;line-height:1.5}.dashboard-entry button{flex-shrink:0}.dashboard-date{margin:8px 0 0}@media(max-width:1000px){.dashboard-panels{grid-template-columns:1fr}}
.dashboard-cards{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:650px){.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-panel-head{align-items:flex-start;flex-direction:column}}

#dashboardView{background:#f5f7f5;border:0}#dashboardView>.toolbar{background:#203c49;color:white;border-radius:16px;margin-bottom:22px}#dashboardView>.toolbar h2{color:white}.dashboard-date{color:#c8d8d8}.dashboard-financials{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:0 24px 22px}.dashboard-finance{background:white;border:1px solid #dfe8e1;border-top:3px solid #75b63e;border-radius:12px;padding:22px}.dashboard-finance>span{color:#56706a;font-size:13px}.dashboard-finance>strong{display:block;font-size:32px;color:#203c49;margin:12px 0}.dashboard-finance>small{display:block;color:#74867e;line-height:1.5}.dashboard-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;margin:0 24px 28px}.dashboard-chart{background:white;border:1px solid #dfe8e1;border-radius:14px;padding:22px;min-width:0}.dashboard-chart h3{margin:0;font-size:17px}.chart-subtitle,.chart-note{font-size:11px;color:#77877f;line-height:1.6}.chart-subtitle{margin:8px 0 22px}.chart-note{margin:20px 0 0}.chart-donut-wrap{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}.chart-donut{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.chart-donut-center{background:white;border-radius:50%;width:112px;height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center}.chart-donut-center strong{font-size:32px}.chart-donut-center small{font-size:11px;color:#77877f}.chart-legend{flex:1;min-width:150px}.chart-legend>div{display:flex;align-items:center;gap:8px;margin:13px 0;font-size:12px}.chart-legend i{width:9px;height:9px;border-radius:3px;flex-shrink:0}.chart-legend strong{margin-left:auto}.chart-bar-row{margin:20px 0}.chart-bar-head{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:9px}.chart-bar-track{height:10px;background:#eef2ee;border-radius:8px;overflow:hidden}.chart-bar-fill{height:100%;border-radius:8px}.chart-months{display:flex;align-items:flex-end;gap:10px;height:180px}.chart-month{flex:1;min-width:0;text-align:center;font-size:11px}.chart-month small{font-size:9px;white-space:nowrap}.chart-month-stack{height:130px;display:flex;flex-direction:column-reverse;justify-content:flex-start;max-width:32px;margin:8px auto;background:#f3f6f3;border-radius:5px;overflow:hidden}.chart-month-stack .accepted{background:#70ad39}.chart-month-stack .open{background:#4b83c3}.dashboard-section-label{margin:0 24px 14px;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#6b8076}.dashboard-card{background:white;border-color:#dfe8e1}.dashboard-card>span{font-size:13px}.dashboard-panel{background:white}.dashboard-cards{gap:18px}@media(max-width:650px){.dashboard-charts{grid-template-columns:1fr}.dashboard-financials{grid-template-columns:1fr}.dashboard-finance>strong{font-size:28px}}

.dashboard-chart-wide{grid-column:1/-1}.dashboard-chart-wide .chart-month-stack{max-width:56px}.dashboard-chart-wide .chart-month small{font-size:11px}

.dashboard-panel-wide{grid-column:1/-1}.capacity-table{width:100%;border-collapse:collapse;min-width:650px;margin-top:20px}.capacity-table th,.capacity-table td{text-align:left;padding:18px 14px;border-bottom:1px solid #e4ebe6}.capacity-table td:first-child{font-weight:700;width:25%}.capacity-table td:not(:first-child){width:37.5%}.capacity-top{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:10px}.capacity-table small{display:block;margin-top:9px;font-size:11px;color:#6d8077}

.planning-choice-dialog{width:min(580px,calc(100vw - 32px));padding:28px}.planning-note{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;text-align:left;border:1px solid #d7cee6;border-left:4px solid #9564b5;background:#f1eafa;border-radius:7px;padding:9px 11px;margin:5px 0;white-space:normal}.planning-note small{font-size:10px;color:#77568e}.planning-note b{font-size:11px}.planning-note strong{font-size:12px}.planning-note.note-leave{background:#fff2d8;border-color:#e1b14d}.planning-note.note-sick{background:#f9e6e6;border-color:#cd8181}.planning-note:disabled{opacity:1;color:inherit}.cell:focus-visible{outline:2px solid #72b62b;outline-offset:-3px}

.office-day-hours{background:#e5f2d9;border-top:3px solid #73ad40;border-radius:5px;padding:8px 10px;margin-bottom:9px;color:#365729}.office-day-hours label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;font-size:12px;font-weight:700}.office-day-hours input{width:76px;min-width:0;padding:6px 8px;margin:0;height:34px;background:white;border:1px solid #b6d497;font-size:13px}.office-day-hours small{display:block;font-size:10px;margin-top:3px;min-height:12px}.office-day-hours input:disabled{opacity:1;color:#365729}

.office-day-hours{padding:3px 7px;border-top-width:2px;margin:0 0 7px;border-radius:3px;position:relative;min-height:0}.office-day-hours label{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:6px;margin:0!important;font-size:11px;line-height:24px}.office-day-hours input{width:64px!important;height:24px!important;min-height:24px!important;padding:1px 5px!important;font-size:12px;margin:0!important;border-radius:3px}.office-day-hours small{display:none}.office-day-hours:focus-within{outline:1px solid #91ba69}

.hours-chart-legend{display:flex;gap:20px;flex-wrap:wrap;margin:20px 0;color:#61776c;font-size:12px}.hours-chart-legend span{display:flex;align-items:center;gap:7px}.hours-chart-legend i{width:10px;height:10px;border-radius:3px}.hours-chart-person{padding:16px 0;border-top:1px solid #e4ebe6}.hours-chart-person>strong{display:block;font-size:13px;margin-bottom:12px}.hours-chart-line{display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:12px;margin:8px 0}.hours-chart-line>span{text-align:right;font-size:12px;font-variant-numeric:tabular-nums}.hours-chart-track{height:13px;background:#edf2ee;border-radius:4px;overflow:hidden}.hours-chart-fill{height:100%;border-radius:4px;min-width:0}.hours-chart-total{display:grid;grid-template-columns:1fr auto;gap:10px;border-top:1px solid #dce5df;padding-top:18px;margin-top:12px;font-size:12px}.hours-chart-total strong{text-align:right;font-size:16px}.hours-diagram .chart-note{min-height:42px}

.office-hours-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:24px 0}.office-hours-toolbar label{margin:0;min-width:160px}.office-hours-table{width:100%;min-width:1000px;border-collapse:collapse}.office-hours-table th,.office-hours-table td{padding:12px 8px;border-bottom:1px solid #dfe8e1;text-align:left}.office-hours-table thead{background:#edf4e7}.office-hours-table input{width:72px;min-width:0;margin:0;padding:9px}.office-hours-table tbody th{min-width:150px}.office-hours-total{font-weight:700;min-width:110px}#officeHoursSettings>p{line-height:1.6}.office-hours-status{color:#4b7e2e}
.settings-layout{grid-template-columns:220px minmax(0,1fr)}.settings-body{min-width:0}#officeHoursSettings{min-width:0;max-width:100%;border:0;margin:0;padding:0}.office-hours-grid{max-width:100%;overflow-x:auto}.office-hours-table{min-width:940px}.office-hours-table input{width:64px}@media(max-width:650px){.settings-layout{grid-template-columns:minmax(0,1fr)}}

.dashboard-chart-nested{border:0;border-top:1px solid #e2e9e5;border-radius:0;padding:24px 0 0;margin-top:28px;background:transparent}.dashboard-chart-nested .chart-months{margin-top:12px}

.ticket-dialog{width:min(1000px,calc(100vw - 36px));padding:28px}.ticket-context{background:#f0f5eb;border:1px solid #dce7d5;padding:18px;border-radius:10px;margin:18px 0}.ticket-context small{display:block;margin-bottom:12px}.ticket-row{display:flex;gap:20px;justify-content:space-between;align-items:center;border-top:1px solid #e2e9e5;padding:20px 24px}.ticket-row>div{min-width:0;overflow-wrap:anywhere}.ticket-row small{display:block;margin-top:7px}.ticket-row button{white-space:nowrap}.ticket-event{padding:14px 0 14px 18px;border-left:3px solid #76b63f;margin-bottom:12px}.ticket-event small{display:block;margin-top:6px;color:#789086}.ticket-event p{white-space:pre-wrap;overflow-wrap:anywhere}.ticket-summary,.ticket-error{margin-left:24px;margin-right:24px}

.ticket-notifications{position:relative;display:inline-block}.ticket-bell{white-space:nowrap}.ticket-notification-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(400px,calc(100vw - 36px));max-height:65vh;overflow-y:auto;padding:18px;background:white;color:#203c49;border:1px solid #d9e4dd;border-radius:12px;box-shadow:0 12px 36px #102c4130;z-index:200}.ticket-notification-panel>strong{display:block;margin-bottom:12px}.ticket-notification-panel>p{font-size:13px;line-height:1.5}.ticket-notification-item{display:block;width:100%;text-align:left;white-space:normal;padding:14px 10px;margin:8px 0;background:#f3f7ef;border:1px solid #e1e9db}.ticket-notification-item small{display:block;font-size:11px;line-height:1.5;margin-top:7px}.ticket-notification-item strong{overflow-wrap:anywhere}

.chat-nav{text-decoration:none}.chat-header-link{white-space:nowrap}.chat-body{margin:0;background:#f3f6f3}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:18px 28px;background:#203b48;color:white}.chat-header a{color:white}.chat-app{display:grid;grid-template-columns:300px minmax(0,1fr);height:calc(100dvh - 64px);max-width:1500px;margin:auto;padding:20px;gap:20px}.chat-conversations{position:static;width:auto;min-width:0;background:white;border:1px solid #dce5df;border-radius:14px;overflow-y:auto;padding:16px;display:block}.chat-list-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.chat-list-head h2{font-size:19px}.chat-thread{display:block;width:100%;padding:14px;text-align:left;margin:10px 0;background:#f5f8f2;white-space:normal}.chat-thread small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px;margin-top:6px}.chat-thread.selected{border-color:#72ad39;background:#eaf3df}.chat-conversation{padding:0;border:1px solid #dce5df;border-radius:14px;background:white;display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.chat-heading{padding:20px;border-bottom:1px solid #e4ebe6}.chat-heading h1{font-size:23px;margin:0 0 7px}.chat-heading small{color:#6c8075}#chatMessages{flex:1;min-height:120px;overflow-y:auto;padding:22px;display:flex;flex-direction:column;gap:12px;background:#f7f9f6}.chat-message{max-width:80%;align-self:flex-start;background:white;border:1px solid #dfe7df;border-radius:12px;padding:12px 16px}.chat-message.mine{align-self:flex-end;background:#e6f1d9;border-color:#c9dda9}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.chat-message small{font-size:11px;color:#6b8075}#chatComposer{display:flex;gap:12px;align-items:end;padding:16px;border-top:1px solid #e4ebe6}#chatText{flex:1;margin:0;resize:vertical;max-height:180px}#chatError{margin:0 16px}.chat-new-dialog{width:min(580px,calc(100vw - 30px));padding:26px}.chat-contact-list{max-height:40vh;overflow:auto}.chat-contact-list label{padding:8px}.chat-header-link{margin-left:8px}@media(max-width:750px){.chat-app{grid-template-columns:1fr;grid-template-rows:180px minmax(0,1fr);padding:8px;gap:8px;height:calc(100dvh - 66px)}.chat-conversations{padding:10px}.chat-thread{margin:5px 0;padding:9px}.chat-list-head h2{margin:0}.chat-conversation{min-height:0}.chat-heading{padding:12px}.chat-message{max-width:94%}.chat-header{padding:16px}.chat-header a{font-size:12px}#chatComposer{padding:10px;gap:8px}#chatComposer button{padding:10px}.chat-heading small{display:block;max-height:40px;overflow:auto}}

body.chat-body{display:block}.chat-body .chat-header{height:64px}.chat-body main.chat-app{margin:0 auto;width:100%}.chat-body .chat-message{box-shadow:none}.chat-body .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.chat-body{height:100dvh;overflow:hidden}.chat-body main.chat-app{min-height:0}.chat-body .chat-conversations,.chat-body .chat-list-head h2{color:#203c49}.chat-body .chat-conversations{inset:auto}.chat-body .chat-message p{color:#29433a}.chat-body .chat-header{width:100%}
.chat-body .chat-header #chatBack{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 22px;border:1px solid #78b638;border-left:4px solid #78b638;border-radius:9px;background:#304e32;color:#fff;text-decoration:none;font-size:14px;font-weight:700;line-height:1.4}.chat-body .chat-header #chatBack:hover{background:#3a5d39}.chat-body .chat-header #chatBack:focus-visible{outline:3px solid #b5d990;outline-offset:3px}@media(max-width:650px){.chat-body .chat-header #chatBack{padding:8px 12px;font-size:12px;min-height:40px}}
.quote-form textarea[name="intro"]{min-height:240px;line-height:1.6;resize:vertical}@media(max-width:650px){.quote-form textarea[name="intro"]{min-height:200px}}

.dossier-contact .dossier-email{grid-column:2;grid-row:1}.dossier-contact .dossier-debtor{grid-column:2;grid-row:2}@media(max-width:650px){.dossier-contact .dossier-email,.dossier-contact .dossier-debtor{grid-column:auto;grid-row:auto}.dossier-contact .dossier-email{order:1}.dossier-contact .dossier-debtor{order:2}.dossier-contact>div:not(.dossier-email):not(.dossier-debtor){order:3}}

.customer-pagination{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:20px;flex-wrap:wrap}.customer-pagination span{color:#6c8174;font-size:13px}.customer-pagination button{white-space:nowrap}@media(max-width:650px){.customer-pagination{justify-content:center;gap:10px}.customer-pagination span{flex-basis:100%;text-align:center;order:-1}}

.job-customer-results{border:1px solid #dce6d7;border-radius:8px;margin-top:6px;background:#fff;max-height:280px;overflow-y:auto;box-shadow:0 4px 12px #20354312}.job-customer-results button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e6ece3;border-radius:0;padding:12px;background:#fff}.job-customer-results button:hover,.job-customer-results button:focus{background:#edf5e5}.job-customer-results strong,.job-customer-results small{display:block}.job-customer-results small{font-size:12px;color:#6c8174;margin-top:4px}.job-customer-results>small{padding:12px}

.customer-table .customer-actions{flex-wrap:nowrap;align-items:center;width:max-content}.customer-table .customer-actions button{white-space:nowrap;flex-shrink:0}.customer-table td:last-child{width:1%;white-space:nowrap}

.customer-table td{vertical-align:top}.customer-table td:nth-child(2)>strong{display:block;line-height:1.6;margin:0}.customer-table td:nth-child(2)>.customer-type{display:table;margin-top:6px;line-height:1.4}.customer-table .debtor-cell{line-height:1.6}

.customer-table th:nth-child(5),.customer-table td:nth-child(5){text-align:center}.customer-table td:nth-child(5){vertical-align:top;line-height:1.6}

.security-events{max-height:55vh;overflow:auto;overflow-wrap:anywhere}.security-events .ticket-event{padding:14px 0;border-bottom:1px solid #e4ebe4}.security-events small{display:block;margin-top:6px;color:#6c8174}

.job-extra-days{margin:24px 0;padding:20px;background:#f3f7f1;border:1px solid #dce6d7;border-radius:10px}.job-extra-day{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px 0;border-top:1px solid #dce6d7}.job-extra-day label{margin:0}.job-extra-day button{align-self:end;justify-self:start}.job-extra-days>p{color:#6c8174}@media(max-width:700px){.job-extra-day{grid-template-columns:1fr}}

.job-planning-range{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:end}.job-planning-range label{margin:0}.job-planning-range button{margin-bottom:0}@media(max-width:700px){.job-planning-range{grid-template-columns:1fr}}

.planning-job-stack{display:grid;grid-auto-rows:140px;gap:5px;min-width:0}.board .planning-job-stack .job{height:140px;margin-bottom:0;position:relative;overflow:hidden;align-self:stretch}.board .planning-job-stack .job.job-connected-right{width:calc(100% + 19px);border-top-right-radius:0;border-bottom-right-radius:0;z-index:2}.board .planning-job-stack .job.job-connected-left{margin-left:-10px;width:calc(100% + 10px);border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.board .planning-job-stack .job.job-connected-left.job-connected-right{width:calc(100% + 29px)}.board .job-continuation>*{visibility:hidden}.board .job-continuation:focus-visible>*{visibility:visible}.board .planning-job-stack .job .office-strip{white-space:nowrap}

.job-crew-period{margin-top:16px;padding-top:14px;border-top:1px solid #dce6d7}.job-crew-period summary{cursor:pointer;font-weight:700;color:#385a29}.job-crew-period-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.job-crew-period-grid label{margin:0}@media(max-width:700px){.job-crew-period-grid{grid-template-columns:1fr}}

.board .job-supporting{position:relative;isolation:isolate}.board .job-supporting::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent,transparent 7px,rgba(32,53,67,.16) 7px,rgba(32,53,67,.16) 13px);pointer-events:none;z-index:3;border-radius:inherit}.technician-supporting{background:repeating-linear-gradient(135deg,#f4f6f3,#f4f6f3 10px,#e8ede6 10px,#e8ede6 16px)!important}.supporting-hint{font-weight:700;color:#5b6d5a}

.extra-crew-overview{margin-top:16px;padding:14px 16px;background:#f1f6eb;border:1px solid #dce6d7;border-radius:8px}.extra-crew-overview p{margin:8px 0 0;overflow-wrap:anywhere;font-size:12px;color:#526b4f}

.job-crew-period-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.extra-crew-summary-row{display:flex;align-items:center;gap:8px;margin-top:10px}.extra-crew-summary-row p{flex:1;min-width:0;margin:0}.extra-crew-summary-row button{padding:8px 10px;font-size:12px;flex-shrink:0}@media(max-width:800px){.job-crew-period-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.extra-crew-summary-row{flex-wrap:wrap}.extra-crew-summary-row p{flex-basis:100%}}

/* Afzonderlijke groene werkbonkaarten in het project. */
.project-work-orders{display:grid;gap:12px;margin-top:16px}.project-work-order-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;background:#edf5e5;border:1px solid #bfd6a7;border-left:5px solid #71ad2d;border-radius:10px}.project-work-order-card>div{min-width:0;overflow-wrap:anywhere}.project-work-order-card strong{display:block;color:#294923;font-size:15px;line-height:1.5}.project-work-order-card small{display:block;margin-top:6px;color:#52664b;line-height:1.5}.project-work-order-card button{flex-shrink:0;border-color:#88b263;color:#355d22;background:#fff;font-weight:600}.project-work-order-card button:hover{background:#dceccd}@media(max-width:650px){.project-work-order-card{align-items:flex-start;flex-direction:column;gap:14px;padding:18px}.project-work-order-card button{align-self:flex-start}}

.ai-inactive{display:inline-block;padding:8px 12px;border-radius:7px;background:#edf3e7;color:#405d2f;margin-bottom:10px}.ai-prepared-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.ai-prepared-actions button:disabled{opacity:.6;cursor:not-allowed}.ai-assistant-dialog textarea{min-height:150px}

.inventory-intro,.inventory-filters{margin:0;padding:12px 24px}.inventory-filters{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.inventory-filters input[type=search]{min-width:260px;flex:1}.inventory-filters label{display:flex;align-items:center;gap:8px;margin:0}.inventory-filters input[type=checkbox]{width:auto}.inventory-table{overflow-x:auto}.inventory-table table{width:100%;border-collapse:collapse}.inventory-table th,.inventory-table td{padding:16px 20px;text-align:left;border-bottom:1px solid #dce5df;vertical-align:middle}.inventory-table th{background:#edf3e9}.inventory-table small{display:block;margin-top:5px;color:#62766a}.inventory-table td:nth-child(2),.inventory-table td:nth-child(3){text-align:center;font-variant-numeric:tabular-nums}.inventory-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.inventory-actions button{font-size:12px;white-space:nowrap}.inventory-low{color:#9a4c12;font-weight:700}.inventory-dialog{width:min(760px,calc(100vw - 32px));max-width:760px}.inventory-event{padding:16px 0;border-bottom:1px solid #dce5df}#inventoryView>.error{padding:0 24px}

.inventory-actions{display:grid;grid-template-columns:repeat(2,max-content);justify-content:end}.inventory-table th:nth-child(2),.inventory-table th:nth-child(3){text-align:center}.inventory-table td:nth-child(4){white-space:nowrap}

.inventory-table th:nth-child(n+2):nth-child(-n+5),.inventory-table td:nth-child(n+2):nth-child(-n+5){text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}.inventory-table td:nth-child(6){white-space:nowrap}.inventory-table details{margin-top:8px}.inventory-table summary{cursor:pointer;font-size:12px;color:#42682b}

/* Ingevulde velden, op alle pagina’s en in dynamische formulieren. */
input.field-filled,textarea.field-filled,select.field-filled{background-color:#edf5e5;border-color:#a8c98c;color:#294923}input.field-filled:focus-visible,textarea.field-filled:focus-visible,select.field-filled:focus-visible{outline:3px solid #f5a26e;outline-offset:2px}.material-search-filters{grid-column:1/-1;display:grid;grid-template-columns:minmax(180px,300px) minmax(220px,1fr);gap:16px;align-items:end}.workbon-material-picker .material-search-filters .material-brand-filter{grid-column:auto;max-width:none}.material-search-filters label{margin:0}@media(max-width:700px){.material-search-filters{grid-template-columns:1fr}}

.quote-form textarea[name="scope"]{min-height:320px;line-height:1.6;resize:vertical}@media(max-width:650px){.quote-form textarea[name="scope"]{min-height:260px}}

.purchase-heading{padding:12px 24px;margin:0}.purchase-suggestions{overflow-x:auto}.purchase-suggestions table{border-collapse:collapse;width:100%}.purchase-suggestions th,.purchase-suggestions td{padding:15px 20px;border-bottom:1px solid #dce5df;text-align:left}.purchase-suggestions th{background:#edf3e9}.purchase-suggestions small,.purchase-card small{display:block;margin-top:5px;color:#62766a}.purchase-suggestions td:nth-child(n+2):nth-child(-n+5){text-align:center;font-variant-numeric:tabular-nums}.purchase-orders{padding:0 24px 24px;display:grid;gap:14px}.purchase-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px;border:1px solid #d8e5cc;border-left:5px solid #75a83a;border-radius:10px;background:#f6f9f2}.purchase-card>div:first-child{min-width:0;overflow-wrap:anywhere}.purchase-card p{color:#405c48;margin:8px 0}.purchase-actions{display:grid;gap:8px;flex-shrink:0}.purchase-card small{line-height:1.5}@media(max-width:650px){.purchase-card{align-items:stretch;flex-direction:column}.purchase-actions{grid-template-columns:1fr 1fr}}

#purchasingView>.purchase-notice{margin:8px 24px 16px;padding:12px 16px;border:1px solid #ebcfac;border-left:4px solid #ce8c37;border-radius:8px;background:#fff6e9;color:#8a4d13;line-height:1.6}#purchasingView>.purchase-notice:empty{display:none}

.dashboard-supply-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-supply-metric{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:18px;background:#f1f6ec;border:1px solid #d3e2c7;border-top:3px solid #77ad3b;min-width:0}.dashboard-supply-metric>span{min-height:42px;line-height:1.5}.dashboard-supply-metric strong{font-size:30px;line-height:1.3;margin:8px 0}.dashboard-supply-metric small{color:#61745b;line-height:1.5}.dashboard-supply-metric:hover{background:#e6f0db}@media(max-width:1000px){.dashboard-supply-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.dashboard-supply-metrics{grid-template-columns:1fr}}

.security-card{max-width:640px}.security-card #setupSecret{display:block;overflow-wrap:anywhere;padding:12px;background:#edf5e5}.security-card #securityQr{display:block;max-width:100%;height:auto;margin:16px auto}.security-card #recoveryCodes{width:100%;font-family:monospace}.security-card section{margin:20px 0}.security-card h2{font-size:1.15rem}

/* Duidelijke planbordkleuren, afgestemd op de oude planning. */
.board .status-amber{--status-bg:#f9d35c;--status-line:#9a7100;--status-ink:#172c35}.board .second-amber{--second-bg:#f9d35c;--second-line:#9a7100}.board .office-first-amber{--office-first:#f9d35c}.board .office-second-amber{--office-second:#f9d35c}
.board .status-blue{--status-bg:#69afe8;--status-line:#28699b;--status-ink:#172c35}.board .second-blue{--second-bg:#69afe8;--second-line:#28699b}.board .office-first-blue{--office-first:#69afe8}.board .office-second-blue{--office-second:#69afe8}
.board .status-green{--status-bg:#91c674;--status-line:#467831;--status-ink:#172c35}.board .second-green{--second-bg:#91c674;--second-line:#467831}.board .office-first-green{--office-first:#91c674}.board .office-second-green{--office-second:#91c674}
.board .status-purple{--status-bg:#c08ace;--status-line:#754281;--status-ink:#172c35}.board .second-purple{--second-bg:#c08ace;--second-line:#754281}.board .office-first-purple{--office-first:#c08ace}.board .office-second-purple{--office-second:#c08ace}
.board .status-red{--status-bg:#df8d85;--status-line:#99453d;--status-ink:#172c35}.board .second-red{--second-bg:#df8d85;--second-line:#99453d}.board .office-first-red{--office-first:#df8d85}.board .office-second-red{--office-second:#df8d85}
.board .status-gray{--status-bg:#cecccd;--status-line:#747274;--status-ink:#172c35}.board .second-gray{--second-bg:#cecccd;--second-line:#747274}.board .office-first-gray{--office-first:#cecccd}.board .office-second-gray{--office-second:#cecccd}
.board .status-orange{--status-bg:#ffb784;--status-line:#a85c26;--status-ink:#172c35}.board .second-orange{--second-bg:#ffb784;--second-line:#a85c26}.board .office-first-orange{--office-first:#ffb784}.board .office-second-orange{--office-second:#ffb784}
.board .status-pink{--status-bg:#efb9db;--status-line:#a15384;--status-ink:#172c35}.board .second-pink{--second-bg:#efb9db;--second-line:#a15384}.board .office-first-pink{--office-first:#efb9db}.board .office-second-pink{--office-second:#efb9db}
.board .status-teal{--status-bg:#72c9a3;--status-line:#287657;--status-ink:#172c35}.board .second-teal{--second-bg:#72c9a3;--second-line:#287657}.board .office-first-teal{--office-first:#72c9a3}.board .office-second-teal{--office-second:#72c9a3}
.board .status-cyan{--status-bg:#57bfe9;--status-line:#206f90;--status-ink:#172c35}.board .second-cyan{--second-bg:#57bfe9;--second-line:#206f90}.board .office-first-cyan{--office-first:#57bfe9}.board .office-second-cyan{--office-second:#57bfe9}
.board .status-lime{--status-bg:#c2bc60;--status-line:#77711d;--status-ink:#172c35}.board .second-lime{--second-bg:#c2bc60;--second-line:#77711d}.board .office-first-lime{--office-first:#c2bc60}.board .office-second-lime{--office-second:#c2bc60}
.board .status-brown{--status-bg:#c8a67e;--status-line:#78542d;--status-ink:#172c35}.board .second-brown{--second-bg:#c8a67e;--second-line:#78542d}.board .office-first-brown{--office-first:#c8a67e}.board .office-second-brown{--office-second:#c8a67e}
.board .job small{opacity:1}.board .job:focus-visible{outline:3px solid #203543;outline-offset:2px}.board .planning-note{background:#c08ace;border-color:#754281;color:#172c35}.board .planning-note small{color:inherit}.board .planning-note.note-leave{background:#f9d35c;border-color:#9a7100}.board .planning-note.note-sick{background:#df8d85;border-color:#99453d}

.planning-choice-dialog select[multiple]{min-height:130px}.planning-choice-dialog .note-all-day{display:flex;flex-direction:row;align-items:center;gap:10px}.planning-choice-dialog .note-all-day input{width:18px;height:18px;accent-color:#4b7b26}

/* Compacte notities: ongeveer halve hoogte, volledige tekst blijft zichtbaar. */
.board .planning-note{padding:4px 8px;gap:1px;margin:3px 0;border-radius:5px;line-height:1.15;min-height:0}.board .planning-note small{font-size:9px;line-height:1.1}.board .planning-note b{font-size:10px;line-height:1.15}.board .planning-note strong{font-size:11px;line-height:1.15;overflow-wrap:anywhere}

/* Zelfgekozen notitiekleur gaat voor de standaardkleur van de soort. */
.board .planning-note.note-color-purple{background:#c08ace;border-color:#754281;color:#172c35}
.board .planning-note.note-color-blue{background:#69afe8;border-color:#28699b;color:#172c35}
.board .planning-note.note-color-green{background:#91c674;border-color:#467831;color:#172c35}
.board .planning-note.note-color-orange{background:#ffb784;border-color:#a85c26;color:#172c35}
.board .planning-note.note-color-red{background:#df8d85;border-color:#99453d;color:#172c35}
.board .planning-note.note-color-amber{background:#f9d35c;border-color:#9a7100;color:#172c35}
.board .planning-note.note-color-gray{background:#cecccd;border-color:#747274;color:#172c35}
.board .planning-note.note-color-pink{background:#efb9db;border-color:#a15384;color:#172c35}
.board .planning-note.note-color-teal{background:#72c9a3;border-color:#287657;color:#172c35}
.board .planning-note.note-color-cyan{background:#57bfe9;border-color:#206f90;color:#172c35}
.board .planning-note.note-color-lime{background:#c2bc60;border-color:#77711d;color:#172c35}
.board .planning-note.note-color-brown{background:#c8a67e;border-color:#78542d;color:#172c35}

.note-employees{border:1px solid #dce5df;border-radius:8px;padding:12px;margin:0 0 16px}.note-employees legend{font-weight:600}.note-employees p{margin:0 0 10px;font-size:12px}.note-employee-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:200px;overflow:auto}.note-employee-options label{display:flex;flex-direction:row;align-items:center;gap:9px;margin:0;padding:7px;border-radius:5px;background:#f2f6ee}.note-employee-options input{width:18px;height:18px;flex-shrink:0;accent-color:#4b7b26}@media(max-width:500px){.note-employee-options{grid-template-columns:1fr}}

/* Tijd en omschrijving naast elkaar in compacte plannotities. */
.board .planning-note{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:7px;row-gap:1px;align-items:center}.board .planning-note>small{grid-column:1/-1}.board .planning-note>b{grid-column:1;white-space:nowrap}.board .planning-note>strong{grid-column:2;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}

/* Tijd en notitietitel delen dezelfde tekstbasis en regelhoogte. */
.board .planning-note{align-items:baseline}.board .planning-note>b,.board .planning-note>strong{font-size:11px;font-weight:700;line-height:1.2;margin:0;padding:0;align-self:baseline}

/* Meer ruimte voor interne werknotities op de werkbon. */
#jobForm textarea[name="notes"]{min-height:220px;resize:vertical}

.material-table .material-document-cell{white-space:nowrap;vertical-align:middle}.material-document-cell .navigation-link{display:inline-block;margin:0;padding:9px 12px}.material-document-cell small{color:#708477}

/* Op het planbord alleen tijd en klusomschrijving vet. */
.board .job{font-weight:400}.board .job .office-strip,.board .job .crew-label,.board .job .work-order-number,.board .job .job-customer,.board .job .job-location,.board .job .job-postal,.board .job .job-work-type,.board .job .job-execution-status{font-weight:400}.board .job>b,.board .job>strong{font-weight:700}

/* Meerdaagse werkbonnen: informatie leesbaar op iedere zichtbare uitvoerdag. */
.board .job-continuation>*{visibility:hidden}.board .planning-job-stack .job .office-strip{white-space:normal;overflow:visible;text-overflow:clip}.board .job .job-customer,.board .job .job-location{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.board .planning-job-stack{grid-auto-rows:180px}.board .planning-job-stack .job{height:180px}.board .job .crew-label{overflow-wrap:anywhere}

/* Eén leesbaar tekstblok over de volledige aangesloten periode. */
.board .planning-job-stack .job.job-merged-start{z-index:4;border-radius:6px;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;text-align:left}.board .job-merged-start .office-strip{flex-shrink:0}.board .job-merged-start .work-order-number{float:none;align-self:flex-end;flex-shrink:0}.board .job-continuation:focus-visible>*{visibility:hidden}

/* Doorlopende en losse werkbonnen dezelfde compacte hoogte. */
.board .planning-job-stack{grid-auto-rows:120px}.board .planning-job-stack .job{height:120px}.board .planning-job-stack .job.job-merged-start{display:block}.board .job-merged-start .work-order-number{float:right;display:inline;margin:0 0 2px 8px}

/* Donkergrijs voor statussen en notities. */
.status-darkgray{--status-bg:#62696d;--status-line:#40474b;--status-ink:#fff}.second-darkgray{--second-bg:#62696d;--second-line:#40474b}.office-first-darkgray{--office-first:#62696d}.office-second-darkgray{--office-second:#62696d}.board .status-darkgray{--status-bg:#62696d;--status-line:#40474b;--status-ink:#fff}.board .planning-note.note-color-darkgray{background:#62696d;border-color:#40474b;color:#fff}.board .job.status-darkgray .job-location,.board .job.status-darkgray .crew-label,.board .job.status-darkgray .work-order-number{color:inherit}

/* Wit met donkere tekst en zichtbare begrenzing. */
.status-white{--status-bg:#fff;--status-line:#899397;--status-ink:#172c35}.second-white{--second-bg:#fff;--second-line:#899397}.office-first-white{--office-first:#fff}.office-second-white{--office-second:#fff}.board .status-white{--status-bg:#fff;--status-line:#899397;--status-ink:#172c35}.board .job.status-white{box-shadow:inset 0 0 0 1px #b8c1c4}.board .planning-note.note-color-white{background:#fff;border-color:#899397;color:#172c35}

.work-order-table td:last-child:not([colspan]){white-space:nowrap}.work-order-table td:last-child:not([colspan])>*+*{margin-left:8px}

/* Eerst de complete hoofdplanning, daarna de extra monteurs. */
#jobForm label:has(>select[name="employee"]){grid-column:1/-1}#jobForm .extra-employees{grid-column:1/-1;margin-top:12px}

/* Monteursplanning naast elkaar op ruime schermen. */
#jobForm .job-crew-layout{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start;margin:12px 0 20px}#jobForm .job-primary-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border:1px solid #dce5df;border-radius:9px;min-width:0}#jobForm .job-primary-panel label{margin:0}#jobForm .job-primary-panel>label:first-child{grid-column:1/-1}#jobForm .job-crew-layout>.extra-employees{grid-column:auto;margin:0;padding:18px;min-width:0}#jobForm .job-crew-layout .job-crew-period-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#jobForm .job-crew-layout .job-crew-period{margin-top:14px;padding-top:12px}#jobForm .job-crew-layout .job-crew-period>p{font-size:12px;line-height:1.4}#jobForm .job-crew-layout input,#jobForm .job-crew-layout select{width:100%;min-width:0}@media(max-width:850px){#jobForm .job-crew-layout{grid-template-columns:1fr}}

/* Twee gelijke monteursblokken met dezelfde veldindeling. */
#jobForm .job-crew-layout{align-items:stretch}#jobForm .job-primary-panel{align-content:start}#jobForm .job-crew-layout>.extra-employees{position:relative;padding:18px;display:flex;flex-direction:column;gap:0}#jobForm .crew-panel-heading{float:left;width:100%;padding:0;margin:0 0 7px;font-size:12px;line-height:normal}#jobForm .job-crew-layout .job-crew-period{border:0;padding:0;margin:24px 0 0}#jobForm .job-crew-layout .crew-period-hint{display:none}#jobForm .job-crew-layout .job-crew-period-grid{margin:0;row-gap:24px}#jobForm .job-crew-layout .job-crew-period-grid label{margin:0}#jobForm .job-crew-layout .crew-access-hint{display:none}#jobForm .job-crew-layout .job-crew-period>p[role="status"]:empty{display:none}#jobForm .job-crew-layout #extraEmployees{margin:0}#jobForm .job-crew-layout #extraEmployees select{min-width:0}

/* Beide monteurs hebben dezelfde eenvoudige indeling: selectie, datumpaar, tijdpaar. */
#jobForm .job-crew-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:20px;align-items:stretch}
#jobForm .job-crew-layout>.job-primary-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto auto;gap:16px;align-content:start;padding:18px}
#jobForm .job-crew-layout>.extra-employees{display:flex;flex-direction:column;margin:0;padding:18px;min-width:0}
#jobForm .job-crew-layout legend.crew-panel-heading{display:none}
#jobForm .job-crew-layout .crew-selection-field{display:flex;flex-direction:column;gap:7px;min-height:72px;margin:0}
#jobForm .job-crew-layout .crew-selection-field>span{font-size:12px;line-height:normal}
#jobForm .job-crew-layout .job-primary-panel>label:first-child{grid-column:1/-1;min-height:72px}
#jobForm .job-crew-layout .job-primary-panel>label:nth-child(2),#jobForm .job-crew-layout .job-primary-panel>label:nth-child(3){min-height:104px}
#jobForm .job-crew-layout .job-primary-panel>label:nth-child(4),#jobForm .job-crew-layout .job-primary-panel>label:nth-child(5){min-height:72px}
#jobForm .job-crew-layout .job-crew-period{display:block;border:0;padding:0;margin:16px 0 0}
#jobForm .job-crew-layout .job-crew-period-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;gap:16px;margin:0}
#jobForm .job-crew-layout .job-crew-period-grid>label{grid-column:auto;grid-row:auto;margin:0}
#jobForm .job-crew-layout .job-crew-period-grid>label:nth-child(-n+2){min-height:104px}
#jobForm .job-crew-layout .job-crew-period-grid>label:nth-child(n+3){min-height:72px}
#jobForm .job-crew-layout .extra-employee-chooser{margin:0}
#jobForm .job-crew-layout .selected-extra-employees:empty{display:none}
#jobForm .job-crew-layout select,#jobForm .job-crew-layout input[type=date],#jobForm .job-crew-layout .extra-employee-chooser>button{height:44px;box-sizing:border-box}
@media(max-width:850px){#jobForm .job-crew-layout{grid-template-columns:1fr}}

/* Backup feedback stays visible in the dialog, including after completion. */
.backup-feedback:not(:empty){padding:14px 16px;border:1px solid #a9c98c;border-radius:8px;background:#edf5e5;color:#254a30;font-weight:600;}
.customer-dialog progress{display:block;width:100%;height:12px;margin:0 0 18px;accent-color:#4e7e21;}
.customer-dialog progress[hidden]{display:none;}

.backup-live-status{position:sticky;top:0;z-index:10;padding:10px 0;background:#fff;border-bottom:1px solid #c5d8b4;box-shadow:0 5px 8px #ffffffee;}
.backup-live-status[hidden]{display:none;}
.backup-live-status .backup-feedback{margin:0 0 10px;}
.backup-live-status progress{height:20px;margin:0;}

.ticket-integration-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid #dbe5dd}.ticket-integration-tabs .selected{background:#4c7d25;color:white;border-color:#4c7d25}.ticket-integration-notice{padding:18px 20px;background:#edf5e4;border:1px solid #bcd0a5;border-radius:12px;margin-bottom:22px}.ticket-integration-notice p{margin:8px 0 0}.ticket-integration-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.ticket-integration-cards>div{background:#fff1d9;border-radius:10px;padding:18px;border-left:4px solid #d68c2c}.ticket-integration-cards>div:nth-child(2){background:#e3f1fa;border-color:#53a2ce}.ticket-integration-cards>div:nth-child(3){background:#f0e8f8;border-color:#9467b7}.ticket-integration-cards>div:nth-child(4){background:#e7f1e0;border-color:#79a84b}.ticket-integration-cards strong{display:block;font-size:28px;margin-top:8px}.ticket-integration-detail{padding:22px;border:1px solid #c4d7b5;border-radius:12px;background:#f3f8ec;margin:22px 0}.ticket-integration-detail button{margin:10px 12px 0 0}.ticket-integration-detail label{display:block;margin-top:20px}.ticket-integration-orders{margin-top:28px}.ticket-integration-work-order{padding:18px;border:1px solid #dbe5dd;border-radius:10px;margin:12px 0;background:white}.ticket-integration-work-order p{white-space:pre-wrap}.ticket-integration-trial [hidden],.ticket-current-panel[hidden],.ticket-integration-trial[hidden]{display:none!important}@media(max-width:800px){.ticket-integration-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

.ticket-integrated-frame{display:block;width:100%;height:max(850px,calc(100vh - 180px));border:0;border-radius:12px;background:#f5f7f4}.ticket-integrated-host[hidden]{display:none!important}.ticket-integrated-host{min-width:0}

/* Tickets: geef de gekopieerde app direct ruimte onder de navigatie. */
body:has(#ticketsView:not([hidden])) .content > .intro{display:none}
body:has(#ticketsView:not([hidden])) .content{padding-top:12px}
#ticketsView:not([hidden]) .ticket-integration-tabs{margin-bottom:8px;padding-bottom:10px}
#ticketsView:not([hidden]) .ticket-integrated-host{border:0;border-radius:0}
/* Ticketkleuren voor de omlijsting; dashboard en planbordinhoud behouden hun opmaak. */
body > aside{background:linear-gradient(180deg,#254b5e 0%,#19394b 100%);border-right-color:#496c80;color:#f5f8fa}
body > aside .logo{background:#19394b}
body > aside .workspace{color:#bbd2df}
body > aside .nav{color:#e4eff5}
body > aside .nav:hover{background:#315a70;color:#fff}
body > aside .nav.active{background:#4e8350;border-color:#8acb47;color:#fff;box-shadow:inset 3px 0 #83c540}
body > aside .nav.planned,body > aside .nav.planned:hover{background:transparent;color:#bbd2df}
body > aside .nav.planned small{background:#31576b;color:#d8e8f1}
body > aside .menu-divider{border-color:#496c80}
body > aside .local{background:#254b5e;color:#edf5f9}
body > aside .local small{color:#bbd2df}
body > aside .local i{background:#83c540}
body > main > header{background:linear-gradient(110deg,#315a70,#19394b);border-bottom-color:#83c540;color:#f5f8fa}
body > main > header span{color:#bbd2df}
body > main > header .header-actions button,body > main > header .header-actions .button{background:#254b5e;color:#f5f8fa;border-color:#496c80;text-decoration:none}
body > main > header .header-actions button:hover,body > main > header .header-actions .button:hover{background:#376780;color:#fff}
body > main > header .avatar{background:#83c540;color:#112917}
body > main > .app-footer{background:#19394b;border-top-color:#83c540;color:#dcebf4}
body > main{border-right-color:#19394b}
@media(max-width:650px){body > aside .nav.active{box-shadow:inset 0 -3px #83c540}}
/* Monteursweergave: losse werkbonkaarten, gestapelde acties en geen overlap. */
.technician-body main,.technician-body .content,#myJobs,.technician-day{min-width:0;max-width:100%}
.technician-body header{height:auto;min-height:76px;flex-wrap:wrap;gap:12px;padding-block:16px}
#myJobs .technician-day{display:flex;flex-direction:column;gap:16px;overflow:visible}
#myJobs .technician-day>h2{line-height:1.4;margin:0}
#myJobs .technician-day>p{margin:0;line-height:1.5}
#myJobs .technician-day>article{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;padding:16px;border:1px solid #dce5e1;border-radius:12px;background:#fff;overflow-wrap:anywhere}
#myJobs .technician-day>article>p{margin:0;line-height:1.5}
#myJobs .technician-day>article>.navigation-link{display:block;align-self:stretch;min-height:44px;margin:4px 0 0;padding:12px 14px;text-align:center;line-height:1.4;white-space:normal}
#myJobs .technician-day>article>details{width:100%;min-width:0;margin:8px 0 0;padding:0;background:#f1f5ee;border:1px solid #dce5d7;border-radius:9px}
#myJobs .technician-day>article>details>summary{padding:14px;min-height:48px;line-height:1.45;overflow-wrap:anywhere}
#myJobs .technician-day>article>details[open]{padding:0 12px 12px}
#myJobs .technician-day>article>details[open]>summary{margin-inline:-12px}
#myJobs .technician-day>article.technician-supporting{background:#f4f6f3!important;border-left:4px solid #92a48a}
#myJobs .supporting-hint{align-self:flex-start;padding:6px 10px;background:#e6ede1;border-radius:6px;font-size:12px;line-height:1.4}
#myJobs .internal-comment-box{margin:4px 0;padding:12px}
@media(max-width:650px){
 .technician-body .content{padding:16px 12px}
 .technician-body header{min-height:64px;padding:14px 12px;font-size:13px}
 .technician-body .toolbar{padding:12px 0;gap:10px;align-items:stretch}
 .technician-body .toolbar>button{min-height:44px;min-width:0}
 .technician-body #employeeName{overflow-wrap:anywhere}
 #myJobs .technician-day{padding:14px;gap:14px}
 #myJobs .technician-day>article{padding:12px}
 #myJobs .job-attachments-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
}
.technician-body header .technician-logo{display:block;width:170px;max-width:48vw;height:64px;object-fit:contain;flex-shrink:0}@media(max-width:650px){.technician-body header .technician-logo{width:150px;height:56px}}

.billing-relation-panel{padding:18px;border:1px solid #d5e1d6;border-radius:12px;margin:16px 0;background:#f6f9f4;grid-column:1/-1}.billing-relation-panel h3{margin:0 0 14px}.billing-relation-panel .formgrid[hidden]{display:none}.billing-relation-summary{line-height:1.6;overflow-wrap:anywhere;color:#405c4d}.billing-relation-panel input,.billing-relation-panel select{width:100%}

#quotesView .quote-overview-toolbar{display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(190px,230px) auto auto;align-items:center;gap:14px;padding:22px 24px;border-bottom:1px solid #e2e9e5}#quotesView .quote-overview-toolbar h2{margin:0 12px 0 0}#quotesView .quote-overview-toolbar input,#quotesView .quote-overview-toolbar select,#quotesView .quote-overview-toolbar button{height:50px;min-height:50px;margin:0;min-width:0;width:100%}#quotesView .quote-overview-toolbar button{white-space:nowrap}@media(max-width:1100px){#quotesView .quote-overview-toolbar{grid-template-columns:1fr 1fr}#quotesView .quote-overview-toolbar h2{grid-column:1/-1}}@media(max-width:650px){#quotesView .quote-overview-toolbar{grid-template-columns:1fr;padding:16px}#quotesView .quote-overview-toolbar h2{grid-column:auto}}

.quote-customer-search{padding:18px;margin:0 0 20px;border:1px solid #d8e4d2;border-radius:12px;background:#f4f8f0}.quote-customer-search h3{margin-top:0}.quote-customer-search .footnote{margin-bottom:0}.quote-customer-search[hidden]{display:none}

.quote-customer-results{display:grid;gap:6px;max-height:290px;overflow:auto;margin:12px 0;padding:8px;border:1px solid #cbdcc0;border-radius:8px;background:white}.quote-customer-results[hidden]{display:none}.quote-customer-result{text-align:left;width:100%;padding:12px 14px;white-space:normal;line-height:1.45}.quote-customer-result:hover,.quote-customer-result:focus-visible{background:#eaf3df}.quote-customer-results p{padding:8px;margin:0}

.quote-compact-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 18px}.quote-compact-actions[hidden],.quote-template-controls[hidden]{display:none!important}

.contract-dialog p,.contract-dialog .contract-detail{color:#243c35;font-size:15px;line-height:1.65}.contract-dialog .contract-detail{margin:10px 0}.contract-dialog .contract-detail strong{color:#18392d;font-weight:700}.contract-dialog small,.contract-dialog .footnote{color:#4b6156}.contract-dialog>.preview-notice{color:#68420d;background:#fff4db;border:1px solid #e6ca93;border-left:4px solid #ce8b22;padding:12px 16px;border-radius:8px}

.job-invoicing-panel{padding:18px;border:1px solid #bfd3a9;border-radius:10px;background:#f0f6e9;margin:18px 0}.job-invoicing-panel p{color:#294736;line-height:1.6}.job-invoicing-panel label{display:grid;gap:8px}.job-invoicing-panel select{width:100%}.job-invoicing-panel [hidden]{display:none}.job-invoicing-panel button{display:block;margin:8px 0;text-align:left}

/* Projectoverzicht: titel, zoeken, status en acties op gelijke hoogte. */
#projectsView .project-overview-toolbar{display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(190px,230px) auto auto;align-items:center;gap:14px;padding:22px 24px;border-bottom:1px solid #e2e9e5}
#projectsView .project-overview-toolbar h2{margin:0 12px 0 0}
#projectsView .project-overview-toolbar input,#projectsView .project-overview-toolbar select,#projectsView .project-overview-toolbar button{height:50px;min-height:50px;margin:0;min-width:0;width:100%}
#projectsView .project-overview-toolbar button{white-space:nowrap}
@media(max-width:1100px){#projectsView .project-overview-toolbar{grid-template-columns:1fr 1fr}#projectsView .project-overview-toolbar h2{grid-column:1/-1}}
@media(max-width:650px){#projectsView .project-overview-toolbar{grid-template-columns:1fr;padding:16px}#projectsView .project-overview-toolbar h2{grid-column:auto}}

.article-table .article-subgroup-heading th{background:#e8f1f8;color:#264e69;font-size:16px;font-weight:750;padding:16px 20px;border-top:1px solid #d1e0ec;border-bottom:1px solid #d1e0ec;border-left:4px solid #668faa;text-align:left}

.article-subgroup-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.article-subgroup-order{display:inline-flex;gap:7px}.article-subgroup-order button{padding:5px 13px;font-size:20px;background:white;color:#264e69;border-color:#cbdde9}

.workbon-material-picker select optgroup{font-weight:700;color:#264e69}.workbon-material-picker select option{font-weight:400;color:#203c49}

.contract-folders{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:16px 24px}.contract-folder{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;min-height:76px;background:#f2f6ee;border:1px solid #d9e5d2;color:#294635}.contract-folder strong{font-size:14px;line-height:1.4}.contract-folder>span{font-weight:750;font-size:20px}.contract-folder.selected{background:#e4eff7;border-color:#608ba7;box-shadow:inset 4px 0 #608ba7;color:#203f54}@media(max-width:650px){.contract-folders{grid-template-columns:1fr 1fr;padding:12px;gap:8px}.contract-folder{padding:12px}}

.contract-overview-dialog{width:min(1120px,calc(100vw - 40px));max-width:1120px}.contract-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.contract-overview-card{min-width:0;padding:22px;background:#f7f9f6;border:1px solid #dce5da;border-radius:12px}.contract-overview-card h3{margin:0 0 18px;color:#244536;font-size:18px}.contract-overview-card dl{margin:0}.contract-overview-row{display:grid;grid-template-columns:minmax(130px,40%) minmax(0,1fr);gap:14px;padding:11px 0;border-bottom:1px solid #e1e8df}.contract-overview-row:last-child{border-bottom:0}.contract-overview-row dt{font-size:14px;font-weight:650;color:#496054}.contract-overview-row dd{margin:0;font-size:15px;color:#203c49;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.contract-overview-card .contract-cost-note{font-size:13px;color:#536b60;margin:-8px 0 10px}@media(max-width:760px){.contract-overview-grid{grid-template-columns:1fr}.contract-overview-card{padding:16px}}@media(max-width:440px){.contract-overview-row{grid-template-columns:1fr;gap:4px}}

/* Compacter kantoorplanbord: meer werkbonnen per dag zichtbaar. */
.board>.cell:not(.dayhead){min-height:88px;padding:5px}
.board>.person{padding:9px 10px}
.board>.person .initial{display:none}
.board>.person strong{font-size:12px;line-height:1.3}
.board>.person small{font-size:10px;line-height:1.3;margin:4px 0}
.board>.person .employee-order-controls{margin-top:6px;gap:5px}
.board>.person .employee-order-controls button{padding:2px 8px;font-size:15px}
.board .planning-job-stack{grid-auto-rows:100px;gap:4px}
.board .planning-job-stack .job{height:100px}
.board .job{padding:5px 7px;line-height:1.2;margin-bottom:4px}
.board .job b{font-size:10px;line-height:1.2;margin-bottom:1px}
.board .job strong{font-size:11px;line-height:1.2;margin-bottom:1px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.board .job .job-customer,.board .job .job-location{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;line-height:1.2}
.board .planning-job-stack .job .office-strip{margin:-5px -7px 3px;padding:2px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;line-height:1.2}
.board .job .crew-label{font-size:9px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}

.job-duration-field{grid-column:1/-1}.job-duration-field input{max-width:100%}.job-duration-field small{display:block;margin-top:6px;font-size:12px;color:#577067}

/* Doorlopende kaarten volgen exact de compacte celafstand: 5+5px padding en1px rand. */
.board{--planning-cell-gap:11px}
.board .planning-job-stack .job.job-connected-right{width:calc(100% + var(--planning-cell-gap))}
.board .planning-job-stack .job.job-connected-left{margin-left:-6px;width:calc(100% + 6px)}
.board .planning-job-stack .job.job-connected-left.job-connected-right{width:calc(100% + 17px)}

/* Kantoorwerkbon met vast algemeen blok en tabs. */
#jobDialog.job-editor-dialog{width:calc(100vw - 36px);max-width:1600px;height:calc(100vh - 36px);max-height:calc(100vh - 36px);padding:0;background:#f3f6f5}
#jobDialog.job-editor-dialog #jobForm{padding:20px;min-height:100%;display:flex;flex-direction:column;gap:16px}
#jobDialog.job-editor-dialog .dialog-head{margin:0;display:flex;align-items:center;gap:16px}
#jobDialog.job-editor-dialog .dialog-head>div:first-child{flex:1}.job-editor-top-actions{order:1}.job-editor-dialog .dialog-head>.close{order:2}
.job-editor-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start;flex:1}
.job-editor-general{background:white;border:1px solid #dce5df;border-top:4px solid #6fa936;border-radius:10px;padding:18px;position:sticky;top:0;max-height:calc(100vh - 170px);overflow:auto}
.job-editor-general h3{margin:0 0 16px}.job-editor-general label{font-size:12px;margin:0 0 12px}.job-editor-general input,.job-editor-general select{padding:9px 10px;min-height:40px}.job-editor-general .job-duration-field{display:block}.job-editor-general .job-duration-field small{font-size:11px}.job-editor-general .navigation-link,.job-editor-general #copyJob{display:block;width:100%;margin-top:10px;text-align:center}
.job-editor-main{min-width:0;border:1px solid #dce5df;border-radius:10px;background:white;overflow:hidden}.job-editor-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:12px;background:#203f50;border-bottom:3px solid #79b42e}.job-editor-tabs button{padding:11px 12px;border:0;background:transparent;color:#e5edf0;border-radius:6px;font-size:13px}.job-editor-tabs button[aria-selected="true"]{background:#edf5e6;color:#25402c;font-weight:700}.job-editor-panel{padding:24px;min-height:400px}.job-editor-panel[hidden]{display:none!important}.job-editor-panel>.formgrid{margin:0}.job-editor-panel .job-crew-layout{grid-template-columns:1fr 1fr}.job-editor-panel .job-materials{border-top:0;margin-top:0;padding-top:0}
#jobDialog.job-editor-dialog footer{margin:0;position:sticky;bottom:0;background:white;padding:14px 18px;border-radius:8px;border:1px solid #dce5df}#jobDialog.job-editor-dialog #formError:empty{display:none}
@media(max-width:1050px){.job-editor-layout{grid-template-columns:250px minmax(0,1fr)}.job-editor-panel{padding:16px}.job-editor-panel .job-crew-layout{grid-template-columns:1fr}}
@media(max-width:760px){.job-editor-layout{grid-template-columns:1fr}.job-editor-general{position:static;max-height:none}.job-editor-tabs{flex-wrap:nowrap;overflow:auto}.job-editor-tabs button{white-space:nowrap}#jobDialog.job-editor-dialog{width:calc(100vw - 12px);height:calc(100vh - 12px);max-height:calc(100vh - 12px)}#jobDialog.job-editor-dialog #jobForm{padding:12px}}

.job-editor-panel .job-primary-panel{display:block;min-height:0}.job-editor-panel .extra-employees{min-height:0}.job-editor-panel .job-crew-layout{align-items:start}

.job-quote-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #dfe7e0}.job-quote-row>div{flex:1;min-width:0}.job-quote-row strong,.job-quote-row small{display:block;overflow-wrap:anywhere}.job-quote-row small{margin-top:6px;color:#5c7366}.job-quote-preview{display:block;width:100%;height:650px;border:1px solid #dce5df;border-radius:8px;margin-top:20px}.job-quote-preview[hidden]{display:none}@media(max-width:850px){.job-quote-row{flex-wrap:wrap}.job-quote-row>div{flex-basis:100%}}

.job-editor-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.job-editor-top-actions #copyJob{background:#e6f0f7;border-color:#b9d0df;color:#264e69;font-weight:650}

.customer-remove-confirm{max-width:520px;width:calc(100vw - 40px);padding:26px;border:1px solid #dce5df;border-radius:12px}.customer-remove-confirm h2{margin-top:0}.customer-remove-confirm>strong{display:block;padding:14px;background:#f1f5ed;border-radius:7px;overflow-wrap:anywhere}.customer-remove-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}

button.report-card{text-align:left;font:inherit;cursor:pointer;transition:border-color .15s,background .15s}button.report-card:hover{background:#eaf2e5;border-color:#92b56f}button.report-card[aria-pressed="true"]{background:#e6f0f7;border-color:#628da8;box-shadow:inset 0 -3px #628da8}button.report-card:focus-visible{outline:3px solid #f5a26e;outline-offset:2px}

.job-editor-panel .job-primary-panel{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-content:start}.job-editor-panel .job-primary-panel>label:first-child{grid-column:1/-1}.job-schedule-summary{padding:12px;background:#edf4e7;border-radius:7px;line-height:1.6;font-weight:600;font-size:12px}.job-crew-period[hidden]{display:none!important}@media(max-width:600px){.job-editor-panel .job-primary-panel{grid-template-columns:1fr}}

.unified-ticket-rights{margin-top:24px;padding:20px;border:1px solid #d8e3d5;border-radius:10px;background:#f3f7ef}.unified-ticket-rights h3{margin-top:0}.unified-ticket-rights>p{font-size:13px;color:#516a5c}.unified-ticket-rights>label:last-child{margin-top:16px}

.installation-report-panel{padding:20px;border:1px solid #dce6d8;border-radius:16px;background:#f5f8f1}.report-system-choices{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0 22px}.report-system-choices label{display:flex;align-items:center;gap:8px}.report-system-choices input[type=checkbox]{width:20px;min-height:20px}.report-recipe-preview{padding:16px;background:#e8f0e1;border-radius:12px;margin:16px 0}.report-list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #dce6d8}.report-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}.installation-report-dialog{width:min(1050px,94vw);max-height:90vh;overflow:auto}.report-chapter{padding:20px;border:1px solid #dce6d8;border-radius:14px;margin:20px 0}.report-chapter label{display:block;margin:18px 0}.report-question-editor{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;align-items:center;margin:12px 0}.report-question-editor label{display:flex;align-items:center;gap:6px}.report-question-editor input[type=checkbox]{width:20px;min-height:20px}.report-photo-row{display:flex;gap:12px;align-items:center;margin:8px 0}@media(max-width:700px){.report-question-editor{grid-template-columns:1fr}.report-list-row{align-items:flex-start;flex-direction:column}}

.installation-report-panel .report-system-choices label,.installation-report-dialog .report-system-choices label,.installation-report-panel .report-toggle{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;margin:8px 0}.installation-report-panel input[type=checkbox],.installation-report-dialog input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;min-height:20px;padding:0;margin:0;accent-color:#4d7e24}.installation-report-panel p{color:#385547}.report-system-choices label{border:1px solid #d4e1cf;border-radius:8px;padding:10px 12px;background:white}

.delivery-editor{width:min(1320px,96vw);padding:0}.delivery-head{padding:24px;background:#203f4d;color:#fff;border-bottom:4px solid #6eb644}.delivery-head h2{color:#fff;margin:0 0 12px}.delivery-head p{color:#eef5ef}.delivery-chapters{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:20px;background:#eef4e9}.delivery-chapters button{text-align:left;white-space:normal}.delivery-chapters button[data-complete=true]{background:#dcefd2;border-color:#6eb644}.delivery-body{padding:0 24px}.delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.delivery-grid label{min-width:0}.delivery-grid textarea,.delivery-grid input,.delivery-grid select{width:100%;box-sizing:border-box}.delivery-editor .report-chapter{scroll-margin-top:20px}.delivery-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.delivery-photo-card{padding:12px;border:1px solid #c8e6bd;border-radius:12px;background:#f1faee;min-width:0}.delivery-photo-card img{width:100%;height:175px;object-fit:contain;background:#fff;border-radius:8px}.delivery-photo-card input{width:100%;box-sizing:border-box}.delivery-photo-card .report-actions{gap:6px}.delivery-signature canvas{display:block;width:100%;height:180px;background:#fff;border:1px solid #c8e6bd;border-radius:12px}.delivery-editor footer{position:sticky;bottom:0;background:#fff;padding:16px 24px;border-top:1px solid #dce6d8;margin:0;z-index:2}.delivery-status,.delivery-editor>details{margin:20px 24px}.delivery-photo-group{padding:16px 0;border-bottom:1px solid #dce6d8}@media(max-width:700px){.delivery-grid,.delivery-photo-grid{grid-template-columns:1fr}.delivery-chapters{grid-template-columns:repeat(2,1fr)}.delivery-body{padding:0 12px}}

.delivery-editor .delivery-head{display:block;position:relative;min-height:0;height:auto;margin:0;box-sizing:border-box}.delivery-editor .delivery-head h2{padding-right:90px;overflow-wrap:anywhere}.delivery-editor .delivery-head>button{position:absolute;right:16px;top:16px;max-width:80px}.delivery-editor .delivery-head p{display:block;line-height:1.5;margin:12px 0 0}.delivery-editor details p{overflow-wrap:anywhere}.delivery-editor .delivery-grid>*{min-width:0}

/* Compacte oplevereditor: labels boven velden, vaste uitlijning. */
.delivery-editor .delivery-head{padding:16px 20px}
.delivery-editor .delivery-head h2{margin:0 0 8px}
.delivery-editor .delivery-head p{margin-top:6px}
.delivery-editor .delivery-chapters{gap:8px;padding:12px 20px}
.delivery-editor .delivery-chapters button{padding:9px 12px;min-height:36px;line-height:1.3}
.delivery-editor .delivery-body{padding:0 20px}
.delivery-editor .report-chapter{padding:16px;margin:12px 0;border-radius:12px}
.delivery-editor .report-chapter h3{margin:0 0 12px;line-height:1.35}
.delivery-editor .report-chapter h4{margin:14px 0 10px;line-height:1.35}
.delivery-editor .report-chapter p{margin:8px 0 12px;line-height:1.45}
.delivery-editor .delivery-grid{gap:12px 16px;align-items:start}
.delivery-editor .report-chapter label{display:grid;gap:5px;align-content:start;margin:0;min-width:0;font-size:13px;line-height:1.35}
.delivery-editor .report-chapter>label{margin-top:12px}
.delivery-editor .report-chapter label:has(>input[type=checkbox]){display:flex;align-items:center;gap:8px}
.delivery-editor .report-chapter input:not([type=checkbox]):not([type=file]),.delivery-editor .report-chapter select{display:block;width:100%;min-width:0;min-height:36px;height:36px;box-sizing:border-box;padding:7px 10px;margin:0;line-height:1.3}
.delivery-editor .report-chapter textarea{display:block;width:100%;min-width:0;height:64px;min-height:64px;box-sizing:border-box;padding:8px 10px;margin:0;line-height:1.4;resize:vertical}
.delivery-editor textarea[data-field$="_brand"],.delivery-editor textarea[data-field$="_serial"]{height:38px;min-height:38px}
.delivery-editor textarea[data-field=reportText]{height:100px;min-height:80px}
.delivery-editor .report-actions{margin:12px 0;gap:8px}
.delivery-editor footer.report-actions{margin:0;padding:10px 20px}
.delivery-editor .delivery-photo-group{padding:10px 0}
.delivery-editor .delivery-signature label{margin-bottom:10px}
.delivery-editor .delivery-status,.delivery-editor>details{margin:12px 20px}
@media(min-width:1100px){.delivery-editor #delivery-chapter-2 .delivery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.delivery-editor .delivery-body{padding:0 12px}.delivery-editor .report-chapter{padding:12px}.delivery-editor .delivery-chapters{padding:12px}.delivery-editor .delivery-grid{gap:12px}.delivery-editor .delivery-head{padding:16px}.delivery-editor footer.report-actions{padding:10px 12px}}

.delivery-editor .delivery-photo-open{display:block;width:100%;min-height:0;padding:0;margin:0 0 8px;border:0;border-radius:8px;background:transparent;cursor:zoom-in;box-shadow:none}.delivery-editor .delivery-photo-open:hover{background:transparent}.delivery-editor .delivery-photo-open:focus-visible{outline:3px solid #4d7e24;outline-offset:3px}.delivery-editor .delivery-photo-open img{display:block}

.saved-installation-reports h3{margin:0 0 10px}.saved-installation-reports .report-list-row>div{flex:1;min-width:0}.saved-installation-reports .report-list-row p{margin:6px 0 0;font-size:13px}.report-setup{margin-top:20px;border-top:1px solid #dce6d8;padding-top:16px}.report-setup>summary{font-weight:700;cursor:pointer;padding:10px 0}.report-setup>div{padding-top:12px}

.installation-report-panel .saved-installation-reports{padding:20px;box-sizing:border-box}.installation-report-panel .saved-installation-reports>h3{margin:0 0 10px}.installation-report-panel .saved-installation-reports>p{margin:0 0 16px;line-height:1.5}.installation-report-panel .saved-installation-reports .report-list-row{gap:16px;padding:16px 0}.installation-report-panel .saved-installation-reports .report-list-row:last-child{padding-bottom:0;border-bottom:0}.installation-report-panel .saved-installation-reports .report-list-row strong{display:block;line-height:1.5;overflow-wrap:anywhere}.installation-report-panel .saved-installation-reports .report-list-row p{line-height:1.5}.installation-report-panel .saved-installation-reports .report-list-row>button,.installation-report-panel .saved-installation-reports .report-list-row>a{flex-shrink:0;margin:0}@media(max-width:700px){.installation-report-panel .saved-installation-reports{padding:16px}}

#installationReportsView{padding:22px;background:#fff;border:1px solid #dce6d8;border-radius:16px}.report-library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.report-library-toolbar h2{margin:0}.report-library-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.report-library-categories button{padding:16px;text-align:left;white-space:normal}.report-library-categories .selected{background:#e6f0db;border-color:#6eb644;font-weight:bold}.report-library-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:16px}.report-library-filters input[type=search]{flex:1;min-width:220px}.report-library-filters label{display:flex;align-items:center;gap:8px;margin:0}.report-library-filters input[type=checkbox]{width:18px;min-height:18px;margin:0}.report-library-table{overflow-x:auto}.report-library-table table{width:100%;min-width:850px;border-collapse:collapse}.report-library-table th,.report-library-table td{padding:16px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #dce6d8}.report-library-table th{background:#eef4e9}.report-library-table small{display:block;margin-top:6px;line-height:1.5;color:#577067}.report-library-table td button{margin:0 0 6px}.report-library-actions{display:flex;gap:8px;flex-wrap:wrap;min-width:240px}.report-library-pages{display:flex;justify-content:flex-end;gap:16px;align-items:center;margin-top:16px}@media(max-width:800px){.report-library-categories{grid-template-columns:repeat(2,1fr)}#installationReportsView{padding:14px}}

#installationReportsView .report-library-filters label{flex-direction:row;white-space:nowrap;gap:10px;min-height:40px}#installationReportsView .report-library-filters input[type=checkbox]{flex:0 0 18px;height:18px;padding:0}#installationReportsView .report-library-table td:first-child{min-width:125px}

.quote-project-choice{border:1px solid #d6e3cd;border-radius:12px;background:#f4f8ef;padding:16px;margin:16px 0}.quote-project-choice legend{font-weight:700;padding:0 6px}.quote-project-choice label{display:grid;gap:6px;margin:12px 0}.quote-project-choice input,.quote-project-choice select{width:100%;box-sizing:border-box}.quote-project-choice p{line-height:1.5;margin:8px 0}

.purchase-tabs{display:flex;gap:10px;margin:16px 0}.purchase-tabs button[aria-pressed="true"]{background:#eaf3df;border-color:#78ac37}.purchase-supplier-list{display:grid;gap:12px;margin-top:16px}.supplier-agreements{white-space:pre-wrap}.supplier-order-link{display:inline-block;text-align:center}.purchase-supplier-portal{padding:8px 0}.purchase-supplier-portal p{margin:8px 0}#supplierContactFields{display:grid;gap:12px}#supplierContactFields[hidden]{display:none}

.purchase-panel{padding:0 20px 20px}.purchase-tabs{padding:0 20px}.purchase-panel>input[type="search"]{width:min(100%,440px)}

/* Compacte leveranciers bij Inkoop */
.purchase-supplier-list{gap:8px}.purchase-supplier-list .purchase-card{padding:8px 14px;gap:12px;align-items:center}.purchase-supplier-list .purchase-card strong{font-size:14px;line-height:1.25}.purchase-supplier-list .purchase-card p{margin:2px 0;font-size:13px;line-height:1.25}.purchase-supplier-list .purchase-actions{gap:4px}.purchase-supplier-list .supplier-order-link{padding:6px 10px;min-height:0;line-height:1.25;margin:0}.purchase-supplier-list .purchase-actions .inventory-intro{margin:0}@media(max-width:700px){.purchase-supplier-list .purchase-card{align-items:stretch}.purchase-supplier-list .purchase-actions{display:flex}}

.communication-dialog .communication-fields label{display:grid;gap:6px}.communication-dialog input[name="subject"],.communication-dialog textarea[name="text"]{width:100%;box-sizing:border-box}.communication-dialog textarea.communication-preview{font:inherit;line-height:1.5;white-space:pre-wrap;min-height:260px;resize:vertical}

.mail-text-tools{padding:14px;border:1px solid #d8e5cc;border-radius:10px;margin:12px 0;background:#f6f9f2}.mail-text-tools h3{margin:0 0 8px}.mail-text-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mail-text-actions select{flex:1;min-width:180px}.mail-text-tools .mail-signature-toggle{display:flex;align-items:center;gap:8px;margin:12px 0}.mail-text-tools textarea{width:100%;box-sizing:border-box}.mail-template-dialog{width:min(760px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:14px;padding:24px}.mail-template-dialog form>label{display:grid;gap:6px;margin:12px 0}.mail-template-dialog input,.mail-template-dialog textarea,.mail-template-dialog select{width:100%;box-sizing:border-box}.mail-token-buttons{display:flex;flex-wrap:wrap;gap:6px}.mail-token-buttons button{font-size:12px;padding:5px 8px}.mail-template-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}

.communication-dialog .mail-text-tools label.mail-signature-toggle{display:flex;align-items:center;gap:8px}.communication-dialog .mail-signature-toggle input[type="checkbox"]{width:auto;min-width:0;flex:0 0 auto;margin:0}

.signature-preview{padding:16px;background:#fff;color:#111;border:1px solid #d8e5cc;border-radius:8px;margin:12px 0;font-family:Arial,sans-serif;font-size:14px;overflow-wrap:anywhere}.signature-layout-dialog input[type=file]{padding:8px}.signature-layout-dialog label button{justify-self:start}

.purchase-product-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.purchase-panel>select[aria-label="Productstatus"]{margin-left:8px}

/* Meer blauw en sterker contrast in de hele planning. */
:root{--agrozon-section-blue:#23495d;--agrozon-section-blue-soft:#edf3f8;--agrozon-section-border:#b5c9d9;--agrozon-label:#294e65}
main,.content{color:#243e4b}label{color:var(--agrozon-label)}input,select,textarea{border-color:#afc2d0}input::placeholder,textarea::placeholder{color:#7b919e}
.toolbar{background:var(--agrozon-section-blue);color:#fff;border-bottom:3px solid #79ae40;border-radius:10px 10px 0 0}.toolbar h2,.toolbar h3,.toolbar>strong{color:#fff}.toolbar .inventory-intro,.toolbar>p,.toolbar small{color:#d8e6ee}.toolbar button:not(.primary):not(.danger),.toolbar select,.toolbar input{background:#fff;color:#294e65;border-color:#c0d0dc}.filters,.work-order-filters,.inventory-filters,.report-library-filters{background:var(--agrozon-section-blue-soft);border-color:var(--agrozon-section-border)}.inventory-filters,.work-order-filters{border:1px solid var(--agrozon-section-border);border-radius:8px;padding:14px}.filters label,.inventory-filters label,.work-order-filters label{color:#294e65}
th,.report-library-table th{background:#dfeaf3;color:#2c5067;border-bottom-color:#b5c9d9}td{border-bottom-color:#d4e0e9}
dialog .dialog-head{background:var(--agrozon-section-blue);color:#fff;padding:16px 20px;border-radius:9px;border-bottom:3px solid #79ae40}dialog .dialog-head h2,dialog .dialog-head h3,dialog .dialog-head strong{color:#fff}dialog .dialog-head .eyebrow{color:#c9e5a3}dialog .dialog-head p,dialog .dialog-head small{color:#d8e6ee}dialog .dialog-head button:not(.primary):not(.danger){background:#fff;color:#294e65;border-color:#c0d0dc}
.job-editor-general{background:#edf3f8;border-color:#afc5d6;border-top-color:#2d5972}.job-editor-general h3{background:#23495d;color:#fff;padding:12px 14px;border-radius:7px}.job-editor-general label{color:#294e65;font-weight:600}.job-editor-general label small{font-weight:400}.job-editor-tabs{background:#23495d}.job-editor-panel{border-color:#a9c1d3}.job-editor-panel .job-primary-panel,.job-editor-panel .extra-employees,.billing-relation-panel,.quote-project-choice,.quote-maintenance-fields,.job-schedule-summary{background:#edf3f8;border-color:#b5c9d9}.billing-relation-panel>h3,.installation-report-panel>h3,.saved-installation-reports>h3{background:#23495d;color:#fff;padding:11px 14px;border-radius:7px}.job-editor-panel>h3{color:#23495d;border-bottom:2px solid #bdd0de;padding-bottom:10px}
.purchase-panel>h3,.report-library-toolbar h2{color:#23495d}.purchase-card{border-color:#bbcedb;background:#f3f7fa}.purchase-tabs,.report-library-categories{background:#e7eff6;border-radius:9px;padding:12px}.purchase-supplier-list .purchase-card{background:#edf3f8;border-color:#b9cddb;border-left-color:#3c6c88}.purchase-card p{color:#476479}.purchase-supplier-list .supplier-order-link{background:#e1edf5;border-color:#a9c4d6;color:#2a5671}.mail-text-tools{background:#edf3f8;border-color:#b5c9d9}.mail-text-tools h3{color:#23495d}.signature-preview{background:#fff;color:#111}.report-chapter{border-color:#b5c9d9}.delivery-editor .report-chapter>h3{color:#23495d}.settings-menu{background:#edf3f8;border-color:#b5c9d9}.settings-menu button{border-color:#b5c9d9;color:#294e65}.settings-menu button.selected{background:#dcebf5;border-color:#719db8;color:#23495d}.stats article{border-color:#bacddb}.stats article strong{color:#23495d}
input.field-filled,textarea.field-filled,select.field-filled{background-color:#edf5e5;border-color:#a8c98c;color:#294923}input[readonly]:not(.field-filled),textarea[readonly]:not(.field-filled){background-color:#eef2f5;color:#7b8d98}.primary{background-color:#507e24;border-color:#507e24;color:#fff}
@media(max-width:700px){dialog .dialog-head{padding:14px}.toolbar{border-radius:8px}.inventory-filters,.work-order-filters{padding:10px}.job-editor-general h3{padding:10px 12px}}

.inventory-table th,.work-order-table th,.article-table th,.customer-table th,.report-library-table th{background:#dfeaf3;color:#2c5067;border-color:#b5c9d9}.report-library-toolbar{background:#23495d;color:#fff;padding:16px;border-radius:9px;border-bottom:3px solid #79ae40}.report-library-toolbar h2{color:#fff}dialog fieldset{border-color:#b5c9d9}dialog fieldset legend{color:#294e65}

/* Goedgekeurd voorstel: desktopzijbalk 200px, 24 november 2026. */
@media(min-width:1101px){aside{width:200px;padding-left:14px;padding-right:14px}main{margin-left:200px;width:calc(100% - 200px)}aside .logo{width:160px;max-width:100%;height:auto}aside .nav{gap:10px;padding-left:9px;padding-right:9px}}

/* Volledige werkweek passend in de beschikbare desktopruimte. */
@media(min-width:901px){main,.content,#planningView{min-width:0}#planningView .board-scroll{width:100%;max-width:100%}#planningView .board{width:100%;min-width:0;grid-template-columns:clamp(125px,12vw,180px) repeat(5,minmax(0,1fr))}#planningView .board>.cell{min-width:0}#planningView .board>.person{overflow-wrap:anywhere}#planningView .toolbar{flex-wrap:wrap;gap:12px}#planningView .weeknav{flex-wrap:wrap;min-width:0}#planningView .toolbar .filters{min-width:0;flex-wrap:wrap;margin-left:auto}#planningView .toolbar .filters input{width:clamp(160px,18vw,240px);min-width:0}#planningView .toolbar .filters select{max-width:200px;min-width:0}}

/* Compacte hoofdstuknavigatie voor schouw en onderhoud. */
.specialist-editor .delivery-chapters{max-height:180px;overflow:auto;background:#edf3f8;flex-shrink:0}.specialist-editor .delivery-chapters button[data-state="Aandachtspunt"]{background:#fff5d6;border-color:#d49c25}.specialist-editor .delivery-chapters button[data-state="Afwijking"]{background:#fde7e5;border-color:#d16b60}.specialist-editor .delivery-chapters button[data-state="Niet van toepassing"]{background:#eef1f4;border-color:#bec8ce}.specialist-editor details.report-chapter>summary{font-weight:700;color:#23495d;cursor:pointer}.specialist-editor .report-chapter>button{margin-bottom:12px}@media(max-width:650px){.specialist-editor .delivery-chapters{max-height:140px}}

/* Volgorde van materiaalregels op de werkbon. */
.job-material-actions{display:flex;gap:4px;align-items:center;white-space:nowrap}.job-material-actions button{min-width:30px;padding:8px;margin:0}.job-material-actions button:disabled{opacity:.35;cursor:default}

/* Eigen invoer alleen tonen wanneer hiervoor is gekozen. */
.delivery-editor .report-standard-choice input[hidden]{display:none!important}.delivery-editor .report-standard-choice input:not([hidden]){margin-top:7px}.delivery-editor .report-standard-choice small{display:block;margin-top:5px;color:#607b8b}
