/* THRS V14.73 — Team Reports Dark Mode contrast follow-up.
   Fix overbright performance-summary tiles and KPI icon wells only.
   Original approved hero/waves, all geometry, data, interactions, and Light Mode preserved. */
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:nth-child(2)>div:first-child>div{
 background:#1b384c!important;
 border:1px solid #4e6b7c!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:nth-child(2)>div:first-child>div:nth-child(1){
 background:linear-gradient(145deg,#1b403c,#163449)!important;
 border-color:#3c7766!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:nth-child(2)>div:first-child>div:nth-child(2){
 background:linear-gradient(145deg,#423a2b,#22384a)!important;
 border-color:#8c7149!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:nth-child(2)>div:first-child>div:nth-child(3){
 background:linear-gradient(145deg,#452f3a,#253346)!important;
 border-color:#875665!important;
}
/* SVG icons and metric numbers: muted accessible semantic accent, never neon. */
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:nth-child(2)>div:first-child>div:nth-child(1) :is(svg,div[style*="font-size: 24px"]){
 color:#92d6b8!important;stroke:#92d6b8!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:nth-child(2)>div:first-child>div:nth-child(2) :is(svg,div[style*="font-size: 24px"]){
 color:#ebc887!important;stroke:#ebc887!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:nth-child(2)>div:first-child>div:nth-child(3) :is(svg,div[style*="font-size: 24px"]){
 color:#edb2be!important;stroke:#edb2be!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:nth-child(2)>div:first-child>div>div:last-child{
 color:#d4e0e9!important;
}
/* Keep average-rating panel intact; its number was overly vivid violet. */
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:nth-child(2)>div:last-child>div:nth-child(2){
 color:#e1bd79!important;
}
/* Muted icon wells for overview metrics, with each category still distinguishable. */
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:nth-child(4):not(:has(>.thrs-card))>div>div:last-child>div:last-child{
 background:linear-gradient(145deg,#2d4355,#20374b)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:nth-child(4):not(:has(>.thrs-card))>div:nth-child(1)>div:last-child>div:last-child{
 background:linear-gradient(145deg,#414064,#303b5b)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:nth-child(4):not(:has(>.thrs-card))>div:nth-child(2)>div:last-child>div:last-child{
 background:linear-gradient(145deg,#1b574a,#1b443e)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:nth-child(4):not(:has(>.thrs-card))>div:nth-child(3)>div:last-child>div:last-child{
 background:linear-gradient(145deg,#665029,#433d30)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:nth-child(4):not(:has(>.thrs-card))>div:nth-child(4)>div:last-child>div:last-child{
 background:linear-gradient(145deg,#60374d,#453042)!important;
}
/* Small section icon badges that were fixed to #eef2ff and #fdf2f8. */
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:first-child>div>div:first-child>div:first-child{
 background:#303e55!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:first-child>div:first-child{
 background:#463645!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:first-child>div>div:first-child>div:first-child svg{
 color:#c6d2f1!important;stroke:#c6d2f1!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports
 >div:has(>.thrs-card)>.thrs-card:nth-child(2)>div>div:first-child>div:first-child svg{
 color:#efb5cd!important;stroke:#efb5cd!important;
}
/* No dimensions, spacing, positioning, fonts, layout or Light Mode selectors. */
