.staff-main{background:radial-gradient(circle at 91% 7%,rgba(91,120,144,.06),transparent 29%)}.back-dashboard{display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.42);color:#694f3d;font-size:11px;font-weight:650;white-space:nowrap}.sync-button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid #bcc5a6;border-radius:8px;background:#f2f5eb;color:#5c6a40;font-size:11px;font-weight:700;cursor:pointer}.sync-button svg{width:15px;height:15px}.staff-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 11px;padding:5px;border:1px solid var(--line);border-radius:11px;background:rgba(245,237,226,.72)}.staff-tabs{display:flex;gap:3px}.staff-tab{min-height:36px;padding:0 13px;border:0;border-radius:8px;background:transparent;color:#5e564d;font-size:11px;font-weight:700;cursor:pointer}.staff-tab b{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:5px;border-radius:10px;background:#f0d9cc;color:#a95c3f;font-size:8px}.staff-tab.active{background:linear-gradient(135deg,#74794a,#61663b);color:#fff}.staff-tab.active b{background:rgba(255,255,255,.16);color:#fff}.toolbar-actions{display:flex;align-items:center;gap:7px}.toolbar-actions label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:9px}.toolbar-actions select{height:32px;padding:0 26px 0 9px;border:1px solid var(--line);border-radius:7px;background:#fffaf5;color:#5e574f;font-size:10.5px}.toolbar-actions button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid #d8c5b1;border-radius:7px;background:#fffaf5;color:#76513d;font-size:10px;font-weight:700;cursor:pointer}.toolbar-actions svg{width:14px;height:14px}.staff-view[hidden],.employee-add[hidden]{display:none}.employee-add{display:grid;grid-template-columns:1fr 2fr 180px auto;align-items:end;gap:12px;margin-bottom:11px;padding:12px 14px;border:1px solid #d8c2ac;border-radius:11px;background:#fff9f2}.employee-add h2{margin:0;font-size:14px;text-transform:uppercase}.employee-add p{margin:2px 0 0;color:var(--muted);font-size:9px}.employee-add label{display:grid;gap:4px}.employee-add label span{font-size:8px}.employee-add input,.employee-add select{height:34px;padding:0 9px;border:1px solid var(--line);border-radius:7px;background:#fff}.employee-add>div:last-child{display:flex;gap:6px}.employee-add button{height:34px;border:1px solid #d8c5b1;border-radius:7px;background:#fffaf5;font-size:9px;font-weight:700}.employee-add #saveEmployee{background:#697044;color:#fff}
.staff-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:12px}.staff-kpi-grid .kpi-card{height:124px;padding:16px 14px 13px}.staff-kpi-grid .kpi-card>strong{margin-top:10px;font-size:21px}.staff-kpi-grid .kpi-meta{margin-top:12px}.staff-dashboard-grid .span-12{grid-column:span 12}.staff-dashboard-grid .span-8{grid-column:span 8}.staff-dashboard-grid .span-7{grid-column:span 7}.staff-dashboard-grid .panel{overflow:hidden}.staff-dashboard-grid .panel-heading{align-items:flex-start}.staff-dashboard-grid .panel-heading p{margin:3px 0 0;color:var(--muted);font-size:10.5px}.panel-period{padding:4px 8px;border-radius:6px;background:#f8eee1;color:#766a5f;font-size:9px}.staffing-panel,.staff-insight{min-height:330px}.staff-legend{display:flex;align-items:center;gap:6px;color:#6e655d;font-size:8.5px}.staff-legend span{width:15px;height:7px;border-radius:2px;background:#d49a4c}.staff-legend i{width:15px;border-top:2px solid #4d5e68;margin-left:5px}.staff-chart{display:grid;grid-template-columns:36px 1fr;height:255px;margin-top:12px}.staff-y{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:24px;font-size:9px}.staff-plot{position:relative}.staff-grid{position:absolute;inset:0 0 24px;display:flex;flex-direction:column;justify-content:space-between}.staff-grid i{border-top:1px solid #eae2d9}.staff-bars{position:absolute;inset:0 0 24px;display:flex;align-items:flex-end;justify-content:space-around;padding:0 14px}.staff-bars>span{position:relative;width:32px;height:100%;display:flex;align-items:flex-end}.staff-bars i{width:24px;height:var(--h);border-radius:3px 3px 0 0;background:linear-gradient(90deg,#c98d41,#dda85d)}.staff-bars small{position:absolute;bottom:-20px;left:-5px;width:36px;text-align:center;font-size:9px}.staff-plot svg{position:absolute;z-index:2;inset:0 0 24px;width:100%;height:calc(100% - 24px);pointer-events:none}.staff-plot polyline{fill:none;stroke:#4d5e68;stroke-width:2}.staff-plot circle{fill:#4d5e68;stroke:none}.staff-insight p strong{color:#ffd2aa}.insight-staff{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:auto 0 15px;border:1px solid rgba(255,255,255,.17);border-radius:8px;overflow:hidden}.insight-staff span{display:grid;padding:10px 12px;background:rgba(255,255,255,.04)}.insight-staff small{font-size:8.5px}.insight-staff b{color:#efbd91;font-size:16px}
.team-today-panel,.shifts-panel{min-height:365px}.text-action{border:0;background:transparent;color:#9b6041;font-size:9px;font-weight:700;cursor:pointer}.team-today-list{display:grid}.team-today-list>div{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;min-height:60px;border-top:1px solid #eee4d9}.staff-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#fff;font-size:9px;font-weight:800}.avatar-copper{background:#c47755}.avatar-olive{background:#788550}.avatar-gold{background:#c89c56}.avatar-blue{background:#617d8c}.avatar-rose{background:#a36d74}.avatar-purple{background:#74677f}.team-today-list strong,.team-today-list small{display:block}.team-today-list strong{font-size:11px}.team-today-list small{color:var(--muted);font-size:8.5px}.team-today-list>div>b{font-size:8px}.working-status{color:#617744}.later-status{color:#756958}.open-status{padding:4px 6px;border-radius:9px;background:#f7ded8;color:#a54138}.shift-rows{display:grid;gap:18px;margin-top:23px}.shift-rows>div{display:grid;grid-template-columns:110px 1fr 45px;align-items:center;gap:8px}.shift-rows strong,.shift-rows small{display:block}.shift-rows strong{font-size:10px}.shift-rows small{color:var(--muted);font-size:8px}.shift-rows i{position:relative;height:10px;border-radius:5px;background:#eee5da}.shift-rows i b{position:absolute;left:var(--x);width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,#75854f,#a5b07e)}.shift-rows em{font-size:8px;font-style:normal;text-align:right}.shift-axis{display:flex;justify-content:space-between;margin:17px 45px 0 118px;color:var(--muted);font-size:7.5px}
.hours-panel,.staff-alerts-panel{min-height:320px}.hours-list{display:grid;gap:15px;margin-top:15px}.hours-list>div{display:grid;grid-template-columns:55px 1fr 45px 44px;align-items:center;gap:8px;font-size:9px}.hours-list i{height:9px;border-radius:5px;background:#eee5da}.hours-list i b{display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,#72834c,#9bab73)}.hours-list strong{text-align:right}.hours-list em{color:#617744;font-size:8px;font-style:normal;text-align:right}.cost-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:23px;border:1px solid #e5d8ca;border-radius:8px;overflow:hidden;background:#e5d8ca}.cost-summary span{display:grid;padding:12px;background:#fffaf5;text-align:center}.cost-summary small{color:var(--muted);font-size:8px}.cost-summary strong{margin-top:3px;font-size:13px}.attention-badge{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#cf4d4d;color:#fff;font-size:9px}.staff-alert-list{display:grid}.staff-alert-list>div{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;min-height:67px;border-bottom:1px solid #eee4d9}.staff-alert-list strong,.staff-alert-list small{display:block}.staff-alert-list strong{font-size:10.5px}.staff-alert-list small{color:var(--muted);font-size:8px}.staff-alert-list>div>b{font-size:8px;color:#9c5b3e}.staff-alert-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;font-size:9px;font-weight:800}.sick-icon{color:#a54138;background:#f7ded8}.contract-icon{color:#906428;background:#f5e8cc}.clock-icon{color:#536c7e;background:#e2e9ee}
.employee-kpi-grid,.planning-kpi-grid,.leave-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.employee-kpi-grid article,.planning-kpi-grid article,.leave-kpi-grid article{display:grid;min-height:95px;padding:13px 15px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.4)}.employee-kpi-grid span,.planning-kpi-grid span,.leave-kpi-grid span{color:#5e554d;font-size:9px;text-transform:uppercase}.employee-kpi-grid strong,.planning-kpi-grid strong,.leave-kpi-grid strong{font-size:20px;color:#563b29}.employee-kpi-grid small,.planning-kpi-grid small,.leave-kpi-grid small{color:var(--muted);font-size:9px}.detail-grid{margin-top:12px}.employees-panel{min-height:530px}.employee-search{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:8px}.employee-search input{height:30px;width:185px;padding:0 8px;border:1px solid var(--line);border-radius:7px;background:#fff}.employees-table td{height:57px}.employees-table td:first-child{display:flex;align-items:center;gap:9px;text-align:left}.employees-table td:first-child strong{font-size:11px}.employee-status{display:inline-flex;min-width:48px;justify-content:center;padding:4px 6px;border-radius:10px;font-size:8px;font-weight:700}.active-employee{color:#617744;background:#e5ecd9}.sick-employee{color:#a54138;background:#f7ded8}.contract-employee{color:#906428;background:#f5e8cc}.table-note{color:var(--muted);font-size:8px}.week-planning-panel,.clock-panel{min-height:400px}.planning-table{font-size:9.5px}.planning-table td{height:56px;text-align:center!important}.planning-table td:first-child{text-align:left!important}.planning-table td:first-child strong,.planning-table td:first-child small{display:block}.planning-table td:first-child small{color:var(--muted);font-size:8px}.planning-table td span{display:inline-flex;padding:4px 6px;border-radius:7px;background:#e5ecd9;color:#617744;font-size:8px}.planning-table td b{display:inline-flex;padding:4px 6px;border-radius:7px;background:#f7ded8;color:#a54138;font-size:8px}.clock-list{display:grid}.clock-list>div{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:8px;min-height:72px;border-bottom:1px solid #eee4d9}.clock-list strong,.clock-list small{display:block}.clock-list strong{font-size:10px}.clock-list small{color:var(--muted);font-size:8px}.approve-time{padding:5px 7px;border:1px solid #c5cfb0;border-radius:6px;background:#f1f5e9;color:#617543;font-size:8px;font-weight:700;cursor:pointer}.clock-list>div.approved{opacity:.45}.planning-flow-panel{min-height:185px}.live-label{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:12px;background:#e7eddc;color:#607642;font-size:9px;font-weight:700}.live-label i{width:6px;height:6px;border-radius:50%;background:#6b8348}.planning-flow{display:grid;grid-template-columns:1fr 28px 1fr 28px 1fr 28px 1fr;align-items:center;gap:6px;margin:25px auto 0;max-width:950px}.planning-flow>span{display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:8px}.planning-flow>span>b{grid-row:1/3;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#ede2d6;color:#9a6548}.planning-flow strong{font-size:10.5px}.planning-flow small{color:var(--muted);font-size:8.5px}.planning-flow>i{text-align:center;color:#bd9c80;font-style:normal}
.leave-panel,.contracts-panel{min-height:390px}.leave-list{display:grid}.leave-list>div{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:9px;min-height:73px;border-bottom:1px solid #eee4d9}.leave-list strong,.leave-list small{display:block}.leave-list strong{font-size:10.5px}.leave-list small{color:var(--muted);font-size:8px}.leave-list>div>b{font-size:8px}.leave-date{display:grid;place-items:center;width:38px;height:44px;border:1px solid #decab5;border-radius:7px;background:#fffaf4;color:#9f6445}.leave-date b{font-size:13px;line-height:1}.leave-date small{font-size:7px}.sick-date{border-color:#e6bab1;background:#f9e6e1;color:#a54138}.approved-leave{color:#617744}.pending-leave{color:#906428}.sick-leave{color:#a54138}.contract-list{display:grid}.contract-list>div{display:grid;grid-template-columns:37px 1fr auto;align-items:center;gap:9px;min-height:72px;border-bottom:1px solid #eee4d9}.contract-list strong,.contract-list small{display:block}.contract-list strong{font-size:10.5px}.contract-list small{color:var(--muted);font-size:8px}.contract-list>div>b{font-size:8px}.contract-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:#f5e8cc;color:#906428}.contract-icon svg{width:17px;height:17px}.done-doc{background:#e5ecd9;color:#617744}.secondary-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:38px;margin-top:13px;border:1px solid #d8c5b1;border-radius:7px;background:#fffaf5;color:#76513d;font-size:10px;font-weight:700}.secondary-button svg{width:16px;height:16px}.leave-calendar-panel{min-height:240px}.availability-weeks{display:grid;gap:15px;max-width:960px;margin:22px auto 0}.availability-weeks>div{display:grid;grid-template-columns:60px 1fr 42px 80px;align-items:center;gap:10px;font-size:9px}.availability-weeks i{height:9px;border-radius:5px;background:#eee5da}.availability-weeks i b{display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,#72834c,#9bab73)}.availability-weeks small{color:var(--muted);text-align:right}
@media(max-width:1270px){.staff-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.staff-kpi-grid .kpi-card:nth-child(4),.staff-kpi-grid .kpi-card:nth-child(5){grid-column:span 1}.staff-tab{padding-inline:9px;font-size:10px}}
@media(max-width:820px){.back-dashboard,.sync-button span{display:none}.sync-button{width:32px;justify-content:center;padding:0}.staff-toolbar{align-items:stretch;flex-direction:column}.staff-tabs{width:100%}.staff-tab{flex:1;padding-inline:5px}.toolbar-actions{justify-content:flex-end}.employee-add{grid-template-columns:1fr 1fr}.staff-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-dashboard-grid .staffing-panel,.staff-dashboard-grid .staff-insight,.staff-dashboard-grid .team-today-panel,.staff-dashboard-grid .shifts-panel,.staff-dashboard-grid .hours-panel,.staff-dashboard-grid .staff-alerts-panel,.staff-dashboard-grid .employees-panel,.staff-dashboard-grid .week-planning-panel,.staff-dashboard-grid .clock-panel,.staff-dashboard-grid .planning-flow-panel,.staff-dashboard-grid .leave-panel,.staff-dashboard-grid .contracts-panel,.staff-dashboard-grid .leave-calendar-panel{grid-column:span 12}.staff-insight{min-height:300px}.employee-kpi-grid,.planning-kpi-grid,.leave-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){.staff-tab{font-size:8.5px}.staff-tab b{display:none}.toolbar-actions{justify-content:space-between}.toolbar-actions label{flex:1}.toolbar-actions select{width:100%}.toolbar-actions button{font-size:0}.toolbar-actions button svg{width:17px;height:17px}.employee-add{grid-template-columns:1fr}.staff-kpi-grid,.employee-kpi-grid,.planning-kpi-grid,.leave-kpi-grid{grid-template-columns:1fr}.staff-kpi-grid .kpi-card{height:108px;padding:13px 15px}.staff-kpi-grid .kpi-card>strong{margin-top:6px}.staff-kpi-grid .kpi-meta{margin-top:7px}.staffing-panel{min-height:320px}.staff-chart{grid-template-columns:30px}.staff-bars{padding-inline:2px}.staff-bars>span{width:27px}.staff-bars i{width:19px}.team-today-list>div{grid-template-columns:37px 1fr auto}.shift-rows>div{grid-template-columns:86px 1fr 40px}.shift-axis{margin-left:94px}.cost-summary{grid-template-columns:1fr}.employees-panel .table-wrap,.week-planning-panel .table-wrap{overflow-x:auto}.employees-table{min-width:760px}.planning-table{min-width:680px}.employee-search span{display:none}.employee-search input{width:145px}.planning-flow{grid-template-columns:1fr;gap:7px}.planning-flow>span{max-width:270px;margin:auto;width:100%}.planning-flow>i{transform:rotate(90deg)}.planning-flow-panel{min-height:360px}.availability-weeks>div{grid-template-columns:50px 1fr 38px}.availability-weeks small{display:none}}

/* Live personeels- en rechtenbeheer */
.staff-live{padding-bottom:40px}.staff-live-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:18px 0 16px;padding:24px 26px;border:1px solid #d9ccb9;border-radius:20px;background:radial-gradient(circle at 90% 0,rgba(233,194,118,.22),transparent 36%),linear-gradient(135deg,#fffdf8,#f4eadc);box-shadow:0 13px 30px rgba(77,57,38,.07)}.staff-live-heading p{margin:0 0 5px;color:#a05d3f;font-size:9px;font-weight:900;letter-spacing:1.4px}.staff-live-heading h2{margin:0;color:#2f2924;font:700 30px/1.05 Georgia,serif}.staff-live-heading span{display:block;max-width:760px;margin-top:9px;color:#756c64;font-size:11px;line-height:1.55}.staff-primary{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 17px!important;border:0!important;border-radius:12px!important;color:#fff!important;background:linear-gradient(135deg,#74794a,#575d34)!important;font-size:10px!important;font-weight:850!important;box-shadow:0 9px 22px rgba(91,98,55,.18);cursor:pointer}.staff-primary svg{width:17px;height:17px}.staff-live-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:13px}.staff-live-kpis article{display:grid;min-height:105px;padding:15px 17px;border:1px solid #dfd3c4;border-radius:15px;background:rgba(255,255,255,.64)}.staff-live-kpis small{color:#897c70;font-size:8px;font-weight:850;letter-spacing:.7px;text-transform:uppercase}.staff-live-kpis strong{margin-top:6px;color:#533b2d;font-size:26px;line-height:1}.staff-live-kpis span{align-self:end;color:#8b8178;font-size:9px}.staff-live-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 210px 180px;gap:10px;margin-bottom:13px;padding:12px;border:1px solid #ddd0c1;border-radius:15px;background:rgba(255,255,255,.58)}.staff-live-toolbar label{display:grid;gap:5px}.staff-live-toolbar label span{color:#7c7167;font-size:8px;font-weight:800;text-transform:uppercase}.staff-live-toolbar input,.staff-live-toolbar select{width:100%;height:40px;padding:0 11px;border:1px solid #dbcebe;border-radius:10px;color:#342e29;background:#fff;font-size:12px}.staff-system-status{display:flex;align-items:center;justify-content:center;gap:9px;min-height:150px;padding:22px;border:1px solid #ded1c1;border-radius:17px;color:#746a61;background:rgba(255,255,255,.55);font-size:11px}.staff-system-status.is-error{flex-direction:column;color:#8f3f37;background:#fff7f5}.staff-system-status button{min-height:38px;padding:0 14px;border:0;border-radius:10px;color:#fff;background:#6b7044;font-weight:800;cursor:pointer}.staff-system-status strong,.staff-system-status span{display:block}.staff-spinner{width:17px;height:17px;border:2px solid #d7c9b6;border-top-color:#697044;border-radius:50%;animation:staff-spin .75s linear infinite}@keyframes staff-spin{to{transform:rotate(360deg)}}.staff-live-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);align-items:start;gap:13px}.staff-directory,.staff-detail{border:1px solid #ddd0c1;border-radius:18px;background:rgba(255,255,255,.67);box-shadow:0 10px 26px rgba(73,53,34,.05)}.staff-directory{min-height:520px;padding:17px}.staff-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.staff-section-title h3{margin:0;font-size:17px}.staff-section-title p{margin:3px 0 0;color:#8a8077;font-size:9px}.staff-section-title button,.staff-detail-section button,.staff-detail-header>button{display:inline-flex;align-items:center;gap:6px;min-height:33px;padding:0 10px;border:1px solid #d9cab7;border-radius:9px;color:#73543f;background:#fffaf4;font-size:9px;font-weight:800;cursor:pointer}.staff-section-title button svg{width:14px;height:14px}.staff-cards{display:grid;gap:8px}.staff-person{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:83px;padding:11px 12px;border:1px solid #e6dacc;border-radius:14px;color:#302b27;background:#fffdf9;text-align:left;cursor:pointer;transition:.18s ease}.staff-person:hover,.staff-person.is-selected{border-color:#a8aa78;background:#f7f6e9;box-shadow:0 7px 18px rgba(89,94,53,.08)}.staff-person-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#fff;background:linear-gradient(145deg,#bd7958,#8f543c);font-size:12px;font-weight:900}.staff-person-avatar.large{width:54px;height:54px;border-radius:17px;font-size:15px}.staff-person-copy,.staff-person-copy strong,.staff-person-copy small,.staff-person-copy em{display:block;min-width:0}.staff-person-copy strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.staff-person-copy small{margin-top:4px;color:#756c63;font-size:9px}.staff-person-copy em{margin-top:4px;color:#9b9085;font-size:8px;font-style:normal}.staff-person-meta{display:grid;justify-items:end;gap:7px}.staff-person-meta small{color:#8d8176;font-size:8px}.profile-status{padding:4px 7px;border-radius:10px;font-size:8px}.profile-status.active{color:#56703a;background:#e6edd9}.profile-status.invited{color:#936423;background:#f5e8c9}.profile-status.disabled{color:#777;background:#ebe8e3}.profile-status.draft{color:#685c52;background:#eee7df}.staff-empty,.staff-detail-empty{display:grid;place-items:center;align-content:center;min-height:300px;color:#867b72;text-align:center}.staff-empty strong,.staff-detail-empty strong{color:#4b4139;font-size:14px}.staff-empty span,.staff-detail-empty p{margin-top:7px;font-size:9px}.staff-detail{position:sticky;top:88px;overflow:hidden;min-height:520px;padding:17px}.staff-detail-empty>span{display:grid;place-items:center;width:56px;height:56px;margin-bottom:13px;border-radius:18px;color:#687044;background:#e8ecd9}.staff-detail-empty svg{width:27px;height:27px}.staff-detail-header{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #e8ddd1}.staff-detail-header small{color:#9c6547;font-size:7px;font-weight:900;letter-spacing:1px}.staff-detail-header h3{margin:3px 0 2px;font:700 20px/1.1 Georgia,serif}.staff-detail-header p{margin:0;color:#80766c;font-size:9px}.staff-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.staff-profile-facts>div{padding:9px 10px;border:1px solid #e8ddd1;border-radius:10px;background:#fffdf9}.staff-profile-facts dt{color:#978b80;font-size:7px;font-weight:800;text-transform:uppercase}.staff-profile-facts dd{margin:4px 0 0;color:#443b34;font-size:9px;font-weight:750}.staff-detail-section{margin-top:12px;padding:13px;border:1px solid #e4d8ca;border-radius:13px;background:#fffdf9}.staff-detail-section>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.staff-detail-section h4{margin:0;font-size:11px}.staff-detail-section>div:first-child>span{color:#6e7847;font-size:8px;font-weight:800}.staff-detail-section>p{margin:7px 0 0;color:#81766c;font-size:8.5px;line-height:1.45}.onboarding-list{display:grid;gap:7px;margin-top:10px}.onboarding-list label{display:grid;grid-template-columns:18px 1fr;align-items:center;gap:7px;font-size:9px}.onboarding-list input{width:17px;height:17px;accent-color:#697044}.profile-shifts{display:grid;gap:6px;margin-top:9px}.profile-shifts article{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:8px 9px;border-radius:9px;background:#f7f1e8;font-size:8px}.profile-shifts article small{grid-column:1/-1;color:#81766c}.profile-shifts>p{margin:0;color:#83786e;font-size:8.5px;line-height:1.45}.staff-danger{width:100%;min-height:40px;margin-top:13px;border:1px solid #ddb5ad;border-radius:11px;color:#9a3e35;background:#fff6f4;font-size:9px;font-weight:800;cursor:pointer}.staff-disabled-note{margin-top:13px;padding:11px;border-radius:10px;color:#6e665f;background:#eeeae5;font-size:9px}.staff-dialog{width:min(92vw,820px);max-height:90vh;padding:0;border:0;border-radius:22px;background:#fffdf9;box-shadow:0 28px 90px rgba(31,27,23,.34)}.staff-dialog::backdrop{background:rgba(34,32,27,.63);backdrop-filter:blur(5px)}.staff-dialog form{max-height:90vh;overflow:auto}.staff-dialog header{position:sticky;z-index:2;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:21px 23px 17px;border-bottom:1px solid #eadfd2;background:#fffdf9}.staff-dialog header p{margin:0 0 4px;color:#9f6041;font-size:8px;font-weight:900;letter-spacing:1.2px}.staff-dialog header h2{margin:0;font:700 25px/1.1 Georgia,serif}.staff-dialog header span{display:block;margin-top:5px;color:#8b8178;font-size:8px}.dialog-close{display:grid;place-items:center;width:37px;height:37px;border:0;border-radius:50%;color:#514941;background:#f1ece5;font-size:23px;cursor:pointer}.staff-dialog fieldset{margin:0;padding:17px 23px;border:0;border-bottom:1px solid #eee3d7}.staff-dialog legend{padding:0;color:#76542e;font:700 16px/1.2 Georgia,serif}.staff-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.staff-dialog label{display:grid;gap:6px;color:#4e463f;font-size:9px;font-weight:800}.staff-dialog input,.staff-dialog select{width:100%;height:45px;padding:0 11px;border:1px solid #dacdbc;border-radius:11px;color:#312c27;background:#fff;font-size:14px;font-weight:400}.staff-dialog input:focus,.staff-dialog select:focus{border-color:#7b8151;outline:3px solid rgba(123,129,81,.13)}.field-help{margin:7px 0 0;color:#81766c;font-size:9px}.role-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.role-choice-grid label,.staff-check{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:8px;padding:10px;border:1px solid #e3d7c8;border-radius:11px;background:#fff}.role-choice-grid input,.staff-check input{width:18px;height:18px;margin:0;accent-color:#697044}.role-choice-grid strong,.role-choice-grid small,.staff-check strong,.staff-check small{display:block}.role-choice-grid small,.staff-check small{margin-top:3px;color:#8d8278;font-size:8px;font-weight:400;line-height:1.4}.staff-form-error{margin:14px 23px 0;padding:10px 12px;border:1px solid #e2b8b0;border-radius:10px;color:#973e35;background:#fff4f2;font-size:9px}.staff-dialog footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:9px;padding:15px 23px;border-top:1px solid #e9ded2;background:#fffdf9}.staff-dialog footer button{min-height:42px;padding:0 15px;border:1px solid #d9ccbd;border-radius:11px;color:#65594f;background:#fff;font-size:9px;font-weight:800;cursor:pointer}.pin-dialog{width:min(92vw,500px)}.pin-dialog form>label{margin:15px 23px}.toast.is-error{color:#fff;background:#9b443b}
@media(max-width:1000px){.staff-live-layout{grid-template-columns:1fr}.staff-detail{position:static}.staff-live-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.staff-live-heading{align-items:stretch;flex-direction:column;padding:20px}.staff-live-heading h2{font-size:27px}.staff-primary{width:100%}.staff-live-toolbar{grid-template-columns:1fr}.staff-live-kpis{gap:8px}.staff-live-kpis article{min-height:90px;padding:12px}.staff-directory,.staff-detail{padding:12px}.staff-person{grid-template-columns:40px minmax(0,1fr)}.staff-person-meta{grid-column:2;grid-auto-flow:column;justify-content:start;justify-items:start}.staff-detail-header{grid-template-columns:50px minmax(0,1fr)}.staff-detail-header>button{grid-column:1/-1}.staff-profile-facts,.staff-form-grid,.role-choice-grid{grid-template-columns:1fr}.staff-dialog header,.staff-dialog fieldset,.staff-dialog footer{padding-left:16px;padding-right:16px}.staff-form-error{margin-left:16px;margin-right:16px}}
.staff-form-grid .span-2{grid-column:1/-1}.staff-form-grid textarea{width:100%;min-height:86px;padding:11px 12px;border:1px solid #d9c9b5;border-radius:11px;color:#322c27;background:#fff;font:400 14px/1.45 inherit;resize:vertical}.staff-form-grid textarea:focus{outline:2px solid rgba(103,112,68,.3);border-color:#687044}
.staff-dialog footer .staff-danger{width:auto;margin:0;border-color:#a94339;color:#fff;background:#a94339}
.staff-system-status[hidden]{display:none}.staff-owner-label{display:inline-flex;align-items:center;min-height:33px;padding:0 10px;border-radius:9px;color:#657040;background:#eef0df;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.5px}

/* Leesbare, rustige formuliertekst in alle medewerkersdialogen. */
.staff-dialog{max-height:calc(100dvh - 24px)}
.staff-dialog form{max-height:calc(100dvh - 24px);scroll-padding-block:96px 92px}
.staff-dialog header p{font-size:11px;font-weight:700;line-height:1.3}
.staff-dialog header h2{font-size:29px;line-height:1.12}
.staff-dialog header span{font-size:13px;font-weight:400;line-height:1.5;color:#6f665e}
.dialog-close{width:44px;height:44px;min-width:44px}
.staff-dialog legend{font-size:20px;line-height:1.3}
.staff-dialog label{gap:8px;font-size:14px;font-weight:500;line-height:1.4}
.staff-dialog input,.staff-dialog select,.staff-dialog textarea{font-family:inherit;font-size:16px;font-weight:400;line-height:1.45}
.staff-dialog input,.staff-dialog select{height:50px}
.staff-dialog textarea,.staff-form-grid textarea{min-height:104px;padding:13px 14px;font-family:inherit;font-size:16px;font-weight:400;line-height:1.5}
.staff-dialog input::placeholder,.staff-dialog textarea::placeholder{color:#776f68;font-weight:400;opacity:1}
.staff-dialog input:focus,.staff-dialog select:focus,.staff-dialog textarea:focus{border-color:#7b8151;outline:3px solid rgba(123,129,81,.16)}
.field-help{font-size:13px;font-weight:400;line-height:1.55;color:#6f665e}
.role-choice-grid label,.staff-check{grid-template-columns:24px minmax(0,1fr);gap:12px;padding:14px}
.role-choice-grid label>span,.staff-check>span{min-width:0}
.role-choice-grid input,.staff-check input{width:22px;height:22px}
.role-choice-grid strong,.staff-check strong{font-size:15px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.role-choice-grid small,.staff-check small{margin-top:4px;color:#665e57;font-size:13px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.role-choice-grid label:focus-within,.staff-check:focus-within{border-color:#7b8151;box-shadow:0 0 0 3px rgba(123,129,81,.14)}
.staff-form-error{font-size:13px;font-weight:500;line-height:1.5}
.staff-dialog footer{flex-direction:row;align-items:center}
.staff-dialog footer button{min-height:48px;font-size:14px;font-weight:600}
.staff-dialog footer .staff-primary{font-size:14px!important;font-weight:650!important}

@media(max-width:720px){
  .staff-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}
  .staff-dialog form{max-height:calc(100dvh - 16px);scroll-padding-block:90px 118px}
  .staff-dialog label{font-size:14px}
  .field-help{font-size:13px}
  .role-choice-grid strong,.staff-check strong{font-size:15px}
  .role-choice-grid small,.staff-check small{font-size:13px}
  .staff-dialog footer{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;padding-bottom:max(14px,env(safe-area-inset-bottom))}
  .staff-dialog footer button,.staff-dialog footer .staff-primary{width:100%}
}

@media(max-width:420px){
  .staff-dialog footer{grid-template-columns:1fr}
}

/* Personeel design refresh — dezelfde rustige, leesbare stijl als de AI-pagina. */
.staff-main{
  background:#fbf8f3;
}

.staff-live,
.staff-dialog{
  --staff-ink:#28251f;
  --staff-muted:#716a61;
  --staff-green:#273625;
  --staff-green-soft:#3d4c31;
  --staff-olive:#657547;
  --staff-rose:#a84f70;
  --staff-rose-dark:#8d3f5e;
  --staff-cream:#fffaf2;
  --staff-line:#e8d9c4;
  color:var(--staff-ink);
  font-family:var(--font-ui,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
}

.staff-live-heading{
  align-items:center;
  margin:22px 0 18px;
  padding:32px 34px;
  border:1px solid #465542;
  border-radius:24px;
  color:#fff;
  background:var(--staff-green);
  box-shadow:0 20px 44px rgba(39,54,37,.16);
}

.staff-live-heading p{
  margin:0 0 8px;
  color:#efb4c8;
  font-size:12px;
  font-weight:850;
  line-height:1.3;
  letter-spacing:1.8px;
}

.staff-live-heading h2{
  color:#fff;
  font-family:inherit;
  font-size:clamp(34px,3vw,48px);
  font-weight:650;
  line-height:1.08;
  letter-spacing:-.035em;
}

.staff-live-heading span{
  max-width:780px;
  margin-top:12px;
  color:rgba(255,255,255,.76);
  font-size:15px;
  line-height:1.65;
}

.staff-primary{
  min-height:50px;
  padding:0 22px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:14px!important;
  color:#fff!important;
  background:var(--staff-rose)!important;
  font-size:15px!important;
  font-weight:750!important;
  box-shadow:0 12px 24px rgba(103,35,64,.22);
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}

.staff-primary:hover{
  background:var(--staff-rose-dark)!important;
  box-shadow:0 15px 30px rgba(103,35,64,.27);
  transform:translateY(-1px);
}

.staff-primary:focus-visible,
.staff-section-title button:focus-visible,
.staff-detail-section button:focus-visible,
.staff-detail-header>button:focus-visible,
.staff-dialog footer button:focus-visible,
.dialog-close:focus-visible{
  outline:3px solid rgba(168,79,112,.24);
  outline-offset:2px;
}

.staff-live-kpis{
  gap:14px;
  margin-bottom:16px;
}

.staff-live-kpis article{
  min-height:126px;
  padding:21px 22px;
  border-color:var(--staff-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 22px rgba(77,61,42,.045);
}

.staff-live-kpis small{
  color:#625c54;
  font-size:12px;
  font-weight:750;
  line-height:1.35;
  letter-spacing:.65px;
}

.staff-live-kpis strong{
  margin-top:9px;
  color:var(--staff-green);
  font-size:31px;
}

.staff-live-kpis span{
  color:var(--staff-muted);
  font-size:13px;
  line-height:1.45;
}

.staff-live-toolbar{
  gap:13px;
  margin-bottom:16px;
  padding:18px;
  border-color:var(--staff-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 22px rgba(77,61,42,.04);
}

.staff-live-toolbar label{
  gap:7px;
}

.staff-live-toolbar label span{
  color:#5f5951;
  font-size:12px;
  font-weight:750;
  line-height:1.35;
  letter-spacing:.55px;
}

.staff-live-toolbar input,
.staff-live-toolbar select{
  height:50px;
  padding:0 14px;
  border-color:#ddcfbc;
  border-radius:12px;
  color:var(--staff-ink);
  font-size:15px;
}

.staff-live-toolbar input:focus,
.staff-live-toolbar select:focus{
  border-color:var(--staff-olive);
  outline:3px solid rgba(101,117,71,.14);
}

.staff-system-status{
  border-color:var(--staff-line);
  color:var(--staff-muted);
  background:#fff;
  font-size:14px;
}

.staff-system-status button{
  min-height:46px;
  padding:0 18px;
  border-radius:12px;
  background:var(--staff-green-soft);
  font-size:14px;
}

.staff-live-layout{
  gap:16px;
}

.staff-directory,
.staff-detail{
  border-color:var(--staff-line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 38px rgba(67,54,37,.065);
}

.staff-directory,
.staff-detail{
  padding:23px;
}

.staff-section-title{
  margin-bottom:18px;
}

.staff-section-title h3{
  color:var(--staff-ink);
  font-size:22px;
  line-height:1.2;
}

.staff-section-title p{
  margin-top:6px;
  color:var(--staff-muted);
  font-size:14px;
  line-height:1.5;
}

.staff-section-title button,
.staff-detail-section button,
.staff-detail-header>button{
  min-height:46px;
  padding:0 16px;
  border-color:#d8c9b7;
  border-radius:12px;
  color:var(--staff-green);
  background:#fffdf9;
  font-size:14px;
  font-weight:700;
  transition:border-color .18s ease,background .18s ease,color .18s ease;
}

.staff-section-title button:hover,
.staff-detail-section button:hover,
.staff-detail-header>button:hover{
  border-color:#b8c4aa;
  color:#fff;
  background:var(--staff-green-soft);
}

.staff-cards{
  gap:11px;
}

.staff-person{
  grid-template-columns:52px minmax(0,1fr) auto;
  gap:14px;
  min-height:108px;
  padding:16px;
  border-color:#eadfce;
  border-radius:17px;
  color:var(--staff-ink);
  background:#fffdf9;
}

.staff-person:hover,
.staff-person.is-selected{
  border-color:#9cab8a;
  background:#f1f5eb;
  box-shadow:0 10px 22px rgba(63,78,50,.09);
}

.staff-person-avatar{
  width:50px;
  height:50px;
  border-radius:15px;
  background:#a95f48;
  font-size:14px;
}

.staff-person-avatar.large{
  width:62px;
  height:62px;
  border-radius:18px;
  font-size:17px;
}

.staff-person-copy strong{
  font-size:16px;
  line-height:1.3;
}

.staff-person-copy small{
  margin-top:5px;
  color:#5f5951;
  font-size:14px;
  line-height:1.4;
}

.staff-person-copy em{
  margin-top:5px;
  color:#837a70;
  font-size:13px;
  line-height:1.4;
}

.staff-person-meta{
  gap:9px;
}

.staff-person-meta small{
  color:#756d64;
  font-size:12px;
}

.profile-status{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:750;
}

.profile-status.active{
  color:#45613a;
  background:#e8f0df;
}

.profile-status.invited{
  color:#5d6650;
  background:#edf0e8;
}

.profile-status.disabled{
  color:#69645e;
  background:#ece9e5;
}

.profile-status.draft{
  color:#60584f;
  background:#f0ece7;
}

.staff-empty strong,
.staff-detail-empty strong{
  font-size:18px;
}

.staff-empty span,
.staff-detail-empty p{
  font-size:14px;
  line-height:1.5;
}

.staff-detail-header{
  grid-template-columns:62px minmax(0,1fr) auto;
  gap:15px;
  padding-bottom:20px;
  border-color:#eadfce;
}

.staff-detail-header small{
  color:var(--staff-rose);
  font-size:11px;
  letter-spacing:1.25px;
}

.staff-detail-header h3{
  margin:5px 0 4px;
  font-family:inherit;
  font-size:25px;
  font-weight:650;
  line-height:1.15;
}

.staff-detail-header p{
  color:var(--staff-muted);
  font-size:14px;
  line-height:1.45;
}

.staff-profile-facts{
  gap:10px;
  margin:18px 0;
}

.staff-profile-facts>div{
  padding:13px 14px;
  border-color:#eadfce;
  border-radius:13px;
  background:#fffdf9;
}

.staff-profile-facts dt{
  color:#81786e;
  font-size:11px;
  letter-spacing:.45px;
}

.staff-profile-facts dd{
  margin-top:6px;
  color:#39342f;
  font-size:14px;
  line-height:1.4;
}

.staff-detail-section{
  margin-top:14px;
  padding:17px;
  border-color:#eadfce;
  border-radius:16px;
  background:#fffdf9;
}

.staff-detail-section h4{
  font-size:16px;
  line-height:1.35;
}

.staff-detail-section>div:first-child>span{
  color:var(--staff-olive);
  font-size:12px;
}

.staff-detail-section>p,
.profile-shifts>p{
  margin-top:9px;
  color:var(--staff-muted);
  font-size:13px;
  line-height:1.55;
}

.onboarding-list{
  gap:9px;
  margin-top:13px;
}

.onboarding-list label{
  grid-template-columns:22px 1fr;
  gap:10px;
  font-size:14px;
  line-height:1.4;
}

.onboarding-list input{
  width:20px;
  height:20px;
}

.profile-shifts{
  gap:8px;
  margin-top:12px;
}

.profile-shifts article{
  padding:11px 12px;
  border-radius:11px;
  background:#f5f1ea;
  font-size:13px;
  line-height:1.4;
}

.staff-danger{
  min-height:46px;
  margin-top:16px;
  border-radius:12px;
  font-size:14px;
}

.staff-disabled-note{
  padding:14px;
  font-size:13px;
  line-height:1.5;
}

.staff-dialog{
  border:1px solid var(--staff-line);
  border-radius:24px;
  background:var(--staff-cream);
  box-shadow:0 34px 90px rgba(29,33,25,.34);
}

.staff-dialog header{
  padding:25px 27px 21px;
  border-color:var(--staff-line);
  background:var(--staff-cream);
}

.staff-dialog header p{
  color:var(--staff-rose);
  font-size:12px;
  font-weight:800;
  letter-spacing:1.5px;
}

.staff-dialog header h2{
  font-family:inherit;
  font-size:31px;
  font-weight:650;
  letter-spacing:-.025em;
}

.staff-dialog header span{
  margin-top:7px;
  color:var(--staff-muted);
  font-size:14px;
}

.dialog-close{
  width:46px;
  height:46px;
  min-width:46px;
  color:var(--staff-ink);
  background:#f0ebe4;
}

.staff-dialog fieldset{
  padding:21px 27px;
  border-color:var(--staff-line);
}

.staff-dialog legend{
  color:var(--staff-green);
  font-family:inherit;
  font-size:20px;
  font-weight:700;
}

.staff-dialog footer{
  padding:18px 27px;
  border-color:var(--staff-line);
  background:var(--staff-cream);
}

.staff-dialog footer button{
  min-height:50px;
  padding:0 19px;
  border-color:#d8c9b7;
  border-radius:13px;
  color:#4f4942;
  background:#fff;
  font-size:15px;
  font-weight:700;
}

.staff-dialog footer .staff-primary{
  font-size:15px!important;
  font-weight:750!important;
}

.staff-owner-label{
  min-height:38px;
  padding:0 12px;
  border-radius:11px;
  color:#536044;
  background:#edf1e6;
  font-size:11px;
}

@media(max-width:1000px){
  .staff-live-heading{
    align-items:flex-start;
  }

  .staff-live-heading .staff-primary{
    flex:0 0 auto;
  }
}

@media(max-width:720px){
  .staff-live-heading{
    padding:25px 22px;
    border-radius:20px;
  }

  .staff-live-heading h2{
    font-size:32px;
  }

  .staff-live-heading span{
    font-size:14px;
  }

  .staff-live-kpis article{
    min-height:116px;
    padding:17px;
  }

  .staff-live-kpis strong{
    font-size:28px;
  }

  .staff-live-toolbar{
    padding:15px;
  }

  .staff-directory,
  .staff-detail{
    padding:17px;
  }

  .staff-person{
    grid-template-columns:48px minmax(0,1fr);
    min-height:112px;
    padding:15px;
  }

  .staff-person-avatar{
    width:48px;
    height:48px;
  }

  .staff-person-meta{
    gap:8px;
  }

  .staff-detail-header{
    grid-template-columns:58px minmax(0,1fr);
  }

  .staff-dialog header,
  .staff-dialog fieldset,
  .staff-dialog footer{
    padding-left:18px;
    padding-right:18px;
  }

  .staff-dialog header h2{
    font-size:28px;
  }
}

@media(max-width:480px){
  .staff-live-kpis{
    grid-template-columns:1fr;
  }

  .staff-live-kpis article{
    min-height:106px;
  }

  .staff-section-title{
    align-items:flex-start;
    flex-direction:column;
  }

  .staff-section-title button{
    width:100%;
    justify-content:center;
  }

  .staff-profile-facts{
    grid-template-columns:1fr;
  }
}
