/* THRS V14.85 — Pending Actions: Midnight Navy + Cumin Gold DARK-ONLY paint refinement.
   Preserves V14.48 hero illustration, layout, table geometry, filters, pagination,
   authorization, review logic, approval/rejection confirmation and Light Mode. */
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448{
 --pa-bg:#173349!important;
 --pa-soft:#203e52!important;
 --pa-ink:#edf4f9!important;
 --pa-muted:#c1d2df!important;
 --pa-border:#4d6d81!important;
 --pa-shadow:0 8px 21px rgba(0,8,20,.23),inset 0 1px 0 rgba(255,255,255,.035)!important;
 color-scheme:dark!important;
}
/* Do not modify the SVG or the hero geometry. Four semantic KPI icon wells. */
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-kpi{
 --pa-accent:#e5c386!important;
 --pa-tint:#4b402e!important;
 --pa-wave:rgba(155,124,72,.11)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-kpi.tone-green{
 --pa-accent:#aee0c3!important;
 --pa-tint:#224a3d!important;
 --pa-wave:rgba(84,143,110,.11)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-kpi.tone-red{
 --pa-accent:#e9b5bf!important;
 --pa-tint:#4d343f!important;
 --pa-wave:rgba(154,95,110,.11)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-kpi.tone-purple{
 --pa-accent:#cdbce6!important;
 --pa-tint:#403b56!important;
 --pa-wave:rgba(120,106,157,.10)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-kpi-icon{
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),0 3px 9px rgba(0,8,20,.15)!important;
}
/* Filter controls: dark native dropdown menus instead of forced light. */
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-filter select,
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-pagination-controls select{
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-filter select option,
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-pagination-controls select option{
 background:#1c3a4e!important;
 color:#ecf4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 :is(.thrs-pa-search,.thrs-pa-filter)>svg{
 color:#d7b26f!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-date svg{
 color:#a1bdd2!important;
}
/* Governed action and status badges: preserve meaning, lower brightness. */
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-action-tag{
 background:#4d3440!important;
 color:#ebbdc8!important;
 box-shadow:inset 0 0 0 1px #926979!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-action-tag.is-undo{
 background:#2b4660!important;
 color:#c3daf1!important;
 box-shadow:inset 0 0 0 1px #5e7f9b!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-target>span{
 background:#29465d!important;
 color:#bfd9ee!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-avatar{
 background:linear-gradient(135deg,#354e69,#30455b)!important;
 color:#e5d3ab!important;
 box-shadow:inset 0 0 0 1px #5b7690!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-status{
 background:#4c402d!important;
 color:#efd39b!important;
 box-shadow:inset 0 0 0 1px #91784c!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-status.is-approved{
 background:#21483a!important;
 color:#b6e6cc!important;
 box-shadow:inset 0 0 0 1px #548a71!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-status.is-rejected{
 background:#4e333d!important;
 color:#edb5c0!important;
 box-shadow:inset 0 0 0 1px #976572!important;
}
/* Approval and rejection controls remain distinct, with restrained contrast. */
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-actions button{
 background:#224a3d!important;
 color:#bde9d0!important;
 border-color:#5a9076!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-actions button.is-reject{
 background:#4c333e!important;
 color:#f1c1cb!important;
 border-color:#a16e7b!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-actions button:hover{
 filter:brightness(1.11)!important;
}
/* Pagination active uses cumin instead of fluorescent yellow. */
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-pagination-controls>button.is-current{
 background:linear-gradient(120deg,#dbb16c,#c69a50)!important;
 color:#152b3c!important;
 border-color:#bc9654!important;
 box-shadow:0 3px 8px rgba(0,8,20,.13)!important;
}
/* Alerts/empty and review modal dark-mode only. */
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-empty svg{
 color:#d5ae6c!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-empty button{
 background:#24455a!important;
 color:#eef5fa!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-message{
 background:#21473a!important;
 color:#b7e6cd!important;
 border-color:#568c75!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-error{
 background:#49333e!important;
 color:#edbdc8!important;
 border-color:#986b7a!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-error button{
 background:#244257!important;
 color:#edf5fa!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-modal>span{
 color:#e0be81!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-warning{
 background:#493f31!important;
 color:#f0d4a2!important;
 border-color:#90764c!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-modal textarea{
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-modal-footer button.is-approve{
 background:#28624d!important;
 color:#f1fbf5!important;
 border-color:#57977d!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-pending-v1448 .thrs-pa-modal-footer button.is-reject{
 background:#894352!important;
 color:#fff1f3!important;
 border-color:#af6373!important;
}
/* Strictly scoped paint only: NO size/position, data, policies or Light Mode rules. */
