:root{color-scheme:light}.theme-toggle{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:1px solid rgba(255,255,255,.42);border-radius:50%;background:rgba(255,255,255,.1);color:#fff;transition:.2s}.employee-portal-body .theme-toggle{border-color:#e4e6e8;background:#fff;color:#394047}.theme-toggle:hover{transform:rotate(8deg);background:#fff;color:#155eef}.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-toggle .theme-sun{display:none}
html[data-theme="dark"]{color-scheme:dark;--ink:#edf1f4;--bs-body-color:#edf1f4;--bs-body-bg:#101317;--bs-border-color:#343b42;--bs-secondary-color:#aab3bb}html[data-theme="dark"] body{background:#101317!important;color:#edf1f4!important}html[data-theme="dark"] .theme-toggle .theme-moon{display:none}html[data-theme="dark"] .theme-toggle .theme-sun{display:block}html[data-theme="dark"] .employee-portal-body .theme-toggle{border-color:#424951;background:#20252b;color:#f3d16d}
html[data-theme="dark"] :where(.sidebar,.side,.topbar,.card,.dropdown-menu,.modal-content,.offcanvas,.list-group-item,.table,.table-responsive){background-color:#181d22!important;color:#edf1f4!important;border-color:#343b42!important;box-shadow:none!important}html[data-theme="dark"] :where(.sidebar-head,.employee-side-head,.side-title,.portal,.nav-section,.side-section){border-color:#343b42!important}html[data-theme="dark"] :where(.side-link,.portal-link,.sidebar a):not(.active){color:#c4ccd2!important}html[data-theme="dark"] :where(.side-link,.portal-link,.sidebar a):not(.active):hover{background:#292127!important;color:#ff8874!important}html[data-theme="dark"] :where(.side-icon,.portal-icon){border-color:#444b52!important;background:#22272d!important;color:#bfc7cd!important}
html[data-theme="dark"] main{--ink:#edf1f4;--dark:#edf1f4;--muted:#aab3bb;--line:#343b42;--soft:#1d2227;--pm-ink:#edf1f4;--pm-muted:#aab3bb;--pm-line:#343b42;--pm-soft:#1d2227;--sa-dark:#edf1f4;--sa-muted:#aab3bb;--sa-line:#343b42;--sa-soft:#1d2227;--ps-ink:#edf1f4;--ps-muted:#aab3bb;--ps-line:#343b42;--ps-soft:#1d2227}html[data-theme="dark"] main :where(.card,[class$="-card"],[class*="-card "],[class$="-panel"],[class*="-panel "],[class$="-section"],[class*="-section "],[class$="-dialog"],[class*="-dialog "],[class$="-item"],[class*="-item "],[class$="-info"],[class*="-info "],[class$="-stat"],[class*="-stat "],[class$="-summary"],[class*="-summary "],[class$="-details"],[class*="-details "],[class$="-body"],[class*="-body "],[class$="-head"],[class*="-head "]){border-color:#343b42!important}html[data-theme="dark"] main :where(.card,[class$="-card"],[class*="-card "],[class$="-panel"],[class*="-panel "],[class$="-section"],[class*="-section "],[class$="-item"],[class*="-item "],[class$="-info"],[class*="-info "],[class$="-details"],[class*="-details "]):not(.active):not(.accent):not(.primary):not(.approved):not(.paid):not(.success):not(.rejected):not(.pending){background-color:#181d22!important;color:#edf1f4!important}
html[data-theme="dark"] main :where(.table,.table>thead,.table>tbody,.table tr,.table th,.table td){background-color:transparent!important;color:#e5eaee!important;border-color:#343b42!important}html[data-theme="dark"] main :where(input,select,textarea,.form-control,.form-select,.input-group-text){border-color:#414850!important;background-color:#12161a!important;color:#edf1f4!important}html[data-theme="dark"] main :where(input,textarea)::placeholder{color:#7f8991!important}html[data-theme="dark"] main :where(.btn-outline-secondary,.btn-light,.btn-outline-dark,[class$="-close"],[class*="-close "]){border-color:#4a525a!important;background:#20262c!important;color:#dbe1e5!important}html[data-theme="dark"] :where(.text-secondary,.text-muted,.form-text,small){color:#aab3bb!important}
html[data-theme="dark"] :where(.notification-menu,.approval-menu,.notification-head,.approval-head,.notification-footer,.approval-footer,.notification-item,.approval-item){background:#181d22!important;color:#e8edf0!important;border-color:#343b42!important}html[data-theme="dark"] :where(.notification-item,.approval-item):hover{background:#242a30!important}html[data-theme="dark"] :where(.notification-item.unread){background:#1b212c!important}
html[data-theme="dark"] main :where(.eh-welcome,.ps-summary-main,.sa-stat.accent,.sg-summary-main,.lr-stat.active,.epm-stat.active,.epm-employee-head .epm-person,.pm-glance-hero,.ps-glance-hero,.sa-history-hero,.ox-total,.ox-btn:not(.alt),.pm-btn:not(.alt),.mp-btn:not(.alt),.es-submit,.lr-btn.primary,.btn-primary,.active){color:#fff}html[data-theme="dark"] main :where(.epm-method,.pm-card,.ox-record,.pm-empty-state,.ps-card,.sa-record,.sg-card,.mp-panel,.eh-panel,.lr-panel){background-color:#181d22!important}html[data-theme="dark"] main :where(.epm-method.empty,.pm-card.not-added){background:#1b2025!important}html[data-theme="dark"] main :where(.epm-account,.pm-info,.ps-meta-item,.sa-record-grid,.ox-card-head,.pm-card-head,.epm-card-head){background:#20262c!important;border-color:#3a4148!important;color:#e6ebee!important}
html[data-theme="dark"] .brand-logo-plate,html[data-theme="dark"] .brand{background:#fff;border-radius:9px;padding:.35rem .55rem}html[data-theme="dark"] .modal-backdrop,html[data-theme="dark"] [class$="-modal"].open{--bs-backdrop-opacity:.72}@media(max-width:767px){.theme-toggle{width:40px;height:40px;flex-basis:40px}}
@media print{.theme-toggle{display:none!important}html[data-theme="dark"],html[data-theme="dark"] body{color-scheme:light;background:#fff!important;color:#000!important}}

/* Salary signature modal: preserve contrast on iOS/Safari dark mode. */
html[data-theme="dark"] main .signature-sign-dialog,
html[data-theme="dark"] main .signature-preview-dialog{background:#181d22!important;color:#edf1f4!important;border-color:#414850!important;color-scheme:dark}
html[data-theme="dark"] main .signature-preview-head,
html[data-theme="dark"] main .signature-preview-body{background:#181d22!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] main .signature-preview-head h2,
html[data-theme="dark"] main .signature-sign-dialog .form-check-label{color:#edf1f4!important;-webkit-text-fill-color:#edf1f4}
html[data-theme="dark"] main .signature-consent-box{background:#20262c!important;color:#edf1f4!important;border-color:#414850!important}
html[data-theme="dark"] main .signature-sign-dialog .alert-info{background:#162b32!important;color:#b9e8f1!important;border-color:#31515a!important;-webkit-text-fill-color:#b9e8f1}
html[data-theme="dark"] main .signature-sign-pad{background:#fff!important;border-color:#777!important;color-scheme:light}
html[data-theme="dark"] main .signature-sign-pad:before{background:#f3f3f3!important;color:#505860!important;border-color:#ddd!important;-webkit-text-fill-color:#505860}
html[data-theme="dark"] main .signature-sign-pad canvas{background:#fff!important}
html[data-theme="dark"] main .signature-clear{background:#20262c!important;color:#84adff!important;border-color:#1f3a7a!important;-webkit-text-fill-color:#84adff}

/* Pay-slip glance: explicit colours prevent iOS forced-dark text from disappearing. */
html[data-theme="dark"] main .ps-glance-dialog{background:#181d22!important;color:#edf1f4!important;border-color:#414850!important;color-scheme:dark}
html[data-theme="dark"] main :where(.ps-glance-head,.ps-glance-body){background:#181d22!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] main .ps-glance-head h2{color:#edf1f4!important;-webkit-text-fill-color:#edf1f4}
html[data-theme="dark"] main .ps-glance-item{background:#20262c!important;color:#edf1f4!important;border-color:#414850!important}
html[data-theme="dark"] main .ps-glance-item small{color:#aab3bb!important;-webkit-text-fill-color:#aab3bb}
html[data-theme="dark"] main .ps-glance-item span{color:#edf1f4!important;-webkit-text-fill-color:#edf1f4}
html[data-theme="dark"] main .ps-glance-close{background:#20262c!important;color:#84adff!important;border-color:#1f3a7a!important;-webkit-text-fill-color:#84adff}

/* Page-level components define their own light tokens; remap them in dark mode. */
html[data-theme="dark"] main :where(.ox,.schedule-hub,.salary-builder,.payroll-hub,.security-centre,.employee-home,.my-profile,.signature-centre){--ink:#edf1f4;--dark:#edf1f4;--muted:#aab3bb;--line:#343b42;--soft:#20262c;--ox-ink:#edf1f4;--ox-muted:#aab3bb;--ox-line:#343b42;--ox-soft:#20262c;--sh-dark:#edf1f4;--sh-muted:#aab3bb;--sh-line:#343b42;--sh-soft:#20262c;--sb-dark:#edf1f4;--sb-muted:#aab3bb;--sb-line:#343b42;--sb-soft:#20262c;--ph-dark:#edf1f4;--ph-muted:#aab3bb;--ph-line:#343b42;--ph-soft:#20262c;--sc-dark:#edf1f4;--sc-muted:#aab3bb;--sc-line:#343b42;--sc-soft:#20262c;--eh-dark:#edf1f4;--eh-muted:#aab3bb;--eh-line:#343b42;--eh-soft:#20262c;--mp-dark:#edf1f4;--mp-muted:#aab3bb;--mp-line:#343b42;--mp-soft:#20262c;--sg-dark:#edf1f4;--sg-muted:#aab3bb;--sg-line:#343b42;--sg-soft:#20262c}
html[data-theme="dark"] main :where(.ox-card,.ox-card-head,.ox-top-total,.ox-top-total>div:not(.primary),.ox-salary-picker,.ox-employee-option,.ox-salary-breakdown,.ox-dialog,.ox-record,.ox-mini,.ox-order button){background:#181d22!important;color:#edf1f4!important;border-color:#343b42!important;box-shadow:none!important}
html[data-theme="dark"] main .ox-card-head{background:#20262c!important}
html[data-theme="dark"] main .ox-salary-picker{background:#151a1f!important}
html[data-theme="dark"] main .ox-employee-option{background:#20262c!important}
html[data-theme="dark"] main .ox-salary-breakdown{background:#151a1f!important}
html[data-theme="dark"] main :where(.ox-employee-option strong,.ox-employee-option .ox-price,.ox-salary-person,.ox-amount,.ox-record strong,.ox-top-total strong){color:#edf1f4!important}
html[data-theme="dark"] main :where(.ox-employee-option small,.ox-record small,.ox-top-total small,.ox-top-total span,.ox-field label){color:#aab3bb!important}
html[data-theme="dark"] main .ox-salary-period{color:#84adff!important}
html[data-theme="dark"] main :where(.ox-icon,.ox-drag){color:#84adff!important}
html[data-theme="dark"] main .ox-icon{background:#1d2635!important}
html[data-theme="dark"] main :where(.ox-btn.alt,.ox-mini.remove){background:#20262c!important;color:#84adff!important;border-color:#1f3a7a!important}
html[data-theme="dark"] main .ox-attachment{background:#151a1f!important;color:#edf1f4!important;border-color:#384a69!important}
html[data-theme="dark"] main .ox-mobile-total :where(small,strong){color:#fff!important;-webkit-text-fill-color:#fff}

/* Reusable nested light surfaces used across admin and employee pages. */
html[data-theme="dark"] main :where(.sh-overview,.sh-panel,.sh-count,.sh-table th,.sh-duty-form,.sh-duty-list,.sb-flow,.sb-card,.sb-back,.ph-toolbar,.ph-stat,.ph-panel,.ph-table th,.eh-summary,.eh-duty,.eh-action,.eh-table th,.mp-tabs,.mp-info,.mp-photo,.sg-summary,.sg-amount,.sg-action){background-color:#181d22!important;color:#edf1f4!important;border-color:#343b42!important;box-shadow:none!important}
html[data-theme="dark"] main :where(.sh-panel-head,.sb-section-head,.ph-panel-head,.eh-panel-head,.eh-duty-main,.mp-panel-head,.sg-card-top,.es-guide){background:#20262c!important;border-color:#343b42!important}

/* Control Centre */
html[data-theme="dark"] main .control-centre{--cc-ink:#edf1f4;--cc-muted:#aab3bb;--cc-line:#343b42;--cc-soft:#20262c}
html[data-theme="dark"] main :where(.cc-metric,.cc-section,.cc-action){background:#181d22!important;color:#edf1f4!important;border-color:#343b42!important;box-shadow:none!important}
html[data-theme="dark"] main :where(.cc-section-head,.cc-table th,.cc-money-box){background:#20262c!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] main :where(.cc-metric-value,.cc-section-title,.cc-payroll-total,.cc-money-box strong,.cc-person,.cc-recent-name,.cc-amount,.cc-action){color:#edf1f4!important}
html[data-theme="dark"] main :where(.cc-metric-label,.cc-metric-note,.cc-section-kicker,.cc-code,.cc-money-box span,.cc-empty,.cc-recent-meta){color:#aab3bb!important}
html[data-theme="dark"] main .cc-metric:hover{background:#20262c!important;border-color:#535c64!important}
html[data-theme="dark"] main .cc-progress{background:#343b42!important}
html[data-theme="dark"] main .cc-payroll-btn{background:#20262c!important;border-color:#1f3a7a!important;color:#84adff!important}
html[data-theme="dark"] main .cc-payroll-btn:hover{background:#155eef!important;color:#fff!important}
html[data-theme="dark"] main .cc-add{background:#fff!important;color:#861303!important}
html[data-theme="dark"] main .cc-empty-icon{background:#173a2a!important;color:#68d49a!important}
html[data-theme="dark"] main .cc-metric.red .cc-metric-icon{background:#1e283a!important;color:#84adff!important}
html[data-theme="dark"] main .cc-metric.amber .cc-metric-icon{background:#3a311b!important;color:#f0c34f!important}
html[data-theme="dark"] main .cc-metric.blue .cc-metric-icon{background:#192e42!important;color:#6eb5ed!important}
html[data-theme="dark"] main .cc-metric.green .cc-metric-icon{background:#173a2a!important;color:#68d49a!important}

/* Complete portal coverage: keep every sidebar page on the same dark surfaces. */
html[data-theme="dark"] main :where(.control-centre,.employee-manager,.employee-form,.approval-centre,.operations-hub,.payment-methods,.salary-builder,.payroll-hub,.signature-records,.office-expenses,.ox,.schedule-hub,.employee-home,.my-profile,.payment-method-centre,.salary-archive,.payslip-centre,.signature-centre,.leave-request,.employee-security){
 --cc-ink:#edf1f4!important;--cc-muted:#aab3bb!important;--cc-line:#343b42!important;--cc-soft:#20262c!important;
 --em-ink:#edf1f4!important;--em-muted:#aab3bb!important;--em-line:#343b42!important;--em-soft:#20262c!important;
 --ef-ink:#edf1f4!important;--ef-muted:#aab3bb!important;--ef-line:#343b42!important;--ef-soft:#20262c!important;
 --ops-soft:#20262c!important;--sb-dark:#edf1f4!important;--sb-muted:#aab3bb!important;--sb-line:#343b42!important;--sb-soft:#20262c!important;
 --ph-dark:#edf1f4!important;--ph-muted:#aab3bb!important;--ph-line:#343b42!important;--ph-soft:#20262c!important;
 --sh-dark:#edf1f4!important;--sh-muted:#aab3bb!important;--sh-line:#343b42!important;--sh-soft:#20262c!important;
 --eh-dark:#edf1f4!important;--eh-muted:#aab3bb!important;--eh-line:#343b42!important;--eh-soft:#20262c!important;
 --mp-dark:#edf1f4!important;--mp-muted:#aab3bb!important;--mp-line:#343b42!important;--mp-soft:#20262c!important;
 --pm-ink:#edf1f4!important;--pm-muted:#aab3bb!important;--pm-line:#343b42!important;--pm-soft:#20262c!important;
 --sa-dark:#edf1f4!important;--sa-muted:#aab3bb!important;--sa-line:#343b42!important;--sa-soft:#20262c!important;
 --ps-ink:#edf1f4!important;--ps-muted:#aab3bb!important;--ps-line:#343b42!important;--ps-soft:#20262c!important;
 --sg-dark:#edf1f4!important;--sg-muted:#aab3bb!important;--sg-line:#343b42!important;--sg-soft:#20262c!important;
 --lr-ink:#edf1f4!important;--lr-muted:#aab3bb!important;--lr-line:#343b42!important;--lr-soft:#20262c!important;
 --es-dark:#edf1f4!important;--es-muted:#aab3bb!important;--es-line:#343b42!important;--es-soft:#20262c!important
}
html[data-theme="dark"] main :where(
 .ac-card,.ac-section,.ac-total,.em-panel,.em-stat,.em-toolbar,.em-action,.ef-aside,.ef-section,.ef-salary-intro,
 .ops-edit-dialog,.duty-dialog,.epm-stats,.epm-stat,.epm-employee,.epm-employee-head,.epm-methods,.epm-method,.epm-dialog,.epm-head-note,
 .ph-notice,.ph-action,.sb-breakdown-item,.sb-preview-status,.sr-panel,.sr-stat,.sr-dialog,.sr-filter,.sr-month,
 .pm-card,.pm-info,.pm-security,.pm-empty-state,.pm-glance-dialog,.pm-glance-note,
 .ps-card,.ps-summary,.ps-empty,.ps-glance-dialog,.sa-summary,.sa-panel,.sa-count,.sa-history-dialog,
 .sg-summary,.sg-card,.signature-wrap,.signature-preview-dialog,.signature-sign-dialog,.signature-sign-pad,
 .lr-stats,.lr-stat,.lr-panel,.lr-dialog,.lr-modal-head,.lr-modal-request,.lr-reason,.lr-edit-notice,.es-layout
 ){background-color:#181d22!important;color:#edf1f4!important;border-color:#343b42!important;box-shadow:none!important}
html[data-theme="dark"] main :where(
 .ac-card-head,.ac-section-head,.em-panel-head,.ef-section-head,.epm-employee-head,.epm-card-head,.ph-panel-head,.sb-section-head,
 .sr-panel-head,.pm-card-head,.ps-card-head,.sa-panel-head,.sg-card-top,.lr-panel-head,.lr-modal-head,.es-guide
 ){background:#20262c!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] main :where(
 .em-avatar,.ef-avatar,.epm-method-count,.pm-icon,.ps-head-mark,.lr-guide-icon,.lr-otp-icon,.mp-tab-icon,.eh-action-icon
 ){background:#162038!important;color:#84adff!important;border-color:#3a4558!important}
html[data-theme="dark"] main :where(
 .em-panel,.ef-section,.ac-card,.epm-employee,.epm-method,.ph-panel,.sr-panel,.pm-card,.ps-card,.sa-panel,.sg-card,.lr-panel,.es-layout
 ) :where(h1,h2,h3,h4,strong,b,span:not([class*="status"])){border-color:#343b42}
html[data-theme="dark"] main :where(
 .em-panel,.ef-section,.ac-card,.epm-employee,.epm-method,.ph-panel,.sr-panel,.pm-card,.ps-card,.sa-panel,.sg-card,.lr-panel,.es-layout
 ) :where(h1,h2,h3,h4,strong){color:#edf1f4!important}
html[data-theme="dark"] main :where(.em-toolbar input,.epm-search,.ops-month,.ph-month,.sr-filter,.sr-month,.sa-count,.ac-count){background:#12161a!important;color:#edf1f4!important;border-color:#414850!important}
html[data-theme="dark"] main :where(.em-action,.ef-back,.ef-cancel,.ac-btn.alt,.epm-btn.alt,.pm-btn.alt,.ps-btn.alt,.sa-slip-link,.sg-history,.sg-action,.lr-history-edit,.signature-clear){background:#20262c!important;color:#84adff!important;border-color:#1f3a7a!important}
html[data-theme="dark"] main :where(.modal-content,.ops-edit-dialog,.duty-dialog,.epm-dialog,.pm-glance-dialog,.ps-glance-dialog,.sa-history-dialog,.sr-dialog,.signature-preview-dialog,.signature-sign-dialog,.lr-dialog){background:#181d22!important;color:#edf1f4!important;border-color:#414850!important}
html[data-theme="dark"] main :where(.modal-header,.modal-footer){background:#20262c!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] main :where(.salary-summary,.ps-count,.ac-count,.epm-method-count,.sh-count,.sb-flow,.ph-toolbar,.ph-stat,.sh-overview,.sh-panel,.eh-summary,.eh-duty,.mp-tabs,.mp-info,.mp-panel,.mp-doc-action){background:#181d22!important;color:#edf1f4!important;border-color:#343b42!important;box-shadow:none!important}
html[data-theme="dark"] main :where(.salary-summary,.sb-breakdown){background:#181d22!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] main .sb-breakdown{border-right-color:#343b42!important}
html[data-theme="dark"] main :where(.sh-edit,.sh-remove,.ps-btn,.epm-close,.pm-glance-close,.ps-glance-close,.sa-history-close,.signature-preview-close,.lr-modal-close){background:#20262c!important;color:#84adff!important;border-color:#1f3a7a!important}
html[data-theme="dark"] main :where(.table-responsive){background:#181d22!important;border-color:#343b42!important}

/* Salary Signature Records */
html[data-theme="dark"] main .sr-page{--ink:#edf1f4!important;--muted:#aab3bb!important;--line:#343b42!important;--soft:#20262c!important}
html[data-theme="dark"] main :where(.sr-stat,.sr-bar,.sr-panel,.sr-card,.sr-dialog){background:#181d22!important;color:#edf1f4!important;border-color:#343b42!important;box-shadow:none!important}
html[data-theme="dark"] main :where(.sr-panel-head,.sr-signature){background:#20262c!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] main :where(.sr-head h1,.sr-stat strong,.sr-name,.sr-panel-head h2,.sr-dialog-head h3,.sr-bar b){color:#edf1f4!important}
html[data-theme="dark"] main :where(.sr-head p,.sr-stat small,.sr-stat span,.sr-meta,.sr-panel-head span){color:#aab3bb!important}
html[data-theme="dark"] main .sr-track{background:#3a4148!important}
html[data-theme="dark"] main .sr-filter:not(.active),html[data-theme="dark"] main .sr-action:not(.pay){background:#20262c!important;color:#dce2e6!important;border-color:#4a525a!important}
html[data-theme="dark"] main .sr-stat.ready{background:#191d25!important;border-color:#324360!important}
html[data-theme="dark"] main .sr-signature img{background:#fff!important}

/* Attendance & Workforce Operations */
html[data-theme="dark"] main .ops-page{--ops-soft:#162038!important}
html[data-theme="dark"] main .ops-page .nav-pills{background:#181d22!important;border-color:#343b42!important;box-shadow:none!important}
html[data-theme="dark"] main .ops-page .nav-pills .nav-link:not(.active){background:#20262c!important;color:#cbd3d9!important;border:1px solid #343b42!important}
html[data-theme="dark"] main .ops-page .nav-pills .nav-link:not(.active):hover{background:#292f35!important;color:#84adff!important;border-color:#3f4a5c!important}
html[data-theme="dark"] main .ops-page .nav-pills .nav-link.active{background:#155eef!important;color:#fff!important;border:1px solid #155eef!important}
html[data-theme="dark"] main .ops-page .ops-metric:hover{background:#20262c!important;border-color:#4a525a!important}
html[data-theme="dark"] main .ops-page .table tbody tr:hover{background:#20262c!important}
html[data-theme="dark"] main .ops-page .table thead th{background:#20262c!important;color:#cbd3d9!important;border-color:#343b42!important}
html[data-theme="dark"] main .ops-page .badge.text-bg-light{background:#2a3036!important;color:#dce2e6!important;border:1px solid #414850!important}

/* Office Time Schedule */
html[data-theme="dark"] main :where(.sh-form-note,.sh-auto,.sh-duty-form,.sh-duty-list,.sh-history-time,.sh-count){background:#181d22!important;color:#dce2e6!important;border-color:#414850!important;box-shadow:none!important}
html[data-theme="dark"] main .schedule-hub :where(.form-label,label,.sh-overview-stat span,.sh-duty-form>p,.sh-duty-row small,.sh-history-range){color:#aab3bb!important}
html[data-theme="dark"] main .schedule-hub :where(.sh-title,.sh-panel h2,.sh-duty-form h3,.sh-duty-row strong,.sh-duty-time,.sh-history-time,.sh-history-range strong){color:#edf1f4!important}
html[data-theme="dark"] main .sh-auto{background:#173a2a!important;color:#75d9a3!important;border-color:#315c45!important}
html[data-theme="dark"] main .sh-form-note{background:#1b1f25!important;color:#cbd3d9!important;border-color:#2b4a85!important}
html[data-theme="dark"] main .sh-form-note b{color:#84adff!important}
html[data-theme="dark"] main :where(.sh-head-icon,.sh-note-icon,.sh-empty-icon){background:#162038!important;color:#84adff!important}
html[data-theme="dark"] main .sh-history-card{border-color:#343b42!important}

/* Approval Centre */
html[data-theme="dark"] main .ac-page{--ink:#edf1f4!important;--muted:#aab3bb!important;--line:#343b42!important;--soft:#20262c!important}
html[data-theme="dark"] main :where(.ac-head h1,.ac-card h2,.ac-section-head h2,.ac-row strong){color:#edf1f4!important}
html[data-theme="dark"] main :where(.ac-head p,.ac-card small,.ac-section-head span,.ac-row small,.ac-empty,.ac-total small){color:#aab3bb!important}
html[data-theme="dark"] main .ac-card:hover{background:#20262c!important;color:#edf1f4!important;border-color:#505860!important}
html[data-theme="dark"] main .ac-total{background:#191d25!important;border-color:#324360!important}
html[data-theme="dark"] main .ac-count{background:#162038!important;color:#84adff!important}
html[data-theme="dark"] main .ac-count.zero{background:#252b30!important;color:#9ca6ad!important}
html[data-theme="dark"] main .ac-row{border-color:#343b42!important}

/* Employee Payment Methods */
html[data-theme="dark"] main .epm-page{--ink:#edf1f4!important;--muted:#aab3bb!important;--line:#343b42!important;--soft:#20262c!important}
html[data-theme="dark"] main :where(.epm-head h1,.epm-toolbar h2,.epm-stat strong,.epm-person strong,.epm-provider,.epm-method h3,.epm-dialog-head h2){color:#edf1f4!important}
html[data-theme="dark"] main :where(.epm-head p,.epm-stat small,.epm-person small,.epm-method-count,.epm-account,.epm-submitted,.epm-empty-text,.epm-field label){color:#aab3bb!important}
html[data-theme="dark"] main .epm-head-note{background:#191d25!important;color:#a4bcfd!important;border-color:#324360!important}
html[data-theme="dark"] main .epm-stats{background:#181d22!important;border-color:#343b42!important}
html[data-theme="dark"] main .epm-stat:not(.active){background:#181d22!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] main .epm-stat:not(.active):hover{background:#20262c!important}
html[data-theme="dark"] main .epm-methods{background:#20262c!important}
html[data-theme="dark"] main .epm-account{background:#12161a!important;border-color:#414850!important;color:#edf1f4!important}
html[data-theme="dark"] main .epm-status.not-added{background:#343b42!important;color:#bbc3c9!important;border-color:#4a525a!important}
html[data-theme="dark"] main .epm-avatar{border-color:#4a525a!important;box-shadow:none!important}
html[data-theme="dark"] main .epm-method,html[data-theme="dark"] main .epm-method.empty{background:#181d22!important;color:#edf1f4!important;border-color:#414850!important}
html[data-theme="dark"] main .epm-method:before{opacity:.55}
html[data-theme="dark"] main .epm-method :where(h3,.epm-provider){color:#edf1f4!important}
html[data-theme="dark"] main .epm-method :where(.epm-submitted,.epm-empty-text){color:#aab3bb!important}
html[data-theme="dark"] main .epm-actions.manage .epm-manage{background:#20262c!important;color:#dce2e6!important;border-color:#4a525a!important}
html[data-theme="dark"] main .epm-actions.manage .epm-manage:hover{background:#292f35!important;color:#84adff!important;border-color:#1f3a7a!important}
html[data-theme="dark"] main .epm-actions.manage .epm-btn.reject{background:#20262c!important;color:#84adff!important;border-color:#1f3a7a!important}

/* Master employee search */
html[data-theme="dark"] :where(.master-search-dialog,.master-result){background:#181d22!important;color:#edf1f4!important;border-color:#414850!important;box-shadow:none!important}
html[data-theme="dark"] :where(.master-search-head,.master-search-hint,.master-result-person){background:#20262c!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] .master-search-input{color:#edf1f4!important}
html[data-theme="dark"] .master-search-input::placeholder{color:#8f99a1!important}
html[data-theme="dark"] :where(.master-result-name strong,.master-result-fact b){color:#edf1f4!important}
html[data-theme="dark"] :where(.master-result-name span,.master-result-fact small,.master-search-state,.master-search-hint){color:#aab3bb!important}
html[data-theme="dark"] :where(.master-result-facts,.master-result-fact,.master-result-actions){border-color:#343b42!important}
html[data-theme="dark"] .master-result-actions a:not(.primary){background:#20262c!important;color:#dce2e6!important;border-color:#4a525a!important}
html[data-theme="dark"] .master-result-actions a:not(.primary):hover{color:#84adff!important;border-color:#1f3a7a!important}
html[data-theme="dark"] .master-search-close{background:#20262c!important;color:#dce2e6!important;border-color:#4a525a!important}
html[data-theme="dark"] :where(.master-search-side-trigger){background:#20262c!important;color:#dce2e6!important;border-color:#414850!important}
html[data-theme="dark"] .master-search-side-trigger:hover{background:#292f35!important;color:#84adff!important;border-color:#1f3a7a!important}
html[data-theme="dark"] .master-search-side-trigger kbd{background:#12161a!important;color:#aab3bb!important;border-color:#414850!important}
@media(max-width:767px){html[data-theme="dark"] .sidebar-head{background:#181d22!important}}

/* Employee leave request: the page uses lr-page (not leave-request). */
html[data-theme="dark"] main .lr-page{
 --lr-ink:#edf1f4!important;
 --lr-muted:#aab3bb!important;
 --lr-line:#343b42!important;
 --lr-soft:#20262c!important
}
html[data-theme="dark"] main .lr-page :where(.lr-stats,.lr-stat,.lr-panel,.lr-guide-icon,.lr-request){background:#181d22!important;border-color:#343b42!important;box-shadow:none!important}
html[data-theme="dark"] main .lr-page :where(.lr-panel-head,.lr-history-head){background:#20262c!important;border-color:#343b42!important}
html[data-theme="dark"] main .lr-page :where(.lr-head h1,.lr-stat strong,.lr-panel-head h2,.lr-guide-item strong,.lr-history-head h2,.lr-subject,.lr-request-meta span){color:#edf1f4!important}
html[data-theme="dark"] main .lr-page :where(.lr-head p,.lr-stat small,.lr-panel-head p,.lr-guide-item span,.lr-details,.lr-count,.lr-submit-note,.lr-request-meta small){color:#aab3bb!important}
html[data-theme="dark"] main .lr-page .lr-stat:after{color:#c78578!important}
html[data-theme="dark"] main .lr-page .lr-stat:hover,
html[data-theme="dark"] main .lr-page .lr-stat:focus-visible{background:#20262c!important}
html[data-theme="dark"] main .lr-page .lr-form .form-label{color:#cbd3d9!important}
html[data-theme="dark"] main .lr-page :where(.form-control,.form-select){background-color:#12161a!important;color:#edf1f4!important;border-color:#414850!important}
html[data-theme="dark"] main .lr-page :where(.form-control,.form-select)::placeholder{color:#87929a!important}
html[data-theme="dark"] main .lr-page .form-control[readonly]{background:#181d22!important;color:#dce2e6!important}
html[data-theme="dark"] main .lr-page .lr-guide-item:not(:last-child):after{background:#414850!important}
html[data-theme="dark"] main .lr-page .lr-secure{background:#162038!important;color:#a4bcfd!important;border-color:#2b4a85!important}
html[data-theme="dark"] main .lr-page .lr-table{--bs-table-bg:#181d22;--bs-table-color:#edf1f4;--bs-table-border-color:#343b42}
html[data-theme="dark"] main .lr-page .lr-table th{background:#20262c!important;color:#cbd3d9!important}
html[data-theme="dark"] main .payslip-centre .ps-stat.ps-summary-trigger{background:#181d22!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] main .payslip-centre .ps-stat.ps-summary-trigger:hover{background:#20262c!important}
html[data-theme="dark"] main .payslip-centre .ps-summary-trigger :where(strong){color:#edf1f4!important}
html[data-theme="dark"] main .payslip-centre .ps-summary-trigger :where(small,span){color:#aab3bb!important}
html[data-theme="dark"] main .payslip-centre .ps-summary-main.ps-summary-trigger :where(strong,small,span){color:#fff!important}
html[data-theme="dark"] main .signature-centre .sg-stat:hover,
html[data-theme="dark"] main .signature-centre .sg-stat.active{background:#20262c!important}
html[data-theme="dark"] main .signature-centre .sg-summary-main :where(strong,small,span){color:#fff!important}

/* Employee Bank & Payment headings and method overview. */
html[data-theme="dark"] main .pm-page{--pm-ink:#edf1f4!important;--pm-muted:#aab3bb!important;--pm-line:#343b42!important;--pm-soft:#20262c!important}
html[data-theme="dark"] main .pm-page :where(.pm-head h1,.pm-overview h2,.pm-title h3,.pm-info strong,.pm-empty-state strong,.pm-form-head strong){color:#edf1f4!important}
html[data-theme="dark"] main .pm-page :where(.pm-head p,.pm-overview span,.pm-title p,.pm-info small,.pm-empty-state span,.pm-form-head span){color:#aab3bb!important}
html[data-theme="dark"] main .pm-page .pm-security{background:#1b1f25!important;color:#a4bcfd!important;border-color:#2b4a85!important}

/* My Profile and Documents: readable controls and document surfaces. */
html[data-theme="dark"] main .my-profile{--mp-dark:#edf1f4!important;--mp-muted:#aab3bb!important;--mp-line:#343b42!important;--mp-soft:#20262c!important}
html[data-theme="dark"] main .my-profile :where(.mp-panel-head h2,.mp-info span,.mp-doc-details strong,.mp-form-section h3){color:#edf1f4!important}
html[data-theme="dark"] main .my-profile :where(.mp-panel-head p,.mp-info small,.mp-doc-details small,.mp-form-section p,.form-label){color:#aab3bb!important}
html[data-theme="dark"] main .my-profile .mp-tab:not(.active){color:#cbd3d9!important}
html[data-theme="dark"] main .my-profile .mp-tab:not(.active):hover{background:#292f35!important;color:#84adff!important}
html[data-theme="dark"] main .my-profile :where(.form-control,.form-select){background-color:#12161a!important;color:#edf1f4!important;border-color:#414850!important}
html[data-theme="dark"] main .my-profile :where(.form-control,.form-select)::placeholder{color:#87929a!important}
html[data-theme="dark"] main .my-profile input[type="file"].form-control{padding:0!important;overflow:hidden;background:#12161a!important;color:#dce2e6!important}
html[data-theme="dark"] main .my-profile input[type="file"].form-control::file-selector-button{height:47px;margin:0 .8rem 0 0;padding:0 1rem;border:0;border-right:1px solid #414850;background:#162038;color:#84adff;font-weight:500;cursor:pointer}
html[data-theme="dark"] main .my-profile input[type="file"].form-control:hover::file-selector-button{background:#155eef;color:#fff}
html[data-theme="dark"] main .my-profile input[type="file"].form-control:focus{border-color:#1f3a7a!important;box-shadow:0 0 0 3px rgba(185,29,6,.18)!important}
html[data-theme="dark"] main .my-profile :where(.mp-doc-card,.mp-doc-replace){background:#181d22!important;color:#edf1f4!important;border-color:#343b42!important}
html[data-theme="dark"] main .my-profile .mp-doc-action{background:#20262c!important;color:#dce2e6!important;border-color:#4a525a!important}
html[data-theme="dark"] main .my-profile .mp-doc-action:hover{color:#84adff!important;border-color:#1f3a7a!important}
html[data-theme="dark"] main .my-profile .mp-doc-action.edit{color:#84adff!important;border-color:#1f3a7a!important}

/* Compact employee payment-method cards. */
main .pm-page .pm-grid{align-items:start;gap:.8rem}
main .pm-page .pm-card{border-radius:13px}
main .pm-page .pm-card-head{padding:.78rem .9rem}
main .pm-page .pm-icon{width:36px;height:36px;border-radius:9px}
main .pm-page .pm-icon svg{width:18px;height:18px}
main .pm-page .pm-title h3{font-size:.94rem}
main .pm-page .pm-title p{margin-top:.12rem;font-size:.64rem}
main .pm-page .pm-body{padding:.85rem .9rem}
main .pm-page .pm-active-label{margin-bottom:.55rem}
main .pm-page .pm-details{gap:.5rem}
main .pm-page .pm-info{padding:.55rem .62rem;border-radius:8px}
main .pm-page .pm-info strong{margin-top:.16rem;font-size:.77rem}
main .pm-page .pm-empty-state{min-height:88px;padding:.72rem}
main .pm-page .pm-empty-mark{width:36px;height:36px;font-size:1rem}
main .pm-page .pm-alert{margin-top:.6rem;padding:.55rem .62rem}
main .pm-page .pm-edit{min-height:36px;margin-top:.7rem;padding:.45rem .7rem}
@media(max-width:767.98px){main .pm-page .pm-card-head{padding:.8rem}main .pm-page .pm-body{padding:.8rem}main .pm-page .pm-info{padding:.62rem}.my-profile .mp-doc-card{padding:.75rem}}

/* Payment methods as compact, glanceable credit cards. Full data remains in the click dialog. */
main .pm-page .pm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
main .pm-page .pm-card:not(.editing){position:relative;min-height:218px;overflow:hidden;border:0!important;border-radius:18px;color:#fff;box-shadow:none}
main .pm-page .pm-card:not(.editing):before,
main .pm-page .pm-card:not(.editing):after{content:"";position:absolute;z-index:0;border:1px solid rgba(255,255,255,.16);border-radius:50%;pointer-events:none}
main .pm-page .pm-card:not(.editing):before{width:190px;height:190px;right:-78px;top:-105px}
main .pm-page .pm-card:not(.editing):after{width:130px;height:130px;right:-54px;bottom:-78px}
main .pm-page .pm-card[data-method-type="bank"]:not(.editing){background:linear-gradient(135deg,#7e1202 0%,#155eef 62%,#d13a21 100%)!important}
main .pm-page .pm-card[data-method-type="bkash"]:not(.editing){background:linear-gradient(135deg,#9b104c 0%,#d51b68 62%,#eb4d88 100%)!important}
main .pm-page .pm-card[data-method-type="nagad"]:not(.editing){background:linear-gradient(135deg,#a94506 0%,#ee6c12 62%,#f39442 100%)!important}
main .pm-page .pm-card[data-method-type="other"]:not(.editing){background:linear-gradient(135deg,#493078 0%,#7653aa 62%,#9473c4 100%)!important}
main .pm-page .pm-card.not-added:not(.editing){opacity:.88}
main .pm-page .pm-card:not(.editing) :where(.pm-card-head,.pm-body){position:relative;z-index:1;background:transparent!important;border:0!important}
main .pm-page .pm-card:not(.editing) .pm-card-head{padding:1rem 1.1rem .45rem}
main .pm-page .pm-card:not(.editing) .pm-body{padding:.5rem 1.1rem 1rem}
main .pm-page .pm-card:not(.editing) .pm-icon{background:rgba(255,255,255,.14)!important;color:#fff!important;border-color:rgba(255,255,255,.25)!important}
main .pm-page .pm-card:not(.editing) :where(.pm-title h3,.pm-title p,.pm-active-label span,.pm-active-label strong,.pm-info small,.pm-info strong,.pm-empty-state strong,.pm-empty-state span){color:#fff!important}
main .pm-page .pm-card:not(.editing) :where(.pm-title p,.pm-active-label span,.pm-info small,.pm-empty-state span){opacity:.72}
main .pm-page .pm-card:not(.editing) .pm-status{background:rgba(255,255,255,.9)!important;color:#435049!important}
main .pm-page .pm-card:not(.editing) .pm-details{display:grid;grid-template-columns:1fr 1fr;gap:.35rem .8rem}
main .pm-page .pm-card:not(.editing) .pm-info{padding:.25rem 0;background:transparent!important;border:0!important}
main .pm-page .pm-card:not(.editing) .pm-info.wide{grid-column:1/-1;padding:.48rem 0 .38rem;border-top:1px solid rgba(255,255,255,.18)!important;border-bottom:1px solid rgba(255,255,255,.18)!important}
main .pm-page .pm-card[data-method-type="bank"]:not(.editing) .pm-info:nth-child(n+4){display:none}
main .pm-page .pm-card:not(.editing) .pm-empty-state{min-height:74px;padding:.4rem 0;background:transparent!important;border:0!important}
main .pm-page .pm-card:not(.editing) .pm-empty-mark{background:rgba(255,255,255,.14)!important;color:#fff!important}
main .pm-page .pm-card:not(.editing) .pm-alert{background:rgba(255,255,255,.12)!important;color:#fff!important;border-color:rgba(255,255,255,.2)!important}
main .pm-page .pm-card:not(.editing) .pm-edit{margin-top:.55rem;background:rgba(255,255,255,.12)!important;color:#fff!important;border-color:rgba(255,255,255,.48)!important}
main .pm-page .pm-card:not(.editing) .pm-edit:hover{background:#fff!important;color:#9a1704!important}
main .pm-page .pm-card:hover{transform:translateY(-2px)}
main .pm-page .pm-card.editing{grid-column:1/-1;background:#fff}
html[data-theme="dark"] main .pm-page .pm-card.editing{background:#181d22!important;border:1px solid #414850!important}
@media(max-width:767.98px){main .pm-page .pm-grid{grid-template-columns:1fr}main .pm-page .pm-card:not(.editing){min-height:205px;border-radius:16px}main .pm-page .pm-card:hover{transform:none}}

/* Dark credit cards use one continuous, subdued surface (no nested black boxes). */
html[data-theme="dark"] main .pm-page .pm-card[data-method-type="bank"]:not(.editing){background:linear-gradient(135deg,#171c26 0%,#542016 66%,#713020 100%)!important}
html[data-theme="dark"] main .pm-page .pm-card[data-method-type="bkash"]:not(.editing){background:linear-gradient(135deg,#251820 0%,#521c38 66%,#702548 100%)!important}
html[data-theme="dark"] main .pm-page .pm-card[data-method-type="nagad"]:not(.editing){background:linear-gradient(135deg,#161b25 0%,#593018 66%,#744322 100%)!important}
html[data-theme="dark"] main .pm-page .pm-card[data-method-type="other"]:not(.editing){background:linear-gradient(135deg,#1d1a25 0%,#35264d 66%,#493565 100%)!important}
html[data-theme="dark"] main .pm-page article.pm-card:not(.editing) > :where(.pm-card-head,.pm-body),
html[data-theme="dark"] main .pm-page article.pm-card:not(.editing) .pm-details,
html[data-theme="dark"] main .pm-page article.pm-card:not(.editing) .pm-info,
html[data-theme="dark"] main .pm-page article.pm-card:not(.editing) .pm-empty-state{background-color:transparent!important;background-image:none!important}
html[data-theme="dark"] main .pm-page article.pm-card:not(.editing) .pm-info{border-color:transparent!important}
html[data-theme="dark"] main .pm-page article.pm-card:not(.editing) .pm-info.wide{border-top-color:rgba(255,255,255,.16)!important;border-bottom-color:rgba(255,255,255,.16)!important}

/* Employee Management */
html[data-theme="dark"] main .em-page{--em-ink:#edf1f4!important;--em-muted:#aab3bb!important;--em-line:#343b42!important;--em-soft:#20262c!important}
html[data-theme="dark"] main :where(.em-head h1,.em-stat strong,.em-panel-head h2,.em-name,.em-role strong,.em-salary,.em-card-details span){color:#edf1f4!important}
html[data-theme="dark"] main :where(.em-head p,.em-stat small,.em-stat span,.em-showing,.em-panel-head span,.em-code,.em-email,.em-role small,.em-card-details small,.em-empty){color:#aab3bb!important}
html[data-theme="dark"] main :where(.em-stats,.em-toolbar,.em-panel,.em-card){border-color:#343b42!important}
html[data-theme="dark"] main .em-filter:not(.active){color:#c4ccd2!important}
html[data-theme="dark"] main .em-filter:not(.active):hover{background:#292f35!important;color:#84adff!important}
html[data-theme="dark"] main .em-filter.active{background:#162038!important;color:#84adff!important;border-color:#2b4a85!important}
html[data-theme="dark"] main .em-avatar{background:#162038!important;color:#84adff!important;border-color:#2b4a85!important}
html[data-theme="dark"] main .em-action:not(.approve){background:#20262c!important;color:#dce2e6!important;border-color:#4a525a!important}
html[data-theme="dark"] main :where(.em-action.reject,.em-action.remove){color:#84adff!important;border-color:#1f3a7a!important}
html[data-theme="dark"] main .em-card-details{border-color:#414850!important}

/* Employee profile editor */
html[data-theme="dark"] main .ef-page{
  --ef-ink:#edf1f4!important;
  --ef-muted:#aab3bb!important;
  --ef-line:#343b42!important;
  --ef-soft:#20262c!important;
}
html[data-theme="dark"] main :where(.ef-head h1,.ef-identity strong,.ef-section-head h2){color:#edf1f4!important}
html[data-theme="dark"] main :where(.ef-head p,.ef-identity span,.ef-section-head p,.ef-footer small,.ef-hint,.ef-salary-intro span){color:#aab3bb!important}
html[data-theme="dark"] main :where(.ef-aside,.ef-section,.ef-footer){background:#181d22!important;border-color:#343b42!important}
html[data-theme="dark"] main :where(.ef-identity,.ef-section-head){background:#20262c!important;border-color:#343b42!important}
html[data-theme="dark"] main .ef-avatar{background:#162038!important;color:#84adff!important;border-color:#2b4a85!important}
html[data-theme="dark"] main .ef-nav a{color:#cbd2d7!important}
html[data-theme="dark"] main .ef-nav a:hover{background:#292f35!important;color:#84adff!important}
html[data-theme="dark"] main .ef-nav i{color:#aab3bb!important;border-color:#4a525a!important}
html[data-theme="dark"] main .ef-field label{color:#cbd2d7!important}
html[data-theme="dark"] main :where(.ef-field .form-control,.ef-field .form-select){background-color:#12161a!important;color:#edf1f4!important;border-color:#414850!important}
html[data-theme="dark"] main .ef-field .form-control[readonly]{background:#20262c!important;color:#aab3bb!important}
html[data-theme="dark"] main :where(.ef-field .form-control::placeholder,.ef-field textarea::placeholder){color:#7f8991!important}
html[data-theme="dark"] main .ef-salary-intro{background:#1e2127!important;border-color:#2b4a85!important}
html[data-theme="dark"] main :where(.ef-back,.ef-cancel,.ef-mobile-nav a){background:#20262c!important;color:#dce2e6!important;border-color:#4a525a!important}
html[data-theme="dark"] main :where(.ef-back,.ef-cancel,.ef-mobile-nav a):hover{background:#292f35!important;color:#84adff!important;border-color:#1f3a7a!important}
html[data-theme="dark"] main .ef-alert{background:#2a2519!important;color:#f0d58d!important;border-color:#6c5a2d!important}
html[data-theme="dark"] main .ef-footer{box-shadow:0 -8px 22px rgba(10,13,16,.32)!important}

/* Master search interactive summaries */
.master-result-fact{cursor:pointer;transition:background-color .18s ease}
.master-result-fact:hover{background:#f5f8ff}
html[data-theme="dark"] .master-result-fact:hover{background:#292f35!important}

/* Employee payment methods — compact professional directory */
.epm-page .epm-head h1{font-size:clamp(1.75rem,2.5vw,2.2rem);letter-spacing:-.025em}.epm-page .epm-head p{font-size:.86rem}.epm-page .epm-kicker{font-size:.65rem;color:#52627b;text-transform:none;letter-spacing:0}
.epm-method-title{display:flex;align-items:center;min-width:0;gap:.32rem;white-space:nowrap}.epm-method-logo{display:grid;place-items:center;width:17px;height:17px;flex:0 0 17px;overflow:hidden}.epm-method-logo svg{display:block;width:100%;height:100%;overflow:visible}.epm-method-logo img{display:block;width:100%;height:100%;object-fit:contain}.epm-method-logo img.epm-nagad-source{width:auto;max-width:none;height:100%;justify-self:start}.epm-modal-title{display:flex!important;align-items:center;gap:.5rem;white-space:nowrap}.epm-modal-title .epm-method-logo{width:24px;height:24px;flex-basis:24px}.epm-type-bank .epm-method-logo{color:#1768a5}.epm-type-bkash .epm-method-logo{color:#d12063}.epm-type-nagad .epm-method-logo{color:#ed6b1a}.epm-type-other .epm-method-logo{color:#7052a3}.epm-page .epm-employee.details-open .epm-method-logo{width:22px;height:22px;flex-basis:22px}
.epm-page .epm-stat:before{display:none!important}.epm-stat-icon{grid-row:1/4;align-self:center;display:grid;place-items:center;width:50px;height:50px;border-radius:13px;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 7px 17px rgba(31,50,90,.16)}.epm-stat-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.epm-stat:nth-child(1) .epm-stat-icon{background:linear-gradient(145deg,#2878f4,#0b4bc5)}.epm-stat:nth-child(2) .epm-stat-icon{background:linear-gradient(145deg,#28ae6b,#087540)}.epm-stat:nth-child(3) .epm-stat-icon{background:linear-gradient(145deg,#ff922f,#ed5908)}.epm-stat:nth-child(4) .epm-stat-icon{background:linear-gradient(145deg,#f24473,#cb174b)}@media(max-width:767px){.epm-stat-icon{width:40px;height:40px;border-radius:11px}.epm-stat-icon svg{width:23px;height:23px}}
.epm-page .epm-head{align-items:center}.epm-page .epm-head-note{display:flex;align-items:center;gap:.65rem;max-width:420px;padding:.85rem 1rem;border-color:#d9d6f7;background:#fafaff;color:#4e5870}.epm-page .epm-head-note:before{content:"ⓘ";color:#315ee8;font-size:1.05rem}.epm-page .epm-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;overflow:visible;border:0;background:transparent}.epm-page .epm-stat,.epm-page .epm-stat:first-child{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:.85rem;min-height:112px;padding:.9rem 1rem;border:1px solid #e1e5ec!important;border-radius:13px!important;background:#fff!important;color:#20272e!important;box-shadow:0 5px 16px rgba(33,45,70,.055)}.epm-page .epm-stat:before{grid-row:1/4;align-self:center;display:grid;place-items:center;width:50px;height:50px;border-radius:12px;color:#fff;font-size:1.35rem}.epm-page .epm-stat:nth-child(1):before{content:"♙";background:linear-gradient(135deg,#1264e8,#0848bd)}.epm-page .epm-stat:nth-child(2):before{content:"✓";background:linear-gradient(135deg,#18a65e,#08733e)}.epm-page .epm-stat:nth-child(3):before{content:"◷";background:linear-gradient(135deg,#ff8a22,#e85605)}.epm-page .epm-stat:nth-child(4):before{content:"×";background:linear-gradient(135deg,#f23e6c,#c81749)}.epm-page .epm-stat small{align-self:end;color:#66738a!important;font-size:.61rem}.epm-page .epm-stat strong{align-self:center;margin:0;font-size:1.35rem}.epm-page .epm-stat:after{align-self:start;color:#7c8798;font-size:.62rem}.epm-page .epm-stat:nth-child(1):after{content:"Active employees"}.epm-page .epm-stat:nth-child(2):after{content:"All verified methods"}.epm-page .epm-stat:nth-child(3):after{content:"Awaiting your review"}.epm-page .epm-stat:nth-child(4):after{content:"Needs attention"}.epm-page .epm-stat:hover,.epm-page .epm-stat.active{transform:translateY(-2px);border-color:#bfcbee!important;box-shadow:0 10px 24px rgba(34,64,130,.1)}.epm-page .epm-stat.active{outline:2px solid rgba(36,99,235,.14);outline-offset:0}.epm-page .epm-toolbar{align-items:flex-end;margin:1.2rem 0 .9rem}.epm-page .epm-toolbar>h2{margin-right:auto}.epm-toolbar-tools{display:flex;align-items:center;gap:.55rem}.epm-page .epm-search{width:320px;border-color:#dce1e8}.epm-filter-select{min-width:145px;min-height:42px;padding:.5rem 2rem .5rem .7rem;border:1px solid #dce1e8;border-radius:9px;background:#fff;color:#364153;font-size:.72rem}.epm-view-toggle{display:flex;padding:.22rem;border:1px solid #dce1e8;border-radius:9px;background:#fff}.epm-view-button{display:grid;place-items:center;width:35px;height:35px;border:0;border-radius:7px;background:transparent;color:#657187}.epm-view-button.active{background:#edf3ff;color:#175fe5}.epm-page .epm-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.epm-page .epm-employee{display:flex;flex-direction:column;border-color:#dfe4ec;border-radius:13px;box-shadow:0 5px 15px rgba(35,45,65,.045);transition:.18s}.epm-page .epm-employee:hover{transform:translateY(-2px);border-color:#cad4e8;box-shadow:0 11px 24px rgba(35,55,95,.08)}.epm-page .epm-employee-head{padding:.85rem;border:0;background:linear-gradient(135deg,#fbfaff,#fff)}.epm-page .epm-employee-head .epm-person{min-width:0;padding:0;background:transparent;color:#20272e}.epm-page .epm-employee-head .epm-person strong{color:#20272e}.epm-page .epm-employee-head .epm-person small{color:#68737c}.epm-page .epm-avatar{width:42px;height:42px;border:0;border-radius:50%;background:linear-gradient(135deg,#8b46ee,#5921bd);color:#fff;box-shadow:none}.epm-page .epm-method-count{padding:.3rem .52rem;border-color:#dfe3ea!important;background:#f8fafc!important;font-size:.62rem}.epm-page .epm-methods{grid-template-columns:repeat(4,minmax(0,1fr));gap:.42rem;padding:.55rem .7rem .7rem}.epm-page .epm-method{min-height:76px;padding:.52rem;border-top-width:1px;border-radius:8px;background:#fff!important}.epm-page .epm-method:before{display:none}.epm-page .epm-method-top{align-items:flex-start;flex-direction:column;gap:.28rem}.epm-page .epm-method h3{font-size:.64rem}.epm-page .epm-status{padding:.18rem .3rem;font-size:.52rem}.epm-page .epm-provider,.epm-page .epm-account,.epm-page .epm-submitted,.epm-page .epm-empty-text,.epm-page .epm-method>.epm-add,.epm-page .epm-actions.manage{display:none}.epm-detail-toggle{margin:auto .7rem .75rem;padding:.52rem;border:1px solid #d6dded;border-radius:8px;background:#fff;color:#315dc4;font-size:.68rem;font-weight:600}.epm-detail-toggle:hover{background:#f2f6ff}.epm-page .epm-employee.details-open .epm-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.epm-page .epm-employee.details-open .epm-method{min-height:180px;padding:.72rem}.epm-page .epm-employee.details-open .epm-method-top{align-items:center;flex-direction:row}.epm-page .epm-employee.details-open :is(.epm-provider,.epm-account,.epm-submitted,.epm-empty-text){display:block}.epm-page .epm-employee.details-open :is(.epm-method>.epm-add,.epm-actions.manage){display:flex}.epm-directory-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding:1rem;border:1px solid #e0e4eb;border-radius:12px;background:#fff}.epm-result-summary{color:#657187;font-size:.68rem}.epm-pages{display:flex;gap:.35rem}.epm-page-button{display:grid;place-items:center;min-width:34px;height:34px;padding:0 .45rem;border:1px solid #dfe3ea;border-radius:8px;background:#fff;color:#526075;font-size:.68rem}.epm-page-button.active{border-color:#2463eb;background:#2463eb;color:#fff}.epm-page-button:disabled{opacity:.4}.epm-page .epm-list.list-view{grid-template-columns:1fr}.epm-page .epm-list.list-view .epm-methods{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1199px){.epm-page .epm-list{grid-template-columns:repeat(2,minmax(0,1fr))}.epm-page .epm-toolbar{align-items:stretch;flex-direction:column}.epm-toolbar-tools{width:100%}.epm-page .epm-search{flex:1;width:auto}}@media(max-width:767px){.epm-page .epm-stats{grid-template-columns:1fr 1fr}.epm-page .epm-stat,.epm-page .epm-stat:first-child{grid-template-columns:42px minmax(0,1fr);min-height:96px;padding:.7rem}.epm-page .epm-stat:before{width:40px;height:40px}.epm-toolbar-tools{display:grid;grid-template-columns:1fr 1fr}.epm-page .epm-search{grid-column:1/-1;width:100%}.epm-page .epm-list{grid-template-columns:1fr}.epm-directory-footer{align-items:stretch;flex-direction:column}.epm-result-summary{text-align:center}.epm-pages{justify-content:center;flex-wrap:wrap}}@media(max-width:390px){.epm-page .epm-stats{grid-template-columns:1fr}.epm-toolbar-tools{grid-template-columns:1fr}.epm-page .epm-search{grid-column:auto}.epm-filter-select{width:100%}}
