.people-view .content > :not(#peopleView){display:none!important}.people-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px;border:1px solid #e0e4f0;border-radius:22px;background:linear-gradient(120deg,#fff,#eef1fb);margin-bottom:20px}.people-hero h2{font-size:36px;letter-spacing:-1px;line-height:1.15;margin:12px 0}.people-hero p{color:var(--muted);max-width:450px;font-size:14px}.people-hero-icon{width:110px;height:110px;border-radius:30px;background:#fff;display:grid;place-items:center;color:#6d68a8;transform:rotate(-8deg)}.people-hero-icon svg{width:66px;height:66px}.people-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.people-summary>div{background:white;border:1px solid var(--line);padding:22px;border-radius:16px;display:flex;flex-direction:column}.people-summary strong{font-size:28px}.people-summary span{color:var(--muted);font-size:12px}.people-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.people-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px}.people-toolbar h2{font-size:20px}.people-toolbar p{font-size:12px;color:var(--muted);margin:4px 0}.people-buttons{display:flex;gap:8px}.people-filters{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.people-filters input{flex:1;min-width:190px}.people-filters input,.people-filters select{font-size:12px}.person-card{display:flex;gap:16px;align-items:center;padding:22px 0;border-top:1px solid var(--line)}.person-avatar{width:46px;height:46px;border-radius:14px;background:#eeeafb;color:#665798;display:grid;place-items:center;flex-shrink:0;font-weight:bold}.person-details{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;overflow-wrap:anywhere}.person-details span{font-size:13px}.person-details small{font-size:11px;color:var(--muted)}.person-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.person-status{font-size:10px;background:#e9f6ef;color:#27724a;padding:4px 9px;border-radius:20px}.person-status.inactive{background:#f3edef;color:#85515c}#peopleCount,#peopleFeedback{font-size:12px;color:var(--muted)}#peopleFeedback:empty{display:none}#peopleEditor{padding-top:0;width:min(660px,calc(100% - 24px))}#peopleEditor .team-dialog-header{margin-bottom:18px}.people-view .content{max-width:1450px}@media(max-width:650px){.people-hero{padding:23px}.people-hero h2{font-size:27px}.people-hero-icon{display:none}.people-summary{gap:8px}.people-summary>div{padding:14px}.people-summary strong{font-size:23px}.people-panel{padding:16px}.people-toolbar{align-items:flex-start;flex-direction:column}.people-filters>*{width:100%}.person-card{flex-wrap:wrap}.person-actions{flex-direction:row;margin-left:62px;align-items:center}}
#importedProfile{width:min(900px,calc(100% - 24px));padding:0;max-height:90vh;overflow:hidden}#importedProfile .team-dialog-header{margin:0;padding:18px 24px;border-bottom:1px solid var(--line)}.imported-body{padding:24px;max-height:calc(90vh - 85px);overflow:auto}.profile-summary{display:flex;align-items:center;gap:18px;margin-bottom:20px}.profile-summary img{width:76px;height:76px;object-fit:cover;border-radius:18px}.profile-summary h3{margin:0;font-size:23px}.profile-summary p{color:var(--muted);font-size:13px}.profile-tabs{display:flex;gap:8px;overflow-x:auto;padding:8px 0 14px;position:sticky;top:-24px;background:#fff;z-index:1}.profile-tabs button{white-space:nowrap;border:1px solid var(--line);border-radius:12px;padding:11px 16px;background:#f7f8fb;color:var(--ink);font-size:13px}.profile-tabs button[aria-selected=true]{background:#d91c36;color:#fff;border-color:#d91c36}.profile-tabs button:focus-visible{outline:3px solid #847bf5;outline-offset:2px}.profile-fields{display:grid;grid-template-columns:minmax(130px,1fr) 2fr;margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden}.profile-fields dt,.profile-fields dd{padding:13px 16px;margin:0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;font-size:14px}.profile-fields dt{background:#f7f8fb;color:var(--muted)}.profile-section pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px;line-height:1.7}.profile-review{background:#fff8ea;border:1px solid #ecd6a7;padding:14px;border-radius:12px;margin-bottom:12px;font-size:13px}.profile-review summary,.profile-original summary{cursor:pointer;font-weight:600}.profile-original{margin-top:20px;padding:14px;background:#f7f8fb;border-radius:12px}.profile-section[hidden]{display:none}@media(max-width:600px){.imported-body{padding:16px}.profile-tabs{top:-16px}.profile-fields{grid-template-columns:1fr}.profile-fields dt{padding-bottom:5px;border-bottom:0}.profile-fields dd{padding-top:5px}.profile-summary h3{font-size:19px}#importedProfile .team-dialog-header{padding:14px 16px}.person-actions{flex-wrap:wrap}}
#attendanceReport{width:min(1200px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90vh;padding:0;overflow:hidden}#attendanceReport .team-dialog-header{position:relative;margin:0;padding:18px 24px;border-bottom:1px solid var(--line);background:#fff;z-index:2}#attendanceReportForm{padding:20px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}#attendanceReportForm label{margin:0}#attendanceReportForm .row{grid-column:1/-1}#attendanceReportForm>button{grid-column:1/-1;justify-self:start}#arFeedback{margin:0;padding:10px 24px;background:#f4f6fa;font-size:13px}#arResults{margin:0 24px;overflow:auto;max-height:40vh;border:1px solid var(--line);border-radius:12px}#arResults>.hint{padding:10px;margin:0;background:#f7f8fb}#arResults table{width:100%;border-collapse:separate;border-spacing:0;min-width:1000px;font-size:13px}#arResults th{position:sticky;top:0;background:#edf0f6;color:#364152;text-align:left;padding:12px;white-space:nowrap;border-bottom:1px solid #dce1ea}#arResults td{padding:11px 12px;border-bottom:1px solid #e9edf3;white-space:nowrap;color:#293446}#arResults tbody tr:nth-child(even){background:#f8f9fc}#arResults tbody tr:hover{background:#eef3ff}#arResults td:first-child{white-space:normal;min-width:180px;font-weight:600}#attendanceReport .footer{margin:0;padding:16px 24px;border-top:1px solid var(--line);background:#fff}@media(max-width:650px){#attendanceReportForm{padding:14px 16px;max-height:28vh;overflow:auto}#arResults{margin:0 12px;max-height:32vh}#attendanceReport .footer{padding:12px;gap:8px;flex-wrap:wrap}#attendanceReport .team-dialog-header{padding:14px 16px}}
#attendanceReport[open]{display:flex;flex-direction:column;height:92vh;max-height:92vh}#attendanceReport .team-dialog-header,#attendanceReport .footer,#arFeedback{flex-shrink:0}#attendanceReportForm{flex-shrink:0;padding-top:12px;padding-bottom:12px;gap:6px 16px;max-height:42vh;overflow:auto}#arResults{flex:1;min-height:80px;max-height:none}#attendanceReportForm input,#attendanceReportForm select{margin:0;padding:10px}#attendanceReportForm label{font-size:12px}#attendanceReportForm .row{margin:0}#attendanceReport .footer button{margin:0}
.source-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;max-height:48vh}.source-table-wrap table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}.source-table-wrap th{background:#eef1f7;text-align:left;padding:12px;position:sticky;top:0;white-space:nowrap}.source-table-wrap td{padding:12px;border-top:1px solid var(--line);min-width:100px;vertical-align:top}.source-table-wrap tr:nth-child(even){background:#fafbfe}.source-history-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}.source-history-controls span{font-size:13px;color:var(--muted)}.source-payslip{padding:18px;border:1px solid var(--line);border-radius:16px;margin:16px 0}.source-payslip-heading{display:flex;align-items:center;justify-content:space-between}.source-payslip-heading h4{font-size:20px;margin:0}.source-pay-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.source-pay-totals>div{background:#f4f6fa;border-radius:12px;padding:16px}.source-pay-totals span{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.source-pay-totals strong{font-size:19px}.source-pay-totals>div:last-child{background:#edf8f1;color:#236c41}.source-payslip section{margin:20px 0}@media(max-width:600px){.source-pay-totals{grid-template-columns:1fr}.source-history-controls{flex-wrap:wrap}.source-payslip{padding:12px}}
#peopleView .people-hero{padding:24px 28px;margin-bottom:16px}#peopleView .people-hero h2{font-size:30px}#peopleView .people-summary{margin:16px 0}#peopleView .people-summary>div{padding:18px 22px}#peopleView .people-panel{padding:24px}#peopleCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#peopleCards .person-card{border:1px solid var(--line);border-radius:16px;padding:18px;align-items:flex-start;flex-wrap:wrap;gap:12px;background:#fff}#peopleCards .person-avatar{width:48px;height:48px;background:#fff0f2;color:#b61a32;border-radius:14px}#peopleCards .person-details{min-width:0;flex-basis:calc(100% - 60px);gap:7px}#peopleCards .person-details strong{font-size:16px;line-height:1.4}#peopleCards .person-details span{font-size:13px;color:#455167}#peopleCards .person-details small{font-size:12px;line-height:1.5}#peopleCards .person-actions{width:100%;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:12px;margin:0}#peopleCards .person-actions button{padding:8px 12px;font-size:12px;border-radius:9px}#peopleCards .person-actions [data-source]{background:#fff0f2;color:#b61a32;border-color:#f1cad2;font-weight:600}#peopleCards .person-status{margin-left:auto;font-size:11px;padding:5px 10px;order:5}#peopleCards .person-status.unverified{background:#fff5dc;color:#8a6217}#peopleCards>.empty{grid-column:1/-1}#peopleView .people-buttons{flex-wrap:wrap}#peopleView .people-filters input{min-width:230px}#peopleView #peopleCount{margin:0 0 16px;font-weight:600;color:#455167}@media(max-width:850px){#peopleCards{grid-template-columns:1fr}#peopleView .people-toolbar{align-items:flex-start;flex-direction:column}}@media(max-width:600px){#peopleView .people-panel{padding:16px}#peopleView .people-hero{padding:20px}#peopleCards .person-card{padding:15px}#peopleCards .person-actions button{flex-grow:1}#peopleView .people-filters input{min-width:0}}
.people-quick-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.people-quick-filters button{padding:8px 14px;border-radius:24px;font-size:12px}.people-quick-filters button[aria-pressed=true]{background:#d91c36;border-color:#d91c36;color:#fff}#peopleResetFilters{margin-left:auto}.people-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.people-pagination span{font-size:13px;color:var(--muted)}.people-pagination button:disabled{opacity:.45;cursor:default}@media(max-width:600px){#peopleResetFilters{margin-left:0}.people-pagination button{padding:10px;font-size:12px}}

.medical-view .content > :not(#medicalView){display:none!important}#medicalDialog{width:min(720px,calc(100% - 24px));padding-top:0}.medical-route{display:flex;flex-direction:column;gap:10px;background:#f4f6fa;border-radius:14px;padding:16px;margin:16px 0;font-size:14px}#medicalCards .workflow-card{margin-top:12px}#medicalBody ol{padding-left:24px}#medicalBody li{padding:10px 0;border-bottom:1px solid var(--line)}#medicalBody li p{margin:6px 0;font-size:13px}#medicalBody textarea{min-height:90px}
#medicalApprovalPopup{width:min(620px,calc(100% - 24px));padding-top:0}#medicalApprovalBody{padding-bottom:16px}.medical-waiting{padding:18px;background:#fff5e8;border:1px solid #f0d8ad;border-radius:14px;margin:16px 0}.medical-waiting h3{margin:12px 0 8px}.medical-waiting p{margin:0;color:var(--muted)}.medical-approval-steps{list-style:none;padding:0;margin:20px 0;display:grid;gap:12px}.medical-step{border:1px solid var(--line);border-left:4px solid #ccd2dc;padding:15px;border-radius:12px}.medical-step p{margin:7px 0}.medical-step span,.medical-step small{display:block;font-size:13px;color:var(--muted)}.medical-step small{margin-top:8px}.medical-step.current{border-left-color:#d91c36;background:#fff4f6}.medical-step.completed{border-left-color:#30805a;background:#f2faf5}#medicalApprovalBody>.workflow-card{margin:12px 0}

/* Medical claims workspace */
#medicalView{max-width:1280px;margin:auto}#medicalView .people-hero{background:linear-gradient(115deg,#fff3f5,#fff);border-color:#f1dce1;padding:28px 32px;margin-bottom:18px}#medicalView .people-hero h2{font-size:32px}#medicalView .people-hero p{line-height:1.7;max-width:560px}.medical-hero-mark{display:grid;place-items:center;width:76px;height:76px;border-radius:24px;background:#fce5ea;color:#c91c3c;font-size:38px;flex-shrink:0}.medical-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.medical-summary>div{padding:20px 24px;border:1px solid var(--line);border-radius:16px;background:white;display:flex;flex-direction:column;gap:10px}.medical-summary span{font-size:13px;color:var(--muted)}.medical-summary strong{font-size:30px;line-height:1.1}.medical-summary>div:last-child{background:#fff3f5;border-color:#f0cdd5;color:#b61935}.medical-flow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:22px;font-size:12px;color:#4b5568}.medical-flow span{display:flex;gap:9px;align-items:center}.medical-flow b{display:grid;place-items:center;background:#f2f3f7;width:26px;height:26px;border-radius:50%;color:#5e6575}#medicalView .people-buttons{flex-wrap:wrap}#medicalView .people-toolbar h2{margin:0 0 7px}#medicalView .people-filters{padding:16px;background:#f7f8fa;border-radius:12px;margin-bottom:12px}#medicalFeedback{font-size:12px;line-height:1.7;color:var(--muted)}#medicalResultCount{font-size:12px;font-weight:600;color:#677184;margin:20px 0 12px}#medicalCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#medicalCards .medical-request-card{display:block;border:1px solid #e3e6ee;border-radius:16px;padding:22px;margin:0;background:#fff;transition:box-shadow .2s,border-color .2s}#medicalCards .medical-request-card:hover{border-color:#d8acb6;box-shadow:0 6px 20px #20263a08}.medical-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.medical-card-top small{font-size:11px;font-weight:700;letter-spacing:.8px;color:#7a8294}.medical-request-card h3{font-size:16px;margin:22px 0 12px}.medical-amount{font-size:25px;letter-spacing:-.5px;color:#20283a}.medical-request-card p{font-size:12px;color:var(--muted);margin:10px 0 16px}#medicalCards .people-buttons{padding-top:14px;margin-top:20px;border-top:1px solid #eef0f5}#medicalCards button{font-size:12px;padding:10px 14px;border-radius:10px}.medical-request-card .person-status{font-size:11px;white-space:nowrap;background:#fff4df;color:#966317}.medical-request-card [data-status="Rejected"]{background:#ffedf0;color:#ba2741}.medical-request-card [data-status="With HR"]{background:#eaf7ef;color:#27724a}#medicalCards>.empty{grid-column:1/-1;padding:48px 20px;background:#fafbfc;border:1px dashed #d9dfe8;border-radius:14px}#medicalDialog,#medicalApprovalPopup{border:0;border-radius:22px;padding:0;max-height:88vh;overflow:auto;box-shadow:0 24px 80px #11182733}#medicalDialog::backdrop,#medicalApprovalPopup::backdrop{background:#11182780;backdrop-filter:blur(4px)}#medicalDialog .team-dialog-header,#medicalApprovalPopup .team-dialog-header{position:sticky;top:0;z-index:2;background:#fff;margin:0;padding:20px 24px;border-bottom:1px solid var(--line)}#medicalDialog .team-dialog-header h2,#medicalApprovalPopup .team-dialog-header h2{font-size:21px}#medicalBody,#medicalApprovalBody{padding:0 24px 24px}#medicalForm label,#medicalReview label{display:block;font-size:13px;font-weight:600;margin:20px 0 8px}#medicalForm input,#medicalForm textarea,#medicalReview textarea,#medicalReview select{width:100%;box-sizing:border-box;border-radius:10px}#medicalForm input[type=file]{padding:18px;background:#f8f9fc;border:1px dashed #cbd2e0;font-size:13px}.medical-route{background:#f7f8fb;line-height:1.6;border:1px solid #e6e9f1}.medical-waiting{background:#fff8ec;margin-top:20px}.medical-waiting h3{font-size:20px;line-height:1.5}.medical-approval-steps{counter-reset:stage;gap:14px}.medical-step{position:relative;margin-left:17px;padding:16px 18px 16px 28px;border-left-width:1px;background:#fafbfc}.medical-step:before{counter-increment:stage;content:counter(stage);position:absolute;left:-17px;top:16px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e8ebf1;color:#677184;font-size:12px;font-weight:700;border:3px solid white}.medical-step.current:before{background:#d91c36;color:white}.medical-step.completed:before{content:'✓';background:#30805a;color:white}.medical-step strong{font-size:14px}.medical-step p{font-size:13px}.medical-step span{line-height:1.6}#medicalProgressOpen{width:100%}#medicalError:not(:empty){padding:12px;background:#fff1f3;color:#ab1832;border-radius:10px;font-size:13px}
@media(max-width:950px){#medicalView .people-toolbar{align-items:flex-start;flex-direction:column}.medical-flow{flex-wrap:wrap;justify-content:flex-start}}
@media(max-width:650px){#medicalView .people-hero{padding:22px}#medicalView .people-hero h2{font-size:26px}.medical-hero-mark{display:none}.medical-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.medical-summary>div{padding:16px}.medical-summary span{font-size:11px}.medical-summary strong{font-size:25px}.medical-flow{gap:14px}.medical-flow span{flex-basis:calc(50% - 14px);font-size:11px}#medicalCards{grid-template-columns:1fr}#medicalView .people-buttons{width:100%}#medicalView .people-buttons button{flex:1}#medicalView .people-filters{padding:12px}#medicalView .people-filters input{min-width:0}#medicalBody,#medicalApprovalBody{padding:0 18px 18px}#medicalDialog .team-dialog-header,#medicalApprovalPopup .team-dialog-header{padding:16px 18px}}

#branchCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.branch-card{border:1px solid var(--line);border-radius:16px;padding:22px}.branch-card h3{margin:12px 0;font-size:21px}.branch-card p{font-size:13px;color:var(--muted)}.branch-code{display:inline-block;background:#fff0f3;color:#b51b38;border-radius:7px;padding:6px 9px;font-size:12px;font-weight:700}.branch-card details{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.branch-card summary{cursor:pointer;font-size:13px;font-weight:600}.branch-card small,.branch-person small{display:block;margin-top:5px;color:var(--muted);font-size:12px}#branchEditor{width:min(700px,calc(100% - 24px));padding:0;border-radius:20px;max-height:90vh}#branchEditor .team-dialog-header{position:sticky;top:0;background:white;z-index:1;padding:20px 24px;margin:0;border-bottom:1px solid var(--line)}#branchForm{padding:4px 24px 24px}#branchForm label{font-size:13px}#branchEmployeeList{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:8px}.branch-person{display:flex!important;align-items:center;gap:12px;padding:12px;margin:0!important;border-bottom:1px solid #f0f1f4}.branch-person input{width:18px!important;height:18px;margin:0;flex-shrink:0}#branchSelected{font-size:12px;color:#b51b38}#branchError:not(:empty){background:#fff0f3;color:#ad1933;padding:12px;border-radius:10px}@media(max-width:850px){#branchCards{grid-template-columns:1fr}}

.branch-departments{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.branch-departments>summary{cursor:pointer;font-size:14px;font-weight:600}

#peopleLocationCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}#peopleLocationCards[hidden],#peopleCards[hidden],#peopleView .people-pagination[hidden]{display:none!important}.people-location-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left;padding:22px;background:white;border:1px solid var(--line);border-radius:16px;cursor:pointer;color:var(--ink)}.people-location-card:hover{border-color:#d91c36;background:#fff8fa}.people-location-card strong{font-size:16px}.people-location-card>span:not(.person-avatar){font-size:12px;color:var(--muted)}.people-location-card small{font-size:12px;color:#b51b38}.people-location-card .person-avatar{background:#fff0f3;color:#b51b38}#peopleLocationNav{margin-top:20px}#peopleLocationNav h3{margin:16px 0 8px}@media(max-width:1000px){#peopleLocationCards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){#peopleLocationCards{grid-template-columns:1fr}}

.people-department-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}#peopleDepartmentCards[hidden]{display:none!important}@media(max-width:1000px){.people-department-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.people-department-grid{grid-template-columns:1fr}}

.people-location-card.all-staff-card{background:#fff3f6;border-color:#e9bbc6}.all-staff-card .person-avatar{background:#d91c36!important;color:white!important;font-size:12px}

/* People directory layout */
#peopleView .people-hero{padding:22px 28px;background:linear-gradient(115deg,#fff,#fff4f6);border-color:#eedfe3}#peopleView .people-hero h2{font-size:30px;margin:10px 0}#peopleView .people-hero-icon{width:74px;height:74px;transform:none;border-radius:20px;color:#bc1d39;background:#ffedf1}#peopleView .people-hero-icon svg{width:38px;height:38px}#peopleView .people-summary>div{padding:18px 22px;gap:8px}#peopleView .people-summary strong{font-size:26px}#peopleView .people-toolbar{padding-bottom:18px;border-bottom:1px solid #eef0f4}#peopleView .people-toolbar h2{margin:0 0 6px;font-size:20px}#peopleView .people-toolbar button{font-size:12px;padding:10px 13px}#peopleView .people-filters{display:grid;grid-template-columns:minmax(210px,2fr) repeat(3,minmax(110px,1fr));gap:10px;margin:20px 0 12px}#peopleView .people-filters>*{width:100%;min-width:0!important;margin:0;border-radius:10px;padding:12px;font-size:12px}#peopleView .people-quick-filters{padding:0 0 18px;margin:0;gap:7px;border-bottom:1px solid #eef0f4}#peopleView .people-quick-filters button{font-size:11px;padding:7px 13px}#peopleLocationNav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0 16px;min-height:32px}#peopleLocationNav h3{margin:0;font-size:18px}#peopleLocationNav>.hint{flex-basis:100%;margin:0;font-size:12px;line-height:1.6}#peopleLocationNav button{padding:8px 11px;font-size:12px;border-radius:9px}.people-nav-divider{color:#b1b7c3;font-size:15px}#peopleLocationCards,.people-department-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:0}.people-location-card{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:13px;row-gap:7px;padding:20px;min-height:130px;transition:transform .15s,box-shadow .15s;border-radius:14px}.people-location-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px #232a3c09}.people-location-card .person-avatar{grid-row:1/3;width:42px;height:42px;border-radius:12px;font-size:14px}.people-location-card strong{font-size:15px;align-self:end;overflow-wrap:anywhere}.people-location-card>span:not(.person-avatar){font-size:12px}.people-location-card small{grid-column:1/-1;border-top:1px solid #edf0f4;padding-top:11px;margin-top:6px;font-size:11px}.people-location-card.all-staff-card{background:#fff0f4;border-color:#edc4ce}#peopleDepartmentCards>h3{font-size:14px;color:#6c7587;margin:18px 0 14px}#peopleView #peopleCount{margin:18px 0 14px}#peopleCards .person-card{padding:18px}#peopleCards .person-details strong{font-size:15px}#peopleCards .person-details small{line-height:1.6}#peopleCards .person-actions{gap:7px}.people-location-card:focus-visible{outline:3px solid #d91c36;outline-offset:3px}
@media(max-width:1100px){#peopleView .people-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#peopleLocationCards,.people-department-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#peopleView .people-hero{padding:20px}#peopleView .people-hero h2{font-size:26px}#peopleView .people-filters{grid-template-columns:1fr}#peopleLocationCards,.people-department-grid{grid-template-columns:1fr}.people-location-card{min-height:115px;padding:18px}#peopleLocationNav{gap:8px}#peopleLocationNav h3{font-size:16px}#peopleView .people-buttons{width:100%}#peopleView .people-buttons button{flex:1}#peopleView .people-summary>div{padding:15px}#peopleView .people-summary span{font-size:11px}}

#companyPerformance[hidden]{display:none!important}#companyPerformance{margin-bottom:32px}.performance-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.performance-heading h2{font-size:26px;margin:8px 0}.performance-heading p{font-size:13px;color:var(--muted);margin:0}.performance-snapshot{background:#e9edf5;color:#4d5c76;border-radius:20px;padding:8px 14px;font-size:12px;white-space:nowrap}.performance-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.performance-kpis article{border:1px solid #dce4eb;background:#e9f7f8;border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:14px}.performance-kpis article>span{font-size:13px;font-weight:600}.performance-kpis article>strong{font-size:25px;line-height:1.3;overflow-wrap:anywhere}.performance-kpis article>div{display:flex;justify-content:space-between;gap:12px;font-size:11px}.performance-kpis b{display:block;margin-top:5px;font-size:14px}.performance-kpis small{font-size:11px;color:#4f6071}.performance-kpis .customers{background:#edf9ee}.performance-kpis .debtors{background:#f1edf8}.performance-kpis .health{background:#173550;color:white}.performance-kpis .health strong{font-size:40px}.performance-kpis .health small{color:#d0deeb}.performance-kpis progress{width:100%;height:7px;accent-color:#168188}.performance-chart-panel,.performance-table-panel{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;margin-top:18px}.performance-chart-panel h3,.performance-table-panel h3{margin:0;font-size:18px}.performance-chart{display:flex;align-items:flex-end;gap:12px;overflow-x:auto;padding:18px 0 4px}.performance-bar{flex:1;min-width:42px;text-align:center;font-size:10px;color:#52617a}.performance-bar>div{height:140px;display:flex;align-items:flex-end;justify-content:center;padding-top:13px;border-bottom:1px solid #dfe5ed}.performance-bar i{display:block;width:65%;background:#4e7caa;border-radius:5px 5px 0 0}.performance-bar i.high{background:#399b7a}.performance-bar i.low{background:#df9a42}.performance-bar b{display:block;padding-top:9px;font-size:11px}.performance-table-panel input{max-width:280px;font-size:13px}.performance-table-scroll{overflow:auto;max-height:560px;border:1px solid var(--line);border-radius:12px}.performance-table-scroll table{border-collapse:separate;border-spacing:0;width:100%;min-width:1750px;font-size:12px}.performance-table-scroll th,.performance-table-scroll td{padding:12px;border-bottom:1px solid #e8edf2;text-align:right;white-space:nowrap}.performance-table-scroll th:first-child{text-align:left}.performance-table-scroll thead{position:sticky;top:0;z-index:2}.performance-table-scroll thead th{background:#19364f;color:white;text-align:center}.performance-table-scroll thead tr:nth-child(2) th{background:#365775}.performance-table-scroll tbody tr:nth-child(even){background:#f6f9fc}.performance-table-scroll tbody tr:hover{background:#fff5e7}.performance-table-scroll tbody th{position:sticky;left:0;background:#f6f9fc;z-index:1;color:#244766}.performance-table-scroll tfoot{background:#19364f;color:white;font-weight:700}.performance-status{padding:6px 9px;border-radius:6px;background:#e7f4ec;color:#28714c;font-size:11px}.performance-status.high{background:#d9f4e6;color:#175b3b}.performance-status.low{background:#fff1da;color:#8a580e}.performance-method{padding:16px;font-size:12px;color:var(--muted);line-height:1.7}.performance-method summary{cursor:pointer;font-weight:600}@media(max-width:1100px){.performance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.performance-kpis{grid-template-columns:1fr}.performance-heading{align-items:flex-start;flex-direction:column}.performance-heading h2{font-size:23px}.performance-chart-panel,.performance-table-panel{padding:16px}.performance-table-panel .people-toolbar{align-items:stretch}.performance-table-panel input{max-width:none;width:100%}}

.performance-branch-link{border:0;background:none;padding:0;color:#215d88;font-size:12px;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:3px}.performance-branch-link:hover{color:#c71c39}#performanceTeam{width:min(850px,calc(100% - 24px));padding:0;border-radius:20px;max-height:90vh}#performanceTeam .team-dialog-header{position:sticky;top:0;background:white;padding:18px 24px;margin:0;border-bottom:1px solid var(--line);z-index:1}#performanceTeam .team-dialog-header h2{font-size:20px}#performanceTeam .team-dialog-header p{margin:5px 0 0;font-size:12px;color:var(--muted)}#performanceTeamBody{padding:20px 24px}#performanceTeamSearch{width:100%;margin-bottom:16px;font-size:13px}#performanceTeamList .person-card{padding:16px 0}#performanceTeamList button{font-size:12px;white-space:nowrap}#performanceTeam::backdrop{background:#11182780;backdrop-filter:blur(3px)}

.branch-progress-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.branch-progress-summary article{padding:18px;background:#f4f8fb;border:1px solid #e1e8f0;border-radius:14px}.branch-progress-summary article>span{display:block;font-size:12px;color:#53677d}.branch-progress-summary article>strong{display:block;font-size:26px;margin:8px 0 12px;color:#203c55}.branch-progress-summary progress{width:100%;height:7px;accent-color:#298b80}.branch-progress-summary dl{display:grid;grid-template-columns:1fr;gap:4px;font-size:12px;margin:14px 0 0}.branch-progress-summary dt{color:var(--muted)}.branch-progress-summary dd{margin:0 0 8px;font-weight:600}.branch-progress-summary small{font-size:10px}.branch-team-health{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;background:#19364f;color:white;border-radius:12px;padding:16px;margin:16px 0;font-size:13px}#performanceTeamBody>h3{font-size:18px;margin:24px 0 12px}@media(max-width:650px){.branch-progress-summary{grid-template-columns:1fr}}

#performanceTeam{width:min(960px,calc(100% - 28px));border:0;box-shadow:0 24px 90px #13233d38;overflow:auto;border-radius:22px}#performanceTeam .team-dialog-header{padding:20px 26px}#performanceTeam .team-dialog-header h2{font-size:20px;letter-spacing:.2px}#performanceTeam .team-dialog-header p{font-size:12px;margin-top:6px}#performanceTeamBody{padding:24px 26px;background:#fafbfd}.branch-performance-overview{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(120deg,#17364f,#284d6a);color:white;border-radius:16px;padding:24px;margin-bottom:20px}.branch-performance-overview .eyebrow{color:#c0d6e6;font-size:10px;letter-spacing:1.5px}.branch-performance-overview h3{font-size:21px;margin:10px 0 8px;line-height:1.4}.branch-performance-overview p{font-size:12px;color:#c9d9e7;margin:0}.branch-score{text-align:right;flex-shrink:0}.branch-score strong{display:block;font-size:34px;letter-spacing:-1px;line-height:1.3}.branch-score span{display:inline-block;font-size:11px;margin-top:8px;background:#ffffff18;border:1px solid #ffffff25;border-radius:20px;padding:6px 11px}.branch-progress-summary{gap:14px;align-items:stretch}.branch-progress-summary article{background:white;padding:20px;border-radius:14px;border:1px solid #e2e7ee}.branch-progress-summary article:nth-child(1){border-top:3px solid #258a92}.branch-progress-summary article:nth-child(2){border-top:3px solid #479f75}.branch-progress-summary article:nth-child(3){border-top:3px solid #9580b5}.branch-progress-summary article>span{font-size:12px;font-weight:600}.branch-progress-summary article>strong{font-size:30px;margin:14px 0;color:#20394f;letter-spacing:-.5px}.branch-progress-summary dl{grid-template-columns:minmax(0,1fr) auto;gap:0;margin-top:16px;align-items:start}.branch-progress-summary dt,.branch-progress-summary dd{padding:10px 0;border-bottom:1px solid #edf0f5;margin:0;font-size:11px;line-height:1.6}.branch-progress-summary dd{text-align:right;white-space:nowrap;font-weight:700;color:#2d4055}.branch-progress-summary dt:last-of-type,.branch-progress-summary dd:last-of-type{border-bottom:0;padding-bottom:0}.branch-progress-summary progress{height:8px}.branch-debtor-state{display:inline-block;margin-top:16px;border-radius:6px;padding:6px 8px;background:#f1edf7;color:#66537e;font-size:10px!important}.branch-progress-summary .hint{font-size:11px;margin:12px 0 0;line-height:1.6}.branch-performance-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;padding-top:18px;border-top:1px solid #e2e7ee}.branch-performance-footer span{font-size:11px;color:#778396;max-width:360px}.branch-performance-footer button{font-size:13px;min-width:90px;padding:10px 18px}@media(max-width:800px){.branch-progress-summary{grid-template-columns:1fr}.branch-progress-summary dl{grid-template-columns:1fr auto}.branch-progress-summary dt,.branch-progress-summary dd{font-size:12px}.branch-performance-overview{padding:20px}.branch-score strong{font-size:29px}}@media(max-width:480px){#performanceTeamBody{padding:18px}#performanceTeam .team-dialog-header{padding:16px 18px}.branch-performance-overview{align-items:flex-start;flex-direction:column;gap:16px}.branch-score{text-align:left}.branch-performance-overview h3{font-size:19px}.branch-performance-footer{align-items:flex-start}.branch-performance-footer span{font-size:10px}}
#performanceTeam .branch-progress-summary article{display:block;min-width:0;width:auto;margin:0;overflow:hidden}#performanceTeam .branch-progress-summary article>span,#performanceTeam .branch-progress-summary article>strong{display:block;width:auto;min-width:0}#performanceTeam .branch-progress-summary progress{display:block;width:100%;min-width:0}#performanceTeam .branch-progress-summary dl{display:grid;width:100%;min-width:0;grid-template-columns:minmax(0,1fr) auto}#performanceTeam .branch-progress-summary dt,#performanceTeam .branch-progress-summary dd{min-width:0}#performanceTeam .branch-progress-summary{min-width:0}

.my-profile-identity{display:flex;align-items:center;gap:16px;margin:20px 0}.my-profile-identity .person-avatar{width:60px;height:60px;border-radius:18px;background:#fff0f3;color:#b61a32;font-size:20px}.my-profile-identity small{font-size:11px;color:var(--muted)}.my-profile-identity h2{margin:3px 0;font-size:24px}.my-profile-identity p{margin:4px 0;font-size:14px;color:var(--muted)}

.attendance-scope{padding:12px 16px;background:#edf4fb;border-radius:10px;color:#365977;font-size:13px;font-weight:600;margin:8px 0 16px}.attendance-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.attendance-totals>div{border:1px solid var(--line);padding:18px;background:#fff;border-radius:14px;display:flex;flex-direction:column;gap:12px}.attendance-totals span{font-size:12px;color:var(--muted)}.attendance-totals strong{font-size:26px}.attendance-record-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 14px}.attendance-record-heading h3{margin:0;font-size:17px}.attendance-record-heading button{font-size:12px}.attendance-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;max-height:550px}.attendance-table-wrap table{width:100%;min-width:780px;border-collapse:separate;border-spacing:0;font-size:13px}.attendance-table-wrap th{background:#f0f3f8;position:sticky;top:0;text-align:left;color:#465870;font-size:12px}.attendance-table-wrap td,.attendance-table-wrap th{padding:14px;border-bottom:1px solid #e9edf3;white-space:nowrap}.attendance-table-wrap td small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.attendance-table-wrap tbody tr:nth-child(even){background:#fafbfd}.attendance-table-wrap button{font-size:11px;padding:7px 11px}.attendance-state{display:inline-block;font-size:11px;border-radius:20px;padding:5px 9px;background:#edf7ef;color:#39734c}.attendance-state.working{background:#e8f2fc;color:#2c6095}.attendance-state.late{background:#fff3dd;color:#8d621a}@media(max-width:700px){.attendance-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-totals>div{padding:14px}}

.attendance-today{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;background:#f7fafc;border:1px solid #dfe7ef;border-radius:14px;margin:16px 0}.attendance-today small{font-size:10px;letter-spacing:1px;font-weight:700;color:#60768e}.attendance-today h3{font-size:19px;margin:8px 0}.attendance-today p{font-size:12px;color:var(--muted);margin:0}.attendance-today a{font-size:12px;color:#b51b38;white-space:nowrap}#timeView .people-buttons{flex-wrap:wrap}#timeView .people-toolbar{align-items:flex-start}#timeView .people-buttons button{font-size:12px;padding:10px 13px}@media(max-width:950px){#timeView .people-toolbar{flex-direction:column}}@media(max-width:600px){.attendance-today{flex-direction:column;align-items:flex-start}}
