/* THRS V14.68 | Approval Center Dark Mode – color-only parity.
   Never changes layout, geometry, page data, routes, requests, permissions,
   icons, SVGs, typography, pagination, or Light Mode.
   Applied after app CSS via direct versioned stylesheet. */
html[data-theme="dark"] body .thrs-approval-center{
 --ac-navy:#10283a!important;
 --ac-text:#eef4f8!important;
 --ac-muted:#c1d0db!important;
 --ac-border:#466478!important;
 --ac-card:#142d40!important;
 --ac-soft:#1a394d!important;
 --ac-gold:#d3a654!important;
 --ac-shadow:0 9px 22px rgba(0,7,18,.24),inset 0 1px 0 rgba(255,255,255,.035)!important;
 background:#091827!important;
 color:#eef4f8!important;
 color-scheme:dark!important;
}
/* Header artwork/background and geometry stay intact; refresh color only. */
html[data-theme="dark"] body .thrs-approval-center .ac-refresh{
 background:#214052!important;
 border-color:#648195!important;
 color:#ebf3f9!important;
 box-shadow:none!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-refresh:hover:not(:disabled){
 background:#2b4d61!important;
 border-color:#b2945a!important;
}
/* Four KPI cards – remove pastel icon tiles, keep semantics distinct. */
html[data-theme="dark"] body .thrs-approval-center .ac-stat{
 background:linear-gradient(145deg,#18354a,#132d40)!important;
 border-color:#49687d!important;
 color:#eaf2f7!important;
 box-shadow:0 7px 16px rgba(0,9,19,.20)!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-stat>div>span{
 color:#c0d0de!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-stat strong{
 color:#f0f5f8!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-stat .ac-stat-icon{
 background:#283e52!important;
 color:#abc7ea!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-stat-pending .ac-stat-icon{
 background:#443b2d!important;color:#e7bb70!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-stat-approved .ac-stat-icon{
 background:#1c463e!important;color:#a0e0c4!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-stat-rejected .ac-stat-icon{
 background:#49343e!important;color:#efadb7!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-error{
 background:#49372d!important;border-color:#a17856!important;color:#f0d6b7!important;
}
/* Workspace and all five tabs. Active tab uses muted cumin-gold border/tint. */
html[data-theme="dark"] body .thrs-approval-center .ac-workspace{
 background:#142d40!important;
 border-color:#4a6b80!important;
 box-shadow:0 11px 24px rgba(0,8,21,.24)!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-tabs{
 background:#19374b!important;
 border-bottom-color:#4c6a7e!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-tab:not(.is-active){
 background:transparent!important;
 border-color:transparent!important;
 color:#cad9e4!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-tab:not(.is-active):hover{
 background:#25475b!important;border-color:#45687d!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-tab.is-active{
 background:#0f293d!important;
 border-color:#9f8455!important;
 color:#f0d194!important;
 box-shadow:0 3px 9px rgba(0,8,18,.17)!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-tab small{
 background:#29485b!important;color:#d3e0ea!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-tab.is-active small{
 background:#473d2c!important;color:#f3d399!important;
}
/* Search, source/status dropdowns and option popups: never pale. */
html[data-theme="dark"] body .thrs-approval-center .ac-toolbar{
 background:#1a394d!important;border-bottom-color:#47697e!important;
}
html[data-theme="dark"] body .thrs-approval-center :is(.ac-search,.ac-select){
 background:#173449!important;border-color:#537489!important;
 color:#d3ad64!important;
 box-shadow:none!important;
}
html[data-theme="dark"] body .thrs-approval-center :is(.ac-search,.ac-select):focus-within{
 border-color:#c39a58!important;
 box-shadow:0 0 0 2px rgba(211,166,84,.13)!important;
}
html[data-theme="dark"] body .thrs-approval-center :is(.ac-search input,.ac-select select){
 background:transparent!important;background-color:transparent!important;
 border-color:transparent!important;
 color:#eff5f9!important;-webkit-text-fill-color:#eff5f9!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-search input::placeholder{
 color:#bacdd9!important;-webkit-text-fill-color:#bacdd9!important;opacity:1!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-select select option{
 background:#19384d!important;color:#edf5f9!important;
}
/* Inbox title, header, alternating rows and employee identities. */
html[data-theme="dark"] body .thrs-approval-center .ac-list-header{
 background:#142f42!important;color:#eef4f8!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-list-header h2{
 color:#f0f5f8!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-list-header span{
 background:#234258!important;border-color:#547185!important;color:#d5e3ec!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-table-scroller{
 background:#142d40!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-table thead th{
 background:#112a3e!important;color:#d2dfe9!important;border-color:#4b687b!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-table tbody tr:nth-child(odd) td{
 background:#142e42!important;
 border-bottom-color:#405f73!important;
 color:#eef4f8!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-table tbody tr:nth-child(even) td{
 background:#1d3b4e!important;
 border-bottom-color:#48677c!important;
 color:#eef4f8!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-table tbody tr:hover td{
 background:#294a5c!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-avatar{
 background:linear-gradient(135deg,#254960,#163449)!important;
 border-color:#a98854!important;
 color:#f0d49b!important;
 box-shadow:none!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-person small{
 color:#bfd0dc!important;
}
/* Status and source pills: dark fills for pending/approved/rejected/TOS. */
html[data-theme="dark"] body .thrs-approval-center :is(.ac-status,.ac-source){
 background:#294658!important;
 border-color:#597488!important;
 color:#dceaf2!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-source-tos{
 background:#413a2d!important;border-color:#a88b54!important;color:#efd098!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-source-attendance{
 background:#203c53!important;border-color:#5b83a0!important;color:#c4dff0!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-status-pending{
 background:#493a29!important;border-color:#9d7c47!important;color:#f0d49b!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-status-approved{
 background:#194538!important;border-color:#49846e!important;color:#b5e7d1!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-status-rejected{
 background:#4b2f3a!important;border-color:#925f6b!important;color:#f0bbc5!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-status-muted{
 background:#2b4051!important;border-color:#61758a!important;color:#d1deea!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-review{
 background:#1d4053!important;border-color:#56768a!important;
 color:#eef5f8!important;box-shadow:none!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-review:hover{
 background:#294d61!important;border-color:#ad8d52!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-empty{
 color:#c1d1de!important;
}
/* Original pagination geometry + arrow direction, only deep slate colors. */
html[data-theme="dark"] body .thrs-approval-center .ac-footer{
 background:#193549!important;color:#cad9e4!important;
 border-top-color:#45667a!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-footer button{
 background:#19394d!important;border-color:#59788c!important;color:#eaf3f8!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-footer button:not(:disabled):hover{
 background:#304d60!important;border-color:#bd985b!important;
}
html[data-theme="dark"] body .thrs-approval-center .ac-footnote{
 color:#aebfce!important;
}
/* Embedded THRS/TOS approval modules retain their own workflow styles. */
html[data-theme="dark"] body .thrs-approval-center .ac-embedded{
 background:#142d40!important;
}
/* This file intentionally has NO width/height/display/grid/padding/gap/position
   rules. No Light Mode selectors and no component logic changed. */
