:root{--portal:#07966f;--portal-dark:#087458;--portal-ink:#17212b;--portal-muted:#667085;--portal-line:#e4e7ec;--portal-bg:#f7f8fa}
body.access-granted{padding-left:252px;background:var(--portal-bg)}
.portal-side{position:fixed;inset:0 auto 0 0;width:252px;background:#fff;border-right:1px solid var(--portal-line);z-index:80;padding:22px 12px;display:flex;flex-direction:column;box-sizing:border-box}
.portal-logo{font-size:21px;font-weight:900;color:var(--portal);padding:0 10px 20px}.portal-user{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid var(--portal-line);border-radius:12px;margin-bottom:14px}.portal-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#daf5eb;color:var(--portal-dark);font-weight:800;overflow:hidden;flex:0 0 auto}.portal-avatar.has-photo img{width:100%;height:100%;display:block;object-fit:cover}.portal-user strong,.portal-user small{display:block}.portal-user small{color:var(--portal-muted);margin-top:2px}.portal-table td small{display:block;color:var(--portal-muted);margin-top:3px}
.portal-nav{display:grid;gap:4px;overflow:auto}.portal-nav button{border:0;background:transparent;text-align:left;padding:11px 13px;border-radius:8px;font:600 14px inherit;color:#344054;cursor:pointer}.portal-nav button:hover{background:#f2f4f7}.portal-nav button.active{background:var(--portal);color:#fff}.portal-nav span{display:inline-block;width:25px}.portal-logout{margin-top:auto;border:0;background:#f2f4f7;border-radius:8px;padding:11px;cursor:pointer}
.portal-page{display:none;max-width:1500px;margin:0 auto;padding:30px}.portal-page.active{display:block}.portal-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.portal-title h1{margin:0;font-size:27px}.portal-title p{margin:5px 0 0;color:var(--portal-muted)}.portal-actions{display:flex;gap:8px}.portal-btn{border:1px solid var(--portal-line);background:#fff;padding:10px 14px;border-radius:8px;font-weight:700;cursor:pointer}.portal-btn.primary{background:var(--portal);color:#fff;border-color:var(--portal)}
.portal-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.portal-card{background:#fff;border:1px solid var(--portal-line);border-radius:12px;padding:18px;box-shadow:0 1px 2px #1018280b}.portal-card small{color:var(--portal-muted)}.portal-card b{display:block;font-size:25px;margin-top:8px}.portal-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.portal-panel{background:#fff;border:1px solid var(--portal-line);border-radius:12px;padding:18px;overflow:auto}.portal-panel h2{font-size:17px;margin:0 0 16px}
.week-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.week-grid{display:grid;grid-template-columns:190px repeat(7,minmax(130px,1fr));min-width:1110px;border:1px solid var(--portal-line);border-radius:10px;overflow:hidden}.week-cell{min-height:72px;padding:8px;border-right:1px solid var(--portal-line);border-bottom:1px solid var(--portal-line);background:#fff}.week-head{min-height:auto;background:#fafafa;font-weight:700}.week-person{display:flex;align-items:center;gap:9px;font-weight:700}.shift{display:block;background:#16a878;color:#fff;border-radius:7px;padding:7px;margin-bottom:5px;font-size:12px;cursor:pointer}.shift.open{background:#fff;color:var(--portal-dark);border:1px dashed var(--portal)}.shift.leave{background:#e5e7eb;color:#667085;border-left:4px solid var(--portal)}
.portal-table{width:100%;border-collapse:collapse}.portal-table th,.portal-table td{text-align:left;border-bottom:1px solid var(--portal-line);padding:11px 8px;font-size:13px}.status{padding:4px 8px;border-radius:99px;background:#fff4cc;color:#8a6400;font-size:12px}.status.approved{background:#dff7ed;color:#087458}.status.rejected,.status.closed{background:#fee4e2;color:#b42318}
.portal-modal{position:fixed;inset:0;background:#10182888;z-index:100;display:grid;place-items:center;padding:20px}.portal-modal.hidden{display:none}.portal-dialog{background:#fff;border-radius:16px;width:min(650px,95vw);max-height:90vh;overflow:auto;padding:24px;box-shadow:0 24px 48px #10182838}.portal-dialog-head{display:flex;justify-content:space-between;align-items:center}.portal-dialog h2{margin:0 0 18px}.portal-dialog label{display:block;font-size:13px;font-weight:700;margin:11px 0 5px}.portal-dialog input,.portal-dialog select,.portal-dialog textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #d0d5dd;border-radius:8px}.portal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.portal-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.quick-list{display:grid;gap:10px}.quick-item{padding:12px;border:1px solid var(--portal-line);border-radius:9px}.quick-item strong,.quick-item small{display:block}.quick-item small{color:var(--portal-muted);margin-top:4px}.quick-item .portal-actions{margin-top:8px}.empty{padding:28px;text-align:center;color:var(--portal-muted)}
body.portal-price main{display:block}body:not(.portal-price).access-granted main{display:none}body.access-granted>main{max-width:none}.portal-price main{padding:28px 34px}.portal-price main header{margin-top:0}
.week-person small{display:block;color:var(--portal-muted);font-weight:400}.schedule-cell{position:relative;cursor:pointer;transition:.15s}.schedule-cell:hover{background:#f0fbf7}.cell-add{position:absolute;inset:0;display:grid;place-items:center;color:var(--portal);font-size:24px;opacity:0}.schedule-cell:hover>.cell-add{opacity:.55}.shift{position:relative;background:var(--shift,#16a878);z-index:2}.shift b,.shift small{display:block}.shift-tools{position:absolute;inset:0;display:none;background:#087458e8;border-radius:7px;align-items:center;justify-content:center;gap:6px}.shift:hover .shift-tools{display:flex}.shift-tools button{border:0;background:#ffffff22;color:#fff;border-radius:5px;padding:5px 9px;cursor:pointer}.schedule-legend{display:flex;gap:20px;margin-top:12px;color:var(--portal-muted);font-size:12px}.schedule-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;background:var(--portal);margin-right:6px}.schedule-legend .leave-dot{background:#e5e7eb;border-left:3px solid var(--portal)}
.form-wide,.check-wide{grid-column:1/-1}.check-wide{display:flex!important;gap:8px;align-items:center}.check-wide input{width:auto!important}.filter-tabs{display:flex;gap:18px;align-items:center;margin-bottom:18px;border-bottom:1px solid var(--portal-line)}.filter-tabs span{padding:10px 0}.filter-tabs span b{background:#eef2f6;border-radius:99px;padding:3px 7px}.filter-tabs .portal-btn{margin-left:auto;margin-bottom:10px}.row-actions{white-space:nowrap}.icon-ok,.icon-no{border:0;border-radius:7px;padding:7px 9px;cursor:pointer;font-weight:700}.icon-ok{background:#dff7ed;color:#087458}.icon-no{background:#fee4e2;color:#b42318}.negative{color:#b42318!important}.delta{background:#dff7ed;color:#087458;padding:4px 7px;border-radius:6px}.delta.negative{background:#fee4e2}.current-month{background:#effcf7}.report-user-tabs{display:flex;gap:6px;margin-bottom:14px}.report-user-tabs button{border:1px solid var(--portal-line);background:#fff;padding:10px 14px;border-radius:8px;cursor:pointer}.report-user-tabs button.active{background:var(--portal);color:#fff}.bar-row{display:grid;grid-template-columns:140px 1fr 80px;align-items:center;gap:12px;margin:16px 0}.bar-row i{height:9px;background:#edf0f3;border-radius:9px;overflow:hidden}.bar-row i b{display:block;height:100%;background:var(--portal);border-radius:9px}.stat-line{display:flex;justify-content:space-between;border-bottom:1px solid var(--portal-line);padding:14px 0}
.employee-layout{display:grid;grid-template-columns:300px 1fr;gap:18px;min-height:620px}.employee-list{background:#fff;border:1px solid var(--portal-line);border-radius:12px;overflow:hidden}.employee-list button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;border:0;border-bottom:1px solid var(--portal-line);background:#fff;padding:13px;cursor:pointer}.employee-list button.active,.employee-list button:hover{background:#effcf7}.employee-list b,.employee-list small{display:block}.employee-list small{color:var(--portal-muted);margin-top:3px}.profile-head{display:flex;gap:18px;align-items:center;border-bottom:1px solid var(--portal-line);padding-bottom:18px}.profile-head h2{margin:0 0 6px}.profile-head p{color:var(--portal-muted)}.profile-head .portal-btn{margin-left:auto}.portal-avatar.large{width:82px;height:82px;font-size:24px}.profile-tabs{display:flex;gap:35px;border-bottom:1px solid var(--portal-line);padding:18px 0}.profile-tabs b{color:var(--portal);border-bottom:2px solid var(--portal);padding-bottom:16px}.profile-data{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:18px}.profile-data dt{color:var(--portal-muted);font-size:12px}.profile-data dd{margin:6px 0;font-weight:700}
.employee-list .employee-add{justify-content:center;background:#effcf7;color:var(--portal);font-weight:800}.platform-section{margin-top:18px}.platform-section .admin-card-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.platform-section .admin-card-head h2,.platform-section .admin-card-head p{margin:0}.platform-section .admin-card-head p{color:var(--portal-muted);margin-top:5px}.portal-form-grid select[multiple]{min-height:180px;padding:8px}.portal-form-grid label small{display:block;color:var(--portal-muted);margin:4px 0 7px}.profile-tabs button{border:0;background:transparent;padding:0 0 16px;color:var(--portal-muted);font:700 14px inherit;cursor:pointer}.profile-tabs button.active{color:var(--portal);border-bottom:2px solid var(--portal)}.portal-btn.danger{color:#b42318;border-color:#fda29b;margin-right:auto}
.chat-shell{height:calc(100vh - 140px);display:grid;grid-template-columns:320px 1fr;background:#fff;border:1px solid var(--portal-line);border-radius:12px;overflow:hidden}.chat-list{border-right:1px solid var(--portal-line);overflow:auto;padding:12px}.chat-list>.portal-btn{width:100%;margin-bottom:12px}.chat-thread{width:100%;border:0;background:#fff;display:flex;align-items:center;gap:10px;padding:12px;border-radius:9px;text-align:left;cursor:pointer}.chat-thread.active,.chat-thread:hover{background:#effcf7}.chat-thread b,.chat-thread small{display:block;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thread small{color:var(--portal-muted);margin-top:4px}.chat-main{display:flex;flex-direction:column;min-width:0}.chat-main header{padding:16px 20px;border-bottom:1px solid var(--portal-line)}.chat-main header h2{margin:0 0 4px}.chat-messages{flex:1;overflow:auto;padding:25px;display:flex;flex-direction:column;gap:10px}.chat-bubble{max-width:65%;background:#f2f4f7;border-radius:12px 12px 12px 3px;padding:10px 13px;align-self:flex-start}.chat-bubble.mine{background:var(--portal);color:#fff;align-self:flex-end;border-radius:12px 12px 3px 12px}.chat-bubble small,.chat-bubble time{font-size:10px;opacity:.7}.chat-bubble p{margin:5px 0}.chat-compose{display:flex;gap:10px;border-top:1px solid var(--portal-line);padding:14px}.chat-compose textarea{flex:1;border:1px solid #d0d5dd;border-radius:9px;padding:11px;resize:none}.chat-empty{margin:auto;text-align:center;color:var(--portal-muted)}#portalToast{position:fixed;right:25px;bottom:25px;background:#152c25;color:#fff;padding:12px 18px;border-radius:9px;opacity:0;transform:translateY(10px);transition:.2s;z-index:120;pointer-events:none}#portalToast.show{opacity:1;transform:none}
@media(max-width:900px){body.access-granted{padding-left:0;padding-bottom:70px}.portal-side{inset:auto 0 0;width:auto;height:68px;padding:7px;display:block}.portal-logo,.portal-user,.portal-logout{display:none}.portal-nav{display:flex;overflow-x:auto}.portal-nav button{white-space:nowrap;font-size:12px}.portal-nav span{display:none}.portal-page{padding:18px}.portal-cards{grid-template-columns:1fr 1fr}.portal-grid,.employee-layout{grid-template-columns:1fr}.chat-shell{grid-template-columns:1fr;height:auto}.chat-list{max-height:240px}.chat-main{min-height:520px}}
.week-head{position:relative}.week-head.holiday{background:#fff4dc;color:#8a4b08}.day-note{display:block;margin-top:5px;color:#b54708;font-size:10px;line-height:1.25}.day-note-edit{position:absolute;right:4px;top:3px;border:0;background:transparent;color:var(--portal);cursor:pointer;font-size:15px}.color-palette{display:flex;flex-wrap:wrap;gap:10px;margin-top:9px}.color-palette label{margin:0}.color-palette input{position:absolute;opacity:0;width:1px!important}.color-palette i{display:block;width:28px;height:28px;border-radius:50%;background:var(--choice);border:3px solid #fff;box-shadow:0 0 0 1px #cbd5e1;cursor:pointer}.color-palette input:checked+i{box-shadow:0 0 0 3px #17212b}.dashboard-activity{display:grid;gap:12px}.dashboard-activity article{padding:12px 14px;border:1px solid var(--portal-line);border-radius:9px;background:#fafbfc}.dashboard-activity strong,.dashboard-activity small{display:block}.dashboard-activity small{margin-top:6px;color:var(--portal-muted)}.compact-schedule td{padding-block:12px}.hours-cards{grid-template-columns:repeat(4,1fr);margin-top:18px}.hours-cards .portal-card{padding:13px}.hours-cards .portal-card b{font-size:20px}
.scope-choice{position:fixed;inset:0;z-index:5;background:#10182866;display:grid;place-items:center;padding:20px}.scope-choice>div{width:min(460px,90vw);box-sizing:border-box;background:#fff;border-radius:14px;padding:24px;box-shadow:0 24px 48px #10182840}.scope-choice h3{margin:0 0 9px;font-size:20px}.scope-choice p{margin:0 0 18px;color:var(--portal-muted);line-height:1.5}.scope-choice .portal-btn{display:block;width:100%;margin-top:10px}
.seo-intro form{display:flex;gap:10px;align-items:end}.seo-intro form label{flex:1;font-weight:700}.seo-intro input{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:11px;border:1px solid #d0d5dd;border-radius:8px}.seo-intro>p,.seo-ranking-note{color:var(--portal-muted);line-height:1.5}.seo-cards{margin-top:18px}.seo-issues{display:grid;gap:10px}.seo-issues article{padding:12px 14px;border-left:4px solid #f79009;background:#fffaeb;border-radius:7px}.seo-issues article.seo-error{border-color:#d92d20;background:#fef3f2}.seo-issues article.seo-ok{border-color:var(--portal);background:#ecfdf3}.seo-issues article.seo-info{border-color:#2e90fa;background:#eff8ff}.seo-issues p{margin:5px 0 0;color:#475467}.seo-data{display:grid;grid-template-columns:150px 1fr;gap:11px;margin:0}.seo-data dt{color:var(--portal-muted)}.seo-data dd{margin:0;overflow-wrap:anywhere}.seo-error{margin-top:18px;color:#b42318}
.seo-summary{margin-top:18px}.seo-summary>p{color:var(--portal-muted);margin:18px 0 0}.seo-category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.seo-category>div{display:flex;justify-content:space-between;gap:8px}.seo-category i{display:block;height:8px;background:#e4e7ec;border-radius:9px;margin:9px 0;overflow:hidden}.seo-category i span{display:block;height:100%;background:var(--portal);border-radius:9px}.seo-category small{color:var(--portal-muted)}.seo-issues article small{display:block;margin-top:7px;color:#344054}.seo-unmeasured{background:#f2f4f7;border-radius:8px;padding:3px 12px}.seo-unmeasured p{margin:10px 0}.seo-details{display:grid;gap:12px;margin-top:18px}.seo-detail{background:#fff;border:1px solid var(--portal-line);border-radius:12px;overflow:hidden}.seo-detail summary{display:flex;justify-content:space-between;padding:16px 18px;cursor:pointer}.seo-detail summary span{color:var(--portal-muted)}.seo-detail>div{border-top:1px solid var(--portal-line)}.seo-check-row{display:flex;gap:12px;padding:13px 18px;border-bottom:1px solid var(--portal-line)}.seo-check-row:last-child{border-bottom:0}.seo-check-row>span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;flex:0 0 auto;background:#d1fadf;color:#087458;font-weight:900}.seo-check-row.seo-warning>span,.seo-check-row.seo-info>span{background:#fef0c7;color:#b54708}.seo-check-row.seo-error>span{background:#fee4e2;color:#b42318}.seo-check-row p,.seo-check-row small{display:block;margin:3px 0 0;color:var(--portal-muted)}@media(max-width:1100px){.seo-category-grid{grid-template-columns:1fr 1fr}.seo-grid{grid-template-columns:1fr}}
/* Producttekstschrijver v148 */
.content-writer-intro{max-width:980px}.content-writer-form>.portal-btn{margin-top:18px}.content-writer-form label small{display:block;margin-top:5px;color:#64748b;line-height:1.45}.content-truth-note{display:flex;gap:12px;align-items:flex-start;margin-top:16px;padding:14px 16px;border:1px solid #cbd5e1;border-left:4px solid #0f766e;border-radius:10px;background:#f0fdfa;color:#334155}.content-truth-note b{color:#0f766e;white-space:nowrap}.content-result-head{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:start;margin-top:20px}.content-result-head h2{margin:9px 0 0}.content-meta{grid-column:1/-1;display:grid;grid-template-columns:minmax(130px,190px) 1fr;gap:8px 18px;margin:0}.content-meta dt{font-weight:700;color:#475569}.content-meta dd{margin:0;overflow-wrap:anywhere}.content-meta small{color:#94a3b8;margin-left:6px}.content-intro{margin-top:16px;border-left:4px solid #b08d57}.content-intro small,.content-block header span{font-size:11px;font-weight:800;letter-spacing:.12em;color:#8a6b3f}.content-intro p,.content-block p{font-size:16px;line-height:1.75;white-space:pre-line}.content-blocks{display:grid;gap:14px;margin:16px 0}.content-block{padding:22px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}.content-block header{display:flex;justify-content:space-between;align-items:center;gap:12px}.content-block h2{margin:12px 0 6px;font-family:Georgia,serif}.content-specs{display:grid;grid-template-columns:minmax(120px,.7fr) 1fr;gap:8px 15px}.content-specs dt{font-weight:700}.content-specs dd{margin:0}.content-faq{border-bottom:1px solid #e2e8f0;padding:11px 0}.content-faq summary{cursor:pointer;font-weight:700}.content-warnings{padding:14px 14px 14px 34px;border-radius:10px;background:#fff7ed;color:#9a3412}.content-safe{padding:12px;border-radius:10px;background:#ecfdf5;color:#047857}@media(max-width:700px){.content-result-head{grid-template-columns:1fr}.content-result-head .portal-btn{justify-self:start}.content-meta{grid-template-columns:1fr}.content-meta dd{margin-bottom:8px}.content-truth-note{display:block}.content-truth-note b{display:block;margin-bottom:5px}}
/* Verfijnde dashboardopmaak producttekstschrijver */
.content-writer-intro{max-width:1080px;padding:0;overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.04),0 10px 30px rgba(16,24,40,.035)}
.content-writer-form{padding:28px 30px 30px}
.content-writer-form .portal-form-grid{gap:22px 24px}
.content-writer-form label{display:flex;flex-direction:column;gap:8px;margin:0;color:#344054;font-size:13px;font-weight:750;line-height:1.35}
.content-writer-form label small{margin:0;font-size:12px;font-weight:400;color:var(--portal-muted)}
.content-writer-form input,.content-writer-form textarea,.content-writer-form select{display:block;width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:10px;background:#fff;color:var(--portal-ink);font:inherit;font-size:14px;line-height:1.45;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}
.content-writer-form input,.content-writer-form select{height:46px;padding:0 13px}
.content-writer-form textarea{min-height:130px;padding:12px 13px;resize:vertical}
.content-writer-form input::placeholder,.content-writer-form textarea::placeholder{color:#98a2b3;opacity:1}
.content-writer-form input:hover,.content-writer-form textarea:hover,.content-writer-form select:hover{border-color:#98a2b3}
.content-writer-form input:focus,.content-writer-form textarea:focus,.content-writer-form select:focus{border-color:var(--portal);box-shadow:0 0 0 4px rgba(7,150,111,.12)}
.content-writer-form .form-wide{padding-top:2px}
.content-writer-form .content-truth-note{margin:26px 0 0;padding:16px 18px;border:0;border-left:4px solid var(--portal);background:#effcf7;border-radius:10px;line-height:1.5}
.content-writer-form>.portal-btn{min-height:46px;margin-top:20px;padding:0 20px;border-radius:9px;box-shadow:0 3px 8px rgba(7,150,111,.18);transition:transform .15s,box-shadow .15s,background .15s}
.content-writer-form>.portal-btn:hover{background:var(--portal-dark);transform:translateY(-1px);box-shadow:0 6px 14px rgba(7,150,111,.22)}
.content-writer-form>.portal-btn:disabled{opacity:.65;cursor:wait;transform:none}
@media(max-width:760px){.content-writer-form{padding:22px 18px}.content-writer-form .portal-form-grid{grid-template-columns:1fr;gap:18px}.content-writer-form .form-wide{grid-column:auto}.content-writer-form>.portal-btn{width:100%}.content-writer-form .content-truth-note{margin-top:20px}}
.content-writer-form .content-research-choice{display:flex;flex-direction:row;align-items:center;gap:11px;padding:11px 13px;border:1px solid #d0d5dd;border-radius:10px;background:#f8fafc;min-height:46px;box-sizing:border-box}.content-writer-form .content-research-choice input{width:18px;height:18px;flex:0 0 auto;accent-color:var(--portal)}.content-research-choice span,.content-research-choice b{display:block}.content-research-choice small{margin-top:2px!important}.content-research-choice.disabled{opacity:.5}.content-sources{display:grid;gap:7px;padding-left:20px}.content-sources a{color:var(--portal-dark);overflow-wrap:anywhere}
.content-writer-form label:has(#contentProvider),.content-writer-form .content-research-choice{display:none!important}
.content-research-warning{display:flex;gap:12px;align-items:center;margin:18px 0;padding:14px 16px;border-left:4px solid #f79009;border-radius:10px;background:#fffaeb;color:#7a2e0e}.content-research-warning b{white-space:nowrap}.content-research-warning span{line-height:1.45}@media(max-width:700px){.content-research-warning{display:block}.content-research-warning b{display:block;margin-bottom:4px}}
#productTextResult,.content-writer-intro{display:block;width:100%;max-width:none;margin-left:0;margin-right:0;box-sizing:border-box}#productTextResult>*{width:100%;max-width:none;box-sizing:border-box}.content-progress{margin-top:18px;padding:22px 26px}.content-progress-top,.content-progress-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px}.content-progress-top b{color:#17324d}.content-progress-top span,.content-progress-bottom{color:#64748b}.content-progress-track{height:10px;margin:16px 0 12px;overflow:hidden;border-radius:999px;background:#e7edf2}.content-progress-track span{display:block;width:4%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#009d78,#56c7a9);transition:width .55s ease}.content-progress-bottom span{font-weight:800;color:#087f63}.content-progress-bottom small{text-align:right}@media(max-width:700px){.content-progress{padding:18px}.content-progress-bottom{align-items:flex-start;flex-direction:column}.content-progress-bottom small{text-align:left}}
.content-live{margin-top:18px;padding:26px 30px;overflow:visible}.content-live>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.content-live>header h2{margin:10px 0 0;font-size:20px}.content-live>header time{color:#64748b;white-space:nowrap}.content-live-range{margin:14px 0 4px;color:#64748b}.content-live-section{padding:24px 0;border-top:1px solid #e2e8f0}.content-live-section:first-child{border-top:0}.content-live-section small{font-size:11px;font-weight:800;letter-spacing:.12em;color:#8a6b3f}.content-live-section h2{margin:9px 0 10px;font-family:Georgia,serif;font-size:22px}.content-live-section p{margin:0;white-space:pre-wrap;font-size:16px;line-height:1.75}.content-live-section p.is-writing:after{content:'';display:inline-block;width:2px;height:1.1em;margin-left:3px;vertical-align:-2px;background:#009d78;animation:writer-cursor .8s steps(1) infinite}@keyframes writer-cursor{50%{opacity:0}}@media(max-width:700px){.content-live{padding:20px 18px}.content-live>header{display:block}.content-live>header time{display:block;margin-top:8px}}
.tool-switcher{display:flex;gap:8px;margin:0 0 22px;padding:6px;border:1px solid var(--portal-line);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}.tool-switcher button{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 15px;border:0;border-radius:9px;background:transparent;color:var(--portal-muted);font:inherit;cursor:pointer}.tool-switcher button span{font-size:16px}.tool-switcher button b{font-size:13px}.tool-switcher button:hover{background:#f4f7f6;color:var(--portal-dark)}.tool-switcher button.active{background:var(--portal);color:#fff;box-shadow:0 5px 12px rgba(7,150,111,.2)}.tool-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tool-card{display:flex;align-items:flex-start;gap:18px;width:100%;padding:24px;text-align:left;cursor:pointer}.tool-card>span{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:12px;background:#e8f8f3;color:var(--portal);font-size:22px;font-weight:800}.tool-card h2{margin:1px 0 8px;font-size:19px}.tool-card p{min-height:45px;margin:0 0 15px;color:var(--portal-muted)}.tool-card b{color:var(--portal)}.tool-card:hover{border-color:#9ed8c8;transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,23,42,.08)}.price-tool-navigation{max-width:1500px;margin:0 auto 20px}.price-tool-navigation>div:first-child{display:none}.price-tool-navigation .tool-switcher{margin-bottom:0}@media(max-width:800px){.tool-overview{grid-template-columns:1fr}.tool-card p{min-height:0}.tool-switcher{overflow-x:auto}.tool-switcher button{white-space:nowrap}.price-tool-navigation{margin-bottom:14px}}
.content-live-actions{display:flex;align-items:center;gap:12px}.content-live-actions time{min-width:58px;text-align:right}.content-reset-button{display:inline-block;margin-top:12px}@media(max-width:700px){.content-live-actions{margin-top:10px;justify-content:space-between}}

/* v178 — mobiele app-shell. Alles hieronder geldt uitsluitend op telefoon/tablet. */
.mobile-appbar,.mobile-more,.mobile-week-list{display:none}
@media(max-width:900px){
  html{background:#f5f7f8}
  body.access-granted{min-height:100dvh;padding:calc(81px + env(safe-area-inset-top)) 0 calc(82px + env(safe-area-inset-bottom));background:#f5f7f8;-webkit-tap-highlight-color:transparent}
  .mobile-appbar{position:fixed;display:flex;gap:12px;inset:0 0 auto;z-index:79;box-sizing:border-box;height:calc(76px + env(safe-area-inset-top));padding:calc(11px + env(safe-area-inset-top)) 16px 12px;align-items:center;justify-content:space-between;background:rgba(255,255,255,.94);border-bottom:1px solid #e7eaee;box-shadow:0 1px 12px rgba(16,24,40,.05);backdrop-filter:blur(16px)}
  .mobile-appbar>div:first-child{min-width:0;overflow:hidden}.mobile-appbar small,.mobile-appbar strong{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-appbar small{color:var(--portal);font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.mobile-appbar strong{margin-top:1px;color:var(--portal-ink);font-size:17px;line-height:1.2}.mobile-appbar .portal-avatar{width:38px;height:38px;flex:0 0 38px}
  .portal-side{inset:auto 0 0;width:auto;height:calc(70px + env(safe-area-inset-bottom));padding:5px 7px env(safe-area-inset-bottom);display:block;border:0;border-top:1px solid #dfe4e7;box-shadow:0 -8px 28px rgba(16,24,40,.08);background:rgba(255,255,255,.96);backdrop-filter:blur(18px)}
  .portal-nav{height:64px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;overflow:visible}
  .portal-nav button{display:none;min-width:0;height:58px;padding:5px 2px 4px;border-radius:12px;align-items:center;justify-content:center;flex-direction:column;gap:2px;text-align:center;white-space:normal;color:#77818e;font-size:10px;font-weight:750;line-height:1.1}
  .portal-nav button[data-page="home"],.portal-nav button[data-page="schedule"],.portal-nav button[data-page="messages"],.portal-nav button[data-page="tools"],.portal-nav .mobile-more{display:flex}
  .portal-nav button span{display:none}.portal-nav button:before{display:block;font-size:21px;line-height:23px;font-weight:500}.portal-nav button[data-page="home"]:before{content:'\2302'}.portal-nav button[data-page="schedule"]:before{content:'\25A6'}.portal-nav button[data-page="messages"]:before{content:'\25CB'}.portal-nav button[data-page="tools"]:before{content:'\2726'}.portal-nav .mobile-more:before{content:'\2022\2022\2022';letter-spacing:1px}
  .portal-nav button:hover{background:transparent}.portal-nav button.active{background:#e8f8f3;color:var(--portal-dark);box-shadow:none}
  .portal-page{width:100%;max-width:none;padding:12px 12px 18px}
  .portal-title{display:block;margin:3px 2px 14px}.portal-title h1{display:none}.portal-title p{margin-top:0;font-size:13px;line-height:1.45}.portal-title .portal-actions{margin-top:12px;overflow-x:auto}.portal-title .portal-actions .portal-btn{flex:1;white-space:nowrap}
  .portal-cards{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.portal-card{min-height:110px;padding:15px;border-radius:15px;box-shadow:0 2px 8px rgba(16,24,40,.04)}.portal-card small{font-size:11px;line-height:1.3}.portal-card b{font-size:21px;line-height:1.15}
  .portal-grid{gap:12px}.portal-panel{padding:15px;border-radius:15px;box-shadow:0 2px 10px rgba(16,24,40,.035)}.portal-panel h2{font-size:18px}
  .portal-btn{min-height:44px;border-radius:11px}.portal-btn.primary{box-shadow:0 5px 14px rgba(7,150,111,.18)}
  .portal-form-grid{grid-template-columns:1fr;gap:3px}.form-wide,.check-wide{grid-column:auto}.portal-dialog input,.portal-dialog select,.portal-dialog textarea,.content-writer-form input,.content-writer-form select,.content-writer-form textarea,.seo-intro input{min-height:48px;border-radius:11px;font-size:16px}
  .portal-modal{align-items:end;padding:0;background:#10182866}.portal-dialog{width:100%;max-height:90dvh;padding:20px 16px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;box-shadow:0 -20px 60px rgba(16,24,40,.2)}.portal-dialog:before{content:'';display:block;width:42px;height:4px;margin:-8px auto 15px;border-radius:9px;background:#d0d5dd}.portal-form-actions{position:sticky;bottom:0;margin:18px -16px -18px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--portal-line)}
  .mobile-sheet-kicker{color:var(--portal);font-size:10px;font-weight:900;letter-spacing:.12em}.mobile-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mobile-menu-grid button{min-height:58px;padding:11px;border:1px solid var(--portal-line);border-radius:13px;background:#fff;color:#344054;text-align:left;font:700 13px inherit}.mobile-menu-grid button span{display:inline-grid;place-items:center;width:28px;margin-right:4px;color:var(--portal);font-size:17px}.mobile-menu-grid .mobile-logout{grid-column:1/-1;color:#b42318;text-align:center;background:#fff7f6}
  .schedule-panel{padding:12px;overflow:visible}.week-toolbar{gap:7px;margin-bottom:10px}.week-toolbar b{font-size:13px}.week-toolbar .portal-btn{min-height:40px;padding-inline:10px}.week-grid,.schedule-legend{display:none}.mobile-week-list{display:grid;gap:9px}.mobile-day-card{overflow:hidden;border:1px solid #e1e6e9;border-radius:14px;background:#fff}.mobile-day-card.today{border-color:#88d1bd;box-shadow:0 0 0 2px #e5f7f1}.mobile-day-card.holiday{border-color:#f3c68b}.mobile-day-card>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;cursor:pointer;list-style:none}.mobile-day-card>summary::-webkit-details-marker{display:none}.mobile-day-card>summary:after{content:'⌄';flex:0 0 auto;color:#667085;font-size:18px;transition:transform .18s}.mobile-day-card[open]>summary:after{transform:rotate(180deg)}.mobile-day-card>summary>div{min-width:0}.mobile-day-card>summary small,.mobile-day-card>summary strong,.mobile-day-card>summary em{display:block}.mobile-day-card>summary small{color:var(--portal);font-size:9px;font-weight:900;letter-spacing:.11em}.mobile-day-card>summary strong{margin-top:2px;font-size:15px;text-transform:capitalize}.mobile-day-card>summary em{margin-top:3px;color:#9a6700;font-size:11px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-day-card>summary>span{max-width:46%;margin-left:auto;color:#667085;font-size:11px;line-height:1.25;text-align:right}.mobile-day-body{display:grid;gap:8px;padding:10px;border-top:1px solid #edf0f2;background:#fafbfb}.mobile-day-person{padding:11px 10px;border:1px solid #e7eaed;border-radius:11px;background:#fff}.mobile-day-person>header{display:flex;align-items:center;gap:9px}.mobile-day-person .portal-avatar{width:32px;height:32px;flex:0 0 32px;font-size:10px}.mobile-day-person header b,.mobile-day-person header small{display:block}.mobile-day-person header b{font-size:13px}.mobile-day-person header small{margin-top:1px;color:#7b8491;font-size:10px}.mobile-day-empty{margin:3px;color:#98a2b3;font-size:12px;text-align:center}.mobile-day-shifts{display:grid;gap:6px;margin-top:9px}.mobile-day-shifts .shift{position:relative;margin:0;padding:9px 10px;border-left:4px solid var(--shift,#16a878);background:#eefaf6;color:#17324d;cursor:default}.mobile-day-shifts .shift b,.mobile-day-shifts .shift small{display:block}
  .portal-table{min-width:520px}.compact-schedule{width:100%;min-width:0}.compact-schedule th,.compact-schedule td{padding-inline:6px;font-size:12px}.portal-panel:has(.portal-table){overflow-x:auto;scrollbar-width:none}.portal-panel:has(.portal-table)::-webkit-scrollbar{display:none}
  .filter-tabs,.profile-tabs,.report-user-tabs,.tool-switcher{gap:7px;overflow-x:auto;scrollbar-width:none}.filter-tabs::-webkit-scrollbar,.profile-tabs::-webkit-scrollbar,.report-user-tabs::-webkit-scrollbar,.tool-switcher::-webkit-scrollbar{display:none}.filter-tabs span,.profile-tabs button,.report-user-tabs button,.tool-switcher button{flex:0 0 auto}
  .employee-layout{gap:12px;min-height:0}.employee-list{display:flex;overflow-x:auto;border-radius:14px}.employee-list button{flex:0 0 240px;border-right:1px solid var(--portal-line);border-bottom:0}.profile-head{align-items:flex-start;flex-wrap:wrap}.profile-head .portal-btn{width:100%;margin-left:0}.portal-avatar.large{width:62px;height:62px}.profile-data{grid-template-columns:1fr;padding:14px;gap:13px}
  .chat-shell{height:calc(100dvh - 160px);min-height:560px;border-radius:15px}.chat-list{display:flex;gap:5px;max-height:112px;padding:8px;overflow-x:auto}.chat-list>.portal-btn{flex:0 0 50px;margin:0}.chat-thread{flex:0 0 220px}.chat-main{min-height:430px}.chat-messages{padding:15px}.chat-bubble{max-width:86%}.chat-compose{padding:10px}.chat-compose textarea{font-size:16px}
  .seo-intro form{display:grid;gap:10px}.seo-intro form .portal-btn{width:100%}.seo-category-grid{grid-template-columns:1fr 1fr;gap:10px}.seo-data{grid-template-columns:1fr;gap:3px}.seo-data dd{margin-bottom:10px}
  .content-writer-form{padding:0}.content-writer-intro{padding:15px}.content-live,.content-block{padding:18px 15px}.content-live-section h2{font-size:20px}.content-live-section p,.content-intro p,.content-block p{font-size:15px;line-height:1.68}.content-result-head{margin-top:12px}.content-meta{font-size:13px}
  .tool-switcher{margin:0 0 12px;padding:4px;border-radius:12px}.tool-switcher button{min-height:42px;padding:0 12px}.tool-overview{gap:10px}.tool-card{padding:17px;gap:13px;border-radius:15px}.tool-card>span{width:42px;height:42px}.tool-card h2{font-size:17px}
  #portalToast{right:12px;bottom:calc(82px + env(safe-area-inset-bottom));left:12px;text-align:center;border-radius:12px}
}

/* v185 — compacter rooster en consistente mobiele HR-kaarten. */
.schedule-panel{padding:12px}.week-grid{grid-template-columns:190px repeat(7,minmax(130px,1fr))}.week-cell{min-height:60px;padding:3px}.week-person{padding:5px 8px}.shift{margin:0 0 2px;padding:5px 6px;border-radius:5px}.shift b{line-height:1.15}.shift small{margin-top:1px;line-height:1.1}.employee-dashboard{grid-template-columns:1fr}.portal-user,#mobileAvatar{cursor:pointer}.profile-contract{margin:16px 0;padding:15px;border:1px solid var(--portal-line);border-radius:12px;background:#f8fafb}.profile-contract h3{margin:0 0 10px;font-size:15px}.profile-document{display:inline-flex;text-decoration:none}.profile-document-empty{color:var(--portal-muted);font-size:13px}.self-profile-head{display:flex;align-items:center;gap:12px;margin-bottom:15px}.self-profile-head b,.self-profile-head small{display:block}.self-profile-head small{margin-top:3px;color:var(--portal-muted)}
@media(max-width:900px){
  body[data-portal-page="schedule"] .schedule-panel{padding:6px;border-radius:15px}.mobile-week-list{gap:6px}.mobile-day-card{border-radius:12px}.mobile-day-card>summary{padding:11px 12px}.mobile-day-body{gap:2px;padding:2px;background:#fff}.mobile-day-person{padding:3px 4px;border-left-width:5px;border-radius:7px;background:#fff}.mobile-day-person>header{grid-template-columns:30px minmax(72px,1fr) minmax(126px,auto);gap:7px;min-height:43px}.mobile-worker-name{align-self:center}.mobile-worker-shifts{align-self:stretch;justify-content:center;gap:2px}.mobile-worker-shifts span{display:flex;min-height:38px;padding:4px 8px;flex-direction:column;align-items:flex-end;justify-content:center;border-radius:6px;background:var(--shift,#16a878)}.mobile-worker-shifts b{color:#fff!important;font-size:12px;line-height:1.15}.mobile-worker-shifts small{margin-top:2px!important;color:#fff!important;font-size:9px;line-height:1.1;opacity:1}.mobile-day-person .portal-avatar{margin-left:1px}.mobile-day-empty{padding:12px}
  body[data-portal-page="leave"] .portal-title,body[data-portal-page="absence"] .portal-title{margin-bottom:10px}body[data-portal-page="leave"] .leave-summary{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}body[data-portal-page="leave"] .leave-summary span{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:7px 9px;border:1px solid var(--portal-line);border-radius:10px;background:#fff;font-size:11px}body[data-portal-page="leave"] .leave-summary .portal-btn{grid-column:1/-1;width:100%;margin:0}body[data-portal-page="leave"] .portal-panel:has(.portal-table),body[data-portal-page="absence"] .portal-panel:has(.portal-table){padding:8px;background:transparent;border:0;box-shadow:none}body[data-portal-page="leave"] .portal-table tbody,body[data-portal-page="absence"] .portal-table tbody{gap:8px}body[data-portal-page="leave"] .portal-table tr,body[data-portal-page="absence"] .portal-table tr{padding:10px 12px;border-radius:13px;box-shadow:0 2px 8px rgba(16,24,40,.04)}body[data-portal-page="leave"] .portal-table td,body[data-portal-page="absence"] .portal-table td{padding:5px 0;gap:10px;line-height:1.35}body[data-portal-page="leave"] .portal-table td:before,body[data-portal-page="absence"] .portal-table td:before{flex-basis:36%}body[data-portal-page="leave"] .row-actions,body[data-portal-page="absence"] .row-actions{display:flex;flex-wrap:wrap;gap:6px;padding-top:9px;border-top:1px solid var(--portal-line)}body[data-portal-page="leave"] .row-actions .portal-btn,body[data-portal-page="leave"] .row-actions button,body[data-portal-page="absence"] .row-actions .portal-btn{flex:1;min-width:115px}
  .self-profile-data{grid-template-columns:1fr 1fr}.self-profile-data div{padding:9px;border:1px solid var(--portal-line);border-radius:9px;background:#fff}.self-profile-data dt{font-size:10px}.self-profile-data dd{margin-top:3px}.profile-actions{position:static;display:grid;grid-template-columns:1fr;margin:14px 0 0;padding:0;border:0}.profile-actions .portal-btn{width:100%}
}
@media(max-width:430px){.portal-page{padding-inline:10px}.portal-cards{gap:8px}.portal-card{padding:13px}.seo-category-grid{grid-template-columns:1fr}.content-live-actions{align-items:center}.content-live-actions .portal-btn{padding-inline:10px}}

/* v182 — alle portaalpagina's als echte mobiele app zonder zijwaarts schuiven. */
@media(max-width:900px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  .mobile-appbar>div:first-child{transform:translateY(-17px)}
  .portal-page{box-sizing:border-box;overflow:hidden}.portal-page>*{max-width:100%;box-sizing:border-box}.portal-page *{min-width:0}
  .portal-title{margin-top:12px}.portal-title>div:first-child{width:100%;overflow:hidden}.portal-title p{max-width:100%;overflow-wrap:anywhere}
  body[data-portal-page="schedule"] .portal-title .portal-actions{display:none}
  .portal-panel{max-width:100%;overflow:hidden}
  .filter-tabs,.profile-tabs,.report-user-tabs,.tool-switcher{display:flex;flex-wrap:wrap;overflow:visible}.filter-tabs .portal-btn{margin-left:0}
  .employee-list{display:grid;grid-template-columns:1fr;gap:0;width:100%;overflow:visible}.employee-list button{width:100%;max-width:100%;flex:none;border-right:0;border-bottom:1px solid var(--portal-line);box-sizing:border-box}.employee-list button:last-child{border-bottom:0}
  .employee-layout{width:100%}.employee-detail{width:100%}.profile-head{width:100%}
  .portal-table{display:block;width:100%;min-width:0;border:0}.portal-table thead{display:none}.portal-table tbody{display:grid;gap:9px;width:100%}.portal-table tr{display:grid;width:100%;padding:10px 12px;border:1px solid var(--portal-line);border-radius:11px;background:#fff;box-sizing:border-box}.portal-table td{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;width:100%;padding:6px 0;border:0;text-align:right;overflow-wrap:anywhere;box-sizing:border-box}.portal-table td:before{content:attr(data-label);flex:0 0 42%;color:var(--portal-muted);font-size:11px;font-weight:700;text-align:left}.portal-table td:empty{display:none}.portal-table td:empty:before{display:none}.portal-table td[colspan],.portal-table td.empty{display:block;padding:14px;text-align:center}.portal-table td[colspan]:before,.portal-table td.empty:before{display:none}.portal-table .row-actions{justify-content:flex-end}.portal-table .row-actions:before{display:none}.portal-table .portal-btn{max-width:100%}
  .hours-layout .employee-list{max-height:320px;overflow-y:auto}.hours-cards{grid-template-columns:1fr 1fr}.hours-cards .portal-card{min-height:110px}
  .chat-shell{height:auto;min-height:0;display:grid;grid-template-columns:1fr}.chat-list{display:grid;grid-template-columns:1fr;gap:7px;max-height:260px;padding:10px;overflow-y:auto;overflow-x:hidden;border-right:0;border-bottom:1px solid var(--portal-line)}.chat-list>.portal-btn,.chat-thread{width:100%;max-width:100%;min-height:48px;flex:none;margin:0}.chat-main{min-height:300px}.chat-empty{padding:55px 18px}
  .mobile-day-person{padding:10px}.mobile-day-person>header{display:grid;grid-template-columns:32px minmax(80px,1fr) minmax(120px,auto);gap:9px;align-items:center}.mobile-worker-name b{font-size:13px}.mobile-worker-shifts{display:grid;gap:3px;text-align:right}.mobile-worker-shifts span,.mobile-worker-shifts b,.mobile-worker-shifts small{display:block}.mobile-worker-shifts b{font-size:12px;color:#17324d}.mobile-worker-shifts small{font-size:10px;color:#667085}.mobile-day-shifts{display:none}
  .platform-section .admin-card-head{align-items:stretch;flex-direction:column}.platform-section .admin-card-head .portal-btn{width:100%}
}

.schedule-order-button{display:block;margin:0 0 12px auto}.schedule-order-help{margin:0 0 14px;color:var(--portal-muted);line-height:1.5}.schedule-order-list{display:grid;gap:7px}.schedule-order-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid var(--portal-line);border-radius:10px;background:#fff}.schedule-order-list>div>span{display:flex;align-items:center;gap:9px}.schedule-order-list>div>div{display:flex;gap:5px}.schedule-order-list [data-order-move]{width:38px;height:38px;border:1px solid var(--portal-line);border-radius:8px;background:#f8fafb;color:var(--portal-dark);font-size:18px;font-weight:800;cursor:pointer}.schedule-order-list [data-order-move]:disabled{opacity:.3;cursor:default}
@media(max-width:900px){
  .schedule-order-button{display:none}
  .mobile-day-body{gap:4px;padding:4px;background:#f7faf9}
  .mobile-day-person{padding:5px 6px;border:0;border-left:6px solid var(--shift,#16a878);border-radius:9px;background:#f7faf9;box-shadow:none}
  .mobile-day-person>header{grid-template-columns:30px minmax(70px,1fr) minmax(118px,auto);gap:7px}.mobile-day-person .portal-avatar{width:30px;height:30px;flex-basis:30px}.mobile-worker-shifts{gap:2px}.mobile-worker-shifts span{padding:5px 8px;border-radius:7px;background:var(--shift,#16a878)}.mobile-worker-shifts b,.mobile-worker-shifts small{color:#fff}.mobile-worker-shifts small{opacity:.92}
}

/* v185 laatste mobiele overrides: bewust onder alle oudere versieregels. */
@media(max-width:900px){
  body[data-portal-page="schedule"] .schedule-panel{padding:6px}.mobile-week-list{gap:6px}.mobile-day-card>summary{padding:11px 12px}.mobile-day-body{gap:2px;padding:2px;background:#fff}.mobile-day-person{padding:3px 4px;border:0;border-left:5px solid var(--shift,#16a878);border-radius:7px;background:#fff}.mobile-day-person>header{grid-template-columns:30px minmax(72px,1fr) minmax(126px,auto);gap:7px;min-height:43px}.mobile-worker-shifts{align-self:stretch;gap:2px;text-align:right}.mobile-worker-shifts span{display:flex;min-height:38px;padding:4px 8px;flex-direction:column;align-items:flex-end;justify-content:center;border-radius:6px;background:var(--shift,#16a878)}.mobile-worker-shifts b{color:#fff!important;font-size:12px;line-height:1.15}.mobile-worker-shifts small{margin-top:2px!important;color:#fff!important;font-size:9px;line-height:1.1;opacity:1}
  body[data-portal-page="leave"] .leave-summary{display:grid;grid-template-columns:1fr 1fr;gap:7px}body[data-portal-page="leave"] .leave-summary span{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:7px 9px;border:1px solid var(--portal-line);border-radius:10px;background:#fff;font-size:11px}body[data-portal-page="leave"] .leave-summary .portal-btn{grid-column:1/-1;width:100%;margin:0}body[data-portal-page="leave"] .portal-panel:has(.portal-table),body[data-portal-page="absence"] .portal-panel:has(.portal-table){padding:8px;background:transparent;border:0;box-shadow:none}body[data-portal-page="leave"] .portal-table tr,body[data-portal-page="absence"] .portal-table tr{padding:10px 12px;border-radius:13px}body[data-portal-page="leave"] .portal-table td,body[data-portal-page="absence"] .portal-table td{padding:5px 0;gap:10px}body[data-portal-page="leave"] .portal-table td:before,body[data-portal-page="absence"] .portal-table td:before{flex-basis:36%}body[data-portal-page="leave"] .row-actions,body[data-portal-page="absence"] .row-actions{display:flex;flex-wrap:wrap;gap:6px;padding-top:9px;border-top:1px solid var(--portal-line)}body[data-portal-page="leave"] .row-actions button,body[data-portal-page="absence"] .row-actions button{flex:1;min-width:115px}
}

/* v186 — definitieve roostermaatvoering en losse mobiele HR-componenten. */
.leave-mobile-list{display:none}.week-cell{min-height:48px;padding:2px 3px}.week-person{padding:3px 7px}.week-person .portal-avatar{width:34px;height:34px}.shift{min-height:34px;margin:0 0 1px;padding:5px 6px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}
@media(max-width:900px){
  body[data-portal-page="schedule"] .schedule-panel{padding:8px}.mobile-week-list{gap:8px}.mobile-day-body{gap:6px;padding:6px;background:#f5f8f7}.mobile-day-person{min-height:56px;padding:5px 7px;border:1px solid #e4e9e7;border-left:5px solid var(--shift,#16a878);border-radius:10px;background:#fff;box-shadow:0 1px 4px rgba(16,24,40,.04)}.mobile-day-person>header{width:100%;min-height:44px;grid-template-columns:34px minmax(72px,1fr) 150px;gap:9px}.mobile-day-person .portal-avatar{width:34px;height:34px;flex-basis:34px}.mobile-worker-name b{font-size:13px;line-height:1.2}.mobile-worker-shifts{width:150px;align-self:center}.mobile-worker-shifts span{width:100%;min-height:44px;padding:5px 10px;box-sizing:border-box;align-items:flex-end;border-radius:8px}.mobile-worker-shifts b{font-size:13px;line-height:1.15}.mobile-worker-shifts small{max-width:100%;font-size:9px;white-space:normal;text-align:right}
  body[data-portal-page="leave"] .leave-desktop-table{display:none}.leave-mobile-list{display:grid;gap:10px}.leave-mobile-card{padding:14px;border:1px solid var(--portal-line);border-radius:15px;background:#fff;box-shadow:0 3px 12px rgba(16,24,40,.05)}.leave-mobile-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #edf0f2}.leave-mobile-card header small,.leave-mobile-card header b{display:block}.leave-mobile-card header small{margin-bottom:3px;color:var(--portal);font-size:9px;font-weight:900;letter-spacing:.1em}.leave-mobile-card header b{font-size:15px}.leave-mobile-card .status{flex:0 0 auto}.leave-mobile-card dl{display:grid;gap:0;margin:8px 0 0}.leave-mobile-card dl>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;padding:8px 0;border-bottom:1px solid #f0f2f4}.leave-mobile-card dl>div:last-child{border-bottom:0}.leave-mobile-card dt{color:var(--portal-muted);font-size:11px;font-weight:700}.leave-mobile-card dd{margin:0;color:var(--portal-ink);font-size:12px;font-weight:650;text-align:right;overflow-wrap:anywhere}.leave-mobile-card .leave-period dd{display:flex;align-items:flex-end;flex-direction:column;gap:2px}.leave-mobile-card .leave-period time{white-space:nowrap}.leave-mobile-card .leave-period i{color:var(--portal-muted);font-size:9px;font-style:normal}.leave-mobile-card footer{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;padding-top:11px;border-top:1px solid #edf0f2}.leave-mobile-card footer button{flex:1;min-width:110px;min-height:40px}
}
@media(max-width:380px){.mobile-day-person>header{grid-template-columns:32px minmax(62px,1fr) 136px}.mobile-worker-shifts{width:136px}}

/* v187 — ruim maar compact rooster en zelfstandige HR-kaarten. */
.absence-mobile-list{display:none}.week-cell{box-sizing:border-box;min-height:58px;padding:3px 4px}.week-person{padding:5px 8px}.week-person .portal-avatar{width:36px;height:36px;flex-basis:36px}.schedule-cell{display:flex;flex-direction:column;justify-content:center}.shift{width:100%;min-height:44px;margin:0;padding:6px 7px;border-radius:6px;box-sizing:border-box}.shift small{font-size:10px}.leave-desktop-table .portal-table th:last-child,.leave-desktop-table .portal-table td:last-child{width:320px}.leave-desktop-table .row-actions{display:flex;min-width:300px;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}.leave-desktop-table .row-actions button{min-height:34px;padding:7px 10px;font-size:12px}.leave-desktop-table .portal-table td{vertical-align:middle}
@media(max-width:900px){
  body[data-portal-page="schedule"] .schedule-panel{padding:8px}.mobile-day-body{gap:6px;padding:6px}.mobile-day-person{min-height:62px;padding:6px 8px;border:1px solid #e4e9e7;border-left:5px solid var(--shift,#16a878);border-radius:10px;background:#fff;box-shadow:0 1px 4px rgba(16,24,40,.04)}.mobile-day-person>header{min-height:48px;margin:0;padding:0;border:0!important;grid-template-columns:36px minmax(70px,1fr) 154px;gap:9px;align-items:center}.mobile-day-person>header:after,.mobile-day-person:after{display:none!important}.mobile-day-person .portal-avatar{width:36px;height:36px;flex-basis:36px}.mobile-worker-name b{font-size:14px}.mobile-worker-shifts{width:154px;height:auto;align-self:center;gap:3px}.mobile-worker-shifts span{width:100%;height:48px;min-height:48px;padding:5px 9px;box-sizing:border-box;align-items:flex-end;justify-content:center;border-radius:8px}.mobile-worker-shifts b{font-size:13px}.mobile-worker-shifts small{font-size:10px}
  body[data-portal-page="absence"] .absence-desktop-table{display:none}.absence-mobile-list{display:grid;gap:10px}.absence-mobile-card{padding:14px;border:1px solid var(--portal-line);border-radius:15px;background:#fff;box-shadow:0 3px 12px rgba(16,24,40,.05)}.absence-mobile-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #edf0f2}.absence-mobile-card header small,.absence-mobile-card header b{display:block}.absence-mobile-card header small{margin-bottom:3px;color:var(--portal);font-size:9px;font-weight:900;letter-spacing:.1em}.absence-mobile-card header b{font-size:15px}.absence-mobile-card .status{flex:0 0 auto}.absence-mobile-card dl{display:grid;gap:0;margin:8px 0 0}.absence-mobile-card dl>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid #f0f2f4}.absence-mobile-card dl>div:last-child{border-bottom:0}.absence-mobile-card dt{color:var(--portal-muted);font-size:11px;font-weight:700}.absence-mobile-card dd{margin:0;color:var(--portal-ink);font-size:12px;font-weight:650;text-align:right;overflow-wrap:anywhere}.absence-mobile-card time{white-space:nowrap}.absence-mobile-card footer{display:flex;margin-top:10px;padding-top:11px;border-top:1px solid #edf0f2}.absence-mobile-card footer button{width:100%;min-height:42px}
}
@media(max-width:380px){.mobile-day-person>header{grid-template-columns:34px minmax(58px,1fr) 140px}.mobile-worker-shifts{width:140px}}

/* v188 — uniforme mobiele dienstkolom. */
@media(max-width:900px){.mobile-day-person>header{grid-template-columns:36px minmax(0,1fr) 168px}.mobile-worker-name{min-width:0}.mobile-worker-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-worker-shifts{width:168px!important;min-width:168px!important;max-width:168px!important;justify-self:end}.mobile-worker-shifts span{width:168px!important;min-width:168px!important;max-width:168px!important;height:50px!important;min-height:50px!important;padding:6px 8px!important;align-items:center!important;text-align:center!important;overflow:hidden}.mobile-worker-shifts b{width:100%;font-size:13px!important;line-height:16px!important;text-align:center;white-space:nowrap}.mobile-worker-shifts small{display:-webkit-box!important;width:100%;height:20px;margin-top:2px!important;font-size:9px!important;line-height:10px!important;text-align:center!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}}
@media(max-width:380px){.mobile-day-person>header{grid-template-columns:34px minmax(0,1fr) 150px}.mobile-worker-shifts{width:150px!important;min-width:150px!important;max-width:150px!important}.mobile-worker-shifts span{width:150px!important;min-width:150px!important;max-width:150px!important}}

/* v189 — toegankelijk beheer, beter leesbaar rooster en live dashboard. */
.portal-admin-link{display:flex;align-items:center;width:100%;margin:12px 0 8px;border:1px solid #d9e4e0;background:#f4faf8;text-align:left;padding:11px 13px;border-radius:8px;font:700 14px inherit;color:var(--portal-dark);cursor:pointer}.portal-admin-link span{display:inline-block;width:25px}.portal-admin-link.active{background:var(--portal);color:#fff}.week-cell{min-height:66px;padding:5px}.week-person{padding:7px 9px}.week-person .portal-avatar{width:38px;height:38px;flex-basis:38px}.shift{min-height:52px;padding:8px 9px;border-radius:7px}.shift b{font-size:13px;line-height:16px}.shift small{font-size:11px;line-height:14px}.portal-dialog:has(.form-section){width:min(900px,95vw)}.form-section,.access-section{margin:8px 0 4px;padding:16px;border:1px solid var(--portal-line);border-radius:13px;background:#fbfcfd}.form-section h3,.access-section h3{margin:0 0 12px;font-size:16px}.form-section-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.access-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.access-section-head b,.access-section-head small{display:block}.access-section-head small{margin-top:4px;color:var(--portal-muted)}.tool-access-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tool-access-grid label{display:flex!important;align-items:flex-start;gap:10px;margin:0!important;padding:13px;border:1px solid var(--portal-line);border-radius:10px;background:#fff;cursor:pointer}.tool-access-grid input{width:auto!important;margin-top:3px}.tool-access-grid b,.tool-access-grid small{display:block}.tool-access-grid small{margin-top:4px;color:var(--portal-muted);font-weight:400}.tool-access-grid .always-on{background:#f7faf9}.brand-search{margin-bottom:10px}.brand-select{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0;pointer-events:none}.brand-chips{display:flex;flex-wrap:wrap;gap:7px;max-height:190px;overflow:auto;padding:2px}.brand-chip{border:1px solid var(--portal-line);border-radius:99px;background:#fff;padding:7px 11px;color:#344054;cursor:pointer}.brand-chip.selected{border-color:var(--portal);background:#e8f8f3;color:var(--portal-dark);font-weight:800}.chat-main>header{display:flex;align-items:center;justify-content:space-between;gap:14px}.chat-main>header .chat-delete{margin:0;flex:0 0 auto}.dashboard-stats .portal-card{min-height:128px}.dashboard-stats .portal-card small{font-size:14px}.dashboard-stats .portal-card b{font-size:32px;line-height:1.1}.dashboard-stats .shift-time{display:block;margin-top:8px;font-size:21px;font-weight:700}.dashboard-stats .positive{color:var(--portal-dark)!important}.next-shift-card.shift-active{border-color:#54c7a7;background:linear-gradient(145deg,#effcf7,#fff);box-shadow:0 0 0 2px #d9f6ed,0 8px 24px rgba(7,150,111,.14)}.next-shift-card em{display:block;margin-top:9px;color:var(--portal-dark);font-size:13px;font-style:normal;font-weight:800}
@media(max-width:900px){.portal-admin-link{display:none}.form-section,.access-section{padding:13px}.form-section-grid,.tool-access-grid{grid-template-columns:1fr}.chat-main>header{align-items:flex-start}.chat-main>header .chat-delete{padding:8px 9px;font-size:11px}.dashboard-stats .portal-card{min-height:125px}.dashboard-stats .portal-card small{font-size:13px}.dashboard-stats .portal-card b{font-size:28px}.dashboard-stats .shift-time{font-size:19px}.mobile-worker-shifts span{display:grid!important;grid-template-rows:18px 14px!important;align-content:center!important;justify-items:center!important;padding:4px 8px!important}.mobile-worker-shifts b{align-self:center;margin:0!important;line-height:18px!important}.mobile-worker-shifts small{align-self:center;height:14px!important;margin:0!important;line-height:14px!important;-webkit-line-clamp:1}.mobile-day-card>summary>span{max-width:52%}}

/* v190 — gecentreerde mobiele statistieken en teamberichten. */
.dashboard-announcements{display:grid;gap:10px;margin-bottom:18px}.dashboard-announcements>header{display:flex;align-items:center;justify-content:space-between;gap:14px}.dashboard-announcements>header small{color:var(--portal);font-weight:900;letter-spacing:.1em}.dashboard-announcements>header h2{margin:3px 0 0}.dashboard-announcements article{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px 18px;border:1px solid #bfe9dc;border-radius:14px;background:linear-gradient(135deg,#f0fcf8,#fff);box-shadow:0 4px 14px rgba(7,150,111,.06)}.announcement-copy h3{margin:0}.announcement-copy p{margin:7px 0;line-height:1.55;white-space:pre-wrap}.announcement-copy time{color:var(--portal-muted);font-size:11px}.announcement-actions{display:flex;align-items:flex-start;gap:8px}.reaction-buttons{display:flex;gap:5px}.reaction-buttons button{border:1px solid var(--portal-line);border-radius:8px;background:#fff;padding:7px;cursor:pointer}.reaction-buttons button.active{border-color:var(--portal);background:#dcf8ef}.announcement-delete{border:0;background:transparent;color:#b42318;cursor:pointer}.announcement-readers{grid-column:1/-1;display:flex;align-items:center;gap:5px;padding-top:10px;border-top:1px solid #ddf3ec}.announcement-readers>span{position:relative}.announcement-readers .portal-avatar{width:28px;height:28px;font-size:9px}.announcement-readers i{position:absolute;right:-4px;bottom:-3px;font-size:11px;font-style:normal}.announcement-readers>small{color:var(--portal-muted)}
@media(max-width:900px){.dashboard-stats .portal-card:not(.next-shift-card){display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.dashboard-stats .portal-card:not(.next-shift-card) b{font-size:34px}.dashboard-stats .next-shift-card b{font-size:22px}.dashboard-stats .next-shift-card .shift-time{font-size:21px}.dashboard-announcements>header{align-items:flex-end}.dashboard-announcements>header .portal-btn{padding:8px 9px;font-size:11px}.dashboard-announcements article{grid-template-columns:1fr;padding:14px}.announcement-actions{justify-content:space-between}.announcement-readers{grid-column:auto}.tool-access-grid{grid-template-columns:1fr}}

/* v191 */
.portal-admin-link[hidden]{display:none!important}.writer-result-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0 12px;padding:18px 20px;border:1px solid #cceadf;border-radius:14px;background:linear-gradient(135deg,#effbf7,#fff)}.writer-result-head small{color:var(--portal);font-weight:900;letter-spacing:.09em}.writer-result-head h2{margin:4px 0 0}.social-post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px}.social-post{padding:20px;border:1px solid var(--portal-line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.05)}.social-post>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--portal-line)}.social-post>header span{font-size:16px;font-weight:900;color:var(--portal-dark)}.social-post .content-prose{font-size:15px;line-height:1.65;white-space:pre-wrap}.lead-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:20px}.lead-metrics article{display:flex;min-height:105px;flex-direction:column;justify-content:center;padding:17px;border:1px solid var(--portal-line);border-radius:14px;background:#fff}.lead-metrics small{color:var(--portal-muted)}.lead-metrics b{margin-top:7px;font-size:25px}.lead-metrics .positive b{color:var(--portal)}.lead-metrics .negative b{color:#b42318}.lead-projects>header,.lead-list>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.lead-projects h2,.lead-list h2{margin:0}.lead-projects p,.lead-list p{margin:4px 0;color:var(--portal-muted)}.lead-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-bottom:20px}.lead-project-card{position:relative;padding:18px;border:1px solid var(--portal-line);border-radius:14px;background:#fff;text-align:left;cursor:pointer}.lead-project-card.active{border-color:var(--portal);box-shadow:0 0 0 2px #dff7ef}.lead-project-card>span{position:absolute;right:14px;top:14px}.lead-project-card h3{margin:4px 75px 5px 0;font-size:18px}.lead-project-card p{color:var(--portal-muted)}.lead-project-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 0;padding-top:13px;border-top:1px solid var(--portal-line)}.lead-project-card dt{font-size:10px;color:var(--portal-muted)}.lead-project-card dd{margin:3px 0 0;font-weight:800}.lead-list{padding:20px}.lead-list>header>div:last-child{display:flex;gap:8px}.lead-list td:first-child b,.lead-list td:first-child small{display:block}.lead-list td:first-child small{margin-top:3px;color:var(--portal-muted)}.lead-stage{display:inline-flex;padding:5px 9px;border-radius:99px;background:#eef2f6;font-size:11px;font-weight:800}.lead-stage.won{background:#d9f7ec;color:#067354}.lead-stage.lost{background:#fee4e2;color:#b42318}.lead-stage.quote{background:#fff1cc;color:#8a5b00}.lead-stage.interested{background:#e7efff;color:#244b9b}
@media(max-width:900px){.social-post-grid{grid-template-columns:1fr}.writer-result-head{padding:15px}.lead-metrics{grid-template-columns:1fr 1fr}.lead-metrics article{min-height:92px;text-align:center}.lead-metrics article:last-child{grid-column:1/-1}.lead-project-grid{display:flex;overflow-x:auto;padding:2px}.lead-project-card{min-width:260px}.lead-projects>header,.lead-list>header{align-items:flex-start}.lead-list{padding:14px}.lead-list>header{display:grid}.lead-list>header>div:last-child{width:100%}.lead-list>header .portal-btn{flex:1}.lead-list .table-wrap{overflow:visible}.lead-list table,.lead-list tbody,.lead-list tr,.lead-list td{display:block}.lead-list thead{display:none}.lead-list tr{margin:10px 0;padding:14px;border:1px solid var(--portal-line);border-radius:12px}.lead-list td{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border:0}.lead-list td:nth-child(2)::before{content:'Interesse';font-weight:800}.lead-list td:nth-child(3)::before{content:'Fase';font-weight:800}.lead-list td:nth-child(4)::before{content:'Verwacht';font-weight:800}.lead-list td:nth-child(5)::before{content:'Omzet';font-weight:800}.lead-list td.row-actions{margin-top:7px}.lead-list td.empty{display:block;text-align:center}}

.project-planning{margin:0 0 20px;padding:22px}.project-planning>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.project-planning h2,.project-planning h3{margin:0}.project-planning>header small{color:var(--portal);font-weight:900;letter-spacing:.08em}.project-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.project-facts>div,.planning-grid article{padding:14px;border:1px solid var(--portal-line);border-radius:12px;background:#fbfcfd}.project-facts small{display:block;color:var(--portal-muted);font-size:11px}.project-facts b{display:block;margin-top:5px}.planning-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.planning-grid article.wide{grid-column:1/-1}.planning-grid article p{margin:9px 0 0;line-height:1.55;white-space:pre-wrap}.planning-team{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:10px}.planning-team .portal-avatar{width:32px;height:32px}.planning-team span{margin-right:8px;font-weight:700}
@media(max-width:900px){.project-planning{padding:15px}.project-planning>header{align-items:flex-start}.project-facts,.planning-grid{grid-template-columns:1fr}.planning-grid article.wide{grid-column:auto}}

/* v200 — acties bij bewaarde blog- en socialresultaten. */
.writer-result-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
@media(max-width:600px){.writer-result-head{align-items:flex-start;flex-direction:column}.writer-result-actions{width:100%;justify-content:stretch}.writer-result-actions .portal-btn{flex:1}}

/* v193 project- en ordereditor */
.section-help{margin:-5px 0 13px;color:var(--portal-muted)}.project-people-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.person-pick{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--portal-line);border-radius:12px;background:#fff;text-align:left;cursor:pointer}.person-pick.selected{border-color:var(--portal);background:#eaf9f4;box-shadow:0 0 0 1px var(--portal)}.person-pick .portal-avatar{width:38px;height:38px}.person-pick b,.person-pick small{display:block}.person-pick small{margin-top:2px;color:var(--portal-muted)}.person-pick i{font-style:normal;font-size:18px;color:var(--portal)}.external-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.external-edit-card{padding:13px;border:1px solid var(--portal-line);border-radius:12px;background:#fff}.external-edit-card>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.external-edit-card>header button,.timeline-edit-row>button,.check-edit-row>button,.order-line>button{border:0;background:#fff;color:#b42318;font-size:18px;cursor:pointer}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mini-grid label{font-size:11px}.mini-grid label.wide{grid-column:1/-1}.mini-grid input,.mini-grid select{margin-top:4px!important;padding:9px!important}.timeline-editor,.checklist-editor{display:grid;gap:10px}.timeline-rows,.checklist-rows,.order-lines{display:grid;gap:8px}.timeline-edit-row{display:grid;grid-template-columns:10px 105px 105px 2fr 1fr 30px;align-items:center;gap:8px}.timeline-dot{width:10px;height:10px;border-radius:50%;background:var(--portal)}.timeline-edit-row input,.check-edit-row input,.check-edit-row select,.order-line input{margin:0!important;padding:10px!important}.check-edit-row{display:grid;grid-template-columns:28px 130px 2fr 1fr 30px;align-items:center;gap:8px;padding:8px;border:1px solid var(--portal-line);border-radius:10px;background:#fff}.check-edit-row>input[type=checkbox]{width:18px!important}.order-line{display:grid;grid-template-columns:2fr 75px 120px 120px 32px;gap:8px;align-items:center}.order-totals{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:14px}.order-totals span{padding:10px;border-radius:10px;background:#f4f7f6;color:var(--portal-muted);font-size:11px}.order-totals b{display:block;margin-top:4px;color:var(--portal-dark);font-size:15px}.project-view-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 16px;padding:13px 15px;border:1px solid var(--portal-line);border-radius:13px;background:#fff}.project-view-toolbar label{display:flex;min-width:320px;flex-direction:column;gap:5px;font-weight:800}.project-view-toolbar select{padding:10px;border:1px solid var(--portal-line);border-radius:9px;background:#fff}.operations-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.operations-grid>article{padding:15px;border:1px solid var(--portal-line);border-radius:12px;background:#fbfcfd}.operations-grid .wide{grid-column:1/-1}.operations-grid article>header{display:flex;justify-content:space-between;align-items:center}.external-view{display:grid;gap:7px;margin-top:10px}.external-view>div{display:grid;padding:9px;border-radius:9px;background:#fff}.external-view span,.external-view small{margin-top:2px;color:var(--portal-muted)}.day-timeline{position:relative;display:grid;gap:0;margin-top:10px}.day-timeline>div{display:grid;grid-template-columns:100px 18px 1fr;gap:8px;min-height:56px}.day-timeline time{font-weight:800}.day-timeline i{position:relative;width:10px;height:10px;margin-top:4px;border-radius:50%;background:var(--portal)}.day-timeline i:after{content:'';position:absolute;left:4px;top:10px;width:2px;height:46px;background:#cdebe1}.day-timeline>div:last-child i:after{display:none}.day-timeline b,.day-timeline small{display:block}.day-timeline small{margin-top:3px;color:var(--portal-muted)}.project-checklist{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.project-checklist label{display:flex;align-items:center;gap:9px;padding:9px;border-radius:9px;background:#fff}.project-checklist label.done{opacity:.65}.project-checklist label.done b{text-decoration:line-through}.project-checklist b,.project-checklist small{display:block}.project-checklist small{margin-top:2px;color:var(--portal-muted)}.lead-order-table td:nth-child(3) small{display:block;margin:2px 0}.lead-list>header>div:last-child{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end}.scope-dialog-body{display:grid;gap:10px;padding:8px 2px}.scope-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px;border:1px solid var(--portal-line);border-radius:12px;background:#fff;text-align:left;cursor:pointer}.scope-option:hover{border-color:var(--portal);background:#f0fbf7}.scope-option.danger:hover{border-color:#e5484d;background:#fff5f5}.scope-option b,.scope-option small{display:block}.scope-option small{margin-top:4px;color:var(--portal-muted)}
@media(max-width:900px){.project-people-picker{grid-template-columns:1fr}.external-cards,.operations-grid,.project-checklist{grid-template-columns:1fr}.operations-grid .wide{grid-column:auto}.timeline-edit-row{grid-template-columns:1fr 1fr 30px}.timeline-edit-row .timeline-dot{display:none}.timeline-edit-row input:nth-of-type(3),.timeline-edit-row input:nth-of-type(4){grid-column:1/-1}.check-edit-row{grid-template-columns:28px 1fr 30px}.check-edit-row select,.check-edit-row input:nth-of-type(2){grid-column:2/3}.order-line{grid-template-columns:1fr 70px 30px}.order-line input:first-child{grid-column:1/-1}.order-totals{grid-template-columns:1fr 1fr}.project-view-toolbar{align-items:stretch;flex-direction:column}.project-view-toolbar label{min-width:0}.lead-order-table{min-width:0}}

/* v194 — meerdere diensten blijven compact maar afzonderlijk bedienbaar. */
.schedule-cell{align-content:center;gap:5px}.schedule-cell>.shift{flex:0 0 auto;width:100%;min-height:48px}.cell-extra-shift{display:none;width:100%;min-height:27px;border:1px dashed #8bcfbb;border-radius:7px;background:#f4fbf8;color:#087b5e;font:700 10px inherit;cursor:pointer}.schedule-cell:hover .cell-extra-shift,.schedule-cell:focus-within .cell-extra-shift{display:block}.schedule-cell:has(>.shift:nth-of-type(2)) .cell-extra-shift{display:block}.schedule-cell:has(>.shift:nth-of-type(2)){padding-top:5px;padding-bottom:5px}.schedule-cell:has(>.shift:nth-of-type(2))>.shift{min-height:44px}
.workday-picker{display:grid;grid-template-columns:repeat(7,minmax(72px,1fr));gap:10px;margin-top:12px}.workday-picker label{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:70px;border:1px solid #dbe2e8;border-radius:12px;background:#fff;cursor:pointer}.workday-picker input{position:absolute;opacity:0;pointer-events:none}.workday-picker span{font-weight:800;font-size:16px}.workday-picker small{color:#687386}.workday-picker label:has(input:checked){border-color:#009b77;background:#eaf9f4;color:#00785d;box-shadow:0 0 0 1px #009b77 inset}@media(max-width:700px){.workday-picker{grid-template-columns:repeat(4,1fr)}.workday-picker label{min-height:62px}}
.workhours-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-top:14px}.workhours-grid label{display:grid;grid-template-columns:1fr 82px;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dbe2e8;border-radius:12px;background:#fff}.workhours-grid input[type=number]{width:100%;min-width:0;text-align:right}.workhours-total{margin-top:12px;padding:10px 12px;border-radius:10px;background:#eaf9f4;color:#006d55}.hours-invalid .workhours-total{background:#fff0ed;color:#b3261e}@media(max-width:700px){.workhours-grid{grid-template-columns:1fr 1fr}.workhours-grid label{grid-template-columns:1fr 70px}}
.balance-explanation{display:flex;gap:16px;align-items:center;padding:12px 14px;margin-bottom:12px;border-radius:10px;background:#eef8f5;color:#285c50}.balance-explanation span{color:#536b66}.future-period{opacity:.78}.future-period td:first-child small{display:block;color:#7a8794;margin-top:3px}
.week-head[data-special-day]{cursor:pointer}.week-head[data-special-day]:hover{background:#eefaf6}.week-head[data-special-day].holiday:hover{background:#ffedc7}.special-day-help{margin:0;padding:12px 14px;border-left:4px solid var(--portal);border-radius:8px;background:#eefaf6;color:#40556a;line-height:1.45}
