/* THRS V14.86 — Recovery Center / Midnight Navy & Cumin Gold, DARK COLORS ONLY.
 * Retains V14.49 hero illustration, layout, filters, 10-row pagination,
 * all audit/undo permissions, data, drawer/dialog behavior, RTL & Light Mode. */
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449{
 --rc49-bg:#173449!important;
 --rc49-soft:#203f53!important;
 --rc49-ink:#edf4f9!important;
 --rc49-muted:#c1d2df!important;
 --rc49-line:#4d6d81!important;
 --rc49-shadow:0 8px 21px rgba(0,8,20,.23),inset 0 1px 0 rgba(255,255,255,.035)!important;
 color-scheme:dark!important;
}
/* Four statistic cards: no light/pastel background in Dark Mode. */
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-kpis article{
 --rc49-accent:#b9cfe6!important;
 --rc49-tint:#294359!important;
 --rc49-wave:rgba(84,121,154,.11)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-kpis article.tone-green{
 --rc49-accent:#b7e4cc!important;
 --rc49-tint:#224b3d!important;
 --rc49-wave:rgba(82,139,110,.11)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-kpis article.tone-gold{
 --rc49-accent:#e8c88b!important;
 --rc49-tint:#4b412e!important;
 --rc49-wave:rgba(149,120,70,.12)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-kpis article.tone-purple{
 --rc49-accent:#d1bee9!important;
 --rc49-tint:#423b58!important;
 --rc49-wave:rgba(119,103,159,.10)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-kpi-icon{
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),0 3px 9px rgba(0,8,20,.15)!important;
}
/* Preserve the actual recovery status (indicator may also signal an error). */
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-badge>span{
 background:#62bf8d!important;box-shadow:0 0 0 3px rgba(98,191,141,.14)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-note>svg{
 color:#aac7df!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-phase{
 background:#234154!important;color:#d8e5ed!important;border-color:#5c798d!important;
}
/* Dark native selectors, including the 10-record pagination size menu. */
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-filter select,
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-filters select,
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-pagination-controls select{
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 select option{
 color:#eef5fa!important;background:#18384e!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-filter label svg,
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-filters label>svg{
 color:#d8b477!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-filter>button{
 background:linear-gradient(120deg,#24465c,#1b3b50)!important;
 color:#eef4f8!important;border-color:#638093!important;
}
/* Ledger badges: Update Application / Available / Recovered / Inactive. */
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-action{
 background:#2b4960!important;
 color:#c5ddf1!important;
 border-color:#587994!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-state.is-ready{
 background:#224c3d!important;
 color:#b9e9ce!important;
 box-shadow:inset 0 0 0 1px #579075!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-state.is-complete{
 background:#2b455b!important;
 color:#c7dbea!important;
 box-shadow:inset 0 0 0 1px #5c7b91!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-state.is-locked{
 background:#4e402d!important;
 color:#f0d39c!important;
 box-shadow:inset 0 0 0 1px #927a4d!important;
}
/* Undo is deliberately green but subdued; Inspect remains navy. */
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-actions button{
 background:#1d3c51!important;
 color:#e8f0f7!important;
 border-color:#56788d!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-actions button.is-undo{
 background:#28644e!important;
 color:#f0f9f4!important;
 border-color:#56947a!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-actions button:hover{
 filter:brightness(1.1)!important;
}
/* Pagination current page adopts cumin gold, never neon yellow. */
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-pagination-controls>button.is-current{
 background:linear-gradient(120deg,#dbb16d,#c89b51)!important;
 color:#152d3e!important;
 border-color:#bd9653!important;
 box-shadow:0 3px 8px rgba(0,8,20,.13)!important;
}
/* Activity feedback, empty ledger and reversible event warnings. */
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-empty svg{
 color:#dbb775!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-empty button{
 background:#25465a!important;
 color:#ebf4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-notice{
 background:#21483b!important;
 color:#bdebd1!important;
 border-color:#568a72!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-error{
 background:#4b333f!important;
 color:#f0bfca!important;
 border-color:#986777!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-error button{
 background:#244358!important;color:#eff5fa!important;
}
/* Inspect drawer and Confirm Undo dialogs retain their original placement. */
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-json{
 background:#102638!important;
 color:#dce9f3!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-drawer-undo{
 background:#28644e!important;
 color:#f0f9f4!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-warning{
 background:#4b4031!important;
 color:#efd6a3!important;
 border-color:#977d4d!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-modal textarea{
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-recovery-v1449 .thrs-recovery-modal-actions button.is-primary{
 background:#28644e!important;
 color:#f1fbf5!important;
 border-color:#56947a!important;
}
/* Only visual paint is overridden — no geometry, data, behavior, permission,
 * app logic, original hero SVG or Light Mode selectors are modified. */
