/* THRS V14.75 — Benefits Administration Dark Mode palette only.
   Keep approved V14.37 shield/wave SVG, grid/table sizes, all rows and actions.
   No DOM, Light Mode, geometry, permission, currency, API or data changes. */
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits{
 --bn37-paper:#142d40!important;
 --bn37-soft:#203d51!important;
 --bn37-ink:#edf4f8!important;
 --bn37-muted:#c1d2dd!important;
 --bn37-border:#4d6a7e!important;
 --bn37-gold:#d3a654!important;
 --bn37-shadow:0 8px 20px rgba(0,8,20,.23),inset 0 1px 0 rgba(255,255,255,.035)!important;
 color-scheme:dark!important;
}
/* Hero retains identical geometric shield, gold wave artwork and typography. */
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits>.thrs-benefits-hero .thrs-btn-secondary{
 background:linear-gradient(145deg,#1e3b4f,#132e41)!important;
 color:#ecf4f9!important;
 border-color:#5d7a8d!important;
 box-shadow:0 5px 12px rgba(0,8,20,.18)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits>.thrs-benefits-hero .thrs-btn-primary{
 background:linear-gradient(135deg,#dfb873,#cda256)!important;
 color:#142c3f!important;
 border-color:#c19b59!important;
 box-shadow:0 5px 12px rgba(0,8,20,.18)!important;
}
/* Preserve the two stat cards, remove bright pastel wells of Lucide icons. */
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits>.thrs-benefits-stats-grid>.thrs-card{
 background:radial-gradient(circle at 92% 125%,rgba(100,127,153,.1),transparent 46%),linear-gradient(135deg,#1c3b50,#142d40)!important;
 border-color:#4e6e81!important;
 box-shadow:0 7px 17px rgba(0,8,19,.2)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits>.thrs-benefits-stats-grid>.thrs-card:nth-child(2){
 background:radial-gradient(circle at 92% 122%,rgba(72,134,107,.1),transparent 45%),linear-gradient(135deg,#1b3d4d,#142d40)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits>.thrs-benefits-stats-grid svg{
 color:#afc9e4!important;
 background:#283f55!important;
 box-shadow:0 4px 10px rgba(0,8,20,.16)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits>.thrs-benefits-stats-grid>.thrs-card:nth-child(2) svg{
 color:#addfc8!important;
 background:#1d493d!important;
}
/* Filters: dark dropdowns, not forced light native option menus. */
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits>.thrs-benefits-filters-card select{
 background:#1b394c!important;
 border-color:#5b788c!important;
 color:#ecf4f9!important;
 -webkit-text-fill-color:#ecf4f9!important;
 color-scheme:dark!important;
 box-shadow:0 4px 11px rgba(0,8,20,.16)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits>.thrs-benefits-filters-card select option{
 background:#183448!important;
 color:#ecf4f9!important;
}
/* Alternating subdued navy rows; no change to text, columns or number of records. */
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table thead tr{
 background:linear-gradient(132deg,#1b394d,#143046)!important;
 border-bottom-color:#58778a!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table th{
 background:#1b3b4f!important;
 border-bottom-color:#577689!important;
 color:#e7eff6!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody tr:nth-child(odd) td{
 background:#142f43!important;
 border-bottom-color:#405e72!important;
 color:#ebf3f8!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody tr:nth-child(even) td{
 background:#203d51!important;
 border-bottom-color:#4c697c!important;
 color:#ebf3f8!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody tr:hover td{
 background:#29495b!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:nth-child(4)>div:first-child{
 color:#eaf3f8!important;
}
/* Benefits status chips use inline React backgrounds, so identify the exact
   ACTIVE/INACTIVE semantic source style instead of altering any state logic. */
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:nth-child(6)>span[style*="#dcfce7"],
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:nth-child(6)>span[style*="220, 252, 231"]{
 background:#194538!important;
 color:#b9ead2!important;
 border-color:#4f8a73!important;
 box-shadow:inset 0 0 0 1px #4f8a73!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:nth-child(6)>span[style*="#fee2e2"],
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:nth-child(6)>span[style*="254, 226, 226"]{
 background:#482f39!important;
 color:#efc0c8!important;
 border-color:#925c6b!important;
 box-shadow:inset 0 0 0 1px #925c6b!important;
}
/* Column 6 has only Active/Inactive chips in the original React table.
   Baseline Active survives browser normalization differences (hex/rgb/spaces);
   override Inactive by its original inline semantic color/background. */
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:nth-child(6)>span{
 background:#194538!important;
 color:#b9ead2!important;
 box-shadow:inset 0 0 0 1px #4f8a73!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:nth-child(6)>span[style*="254,226,226"],
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:nth-child(6)>span[style*="254, 226, 226"],
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:nth-child(6)>span[style*="#fee2e2"]{
 background:#482f39!important;
 color:#efc0c8!important;
 box-shadow:inset 0 0 0 1px #925c6b!important;
}
/* CTA action: darker red, quiet edit button, no change to handlers. */
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:last-child .thrs-btn-secondary{
 background:#1b3b4f!important;
 color:#eaf4f9!important;
 border-color:#58788a!important;
 box-shadow:0 3px 9px rgba(0,8,19,.16)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:last-child .thrs-btn-danger{
 background:linear-gradient(135deg,#693944,#542d37)!important;
 color:#f7dce2!important;
 border-color:#a36775!important;
 box-shadow:0 4px 10px rgba(0,8,19,.16)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-benefits table tbody td:last-child .thrs-btn-danger:hover{
 background:linear-gradient(135deg,#774451,#60313d)!important;
}
/* No Light Mode or layout overrides. */
