/* PharmaFlow V31: functional design system, loaded after legacy module styles. */
:root{--pf-ink:#193b37;--pf-muted:#607570;--pf-green:#16594f;--pf-green-2:#217363;--pf-bg:#f3f6f5;--pf-border:#dce5e1;--pf-radius:10px;--pf-shadow:none}
html{color-scheme:light}body{line-height:1.45;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #348b79!important;outline-offset:3px}button:active{transform:none!important}
.app-shell{grid-template-columns:224px minmax(0,1fr)!important}.sidebar{background:#153f39!important;padding:20px 12px 12px!important;box-shadow:none!important;overflow-y:auto;min-height:0!important}.brand{padding:0 10px 17px!important;font-size:20px!important;letter-spacing:-.5px}.brand small{font-size:10px!important;color:#bbd3cd}.brand-mark{background:#ffffff14!important;box-shadow:none!important}.sidebar nav{min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin}.nav-group{margin-bottom:16px!important;gap:2px!important}.nav-group>small{font-size:10px!important;color:#aac6bf!important;letter-spacing:.1em!important;margin:0 10px 6px!important}.nav-item{padding:9px 10px!important;min-height:40px;font-size:13px!important;border-radius:7px!important;gap:10px!important}.nav-item:hover{transform:none!important;background:#ffffff10!important}.nav-item.active{background:#e8f4ee!important;color:#164c40!important;box-shadow:none!important;font-weight:700}.nav-item>span{border-radius:6px!important;width:26px!important;height:26px!important;font-size:10px!important}.pf-department-panel{margin:0 0 16px!important;padding:0 0 14px!important}.pf-department-select{font-size:14px;min-height:42px;border-radius:8px}.pf-tier-menu-button,.pf-radio-menu-button{font-size:13px;min-height:40px;font-weight:600}.side-foot{margin-top:14px!important;padding-top:12px!important;border-top:1px solid #ffffff20}.sidebar .shift-legend{display:none}.topbar{min-height:72px!important;padding:12px 24px!important;box-shadow:none!important;background:#fff!important}.topbar h1{font-size:22px!important;letter-spacing:-.4px}.topbar p{font-size:10px!important;letter-spacing:.05em!important}.top-user b{font-size:12px!important}.top-user small{font-size:10px!important}.workspace{min-width:0}.page-content{max-width:none;padding:22px 24px 36px!important}
.section-intro h2,.page-heading h2{font-size:23px!important;line-height:1.25!important}.section-intro p,.page-heading p{font-size:13px!important;line-height:1.5!important;max-width:76ch}.section-intro small{font-size:10px!important;letter-spacing:.08em!important}.toolbar,.toolbar-right,.service-controls,.calendar-controls{gap:8px!important;flex-wrap:wrap;align-items:center}.toolbar-right{justify-content:flex-end}.primary,.outline,.file-action,.danger-button{min-height:38px;padding:9px 13px!important;font-size:12px!important;font-weight:600!important;box-shadow:none!important;border-radius:7px!important}.outline{border-color:#cddbd5!important}.outline:hover{background:#f0f6f3!important}.view-toggle,.team-tabs,.management-view-toggle,.pf-tier-tabs{padding:3px!important;border:1px solid var(--pf-border);border-radius:8px!important;background:#edf2ef!important;gap:3px!important}.view-toggle button,.management-view-toggle button,.pf-tier-tabs button{padding:8px 13px!important;font-size:12px!important;min-height:35px;border-radius:5px!important}.view-toggle button.selected,.view-toggle button.active,.management-view-toggle button.selected,.team-tabs button.active,.pf-tier-tabs button.active{background:#fff!important;color:#164f43!important;box-shadow:0 1px 3px #143c3912!important;font-weight:700!important}
.summary-strip,.variance-cards{gap:10px!important}.summary-strip>div,.variance-cards>div{border:1px solid var(--pf-border)!important;border-radius:9px!important;padding:13px 15px!important;box-shadow:none!important;background:#fff!important}.summary-strip b,.variance-cards b{font-size:25px!important;line-height:1.3;font-variant-numeric:tabular-nums}.summary-strip small,.variance-cards small{font-size:11px!important}.summary-strip span,.variance-cards span{font-size:10px!important}.planner-card,.period-plan,.dle-period-card,.shared-calendar,.cockpit-card,.profile-section,.pf-tier-card{border-radius:10px!important;box-shadow:none!important;border-color:var(--pf-border)!important}.period-plan-title{padding:16px!important;background:#f0f6f3!important}.period-plan-title h3{font-size:19px!important}.period-plan-title p{font-size:12px!important}.period-plan.revised .period-plan-title{background:#e6f1eb!important}.period-grid-wrap,.planner-card,.pf-summary-wrap{scrollbar-width:thin;scrollbar-color:#a6bfb3 #f1f5f2}.planner-head>div{background:#edf4ef!important;min-height:70px}.planner-head span{font-size:11px!important}.planner-head small{font-size:9px!important}.planner-head b{font-size:13px!important}.planner-row .row-label{background:#fff;position:sticky;left:0;z-index:1;border-right:1px solid var(--pf-border)}.planner-row .row-label b{font-size:12px!important}.planner-cell{padding:5px!important}.assignment,.line-assignment{border-radius:6px!important;padding:7px!important;min-height:64px}.assignment b,.line-assignment b{font-size:11px!important}.assignment span,.line-assignment span{font-size:10px!important}.line-assignment em{font-size:10px!important;line-height:1.4}.line-assignment[title="Afgeleid van Per operator"]{cursor:default}.free-line-cell,.free-day{background:#eef1ef!important}.matrix-cell input{border-radius:3px!important;font-size:11px!important;box-shadow:none!important}.matrix-cell input[readonly]{cursor:default}.matrix-day b{font-size:10px!important}.matrix-day small{font-size:9px!important}table{font-size:13px}thead th{font-size:11px!important;padding:10px!important}td{padding:10px}.week-break{border-left:2px solid #9eb9ae!important}
.modal-backdrop{padding:20px!important;background:#102d286b!important;backdrop-filter:blur(2px)}.modal,.person-modal,#pharmaflow-inlenen-root .loan-card{border-radius:12px!important;max-height:calc(100dvh - 40px)!important;overflow:auto!important;box-shadow:0 24px 80px #0b2d3833!important}.modal-head{background:#fff!important;color:var(--pf-ink)!important;border-bottom:1px solid var(--pf-border)!important;padding:18px 20px!important}.modal-head h2{font-size:21px!important}.modal-head p,.modal-head small{color:var(--pf-muted)!important}.modal-head button{background:#edf3ef!important;color:var(--pf-ink)!important;border:0!important;min-width:34px;min-height:34px;border-radius:7px}.modal-actions{border-top:1px solid var(--pf-border);padding-top:14px!important;gap:8px!important;flex-wrap:wrap}.profile-section{padding:15px!important;margin-bottom:12px!important}.profile-form-grid{gap:12px!important}.profile-form-grid label,.modal label{font-size:12px!important}input:not([type=checkbox]):not([type=radio]),select,textarea{border-radius:7px!important}textarea{line-height:1.5;resize:vertical}.pf-profile-tabs{gap:4px;padding-bottom:10px}.pf-profile-tabs button{font-size:12px;min-height:38px}.pf-profile-tabs button.active{background:var(--pf-green);border-color:var(--pf-green)}.pf-page-popup{max-height:calc(100dvh - 48px)!important;overflow:auto!important;padding:24px!important}.pf-page-popup .pf-popup-close{z-index:2}.toast,.pf-toast{font-size:13px!important;padding:12px 16px!important;max-width:min(520px,calc(100vw - 32px));line-height:1.5}
.pf-tier-shell{background:var(--pf-bg)!important}.pf-tier-top{background:#153f39!important;box-shadow:none!important;padding:14px 24px!important}.pf-tier-wrap{padding:22px 24px!important}.pf-tier-card{padding:18px!important}.pf-tier-card h2{font-size:19px}.pf-tier-card h3{font-size:16px}.pf-tier2-kpis article{background:#fff!important;color:var(--pf-ink)!important;border:1px solid var(--pf-border)!important;box-shadow:none!important}.pf-tier2-kpis article small,.pf-tier2-kpis article span{color:var(--pf-muted)!important}.pf-save,.pf-action-form button{background:var(--pf-green)!important;min-height:38px}.pf-status-picker button{width:30px;height:30px}.pf-safety-day{border-radius:7px}.pf-status-group{border-radius:8px}.pf-tier-intro{gap:16px}.pf-radio:not(.collapsed) .pf-radio-body{border-radius:12px!important;box-shadow:0 16px 48px #13352f2b!important}.public-login-shell{background:#f0f5f2!important}.auth-card{border-radius:14px!important;box-shadow:0 12px 40px #173f3b0a!important}.auth-card h1{font-size:26px!important;line-height:1.2}.auth-card p{font-size:13px!important}.auth-card label{font-size:12px!important}.auth-card input{min-height:44px}.auth-card button.primary{min-height:44px;font-size:14px!important}
@media(max-width:1100px){.app-shell{grid-template-columns:200px minmax(0,1fr)!important}.page-content{padding:18px!important}.topbar{padding:12px 18px!important}.topbar input[type=search]{max-width:200px}}
@media(max-width:760px){.app-shell{display:block!important}.sidebar{height:auto!important;position:relative!important;padding:12px!important;overflow:visible}.sidebar nav{display:grid;grid-template-columns:1fr 1fr;gap:10px;overflow:visible}.sidebar nav .nav-group{margin-bottom:0!important;display:flex!important;flex-direction:column!important}.nav-item{width:100%!important}.side-foot{display:block!important}.brand{padding-bottom:12px!important}.pf-department-panel{margin-bottom:12px!important}.topbar{position:relative!important;gap:12px}.topbar h1{font-size:20px!important}.topbar p{font-size:9px!important}.page-content,.pf-tier-wrap{padding:14px!important}.toolbar-right{justify-content:flex-start}.summary-strip,.variance-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pf-tier-intro{flex-wrap:wrap}.pf-tier-top{padding:12px!important}.modal-backdrop{padding:10px!important}.modal,.person-modal,#pharmaflow-inlenen-root .loan-card{max-height:calc(100dvh - 20px)!important;max-width:calc(100vw - 20px)!important}.pf-tier-tabs{width:100%;overflow:auto}.pf-action-form{grid-template-columns:1fr!important}}

/* V45: herstelmogelijkheden als compacte, wegklikbare dialoog */
.restoration-trigger{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px auto;padding:9px 13px;border:1px solid #8bcbb6;border-radius:9px;background:#edf8f3;color:#176348;font-size:12px;cursor:pointer}.restoration-trigger span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#25a675;color:#fff;font-weight:800}.restoration-backdrop{z-index:12000!important}.restoration-popup{width:min(860px,calc(100vw - 40px))!important;max-width:860px!important;overflow:hidden!important}.restoration-popup-body{padding:18px 20px}.restoration-explanation{margin:0 0 14px;color:#61756f;font-size:13px;line-height:1.5}.restoration-popup-list{display:grid;gap:9px}.restoration-popup-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px 14px;border:1px solid #d7e5df;border-radius:10px;background:#f8fbfa}.restoration-popup-list span,.restoration-popup-list b,.restoration-popup-list small{display:block}.restoration-popup-list b{font-size:13px;color:#173e34}.restoration-popup-list small{margin-top:4px;color:#6a7d77;font-size:11px}.restoration-popup-list button{white-space:nowrap}.restoration-popup-actions{justify-content:flex-end;margin:0 20px 18px;padding-top:14px!important}

/* V45: persoonlijk rooster en expertise ook binnen Cockpit */
.cockpit-personal-overview{display:grid;gap:14px;margin-top:18px;padding-top:20px;border-top:1px solid #dbe5e3}.cockpit-personal-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.cockpit-personal-head small{color:#177258;letter-spacing:.12em;font-size:8px;font-weight:800}.cockpit-personal-head h3{margin:4px 0 2px;font-size:19px}.cockpit-personal-head p{margin:0;color:#697c76;font-size:11px}.cockpit-personal-overview>.feature-kpis{margin-bottom:0}.cockpit-personal-overview>.feature-card{margin:0}

@media(max-width:760px){.restoration-popup-list article{grid-template-columns:1fr}.restoration-popup-list button{width:100%}.cockpit-personal-head{align-items:flex-start;flex-direction:column}.cockpit-personal-head button{width:100%}}

/* V46: snelle celinvoer en handmatige operatorvolgorde */
.quick-assignment{cursor:text!important}.quick-assignment:focus-visible{outline:3px solid #1e8069!important;outline-offset:-3px!important;box-shadow:inset 0 0 0 2px #fff!important}.operator-order-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 10px;padding:9px 10px;border:1px solid #d6e3de;border-radius:9px;background:#fff}.operator-order-toolbar span{margin-right:auto}.operator-order-toolbar b,.operator-order-toolbar small{display:block}.operator-order-toolbar b{font-size:12px;color:#173f36}.operator-order-toolbar small{margin-top:2px;color:#6c7d77;font-size:10px}.operator-order-toolbar button{min-width:92px}.person-row{cursor:default}.person-row.operator-row-selected{position:relative;z-index:2;box-shadow:inset 4px 0 0 #1e8069,0 0 0 2px #1e806926}.person-row.operator-row-selected .person-label{background:#edf8f3!important}

/* V47: compact tijdregels in Bezetting per operator */
.compact-time-assignment{min-height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:7px 5px!important;text-align:left!important}
.assignment-time-lines{display:grid;width:100%;gap:3px;align-content:center}
.assignment-time-line{display:grid;grid-template-columns:minmax(42px,auto) 1fr;align-items:baseline;gap:5px;line-height:1.15;white-space:nowrap}
.assignment-time-line time{font-size:11px;font-variant-numeric:tabular-nums;color:#24483f}
.assignment-time-line b{font-size:12px;color:#0e3d32}
.assignment-roster-free{width:100%;text-align:center;font-size:11px;font-weight:600;color:#71807b}

@media(max-width:760px){.operator-order-toolbar{align-items:stretch;flex-wrap:wrap}.operator-order-toolbar span{flex-basis:100%}.operator-order-toolbar button{flex:1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.pf-department-panel,.side-foot{display:none!important}.app-shell{display:block!important}.page-content{padding:0!important}.planner-row .row-label{position:static}.modal-backdrop{backdrop-filter:none!important}}

/* V48: dienstkoppen, urencontrole en vereenvoudigde kwartierinvoer */
.planner-head .shift-time-label{font-size:9px!important;line-height:1.25!important;white-space:normal;text-align:center;font-variant-numeric:tabular-nums}
.time-summary.time-summary-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.time-accountability-warning{display:flex;align-items:center;gap:10px;margin:-3px 0 13px;padding:10px 12px;color:#8a3c30;background:#fff0ed;border:1px solid #efc0b8;border-radius:8px}
.time-accountability-warning b{font-size:10px;white-space:nowrap}
.time-accountability-warning span{font-size:9px}
.time-segment-head,.time-segment{grid-template-columns:82px 82px minmax(190px,1.25fr) minmax(180px,1fr) 30px}
.compact-time-assignment.hours-incomplete{position:relative;box-shadow:inset 0 0 0 2px #d65b47!important}
.compact-time-assignment.hours-incomplete::after{content:"!";position:absolute;top:3px;right:3px;display:grid;place-items:center;width:14px;height:14px;color:#fff;background:#c84e3b;border-radius:50%;font-size:9px;font-weight:800}
@media(max-width:760px){.time-summary.time-summary-compact{grid-template-columns:1fr 1fr}.time-accountability-warning{align-items:flex-start;flex-direction:column;gap:3px}.time-segment-head{display:none}.time-segment{grid-template-columns:1fr 1fr}.time-segment>*:nth-child(3),.time-segment>*:nth-child(4){grid-column:1/-1}}

/* V49: vaste regelopbouw voor dienstkop en tijdblokken */
.planner-head .shift-heading{display:grid;justify-items:center;gap:1px;margin-top:2px}
.planner-head .shift-heading .shift-time-label{display:block;margin:0;white-space:nowrap}
.planner-head .shift-heading .shift-name-label{display:block;margin:0;color:#0d6b56;font-size:9px!important;font-weight:750;line-height:1.2}
.assignment .assignment-time-lines{display:grid!important;width:100%;gap:4px}
.assignment .assignment-time-line{display:flex!important;align-items:baseline;gap:5px;width:100%;min-width:0;margin:0!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.assignment .assignment-time-line time{display:inline-block;flex:0 0 auto;margin:0;font-size:11px;font-variant-numeric:tabular-nums;color:#24483f}
.assignment .assignment-time-line b{display:inline-block!important;flex:0 0 auto;margin:0;font-size:12px!important;line-height:1.15;color:#0e3d32}

/* V50: medewerkerprofiel direct openen vanuit Bezetting */
.person-profile-link{display:block;max-width:100%;margin:0;padding:0;color:#173f36;background:transparent;border:0;text-align:left;font-size:11px;font-weight:750;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.person-profile-link:hover{color:#16755a;text-decoration:underline;text-underline-offset:2px}
.person-profile-link:focus-visible{outline:2px solid #1e8069;outline-offset:2px;border-radius:2px}

/* V51: operatornamen in de lijnbezetting beter leesbaar */
.line-row .line-assignment>span:not(.empty){font-size:11px!important;line-height:1.35;font-weight:650;color:#173f36}

/* V54: afsluitbare BHV-herinnering in beide bezettingsweergaven */
.bhv-reminder-trigger{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;padding:8px 11px;color:#9a3327;background:#fff0ed;border:1px solid #e8aa9f;border-radius:8px;font-size:9px;cursor:pointer}
.bhv-reminder-trigger span{display:grid;place-items:center;width:20px;height:20px;color:#fff;background:#c84e3b;border-radius:50%;font-weight:850}
.bhv-reminder-trigger b{font-size:10px}
.bhv-reminder-popup{width:min(620px,calc(100vw - 32px))}
.bhv-reminder-list{display:grid;gap:7px;max-height:min(430px,55vh);overflow:auto}
.bhv-reminder-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;background:#fff5f3;border:1px solid #edc1ba;border-radius:8px}
.bhv-reminder-list span b,.bhv-reminder-list span small{display:block}
.bhv-reminder-list span b{font-size:11px;color:#4b302c}
.bhv-reminder-list span small{margin-top:2px;color:#80635e;font-size:8px}
.bhv-reminder-list strong{color:#a13d30;font-size:9px;white-space:nowrap}
@media(max-width:560px){.bhv-reminder-list article{align-items:flex-start;flex-direction:column;gap:5px}.bhv-reminder-list strong{white-space:normal}}

/* V58: in- en uitgeleende inzet onder tijd en lijn in de operatorcel */
.assignment .assignment-time-line:has(.assignment-status){display:grid!important;grid-template-columns:minmax(42px,auto) 1fr;column-gap:5px;row-gap:2px;white-space:normal!important}
.assignment .assignment-time-line .assignment-status{grid-column:1/-1;display:block;margin:0;font-size:10px;line-height:1.15;color:#27665a;white-space:normal}
.assignment .assignment-time-line .assignment-status.outgoing{color:#b24a3b;font-weight:700}

/* V58: opmerkingen, AFAS-verlof en inleenbaarheid */
.compact-time-assignment{position:relative}
.compact-time-assignment.hours-incomplete::after{left:3px;right:auto}
.cell-indicators{position:absolute;top:3px;right:3px;display:flex!important;gap:3px;width:auto!important;z-index:2}
.cell-indicators i{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;font-size:9px;font-style:normal;font-weight:800;line-height:1;box-shadow:0 0 0 1px #fff}
.cell-indicators .note-indicator{color:#fff;background:#17695a}
.cell-indicators .afas-indicator{color:#6f4b00;background:#ffe08a}
.segment-details{display:grid;gap:5px;min-width:0}
.segment-details>input{width:100%;min-width:0}
.afas-check{display:flex!important;align-items:center;gap:7px;margin:0!important;padding:5px 7px;border:1px solid #d6e3de;border-radius:6px;background:#f7faf8;color:#294e45;font-size:10px!important}
.afas-check input{margin:0}
.qualification-groups .loanable-expertise-card{display:flex;flex-direction:column;gap:8px}
.loanable-expertise-card p{margin:0;color:#667a74;font-size:10px;line-height:1.4}
.loanable-toggle{display:flex!important;align-items:center;gap:8px;margin-top:auto;padding:9px 10px;border:1px solid #bfd7ce;border-radius:7px;background:#edf7f3;color:#174d41;font-size:11px!important;font-weight:700}
.loanable-toggle input{margin:0;flex:0 0 auto}

/* V59: centrale kalenderitems onder de jaarkalender */
.printable-calendar{display:flex;flex-direction:column}
.printable-calendar .calendar-intro{order:1}
.printable-calendar .calendar-key{order:2}
.printable-calendar .year-grid{order:3}
.printable-calendar .shared-calendar{order:4;margin-top:18px}

/* V60: compacte vinkjes en heldere formulierregels */
.loanable-expertise-card .loanable-toggle{display:inline-flex!important;align-items:center;align-self:flex-start;gap:6px;width:auto!important;min-height:0!important;margin:2px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#173f36;font-size:11px!important;font-weight:400!important;line-height:1.3}
.loanable-toggle input[type="checkbox"],.afas-check input[type="checkbox"]{-webkit-appearance:checkbox!important;appearance:auto!important;width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important;max-width:14px!important;max-height:14px!important;flex:0 0 14px!important;margin:0!important;padding:0!important;border-radius:2px!important}
.time-segment{align-items:center!important}
.time-segment .segment-details{display:contents!important}
.time-segment .segment-details>input{grid-column:4;grid-row:1;width:100%;min-width:0}
.time-segment .afas-check{grid-column:4;grid-row:2;justify-self:start;display:inline-flex!important;align-items:center;gap:6px;width:auto!important;min-height:0!important;margin:0!important;padding:2px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#294e45;font-size:10px!important;line-height:1.3}
.time-segment>button:last-child{grid-column:5;grid-row:1}

/* Uren & DLE: per lijn is uitsluitend een automatisch overzicht */
.dle-line-view .dle-line-row{cursor:default!important;pointer-events:none!important}
.dle-line-view .dle-line-row .row-action{display:none!important}
.pf-tier-dle-table{overflow:auto;border:1px solid #d6e3de;border-radius:9px;background:#fff}
.pf-tier-dle-head,.pf-tier-dle-row{display:grid;grid-template-columns:minmax(115px,.85fr) minmax(95px,.8fr) minmax(80px,.7fr) minmax(130px,1fr) minmax(110px,.9fr) minmax(180px,1.5fr) minmax(65px,.55fr) minmax(180px,1.4fr);min-width:1040px;align-items:center}
.pf-tier-dle-head{position:sticky;top:0;z-index:1;background:#eaf3ef;color:#31564d;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.pf-tier-dle-head span,.pf-tier-dle-row>*{padding:10px 11px;border-right:1px solid #dfe9e5}
.pf-tier-dle-head span:last-child,.pf-tier-dle-row>*:last-child{border-right:0}
.pf-tier-dle-row{border-top:1px solid #dfe9e5;color:#173f36;font-size:12px}
.pf-tier-dle-row:nth-child(odd){background:#f8faf9}

@media(max-width:760px){.time-segment .segment-details{display:contents!important}.time-segment .segment-details>input{grid-column:1/-1;grid-row:auto}.time-segment .afas-check{grid-column:1/-1;grid-row:auto}.time-segment>button:last-child{grid-column:auto;grid-row:auto}}

/* V61: drie afzonderlijke Uren & DLE-weergaven met één batchbron */
.dle-line-head,.dle-line-row{grid-template-columns:90px 45px 90px 65px 60px 65px 110px minmax(130px,1fr)!important}
.dle-line-head>span:last-child{display:none!important}
.dle-line-row .row-action{display:none!important}
.dle-batch-view .batch-list{gap:12px;padding:0!important}
.dle-batch-view .batch-card{border:1px solid #d6e3de!important;border-radius:9px!important;background:#fff;box-shadow:none!important;overflow:auto}
.dle-batch-view .batch-card>header{background:#fff!important;border-bottom:1px solid #d6e3de;padding:12px 14px!important}
.dle-batch-view .batch-detail-head,.dle-batch-view .batch-detail-row{grid-template-columns:90px 75px 120px 110px minmax(160px,1.2fr) 65px minmax(130px,1fr)!important;min-width:850px!important;gap:9px!important;padding:9px 12px!important}
.dle-batch-view .batch-detail-head{color:#60716d!important;background:#edf4f2!important;font-size:7px!important;font-weight:800!important}
.dle-batch-view .batch-detail-row{color:#29413c;background:#fff;border-top:1px solid #e4ebe9;font-size:8px!important}
.dle-batch-view .batch-detail-row:nth-child(odd){background:#f8faf9}
.dle-batch-view .batch-detail-head>*:nth-child(1),.dle-batch-view .batch-detail-row>*:nth-child(1){order:1}
.dle-batch-view .batch-detail-head>*:nth-child(2),.dle-batch-view .batch-detail-row>*:nth-child(2){order:2}
.dle-batch-view .batch-detail-head>*:nth-child(3),.dle-batch-view .batch-detail-row>*:nth-child(3){order:3}
.dle-batch-view .batch-detail-head>*:nth-child(4),.dle-batch-view .batch-detail-row>*:nth-child(4){order:4}
.dle-batch-view .batch-detail-head>*:nth-child(5),.dle-batch-view .batch-detail-row>*:nth-child(5){order:5}
.dle-batch-view .batch-detail-head>*:nth-child(6),.dle-batch-view .batch-detail-row>*:nth-child(6){order:6}
.dle-batch-view .batch-detail-head>*:nth-child(7),.dle-batch-view .batch-detail-row>*:nth-child(7){order:7}
.dle-period-card .dle-period-title>span,.dle-batch-view .dle-period-title>span{display:none!important}

/* Eén compacte periodebediening op alle operationele pagina's */
.pf-standard-period-nav{display:grid!important;grid-template-columns:32px auto 32px!important;align-items:center!important;width:max-content!important;min-width:132px!important;gap:4px!important;padding:3px!important;border:1px solid #d5e1dd!important;border-radius:8px!important;background:#fff!important}
.pf-standard-period-nav>button{width:32px!important;height:30px!important;min-width:32px!important;padding:0!important;border:1px solid #d7e3df!important;border-radius:6px!important;background:#f7faf9!important}
.pf-standard-period-nav>div{min-width:60px!important;text-align:center!important}.pf-standard-period-nav>div small,.pf-standard-period-nav>b{font-size:8px!important;font-weight:800!important;letter-spacing:.05em!important;color:#60716d!important;white-space:nowrap!important}.pf-standard-period-nav>div b[hidden]{display:none!important}

/* Opleidingen: de tijdelijke AFAS-informatiebalk is vervallen */
.afas-note{display:none!important}

/* De algemene zoekbalk is vervallen; zoeken op batchnummer staat uitsluitend bij Per batch */
.global-search{display:none!important}
.pf-training-confirm-card{width:min(520px,calc(100vw - 32px))!important}.pf-training-confirm-card .modal-actions{padding:16px 20px!important}

/* Opleidingsmatrix: compact, leesbaar en één operationele status Opgeleid */
.training-summary{grid-template-columns:repeat(9,minmax(0,1fr))!important}
.training-kpi{display:flex!important;align-items:baseline;align-content:flex-start;flex-wrap:wrap;gap:3px 5px!important}.training-kpi small{flex:0 0 100%;color:#35574f!important}.training-kpi small,.training-kpi b,.training-kpi span{display:inline!important;font-size:10px!important;font-weight:800!important;line-height:1.2!important}.training-kpi span{color:#176858!important}.training-legend{display:none!important}
.training-matrix{grid-template-columns:210px repeat(var(--training-columns),minmax(86px,1fr))!important;min-width:1680px!important}.training-name.training-head{left:0!important}.training-name:not(.training-head){display:flex!important;flex-direction:column!important;justify-content:center!important;gap:2px!important}.training-name:not(.training-head)>b{font-size:9px!important}.training-name:not(.training-head)>span{color:#73847f;font-size:7px!important;font-weight:500!important}.training-col-head b{font-size:10px!important;line-height:1.2!important}.training-cell{position:relative!important;font-size:8px!important}.training-cell.status-opgeleid{color:#216d5d!important;background:#e6f5ef!important}.training-cell sup{position:absolute!important;top:3px!important;right:5px!important;display:grid!important;place-items:center;width:14px;height:14px;border-radius:50%;background:#d95443;color:#fff;font-size:8px!important;line-height:1}
.training-person>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important}.training-person>div b,.training-person>div small{display:block!important}
.training-workflow article[hidden]{display:none!important}
.sidebar .nav-item>span svg{width:15px;height:15px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.employee-name>i{display:none!important}.employee-head>span[data-pf-sortable],.training-matrix>[data-pf-sortable]{cursor:pointer!important;user-select:none!important}.employee-head>span[data-pf-sortable]::after,.training-matrix>[data-pf-sortable]::after{content:'↕';margin-left:5px;color:#bdd3cd;font-size:9px}.employee-head>span[data-sort-direction='asc']::after,.training-matrix>[data-sort-direction='asc']::after{content:'▲';color:currentColor}.employee-head>span[data-sort-direction='desc']::after,.training-matrix>[data-sort-direction='desc']::after{content:'▼';color:currentColor}.employee-head>span[data-pf-sortable]:focus-visible,.training-matrix>[data-pf-sortable]:focus-visible{outline:2px solid #37a982!important;outline-offset:-2px!important}
@media(max-width:1100px){.training-summary{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:700px){.training-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Tier uitsluitend via de geïntegreerde navigatie */
#pharmaflow-tier-root .pf-tier-launch{display:none!important}

/* V61: één horizontale bediening voor initieel en actueel dienstenplan */
.pf-plan-shared-scroll{height:16px;margin:0 0 10px;overflow-x:auto;overflow-y:hidden;border:1px solid #d6e3de;border-radius:8px;background:#edf4f2}
.pf-plan-shared-scroll>div{height:1px}
.period-plan .period-grid-wrap{scrollbar-width:none}
.period-plan .period-grid-wrap::-webkit-scrollbar{display:none}

/* V61: praktisch verlofoverzicht in Rapportage */
.management-page.pf-leave-report-active>:not(.management-intro):not(.team-tabs):not(.pf-leave-report){display:none!important}
.pf-leave-report{margin-top:14px;border:1px solid #d6e3de;border-radius:12px;background:#fff;overflow:hidden}
.pf-leave-report>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #d6e3de;background:#f4f8f7}
.pf-leave-report h3,.pf-leave-report p{margin:3px 0 0}.pf-leave-report small{color:#067463;font-weight:800;letter-spacing:.08em}.pf-leave-report>header>span{padding:7px 10px;border-radius:999px;background:#dff3ed;color:#075e50;font-weight:800}
.pf-leave-table{min-width:760px}.pf-leave-row{display:grid;grid-template-columns:120px minmax(170px,1fr) 120px minmax(180px,1.4fr) 120px;gap:12px;align-items:center;padding:11px 20px;border-top:1px solid #e6ecea}.pf-leave-row.head{border-top:0;background:#eaf3f1;color:#60716d;font-size:11px;font-weight:800}.pf-leave-row em{font-style:normal;color:#b64031;font-weight:800}.pf-leave-empty,.pf-leave-loading,.pf-leave-error{padding:28px 20px;color:#60716d}.pf-leave-error{color:#b64031}

/* V62: gedeelde filters, batchopmerkingen en totalen voor Uren & DLE */
.dle-period-card .dle-cell i{display:none!important}
.pf-dle-filter{display:flex!important;flex-direction:column;gap:4px;min-width:150px;color:#526963;font-size:10px;font-weight:700}
.pf-dle-filter select,.pf-dle-filter input{height:36px;min-width:150px;border:1px solid #c8d9d4;border-radius:8px;background:#fff;padding:0 10px;color:#173d36;font:inherit;font-size:12px}
.dle-toolbar .toolbar-right{flex-wrap:wrap}.pf-dle-global-period{order:-2}.dle-line-select{flex-wrap:wrap}.pf-dle-line-period{margin-left:auto}
.pf-dle-batch-filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-left:auto}.pf-dle-search{min-width:220px}.pf-dle-search input{min-width:220px}
.dle-grid .pf-dle-column-total{background:#dcece7!important;border-top:2px solid #176858!important;color:#0e4f44!important;font-weight:800}
.dle-grid .dle-line.pf-dle-column-total{position:sticky;left:0;z-index:3}.batch-detail-row[hidden],.batch-card[hidden]{display:none!important}
.pf-production-inputs-with-batch{grid-template-columns:minmax(180px,.8fr) minmax(260px,1.5fr) repeat(2,minmax(150px,.7fr)) minmax(120px,.55fr)!important}.pf-production-inputs-with-batch .pf-batch-note{min-width:0}
@media(max-width:900px){.pf-dle-batch-filters{width:100%;margin-left:0}.pf-production-inputs-with-batch{grid-template-columns:1fr!important}}

/* Dagindeling en Bezetting: namen zonder initialenbolletje */
.line-board-people>div>span:first-child,.planner-row.person-row>.person-label>span:first-child{display:none!important}
.line-board-people>div{grid-template-columns:minmax(0,1fr) auto!important}
.planner-row.person-row>.person-label{grid-template-columns:minmax(0,1fr)!important}

/* V62: compacte voorkeurslijn direct onder expertise */
.person-modal .preference-section .profile-form-grid{grid-template-columns:minmax(280px,420px)!important}
