/* THRS V14.82 — Reports Hub color refinement for DARK MODE only.
   Original V14.44 page layout, report catalogue, gold-wave hero SVG, card
   geometry, 3-column category grid, responsive/RTL behavior and Light Mode remain. */
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444{
 --rh44-paper:#162f43!important;
 --rh44-soft:#203c50!important;
 --rh44-ink:#edf4f8!important;
 --rh44-muted:#c0d1de!important;
 --rh44-border:#4d6e82!important;
 --rh44-shadow:0 8px 21px rgba(0,8,20,.23),inset 0 1px 0 rgba(255,255,255,.035)!important;
 color-scheme:dark!important;
}
/* Hero artwork and report illustration untouched; only the glaring WHITE controls change. */
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-search{
 background:#1d3a50!important;
 border-color:#658298!important;
 color:#d1e1ec!important;
 box-shadow:0 6px 13px rgba(0,8,22,.19)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-search>input{
 color:#eaf3f8!important;color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-search>input::placeholder{
 color:#a6bed0!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-search>button{
 background:#2b4a60!important;color:#d3e3ee!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-view-switch{
 background:#203d51!important;
 border-color:#56788e!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-view-switch button{
 color:#c9dae6!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-view-switch button.is-selected{
 background:linear-gradient(120deg,#0c2c41,#20465a)!important;
 color:#f0d4a0!important;
 box-shadow:0 4px 10px rgba(0,8,20,.18)!important;
}
/* Main category filters and tab selections: active navy, muted cumin badges. */
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-category-chips>button.is-active{
 background:#122f45!important;border-color:#bd9757!important;color:#f1d7a8!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-category-chips>button.is-active small{
 background:#4a402e!important;color:#edc98b!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-tabs>button.is-active{
 background:linear-gradient(120deg,#103147,#264b60)!important;
 color:#f0d9ad!important;
 box-shadow:0 4px 12px rgba(0,8,20,.16)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-heading-icon{
 background:#4b4030!important;
 color:#e3c17f!important;
 box-shadow:inset 0 0 0 1px #8a7348!important;
}
/* Featured report cards retain identical layout and accent lines, just a calmer golden glow. */
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-featured-card{
 background:radial-gradient(circle at 98% 100%,rgba(169,126,58,.36),transparent 44%),linear-gradient(130deg,#082b45,#153d58 76%,#2a4454)!important;
 box-shadow:0 9px 22px rgba(0,8,20,.23)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-featured-card .rh44-card-icon{
 background:#30475a!important;
 color:#e4c488!important;
 border-color:#5e7488!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-featured-card .rh44-favorite{
 background:#284458!important;
 color:#c4d8e5!important;
 border-color:#5f7b8e!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-featured-card .rh44-favorite.is-favorite,
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-favorite.is-favorite{
 background:#4b3e29!important;
 color:#ecd094!important;
 border-color:#9a7e4b!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-favorite{
 color:#b9cedd!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-featured-card .rh44-open-report{
 border-color:#8a805f!important;color:#eddfbf!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-open-report{
 color:#bad3e5!important;
}
/* Category-specific accent/tint variables from original inline React styles:
   override paint only, preserving categorical distinctions across report cards
   and 8 browse-category accordion cards. */
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 :is(.rh44-report-card,.rh44-category)[style*="#4f46e5"]{
 --rh44-accent:#b7b8e2!important;--rh44-tint:#383d5c!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 :is(.rh44-report-card,.rh44-category)[style*="#0ea5e9"]{
 --rh44-accent:#9dc6e0!important;--rh44-tint:#29485a!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 :is(.rh44-report-card,.rh44-category)[style*="#06b6d4"]{
 --rh44-accent:#9bd6dc!important;--rh44-tint:#244854!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 :is(.rh44-report-card,.rh44-category)[style*="#10b981"]{
 --rh44-accent:#a9d9c2!important;--rh44-tint:#254b3e!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 :is(.rh44-report-card,.rh44-category)[style*="#f59e0b"]{
 --rh44-accent:#e5c382!important;--rh44-tint:#4a412f!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 :is(.rh44-report-card,.rh44-category)[style*="#8b5cf6"]{
 --rh44-accent:#c4b7e5!important;--rh44-tint:#403b59!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 :is(.rh44-report-card,.rh44-category)[style*="#f97316"]{
 --rh44-accent:#e3b595!important;--rh44-tint:#4a3b38!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 :is(.rh44-report-card,.rh44-category)[style*="#3b82f6"]{
 --rh44-accent:#b5c9ed!important;--rh44-tint:#30425c!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 :is(.rh44-report-card,.rh44-category)[style*="#6366f1"]{
 --rh44-accent:#b6bde8!important;--rh44-tint:#343e5c!important;
}
/* Original placeholder/fallback categories must not become white. */
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-category-icon,
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-card-icon{
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.065)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-report-card:not(.rh44-featured-card) .rh44-card-icon,
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-category-icon{
 background:var(--rh44-tint,#2c4557)!important;
 color:var(--rh44-accent,#d9c08a)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-category-reports{
 background:#1a394d!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-expand-all{
 background:#224055!important;border-color:#5b7b8d!important;
 color:#e6eff6!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-empty>svg{
 color:#ddbb78!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-reports-v1444 .rh44-empty button{
 background:#24445a!important;color:#eaf3f8!important;
}
/* Strictly paint-only: no changes to geometry, header SVG, data or Light Mode. */
