.workforce-shell,.mywork-shell{--wf-navy:#13233a;--wf-muted:#6d7b8e;--wf-border:#e6ebf1;--wf-soft:#f7f9fc;--wf-orange:#ff5a1f;--wf-orange-soft:#fff2ec;--wf-green:#119a62;--wf-green-soft:#eafaf2;--wf-blue:#2878e8;--wf-blue-soft:#edf5ff;--wf-red:#dc4c52;--wf-red-soft:#fff0f1;--wf-purple:#7c55db;--wf-purple-soft:#f4efff;color:var(--wf-navy);max-width:1600px;margin:0 auto;padding:2px 0 48px}
.workforce-header,.mywork-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:14px}
.workforce-header h1,.mywork-header h1{margin:2px 0 4px;font-size:30px;line-height:1.15;letter-spacing:-.035em;color:#10213a}
.workforce-header p,.mywork-header p{margin:0;color:var(--wf-muted);font-size:14px}
.workforce-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--wf-orange)}
.workforce-header-context,.mywork-date{display:flex;flex-direction:column;align-items:flex-end;gap:3px;font-size:12px;color:var(--wf-muted)}
.workforce-header-context strong,.mywork-date strong{font-size:13px;color:var(--wf-navy)}
.workforce-tabs{display:flex;gap:3px;border-bottom:1px solid var(--wf-border);margin:0 0 18px;overflow:auto;scrollbar-width:none}
.workforce-tabs button{appearance:none;border:0;background:transparent;color:#405168;font:inherit;font-size:13px;font-weight:650;padding:12px 15px 11px;border-bottom:2px solid transparent;white-space:nowrap;cursor:pointer}
.workforce-tabs button.active{color:var(--wf-orange);border-color:var(--wf-orange)}
.workforce-tabs button em{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:99px;background:var(--wf-red);color:#fff;font-size:10px;font-style:normal}
.workforce-notice{margin:0 0 14px;padding:11px 14px;border-radius:10px;font-size:13px;font-weight:600}
.workforce-notice.success{background:var(--wf-green-soft);color:#08784a;border:1px solid #ccefdc}.workforce-notice.error{background:var(--wf-red-soft);color:#aa3036;border:1px solid #ffd7da}
.workforce-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.workforce-metric{min-height:104px;background:#fff;border:1px solid var(--wf-border);border-radius:13px;padding:16px;display:flex;align-items:flex-start;gap:13px;box-shadow:0 2px 8px rgba(18,36,60,.03)}
.workforce-metric-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;flex:0 0 auto}.workforce-metric-icon svg{width:21px;height:21px}
.workforce-metric.green .workforce-metric-icon{background:var(--wf-green-soft);color:var(--wf-green)}.workforce-metric.blue .workforce-metric-icon{background:var(--wf-blue-soft);color:var(--wf-blue)}.workforce-metric.orange .workforce-metric-icon{background:var(--wf-orange-soft);color:var(--wf-orange)}.workforce-metric.red .workforce-metric-icon{background:var(--wf-red-soft);color:var(--wf-red)}.workforce-metric.purple .workforce-metric-icon{background:var(--wf-purple-soft);color:var(--wf-purple)}
.workforce-metric div{display:flex;flex-direction:column;gap:2px;min-width:0}.workforce-metric small{color:var(--wf-muted);font-size:12px;font-weight:600}.workforce-metric strong{font-size:23px;line-height:1.15;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.workforce-metric em{font-size:11.5px;color:#7c8999;font-style:normal}
.workforce-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,.95fr) minmax(240px,.55fr);gap:14px;margin-bottom:14px}
.workforce-card{background:#fff;border:1px solid var(--wf-border);border-radius:13px;box-shadow:0 2px 10px rgba(18,36,60,.035);padding:16px;min-width:0}
.workforce-card-head,.workforce-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:13px}.workforce-card-head h2,.workforce-section-title h2{font-size:15px;margin:0 0 2px;font-weight:750}.workforce-card-head p,.workforce-section-title p{font-size:12px;color:var(--wf-muted);margin:0}.workforce-card-head>button{border:1px solid var(--wf-border);background:#fff;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:650;color:#4d5d72;cursor:pointer}
.workforce-count{display:grid;place-items:center;width:23px;height:23px;background:var(--wf-red);color:#fff;border-radius:99px;font-size:11px;font-weight:750}
.workforce-table-wrap{overflow:auto}.workforce-table{width:100%;border-collapse:collapse;font-size:12.5px;min-width:620px}.workforce-table th{text-align:left;color:#657386;font-size:11.5px;font-weight:700;padding:9px 10px;border-bottom:1px solid var(--wf-border);background:#fafbfd}.workforce-table td{padding:11px 10px;border-bottom:1px solid #edf1f5;color:#34445a;vertical-align:middle}.workforce-table tbody tr:last-child td{border-bottom:0}.workforce-table strong{color:#172a43;font-weight:700}.workforce-cell-note{display:block;color:var(--wf-muted);font-size:10.5px;margin-top:2px}
.workforce-person{display:flex;align-items:center;gap:9px}.workforce-person i{width:30px;height:30px;border-radius:99px;background:#eaf0f7;display:grid;place-items:center;font-style:normal;font-weight:750;font-size:10px;color:#37516f}
.workforce-status{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:4px 8px;font-size:10.5px;font-weight:700;white-space:nowrap}.workforce-status.green{background:var(--wf-green-soft);color:#087d4d}.workforce-status.orange{background:#fff5e7;color:#af6500}.workforce-status.red{background:var(--wf-red-soft);color:#b53a41}.workforce-status.blue{background:var(--wf-blue-soft);color:#2368c8}
.workforce-exception-list{display:flex;flex-direction:column;gap:8px}.workforce-exception-list article{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid #f0e7e5;border-radius:10px;padding:9px}.workforce-exception-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--wf-red-soft);color:var(--wf-red)}.workforce-exception-icon svg{width:17px}.workforce-exception-list article div{display:flex;flex-direction:column;gap:1px}.workforce-exception-list strong{font-size:12px}.workforce-exception-list small{font-size:10.5px;color:var(--wf-muted)}.workforce-exception-list button{border:0;background:var(--wf-orange-soft);color:#c34f1f;padding:6px 8px;border-radius:7px;font-size:10px;font-weight:700;cursor:pointer}
.workforce-quick{display:flex;flex-direction:column;gap:10px}.workforce-primary,.workforce-secondary,.workforce-quick-row button,.workforce-payroll-toolbar button,.workforce-period button,.workforce-dialog-actions button{border:0;border-radius:9px;padding:10px 13px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.workforce-primary{background:linear-gradient(135deg,#ff6a28,#f24f14)!important;color:#fff!important;box-shadow:0 5px 12px rgba(242,79,20,.14)}.workforce-secondary{background:#fff;border:1px solid #dce3eb;color:#263a53}.workforce-quick-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.workforce-quick-row button{background:#fff;border:1px solid var(--wf-border);color:#34455b}
.workforce-integration-note{margin-top:4px;border-radius:11px;background:#fff7f2;padding:12px;display:flex;flex-direction:column;gap:6px;font-size:11px;color:#56677b}.workforce-integration-note svg{width:22px;color:var(--wf-orange)}.workforce-integration-note strong{color:#22364e;font-size:12px}.workforce-integration-note span:before{content:"✓";color:var(--wf-green);font-weight:800;margin-right:6px}
.workforce-team-directory-card{padding:0;overflow:hidden}.workforce-team-directory-card>.workforce-card-head{padding:16px 16px 0}.workforce-team-directory{padding:0 6px 8px}.workforce-team-directory .staff-access-header,.workforce-team-directory .staff-security-strip,.workforce-team-directory .staff-summary-grid{margin-left:10px;margin-right:10px}.workforce-team-directory .staff-access-header{padding-top:8px}
.workforce-section-title{margin:2px 0 14px}.workforce-pill{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:99px;background:#f2f5f8;color:#526276;font-size:11px;font-weight:700}.workforce-pill.private{background:var(--wf-orange-soft);color:#b6481d}.workforce-pill svg{width:14px;height:14px}
.workforce-two-column{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.7fr);gap:14px}
.workforce-form{display:flex;flex-direction:column;gap:11px}.workforce-form.compact{gap:8px}.workforce-form-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.workforce-field{display:flex;flex-direction:column;gap:5px;font-size:11.5px;color:#526276;font-weight:650}.workforce-field input,.workforce-field select,.workforce-field textarea,.workforce-payroll-toolbar select,.workforce-period input{width:100%;border:1px solid #dce3eb;border-radius:9px;background:#fff;color:#1f334b;padding:9px 10px;font:inherit;font-size:12.5px;outline:none;box-sizing:border-box}.workforce-field input:focus,.workforce-field select:focus,.workforce-field textarea:focus{border-color:#ff8c5d;box-shadow:0 0 0 3px rgba(255,90,31,.09)}
.workforce-row-actions{display:flex;gap:5px}.workforce-row-actions button{border:0;background:var(--wf-green-soft);color:#08784a;border-radius:7px;padding:6px 8px;font-size:10px;font-weight:700;cursor:pointer}.workforce-row-actions button.danger{background:var(--wf-red-soft);color:#ac343a}
.workforce-empty,.workforce-lock{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:150px;padding:22px;color:var(--wf-muted);gap:5px}.workforce-empty.compact{min-height:95px}.workforce-empty strong,.workforce-lock strong{color:#243850;font-size:13px}.workforce-empty span,.workforce-lock span{font-size:11.5px;max-width:480px}.workforce-lock svg{width:30px;height:30px;color:var(--wf-orange);margin-bottom:4px}
.workforce-payroll-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(310px,.62fr);gap:14px}.workforce-payroll-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:13px}.workforce-payroll-toolbar select{width:auto;min-width:240px}.workforce-payroll-toolbar button{background:#fff;border:1px solid var(--wf-border);color:#33475f}
.workforce-run-head{display:flex;justify-content:space-between;align-items:center;background:#f8fafc;border:1px solid var(--wf-border);border-radius:10px;padding:10px 12px;margin-bottom:10px}.workforce-run-head>div{display:flex;flex-direction:column;gap:2px}.workforce-run-head strong{font-size:13px}.workforce-run-head span{font-size:10.5px;color:var(--wf-muted)}
.workforce-profile-list{display:flex;flex-direction:column;gap:5px;margin-top:12px;border-top:1px solid var(--wf-border);padding-top:10px}.workforce-profile-list button{display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;background:#f9fafc;border-radius:9px;padding:9px 10px;text-align:left;color:inherit;cursor:pointer}.workforce-profile-list button span{display:flex;flex-direction:column}.workforce-profile-list button strong{font-size:11.5px}.workforce-profile-list button small{font-size:10px;color:var(--wf-muted)}.workforce-profile-list button b{font-size:11px;color:#3b4f66}
.workforce-dialog{border:0;padding:0;background:transparent;max-width:520px;width:calc(100% - 30px)}.workforce-dialog::backdrop{background:rgba(15,27,45,.55);backdrop-filter:blur(2px)}.workforce-dialog-card{background:#fff;border-radius:15px;padding:18px;box-shadow:0 25px 80px rgba(0,0,0,.2);display:flex;flex-direction:column;gap:12px}.workforce-dialog-head{display:flex;justify-content:space-between;gap:12px}.workforce-dialog-head h2{margin:0;font-size:17px}.workforce-dialog-head p{margin:3px 0 0;color:var(--wf-muted);font-size:11.5px}.workforce-dialog-head button{border:0;background:#f2f4f7;border-radius:8px;width:32px;height:32px;font-size:20px;color:#58697d;cursor:pointer}.workforce-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.workforce-dialog-actions button{background:#f4f6f8;color:#405168}
.workforce-period{display:flex;align-items:center;gap:7px}.workforce-period input{width:145px;padding:7px 8px}.workforce-period span{font-size:11px;color:var(--wf-muted)}.workforce-period button{background:#fff;border:1px solid var(--wf-border);padding:8px 10px}
.workforce-settings-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.workforce-setting{display:flex;flex-direction:column;gap:4px}.workforce-setting>span{font-size:11px;color:var(--wf-muted);font-weight:650}.workforce-setting>strong{font-size:17px;letter-spacing:-.02em}.workforce-setting>small{font-size:10.5px;color:#7e8998}.workforce-safety{display:flex;gap:12px;align-items:flex-start;margin-top:14px;background:#fffaf7}.workforce-safety>div:first-child{width:42px;height:42px;border-radius:10px;background:var(--wf-orange-soft);color:var(--wf-orange);display:grid;place-items:center}.workforce-safety svg{width:21px}.workforce-safety h2{font-size:14px;margin:0 0 4px}.workforce-safety p{font-size:11.5px;color:var(--wf-muted);margin:0;line-height:1.55}
.workforce-report-explain{margin-top:14px}.workforce-report-explain h2{font-size:14px;margin:0 0 5px}.workforce-report-explain p{margin:0;font-size:12px;color:var(--wf-muted);line-height:1.55}

/* Staff self-service */
.mywork-shell{max-width:1180px}.mywork-brand{display:flex;gap:11px;align-items:flex-start}.mywork-brand>svg{width:40px;height:40px;padding:9px;border-radius:11px;background:var(--wf-orange-soft);color:var(--wf-orange)}.mywork-brand span{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--wf-orange)}.mywork-header h1{font-size:24px;margin-top:1px}
.mywork-grid{display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:12px}.mywork-clock-card,.mywork-card{border:1px solid var(--wf-border);border-radius:14px;background:#fff;padding:17px;box-shadow:0 2px 9px rgba(18,36,60,.035)}.mywork-clock-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;background:linear-gradient(180deg,#fff 0%,#fff9f6 100%)}.mywork-clock-status{font-size:11px;font-weight:700}.mywork-clock-status.on{color:var(--wf-green)}.mywork-clock-status.off{color:var(--wf-muted)}.mywork-duration{font-size:27px;letter-spacing:-.03em;margin-top:4px}.mywork-clock-card>small{color:var(--wf-muted);font-size:10.5px}.mywork-clock-actions{display:flex;gap:8px;width:100%;margin-top:11px}.mywork-clock-actions button{flex:1;border:1px solid var(--wf-border);background:#fff;color:#3d4d61;border-radius:9px;padding:10px;font-size:11.5px;font-weight:700;cursor:pointer}.mywork-clock-primary{min-width:120px}
.mywork-card{display:flex;align-items:center}.mywork-card-head{display:flex;gap:10px;align-items:flex-start}.mywork-card-head>span{width:34px;height:34px;border-radius:9px;background:#f1f6fc;color:#3974bb;display:grid;place-items:center}.mywork-card-head svg{width:17px}.mywork-card-head>div{display:flex;flex-direction:column;gap:3px}.mywork-card-head small{font-size:10.5px;color:var(--wf-muted);font-weight:650}.mywork-card-head strong{font-size:14px}.mywork-card-head em{font-size:10px;font-style:normal;color:#7b8897}
.mywork-actions-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin:13px 0}.mywork-actions-grid button{border:1px solid var(--wf-border);background:#fff;border-radius:12px;padding:13px 10px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;color:#263a53;cursor:pointer}.mywork-actions-grid svg{width:19px;color:#375a80}.mywork-actions-grid span{display:flex;flex-direction:column;gap:2px}.mywork-actions-grid strong{font-size:11.5px}.mywork-actions-grid small{font-size:9.5px;color:var(--wf-muted)}
.mywork-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.mywork-request-form{margin-bottom:13px}.mywork-history{border-top:1px solid var(--wf-border);padding-top:11px}.mywork-history h3{font-size:12px;margin:0 0 7px}.mywork-history article{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #eef1f5;font-size:10.5px}.mywork-history article:last-child{border-bottom:0}.mywork-history article span{color:var(--wf-muted)}.mywork-history article strong{font-size:11px}.mywork-history article em{font-style:normal}
.mywork-commission{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mywork-commission div{background:#f8fafc;border:1px solid var(--wf-border);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:3px}.mywork-commission span{font-size:10.5px;color:var(--wf-muted)}.mywork-commission strong{font-size:15px}.mywork-policy-note{margin:0;background:#f7f9fc;border-radius:8px;padding:9px;color:#68768a;font-size:10px;line-height:1.45}

@media(max-width:1200px){.workforce-dashboard-grid{grid-template-columns:1fr 1fr}.workforce-quick{grid-column:1/-1}.workforce-metrics{grid-template-columns:repeat(2,1fr)}.workforce-payroll-layout{grid-template-columns:1fr}.workforce-settings-grid{grid-template-columns:repeat(2,1fr)}.mywork-grid{grid-template-columns:1fr 1fr}.mywork-actions-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.workforce-header,.mywork-header,.workforce-section-title{flex-direction:column}.workforce-header-context,.mywork-date{align-items:flex-start}.workforce-dashboard-grid,.workforce-two-column,.mywork-detail-grid{grid-template-columns:1fr}.workforce-metrics,.workforce-settings-grid,.mywork-grid{grid-template-columns:1fr}.workforce-form-row{grid-template-columns:1fr}.workforce-payroll-toolbar{align-items:stretch}.workforce-payroll-toolbar select{width:100%;min-width:0}.workforce-period{flex-wrap:wrap}.mywork-actions-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.workforce-shell,.mywork-shell{padding-bottom:30px}.workforce-tabs button{padding-left:10px;padding-right:10px}.mywork-actions-grid{grid-template-columns:1fr 1fr}.mywork-history article{grid-template-columns:1fr}.workforce-card{padding:13px}}

/* Keep the proven Staff editor inside Team without duplicating the old page chrome. */
.workforce-team-directory .staff-access-header,.workforce-team-directory .staff-security-strip,.workforce-team-directory .staff-summary-grid{display:none!important}
.workforce-team-directory .staff-access-workspace{padding-top:0!important}


/* Workforce policy and premium scheduling */
.workforce-schedule-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.workforce-schedule-toolbar button,.workforce-schedule-actions button{border:1px solid var(--wf-border);background:#fff;color:#34455b;border-radius:9px;padding:8px 10px;font-size:11px;font-weight:700;cursor:pointer}
.workforce-schedule-toolbar button.active{background:#1f334b;color:#fff;border-color:#1f334b}
.workforce-schedule-toolbar strong{font-size:12px;color:#2f4259;padding:0 4px}
.workforce-schedule-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}
.workforce-schedule-summary article{border:1px solid var(--wf-border);border-radius:12px;background:#fff;padding:12px 13px;display:flex;flex-direction:column;gap:2px}
.workforce-schedule-summary span{font-size:10px;color:var(--wf-muted);font-weight:700}.workforce-schedule-summary strong{font-size:20px;letter-spacing:-.03em}.workforce-schedule-summary small{font-size:9.5px;color:#8190a2}
.workforce-schedule-actions{display:flex;justify-content:flex-end;gap:8px;margin:10px 0}.workforce-schedule-actions button:disabled{opacity:.45;cursor:not-allowed}
.workforce-schedule-alerts{margin-bottom:12px}.workforce-issue-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.workforce-issue-list article{display:flex;gap:8px;align-items:flex-start;border-radius:10px;padding:10px}.workforce-issue-list article.blocking{background:#fff1f1;color:#8c2f35}.workforce-issue-list article.warning{background:#fff8e8;color:#85651b}.workforce-issue-list article>span{width:22px;height:22px;border-radius:99px;background:rgba(255,255,255,.85);display:grid;place-items:center;font-weight:900;font-size:11px}.workforce-issue-list div{display:flex;flex-direction:column;gap:2px}.workforce-issue-list strong{font-size:11px}.workforce-issue-list small{font-size:10px;line-height:1.4}
.workforce-week-board{display:grid;grid-template-columns:repeat(7,minmax(155px,1fr));gap:8px;overflow-x:auto;padding-bottom:6px;margin-bottom:14px}
.workforce-day-column{min-height:220px;border:1px solid var(--wf-border);border-radius:12px;background:#fbfcfe;padding:10px}.workforce-day-column>header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e9edf2;padding-bottom:8px;margin-bottom:8px}.workforce-day-column>header strong{font-size:11px}.workforce-day-column>header span{font-size:10px;color:var(--wf-muted)}
.workforce-day-shifts{display:flex;flex-direction:column;gap:7px}.workforce-day-empty{border:1px dashed #dbe2ea;border-radius:9px;color:#98a3b2;text-align:center;padding:18px 6px;font-size:10px}
.workforce-shift-card{background:#fff;border:1px solid var(--wf-border);border-radius:10px;padding:9px;display:flex;flex-direction:column;gap:7px;box-shadow:0 2px 6px rgba(22,38,58,.025)}.workforce-shift-card.has-issue{border-color:#f1b7a1}.workforce-shift-card>div:first-child{display:flex;flex-direction:column;gap:2px}.workforce-shift-card strong{font-size:11px}.workforce-shift-card span,.workforce-shift-card small{font-size:9.5px;color:var(--wf-muted)}.workforce-shift-actions{display:flex;gap:5px}.workforce-shift-actions button{flex:1;border:0;border-radius:7px;padding:5px;background:#f1f5f8;color:#526276;font-size:9px;font-weight:700;cursor:pointer}.workforce-shift-actions button.danger{background:#fff0f0;color:#ad3c42}
.workforce-month-board{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-bottom:14px}.workforce-month-board>article{min-height:110px;border:1px solid var(--wf-border);border-radius:10px;background:#fff;padding:8px}.workforce-month-board>article.muted{opacity:.45}.workforce-month-board header{display:flex;justify-content:space-between;font-size:9px;color:var(--wf-muted);margin-bottom:6px}.workforce-month-board header strong{font-size:11px;color:#34475e}.workforce-month-board article>div{display:flex;flex-direction:column;gap:4px}.workforce-month-board button{border:0;background:#f7f9fc;border-radius:6px;padding:5px;text-align:left;font-size:8.5px;color:#34475e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.schedule-controls{align-items:start}.workforce-check{display:flex;align-items:center;gap:8px;font-size:11px;color:#526276;font-weight:650}.workforce-check input{width:16px;height:16px}
.workforce-template-divider{height:1px;background:var(--wf-border);margin:14px 0}.workforce-template-list{display:flex;flex-direction:column;gap:6px;margin-top:10px}.workforce-template-list article{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid var(--wf-border);border-radius:9px;padding:8px}.workforce-template-list span{display:flex;flex-direction:column;gap:2px}.workforce-template-list strong{font-size:10.5px}.workforce-template-list small{font-size:9.5px;color:var(--wf-muted)}.workforce-template-list button{border:0;border-radius:7px;background:#fff0f0;color:#ad3c42;font-size:9px;font-weight:700;padding:5px 7px;cursor:pointer}

.workforce-settings-form{display:flex;flex-direction:column;gap:13px}.workforce-form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.workforce-policy-days{border:0;padding:0;margin:13px 0 8px;display:flex;gap:7px;flex-wrap:wrap}.workforce-policy-days legend{font-size:10.5px;font-weight:800;color:#526276;margin-bottom:7px}.workforce-policy-days label{display:flex;gap:5px;align-items:center;background:#f6f8fb;border:1px solid var(--wf-border);border-radius:8px;padding:6px 8px;font-size:9.5px}
.workforce-policy-table{display:flex;flex-direction:column;gap:8px}.workforce-policy-row{display:grid;grid-template-columns:1.3fr repeat(9,minmax(75px,1fr));gap:7px;align-items:end;border:1px solid var(--wf-border);border-radius:11px;padding:9px;background:#fbfcfe;overflow-x:auto}.workforce-policy-name{display:flex;flex-direction:column;gap:2px;min-width:110px}.workforce-policy-name strong{font-size:10.5px}.workforce-policy-name small{font-size:9px;color:var(--wf-muted)}.workforce-policy-row label{display:flex;flex-direction:column;gap:4px;font-size:8.5px;color:#657487;min-width:72px}.workforce-policy-row input,.workforce-policy-row select{border:1px solid #dce3eb;border-radius:7px;background:#fff;padding:6px;font-size:9.5px;max-width:100%}.workforce-policy-row input[type="checkbox"]{width:15px;height:15px}.workforce-settings-save{position:sticky;bottom:12px;display:flex;justify-content:flex-end;padding:8px 0}.workforce-statutory-card{margin-top:4px}
.workforce-leave-balance-card{margin-bottom:13px}

@media(max-width:1200px){.workforce-schedule-summary{grid-template-columns:repeat(2,1fr)}.workforce-form-grid{grid-template-columns:repeat(2,1fr)}.workforce-policy-row{grid-template-columns:150px repeat(9,90px)}}
@media(max-width:800px){.workforce-schedule-toolbar{align-items:stretch}.workforce-schedule-summary{grid-template-columns:1fr 1fr}.workforce-issue-list{grid-template-columns:1fr}.workforce-month-board{grid-template-columns:repeat(2,1fr)}.workforce-form-grid{grid-template-columns:1fr}}

.mywork-leave-balances{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:10px}.mywork-leave-balances article{border:1px solid var(--wf-border);background:#f8fafc;border-radius:9px;padding:9px;display:flex;flex-direction:column;gap:2px}.mywork-leave-balances span,.mywork-leave-balances small{font-size:9px;color:var(--wf-muted)}.mywork-leave-balances strong{font-size:12px;color:#263a53}.mywork-history article{grid-template-columns:130px minmax(0,1fr) auto auto}.mywork-cancel{border:0;border-radius:7px;background:#fff0f0;color:#ad3c42;font-size:9px;font-weight:700;padding:6px 8px;cursor:pointer}@media(max-width:800px){.mywork-leave-balances{grid-template-columns:1fr 1fr}}@media(max-width:520px){.mywork-leave-balances{grid-template-columns:1fr}.mywork-history article{grid-template-columns:1fr}}

.workforce-opening-balance-form{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr auto;gap:8px;align-items:end;margin:0 0 12px;padding:10px;border:1px solid var(--wf-border);border-radius:11px;background:#fbfcfe}.workforce-opening-balance-form button{height:36px;white-space:nowrap}@media(max-width:800px){.workforce-opening-balance-form{grid-template-columns:1fr 1fr}.workforce-opening-balance-form button{width:100%}}@media(max-width:520px){.workforce-opening-balance-form{grid-template-columns:1fr}}

/* Payroll phase 3 and 4 */
.workforce-payroll-toolbar button.danger{background:#fff1f1;border-color:#f3c7c9;color:#a7333a}
.payroll-adjustment-chip{display:inline-flex;align-items:center;gap:4px;margin:2px 4px 2px 0;padding:4px 6px;border-radius:999px;background:#f4f7fb;color:#41546a;font-size:9px;font-weight:700;white-space:nowrap}
.payroll-adjustment-chip button{border:0;background:transparent;color:#ad3c42;font-size:13px;line-height:1;padding:0;cursor:pointer}
.payroll-audit-panel{margin-top:14px;border-top:1px solid var(--wf-border);padding-top:13px}
.payroll-audit-list{display:flex;flex-direction:column;gap:7px}
.payroll-audit-list article{display:grid;grid-template-columns:145px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--wf-border);border-radius:9px;background:#fbfcfe;padding:9px 10px}
.payroll-audit-list article>span{font-size:9.5px;color:var(--wf-muted)}
.payroll-audit-list article>div{display:flex;flex-direction:column;gap:2px}
.payroll-audit-list article strong{font-size:10.5px;color:#263a53}
.payroll-audit-list article small{font-size:9.5px;color:var(--wf-muted)}
.payroll-audit-list article em{font-style:normal;font-size:9px;font-weight:800;color:#536579;background:#eef2f6;border-radius:999px;padding:4px 7px}
.mywork-download{border:1px solid var(--wf-border);background:#fff;color:#36536f;border-radius:7px;padding:6px 8px;font-size:9.5px;font-weight:700;cursor:pointer}
@media(max-width:800px){.payroll-audit-list article{grid-template-columns:1fr}.payroll-audit-list article em{justify-self:start}}


/* Workforce Phase 5 Action Center and Phase 6 offline health */
.action-center-title .workforce-pill.warning{background:#fff7e6;color:#8b6417;border-color:#f1d795}
.workforce-action-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.workforce-action-metrics article{border:1px solid var(--wf-border);border-radius:12px;background:#fff;padding:12px 13px;display:flex;flex-direction:column;gap:2px}
.workforce-action-metrics article.critical{background:#fff6f6;border-color:#f2c4c7}
.workforce-action-metrics article.high{background:#fffaf0;border-color:#efd9a9}
.workforce-action-metrics span{font-size:9.5px;font-weight:800;color:#657487;text-transform:uppercase;letter-spacing:.04em}
.workforce-action-metrics strong{font-size:23px;line-height:1.05;color:#263a53}
.workforce-action-metrics small{font-size:9.5px;color:var(--wf-muted)}
.workforce-offline-health{margin-bottom:12px}
.workforce-offline-health.integrity_error,.workforce-offline-health.failed,.workforce-offline-health.conflict{border-color:#efc0c3}
.workforce-offline-health.stale{border-color:#ead39d}
.workforce-offline-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.workforce-offline-grid div{background:#f7f9fc;border:1px solid #e8edf3;border-radius:9px;padding:9px;display:flex;flex-direction:column;gap:2px}
.workforce-offline-grid strong{font-size:15px;color:#263a53}
.workforce-offline-grid span{font-size:9px;color:var(--wf-muted)}
.workforce-offline-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:10px;font-size:10px;color:#607087}
.workforce-offline-footer button,.workforce-automation-summary .workforce-card-head button{border:1px solid var(--wf-border);background:#fff;color:#36536f;border-radius:8px;padding:7px 9px;font-size:9.5px;font-weight:800;cursor:pointer}
.workforce-action-list{display:flex;flex-direction:column;gap:8px}
.workforce-action-list article{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:11px;align-items:center;border:1px solid var(--wf-border);border-radius:11px;background:#fbfcfe;padding:10px 11px}
.workforce-action-list article.critical{border-color:#efb7bb;background:#fff7f7}
.workforce-action-list article.high{border-color:#ecd19b;background:#fffaf1}
.workforce-action-list article.low{background:#f8fafc}
.workforce-action-severity{display:inline-flex;justify-content:center;border-radius:999px;padding:5px 7px;background:#eef2f6;color:#536579;font-size:8.5px;font-weight:900;text-transform:uppercase;letter-spacing:.03em}
.workforce-action-list article.critical .workforce-action-severity{background:#fee6e7;color:#9e3037}
.workforce-action-list article.high .workforce-action-severity{background:#fff0ce;color:#856018}
.workforce-action-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.workforce-action-copy strong{font-size:11px;color:#263a53}
.workforce-action-copy small{font-size:9.75px;line-height:1.45;color:#607087}
.workforce-action-copy em{font-size:8.75px;font-style:normal;color:#8a96a5;text-transform:uppercase;letter-spacing:.03em}
.workforce-action-list article>button{border:1px solid var(--wf-border);background:#fff;color:#36536f;border-radius:8px;padding:7px 9px;font-size:9.5px;font-weight:800;cursor:pointer;white-space:nowrap}
.workforce-automation-summary{margin-top:12px}

@media(max-width:1000px){
  .workforce-action-metrics{grid-template-columns:repeat(2,1fr)}
  .workforce-offline-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:700px){
  .workforce-action-list article{grid-template-columns:1fr}
  .workforce-action-list article>button{justify-self:start}
  .workforce-offline-footer{align-items:flex-start;flex-direction:column}
}
@media(max-width:520px){
  .workforce-action-metrics{grid-template-columns:1fr 1fr}
  .workforce-offline-grid{grid-template-columns:1fr 1fr}
}
